

/* TOP NAVIGATION  TOP NAVIGATION TOP NAVIGATION */

/*==========================
         GENERAL
============================*/

.page {
   /*  display: none; */
}

@media only screen and (min-width: 768px) {
/*  All a tags */
.nav_menu>ul a {
    padding: 4.5px 0;
    color: #542e15;
    text-decoration: none;
}

/* Menus & submenus without submenus */
.no-sub a:hover,
.no-sub a:focus {
    color: #B84323;
}

.no-sub-2 a:hover,
.no-sub-2 a:focus {
    color: #ffe3bd;
}
}
@media only screen and (min-width: 768px) {
.no-sub-2 a:hover,
.no-sub-2 a:focus {
    color: #B84323;/* #ffe3bd; */
}
}

/*Submenu with submenu */
.sub-1>a:hover,
.sub-1>a:focus {
    color: #a73d20;
}
@media only screen and (min-width: 768px) {
.sub-1>a:hover,
.sub-1>a:focus {
    color: white;
    background: #B84323;
}
}

/* submenu drop down arrows */
.sub-1>a img {
    float: right;
    margin: 4px 15px 0 0;
}
.sub-1>a img+img {
    display: none;
}
.sub-1>a:hover img+img,
.sub-1>a:focus img+img {
    display: inline;
}
.sub-1>a:hover img:first-child,
.sub-1>a:focus img:first-child {
    display: none;
}

/*=========================================================
  TOP NAVIGATION - About the County, Departments & Services, etc
==========================================================*/
.mobile-container {
    width: 320px;
}
@media only screen and (min-width: 359px) {
.mobile-container {
    display: none;
}
}

.top_nav {
     display: none;
}




@media only screen and (max-width: 359px) {
.header-right-1 {
    height:50px;
     padding: 2px 0;
     background:  #FDF5EA;
     box-shadow: 0 1px 4px 0 rgba(91,19,0,0.15);
}
.header-right{
    /* overflow: auto; */
    max-width: 480px;
    margin: 0 auto;
    border-bottom: 1px solid #EBE1D6;
    border-top: 1px solid #e4d7c8;
}





}



/* @media only screen and (max-width: 320px) { */

@media only screen and (max-width: 359px) {
.mobile-header {
     display: none;
padding: 48px 0 20px 20px;
font-weight: 400;
font-size: 15px;
color: #F7E3C3;
letter-spacing: 0.22px;
background-image: linear-gradient(-90deg, #9D3315 1%, #B84323 25%, #B84323 81%, #9D3315 99%);
}

/* Close Menu */
.mobile-header span {
    position: relative;
    top: -3px;
    margin-left: 9px;
}

.menu_mobile{
    display: none;
}
.nav_menu ul {
display: none;
}

.nav_menu ul {
  /* Rectangle 10: */
background-image: linear-gradient(-180deg, rgba(255,255,255,0.60) 0%, #F7E3C3 100%);
}

.nav_menu li {
    background-image: url('../images/line-4.svg');
    background-repeat: no-repeat;
    background-position: 0 51px; /* bottom; */
    background-size: 100% auto;

}

.nav_menu.nav_mobile li a {
    font-size: 15px;
    font-weight: 600;
    color: #61918D;
    letter-spacing: 0.33px;
    line-height: 52.5px;
    text-transform: uppercase;
}

.nav_menu.nav_mobile>ul>li>a {
   /*  border: 1px solid blue; */
}

.nav_menu.nav_mobile>ul>li>a,
.nav_menu.nav_mobile>ul>li>ul>li>a {
    position: relative;
}

.nav_menu.nav_mobile>ul>li>a>img {
    position: absolute;
    left: 240px;
    top: 10px;
}

.nav_menu.nav_mobile>ul>li>ul>li>a {
    position: relative;
}

.nav_menu.nav_mobile>ul>li>ul>li>a>img {
    position: absolute;
    left: 295px;
    top: 10px;
}
}
@media only screen and (min-width: 768px) {


.top_nav {
    display: block;
    min-width: 320px;
    background: #FDF5EA;
    padding: 2px 0;
    box-shadow: 0 1px 4px 0 rgba(91,19,0,0.15);
}

.nav_menu {
    border-bottom: 1px solid #EBE1D6;
    border-top: 1px solid #e4d7c8;
}
}


@media only screen and (min-width: 768px) {
.nav_menu>ul {
/*     max-width: 298px;
    margin: 0 auto; */
    padding: 5px 6px 9px 0;
    font-size: 16px;
    color: #53312B;
    letter-spacing: 0.1px;
}
}



/* Variable width of nav bar */
@media only screen and (min-width: 768px) {
.nav_menu>ul {
    max-width: 768px;
    margin: 0 auto;
    padding: 5px 0 9px 0;
    text-align: center;
    border: none;
}
}
@media only screen and (min-width: 1024px) {
.nav_menu>ul {
    max-width: 1024px;
}
}
@media only screen and (min-width: 1366px) {
.nav_menu>ul {
    max-width: 1330px;
    font-size: 18px;
    letter-spacing: 0.6px;
}
}
@media only screen and (min-width: 1600px) {
.nav_menu>ul {
    max-width: 1600px;
}
}
@media only screen and (min-width: 2304px) {
.nav_menu>ul {
    max-width: 2280px;
}
}
@media only screen and (min-width: 2560px) {
.nav_menu>ul {
    max-width: 2550px;
}
}

/* MENU BAR */

/* Variable padding for nav bar items */
.nav_menu>ul>li {
    display: block;
    position: relative;
}
@media only screen and (min-width: 768px) {
.nav_menu>ul>li {
    display: inline-block;
    position: relative;
    max-width: 124px;
    margin: 0 10px;
    text-align: center;
    border: none;
}
.nav_menu>ul>li span {
    display: block;
}
}
@media only screen and (min-width: 1024px) {
.nav_menu>ul>li {
    max-width: 100%;
    margin: 0;
    padding: 0 18px;
    text-align: left;
}
.nav_menu>ul>li span {
    display: inline;
}
}
@media only screen and (min-width: 1366px) {
.nav_menu>ul>li {
    padding: 0 34px;
}
}
@media only screen and (min-width: 1600px) {
.nav_menu>ul>li {
    padding: 0 60px;
}
}
@media only screen and (min-width: 2304px) {
.nav_menu>ul>li {
    padding: 0 130px;
}
}
@media only screen and (min-width: 2560px) {
.nav_menu>ul>li {
    padding: 0 155px;
}
}

.nav_menu>ul>li>a {
    margin-left: 55px;
}
/* @media only screen and (min-width: 375px) {
    .nav_menu>ul>li>a {
    margin-left: 85px;
}
}
@media only screen and (min-width: 414px) {
    .nav_menu>ul>li>a {
    margin-left: 92px;
}
} */
@media only screen and (min-width: 768px) {
    .nav_menu>ul>li>a {
    margin-left: 0;
}

.nav_menu>ul>li>a:hover{
    color: #B84323;
}
/* .nav_menu>ul>li>a:hover, */
.nav_menu>ul>li>a:focus {
    color: #B84323;
    box-shadow: inset -1px -1px 2px 0 rgba(0, 0, 0, .2),inset 1px 1px 2px 0 rgba(0, 0, 0, .2),
    -2px -2px 4px 0 rgba(0, 134, 241, .2), 2px 2px 4px 0 rgba(0, 134, 241, .2);
    outline: 2px solid #0086F1;
}
}


/*========================
       SUBMENUS
=========================*/

/* Submenus ul */
.nav_menu>ul>li>ul {
    position: static!important;
    display: none;
    margin: 6px 0;
    /* background: #fff; */
}
@media only screen and (min-width: 768px) {
.nav_menu>ul>li>ul {
    position: absolute!important;
    left: -70px;
    width: 263px;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: left;
    background: #FDF5EA;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 2px 1px #b0907d;
}
}
@media only screen and (min-width: 1024px) {
.nav_menu>ul>li>ul {
    left: -40px;
    width: 273px;
}
}
@media only screen and (min-width: 1366px) {
.nav_menu>ul>li>ul {
    left: -10px;
}
}
@media only screen and (min-width: 1600px) {
.nav_menu>ul>li>ul {
    left: 20px;
}
}
/* Variable submenu positions FIRST SUBMENU */
@media only screen and (min-width: 768px) {
#submenu-1 {
    width: 200px;
    left: 0px;
}
}
@media only screen and (min-width: 850px) {
#submenu-1 {
    left: -36px
}
}
@media only screen and (min-width: 1024px) {
#submenu-1 {
    left: 10px;
}
}
@media only screen and (min-width: 1080px) {
#submenu-1 {
    left: -16px;
}
}
@media only screen and (min-width: 1366px) {
#submenu-1 {
    width: 243px;
    left: -2px;
}
}
@media only screen and (min-width: 1600px) {
#submenu-1 {
    left: 18px;
}
}

/* Variable submenu widths & positions */

/* second submenu */
@media only screen and (min-width: 768px) {
#submenu-2 {
    width: 298px;
    left: -100px;
}
}
@media only screen and (min-width: 1024px) {
#submenu-2 {
    width: 298px;
    left: -40px;
}
}
@media only screen and (min-width: 1366px) {
#submenu-2 {
    width: 298px;
    left: -10px;
}
}
@media only screen and (min-width: 1600px) {
#submenu-2 {
    width: 298px;
    left: 20px;
}
}

/* Last submenu */
@media only screen and (min-width: 768px) {
#submenu-3 {
    width: 246px;
    left: -105px;
}
}
@media only screen and (min-width: 860px) {
#submenu-3 {
    left: -50px;
}
}
@media only screen and (min-width: 1024px) {
#submenu-3 {
    left: -40px;
}
}
@media only screen and (min-width: 1030px) {
#submenu-3 {
    left: -15px;
}
}
@media only screen and (min-width: 1366px) {
#submenu-3 {
    width: 263px;
    left: 8px;
}
}
@media only screen and (min-width: 1600px) {
#submenu-3 {
    left: 35px;
}
}

/* Submenu a */
.nav_menu>ul ul li a {
    display: block;
    padding-left: 16px;
    font-size: 12px;
    color: #53312B;
    letter-spacing: 0.04px;
    line-height: 18px;
}
@media only screen and (min-width: 768px) {
.nav_menu>ul ul li a {
    display: block;
    padding-left: 30px;
    font-size: 12px;
    color: #53312B;
    letter-spacing: 0.09px;
    line-height: 18px;
    border: none;
}
}


/*========================
       SUB SUBMENUS
=========================*/
/* Sub Submenus ul */
.nav_menu>ul ul ul {
    display: none;
    position: static!important;
    text-align: left;
    background: #ce4b27;
}

@media only screen and (min-width: 768px) {
.nav_menu>ul ul ul {
    position: absolute!important;
    width: 358px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #FDF5EA;
    border-radius: 10px;
    box-shadow: 0 3px 2px 1px #b0907d;
}
}
.nav_menu>ul ul>li:first-child>ul {
    top: -5px;
}
.nav_menu>ul ul>li+li>ul {
    top: -14px;
}

/* Last sub submenu  positioned left */
.nav_menu>ul ul ul.sub-2 {
    top: 10px;
    left: -214px!important;
}
@media only screen and (min-width: 768px) {
.nav_menu>ul ul ul.sub-2 {
    width: 256px;
}
}
@media only screen and (min-width: 768px) {
.nav_menu>ul ul ul.sub-2 {
    width: 214px;
}
}

.nav_menu>ul ul ul a {
    color: #fff;
    padding-left: 40px;
}
@media only screen and (min-width: 768px) {
.nav_menu>ul ul ul a {
    color: #53312B;
}
}

/* Language English - Spanish */

.nav-lan {
    position: relative;
    margin: 11px auto 0 auto;
    padding: 0 0;
}
@media only screen and (min-width: 768px) {
.nav-lan {
    margin: 10px auto 8px auto;
    padding: 0 0;
}
}

@media only screen and (max-width: 767px) {
.header-right-1 {
    height:50px;
     padding: 2px 0;
     background:  #FDF5EA;
     box-shadow: 0 1px 4px 0 rgba(91,19,0,0.15);
}
.header-right{
    /* overflow: auto; */
    max-width: 480px;
    margin: 0 auto;
    border-bottom: 1px solid #EBE1D6;
    border-top: 1px solid #e4d7c8;
}

.nav-lan{
        padding: 0;
        list-style: none;
        background: transparent;
    }
    .nav-lan li{
        display: inline-block;
        position: relative;
        line-height: 21px;
        text-align: left;
    }
    .nav-lan li a{
        display: block;
        padding: 8px 0px;
        color: #333;
        text-decoration: none;
        margin-top:-10px;
        /* width:120px; */
         text-align: center;
    }


     .nav-lan li a:hover{
        color: #fff;
        background: #B84323;
    }
    .nav-lan li ul{
        min-width: 100%; /* Set width of the dropdown */
        background: #FDF5EA;
        display: none;
        position: absolute;
        z-index: 999;
        left: 0;
         padding: 0px 0px;
         margin-top:-1px;
         height:60px;
         padding:0px;


  border-bottom-left-radius: 10px;

  border-bottom-right-radius: 10px;

    }
    .nav-lan li:hover ul{
        display: inline-block; /* Display the dropdown */
        z-index: 1000000;
    }
    .nav-lan li ul li{
        display: block;
        height:40px;
    }
}

@media only screen and (max-width: 359px) {
     .nav-lan li a{

        width:100px;

    }

    }

@media only screen and (max-width: 393px) {
.header-right-1 {
    height:50px;
     padding: 2px 0;
     background:  #FDF5EA;
     box-shadow: 0 1px 4px 0 rgba(91,19,0,0.15);
}
.header-right{
    /* overflow: auto; */
    max-width: 480px;
    margin: 0 auto;
    border-bottom: 1px solid #EBE1D6;
    border-top: 1px solid #e4d7c8;
}


}


@media only screen and (min-width: 1024px) {
.header-right-1 {
    height:50px;
     padding: 2px 0;
     background:  #FDF5EA;
     box-shadow: 0 1px 4px 0 rgba(91,19,0,0.15);
}
.header-right{
    /* overflow: auto; */
    max-width: 480px;
    height: 100px;
    margin: 0 auto;
    border-bottom: 1px solid #EBE1D6;
    border-top: 1px solid #e4d7c8;
}
}

@media only screen and (min-width: 768px) {
.header-right-1 {
    background:  transparent;
}
}

.header-right {
     height: 100px;
    max-width: 480px;
    margin: 0 auto;
    border-bottom: 1px solid #EBE1D6;
    border-top: 1px solid #e4d7c8;
}
@media only screen and (min-width: 768px) {
.header-right {
    overflow: hidden;
    max-width: 500px;
      height: 100px;
    margin: -5px auto 0 auto;
    border-bottom: none;
    border-top: none;
}
}
@media only screen and (min-width: 1366px) {
.header-right {
      height: 120px;
}
}

/* .nav-lan li {
    background: none!important;
    margin: 0 auto!important;
    padding: 0 0!important;
} */

/* .nav-lan a {
    font-size: 15px!important;
    font-weight: 300!important;
    color: #F7E3C3!important;
    letter-spacing: 0.22px!important;
    background: none!important;
    margin: 0 auto!important;
    padding: 0 0!important;
} */

/* .nav-lan:focus li {
    background: none!important;
    margin: 0 auto!important;
    padding: 0 0!important;
} */

/* .nav-lan:focus a {
    background: none!important;
    margin: 0 auto!important;
    padding: 0 0!important;
} */

