


.header{
    width: 100%;
    position: absolute;
    z-index: 999;
}

.header.negative{
    position: relative;
}


.header.scrolled {
    position: fixed;
    top: -160px;
    border-bottom: 2px solid #000;
    background: #fff;
}


.header.scrolled .primary-menu a {
    color: #111;
}

.header.scrolled .logo-small{
    display: block;
}

.top-bar {
    background: rgba(0, 0, 0, 0.75);
    height: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.33);
}

.header.negative .top-bar {
    background: #111;
}

.primary-bar {
    padding: 2rem 0 1rem;
    color: white;
}
.header.negative .primary-bar {
    color: #111;
}


.primary-bar .content {
    display: grid;
    grid-template-columns: 1fr 600px 1fr;
    align-items: center;
    height: 60px;
}


.primary-bar .menu-block{
    display: flex;
}

.primary-bar .search-toggle{
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    margin: 0 0 0 auto;
    background: url(../images/icon-search.png) no-repeat center;
}

.header.negative .primary-bar .search-toggle{
    background: url(../images/icon-search-negative.png) no-repeat center;
}




.nav-bar{
    display: flex;
    height: 100%;
    align-items: center;
}

.sec-nav a{
    color: #b5b5b5;
}
.sec-nav a:hover{
    color: #fff;
}

.social-nav {
    margin-left: auto;
}
.social-nav .menu-item {
    height: 43px;
    width: 43px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.social-nav a{
    opacity: 0.5
}
.social-nav a:hover{
    opacity: 1
}

.nav-bar.primary-nav {
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    margin: auto;
}

.primary-menu{
    display: flex;
    justify-content: space-between;
}
.primary-menu a{
    color: white;
}
.primary-menu a:hover{
    color: white;
}


.header.negative .primary-menu a {
    color: #111;
}
.header.negative .primary-menu a:hover {
    color: #111;
}


.menu-left{
    font-weight: 700;
    font-size: 14px;
}

.menu {
    display: flex;
    align-items: center
}
.menu-item {
    margin-right: 1rem;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    display: flex;
    justify-content: center;
}

.primary-menu .menu-item{
    color: white;
    padding: 0;
    font-size: 16px;
    margin: 0;
    padding: 1rem 0;
}

.submenu-group{
    display: flex;
    flex-flow: wrap;
}

.menu-submenu {
    flex-flow: column;
    background: white;
    padding: .5rem 0;
    position: absolute;
    z-index: 1;
    top: 50px;
    width: 150px;
    box-sizing: border-box;
    border-radius: .5rem;
    align-items: center;
    -webkit-box-shadow: 0px 7px 15px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 7px 15px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 7px 15px 0px rgba(0,0,0,0.25);
    display: none;
}

.submenu-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    top: -5px;
    transform: rotate(45deg);
}



.submenu-item{
    width: 100%;
    text-transform: capitalize;
    font-size: 16px;
    padding: .25rem 1rem;
    box-sizing: border-box;
}

.menu-submenu a{
    color: #666;
}
.menu-submenu a:hover{
    color: #111;

}




.menu-item.donation{
    background: rgb(255, 255, 255);
    padding: 8px 12px !important;
    border-radius: .35rem;
    color: #111;
}
.menu-item.donation a{
    color: black;
}

.menu-item .search{
    position: relative;
    margin: 0;
}

.logo img{
    width: 100%;
    height: auto;
    display: block;
    filter: none !important;
}

.logo-small{
    display: none;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 5px;
}



.menu-mobile{
    display: none;
    overflow: initial;
    height: auto !important;
}

.menu-mobile .logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-mobile .logo img{
    width: 45px;
    filter: none !important;
}

.menu-mobile .menu-mobile-toggle{
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: 999;
    right: 0;
    top: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.menu-line{
    width: 20px;
    height: 2px;
    background: #111;
    position: absolute;
    -webkit-transition: all .25s ease-out;
    -moz-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
}

.menu-line-1{
    top: 23px;
}
.menu-line-2{
    top: 29px;
}
.menu-line-3{
    top: 35px;
}

.menu-mobile.open .menu-line-1 {
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 30px;
    width: 20px !important;
}
.menu-mobile.open .menu-line-2 {
    -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 30px;
    width: 20px !important;
}

.menu-mobile.open .menu-line-3{
    width: 0;
}

.menu-mobile .menu-mobile-content{
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background: #111;
    box-sizing: border-box;
    display: none;
}
.menu-mobile.open .menu-mobile-content{
    display: block;
}


.menu-mobile-content .searchform {

    border-bottom: 1px solid #333;
}



.searchform form{
    width: 100%;
}

.searchform input{
    padding: 1rem 0;
    font-size: 21px;
    color: #fff;
    background: transparent;
    width: 100%;
}
.searchform button{
    width: 60px;
    height: 60px;
    background: url(../images/icon-search.png) no-repeat center;
    border: none;
    cursor: pointer;
}
.searchform input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: white;
}
.searchform input::-moz-placeholder { /* Firefox 19+ */
    color: white;
}
.searchform input:-ms-input-placeholder { /* IE 10+ */
    color: white;
}
.searchform input:-moz-placeholder { /* Firefox 18- */
    color: white;
}




.menu-mobile-content .primary-nav {
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 100%;
    padding: 1rem;
    height: auto;
    border-bottom: 1px solid #333;
}

.menu-mobile-content .primary-nav .menu-item {
    width: 100%;
    justify-content: flex-start;
    flex-flow: column;
    font-size: 21px;
    padding: 1rem 0;
    margin: 0;
}


.menu-mobile-content .menu-submenu {
    position: relative;
    top: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 1rem 0;
}

.hasSubmenu.collapse .menu-submenu{
    display: flex;
}

.menu-mobile-content .submenu-arrow{
    display: none;
}

.menu-mobile-content .submenu-item{
    font-size: 18px;
    padding: .5rem 1rem;
}


.menu-mobile-content .sec-nav {
    flex-flow: column;
    align-items: start;
    padding: 1rem;
    border-bottom: 1px solid #333;
}
.menu-mobile-content .sec-nav .menu-item {
    width: auto;
    justify-content: flex-start;
    flex-flow: column;
    font-size: 18px;
    padding: .5rem 0;
    margin: 0;

}


.menu-mobile-content .social-nav {
    justify-content: space-around;
    padding: 1rem 0;
}


.menu-mobile a{
    color: #ccc;
}
.menu-mobile a:hover{
    color: #fff;
}


.o-hidden{
    overflow: hidden;
}
.d-flex{
    display: flex;
}








.big-search{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    top: 0;
    z-index: 999;
    display: none;
}
.big-search.open{
    display: flex;
}

.big-search .searchform input{
    font-size: 32px;
}
.big-search .searchform button{
    display: none;
}
.big-search .searchform p {
    margin: 0;
    border-top: 1px solid #333;
    padding: 1rem 0 0 0;
    color: white;
}

.big-search .close {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 1rem;
    right: 1rem;
    background: url('../images/icon_close_white.png') no-repeat center;
    cursor: pointer;

}


@media screen and (min-width: 1024px)  {
    .hasSubmenu:hover .menu-submenu{
        display: flex;
    }
}


@media screen and (min-width: 1399px)  {

}

@media screen and (min-width: 1280px) and (max-width: 1399px) {
    .primary-bar .content {
        grid-template-columns: 1fr 500px 1fr;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .menu-left, .logo-center {
        display: none;
    }

    .primary-bar .content {
        grid-template-columns: 1fr 400px 1fr;
    }
}


@media screen and (min-width: 320px) and (max-width: 1023px) {


    .top-bar, .primary-bar, .primary-menu   {
        display: none;
    }

    .header {
        height: 60px;
        border-bottom: 2px solid #000;
        background: white;
        position: fixed;
        top: 0 !important;
    }

    .header .content{
        max-width: 100%;
    }

    .menu-mobile{
        display: block;
    }

    .menu-mobile-content .social-nav{
        padding: 1rem 0 3rem;
    }


    .gradient-top {
        display: none;

    }

    .big-search{
        display: none !important;
    }

}

