﻿#map {
    height: 400px;
}

@media only screen and (max-width:767px) {
    #map {
        height: 400px;
    }

    #clearIcon {
        margin-right: 15px !important;
    }

    #separatorIcon {
        right: 45px !important;
    }

    #searchIcon {
        margin-right: 60px !important;
    }
}

.pac-item, .pac-item-query {
    font-size: 16px;
}

#searchContainer {
    width: 100%;
}

#searchIcon {
    color: gainsboro;
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 75px;
    text-align: right;
    z-index: 100;
    font-size: 22px;
    line-height: 1.8em;
    cursor: pointer;
}

    #searchIcon:hover {
        color: dimgray;
    }

#separatorIcon {
    position: absolute;
    right: 60px;
    top: 6px;
    border-left: 2px solid rgb(242,242,242);
    height: 26px;
}

#clearIcon {
    color: gainsboro;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    margin-right: 30px;
    text-align: right;
    z-index: 100;
    font-size: 30px;
    line-height: 1.3em;
}

    #clearIcon:hover {
        color: dimgray;
    }

#mapSearchInput {
    width: 100%;
    text-overflow: ellipsis;
    padding-right: 85px;
    border-radius: 0;
}

input#mapSearchInput::-ms-clear { /* Remove IE default X */
    display: none;
}

.pac-container {
    z-index: 10000;
}

#infoMessage {
    background-color: grey;
    font-size: 14px;
    color: white;
    display: inline-block;
    padding: 10px;
}

    #infoMessage .btn-link {
        text-decoration: underline;
    }

    #infoMessage.error {
        background-color: #b11616;
    }

#displayedAddressSection {
    background-color: grey;
    color: white;
    font-size: 14px;
    padding: 10px;
}

    #displayedAddressSection.valid {
        background-color: #196719;
    }

.valid #displayedAddress::before {
    font-family: "Font Awesome 5 Pro";
    content: "\f058";
    font-weight: 800;
    margin-right: 5px;
    font-size: 20px;
    vertical-align: -0.1em;
    color: limegreen;
    background: linear-gradient(white,white) center /64% 60% no-repeat;
}

#proceed {
    border: none;
    height: auto;
    min-width: 250px;
    box-shadow: 0px 3px 20px #777;
}

.use-nearest {
    color: #fff;
    font-weight: 900;
}

    .use-nearest:hover {
        color: #ccc;
    }

#myLocationButton {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-color: #fff;
    border: 2px solid #fff;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    color: rgb(102, 102, 102);
    padding: 0;
}

    #myLocationButton:hover {
        color: rgb(51, 51, 51);
    }

#correctAddressButton {
    color:yellow; 
    font-size: 11px;
}

#proceed.rural-address-mode {
    margin-top: 10px;
}

#infoMessage.error a {
    color: white;
    font-weight: bold
}