/*====================================== COMMON */

@import url('https://fonts.googleapis.com/css?family=Anton:100,200,300,400,500,600,700');

html,
body {
    box-sizing: border-box;
    height: 100%;
    margin: 0;
    padding: 0;
}

header {
    height: 15vh;
}

section {
    z-index: 1;
    height: 70vh;
}

footer {
    height: 15vh;
    position: relative;
    background-color: #e4420f;
    display: flex;
    justify-content: space-between;

}

.container-fluid {
    padding: 0;
}

.header-text {
    color: #e4420f;
    font-family: Anton, sans-serif
}

.header-title {
    font-size: 8vh;
    text-transform: uppercase;
    justify-content: flex-start
}

.header-moto {
    display: none
}

.navbar-nav {
    justify-content: flex-end;
    flex-direction: row;
}

#navbarMenu {
    position: absolute;
    z-index: 2;
    width: 100%
}

.navbar {
    justify-content: flex-end;
}

.fa-bars {
    color: #e4420f;
    font-size: 5vh
}

#hero-video video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#search-form {
    position: absolute;
    top: 150px;
    width: 80%;
    margin: 0 10%;
}

#search-btn {
    width: 20%;
    margin: 0;
}

.search-input-block {
    display: inline-flex;
    flex-flow: row nowrap;
    width: 100%;
    justify-content: flex-start;
}

#search-input {
    background-color: #fafafa;
    padding: 0;
    border: none;
    line-height: 3;
    text-align: center;
}

#search-btn {
    padding: 0;
    border: none;
    line-height: 2;
    width: 30%;
    margin: 0 35%;
    width: 20%;
    margin: 0;
}

.footer-media {
    width: 50%;
    text-align: left;
    line-height: 2;
    margin-left: 5px;
}

.footer-logo {
    width: 50%;
    text-align: right;
    line-height: 2;
    margin-right: 5px;
}

.footer-logo img {
    width: 40px;
    height: 40px
}

footer a {
    color: #fafafa;
    font-size: 5vh
}

.modal {
    width: 95%;
    /* height: 95%; */
}

.modal-header {
    /* border: 1px solid #0f0f0f */
}

.modal-title {
    width: 100%;
    text-transform: uppercase
}

.modal-body-map {
    /* border: 1px solid #ff0000 */
}

.modal-dialog {
    border: 2px solid #0066ff;
    margin: 0 2.5%;
    width: 95%;
}
/* #modal-block-left, .modal-block-center, .modal-block-right */

.container-fluid{
    border: 1px solid #fffb00;
}

#map {
    width: 100%;
    height: 400px;
    /* border: 1px solid #00fc22; */
    /* margin-top: 5% */
}

.modal-body-end {
    width: 100%;
    /* margin: 0 5%; */
    /* display: flex; */
    /* flex-flow: wrap; */
    /* justify-content: space-evenly; */
    /* border: 1px solid #fffb00; */
}

.modal-body-end h5 {
    flex-grow: 2;
}

.cluster {
    margin: 5%;
    text-align: center;
    line-height: 0.5;
}

.cluster p{
    font-size: medium
}
/* Results optimizing */
#map-markers{
    /* height: 150px; */
    width:100%;
    margin: 0 0 2%
}
#map-markers ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    /* height: 271px; */
    width: 200px;
    overflow-y: scroll;
}
#map-markers li {
    background-color: #fffb00;
    padding: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
#map-markers li:nth-child(odd) {
    background-color: #858206;
  }

#more {
    width: 100%;
    margin: 5px 0 0 0;
}

.map-marker {
    width: 35px;
    height: 35px;
    padding: 0;
    /* margin:0 10%; */
    /* border: 1px solid red; */
}

/* Infowindow style */
/* http://en.marnoto.com/2014/09/5-formas-de-personalizar-infowindow.html */

#infowindow-heading {
/* #iw-container  .iw-title { */
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 22px;
    font-weight: 400;
    padding: 10px;
    background-color: #48b5e9;
    color: white;
    margin: 1px;
    border-radius: 2px 2px 0 0; /* In accordance with the rounding of the default infowindow corners. */
 }
 .gm-style-iw {
    /* background-color: #3C61AD !important; */
    top: 0 !important;
    left: 0 !important;
    /* width: 100% !important; */
    /* height: 100% !important; */
    min-height: 325px !important;
    padding-top: 10px;
    /* display: block !important; */
 }
 .gm-style img {
    width: 215px;
    height:215px;
}

.gm-style-iw-d{
    max-height: 300px !important;
}

.cluster{
    width: 25%;
}
.cluster p {
    padding-top: 8px;
    font-size: 14px;
}

/* .container-fluid{
    display: flex;
} */

/* ============================== MEDIA QUERIES */

/* Small devices (landscape phones, 576px and up)========================*/
@media (min-width : 576px) {
    .header-moto {
        display: inline-flex;
        font-size: 3vh;
        font-style: italic;
        text-transform: capitalize;}
        .modal-dialog {
            width: 90%
        }
        .modal-body{
            display:flex;
            flex-flow: row nowrap
        }
}

/* Medium devices (tablets, 768px and up)================================*/
@media (min-width : 768px) {}

/* Large devices (desktops, 992px and up)================================*/
@media (min-width : 992px) {}

/* Extra large devices (large desktops, 1200px and up) ==================*/
@media (min-width : 1200px) {}