
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');

/* ==========================================================================
   Base typography and links
   ========================================================================== */

body {
    font-family: Open Sans, Roboto, sans-serif !important;
}

/*body a:hover {
    color: #0047AB !important;
}*/

/* ==========================================================================
   Header and navigation
   ========================================================================== */

footer img {
    max-height: 45px;
}
.navbar-brand img {
        max-height: 60px;
margin: 0 4px;
}

/* ==========================================================================
   Google Translate
   ========================================================================== */

/*div#google_translate_element {
    margin-top: 15px;
    margin-left: 20px;

}*/
.goog-te-menu-value {
    font-family: Open Sans, Roboto, sans-serif !important;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

/* ==========================================================================
   Homepage slideshow and feature tiles
   ========================================================================== */

.diaporama .diaporama-slides img {
    top: -40% !important;
}

.diaporama .diaporama-slides .slider-text.active {
    font-weight: 700;
}

.homepage-pushes, .homepage-push {
    background-color: #0047AB !important;
    border-bottom: 0.5rem solid #06ace0;
}

.homepage-push.push-link:hover {
    background-color: #06ace0 !important;
    border-bottom: 0.5rem solid #06ace0;
}


/* ==========================================================================
   Search and filter tabs
   ========================================================================== */

.main-search-fields .main-search-fields-submit {
    color: #fff;
    background:  #0047AB;
}

.filters-tabs .nav-tabs>li.active>a {
    border-top: 4px solid #0047AB;
    background: #0047AB;
    background-color: #0047AB;
}

.filters-tabs .nav-tabs>li.active>a:hover, .filters-tabs .nav-tabs>li.active>a:focus {
    background: #06ace0;
    background-color: #06ace0;
    border-top: 4px solid #06ace0;
    color: white;
}

.main-search-fields .select-field select {
    background-size: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.transparent-bordered-button {
    border: none !important;
    background: #0047AB !important;
    color: white !important;
    -webkit-transition: background-color .2s ease-out;
    -moz-transition: background-color .2s ease-out;
    -o-transition: background-color .2s ease-out;
    transition: background-color .2s ease-out;
}

body a.transparent-bordered-button:hover {
    color: white !important;
    background: #06ace0 !important;
}

.btn-contrib:hover {
    color: white !important;
}

/* ==========================================================================
   Footer links, logos and ePing
   ========================================================================== */

.link-footer-item.separator {
    font-weight: 500;
    text-transform: uppercase;
    border-top: 1px solid #e0e1e3;
    padding-top: 15px;
}

.link-footer-item.separator:first-child {
    border-top: none;
    padding-top: 5px;
}

.eping-footer-block-button a {
    border: 1px solid #0047AB !important;
    background: none !important;
    color: #0047AB !important;
}

.eping-footer-block-button a.transparent-bordered-button:hover {
    color: #0047AB !important;
    background: none !important;
}

.link-footer-item-title {
    font-size: 1.7rem;
    font-weight: 600;
    width: 100%;
}

.link-footer-item-image {
    height: 4rem;
    margin-right: .8rem;
}

.link-footer-item-header {
    display: flex !important;
    line-height: 1.3;
}

.footer-brands {
    display: block;
}

footer img {
    max-height: 70px;
}

/* ==========================================================================
   Menu page
   ========================================================================== */

.st1 {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: #333;
}

#menuTexts .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    border-top: none;
}

#menuTexts * span {
    font-weight: 400;
}

#menuContent {
    width: 70%;
}

#menuPicture {
    width: 30%;
}

#menuPicture img {
    margin-top: 20px;
}

#menuTexts * a {
    font-weight: 600;
}

#menuContent .well {
    margin-bottom: 10px;
}

/* ==========================================================================
   Responsive header and homepage tiles
   ========================================================================== */

@media (max-width: 1200px) {
    /*  header.navbar .navbar-nav > li > a {
        color: #fff;
        }*/
    .header-login-submenu {
        color: #fff !important;
    }
    .goog-te-gadget-simple .goog-te-menu-value {
        color: #fff !important;
    }
    div#google_translate_element {
        /*margin-left: 0px;*/
        border: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 1024px) {
    header.navbar .navbar-nav > li > a {
        color: #fff;
    }
    .homepage-pushes {
        background-color: transparent !important;
        border-bottom: 0;
    }
    .homepage-push {
        border-bottom: 0;
    }
}

/* ==========================================================================
   Homepage headline layout
   ========================================================================== */

/* Home slideshow text: let a headline that mixes plain and <b> runs flow as one paragraph.
   The platform makes .slider-text a flex container, which turns every text run and every <b>
   into its own column. Block flow plus a transform keeps the same vertical centre
   (28% of the hero; 20% under 680px, where the platform uses a 40% box). */
.diaporama .diaporama-slides .slider-text.active,
.diaporama .diaporama-slides .slider-text.active[style],
.diaporama .diaporama-slides .slider-text[style*="display: block;"] {
    display: block !important;
    top: 28%;
    height: auto;
    transform: translateY(-50%);
}

@media screen and (max-width: 680px) {
    .diaporama .diaporama-slides .slider-text.active,
    .diaporama .diaporama-slides .slider-text.active[style],
    .diaporama .diaporama-slides .slider-text[style*="display: block;"] {
        top: 20%;
    }
}

/* ==========================================================================
   Redesign variables. Everything above is unchanged.
   Today's site reads none of these names and has no [data-steps-design="2"]
   element, so this block changes nothing until the redesign is deployed.
   After that deploy, the rules above that these replace can be removed.
   ========================================================================== */
:root {
    /* Brand colour: every shade of the redesign's scale follows it (buttons filled #0047ab). */
    --primary-seed: #0047ab;
}

/* Surface variables. Each holds the colour this instance shows today, so nothing changes
   while the rules above still apply; remove such a rule and its variable takes over with
   the same colour. Variables not listed keep the product default. */
:root {
    /* Homepage band */
    --homepage-pushes-hover-background: #06ace0;
    /* Procedures panel */
    --procedures-panel-active-background: var(--gray-100);
}
