/**
 *  Locations
 */

.locations {
    padding: 100px 0;
    position: relative;
    margin: 0;
    background-color: white;
    display: block;
}

.location_bg {
    width: 100%;
    height: 100%;
    text-align: center;
}

.location_bg img {
    object-fit: fill;
}

.location-container {
    display: block;
    position: absolute;
    top: 30%;
    width: 100%;
}

.location-container-content {
    position: relative;
    width: 1366px;
    display: block;
    margin: 0 auto;
}

.location-header {
    margin-bottom: 40px;
}

.location-details-holder {
    position: relative;
    width: 1366px;
    display: flex;
}

.location-search-info {
    width: 50%;
}

.location-number-holder {
    display: block;
    width: 120px;
    height: 120px;
    border-right: 3px solid #f7cb40;
    text-align: center;
    float: left;
    margin-right: 10px;
    padding-top: 0px;
}

.location-number {
    font-size: 50px;
    font-weight: 800;
    color: #0c82c8;
    line-height: 1em;
}

.location-label {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #85878a;
}

.location-details {
    display: block;
    float: left;
    width: 80%;
}

.location-details p {
    font-size: 20px;
    color: #85878a;
    line-height: 1.5em;
    margin: 0;
}

.location-search-form {
    display: block;
    text-align: right;
    width: 50%;
}

.search-form-action {
    display: block;
    text-align: right;
}

.search-form-control-holder {
    text-align: left;
    flex-grow: 1;
}

.inner-icon {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border: 1px solid rgba( 44, 72, 114, 0.13 );
    box-shadow: 0px 0px 40px rgba( 44, 72, 114, 0.2 );
    width: 500px;
    margin: 0 auto;
    justify-content: space-between;
}

.inner-icon i {
    position: absolute;
    top: 29px;
    left: 18px;
    display: block;
    font-size: 21px;
}

.search-form-control,
.search-form-control:focus {
    border: none;
    padding: 30px 10px 30px 45px;
    font-size: 14px;
    width: 100%;
}

.search-button {
    border: none;
    padding: 20px;
    background-color: #f7cb40;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    width: 25%;
    min-width: 110px;
}

.location-search-form input#loc::placeholder {
    color: #85878a;
}

@media ( max-width: 920px ) {
    .locations {
        padding: 0;
        position: relative;
        margin: 0;
        background-color: white;
        display: block;
        min-height: 400px;
    }

    .location_bg {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .location_bg img {
        object-fit: none;
        object-position: 60% 40%;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .location-container {
        display: block;
        top: 0;
        position: absolute;
        width: 100%;
        padding-bottom: 50px;
    }

    .location-header h2 {
        font-size: 35px;
        font-weight: 800;
    }

    .location-container-content {
        position: relative;
        width: 100%;
        display: block;
        margin: 0 auto;
        padding: 0 30px 62px;
    }

    .location-details-holder {
        position: relative;
        width: 100%;
        display: block;
    }

    .location-search-info {
        width: 100%;
        margin-bottom: 40px;
        display: flex;
    }

    .location-search-form {
        display: block;
        text-align: right;
        width: 100%;
    }

    .search-form-action {
        display: block;
        position: relative;
    }

    .inner-icon {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        box-shadow: 0 3px 10px rgba( 0, 0, 0, 0.2 );
        width: 100%;
        margin: 0 auto;
        justify-content: space-between;
    }

    .search-form-control-holder {
        flex-grow: 1;
        text-align: left;
    }

    .search-form-control,
    .search-form-control:focus {
        border: none;
        padding: 30px 10px 30px 40px;
        font-size: 16px;
        width: 100%;
        text-transform: capitalize;
    }

    .search-button {
        flex-grow: 0;
        width: 20%;
    }
}

@media ( max-width: 600px ) {
    .locations {
        padding: 0;
        position: relative;
        margin: 0;
        background-color: white;
        display: block;
        min-height: 230px;
    }

    .location-header {
        margin-bottom: 17px;
    }

    .location_bg {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .location_bg img {
        object-fit: cover;
        width: 127%;
        height: 141%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .location-search-info {
        display: none;
    }

    .location-header h2 {
        font-size: 30px;
        font-weight: 800;
        text-align: center;
    }

    .inner-icon {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        box-shadow: 0 3px 10px rgba( 0, 0, 0, 0.2 );
        width: 100%;
        margin: 0 auto;
    }

    .search-form-control-holder {
        text-align: left;
        width: 60%;
        float: left;
    }

    .inner-icon i {
        position: absolute;
        top: 18px;
        left: 18px;
        display: block;
        font-size: 23px;
    }

    .search-form-control,
    .search-form-control:focus {
        border: none;
        padding: 18px 10px 22px 46px;
        font-size: 16px;
        width: 100%;
    }

    .search-button {
        flex-grow: 0;
        width: 30%;
    }
}
