/* adds some margin below the link sets  */

.navbar .dropdown-menu div[class*="col"] {
    margin-bottom: 0.1rem;
}

.navbar .dropdown-menu {
    border: none;
    background-color: #136e16 !important;
    margin-top: 10px;
    filter: opacity(95%);
    border-bottom: 2px #98f872 solid !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.navbar-nav {
    margin-top: 0px !important;
}

.custom-dropdown .title-megamenu {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #ffffff;
    cursor: pointer;
}

.custom-dropdown .title-megamenu:hover {
    text-decoration: underline !important;
}

.custom-dropdown .tabs-custom .nav-link {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff !important;
}

.custom-dropdown .tabs-custom .nav-link:hover {
    text-decoration: underline !important;
}

.custom-dropdown .tabs-custom .tab-content a {
    font-size: 16px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white !important;
    font-family: "Lato";
    display: block;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.3px;
}

.custom-dropdown .tabs-custom .tab-content a:hover {
    text-decoration: underline !important;
}

.custom-dropdown .tabs-custom .nav-link.active {
    background-color: transparent;
}


/* breakpoint and up - mega dropdown styles */

@media screen and (min-width: 992px) {
    /* remove the padding from the navbar so the dropdown hover state is not broken */
    .navbar {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    /* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
    .navbar .nav-item {
        /* padding: 1.2rem 0.5rem 1.2rem 0.5rem; */
        padding: 0.7rem 0.2rem 0.3rem 0.2rem;
        margin: 0 0.05rem;
    }
    /* makes the dropdown full width  */
    .navbar .dropdown {
        position: static;
    }
    .navbar .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        /*  height of nav-item  */
        top: 45px;
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.3s linear;
    }
    /* shows the dropdown menu on hover */
    .navbar .dropdown:hover .dropdown-menu,
    .navbar .dropdown .dropdown-menu:hover {
        display: block;
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.3s linear;
    }
    .navbar .dropdown-menu {
        border: 1px solid rgba(0, 0, 0, 0.15);
        background-color: #fff;
    }
}

header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo {
    font-weight: bolder;
    font-size: 25px;
    color: #333;
}

header .logo img {
    margin: 10px 0px 10px 0px;
    max-width: 158px;
    max-height: 54px;
}

header ul {
    list-style: none;
}

header ul li {
    position: relative;
    float: left;
}

header ul li a {
    font-size: 14.5px;
    padding: 30px 8px 20px 8px;
    color: #136e21 !important;
    font-family: "Lato";
    display: block;
    font-weight: 530;
    line-height: 19px;
    letter-spacing: -0.3px;
}

header ul li .search {
    font-size: 16px;
    color: #156e13;
    display: block;
    font-weight: 300;
    line-height: 19px;
    letter-spacing: -0.3px;
}

.navbar-item .dropdown-menu ul li a {
    color: #ffffff !important;
}

.switch {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.switch>span {
    position: absolute;
    top: 7px;
    pointer-events: none;
    font-family: "Lato";
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    width: 50%;
    text-align: center;
}

input.check-toggle-round-flat:checked~.off {
    color: #1b6e13;
}

input.check-toggle-round-flat:checked~.on {
    color: #fff;
}

.switch>span.on {
    left: 0;
    padding-left: 2px;
    color: #136e19;
}

.switch>span.off {
    right: 0;
    padding-right: 4px;
    color: #fff;
}

.check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

.check-toggle+label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input.check-toggle-round-flat+label {
    padding: 2px;
    width: 60px;
    height: 25px;
    background-color: #306430;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

input.check-toggle-round-flat+label:before,
input.check-toggle-round-flat+label:after {
    display: block;
    position: absolute;
    content: "";
}

input.check-toggle-round-flat+label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color: #136e21;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

input.check-toggle-round-flat+label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 25px;
    background-color: #fff;
    -webkit-border-radius: 52px;
    -moz-border-radius: 52px;
    -ms-border-radius: 52px;
    -o-border-radius: 52px;
    border-radius: 52px;
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    -o-transition: margin 0.2s;
    transition: margin 0.2s;
}

input.check-toggle-round-flat:checked+label:after {
    margin-left: 27px;
}

header .navbar_custom ul li a i {
    font-size: 12px;
    margin-left: 8px;
}

header .navbar_custom ul li .dropdown_menu {
    font-size: 16px;
    padding: 10px;
    color: #306430;
    display: block;
    background: #fff;
}

header ul li:hover {
    border-bottom: 3px solid #5f985f;
}

header .navbar_custom ul li .active {
    border-top: 3px solid #5f985f;
}

header .navbar_custom ul li .dropdown_menu:hover {
    background: #5f985f;
    border-top: none !important;
    transition: 1s;
    color: #fff;
}

header .navbar_custom ul li ul {
    position: absolute;
    left: 0;
    width: 200px;
    display: none;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

header .navbar_custom ul li ul li {
    width: 100%;
}

header .navbar_custom ul li ul li a .icon_custom {
    font-size: 18px;
}

header .navbar_custom ul li ul li ul {
    left: 200px;
    top: 0;
}

header .navbar_custom ul li:focus-within>ul,
header .navbar_custom ul li:hover>ul {
    display: initial;
}

#menu-bar {
    display: none;
}

header label {
    font-size: 20px;
    color: #333;
    cursor: pointer;
    display: none;
}

@media (max-width: 991px) {
    header {
        padding: 20px;
    }
    header label {
        display: initial;
    }
    header .navbar_custom {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: none;
    }
    header .navbar_custom ul li {
        width: 100%;
    }
    header .navbar_custom ul li ul {
        position: relative;
        width: 100%;
    }
    header .navbar_custom ul li ul li {
        background: #eee;
    }
    header .navbar_custom ul li ul li ul {
        width: 100%;
        left: 0;
    }
    #menu-bar:checked~.navbar_custom {
        display: initial;
    }
}

.navbar_search {
    background-color: #174517 !important;
    text-align: left;
    z-index: 1;
    position: absolute;
    width: 100%;
    height: auto;
    padding: 20px 10px 20px 10px;
    opacity: 1;
    transition: opacity 1s;
}

.navbar_search .sub_menu_profile i {
    color: #fff;
    width: 9.31px;
    height: 5.49px;
}

.navbar_search .title {
    font-size: 24px;
    color: #fff !important;
    font-weight: 700;
}

.navbar_search .sub-title-custom {
    margin-top: 24px;
}

.navbar_search .sub-title {
    font-family: "Lato";
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    letter-spacing: -0.3px;
}

.sb-example-1 {
    margin: 5px 0px 0px 10px;
}

.sb-example-1 .search {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
}


/* .sb-example-1 .searchTerm {
    width: 20px;
    height: 25px;
    border: 1px solid #5f985f;
    border-left: none;
    border-right: 20px solid #12577c;
    padding: 5px;
    outline: none;
    color: #91a7b5;
    font-size: 0.875rem;
    margin-bottom: 5px;
} */

.sb-example-1 .searchTerm {
    max-width: 120px;
    height: 25px;
    border: 1px solid #5f985f;
    border-left: none;
    padding: 5px;
    border-radius: 0 8px 8px 0;
    outline: none;
    color: #91a7b5;
    font-size: 0.875rem;
    margin-bottom: 5px;
    transition-duration: 1.2s;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.sb-example-1 .searchTerm:focus {
    color: #91a7b5;
}

.sb-example-1 .searchButton {
    width: 20px;
    height: 25px;
    border: 1px solid #5f985f;
    background: #ffff;
    text-align: center;
    border-right: none;
    color: #91a7b5;
    margin-bottom: 5px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-size: 0.875rem;
    padding-left: 5px;
}

.sb-example-1 .searchButton i {
    font-size: 15px;
    color: #5f985f;
}

a {
    text-decoration: none;
    background-color: transparent;
}

.mt-10 {
    margin-top: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.title_page {
    padding-top: 10px;
    padding-bottom: 27px;
    background: #fafafa;
    margin-top: 0px !important;
}

.pd-lr-10 {
    padding-right: 10px;
    padding-left: 10px;
}