/* Page id should be changed to page template class */
.page-template-page-compliance-training #nav-main,
.page-template-page-compliance-training #nav-main nav,
.page-template-page-compliance-training #nav-main ul.ubermenu-nav,
.page-template-page-compliance-training #nav-main ul.ubermenu-nav > li,
.page-template-page-compliance-training #nav-main ul.ubermenu-nav > li a,
.page-template-page-compliance-training-search #nav-main,
.page-template-page-compliance-training-search #nav-main nav,
.page-template-page-compliance-training-search #nav-main ul.ubermenu-nav,
.page-template-page-compliance-training-search #nav-main ul.ubermenu-nav > li,
.page-template-page-compliance-training-search #nav-main ul.ubermenu-nav > li a,
.single-compliance-trainings #nav-main,
.single-compliance-trainings #nav-main nav,
.single-compliance-trainings #nav-main ul.ubermenu-nav,
.single-compliance-trainings #nav-main ul.ubermenu-nav > li,
.single-compliance-trainings #nav-main ul.ubermenu-nav > li a {
    background: #F2F5F7;
    border: none;
}

.page-template-page-compliance-training-search #nav-main nav > ul {
    height: 56px;
}

.page-template-page-compliance-training-search #nav-main nav:after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    border-bottom: 1px solid #D7DEE2;
    margin-top: 1px;
}

.page-template-page-compliance-training #nav-main,
.page-template-page-compliance-training-search #nav-main,
.single-compliance-trainings #nav-main {
    padding-bottom: 5px;
    padding-top: 5px;
}

nav.ubermenu-loc-compliance-training {
    width: 100%;
}

/* Compliance Training Nav */
.ubermenu-loc-compliance-training ul li:first-child > a > span {
    font-weight: 500;
    color: #5A6774;
    margin-left: 30px;
}

.ubermenu-loc-compliance-training ul li.ubermenu-current-menu-item {
    position: relative;
}

.ubermenu-loc-compliance-training ul li.ubermenu-current-menu-item::after {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 24px);
    left: 12px;
    bottom: -5px;
    height: 3px;
    background: #003873;
}

.training-search-open .ubermenu-loc-compliance-training ul li.ubermenu-current-menu-item::after {
    content: none;
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .lang-es.page-template-page-compliance-training #nav-main > .container,
    .lang-es.page-template-page-compliance-training-search #nav-main > .container,
    .lang-es.single-compliance-trainings #nav-main > .container,
    .lang-fr.page-template-page-compliance-training #nav-main > .container,
    .lang-fr.page-template-page-compliance-training-search #nav-main > .container,
    .lang-fr.single-compliance-trainings #nav-main > .container,
    .lang-it.page-template-page-compliance-training #nav-main > .container,
    .lang-it.page-template-page-compliance-training-search #nav-main > .container,
    .lang-it.single-compliance-trainings #nav-main > .container,
    .lang-pt-br.page-template-page-compliance-training #nav-main > .container,
    .lang-pt-br.page-template-page-compliance-training-search #nav-main > .container,
    .lang-pt-br.single-compliance-trainings #nav-main > .container,
    .lang-de.page-template-page-compliance-training #nav-main > .container,
    .lang-de.page-template-page-compliance-training-search #nav-main > .container,
    .lang-de.single-compliance-trainings #nav-main > .container {
        max-width: 100%;
    }

    #ubermenu-main-1038-compliance-training-2 > ul > li > a,
    #ubermenu-main-1043-compliance-training-2 > ul > li > a {
        padding: 15px 6px;
    }   
}