﻿/* CUSTOM BUTTONS - START */
.btn-sm,
.btn-sm:active,
.btn-sm.active,
.btn-sm:visited {
    background-color: #071689;
    color:#fff;
    /*border: 2px solid rgba(37, 194, 194, 1);*/
    outline: none;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 -5px;
}
.btn-sm:hover,
.btn-sm:focus,
.btn-sm.focus,
.btn-sm:active:hover,
.btn-sm.active:hover {
    background-color:  rgba(37, 194, 194, 1);
    color:#000;
    /*border: 2px solid #071689;*/
    outline: none;
    border-radius: 5px;
}
/* CUSTOM BUTTONS - END */


/* RETURN TO TOP - START */
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /*background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);*/
    width: 30px;
    height: 30px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    /*font-size: 19px;*/
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
/*#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}*/
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}
/* RETURN TO TOP - END */


/* .largemenu {
    max-width: 1000px;
} */
.smallmenu-search {
    flex-basis: 100%;
    margin: 9px 0px 0px 0px;
}
.largemenu {
    display: none;
}
#___gcse_0 {
    display: none;
    width: 100%;
}
.main-nav-head-container {
    margin-top: -25px;
    padding: 10px 2% 10px 2%;
}
.main-nav-head-logos {
    /* width: 82.5%; */
    width: 100%;
    min-width: 450px;
    max-width: 710px;
}
/* .main-nav-head-search {
    width: 100%;
    min-width: 250px;
} */

/* .main-nav-head-container div:nth-child(1) {
    flex-basis: 40%
} */

.navbar {
    background-color: #071689;
    padding: 5px 0px 5px 4px;
    margin-top: -25px;
    min-height: 40px;
    height: unset;
}
.navbar .container-fluid {
    padding: 0px calc(2% + 12px) 0px calc(2% + 12px);
}
.navbar-brand {
    flex-basis: 70%;
}
.navbar-nav {
    flex-wrap: wrap;
    margin: 10px 0px 10px 0px;
}
.navbar-nav > li > a {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0px 0px 0px 0px;
    padding: 8px 0px 8px 12px;
    text-decoration: none;
    border: 0px;
}
.navbar-nav > li:nth-child(1) > a {
    margin: 0px 0px 0px 0px;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li > a.show {
    color: #000000;
    background-color: #fdb825;
}
.navbar-nav > li .dropdown-menu {
    width: unset;
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px solid rgba(0, 0, 0, 0.2);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
    white-space: normal;
}
.dropdown-menu > li > a {
    border-bottom: none;
    color: #071689;
    font-size: 16px;
    font-weight: 400;
    padding-top: 8px;
    padding-bottom: 8px;
    text-decoration: none;
    white-space: wrap;
    z-index: 1;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color:  #071689;
    color: #fff;
}


/* Hamburger Colors - Start */
.navbar-toggler {
    background-color: #fdb825;
    border: 2px solid white;
    padding: 4px 6px 4px 6px;
    margin-right: 10px;
}
.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid rgba(255, 0, 0, 1);
    outline-offset: 2px;
}
.navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28007, 022, 137, 1.0%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler-icon:hover,
.navbar-toggler-icon:focus {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1.0%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Hamburger Colors - End */


@media (min-width: 768px) {
    .navbar {
        background-color: #fdb825;
        padding: 0px 0px 0px 0px;
        margin-top: 0px;
        min-height: 40px;
        border-bottom: 5px solid #071689;
    }
    .navbar-nav {
        max-width: 1200px;
        margin: 0px auto 0px auto;
    }
    .navbar-nav > li > a {
        border-radius: 0px;
        color: #000000;
        margin: 0px 0px 0px 0px;
        padding: 12px 0px 12px 0px;
        text-align: center;
    }
    .navbar-nav > li > a:hover,
    .navbar-nav > li > a:focus,
    .navbar-nav > li > .nav-link.show {
        color: #ffffff;
        background-color: #071689;
    }
    .main-nav-head-search {
        min-width: 250px;
        width: 100%;
        max-width: 550px;
    }
    .main-nav-head-container div:nth-child(1) {
        flex-basis: 50%;
    }
    .main-nav-head-container div:nth-child(2) {
        flex-basis: 50%;
    }
    #___gcse_0 {
        display: block;
        width: 100%;
    }
    .connect-search {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .connect-social {
        margin-right: 25px;
        padding-bottom: 8px;
    }
    .navbar-nav > li .dropdown-menu {
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-top: 0px;
        min-width: 100%;
        width: max-content;
        margin-top: 5px;
    }
    .navbar-nav .nav-item:nth-child(5) .dropdown-menu {
        float: right;
        right: 0px;
        left: unset;
        width: max-content;
    }
    /* .navbar-nav .nav-item:nth-child(5) .dropdown-menu li .dropdown-item {
        white-space: normal;
    } */
    .dropdown-item {
        white-space: nowrap;
    }
    .largemenu {
        display: block;
    }
    .smallmenu {
        display: none;
    }
    .navbar .container-fluid .smallmenu-search {
        display: none;
    }
}

@media (min-width: 992px) {
    .main-nav-head-container div:nth-child(1) {
        flex-basis: 50%;
    }
    .main-nav-head-container div:nth-child(2) {
        flex-basis: 50%;
    }
}
