/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This Source Code Form is "Incompatible With Secondary Licenses", as
 * defined by the Mozilla Public License, v. 2.0.
 */

/* Header */

body {
    background: transparent !important;
    margin: 0;
}

#header {
    margin-bottom: 2.5em;
}

#header .links {
    height: 25px;
    color: #fff;
    background-color: #4a86cf;
    padding-left: calc(6.5%);
    margin: 0;
    border-color: #3968a1;
    border-radius: 0;
}

#header .links .separator {
    color: transparent;
}

/* Sticky Footer */

body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

#bugzilla-body {
    -webkit-flex:1;
    -ms-flex:1;
    -webkit-box-flex:1;
    flex:1;
}

#titles {
    font-size: 110%;
    color: #fff;
    height: 51px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin: 0;
    padding: 0 calc(6.5%);
    vertical-align: bottom;
    background-image: url("./index/gnome-logo.svg");
    background-color: #4a86cf;
    background-repeat: no-repeat;
    background-size: 90px auto;
    background-position: calc(6.5%);
}

/* Don't show the title of a bug */
#titles #title {
    display: none;
}

#titles #subtitle {
    width: 70%;
}

/* Don't show obvious links for help links on show_bug.cgi etc - bug 744316 */
.field_label > a, .field_label > label > a {
    text-decoration: none;
    color: #222222;
}

/* Do not display Platform/Hardware field on query.cgi and show_bug.cgi - bug 743027 */
#container_rep_platform, #rep_platform {
    display: none;
}

/* Content */

#bugzilla-body {
    padding: 0 calc(6.5%);
}

#page-index{
    max-width: 100%;
}

/* Styles for input */

select[multiple], textarea, input[type=text], input[type=password],
input[type=email], input[type=url], input[type=number], input:not([type]), .text_input, .yui-ac-input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #b2b2b2;
    border-radius: .25em;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.1);
    background: white;
    padding:4px;
    color: #404040;
    vertical-align: top;
}

select[multiple]:focus, textarea:focus, .text-input:focus, -yui-ac-input:focus {
    border-color: #42a4e0;
    -webkit-box-shadow: 0 0 0 2px rgba(73,173,227,0.4);
    -moz-box-shadow: 0 0 0 2px rgba(73,173,227,0.4);
    box-shadow: 0 0 0 2px rgba(73,173,227,0.4);
}

select, select[multiple] {
    font-size: 12px;
}

/* Sidebar in user/product pages */

#product_summary {
    background: transparent;
    border-left: 3px solid;
    border-color: #d3d9cf;
    margin-left: 8px;
}

#product_summary li {
    text-decoration: none;
    list-display: none;
}

/* Footer */

#footer {
    color: #fff;
    background-color: #000;
    border: none;
}

#footer .links a,
#header .links a {
    color: #fff;
    text-decoration: none;
}

#footer .links a:hover,
#header .links a:hover {
    text-decoration: underline;
}

#footer #useful-links {
    padding: 0 calc(6.5%);
}

/* Responsive Media Queries */

@media only screen and (max-width: 360px) {
    #titles #information .header_addl_info {
        padding-top: 50px;
        text-align: center;
    }

    #header .links {
        margin: 0px;
    }
}
