#map {
    width: 100%;
    height: 100%;
    background-color: ligthblue;
} 

#mapsHeader {
  /*  width       : 90%; */
    height      : 550px; 
    background  : lightblue;
}

#map-out {

}

#greydiv : {
    color: #eeeeee;
}

.cookie-cont {
    position: relative;
    text-align: left;
    color: black;
}

/*.cookie_box {
    position:absolute;
    top:200px;
    left:7px;
    width: 1111px;
    heigth: 400px;
    padding-bottom:200px;
    background-color: #000000;
    opacity: 0.6;
    z-index: 100;
}*/


/* The container */
.container {
  display: block;
  position: relative;
  float:left;
  /* Position text in Popup Box */
  padding-left: 35px;
  margin-bottom: 5px;
  cursor: pointer;
  font-size: 17px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container.extra {
    font-size: 17px;
    font-weight: bold;
    
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 20px;
    width: 20px;

    /*background-color: #eee;*/
    background      : #ffffff;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rot;
  
}

h2 {
    color :white;
}

#no-map img {
    display:block!important;
}

.no-map-cookie-text {
    position: absolute;
    top: 10px;
    left: 0px;
    padding : 20px;
    margin-left: 20px;
    margin-right: 20px;
    /*width: 98%;*/
    /*opacity:.7;*/
    /*transform: translate(-50%, -50%);*/
    font-size: 15px!important;
    color:#ffffff!important;  
/*    background-color: rgb(0, 0, 0);*/
    background: rgba(0, 0, 0, 0.8);
    z-index: 20;
}

.no-map-cookie-text span {
    position:absolute;
    /*bottom:-20px;*/
    left:7px;
/*    width: 90%;*/
    line-height: 150%;
    padding: 30px;
    /*font-size: 25px;*/
    opacity:.7;
    background-color: #ffffff;
    /*background: rgba(0, 0, 0, 0.7);*/
    z-index: 100;
}

.box_container {
    position: relative;
    text-align: center;
    color: white;
    background-color: rgba(237, 28, 36, 0.7)!important;
    z-index:200;
    
}
/* pseudo-button */
.centered {
    position: absolute;
    /*top: 50%;*/
    left: 50%;
    bottom: 100px;
    height: 70px;
    width: 270px;
/*    padding: 30px:*/
    padding-top: 22px; 
    padding-bottom: 15px; 
    padding-left: 15px; 
    padding-right: 15px; 
    transform: translate(-50%, -50%);
    background-color: #0072CE!important;
}

.bottom-right {
    position: absolute;
    padding: 30px;
    /*background-color: rgb(0, 0, 0);*/
    background: rgba(255, 255, 255, 0.7);
    bottom: 50px;
    margin-right: 20px;
    right: 0px;
}

.bottom-left {
    position: absolute;
    padding: 30px;
    fiont-size:10px;
    /*background-color: rgb(0, 0, 0);*/
    background: rgba(255, 255, 255, 0.7);
    bottom: 50px;
    left:2.1%;
    min-width: 280px; 
    width: 20%;
    /*margin-right: 500px;*/
    right: 0px;
}

/* Popup container - can be anything you want */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The actual popup */
.popup .popuptext {
    position: absolute;
    visibility: hidden;
    width: auto;
    min-width: 260px;
    heigt: auto;
    background-color: #fff;
    opacity:0.9;
    font-size: 12px!important;
    color: #000;
    text-align: left;
    border-radius: 6px;
    padding: 5px;
    
    
    bottom: 125%;
    left: 2%;
    margin-left: -60px;
    z-index:250;
    box-shadow: 2px 3px 1px 1px #888888;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 25%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

.popup-icon{
    display:inline-block;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 0.9;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:0.9;}
}


/* this is the input div - elements should be self describing */
.sortHeader .aec_search {
   display         : inline-block;
    align-items     : center;
    vertical-align  : initial;
/*    margin          : 0 -10px;*/
    margin-left     : 6px;
    margin-right    : 5px;
    margin-top      : -1px;
    margin-bottom   : 0px;
    padding         : 0px !important;
    width           : 170px; 
    height          : 29px !important;
    background      : #0072CE;
    
    box-shadow: inset 0px 0px 3px #0072CE,inset 0px -1px 3px #0072CE;
    border: 0px solid #0072CE;
    
    color           : white; 
    font-size:      : 6px !important;
    border-radius   : 2px;
}

.disable-hover,
.disable-hover * {
    pointer-events: none !important;
}

/* 
** this is turned off for now - but still usable + in use 
** - remove "visibility:hidden" + change settings in main app 
** do not remove the actual (hidden) pulldown! 
*/
.sortHeader .input .aec_distance {
    width: 175px;
    height: 30px;  
    background: white; 
    color: black; 
    visibility: hidden;
}

.sortHeader .country{
    /*display         : inline-block;*/
    /*box-sizing      : border-box;*/
    /*margin-top      : 0 -10px;*/
    /*margin-bottom:  : 0 -10px;*/
    margin-left     : 5px; 
    margin-right    : 0px;
    padding-top     : 2.9px;
    padding-bottom  : 3px;
    width           : 246px; 
    height          : 30px important;
    background      : white; 
    color           : black;
}

.sortHeader .free-param{
    display         : inline-block;
    box-sizing      : border-box;
    margin-top      : 0px !important;
    margin-bottom   : 0px !important;
    margin-left     : 15px !important;
    margin-right     : 15px !important;
    padding: 10px !important;
    
    width           : 250px; 
    height          : 31px; 
    background      : white; 
    color           : black;
    
}

.free-param .noPadding input { padding: 4px !important; }

#sortHeader {
    box-sizing      : content-box;
    margin-top      : 1px; 
    margin-bottom   : 1px; 
    padding         : 30px;
    width           : 100%; 
    /*height          : 10px; */
    background      : #fafafa; 
    box-sizing: border-box;
    margin: 30px 0 15px 0;
    display: flex;
    justify-content: center;
   /* border          : 1px dashed grey; */
}

#sortHeader .sortHeader {
    padding: 5px;
    margin: 0 15px;
}

.responsive {
    
    display: -webkit-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */  
    
    display : flex;
    flex-wrap: wrap;   
    align-content: center;

    width: calc(100% + 30px);
    margin-left: -15px;
}

.responsive .responsive-table {
    display: -webkit-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    
    display : flex;
    flex-wrap: wrap;
    
    align-content: center;
    width: 75%; 
    
    width   : auto;
    height  : 100%; 
    background: white;
    z-index: 0;
} 

.table {
    display: table;
    border-collapse: separate;
    /*border-spacing: 30px;*/
    width: 100%; 
    /*width:1000px;*/
    height: 100%; 
    background: white;
    z-index: 0;
}

.row { 
    display : table-row; 
    width   : 100%;
}

/* Brand - Logos*/
.dist-right {
    padding-right: 70px;
}

.dealer-tile {
    display: flex;
    flex: 0 1 calc(33.3333% - 30px);
    width: calc(33.3333% - 30px);
    max-width: calc(33.3333% - 30px);
    margin: 15px !important;
    flex-wrap: wrap;
    background-color: #fafafa;
}

.dealer-tile .content {
    /*padding: 1px;*/
    padding: 20px;
    height: calc(100% - 10px);
}

.dealer-tile .content h3 {
    font-size: 20px;
    margin: 0 0 20px 0 !important;
}

.dealer-tile .content a {
    color: inherit;
}

.dealer-tile .tile-top {
    background-color: #252525;
    color: white; 
    width : 100%;
    padding: 0.5rem 1.5rem;
}

.dealer-tile .content .content-header {
    display: table-cell;
    float: left;
    /*padding: 1px;*/
    vertical-align: middle;
    /*background-color: black;
    border: dashed 1px white;
    padding: 20px;*/
    width : 100%;
    height: 80px;
}

.dealer-tile .content .content-body {
    display: table-cell;
    float: left;
    /*padding: 1px;*/
    vertical-align: middle;
    /*background-color: black;
    border: dashed 1px white;
    padding: 20px;*/
    width : 100%;
    margin-bottom: 20px;
}

.dealer-tile .content .tile-bottom {
    display: table;
    /*float: left;
    padding: 1px;*/
    /*position: relativ;*/
    align-self: flex-end;
    background-color: transparent;
    /*bottom: 20px;
    vertical-align: middle;*/
    /*background-color: black;
    border: dashed 1px white;
    padding: 20px;*/
    width : 100%;
    height: auto;
    padding-top: 10px;
}

.dealer-tile .logo-chevrolet,
.dealer-tile .logo-cadillac {
    height: 40px;
    margin: 10px 0;;
    width: auto;
}

.bottom-table {
    display: table;
    border-collapse: separate;
    table-layout: fixed;
    /*border-spacing: 30px;*/
    width: 100%; 
    /*width:1000px;*/
    height: 100%;
    z-index: 0;
    padding-bottom: 10px;
}

.bottom-table .bottom-row { 
    display : table-row; 
    width   : 100%;
}

/* bottom tile - text headline (finance/lpg/oct/recalls) */
.dealer-tile .content .tile-bottom-fragment {
    display         : table-cell;
    font-weight: bold;
    /*padding: 1px;*/
    vertical-align  : middle;
    /*background-color: black;
    border: dashed 1px white;*/
    min-width       : 60px;
    width           : 25%;
    height          : 100%;
}

/* resize images */
.tile-bottom-fragment img {
    width: auto;
    height: 40px;
    margin-top: 10px;
}

/* OK - but maybe distracting .. so turned off for now */
/*.dealer-tile .content:active {
    box-shadow:2px 2px 2px grey;
}

.dealer-tile .content:hover {
    box-shadow:2px 2px 2px grey;
}*/

/* this is for the gm infowindow: */
/* maps - dealer tiles: */
/* this is the button to show dealer tile */
.dealer-button {
    width: 4px;
    height: 3px; 
    background: red; /* old browsers */
/*    background: linear-gradient(to bottom, red, #EC1C23); */
    box-shadow: inset 0px 0px 3px #fff,inset 0px -1px 3px #fff;
    border: 1px solid #EC1C23;
    border-radius: 1em;
    margin: 1em;
}

i {
    border       : solid #0072CE;
    border-width : 0 5px 5px 0;
    display      : inline-block;
    padding      : 10px; 
    cursor       : pointer;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


.gm-style {
    background-color: #252525 !important;
}

.gm-style .gm-style-iw-c {
    background-color: #252525 !important;
}
  
.gm-style .gm-style-iw {
    background-color: #252525 !important;
    top: 0 !important;
    left: 0 !important;
/*    width: 100% !important;
    height: 100% !important;
*/    min-height: 120px !important;
    padding-top: 10px;
    display: block !important;
    padding: 20px 20px 50px 20px !important;
} 

.gm-style .gm-style-iw .gm-style-custom {
    background-color: #252525 !important;
    line-height: 1.5;
}

.gm-style-custom h3 {
    color   :   white;
    font-size: 20px;
    margin: 0;
}

.gm-style-custom p {
    color   :   white;
    margin-bottom: 10px;
}


.custom-info-meta {
    padding-top: 10px;
}

.gm-style-iw-d {
    background-color    : #252525 !important;
    overflow            : visible !important;
    max-width           : 100%;
    padding-right       : 20px !important;
}

.gm-style .gm-style-iw-d {
    box-sizing      : border-box;
    background-color: #252525 !important;
    
}

.gm-style .gm-style-iw-d {
    background-color: #252525 !important;
}

.gm-style .gm-style-iw-d a {
    color: white;
}

.gm-style .gm-style-iw-d .down {
    display: inline-block;
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -17px;
}

.gm-style-iw-tc {
    display: none !important;
}

/*.gm-style .gm-style-iw .gm-style-iw-c  {
    background-color: #252525 !important;
}*/

/* style the paragraph tag */
.gm-style .gm-style-iw #google-popup p{
   /* background-color: #252525 !important;*/
    padding: 10px;
}

/* background for firefox .. */
.gm-style div div div div div div div div div{
    /*background-color: #252525 !important;
    margin: 0;
    padding: 0;
    top: 0;*/
    color: #fff;
    font-size: 16px;
}

/* this is the little "arrow"! */
.gm-style .gm-style-iw-t::after {
    background-color: #252525 !important;
    background: linear-gradient(#252525, #252525);
}

/* needs more research .. */
/* this is the info window close button 
** little black X right top corner
*/
.gm-style button.gm-ui-hover-effect {
    background-color: #252525 !important;
    top: 5px;
    right: 8px;
    display:none!important;
}

.map-info-close {
  position: fixed;
  top: 5px;
  right: 8px;
    cursor: pointer;
}

.vc_row-has-fill+.vc_row.aec-map-content>.vc_column_container>.vc_column-inner {
    padding: 0;
}

/* popup for blocked distance calculation in tiles */
/* from: https://www.jqueryscript.net/lightbox/Simple-jQuery-Plugin-For-Opening-A-Popup-Window-On-Page-load.html */

#mask {
  /*position: absolute;*/
  position:fixed; /* make absolute to make box move to responsive postion values ..*/

  width:100%;
  height:auto;    
/*  margin-left: -100;
  padding-right: -100;*/

  left: 0;
  top: 0;
  z-index: 9000;
  background-color: #000;
  display: none;
}

#boxes .window {
  position:static;
/*  left: 0;
  top: 0;*/
top: 50%;
left: 50%;
/*margin-left: -150px;
margin-top: -100px;*/

/*margin-left: auto;
margin-right: auto;*/


/*  width: 440px;*/
  width:30%;
  height: 200px;
  display: none;
  z-index: 9999;
  padding: 20px;
  /*border-radius: 15px;*/
  text-align: center;
}

#boxes #dialog {
  position:static;  
  /*display: block;*/  
  display: inline-block;
  /*float:left;*/
  /*float:top;*/
/*  top: 12.5%;
  left: 12.5%;    */
  margin-left: 250px;
  margin-top: 0px;
  /*margin-right: auto;*/
  width: 350px;
  height: 150px;
  padding: 10px;
  /*background-color: #ffffff;*/
  background-color: rgba(237, 28, 36, 0.9)!important;
  /*font-family: 'Segoe UI Light', sans-serif;*/
  color:  #ffffff;  
  
  font-size: 12pt;
}

#popupfoot {
  font-size: 12pt;
  font-weight: bold;
  position: absolute;
  bottom: 0px;
  width: 125px;
  left: 115px;
}

@media only screen and (max-width: 1200px) {
    
    .dealer-tile {
        font-size: 14px;
    }
    .dealer-tile .logo-chevrolet, 
    .dealer-tile .logo-cadillac,
    .tile-bottom-fragment img {
        height: 30px;
    }
    
}

@media only screen and (max-width: 1100px) {
    
    .dealer-tile {
        flex: 0 1 calc(50% - 30px);
        width: calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    
}

@media only screen and (max-width: 768px) {
    
    #sortHeader {
        padding: 15px 15px 15px 7.5px;
        display: block;
    }

    #sortHeader .sortHeader,
    #sortHeader .free-param {
        width: 100%;
        margin: 0 7.5px !important;
        margin-bottom: 15px !important;
    }

    #sortHeader .aec_search {
        width: calc(100% - 40px);
    }

    .dealer-tile {
        flex: 0 1 calc(100% - 30px);
        width: calc(100% - 30px);
        max-width: calc(100% - 30px);
    }
    .no-map-cookie-text {
        position: absolute;
        top: 10px;
        left: 0px;
        padding : 10px;
        margin-left: 10px;
        margin-right: 10px;
        /*width: 98%;*/
        /*opacity:.7;*/
        /*transform: translate(-50%, -50%);*/
        font-size: 10px!important;
        color:black!important;  
    /*    background-color: rgb(0, 0, 0);*/
        background: rgba(255, 255, 255, 0.8);
        z-index: 120;
    }

    .no-map-cookie-text span {
        position:absolute;
        /*bottom:-20px;*/
        left:7px;
    /*    width: 90%;*/
        line-height: 1.1em;
        padding: 10px;
        /*font-size: 25px;*/
        opacity:.7;
        background-color: rgb(255, 255, 255);
        /*background: rgba(0, 0, 0, 0.7);*/
        z-index: 100;
    }
    
    /* Create a custom checkbox */
    .checkmark {
        position: absolute;
        top: 4px;
        left: 0;
        height: 15px;
        width: 15px;

        /*background-color: #eee;*/
        background      : rgb(237, 28, 36);
    }
    
     .bottom-left {
        position: absolute;
        padding: 1px;
        font-size:10px;
        /*background-color: rgb(0, 0, 0);*/
        background: rgba(255, 255, 255, 0.7);
        bottom: 5px;
        left:1%;
        min-width: 160px; 
        width: 10%;
        /*margin-right: 460px;*/
        margin-left:5px;
        right: 0px;
    }
    
    .centered {
        position: absolute;
/*        top: 50%;*/
        height: 23px;
        left: 50%;
        bottom: 50px;
        transform: translate(-50%, -50%);
        background-color: rgba(237, 28, 36, 0.7)!important;
    }
    
    .centered div {
        display:flex;
        justify-content: center;
        align-items: center;
    }
    
    .container.extra {
        font-size: 12px;
        font-weight: bold;
    }
    
    
    
/*    #boxes .window {
  position:absolute;
  left: 0;
  top: 0;
top: 50%;
left: 95;

}*/

#boxes #dialog {
  position:static;  
  /*display: block;*/  
  display: inline-block;
  /*float:left;*/
  /*float:top;*/
/*  top: 12.5%;
  left: 12.5%;    */
  margin-left: 50px;
  margin-top: 50px;
    
    #boxes #dialog {
        width: 250px;
        height: 100px;
        padding: 5px;
        left: 5%;
        /*background-color: #ffffff;*/
        background-color: rgba(237, 28, 36, 0.9)!important;
        /*font-family: 'Segoe UI Light', sans-serif;*/
        color:  #ffffff;  
        font-size: 10pt;
    }
    
    #popupfoot {
        font-size: 12pt;
        position: absolute;
        bottom: 0px;
        width: 125px;
        left: 63px;
    }
    
}

@media only screen and (max-width: 320px) {
    
    .no-map-cookie-text {
        position: absolute;
        top: 10px;
        left: 0px;
        padding : 1px;
        margin-left: 5px;
        margin-right: 5px;
        /*width: 98%;*/
        /*opacity:.7;*/
        /*transform: translate(-50%, -50%);*/
        font-size: 7px!important;
        color:black!important;  
    /*    background-color: rgb(0, 0, 0);*/
        background: rgba(255, 255, 255, 0.8);
        z-index: 120;
    }

    .no-map-cookie-text span {
        position:absolute;
        /*bottom:-20px;*/
        left:4px;
    /*    width: 90%;*/
        line-height: 1em;
        padding: 10px;
        /*font-size: 25px;*/
        opacity:.7;
        background-color: rgb(255, 255, 255);
        /*background: rgba(0, 0, 0, 0.7);*/
        z-index: 100;
    }
    
    /* Create a custom checkbox */
    .checkmark {
        position: absolute;
        top: 7px;
        left: 0;
        /*      height: 10px;
        width: 10px;*/

        /*background-color: #eee;*/
        background      : rgb(237, 28, 36);
    }
    
    .bottom-left {
        position: absolute;
        padding: 1px;
        font-size:8px;
        height:10px;
        background-color: rgb(0, 0, 0);
        background: rgba(255, 255, 255, 0.7);
        bottom: 0px;
        left:1%;
        min-width: 160px; 
        width: 10%;
        /*margin-right: 420px;*/
        margin-left:5px;
        right: 0px;
    }
    
    .container.extra {
        font-size: 12px!important;
        font-weight: bold;
    }
    
}