/*==================================
=            common css            =
==================================*/


/*=====  changes from global2019  ======*/
#menu-wrapper {
    height: 128px;
    z-index: 699;
    margin: 0 auto !important;
    top: 0px;

}

.img-thumbnail {
    padding: .25rem;
    background-color: #fff;
    border: 0px solid #dee2e6 !important;
    border-radius: .25rem;
    max-width: 100%;
    height: auto;
}

#rightnav > ul { padding-left: 28px; }

#rightnav > ul { margin-right: 0; }

#rightnav > ul li { list-style-type: none; padding-bottom: 0.25rem; padding-top: 0.25rem; }

#rightnav > ul:first-child {
  padding-top: 0;
}

#rightnav > ul li a:hover {
	background: #333;
	color: white;
}

#rightnav > ul > li {

	 border-bottom: 1px solid #dedede;
}

/* styles for desktop */
.tinynav { display: none }


/*=====  End of changes  ======*/




.section-heading {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
}

.section-heading::after {
    background-color: #265196;
    bottom: -7px;
    content: "";
    height: 2px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 70px;
}

.section {
    padding: 80px 0;
}

.button {
    background-color: #ffffff;
    border-radius: 40px;
    border: 2px solid #ffffff;
    color: #1c1c1c;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.7;
    padding: 10px 40px;
    -webkit-transition: 0.3s linear all;
    -moz-transition: 0.3s linear all;
    -ms-transition: 0.3s linear all;
    -o-transition: 0.3s linear all;
    transition: 0.3s linear all;
}

.button:hover {
    background-color: #265196;
    color: #ffffff;
    -webkit-transition: 0.3s linear all;
    -moz-transition: 0.3s linear all;
    -ms-transition: 0.3s linear all;
    -o-transition: 0.3s linear all;
    transition: 0.3s linear all;
}



/*=====  End of common css  ======*/
/*====================================
=            main-wrapper            =
====================================*/
.main-wrapper {
    /*height: 550px;*/
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.main-wrapper::after {
    content: "";
    background-color: rgba(0, 0, 0, 0.55);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
}

.main-wrapper .content-wrapper {
    bottom: 0;
    color: #ffffff;
    left: 0;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 1;
}

.main-wrapper .content-wrapper h1 {
    font-size: 50px;
    font-weight: bold;
    margin: 0;
}

.main-wrapper .content-wrapper p {
    font-size: 18px;
    margin: 20px 0 30px 0;
}

/*=====  End of main-wrapper  ======*/
/*======================================
=            search-wrapper            =
======================================*/
.search-wrapper {
    position: relative;
    z-index: 9;
    background-color: #265196;
    padding: 15px 0;
    display: none;
}

.search-wrapper #search-close {
    color: #ffffff;
    font-size: 21px;
    margin-left: 20px;
    line-height: 38px;
    cursor: pointer;
}

.search-wrapper ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #ffffff;
}

.search-wrapper ::-moz-placeholder {
    /* Firefox 19+ */
    color: #ffffff;
}

.search-wrapper :-ms-input-placeholder {
    /* IE 10+ */
    color: #ffffff;
}

.search-wrapper :-moz-placeholder {
    /* Firefox 18- */
    color: #ffffff;
}

.search-wrapper .input-group-text {
    cursor: pointer;
}

.search-wrapper .form-control,
.search-wrapper .input-group-text {
    background-color: transparent;
    border: none;
    color: #ffffff;
}

.search-wrapper .form-control:focus,
.search-wrapper .input-group-text:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}

/*=====  End of search-wrapper  ======*/



/*==================================
=            navigation            =
==================================*/
.primarynav {
    background-color: #333;
    z-index: 9;
    -webkit-transition: 0.3s linear all;
    -moz-transition: 0.3s linear all;
    -ms-transition: 0.3s linear all;
    -o-transition: 0.3s linear all;
    transition: 0.3s linear all;
    height: 128px;
}

.navbar-brand {
    color: #ccc;
    font-size: 24px;
    font-weight: bold;
}

.iconbar {
    color: #ccc;
}


.navbar-nav .nav-item .nav-link {
    color: #007bff !important;
    padding: 4px 8px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.navbar-toggler:focus {
    outline: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}

.navbar-toggler {
    padding: .25rem .25rem .75rem 24rem !important;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.dropdown-menu {
    border: none;
    background-color: #ffffff !important;
    font-size: 14px;
}

.dropdown-menu .nav-item .nav-link {
    color: #ffffff;
    padding: 6px 0;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    padding: 10px;
    border-bottom: 1px solid #dddddd;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #265196;
    color: #ffffff;
}


.dropdown-list li a {
    display: block;
    padding: 4px 0;
    border-bottom: 1px dotted #dddddd;
}

.dropdown-list li:last-child a {
    border-bottom: none;
}


.dropdown-heading {
    font-size: 22px;
    border-bottom: 1px solid #cccccc;
    padding-top: 15px;
    padding-bottom: 5px;
    margin-bottom: 15px;
    margin-left: 30px;
}



/*=====  End of navigation  ======*/



/*====================================
=            media queries            =
====================================*/

@media screen and (min-width: 992px) {
    .navbar .dropdown-menu {
        background-color: #fff;
        border-radius: 0;
        border: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        -ms-box-shadow: none;
        -o-box-shadow: none;
        box-shadow: none;
        display: block;
        left: 0;
        opacity: 0;
        padding: 0;
        right: 0;
        top: 96%;
        -webkit-transition: 0.3s linear all;
        -moz-transition: 0.3s linear all;
        -ms-transition: 0.3s linear all;
        -o-transition: 0.3s linear all;
        transition: 0.3s linear all;
        visibility: hidden;
        width: 100%;
        margin-top: -35px;
    }

    #JeffCoLogo {
	width: 75%;
	height: 75%;
    }
    .navbar-nav .nav-item .nav-link {
        color: #ccc !important;
        padding: 4px 3px;
        font-size: 0.8rem;
    }

    .navbar .dropdown {
        position: static;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        -webkit-transition: 0.3s linear all;
        -moz-transition: 0.3s linear all;
        -ms-transition: 0.3s linear all;
        -o-transition: 0.3s linear all;
        transition: 0.3s linear all;
        visibility: visible;
    }

    .navbar .dropdown-submenu .dropdown-menu {
        left: 200px;
        top: -4px;
        width: calc(100% - 200px);
        box-shadow: none;
        padding: 10px;
    }

    .navbar .dropdown-submenu .dropdown-menu a {
        padding: 10px;
    }

    .navbar .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        -webkit-transition: 0.3s linear all;
        -moz-transition: 0.3s linear all;
        -ms-transition: 0.3s linear all;
        -o-transition: 0.3s linear all;
        transition: 0.3s linear all;
    }
    #countyicon {
    	display: inline-block;
    }
}

@media screen and (min-width: 1200px) {
    .navbar-nav .nav-item .nav-link {
        color: #ccc !important;
        padding: 4px 8px;
        font-size: 1.1rem;
    }

    #JeffCoLogo {
	width: 100%;
	height: auto;
    }
}




@media screen and (max-width: 1200px) {
    .img-thumbnail {
        display: none;
    }
}


@media screen and (max-width: 991px) {
    #navbarSupportedContent {
        position: absolute;
        top: 109px;
        background-color: #ffffff;
        padding-left: 20px;
        padding-right: 20px;
        left: -16px;
        right: -16px;
        height: auto;
        overflow-y: auto;
	border: 1px solid #ccc;
    }

    .navbar-brand {
        margin-right: 0.5rem;
    }

    #JeffCoLogo {
	width: 75%;
    	height: 75%;
    }

    #countyicon {
    	display: none;
    }
	
    #searchicon {
    	display: none;
    }

    .dropdown-heading {
        display: none;
    }


    .navbar-nav .nav-item .nav-link {
        /* color: #007bff !important; */
        padding: 4px 4px;
        font-size: 1rem;
    }

    .main-wrapper .content-wrapper h1 {
        font-size: 30px;
    }

    .main-wrapper .content-wrapper p {
        font-size: 1rem;
    }

    .primarynav .dropdown-heading {
        margin: 0 !important;
    }

    .primarynav .dropdown-menu {
        padding-top: 0;
        margin-top: 0;
    }

    .primarynav .navbar-container {
        justify-content: flex-start;
        position: relative;
    }

    .primarynav .offcanvas-navbar {
        position: absolute;
        right: 0;
        top: -3px;
        flex-direction: unset;
    }

    .primarynav .navbar-nav .nav-item .nav-link {
        padding: 13px 0;
    }

    .primarynav .navbar-collapse .navbar-nav .nav-item .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #dddddd;
    }

    .primarynav .navbar-collapse .navbar-nav .nav-item .nav-link:last-child {
        border-bottom: none;
    }

    nav .nav-column UL,
    nav .nav-column UL LI,
    nav .nav-column UL LI a {
        width: auto;
    }
    nav .nav-column UL{
	padding-left: 8px;
    }


    /* styles for mobile */
    .tinynav { display: block }
    #rightnav UL.SideNav { display: none }
}


}

@media screen and (max-width: 767px) {

    .navbar-toggler {
        padding: .25rem .25rem .75rem .25rem !important;
    }

    .primarynav .dropdown-heading {
        border-bottom: 1px solid #dddddd;
        padding: 10px 0;
        position: relative;
        font-size: 14px;
    }

    .primarynav .dropdown-heading:after:after {
        content: "\f107";
        float: right;
        font-family: fontawesome;
        line-height: 30px;
        position: absolute;
        right: 0;
    }

/*    .primarynav .dropdown-list {
        display: none;
    }
*/

    .primarynav .dropdown-list.active.active {
        display: block;
        margin-bottom: 15px;
    }

    .primarynav .dropdown-list a a {
        cursor: pointer;
    }

    .primarynav .product-dropdown-menu .dropdown-heading {
        font-size: 14px;
        font-weight: normal;
    }

    #rightnav { display: none; }
}

@media screen and (max-width: 576px) {

    .navbar-toggler {
        padding: .25rem .25rem .75rem .25rem !important;
    }

    .section {
        padding: 50px 0;
    }

    .section-heading {
        font-size: 27px;
        margin-bottom: 20px;
    }

    .button {
        padding: 6px 30px;
        font-size: 14px;
    }
}

/*=====  End of media queries  ======*/
