/*  Wrappers

    *.wrapper acts as a more symantic stand in for <container><row><col-md-12></col-md-12></row></container> in sections of this build that don't require stacking columns 

 */



.wrapper {

    margin-right: auto;

    margin-left: auto;

    max-width: 100%;

    position: relative;

    height: inherit;

    padding-left: 15px;

    padding-right: 15px;

}



@media (min-width:1200px) {

    .container,

    .wrapper {

        width: 1170px;

        max-width: 100%;

    }

}



@media (max-width: 990px) {

    .container {

        width: 100%;

    }

}





/* Header  */



body>header {

    display: flex;

    justify-content: space-between;

}



.logo-wrap {

    display: flex;

    align-self: center;

    width: 100%;

    padding: .5em 0;

}



#header-logo {

    width: 106px;

    min-width: 106px;

}



.logo-wrap div {

    margin-left: 15px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    width: 420px;

    max-width: 100%;

}



@media (max-width: 767px) {

    .logo-wrap div {

        width: 100%;

    }

}



.org-name {

    padding: 0;

    margin-bottom: 0;

    list-style: none;

    position: relative;

    height: 100%;

    /* width: 440px; */

    overflow: hidden;
    font-family: 'Open Sans', sans-serif;

}



.org-name li {

    font-weight: 800;

    font-size: 32px;

    color: #7C7F53;

    line-height: calc(.95em + 2px);

}



@keyframes slideIn {

    0%,

    33% {

        transform: translateX(-100vw);

    }

    3%,

    30% {

        transform: translateX(0);

    }

}



.org-name li {

    position: absolute;

    top: 5px;

    transform: translateX(-100vw);

    --time: 8s;

    animation-name: slideIn;

    animation-duration: calc(var(--time)*3);

    animation-timing-function: ease-in-out;

    animation-iteration-count: infinite;

}



.org-name li:nth-of-type(2) {

    animation-delay: calc(var(--time)*1);

}



.org-name li:nth-of-type(3) {

    animation-delay: calc(var(--time)*2);

}



.tagline {

    margin: 0;

    padding: 0;

    /* list-style: none; */

    overflow: hidden;

    position: relative;

    height: 2.5em;

    top: 0;

    font-weight: normal;
    font-size: 18px;
    line-height: 26px;

}



.header-buttons {

    padding: 0;

    list-style: none;

    display: flex;

    flex-wrap: wrap;

}



.header-buttons li {

    margin-top: .5em;

    margin-right: 1ch;

    flex: 1 1 calc(50% - 1ch);

    flex: 1 1 30%;

}



#translate-item {

    display: flex;

    justify-content: flex-end;

}



.header-buttons a {

    display: block;

    padding: 5px 2ch;

}





/* @media (min-width: 768px) {

    .org-name .french {

        top: 0;

        line-height: .9;

    }

} */



@media (max-width: 767px) {

    body>header {

        flex-direction: column;

    }

    .logo-wrap {

        order: 2;

    }

    .tagline {

        display: none;

    }

    .org-name li {

        top: calc(50% - 1em);

        font-size: 24px;

    }

}



@media (max-width: 500px) {

    .org-name li {

        font-size: 20px;

        top: calc(50% - 1.5em);

    }

    /* .org-name .french {

        top: 0;

    } */

}





/* Navigation */



header+nav {

    /* margin-top: .5em; */

    margin-bottom: .5em;

}



#NP {

    padding: 0;

}



#NP .navbar-nav>li>a {

    white-space: nowrap;

}



@media (min-width: 991px) {

    .menu-trigger {

        display: none;

    }

    #NP>ul {

        display: flex;

        justify-content: space-between;

        width: 100%;

    }

}



@media (max-width: 990px) {

    #translate-item {

        justify-content: center;

    }

}