/* navigation | css */

@media only screen and (max-width: 991px)  {
    #topbar {display: none !important;}
    header {border-top: 4px solid #000;}
}

/* Search form (popover) */
.popover.i-am-mobile- {display: none;}
.popover.i-am-not-mobile- {display: block;}
@media only screen and (max-width: 991px)  {
    .popover.i-am-mobile- {display: block;}
    .popover.i-am-not-mobile- {display: none;}
}
.popover.i-am-mobile- {
    min-width: 96% !important;
    max-width: 96% !important;
    inset: 0px 15px auto -8px !important;
    border-radius: 0px !important;
    box-shadow: 0px 3px 40px 0px rgba(0, 0, 0, 0.2);
    border: 0px solid #fff;
    min-width: 96% !important;
    max-width: 96% !important;}
.popover.i-am-mobile- .popover-arrow {
    left: auto !important;
    margin-right: -25px !important;
    padding-left: 12px;}
.popover.i-am-mobile- .bs-popover-bottom > .popover-arrow::before {border-bottom-color: rgba(0,0,0,.0);}

.popover.i-am-not-mobile- {
    min-width: 96% !important;
    max-width: 96% !important;
    inset: 0px 15px auto -15px !important;
    border-radius: 0px !important;
    box-shadow: 0px 3px 40px 0px rgba(0, 0, 0, 0.2);
    border: 0px solid #fff;
    min-width: 96% !important;
    max-width: 96% !important;}
.popover.i-am-not-mobile- .popover-arrow {
    left: auto !important;
    margin-right: -25px !important;
    padding-left: 12px;}
.popover.i-am-not-mobile- .bs-popover-bottom > .popover-arrow::before {border-bottom-color: rgba(0,0,0,.0);}

form#searchform input,
form#searchform input::placeholder {
  color: #313131;
  opacity: 1;
  font-style: italic;
  font-family: 'Lato', sans-serif;
  font-size: 17px;}
form#searchform button {
    color: #fff;
    background-color: #00806D;
    border-color: #00806D;
    border-radius: 30px;
    padding: 12px 45px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;}
form#searchform button:hover {
    background-color: #0C6054;
    border-color: #0C6054;}

.popover.i-am-mobile- form#searchform button {padding: 12px 18px;}
.mainsearch.popover-on span {background-color: #0081C8;}
#mobile_search_btn.popover-on {background-color: #0081C8;}
/* /// Search form (popover) */



a.nav-link:after {
    font-size: 12px;
    top: -3px;
    position: relative;
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    border-top: 0px;
    vertical-align: 0px;}

#mobile_search_btn {
    display: none;
    cursor: pointer;}
@media only screen and (max-width: 991px)  {
    #mobile_search_btn {
        right: 60px;
        position: absolute;
        display: block !important;
        margin-left: 10px;
        width: 33px;
        height: 33px;
        display: inline-block;
        background-color: #000;
        color: #fff;
        border-radius: 50%;
        padding: 4px;
        text-align: center;}
    #mobile_search_btn i {color: #fff; font-size: 17px;}
}

#mobile_nav_btn {
    display: none;
    cursor: pointer;
}
@media only screen and (max-width: 991px)  {
    #mobile_nav_btn {display: block !important;}
}
#mobile_nav_btn[data-menu-status="closed-"] i.bars- {display: block; font-size: 28px;}
#mobile_nav_btn[data-menu-status="closed-"] i.x- {display: none;}
#mobile_nav_btn[data-menu-status="opened-"] i.bars- {display: none;}
#mobile_nav_btn[data-menu-status="opened-"] i.x- {
    background-color: #0081C8;
    color: #fff;
    font-size: 24px;
    padding: 5px 10px;
    display: block;}
#mobile_nav {
    display: none;
    position: absolute;
    z-index: 10;
    background: #F0F3F5;
    width: 100%;
    border-top: 3px solid #0081C8;}

#mobile_nav ul.level1- {padding-top: 20px; padding-bottom: 10px; padding-right: 30px;}
#mobile_nav ul.level1- > li, #mobile_nav ul.level2- > li {position: relative;}
#mobile_nav ul.level2- > li {list-style: none;}
li.active- ul.level2- {padding-left: 0px;}
#mobile_nav ul.level2- > li a {padding-left: 10px;}
/*#mobile_nav ul.level1- > li:first-child a {color: #0081C8; padding-left:0px; cursor: none;}*/
#mobile_nav ul.level1- > li.active- > a {color: #0081C8; padding-left:0px; position: relative;}
#mobile_nav ul.level1- > li.active- > a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f054";
    position: absolute;
    left: auto;
    display: inline-block;
    top: auto;
    bottom: 10px;
    color: #0081C8;
    font-size: 11px;
    right: 0px;}
#mobile_nav ul.level1- > li a {
    font-weight: 800;
    text-decoration: none;
    color: #242424;
    border-bottom: 1px solid #999999;
    display: block;
    padding-top: 22px;
    padding-bottom: 10px;}
#mobile_nav ul.level1- > li a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f054";
    position: absolute;
    right: 0px;
    left: auto;
    display: inline-block;
    top: auto;
    bottom:12px;
    color: #0081C8;
    font-size: 11px;}
#mobile_nav ul.level1- > li.passive- {display: block;}
#mobile_nav ul.level1- > li.passive- ul.level2- {display: none;}
#mobile_nav ul.level1- > li.inactive- {display: none;}
#mobile_nav ul.level1- > li.inactive- ul.level2- {display: none;}
#mobile_nav ul.level1- > li.active- {display: block;}
#mobile_nav ul.level1- > li.active- ul.level2- {display: block;}
#mobile_nav div.tp- {padding: 10px 35px 15px; background: #0081C8;}
#mobile_nav div.tp- a {
    color: #fff;
    text-decoration: none;}
#mobile_nav div.tp- a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f053";
    position: relative;
    margin-right: 8px;
    right: 0px;
    left: auto;
    display: inline-block;
    top: auto;
    bottom:2px;
    color: #fff;
    font-size: 11px;}

#mobile_nav div.bttm- {
    padding-top: 25px;
    background-color: #000;}

#mobile_nav div.bttm- ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    font-size: 16px;}

#mobile_nav div.bttm- ul li {
    padding-left: 0px;
    padding-right: 0px;}

#mobile_nav div.bttm- ul li:after {
    content: "|";
    color: #fff;
    padding-left: 8px; padding-right: 8px;}
#mobile_nav div.bttm- ul li:last-child:after {
    content: "" !important;
    color: transparent;}

@media only screen and (max-width: 991px)  {
    #mobile_nav div.bttm- ul li:after {
        padding-left: 4px; 
        padding-right: 4px;
    } 
} 

#mobile_nav div.bttm- ul {
    margin-bottom: 25px;
    padding-left: 0px;
    display: flex;
    justify-content: center;
    list-style: none;}

#mobile_nav div.bttm- span {
    text-align: center;
    margin: auto;
    display: block;
    padding-bottom: 40px;}
#mobile_nav div.bttm- span a {
    max-width: 480px;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    background-color: #00806D;
    color: #fff;
    padding: 10px 14px;
    border-radius: 30px;
    display: inline-block;
    width: 80%;
    text-align: center;
    margin: auto;}
#mobile_nav div.bttm- span a:hover {background-color: #0C6054;}

#btn_back_to_top {
    border-radius: 50%;
    background: #0081C8;
    border: 0px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
    width: 40px;
    height: 40px;
    padding: 5px 5px;
    z-index: 10;}
#btn_back_to_top:focus {box-shadow: 0 0 0 .25rem rgba(0, 129, 200,.5);}
