/* main */

#branding {
    margin: 0 -20px;
    padding: 0 20px;
}

#logo {
    float: left;
    border: 0;
    background-size: contain;
    background-repeat: no-repeat;
}

#navigation {
    padding: 10px 0;
    font-weight: bold;
}

#navigation ul>li {
    display: inline;
}

#navigation ul>li a {
    padding: 10px 20px 10px 0;
}

.grp-user-options {
    max-height: 490px;
    overflow-y: scroll;
}

#footer {
    bottom: 0;
    position: fixed;
    float: left;
    width: 100%;
    height: 10px;
    font-size: x-small;
    padding: 20px;
}

body.grp-popup #footer {
    display: none
}


/* language selector */

#language_form {
    float: right;
    width: 202px;
    height: 50px;
    position: relative;
}

#language {
    width: 202px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}


/* disable collapsible */

#grp-page-tools ul li a#grp-open-all,
#grp-page-tools ul li a#grp-close-all,
.grp-tools li a.grp-open-handler,
.grp-tools li a.grp-close-handler {
    display: none;
}


/* login/logout */

body.grp-login #grp-header {
    display: block;
}


/* error pages */

.errorpage h2 {
    padding: 20px 0 10px;
    font-weight: bold;
    line-height: 24px;
    font-size: 20px;
}


/* flat pages */

.flatpage h2 {
    line-height: 20px;
    font-size: 16px;
}

.flatpage h3 {
    line-height: 18px;
    font-size: 14px;
}


/* temporary fix for grp-changelist-actions */

.grp-changelist-actions .grp-button {
    float: right;
}


/* action button colouring */

.grp-object-tools a {
    border: 1px solid #2987a6;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #36b0d9),color-stop(100%, #309bbf));
    background: -moz-linear-gradient(#36b0d9,#309bbf);
    background: -webkit-linear-gradient(#36b0d9,#309bbf);
    background: linear-gradient(#36b0d9,#309bbf)
}

.grp-object-tools a:hover {
    border: 1px solid #777 !important;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #999999),color-stop(100%, #888888));
    background: -moz-linear-gradient(#999999,#888888);
    background: -webkit-linear-gradient(#999999,#888888);
    background: linear-gradient(#999999,#888888)
}

.grp-object-tools a.grp-viewsite-link, .grp-object-tools a[target="_blank"] {
    border: 1px solid #2987a6;
    background: url('../img/icons-s846f870921.png') 0 -775px no-repeat, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #36b0d9),color-stop(100%, #309bbf));
    background: url('../img/icons-s846f870921.png') 0 -775px no-repeat, -moz-linear-gradient(#36b0d9,#309bbf);
    background: url('../img/icons-s846f870921.png') 0 -775px no-repeat, -webkit-linear-gradient(#36b0d9,#309bbf);
    background: url('../img/icons-s846f870921.png') 0 -775px no-repeat, linear-gradient(#36b0d9,#309bbf)
}

.grp-object-tools a.grp-viewsite-link:hover, .grp-object-tools a[target="_blank"]:hover {
    border: 1px solid #777 !important;
    background: url('../img/icons-s846f870921.png') 0 -775px no-repeat, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #999999),color-stop(100%, #888888));
    background: url('../img/icons-s846f870921.png') 0 -775px no-repeat, -moz-linear-gradient(#999999,#888888);
    background: url('../img/icons-s846f870921.png') 0 -775px no-repeat, -webkit-linear-gradient(#999999,#888888);
    background: url('../img/icons-s846f870921.png') 0 -775px no-repeat, linear-gradient(#999999,#888888)
}


/* readonly pre-wrap */

div.grp-readonly pre {
    white-space: pre-wrap !important;
}


/* inline admin */

.grp-tabular .grp-table .grp-th, .grp-tabular .grp-table .grp-td {
    padding: 1px 7px;
}
