body {
    background-color: #f8f9fa;
    font-family: Rubik, sans-serif;
}

#navPanel {
    padding: 24px 0 12px 0;
    margin-bottom: 180px;
}

.logo {
    margin-left: 12px;
    color: #f3f6f9;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.25px;
}

.logo span {
    font-size: 16px;
    font-weight: 500;
    color: #ffb773;
}

#topSection {
    background-color: #5e6768;
    background-image: url('/background.jpg');
    background-size: 100% auto;
    background-position: center top;
}

.slogan {
    padding: 0px 160px 24px 40px;
    font-size: 38px;
    line-height: 48px;
    color: #f3f6f9;
    font-weight: 500;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 1.0);
}

#searchForm {
    margin: 0 16px 300px 16px;
    background-color: #f8f9fa;
    box-shadow: 0 15px 25px hsla(0, 0%, 0%, .15), 0 5px 10px hsla(0, 0%, 0%, .5);
    border-top: 3px solid #ff7a00;
    border-radius: 8px;
    padding: 24px;
}

@media only screen and (min-width: 769px) {
    #searchForm .inside-col {
        padding-right: 0;
    }
}

.service-selectror-container {
    position: relative;
}

.service-selectror, .zip-selector {
    -webkit-appearance: none;
    background-color: #fff;
    border: 1px solid #ccd4db;
    border-radius: 4px;
    padding: 8px;
    color: #404b59;
    box-shadow: inset 0 2px 2px hsla(0, 0%, 0%, .07);
    width: 100%;
}

.service-selectror {
    cursor: pointer;
    background-image: url('/down_arrow.png');
    background-repeat: no-repeat;
    background-size: 20px 14px;
    background-position: right 8px center;
}

.service-selectror-value {
    white-space: nowrap;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to left, transparent, transparent 24px, rgba(0, 0, 0, 1.0) 42px);
}

.service-selectror-step {
    background-color: white;
    display: inline-block;
    color: #0b4973;
    padding: 2px 10px;
    border-radius: 100px;
    font-weight: 500;
    margin-right: 8px;
}

.placeholder {
    color: #757575;
}

.zip-selector::placeholder {
    color: #757575;
    opacity: 1;
}

.service-selectror span {
    margin: 0 4px 0 4px;
    color: #929fb0;
}

.service-selectror-options {
    display: none;
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 265px;
    background-color: #6e7a89;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 15px 25px hsla(0, 0%, 0%, .15), 0 5px 10px hsla(0, 0%, 0%, .5);
    overflow-y: scroll;
}

.service-selectror-options .category_option {
    padding: 8px;
    cursor: pointer;
}

.service-selectror-options .selected_category {
    padding: 8px;
    background-color: #0b4973;
}

.service-selectror-options .back {
    color: #afbecc;
}

@media only screen and (min-width: 769px) {
    .service-selectror-options .category_option:hover {
        background-color: #d5dde5;
        color: #404b59;
    }
}

button {
    background-color: #ff7a00;
    color: white;
    border-style: none;
    border-radius: 4px;
    padding: 8px;
    width: 100%;
    text-transform: uppercase;
    box-shadow: 0 1px 3px hsla(0, 0%, 0%, .12), 0 1px 2px hsla(0, 0%, 0%, .24);
    font-weight: 500;
    letter-spacing: 0.5px;
}

button:hover {
    background-color: #e66300;
}

input:focus, button:focus {
    outline: 0;
}

#searchResultsContainer {
    display: none;
}

#searchResultsContainer.text-content {
    color: #404b59;
    margin-top: 0 !important;
}

#searchResultsContainer.text-content h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

#searchResultsContainer.text-content h2 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
}

#searchResultsContainer.text-content p:last-of-type {
    margin-bottom: 0;
}

#howItWorks {
    margin-top: 64px;
    margin-bottom: 64px;
    color: #404b59;
    font-size: 18px;
}

#howItWorks .headline {
    font-size: 32px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 32px;
}

#howItWorks .row div {
    text-align: center;
}

#howItWorks .step {
    color: #f8f9fa;
    background-color: #afbecc;
    width: 54px;
    height: 54px;
    border-radius: 1000px;
    font-size: 37px;
    font-weight: 400;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

#howItWorks .one {
    padding-right: 2px;
}

#footer {
    background-color: #eff2f4;
    color: #929fb0;
    border-top: 1px solid #dce4eb;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 14px;
    font-weight: 300;
}

#footer a {
    color: #929fb0;
}

#footer a:hover {
    color: #6e7a89;
}

body.search-results {
    background-color: #6e7a89;
    background-image: linear-gradient(to bottom, #37404d, #404b59 32px, #6e7a89 480px);
    background-repeat: no-repeat;
}

body.search-results #navPanel {
    text-align: center;
    margin-bottom: 8px;
}

body.search-results .logo {
    color: #fff;
    margin-left: 0;
}

body.search-results #topSection {
    background-color: transparent;
    background-image: none;
}

body.search-results .slogan {
    display: none;
}

body.search-results #searchForm {
    margin-bottom: 0;
}

body.search-results #searchResultsContainer {
    display: block;
    margin: 24px 16px 64px 16px;
    background-color: #fff;
    box-shadow: 0 15px 25px hsla(0, 0%, 0%, .15), 0 5px 10px hsla(0, 0%, 0%, .5);
    border-radius: 8px;
    padding: 24px;
}

#searchStatus {
    display: none;
    color: #056909;
    background-color: #b1e6b5;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 32px;
}

#searchStatus.not-found {
    color: #690705;
    background-color: #e6b7b1;
}

#sadRobot {
    text-align: center;
    margin-bottom: 32px;
    margin-top: 48px;
}

#sadRobot img {
    width: 180px;
    border-style: none;
}

#spinner {
    /*display: none;*/
    text-align: center;
}

.pro {
    display: none;
    padding-bottom: 8px;
}

.pro:not(:last-child) {
    border-bottom: 1px solid #e1e7ec;
    margin-bottom: 32px;
    padding-bottom: 32px;
}

.pro .phone {
    float: right;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #18a31d;
    margin-left: 24px;
    margin-bottom: 24px;
}

.pro .business-name {
    font-size: 22px;
    text-transform: uppercase;
    color: #404b59;
    font-weight: 500;
    margin-bottom: 4px;
}

.pro .location {
    margin-bottom: 4px;
}

.pro .hours {
    color: #6e7a89;
    font-weight: 300;
}

.pro .call-button {
    display: none;
    margin-top: 8px;
    padding: 8px 16px 8px 16px;
    background-color: #18a31d;
    border-radius: 4px;
    box-shadow: 0 1px 3px hsla(0, 0%, 0%, .12), 0 1px 2px hsla(0, 0%, 0%, .24);
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.pro div.callouts {
    margin-top: 4px;
}

.pro div.callouts span {
    background-color: #e9f0f5;
    color: #0b4973;
    display: inline-block;
    border-radius: 4px;
    padding: 2px 8px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 400;
}

body.search-results #howItWorks {
    display: none;
}

body.search-results #footer {
    background-color: inherit;
    border-top: 1px solid #798390;
    color: #929fb0;
}

body.search-results #footer a:hover {
    color: #afbecc;
}

@media only screen and (min-width: 1680px) {
    #topSection {
        background-position: center center;
    }
}

@media only screen and (max-width: 1300px) {
    #topSection {
        background-size: auto 120%;
        background-position: right top;
    }

    .slogan {
        padding-right: 64px;
        font-size: 34px;
        line-height: 43px;

    }
}

@media only screen and (max-width: 768px) {

    #topSection {
        background-size: auto 120%;
    }

    #navPanel {
        padding: 12px 0 12px 0;
        margin-bottom: 32px;
    }

    #navPanel .logo {
        margin-left: 0;
    }

    .slogan {
        padding-left: 24px;
        padding-right: 24px;
        font-size: 28px;
        line-height: 38px;
        font-weight: 700;
        text-align: center;

    }

    #searchForm {
        margin: 0 8px 72px 8px;
        padding: 16px;
    }

    #howItWorks .step {
        margin-top: 32px;
    }

    #howItWorks .one {
        margin-top: 0;
    }

    #footer a {
        display: inline-block;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    body.search-results #searchResultsContainer {
        margin: 24px 8px 32px 8px;
        padding: 16px;
    }

    body.search-results #navPanel {
        margin-bottom: 0;
    }

    .service-selectror, .zip-selector {
        margin-bottom: 16px;
    }

}

@media only screen and (max-width: 544px) {

    #topSection {
        background-size: auto 100%;
    }

    .pro .call-button {
        display: inline-block;
    }

    .pro .business-name {
        font-size: 18px;
    }

    .pro .phone {
        display: none;
    }

    @supports (-webkit-overflow-scrolling: touch) {
        * {
            cursor: pointer;
        }
    }

}


