/*
 * these changes are to a global component so
 * we have to mod them here instead of in 
 * styles.css
*/
#interior_content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#product_specific_nav_tabs {
    width: 100%;
}
#product_specific_nav_tabs .coda-nav ul li a.tab_8.current,
#product_specific_nav_tabs .coda-nav ul li a.tab_5.current {
    background: initial;
    border-bottom: #007e44 2px solid;
}
#product_specific_nav_tabs .coda-nav ul li a.tab_8,
#product_specific_nav_tabs .coda-nav ul li a.tab_5 {
    font-size: 16px;
    padding-bottom: 0px;
    margin-left: 0;
}
#product_specific_nav_tabs .coda-nav ul li a {
    background: initial;
    color: #464646;
    float: left;
    font-size: 15px;
    height: 22px;
    padding-top: 10px;
    position: relative;
    text-align: center;
}
#product_specific_nav_tabs .coda-nav ul li a.tab_5 {
    width: 180px;
}
div#coda-nav-1 {
    border-bottom: #ccc 1px solid;
}
#product_block_left_wrap {
    padding: 0;
}
#slate_content {
    padding: 48px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    width: 100%;
}
#where_block_footer_wrap {
    height: 0px;
}
/* done with global components */

/*************************************/
/* search by zip code or city        */
/*************************************/
#where_block {
    background: none;
    float: none;
    margin: 0;
    width: 100%;
}
div#where_content_area {
    width: 100%;
}
#where_block_footer_wrap {
    background: initial;
}

/* page controls */
div.controls_container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

div.wtb_copy_top {
    display: flex;
    justify-content: center;
    padding: 50px 0px 40px;
    width: 100%;
}
div.wtb_copy_top p {
    text-align: center;
    font-size: 16px;
    font-weight: lighter;
    line-height: 25px;
    width: 56%;
}
div#zip_code {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 56px;
    width: 100%;
}
div.find_container {
    width: 510px;
}
div.find_container p.find_text,
div.search_distance p.find_radius,
div.where_submit p.find_radius {
    font-size: 14px;
    margin-bottom: 5px;
}
div.find_textbox {
    align-items: center;
    border: #d0d0d0 1px solid;
    display: flex;
    height: 54px;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    width: 96%;
}
svg.svg-inline--fa.fa-map-marker-alt.fa-w-12 {
    color: #969696;
    width: 12px;
}
.wtb_txtfind {
    border: none;
    font-size: 16px;
    height: 25px;
    width: 94%;
}

div.search_distance {
    width: 302px;
}
div.search_ddl {
    align-items: center;
    border: #d0d0d0 1px solid;
    display: flex;
    height: 54px;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    width: 90%;
}
div.find_radius {
    width: 100%;
}
.wtb_ddl_radius {
    font-size: 16px;
    box-sizing: border-box;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #333;
    flex-grow: 1;
    font-weight: 100;
    height: 54px;
}
div.where_submit {
    width: 116px;
}
input.find {
    background: rgb(23, 127, 61);
    border-style: none;
    border-color: rgb(23, 127, 61);
    color: white;
    cursor: pointer;
    font: 16px arial, sans-serif;
    font-weight: 100;
    height: 54px;
    width: 116px;
    text-shadow: none;
}

/* filters */
#filter {
    display: flex;
    flex-direction: column;
    height: 100px;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}
#filter h3 {
    color: #333;
}
#contractor_filters {
    display: flex;
    align-items: flex-start;
}
span.filter_chkbox {
    font-size: 16px;
    width: 300px;
}
span.filter_chkbox input[type="checkbox"] {
    height: 17px;
    margin-right: 10px;
    width: 19px;
    border: 2px solid #d0d0d0;
    border-radius: 2px;
    align-self: center;
}
span.filter_chkbox label {
    color: #333;
    align-self: center;
    font-weight: 100;
    margin-bottom: 5px;
}

/* location list */
#location_list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 385px;
}
.map_locations {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    float: none;
    height: auto;
    margin: 0px 0px 0px 15px;
    padding: 0;
    width: 100%;
}
.store_address {
    width: 100%;
}
div.store_address h5 {
    margin-bottom: 6px;
}
div.store_address h5 span {
    font-size: 16px;
}
div.city_st_zip {
    font-size: 16px;
    margin-bottom: 20px;
}
div.store_address div.store_benefits {
    margin-bottom: 20px;
}
div.store_benefits span {
    background-color: #e8e8e8;
    border-radius: 5px;
    color: #333333;
    padding: 6px;
}
div.dealer_inquiry {
    float: none;
    margin: 0px 0px 20px 0px;
    padding: 0;
    width: 130px;
}
div.dealer_inquiry a {
    align-items: center;
    background-color: #007e44;
    color: #ffffff;
    display: flex;
    font-size: medium;
    height: 30px;
    justify-content: center;
    width: 100%;
}
/* list my company here */
span.contractor_link_underline {
    color: #3f7ab7;
    font-size: 16px;
    margin: 10px 0;
    text-decoration: none;
}

/*************************************/
/* browse by state, city, contractor */
/*************************************/
.state_city_view,
.contractors_in_city {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}
a.wtb_back {
    color: #000;
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 30px;
}
.state_city_view h2,
.contractors_in_city h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 27px;
}
div.listing {
    margin: 10px 0px 18px;
}
div.listing a {
    font-size: 16px;
}
div.contractors_in_city h2 {
    margin-bottom: 30px;
}
div.contractor_list_view {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
div.contractor_card {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    justify-content: flex-start;
    margin-bottom: 40px;
    margin-right: 20px;
    width: 30%;
}
.contractor_card_company {
    font-weight: bold;
    margin-bottom: 2px;
}
.contractor_list_view_city_state {
    margin-bottom: 15px;
}
div.store_benefits_list_view {
    margin-bottom: 15px;
}
div.store_benefits_list_view span {
    background-color: #e8e8e8;
    border-radius: 5px;
    color: #333333;
    padding: 6px;
}
/* done with browse by state city zip */

/* bottom_container */
div.bottom_container {
    display: flex;
    flex-direction: column;
    padding: 40px 0px 0;
}
div.bottom_container h3 {
    font-size: 24px;
    margin: 28px 0px 48px 0px;
    width: 100%;
}
div.bottom_cards {
    display: flex;
    height: 200px;
    padding: 0px;
    width: 100%;
}
div.bottom_card {
    display: flex;
    flex-direction: column;
    width: 33%;
}
div.bottom_card h4 {
    color: black;
    font-style: normal;
    font-weight: bold;
    width: 100%;
}
div.bottom_card h4 a {
    color: black;
}
div.bottom_card p {
    font-size: 15px;
    font-weight: 100;
    line-height: 25px;
    width: 90%;
}

/********************/
/* get a quote page */
/********************/
a.quote_back {
    color: #000;
    cursor: pointer;
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 30px;
}
div.get_a_quote {
    display: flex;
    margin-bottom: 60px;
    width: 100%;
}
div.contractor_info {
    font-size: 16px;
    line-height: 24px;
    width: 48%;
}
div.contractor_info h2 {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    margin-bottom: 0px;
}
div.address_city_state {
    display: flex;
    flex-direction: column;
}
div.verified p {
    color: rgb(23, 127, 61);
    font-size: 12px;
    font-weight: bold;
}
div.city_state_zip {
    margin: 0px 0px 10px;
}
div.phone_number,
div.store_benefits {
    margin: 0px 0px 10px 0px;
}
div.phone_number span a {
    font-size: 16px;
    line-height: 20px;
}
div.web_site {
    margin: 0px 0px 20px 0px;
}
div[id$="companyOverview"] {
    margin-top: 20px;
}
div[id$="companyOverview"] p {
    line-height: 20px;
    margin-top: 10px;
    width: 80%;
}
div[id$="companyOverview2"] {
    display: none;
}
div.quote_form {
    width: 50%;
}
#EmailForm h2 {
    font-size: 24px;
    font-weight: bold;
}
.control_with_label {
    margin-bottom: 10px;
    width: 100%;
}
.control_with_label p {
    margin-bottom: 0;
}
.control_with_label input {
    width: 100%;
}
#EmailForm input {
    background-color: inherit;
    padding: 10px 8px;
}
#EmailForm textarea {
    background-color: inherit;
    padding: 8px;
}
#EmailForm input.send_form {
    background: rgb(23, 127, 61);
    border-style: outset;
    border-color: rgb(23, 127, 61);
    color: white;
    font: 16px arial, sans-serif;
    font-weight: 100;
    height: 50px;
    width: 200px;
    text-shadow: none;
}
div.submit_response {
    display: none;
    height: 300px;
    width: 60%;
}
div.success_container {
    background-color: #e8e8e8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
/* end get a quote page */

@media (max-width: 991px) {
    /* reset the widths to mobile */
    div#interior_content {
        width: 100%;
    }
    #product_specific_nav_tabs {
        padding: 0px 18px;
        width: 91%;
    }

    div#where_block {
        width: 100%;
    }

    div#where_block_footer_wrap {
        width: 100%;
    }

    /* remove the map */
    div#map-canvas {
        display: none !important;
    }
    /* remove the fall back map too */
    div#slate_content img {
        display: none;
    }

    /* copy at the top */
    div.wtb_copy_top {
        flex-direction: row;
        width: 100%;
    }
    div.wtb_copy_top p {
        margin: 0px 18px;
        text-align: left;
        width: 100%;
    }

    /* search controls */
    div.controls_container {
        margin: 0px 18px;
    }
    div#zip_code {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    div.find_container,
    div.search_distance,
    div.where_submit {
        width: 100%;
    }
    div.find_container,
    div.search_distance {
        margin-bottom: 20px;
    }
    div.find_textbox {
        justify-content: ;
        margin: 0;
        width: unset;
    }
    .wtb_txtfind {
        margin-left: 10px;
    }
    div.search_ddl {
        width: unset;
    }
    input[type="submit"] {
        width: 100%;
    }

    /* location list */
    #location_list {
        height: unset;
        margin: 0px 18px;
        overflow-y: unset;
        overflow-x: unset;
        width: unset;
    }
    .map_locations {
        margin: 0;
    }
    span.contractor_link_underline {
        margin-left: 18px;
    }

    /* browse by state, city, contractor */
    .state_city_view,
    .contractors_in_city {
        margin-left: 18px;
    }
    div.listings {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
    }
    div.listing {
        align-items: center;
        display: flex;
        float: none;
        height: 64px;
        margin: 0;
        width: 100%;
    }
    div.listing a {
        align-items: center;
        display: flex;
        font-size: 20px;
        height: 100%;
        width: 100%;
    }
    div.contractor_card {
        border-left: 0;
        border-bottom: #e8e8e8 1px solid;
        margin-right: 18px;
        width: 100%;
    }
    div.contractor_card:last-child {
        border-bottom: 0;
        margin-bottom: 0;
    }
    div.contractor_card:last-child div.dealer_inquiry {
        margin-bottom: 0;
    }
    /* bottom cards */
    div.bottom_container {
        margin-top: 60px;
        padding: 0px 18px;
    }

    div.bottom_container h3 {
        margin-left: 0px;
    }
    div.bottom_cards {
        flex-direction: column;
        height: auto;
        padding-left: 0px;
        width: 100%;
    }
    div.bottom_card {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    div.bottom_card:last-child {
        margin-bottom: 0;
    }
    /********************/
    /* get a quote page */
    /********************/
    div.get_a_quote {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: auto;
        margin-left: 18px;
        margin-right: 18px;
    }
    a.quote_back {
        margin-left: 18px;
    }
    div.contractor_info {
        width: 100%;
    }
    div.quote_form {
        margin: 20px 0px;
        width: 100%;
    }
    div.submit_response {
        height: 200px;
        margin: 20px 0px;
        width: 100%;
    }
    #EmailForm input.send_form {
        width: 100%;
    }
    div[id$="companyOverview"] {
        display: none;
    }
    div[id$="companyOverview2"] {
        display: block;
    }
    div[id$="companyOverview2"] p {
        width: 100%;
    }
    div[id$="companyOverview2"] h2 {
        color: #333;
        font-weight: bold;
        margin-bottom: 10px;
    }
}
