﻿@import url('https://fonts.googleapis.com/css?family=Bitter:400,400i');

/*----------------------------------- MAPS SECTION -----------------------------------*/
/* Agent Search styles */
div.locations {
    width: 100%;
    height: 600px;
}

div.locations_list {
    position: relative;
    float: left;
    width: 30%;
    height: 100%;
    overflow: auto;
}


    div.locations_list h1 {
        display: block;
        padding-left: 40px;
        margin: 25px 30px;
        background: url('../assets/images/agentSearch/maps_icon.png') top left no-repeat;
        font-size: 14pt;
        color: #333;
        min-height: 34px;
    }

    div.locations_list h2 {
        display: block;
        color: #333;
        font-size: 11pt;
        margin: 0 30px;
        border-top: 1px dotted #ccc;
        padding-top: 25px;
    }


.locations_list .location_item {
    padding: 25px 30px;
}


.locations_list .locations_container .location_item:nth-child(2n+4) {
    background: #eee8e0;
}


.locations_list .location_item .info {
    display: table-cell;
    float: left;
    width: 60%;
    height: 100%;
}

    .locations_list .location_item .info p {
        margin: 0;
        color: #2e6093;
    }



.locations_list .location_item .mapit {
    display: table-cell;
    width: 40%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    padding: 40px 0 0 40px;
}

    .locations_list .location_item .mapit a, .labelContent {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        left: 0;
        text-decoration: none;
        color: red;
        font-size: 20px;
    }


        .locations_list .location_item .mapit a p {
            margin: 0;
            color: #2e6093;
            font-size: 12pt;
            font-family: 'PT Sans', sans-serif;
            line-height: 0.8;
        }

        .locations_list .location_item .mapit a:hover p {
            color: #f28900;
        }

div.agent_search_results {
    padding-top: 30px;
}

    div.agent_search_results .location_item {
        display: block;
        overflow: auto;
        padding: 15px;
        margin: 0 10px 10px 0;
        background: rgb(245,245,245);
        background: -moz-radial-gradient(center, ellipse cover, rgba(245,245,245,1) 0%, rgba(238,238,238,1) 100%);
        background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(245,245,245,1)), color-stop(100%,rgba(238,238,238,1)));
        background: -webkit-radial-gradient(center, ellipse cover, rgba(245,245,245,1) 0%,rgba(238,238,238,1) 100%);
        background: -o-radial-gradient(center, ellipse cover, rgba(245,245,245,1) 0%,rgba(238,238,238,1) 100%);
        background: -ms-radial-gradient(center, ellipse cover, rgba(245,245,245,1) 0%,rgba(238,238,238,1) 100%);
        background: radial-gradient(ellipse at center, rgba(245,245,245,1) 0%,rgba(238,238,238,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=1 );
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

        div.agent_search_results .location_item .mapit {
            /*position: absolute;
        bottom: 15px;
        right: 30px;*/
            text-align: center;
        }


div.map {
    position: relative;
    float: left;
    height: 100%;
    width: 70%;
    background: #dfdbbd;
}

.callout {
    padding-top: 0px !important;
    padding-bottom: 10px;
}

.well {
    padding: 0px !important;
    margin-bottom: 0px !important;
}

.form.search-big {
    margin-bottom: 0px;
    margin-top: 0px;
}

.spinner-wh {
    width: 100px;
    height: 100px;
}

.help-block {
    font-size: 9pt;
    margin-top: 0;
}

#contactForm input, #contactForm select {
    margin-bottom: 0;
}

.error {
    width: 100%;
    clear: both;
    display: block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 23px;
}


.mapitBox {
    width: 22px;
    height: 40px;
    background: transparent url('../assets/images/agentSearch/spotlight-poi.png') no-repeat center;
    text-align: center;
    position: relative;
}

    .mapitBox a {
        margin-top: -10px;
        font-size: 14px;
    }

.labelContentBox {
    color: #fff;
    font-size: 12px;
    width: 14px;
    margin-top: -10px;
}


.labels {
    color: white;
    background-color: #ea4335;
    font-family: "Lucida Grande", "Arial", sans-serif;
    font-size: 12px;
    width: 14px;
    height: 15px;
    text-align: center;
    white-space: nowrap;
    margin-top: -31px !important;
    margin-left: -7px !important;
}

.labelContent {
    color: #fff;
    font-size: 12px;
    background-color: #f75850;
    width: 14px;
    margin-top: -10px;
}

div#googleSearch {
    /*width: 175px;*/
    margin-top: 10px;
    display: inline-block;
    float: right;
}


.findanagent .searchbutton {
    border-bottom-right-radius: 2rem;
    border-top-right-radius: 2rem;
}

@media (max-width: 800px) {
    div.locations_list {
        width: 48%;
    }
    div.map {
        width: 52%;
    }
    .locations_list .location_item {
        position: relative;
    }
    .locations_list .location_item .info {
        width: 100%;
        position: relative;
    }
    .location_item h3 {
        font-size: 15px;
        line-height: 1.2;
        margin-bottom: 6px;
        padding-right: 4px;
    }
    .locations_list .location_item .info p {
        font-size: 14px;
        line-height: 1.2;
    }
    .locations_list br {
        display: none;
    }
    a.agent-card-visit {
        margin-top: 4px;
        font-size: 13px;
        display: block;
        line-height: 1.3;
    }
    .locations_list .location_item .mapit {
        display: block;
        padding: 0;
        position: absolute;
        top: 5px;
        right: 0;
        width: auto;
        height: auto;
    }
    #map {
        /*height: 400px;*/
    }
}