

@media (min-width:992px) and (max-width:1200px) {
    ul#compTabs button {
        margin-left: 20px;
    }
    ul#compTabs button:after {
        bottom: -20px;
    }
}

@media (max-width: 1200px) {
    #innerhero {
        border-radius: 0 0 150px 0;
    }
    .portals-sidebar-filter a {
        padding: 2px 0 3px 12px;
        font-size: 13px;
    }
    .portalsamfrm-section {
        padding: 17px;
    }
    .portals-kq {
        padding: 1.7rem;
    }
}

@media only screen and (min-width: 1201px) {
    /**********
    submenu popup
    **********/
    nav.nav .sub-menu-inner {
        /* max-height: 0; */
        /* overflow: hidden; */
        position: absolute;
        flex-wrap: wrap;
        transition: all 200ms;
        display: none;
    }
    nav.nav .menu-item-has-children.sub-menu-active>.sub-menu-inner {
        display:block;
    }
    nav.nav .sub-menu li {
        width: 100%;
        margin-left: 0;
        display: inline-block;
        white-space: unset;
        line-height: 1.2;
    }

}
@media (min-width:1201px) {    
    .header-menu-list li.current-menu-item > a:after {
        top: calc(100% + 46px);
    }
}
@media (min-width:1301px) {
    .header-menu-list li.current-menu-item > a:after {
        top: calc(100% + 46px);
    }
    .topmenu2 {
        position:relative;
        right:-50px;
    }
}
@media (min-width:1401px) {
    .header-menu-list li.current-menu-item > a:after {
        top: calc(100% + 48px);
    }
}

@media (min-width: 992px) {

}

@media (min-width:1201px) {   
    .header-menu-list li.current-menu-item > a {
        color: #0a0a0a;
    }
    .header-menu-list li.current-menu-item > a:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: var(--primary);
        left: 0;
    }
    .header-nav ul {
        list-style: none;
        display: flex;
        margin-bottom: 0;
        padding-left:0;
        flex-direction: row;
        justify-content: center;
    }
}


@media only screen and (max-width: 1200px) {
    header .nav>ul li a:after {
        content: '';
        font-family: 'FontAwesome';
        position: absolute;
        right: 20px;
        font-size: 12px;
    }
    .mobile-header-cta {
        display: block !important;
        margin: 0 40px;
    }
    .fix .innerBurger span {
        background-color: #262b5b !important;
    }
    .header-menu-list > li:last-child a:after {
        content: none;
    }
    .header-menu-list > li:last-child {
        margin: 15px 20px;
        max-width: 100%;
        text-align: center;
    }


    #home-hero:before {
        content: '';
        height: 30%;
        width: 100%;
        background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
        position: absolute;
        top: 0;
        z-index: 4;
        opacity: 0.5;
    }
    .header li.current-menu-item > a {
        background-color: var(--primary);
        color: #fff;
    }
    /**********
    HEADER NAV
    **********/
    body.fix {
        overflow: hidden;
    }
    #home-hero {
        padding: 150px 0 300px;
    }
    header .nav {
        position: fixed;
        left: -102%;
        z-index: 21;
        height: 100vh;
        width: 100%;
        bottom: 0;
        background-color: #fff;
        transition: all 300ms;
    }
    header .nav.navActive {
        box-shadow: none;
        left: 0%;
        transition: all 300ms;
    }
    header .nav>ul {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    .header-menu-list li {
        margin-left: 0;
    }

    header .nav>ul li {
        position: relative;
    }
    header .nav>ul li a {
        font-weight: 700;
        display: block;
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid #E1E1E1;
    }
    .menu-item-has-children::after {
        position: absolute;
        right: 0;
    }
    .burgerNavContainer {
        border: 1px solid #777;
        border-radius: 50%;
        height: 47px;
        width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #burgerNav {
        position: relative;
        width: 24px;
        height: 16px;
        cursor: pointer;
        z-index: 90;
    }
    
    #burgerNav .innerBurger {
        position: relative;
        height: 100%;
    }
    
    #burgerNav .innerBurger span {
        width: 100%;
        height: 1px;
        border-radius: 25px;
        background-color: #0a0a0a;
        position: absolute;
        opacity: 1;
        transition: all 300ms;
        transform: rotate(0deg);
    }
    
    #burgerNav.navActive .innerBurger span {
        transition: all 300ms;
    }
    
    #burgerNav .innerBurger span:nth-child(1) {
        top: 0%;
        width: 100% !important;
    }
    
    #burgerNav .innerBurger span:nth-child(2) {
        top: 50%;
    }
    
    #burgerNav .innerBurger span:nth-child(3) {
        top: 100%;
    }
    
    #burgerNav.change .innerBurger span:nth-child(1) {
        top: 50%;
        transform: rotate(-45deg);
    }
    
    #burgerNav.change .innerBurger span:nth-child(2) {
        opacity: 0;
    }
    
    #burgerNav.change .innerBurger span:nth-child(3) {
        top: 50%;
        transform: rotate(45deg);
    } 
    nav.nav .sub-menu {
        max-height: 0;
        overflow: hidden;
        flex-wrap: wrap;
        transition: all 200ms;
    }
    .menu-item-has-children::after {}
    nav.nav .menu-item-has-children.sub-menu-active .sub-menu {
        max-height: 900px;
    }
    .groupoficons img {
        width: 30px;
    }
    .portalsamfrm-section .groupoficons a {
        padding-right: 15px !important;
    }
    .linkboxicon i {
        right: 10px;
        color: #3e6307;
    }
    .portalsamfrm-section .groupoficons h6 {
        font-size: 14px;
    }
}
@media (min-width: 992px) {
    .news-filter-mobile {
        display: none;
    }
}

@media (max-width: 991px) {
    .footer-menu-list {
        margin-right:0;
    }
    .tableScroller {
        width: 100%;
        overflow-x: scroll;
        height: 100%;
    }
    .portal-sidebar-wrap.is-sticky {
        box-shadow: 0px 0px 25px 25px #fff;
    }
    .portalsamfrm-section {
        margin-bottom: 20px;
        padding: 15px;
        font-size: 13px;
    }
    .portal-sidebar-wrap {
        position: sticky !important;
        top: 20px;
    }
    .news-filter {
        display: none;
    }
    #innerhero {
        border-radius: 0 0 120px 0;
    }
    .eetsforships-logos img {
        width: 320px;
    }
    .portalsamfrm-section {
        margin-bottom: 20px;
        padding: 20px;
    }
    .tableScroller table {
        font-size: 12px;
    }
    table td, table th {
        line-height: 1.4;
        padding: 7px;
    }
}

@media (max-width: 767px) {
    .wsimgleft img {
        width: 220px;
        max-width: 80%;
        margin-bottom: 30px;
    }
    .eetshipsbox {
        width: 390px;
        margin: 0 auto;
    }
    .eetsforships-logos img {
        width: 250px;
        margin-top: 20px;
    }
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.2;
    }
    section.block {
        padding:50px 0;
    }
    section.block70 {
        padding:50px 0;
    }
    section.block50 {
        padding:50px 0;
    }
    #innerhero {
        border-radius: 0 0 70px 0;
    }
}

@media (max-width: 575px) {
    .burgerNavContainer {
        height: 40px;
        width: 43px;
    }
    #burgerNav {
        width: 19px;
        height: 12px;
    }
    .portalsamfrm-top ul li {
        flex-basis: 100%;
    }
    .giamember-img {
        width: 160px;
        height: 50px;
    }
}