.layout-top-navigation, thead {
    background-color: #007a33;
}

.faq {
    margin-bottom: 40px;
}

.faq a {
    display: block;
    margin-top: 20px;
}

.faq-link-group {
    margin-bottom: 40px;
}

div.faq {
    margin-top:30px;
}

div.faq-link-group {
    padding-bottom: 30px;
}

table.list tr th a {
    color: #fff;
}

table.list tr th a img {
    margin-bottom: 2px;
    margin-left: 4px;
}

a.csv img {
    margin-bottom: 4px;
    margin-left: 4px;
}

.paginator-rows-per-page select {
    width: 105px;
    margin-left: 16px;
}

.paginator-page-selector a {
    margin-right: 4px;
}

div.list-table {
    margin-top: 20px;
    font-size: .8rem;
}

div.list-table thead th, thead td, tfoot th, tfoot td {
    padding: .25rem .5rem .25rem .5rem !important;
    font-weight: 600;
}

tbody th, tbody td {
    padding: 0.25rem .5rem 0.25rem !important;
}

#favorites-list {
    list-style: none;
    padding-left: 0px;
}

#favorites-list a:first-of-type {
    padding-left: 16px;
    padding-right: 0px;
    display: inline;
}

#favorites-list a:last-of-type {
    font-size: 12px;
    padding-left: 8px;
    display: inline;
}

#favorites-list img {
    margin-bottom: 0px;
}

#violations-heading th {
    background-color: #007a33;
    color: #fff;
}

.fieldset-fields {
    /* width: 300px; */
}

.fieldset-legend {
    /* background-color: #007a33 !important; */
    background-color: #A0A0A0 !important;
    color: #fff !important;
    font-family: Lato, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased !important;
    font-weight: 600 !important;
}

/*.fieldset-searchbyroute .fieldset-legend {
    background-color: #007a33 !important;
    color: #fff !important;
    font-family: Lato, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased !important;
    font-weight: 600 !important;
}*/

#provider {
    /* margin-bottom: 10px; */
}
#provider img {
    /* margin-bottom: 0px; */
}

#form-field-element-text-from {
    width: 97% !important;
    margin-bottom: 10px;
}

/*#form-field-element-text-to {
    width: 97% !important;
}*/

/*.fieldset-searchbycommunity  .fieldset-legend {
    background-color: #007a33 !important;
    color: #fff !important;
    font-family: Lato, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased !important;
    font-weight: 600 !important;
}*/


#form-field-element-text-to, #form-field-element-select-community, #form-field-element-select-map_radius, #form-field-element-text-narrow_down, #form-field-element-select-age_of_child_month, #form-field-element-select-age_of_child_year {
    width: 97% !important;
}


.breadcrumbs li {
    display: inline;
}

.breadcrumbs li:before {
    font-family: 'gnl-ui-icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    padding-left: 0.125rem;
    padding-right: 0.0625rem;
    position: relative;
    top: 2px;
    font-size: 1rem;
}

dl.form-display-only {
    border-top: none;
}

dl.form-display-only dt.form-field-display-label {
        border-bottom: none;
}

dl.form-display-only dd.form-field-display-value {
    border-bottom: none;
}

#image-col-exp {
    margin-bottom: 0px;
    margin-top: 4px;
}

.paginator-rows-per-page {
    margin-bottom: .5rem;
}




/* map CSS was here */



#violations_table tr {
    font-size: .8rem;
}

#violations_table tr.heading {
    padding-bottom: 30px;
    display: block;
}

#violations_table tr.heading td {
padding: 0px !important;
}

#violations_table td:nth-of-type(1) {
    white-space: nowrap;
}

#violations-message {
    margin-top: 40px;
}


/* Responsive Tables */

@media only screen and (max-width: 1024px)  {
    
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr, th {
        display: none;
    }

    tr {
        margin: 0 0 1rem 0;
    }

    /*tr:nth-child(odd) {
        background-color: darkgrey;
    }*/

    #violations_table tr.heading {
        padding-left: 0px !important;
    }
    
    #violations_table tr.heading td::before {
       content: none !important;
    }

    #violations_table tr.tableheading {
        display: none !important;
    }

    tr {
        border: none;
        border-bottom: 1px solid #D9D9D6 !important;
        position: relative;
        padding-left: 50%;
        padding-bottom: 20px;
    }

    td:before {
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    /* centerswithviolations */
    #centerswithviolations_table td:nth-of-type(1):before {content: "Issued";}
    #centerswithviolations_table td:nth-of-type(2):before {content: "Legislative Reference";}
    #centerswithviolations_table td:nth-of-type(3):before {content: "Description";}
    #centerswithviolations_table td:nth-of-type(4):before {content: "Compliance Deadline";}
    #centerswithviolations_table td:nth-of-type(5):before {content: "Compliance Met";}
    #centerswithviolations_table td:nth-of-type(6):before {content: "Centre Name";}
    #centerswithviolations_table td:nth-of-type(7):before {content: "Community";}

    /* childcarecentresbyname */
    #childcarecentresbyname_table td:nth-of-type(1):before {content: "Name";}
    #childcarecentresbyname_table td:nth-of-type(2):before {content: "Community";}
    #childcarecentresbyname_table td:nth-of-type(3):before {content: "Contact Name";}
    #childcarecentresbyname_table td:nth-of-type(4):before {content: "Contact";}
    #childcarecentresbyname_table td:nth-of-type(5):before {content: "Street Address";}
    #childcarecentresbyname_table td:nth-of-type(6):before {content: "Operating Grant";}
    #childcarecentresbyname_table td:nth-of-type(7):before {content: "\0000a0";}

    /* familychildcareagency */
    #familychildcareagency_table td:nth-of-type(1):before {content: "Name";}
    #familychildcareagency_table td:nth-of-type(2):before {content: "Community";}
    #familychildcareagency_table td:nth-of-type(3):before {content: "Contact";}
    #familychildcareagency_table td:nth-of-type(4):before {content: "Address";}

    /* regionaloffices */
    #regionaloffices_table td:nth-of-type(1):before {content: "Name";}
    #regionaloffices_table td:nth-of-type(2):before {content: "Community";}
    #regionaloffices_table td:nth-of-type(3):before {content: "Address";}
    #regionaloffices_table td:nth-of-type(4):before {content: "Phone";}
    #regionaloffices_table td:nth-of-type(5):before {content: "Email";}

    /* familyresourcecentresbyname */
    #familyresourcecentresbyname_table td:nth-of-type(1):before {content: "Name";}
    #familyresourcecentresbyname_table td:nth-of-type(2):before {content: "Community";}
    #familyresourcecentresbyname_table td:nth-of-type(3):before {content: "Contact";}
    #familyresourcecentresbyname_table td:nth-of-type(4):before {content: "Address";}
    #familyresourcecentresbyname_table td:nth-of-type(5):before {content: "Mailing Address";}
    #familyresourcecentresbyname_table td:nth-of-type(6):before {content: "Phone";}
    #familyresourcecentresbyname_table td:nth-of-type(7):before {content: "Email";}

    /* childcareavailability */
    #childcareavailability_table td:nth-of-type(1):before {content: "Location";}
    #childcareavailability_table td:nth-of-type(2):before {content: "Details";}
    #childcareavailability_table td:nth-of-type(3):before {content: "Service Type";}
    #childcareavailability_table td:nth-of-type(4):before {content: "Date Posted";}
    #childcareavailability_table td:nth-of-type(5):before {content: "Email";}

    /* violations */
    #violations_table td:nth-of-type(1):before {content: "Issued:";}
    #violations_table td:nth-of-type(2):before {content: "Legislative Reference:";}
    #violations_table td:nth-of-type(3):before {content: "Description:";}
    #violations_table td:nth-of-type(4):before {content: "Compliance Deadline:";}
    #violations_table td:nth-of-type(5):before {content: "Compliance Met:";}

}

/* map and filters [2022-03-06] */

#map-canvas {
	width: 50% !important;
}

#filter-options {
	width: 50% !important;
}

#form-field-form-field-element-checkbox-show_frc {
    height: unset !important;
	overflow: unset !important;
}

#form-field-form-field-element-checkbox-show_satellite {
	overflow: unset !important;
	margin-left: 0 !important;
}

/* table fix for home based child care */

#hbcc-table {
    margin-top: -130px !important;
}