/* TOP-BAR */
.top-bar {
    background-color: #163d4b;
    height: 45px;
    padding: 10px 0;
    display: none;      
}

.top-bar__contact, .top-bar__document{
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    color: #ffff;
    font-size: 16px;
    padding: 0;
}

.top-bar__contact-item {
    margin-right: 30px;
}

.top-bar__document{
 float: right;
}

.top-bar__document > li {
    margin-left: 20px;
}

/* BANNER */
.top-banner__img {
    max-width: 100%;
    width: 100%;
}

/* TOP-NAV */
.top-banner{
    background-repeat: no-repeat;
    background-position: center;    
    background-size: cover;
    position: absolute;
    width: 100%;
}

.top-nav {
    width: 100%;
    /* height: 45px; */
    /* background-color: rgba(255, 255, 255, 0.7); */
    background-image: linear-gradient(#fff, rgba(255, 255, 255, 0.7)); /* desktop gradient */
    padding: 5px 0;
    position: relative;
    z-index: 2;
}

/* Mobile: disable only the gradient image, keep color */
@media screen and (max-width: 991px) {
    .top-nav { background-image: none !important; }
}

.top-nav.fixed {
    position: absolute;
    top: 0;
}

.top-nav .top-nav__toggle {
    display: block;
}

.top-nav__logo {
    width: 70px;
    padding: 0;
}

.top-nav__menu {
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    margin-top: 10px;
    float: right;
    /* padding: 0; */
}

.top-nav__menu-item {
    margin-left: 30px;
    display: none;
    position: relative;
}

.top-nav__menu-item a {
    padding-bottom: 10px;
    display: block;
    color: black;
    text-decoration: none;
}

.top-nav__menu-item > a::before {
    content: "";
    height: 4px;
    width: 0;
    background-color: #0f7a3e;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 6;
    transition: 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
} 

.top-nav__menu-item:hover > a::before {
    width: 100%;
}

.fa-search:before {
    cursor: pointer;
}

.nav__search-form {
    position: absolute;
    width: 350px;
    right: 0;
    top: 45px;
}

/* SUB MENU */
.top-nav__sub-menu {
    position: absolute;
    list-style-type: none;
    padding: 0;
    width: 0px;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    left: -15px;
}

.top-nav__menu-item:hover .top-nav__sub-menu {
    display: block;
    width: 200px;
}

.top-nav__sub-menu > li > a{
    display: block;
    padding: 15px;
    /* border-bottom: 3px solid rgba(255, 255, 255, .8); */
    transition: all 0.2s ease-in-out;
}

.top-nav__sub-menu > li > a:hover{
    background-color: rgba(224, 224, 224, 0.8);
    /* border-bottom: 3px solid #0f7a3e; */
}

.top-nav__sub-menu > li:last-child > a{
   border: none;
}

/* NAV-MOBILE */
.nav__icons-item{ 
 margin-left: 20px;
 /* position: relative; */
}
.fa-times::before {
    font-size: 2.5rem;
}
.nav__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: none;
    background-color: rgba(66, 66, 66, 0.3);
    animation: fadeIn linear 0.4s;
}

.nav__mobile {
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 200px;
    max-width: 100%;
    color: #ffff;
    z-index: 10;
    transform: translateX(110%);
    opacity: 0;
    transition: transform linear 0.2s, opacity linear 0.2s;
    background-color: #f26522;
}

.nav__mobile-item {
    text-decoration: none;
    color: #ffff;
    display: block;
    font-size: 12px;
    border-bottom: 1px solid #f5b090;
}

.nav__mobile-item-name:hover .nav__mobile-item-name {
    color: black;
}

.nav__mobile-close {
    color: #ffff;
    position: absolute;
    top: 15px;
    right: 16px;
    cursor: pointer;
}

.fa-times::before {
    font-size: 16px;
}

.nav__mobile-menu {
    margin-top: 35px;
    padding: 0;
}

.nav__mobile-item-name {
    display: block;
    padding: 20px;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    color: #ffff;
}

.nav__mobile-item:hover {
    background-color: #f08c5e;
    transition: 0.2s ease-in-out;
}

.nav__mobile-item:hover .nav__mobile-item-name {
    color: #ffff;
    transition: 0.2s ease-in-out;
}


.nav__mobile-submenu {
    list-style-type: none;
    padding:  0;
    display: none;
}

.nav__mobile-submenu > li {
    background-color: #f19468;
    border-bottom: 1px solid #f5b090;
}

.nav__mobile-submenu > li:last-child {
    border: none;
}

.nav__mobile-submenu > li > a {
    color: #ffff;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
}

.nav-input {
    display: none;
}

.nav-input:checked ~ .nav__overlay {
    display: block;
}

.nav-input:checked ~ .nav__mobile {
    transform: translateX(0%);
    opacity: 1;
}

@media screen and (min-width: 992px) {
    .top-bar {
        display: block;
    }
    .top-nav__logo {
     /* height: 70px;
        margin:  0; */
    }
    .top-nav .top-nav__toggle {
        display: none;
    }
    .top-nav__menu {
        margin-top: 20px;
        padding: 10px;
    }

    .nav__search-form {
        position: absolute;
        width: 350px;
        right: 0;
        top: 70px;
    }
}

@media screen and (min-width: 1200px) {
    .top-nav__menu {
      font-size: 13px;
    }
    .top-nav__menu-item {
        margin-left: 20px;
        display: block;
    }
    .nav__menu-icon > .fa-bars {
        display: none;
    }
}

@media screen and (min-width: 1400px) {
    .top-nav__menu-item {
        margin-left: 30px;
        font-size: 15px;
        display: block;
    }  
}