/* Add  bootstrap3 sr utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

[role="button"] {
    cursor: pointer;
}

nav li {
    list-style: none;
}

/* for multi line buttons */
.wrap-text, .btn.wrap-text {
    white-space: normal;
}

/* All the rems in the theme are converted to "em", the font size can be set on the body and is the size transition animated */
@media (min-width: 800px) {
    body {
        transition: font-size 0.9s ease-in-out;
    }
}

/* The carets and burgers are animated, as we are accustomed */
[aria-expanded].dropdown-toggle::after, [aria-expanded] > .glyphicon {
    transition: transform .15s linear;
}

[aria-expanded="true"].dropdown-toggle::after, [aria-expanded="true"] > .glyphicon {
    transform: rotate(-179deg);
}

[aria-expanded="false"].dropdown-toggle::after, [aria-expanded="false"] > .glyphicon {
    transform: rotate(0deg);
}

.opacity-75 {
    opacity: 75% !important;
}



/* no js? then hover on menu will expand submenu// Extend this to work with menu button etc  */
body.no-js li.dropdown:hover ul.dropdown-menu {
    display: block;
}

/* top level divs fade in on load */
body > div {
    position: relative;
    animation: page-appear .6s forwards;
}

/* fragment appear class pulses on load */
.fragment-appear {
    position: relative;
    animation: fragment-appear .2s forwards;
}

.slide-from-left {
    position: relative;
    overflow-x: hidden;
}

.slide-from-left.show {
    overflow-x: inherit;
}

.slide-from-left > *, .slide-from-left.collapsing > * {
    transform: scale(1) translateX(100%);
    transition: transform .25s linear;
}

.slide-from-left.show > * {
    transform: scaleX(1);
}

@keyframes fragment-appear {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes page-appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.header-search-container {
    z-index: 9;
    height: 0;
}

#header-search {
    overflow: hidden;
}

#header-search .gsc-control-cse {
    padding: .2em .6em;
    border: none;
    background: transparent;
}

#header-search .gsc-input {
    font-size: 1em;
    width: 12em;
    color: #222;
}

#header-search .gsc-results-wrapper-overlay {
    background: white;
    position: fixed;
    height: auto;
    max-height: 80vh;
}

#header-search .gsc-control-wrapper-cse {
    max-width: 40em;
    float: right;
}

#header-search div.gsc-adBlock, div.gsc-adBlock {
    display: none;
}

#header-search form.gsc-search-box, #header-search .gsc-control-cse {
    font-size: 1em;
    margin: 0;
}

#header-search button.gsc-search-button {
    border:none;
    border-radius: 4px;
    padding: 10px;
}

/* gcs results for missing page*/
.gsc-results-wrapper-overlay {
    height: auto!important;
    max-height: 40vh!important;
}


@media (max-width: 768px) {
    /* gcs results for missing page*/
    .gsc-results-wrapper-overlay {
        height: auto!important;
        max-height: 80vh!important;

           }
}

.img-one {
    background: url("/img/headers/ecas-blue.jpg") no-repeat center right;
    background-size: cover;

}

.no-bullet {
    list-style-type:none!important;
}