﻿/* generous gutters + row padding */
#card_row.gx-4 {
    --bs-gutter-x: 1.5rem;
}

#card_row.gy-5 {
    --bs-gutter-y: 2.25rem;
}
/* (px-4/pt-4 come from Bootstrap utilities in the HTML) */

/* card look */
#card_row .program-card {
    position: relative;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
    transition: box-shadow .2s ease, transform .06s ease;
    overflow: hidden;
    padding-left: .75rem; /* inner L/R padding so image/text don’t hug edges */
    padding-right: .75rem;
}

    #card_row .program-card:hover,
    #card_row .program-card:focus-within {
        box-shadow: 0 10px 28px rgba(0,0,0,.18), 0 6px 12px rgba(0,0,0,.08);
        transform: translateY(-1px);
    }

    /* image */
    #card_row .program-card .card-img-top {
        display: block;
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 14px;
        margin-top: .75rem;
    }

    /* content */
    #card_row .program-card .card-body {
        position: relative; /* containing block for absolute chip */
        padding: .9rem 1rem 3rem; /* <- bottom space for chip */
    }

    #card_row .program-card h4 {
        margin: 0 0 .55rem;
        font-weight: 800;
        font-size: 1.45rem;
        line-height: 1.1;
    }

    #card_row .program-card p {
        margin: 0;
        line-height: 1.5;
        color: #1f2937;
    }

    /* pinned “more” chip (overlay, not in flow) */
    #card_row .program-card .more-link {
        position: absolute;
        right: 1rem;
        bottom: 1rem;
        z-index: 2;
        display: inline-block;
        padding: .18rem .55rem;
        border: 1px solid #0d6efd;
        border-radius: .35rem;
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .02em;
        color: #0d6efd;
        background: rgba(13,110,253,.06);
        line-height: 1.1;
        pointer-events: none; /* whole card remains clickable */
    }

    #card_row .program-card:hover .more-link {
        background: #0d6efd;
        color: #fff;
    }

    /* keyboard focus ring via stretched-link */
    #card_row .program-card .stretched-link:focus-visible {
        outline: none;
    }

    #card_row .program-card:focus-within {
        box-shadow: 0 10px 28px rgba(0,0,0,.18), 0 6px 12px rgba(0,0,0,.08), 0 0 0 3px rgba(13,110,253,.25);
    }


#indexDepartmentTitles {
    padding-top: 0px;
    background-color: rgba(255,255,255,0.3) !important;
    padding: 4px 10px;
}

    #indexDepartmentTitles h3 {
        color: black !important;
        text-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
    }

@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: none;
    }
}

.k-tabstrip>.k-content {
    border-top-width:1px;
    border-width:0px;
}

.k-tabstrip .k-item.k-state-active {
    background-color: #64b5f6;
    border-color: #64b5f6;
}

.k-tabstrip-items .k-state-active .k-link {
    color: white;
}

.k-tabstrip-top > .k-tabstrip-items > .k-item {
    border-bottom-width: 0px;
}

.k-grid tr td {
    border-top: 1px solid #c1c1c1;
}

.k-grid {
    font-family:Helvetica, Arial, sans-serif;
}

    .k-grid .k-alt {
        background-color: #eaf5ff;
    }

.k-grid-header, .k-header {
    background-color: #ededed;
}

.k-grid thead {
    display: contents;
}


.cards {
    display: flex;
    margin: 1px;
    margin-top: 30px;
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 3px;
    box-shadow: 3px 3px 12px 2px rgba(0, 0, 0, 0.6);
    transition: 0.2s;
    font-size: 14px;
}

    .card:hover {
        transform: translateY(-1rem);
    }

.cards:hover > *:not(:hover) {
    opacity: 0.5;
}

.inspectionText {
    margin: 5px;
    min-width: 100px;
    padding: 0px;
}

.bothSearchButtons{
    margin:15px;
}


.navbarItems {
    padding-top: 11px;
    color:white;
    font-family:'Times New Roman';
    font-size: 18px;
}

body {
    font-family: 'Gill Sans','Candara','Arial';
    background-color: rgb(232, 234, 246);
    position: relative;
    min-width: 300px;
}

label {
    font-family: sans-serif;
    font-weight: 100;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    background-color: white;
    background-color: rgb(250, 250, 250);
    padding: 0;
    height: 100%;
    min-height: 100%;
    box-shadow: 2px 2px 2px rgba(0,0,0,.2);
    margin-top: -7px;
}

.icon-bar {
    background-color: white;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.gBoxShadow-0 {
    box-shadow: 0 2px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24);
}

.gBoxShadow-1 {
    box-shadow: 0 6px 3px rgba(0,0,0,0.12),0 1px 6px rgba(0,0,0,0.24);
}

.gBoxShadow-2 {
    box-shadow: 0 8px 3px rgba(0,0,0,0.12),0 1px 8px rgba(0,0,0,0.24);
}

.cleanDiv {
    padding: 0;
    margin: 0;
}

.headerStyle {
    color: white;
    font-size: 1.4em;
    display: inline-block;
    width: 100%;
    height: 40px;
    font-weight: 100;
    line-height: 40px;
    user-select: none;
}

.fixHeader {
    position: fixed;
    margin: 0 auto;
    opacity: 1;
    width: 100%;
    z-index: 10000000;
}

.smNavDeptInfo {
    display: none;
}

.myNavStyle {
    background-color: navy;
    background-image: url('../images/Home/landing_header.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

    .myNavStyle > ul {
        float: right;
    }

        .myNavStyle > ul > li > a {
            color: white;
            font-size: 1.2em;
        }

            .myNavStyle > ul > li > a:hover {
                background-color: #607D8B;
                color: white;
                font-weight: 100;
                text-decoration: none;
            }

.NavUnderline {
    position: absolute;
    bottom: 3px;
    width: 0;
    opacity: 0;
    text-align: left;
    overflow: hidden;
    transition: all 200ms ease-in-out;
}

.activeNavItem {
    position: absolute;
    bottom: 3px;
    width: 100%;
    opacity: 1;
    border-top: 3px solid white;
    transition: all 200ms ease-in-out;
}


#CountyLogo {
    height: 130px;
    text-align: center;
}

    #CountyLogo > img {
        height: 100%;
    }

.deptTitle {
    color: white;
    margin: 0;
    margin-top: 30px;
    text-align: center;
    width: 100%;
    font-family: 'Times New Roman', 'Times', 'serif';
}


.programTitle {
    color: white;
    margin: 0;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    font-family: 'Times New Roman'
}


/*INDEX STYLES*/
.IndexHeader {
    height: 270px;
    background-image: url('../images/Home/landing_header.png');
    background-size: cover;
    max-height: 140px;
    background-position-y: 50%;
    background-position-x: 90%;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 20px;
}

#indexBody {
    padding-bottom: 30px;
}

.one-field-req {
    width: 100%;
    display: inline-block;
    float: left;
    color: red;
    text-decoration: underline;
    padding: 10px 0px 0px 0px;
    font-size: 15px;
    transition: all 200ms ease-in-out;
}

.val-hidden {
    height: 0;
    opacity: 0;
}

/*ADDITIONAL LINKS*/
.AdditionalLinks {
    padding-left: 0;
}

.AdLinkHeader {
    background-color: white;
    min-height: 200px;
}

    .AdLinkHeader > div {
    }

#linkHeader {
    background-image: url('../images/Home/AdditionalLinksHeader-compressor.png');
    background-size: cover;
    height: 40px;
    margin-bottom: 20px;
}

.AdLinks {
    font-size: 1.1em;
}

    .AdLinks > ul {
        color: #173752;
        padding-bottom: 20px;
        display: inline-block;
        height: 100%;
    }

        .AdLinks > ul > li {
            padding-top: 7px;
        }

            .AdLinks > ul > li > a {
                display: inline-block;
                width: 100%;
                transition-delay: 50ms;
                color: #173752;
                transition: all 300ms ease-in-out;
                vertical-align: middle;
            }

                .AdLinks > ul > li > a:hover {
                    text-decoration: none;
                    cursor: pointer;
                    padding-left: 20px;
                    color: navy;
                }

.navAdditionalLinks {
    display: none !important;
}


/*ABOUT US HEADER*/
#AboutUsHeader {
    height: 40px;
    background-image: url('../images/Home/AboutUsHeader-compressor.png');
    background-size: cover;
}


/*SEARCH BAR HEADER*/
.searchHeader {
    background-image: url('../images/Home/SearchBarHeader-compressor.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 40px;
    position: relative;
}

.questionMark {
    width: 36px;
    height: 36px;
    z-index: 1000;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.26);
}

    .questionMark:hover {
        box-shadow: 0 15px 15px rgba(0, 0, 0, 0.26);
        transition: all 100ms ease-in-out;
        cursor: pointer;
    }

.buttonRaise {
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.26);
}

    .buttonRaise:hover {
        transition: all 100ms ease-in-out;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.26);
    }

.resetBtn {
    transition: all 100ms ease-in-out;
}

    .resetBtn:hover {
        background-color: rgb(35, 42, 51) !important;
    }


.disable-sub {
    background-color: darkgrey !important;
}

    .disable-sub:hover {
        box-shadow: none !important;
        background-color: darkgrey !important;
        color: white !important;
    }

.submitBtn {
    transition: all 100ms ease-in-out;
}

    .submitBtn:hover {
        /*background-color:darkslategray !important;*/
        background-color: darkslategray;
    }


.required-flag {
    color: red;
    position: absolute;
    left: 0px;
    top: 10px;
}

/*TILES content HOME*/

.HomeTile {
    height: 120px;
    overflow: hidden;
    position: relative;
    margin: 10px auto;
    border-radius: 5px;
}


    .HomeTile:hover {
        cursor: pointer;
    }

    .HomeTile > img {
        position: absolute;
        width: 100%;
        top: 60%;
        margin-top: -50%;
        transition: all 300ms ease-in-out;
    }

    .HomeTile:hover > img {
        width: 115%;
    }


    .HomeTile > div {
        position: absolute;
        width: 100%;
        background-color: rgba(0,0,0,.6);
        height: 100%;
        padding-right: 15px;
    }

    .HomeTile:hover > div {
        background-color: rgba(0,0,0,.8);
        transition: all 300ms ease-in-out;
    }

    .HomeTile > div > h4 {
        transition: all 300ms ease-in-out;
        color: white;
        text-align: center;
        padding-top: 10px;
        margin: 0;
        font-weight: 100;
    }

    .HomeTile:hover > div > h4 {
        transition: all 300ms ease-in-out;
        color: gainsboro;
    }


    .HomeTile > div > p {
        color: gainsboro;
        font-size: 12px;
        padding: 5px;
    }


.divTopMargin {
    margin-top: 11px;
    position: relative;
}

/*ENTIRE PAGE*/

.EntirePageLoaded {
    transition: all 300ms ease-in-out;
}


/*MODAL*/
.modal-content {
    border-radius: 0;
}

.modal-header {
    background-color: rgb(137, 182, 252);
    color: white;
}

.modal-dialog {
    margin: 10px auto;
    width: 80%;
    font-family: sans-serif;
}

.modal-header .close {
    color: white;
    opacity: 1;
    font-size: 1.85em;
    font-weight: 100;
}


/*HOME PAGE*/

#searchBox {
    min-height: 100%;
    min-height: 230px;
    display: inline-block;
    text-align: center;
}



/*FOOD INSPECTION PAGE*/
.InspectionTitles {
    color: #15344c;
    text-align: center;
    margin-top: 40px;
}


/*INSPECTION INFO PAGE*/
.InspectionInfoPage {
    padding: 20px;
    font-family: sans-serif;
    font-size: 1.2em;
}


.odd:hover {
    background-color: rgb(197, 202, 233);
    background-color: rgb(232, 234, 246);
    cursor: pointer;
}

.even:hover {
    background-color: rgb(197, 202, 233);
    background-color: rgb(232, 234, 246);
    cursor: pointer;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th:hover {
    background-color: rgba(0,0,0,.1);
}

.DataTableHeader > td {
    text-align: center;
    background-color: #303F9F;
    color: white;
}

    .DataTableHeader > td::after {
        content: none;
        color: white;
    }

.DataTableMapLink {
    text-decoration: underline;
    color: navy;
    display: inline-block;
    height: 100%;
    width: 100%;
}

    .DataTableMapLink:hover {
        color: white;
        cursor: pointer;
    }


.DataTablePhoneLink {
    color: navy;
    text-decoration: underline;
}

    .DataTablePhoneLink:hover {
        color: white;
    }

#FacilityRecordsTable {
    width: 98% !important;
    margin: auto;
}

    #FacilityRecordsTable thead > tr > td:nth-child(1) {
        text-align: left;
        /*padding-left:10px;
    padding-right:10px;*/
    }

    #FacilityRecordsTable thead > tr > td {
        padding-left: 10px;
        padding-right: 10px;
    }

#FacilityRecordsTable_paginate {
    padding-bottom: 15px;
}

#FacilityRecordsTable > tbody > tr > td > label:hover {
    cursor: pointer;
}

#selectedFacilityRecords > tr > td:nth-child(2) {
    text-align: center;
}

#selectedFacilityRecords > tr > td:nth-child(3) {
    text-align: center;
}

#selectedFacilityRecords > tr > td:nth-child(4) {
    text-align: center;
}



/* MOBILE TABLE LAYOUT FOR SEARCH RESULTS*/
.mobileStoreTitle {
    font-size: 13px;
    font-family: sans-serif;
}

.mobileBusThumbnails {
    display: block;
    float: left;
    height: 100px;
    max-width: 30%;
    background-position: center;
    width: 100%;
    background-size: cover;
}


.table.dataTable tbody th, table.dataTable tbody td {
    height: 1px;
    min-height: 20px;
    padding-left: 10px;
    padding-right: 10px;
    border-top: 1px solid lightgrey;
    font-family: sans-serif;
}


#SearchresultsMobile {
    margin-top: 80px;
    width: 100%;
    font-family: sans-serif;
    font-size: 12px;
}

.mobileLabel-Business {
    font-weight: 100;
    font-family: sans-serif;
    font-size: 12px;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.mobileLabel-Business-Header {
    font-weight: 100;
    font-family: sans-serif;
    font-size: 15px;
    margin-bottom: 0;
    min-width: 80px;
    background-color: #0D47A1;
    display: inline-block;
    width: 100%;
    color: white;
    text-align: center;
}

.dataTables_paginate paging_simple_numbers {
    text-align: center !important;
}


#FacilityMapLink:hover {
    cursor: pointer;
}

.FacilityInfoLinks {
    margin: 0;
    font-weight: 100;
    font-family: sans-serif;
    font-size: 18px;
}

    .FacilityInfoLinks:hover {
        cursor: pointer;
    }

.FacilityActionA {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 10px;
}

.FacilityActionIcons {
    height: 100%;
    vertical-align: sub;
    margin: 0 10px;
    border-radius: 50%;
    box-shadow: 1px 2px 3px rgba(0,0,0,.3);
    transition: all 150ms ease-in-out;
}

    .FacilityActionIcons:hover {
        box-shadow: 6px 7px 8px rgba(0,0,0,.2);
        cursor: pointer;
    }

.NavContainer {
    padding: 0;
    box-shadow: 2px 2px 2px rgba(0,0,0,.4);
}

.SearchResultsBody {
    padding: 20px 20px;
    height: 100%;
}

.SearchResultsTableWrapper {
    padding: 15px;
    background-color: white;
}


.SelectedFacilityRow {
    display: inline-block;
    float: left;
    width: 100%;
    padding: 5px 10px;
    font-family: sans-serif;
    font-size: 12px;
    text-align: left;
}

.SelectedFacilityRowHeader {
    display: inline-block;
    width: 100%;
    background-color: #009688;
    color: white;
    font-size: 19px;
    padding: 4px 0px;
    padding-left: 10px;
}


.SelectedFacLabel {
    width: 20%;
    text-align: right;
    margin: 0;
    vertical-align: top;
    padding-right: 4px;
}

.selectedFacLabelData {
    width: 80%;
    margin: 0;
    padding-left: 3px;
}

.SelectedFacilityRowDiv {
    width: 100%;
    margin-bottom: 2px;
}


/*SELECTED FACILITY*/

#FacilityResultsHeader {
    max-height: 200px;
    height: 200px;
    position: relative;
}

#FacImage {

    /*height:200px;*/
    background-color: #2e485d;
    box-shadow: 3px 3px 3px rgba(0,0,0,.5);
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


#FacImageBg {
    background-size: cover;
    display: inline-block;
    height: 80%;
    max-height: 100%;
    width: 90%;
    position: relative;
    box-shadow: 3px 3px 3px rgba(0,0,0,.3);
    margin: 20px;
    background-position: center;
}

    #FacImageBg > span {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0,0,0,.1);
    }

#facilityWrapper {
    padding-bottom: 30px;
    width: 100%;
    margin-top: 7px;
}

#FacilityRecordsTable_length {
    padding-left: 20px;
}

#FacilityRecordsTable_filter {
    padding-right: 20px;
}

#FacilityRecordsTable_info {
    padding-left: 20px;
}

.subHeadingSelectFac {
    width: 100%;
    display: inline-block;
    text-align: center;
    color: brown;
    padding: 5px 10px;
    margin-top: 25px;
}

.FacilityRecords {
    margin: 0 15px;
}



.backButtonArrow {
    position: absolute;
    height: 50px;
    top: 10px;
    left: 25px;
    z-index: 1;
}

.simpleBackBtn {
    position: absolute;
    left: 40px;
    top: 20px;
    height: 50px;
    width: 50px;
    z-index: 100;
    color: white;
    font-size: 24px;
    border-radius: 50%;
    text-align: center;
    padding: 13px 0px;
    padding-right: 5px;
    background-color: #15344c;
    transition: all 200ms ease-in-out;
}


    .simpleBackBtn:hover {
        background-color: white;
        color: #15344c;
        cursor: pointer;
        transition: all 200ms ease-in-out;
    }

#backButton:hover {
    font-weight: bold;
    letter-spacing: -0.3px;
    color: white;
    background-color: rgb(226,138,33);
    border-color: #A84;
    border-radius: 3px;
    margin-right: 15px;
}


#backButton {
    font-weight: bold;
    letter-spacing: -0.3px;
    color: white;
    background-color: orange;
    border-color: #A84;
    border-radius: 3px;
    margin-right: 15px;
}


/*ADDITIONAL INFORMATION PAGE*/

.addInfoTile {
    padding-top: 40px;
}

    .addInfoTile > h3 {
        margin-top: 5px;
        color: cadetblue;
    }

.footStyle {
    width: 100%;
    background-color: rgb(29,29,95);
    height: auto;
    display: inline-block;
    bottom: 0;
    left: 0;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
}

    .footStyle > p {
        margin: 0;
    }

.centerAlign {
    text-align: center !important;
}

.FacilityResults {
    display: block;
    width: 100%;
    padding-left: 10px;
    padding-right: 5px;
    padding-top: 5px;
    font-family: sans-serif;
    font-size: 12px;
    float: left;
    padding-left: 10%;
}


/*GOOGLE TRANSLATE STYLING*/
.googleTranslateStyle {
    padding: 10px 0;
    width: 134px;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 4px !important;
}

    .goog-te-gadget-simple .goog-te-menu-value span {
        color: white !important;
        font-family: sans-serif !important;
        font-size: 1.2em !important;
        text-decoration: none !important;
    }

.goog-te-menu-value:hover {
    text-decoration: none !important;
}

.goog-te-gadget-icon {
    background: none !important;
    display: none !important;
}

.goog-te-menu-value > img {
    display: none !important;
}

.goog-te-menu-value > span {
    display: none !important;
}


.input-standard {
    text-indent: 10px;
    height: 34px;
    width: 100%;
    text-align: left;
    max-width: 100%;
}

.dropdown-standard {
    height: 34px;
    max-width: 100%;
    width: 100%;
    padding-left: 8px;
}

/* SMALL BROWSER WINDOW*/
@media screen and (min-width: 400px) and (max-width: 767px) {
    .SearchResultsBody {
        padding: 0;
    }

    #AdditionalLinks {
        display: none !important;
    }

    #indexBody {
        padding-top: 20px;
    }

    .navAdditionalLinks {
        display: inline-block;
    }

    .myNavStyle > ul {
        float: none;
    }

    .navAdditionalLinks {
        display: inline-block !important;
    }

    .myNavStyle {
        background-color: #2B3D4F;
        background-image: none;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .NavUnderLine {
        display: none !important;
    }

    #navHome {
        display: none !important;
    }

    .IndexHeader {
        display: none !important;
    }

    #searchBox {
        width: 100%;
    }

    #facilityWrapper {
        height: 400px;
    }
}

/* IE SMALL TO MEDIUM WINDOW SIZE*/
@media screen and (min-width: 768px) and (max-width: 992px) {
    #facilityWrapper {
        height: 400px;
    }
}

/*IE TINY WINDOW*/
@media screen and (min-width: 40px) and (max-width: 413px) {

    .SearchResultsBody {
        padding: 0;
    }

    #AdditionalLinks {
        display: none !important;
    }

    #indexBody {
        padding-top: 20px;
    }

    .navAdditionalLinks {
        display: inline-block;
    }

    .myNavStyle > ul {
        float: none;
    }

    .navAdditionalLinks {
        display: inline-block !important;
    }

    .myNavStyle {
        background-color: #2B3D4F;
        background-image: none;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .NavUnderLine {
        display: none !important;
    }

    #navHome {
        display: none !important;
    }

    .IndexHeader {
        display: none !important;
    }

    #searchBox {
        width: 100%;
        padding: 0;
    }

    #mainBodyContent {
        height: 100vh !important;
    }


    /*FACILITY RESULTS PAGE*/

    #facilityWrapper {
        display: inline-block;
    }

    thead {
        display: none;
    }

    #facilityWrapper {
        height: 400px;
    }
}


/******************************************************************************************************************************************************************************/
/*MOBILE MEDIA QUERY*/

@media only screen and (max-device-width:413px) {
    html {
        background-color: white;
    }

    .simpleBackBtn {
        left: 10px;
        top: 10px;
    }

    #FacilityRecords {
        margin-bottom: 20px;
    }

    #FacilityRecordsTable_paginate > span {
        display: none;
    }

    #FacilityRecordsTable_length {
        display: none;
    }

    #facilityWrapper {
        margin-top: 10px;
        height: 420px;
    }

    .smNavDeptInfo {
        color: white;
        font-size: 1.1em;
        font-weight: 100;
        text-align: left;
        position: fixed;
        z-index: 10;
        display: inline-block;
    }

    .NavContainer {
        padding: 0 !important;
        margin: 0;
    }

    .IndexHeader {
        height: 70px;
        display: none;
    }


    .myNavStyle > ul {
        float: left;
        max-width: 100%;
        width: 100%;
    }


    .activeNavItem {
        display: none;
    }


    #SearchForm {
        padding-left: 0;
        padding-right: 0;
    }

    .divTopMargin {
        padding-left: 0;
        padding-right: 0;
    }

    .buttonRaise {
        min-width: 100% !important;
    }

    .modal-dialog {
        width: 85%;
    }

    .deptAddress {
        font-size: .9em;
    }

    .InspectionInfoPage {
        padding: 0;
        padding-top: 20px;
    }

    .body-content {
        padding-left: 0;
        padding-right: 0;
        box-shadow: none;
    }

    #AdditionalLinks {
        display: none;
    }

    .IndexBackground {
        height: 90px;
        display: none;
    }

    #indexBody {
        margin-top: 20px;
    }

    #FacilityResultsHeader {
        padding: 0;
        height: 220px !important;
        max-height: 220px !important;
    }

    .SearchResultsBody {
        padding: 20px 0px;
        height: 100%;
    }

    .SearchResultsTableWrapper {
        padding: 15px 0;
    }


    .myNavStyle {
        background-color: #2B3D4F;
        background-image: none;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .DataTableHeader {
        display: none;
    }

    .FacilityRecords {
        margin: 0;
    }

    .table-striped > tbody > tr > td {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .backButtonArrow {
        position: absolute;
        height: 50px;
        top: 10px;
        left: 10px;
        z-index: 1;
    }

    #searchBox {
        width: 100%;
    }

    #SearchResultsTable_length {
        display: none;
    }

    .SelectedFacLabel {
        width: 20%;
    }

    .selectedFacLabelData {
        width: 80%;
    }

    #FacilityRecords {
        background-color: white;
    }

    #SearchResultsTable_paginate {
        margin-bottom: 20px;
    }

        #SearchResultsTable_paginate > span {
            display: none;
        }

    .addInfoTile {
        padding-top: 80px;
    }

    .googleTranslateStyle {
        display: none !important;
    }

    .activeNavItem {
        display: none;
    }
}


/* Portrait and Landscape PHONE 6 PLUS PORTRAIT*/
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {

    /*LANDSCAPE*/

    #FacImage {
        height: 200px;
    }

    #indexBody {
        display: inherit;
    }

    #IndexBackground {
        height: 90px;
        display: none;
    }



    .myNavStyle {
        margin-left: 0 !important;
        float: left;
        width: 100%;
        max-width: 100%;
        background-color: #1F1E60;
        background-image: none;
    }

        .myNavStyle > ul {
            float: left;
            width: 100%;
        }

    .activeNavItem {
        display: none;
    }

    #aboutWrapper {
        margin-top: 20px;
    }

    .body-content {
        height: 100%;
        padding-bottom: 20px;
        padding-top: 10px;
    }

    #EntirePageBody {
        padding-bottom: 20px;
    }

    .navAdditionalLinks {
        display: none !important;
    }

    .smNavDeptInfo {
        display: inline-block;
        padding: 4px;
    }


    #FacilityResultsHeader {
        padding: 0;
    }

    .SearchResultsBody {
        padding: 20px 0px;
        height: 100%;
    }

    .SearchResultsTableWrapper {
        padding: 15px 0;
    }

    .DataTableHeader {
        display: none;
    }

    .FacilityRecords {
        margin: 0;
    }


    .table-striped > tbody > tr > td {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .backButtonArrow {
        position: absolute;
        height: 50px;
        top: 10px;
        left: 10px;
        z-index: 1;
    }

    #facilityWrapper {
        height: 420px;
    }

    #SearchResultsTable_length {
        display: none;
    }

    #searchBox {
        width: 100%;
    }

    #FacilityRecords {
        background-color: white;
    }

    #SearchResultsTable_paginate {
        margin-bottom: 20px;
    }

        #SearchResultsTable_paginate > span {
            display: none;
        }

    .addInfoTile {
        padding-top: 80px;
    }

    .activeNavItem {
        display: none;
    }
}

/* Portrait  IPHONE 6 PLUS*/
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {


    html {
        background-color: white;
    }

    .searchHeader {
        background-size: cover;
    }

    #AdditionalLinks {
        display: none;
    }

    #centerContent {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .body-content {
        height: 100%;
        padding-bottom: 20px;
    }

    .IndexHeader {
        height: 90px;
    }

    #CountyLogo {
        height: 110px;
        top: -7px;
        left: 0;
        opacity: .3;
        position: absolute;
    }

        #CountyLogo > img {
            height: 100%;
        }

    .deptTitle {
        font-size: 20px;
        margin-top: 15px;
        text-align: left;
        padding-left: 20px;
    }

    .programTitle {
        font-size: 20px;
        text-align: left;
        padding-left: 20px;
    }

     #mainBodyContent {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 10px;
    }

    .icon-bar {
        background-color: white;
    }


    #aboutWrapper {
        margin-top: 0;
    }

    .navAdditionalLinks {
        display: inline-block !important;
    }

    #FacilityResultsHeader {
        padding: 0;
    }

    .SearchResultsBody {
        padding: 20px 0px;
        height: 100%;
    }

    .SearchResultsTableWrapper {
        padding: 15px 0;
    }

    .myNavStyle {
        background-color: #2B3D4F;
        background-image: none;
        background-repeat: no-repeat;
        background-size: cover;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .DataTableHeader {
        display: none;
    }

    .FacilityRecords {
        margin: 0;
    }

    .table-striped > tbody > tr > td {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .backButtonArrow {
        position: absolute;
        height: 50px;
        top: 10px;
        left: 10px;
        z-index: 1;
    }

    #FacilityRecordsTable_length {
        display: none;
    }

    .simpleBackBtn {
        left: 10px;
        top: 10px;
        display: inline-block;
    }

    #FacilityRecords {
        background-color: white;
    }

    #SearchResultsTable_paginate {
        margin-bottom: 20px;
    }

    .addInfoTile {
        padding-top: 80px;
    }

    .activeNavItem {
        display: none;
    }
}


/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {

    .body-content {
        padding-bottom: 20px;
        height: 100%;
    }

    .navAdditionalLinks {
        display: none !important;
    }

    #facilityWrapper {
        margin-top: 10px;
    }
}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {

    #facilityWrapper {
        margin-top: 10px;
    }

    #FacImageBg {
        width: 90%;
        margin: 20px 10px;
    }

    #AdditionalLinks {
        padding-left: 15px;
    }

    .AdLinkHeader {
        min-height: 140px;
        height: auto;
        margin-bottom: 20px;
    }

    .AdLinks > ul > li {
        width: 100%;
        display: inline-block;
        float: left;
    }

    .body-content {
        padding-bottom: 20px;
        height: 100%;
    }

    .navAdditionalLinks {
        display: none !important;
    }

    .SearchResultsBody {
        padding: 20px 0px;
        height: 100%;
    }

    #FacilityResultsHeader {
        height: 400px !important;
        max-height: 400px !important;
    }

        #FacilityResultsHeader > div {
            height: 200px !important;
            max-height: 200px !important;
        }

    #FacImage {
        height: 200px;
        max-height: 200px;
    }
}


/*APPLE WATCH*/
/*@media
  (max-device-width: 42mm)
  and (min-device-width: 38mm) { 

}*/



/*custom media query*/
@media only screen and (min-device-width: 400px) and (max-device-width: 768px) {
    .subHeadingSelectFac {
        margin-top: 60px;
    }
}
