﻿/* --------------- Fonts --------------- */

@font-face {
    font-family: 'repsolregular';
    src: url('../fonts/repsol-regular-webfont.eot');
    src: url('../fonts/repsol-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/repsol-regular-webfont.woff') format('woff'),
         url('../fonts/repsol-regular-webfont.ttf') format('truetype'),
         url('../fonts/repsol-regular-webfont.svg#repsolregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'repsolbold';
    src: url('../fonts/repsol-bold-webfont.eot');
    src: url('../fonts/repsol-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/repsol-bold-webfont.woff') format('woff'),
         url('../fonts/repsol-bold-webfont.ttf') format('truetype'),
         url('../fonts/repsol-bold-webfont.svg#repsolbold') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'titilliumtext22l_regular';
    src: url('../fonts/titilliumtext22l003-webfont.eot');
    src: url('../fonts/titilliumtext22l003-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/titilliumtext22l003-webfont.woff') format('woff'),
         url('../fonts/titilliumtext22l003-webfont.ttf') format('truetype'),
         url('../fonts/titilliumtext22l003-webfont.svg#titilliumtext22l_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'titilliumtext22l_bold';
    src: url('../fonts/titilliumtext22l004-webfont.eot');
    src: url('../fonts/titilliumtext22l004-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/titilliumtext22l004-webfont.woff') format('woff'),
         url('../fonts/titilliumtext22l004-webfont.ttf') format('truetype'),
         url('../fonts/titilliumtext22l004-webfont.svg#titilliumtext22l_bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* --------------- /Fonts --------------- */

html, body{
    height: 95%;
    margin: 0px;
    padding: 0px;
}

a{color: inherit;}
h1{ color: #99918a; }

#map-canvas{
    width: 74%;
    height: 100%;
    float:left;
    margin: 0 0 0 1%;
}
#scroll::-webkit-scrollbar { 
  display: none;
}
/*Markers*/
#markers{
    font-family: 'repsolregular', sans-serif;
    text-align: center;
    width: 24%;
    height: 100%;
    float: left;
    margin: 0 1% 0 0;
    overflow: hidden;
    position: relative;
}
/*#markers > a i { font-size: 20px; color: #e67600}*/
#markers > a {
    display: block;
    position: relative;
    position: relative;
    text-decoration: none;
    color: #aba299;
    width: 100%;
    height: 12px;
    padding: 30px 0;
}

#markers > a i#arrow-down, #markers > a i#arrow-up{
    display: block;
    position: relative;
    height: 12px;
    background: transparent url(../img/flecha.png) no-repeat center /contain;
    width: 100%;

}
#markers > a i#arrow-up {
    transform: rotate(180deg);
}

#markers > div {
    position: relative;
    height: calc(100% - 140px);
    overflow-y: scroll;
    width: 105%;
}
#markers ul {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
}
#markers ul li {
    list-style-type: none;
    text-align: left;
    margin: 0;
    padding: 10px 15px 5px 10px;
    border-top: 1px solid #d5cfcf;
    border-bottom: 1px solid #d5cfcf;
}
#markers ul li:first-child {
    border-top: 2px solid #d5cfcf;
}
#markers ul li:last-child {
    border-bottom: 2px solid #d5cfcf;
}
#markers ul li > span,
#markers ul li > div {
    display: table-cell;
    vertical-align: top;
    font-size: 13px;
}
#markers ul li > span { font-size: 17px; line-height: 15px;
    min-width: 80px;
    color: #e67600;
}
#markers ul li {
    color: #aba299;
}
#markers ul li a {
    color: #99918a;
    text-decoration: none;
    font-size: 15px;
    line-height: 15px;
    transition: all .4s;
}
#markers .marker-info {
    position:relative;
}
#markers ul li a.marker-info__name { 
    font-family: 'titilliumtext22l_bold', sans-serif; 
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}
#markers ul li .marker-info__schedule {
    margin-bottom: 10px;
}
#markers ul li .marker-info__distancia {
    color: #e67600 !important;
    font-size: 15px;
}
#markers ul li .marker-info__email,
#markers ul li .marker-info__products,
#markers ul li .marker-info__phone,
#markers ul li .marker-info__url,
#markers ul li .marker-boton__phone { display: none; }
#markers ul li .marker-info__url { 
    margin-bottom: 10px; 
}
#markers ul li .marker-info__directions { 
    font-size: 14px;
    line-height: 25px;
    position: relative;
}
#markers ul li .marker-info__directions i { 
    color: #e67600 !important;
    font-size: 12px;
    margin: 0 0 0 10px;
    text-decoration: none !important;
}
#markers ul li a:hover{
    color: #e67600;
    text-decoration: underline;
}
#markers ul li .marker-boton__phone {
  position:absolute;
  bottom:0px;
  right:0px;
  z-index:10;
}

/* INFO WINDOWS */

.gm-ui-hover-effect{
    font-color: #e67600 !important;
    top: 5px !important;
    right: 5px !important;
    background: #fff !important;
    border: 2px solid #e67600 !important;
    border-radius: 50%;
    width: 33px !important;
    height: 33px !important;
    opacity: 1;}

.gm-ui-hover-effect img{margin: -8px 5px !important;
    width: 16px !important;
    height: 16px !important;}

.gm-style-iw {
    width: 400px !important;
    top: 15px !important;
    left: 0px !important;
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(178, 178, 178, 0.6);
    border: 1px solid rgba(72, 181, 233, 0.6);
    border-radius: 2px 2px 10px 10px;
}
.gm-style-iw > div {
    width: 100%
}

.gm-style-iw + button.gm-ui-hover-effect {
    z-index: 11;
    background: #ffffff5c !important;
}

#iw-container {
    margin-bottom: 10px;
}
#iw-container .iw-title {
    font-family: 'repsolregular', sans-serif;
    font-size: 22px;
    font-weight: 400;
    padding: 10px;
    background-color: #e67600;
    color: white;
    margin: 0;
    border-radius: 2px 2px 0 0;
}
#iw-container .iw-content {
    color: #99918a;
    font-family: 'titilliumtext22l_regular', sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    margin-right: 0px;
    padding: 5px 0px 0px 15px;
    overflow-y: auto;
    overflow-x: hidden;
}
#iw-container .iw-content p:first-of-type{
    margin-top: 0px
}
.iw-subTitle {font-family: 'titilliumtext22l_bold', sans-serif !important;}
#iw-container .iw-content a{
    position: relative;
    text-decoration: none

}
#iw-container .iw-content a:last-child:hover{
    color: #e67600;
    text-decoration: underline;
}
#iw-container .iw-content a:last-child:after { 
    font-size: 12px;
    content: '';
    font-family: 'FontAwesome';
    color: #e67600;
    margin: 0 0 0 10px;
    display: inline-block;
    position: absolute;
    top: 3px;
    right: -15px;
}

.iw-content img {
    float: right;
    margin: 0 0px 5px 10px; 
}
.iw-content ul {margin: 0 0 15px; padding: 0}
.iw-content ul li {list-style: none}
.iw-content ul li::before {
    content: "-";
    display: inline-block;
    margin-right: 5px;
    position: relative;
}
.iw-subTitle {
    font-size: 16px;
    padding: 5px 0;
}
.iw-bottom-gradient {
    position: absolute;
    width: 326px;
    height: 25px;
    bottom: 3px;
    right: 18px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

#filters {
    position: relative;
    font-family: 'repsolregular', sans-serif;
    /*margin: 25px auto;*/
    padding: 15px 0;
    text-align: center;
    border-top: 2px solid #d5cfcf;
    border-bottom: 2px solid #d5cfcf;
    color: #99918a;
    text-decoration: none;
    font-size: 15px;
    line-height: 15px;
}
#filters select,
#filters input,
#filters select:focus,
#filters input:focus {
    font-size: 11px
}
@media screen and (-webkit-min-device-pixel-ratio:0) and (max-width: 660px){
    #filters select,
    #filters input,
    #filters select:focus,
    #filters input:focus {
    font-size: 16px;
  }
}

#filters select,
#filters input.productos,
#filters input.codigo_postal{
    border: 1px solid #d5cfcf;
    border-radius: 3px;
    color: #00859b;
    padding: 3px 5px;
    margin: 0 5px;
}
#filters select,
#filters input.productos {
    width: 110px;
}
#filters input.codigo_postal{
    width: 70px;
    padding: 4px 5px;
    text-align: right;
}
#filters input.codigo_postal::placeholder{
    color: #00859b;
}

#filters select option{
    color: #00859b
}
#filters input.btn {
    text-transform: uppercase;
    padding: 3px 15px;
    margin: 0 5px;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    cursor: pointer;
    transition: background .4s linear;
}
#filters input.aplicar  {
    background: #00809a;
    color: #fff;
    border-color: #00809a;
}
#filters input.borrar {
    background: #f0f0f0;
    color: #00809a;
    border-color: #f0f0f0;
}
#filters input.direccion  {
    background: #00809a;
    color: #fff;
    border-color: #00809a;
}
#filters input.aplicar:hover{
    background: #fff;
    color: #00809a;
}
#filters input.borrar:hover{
    background: #00809a;
    color: #f0f0f0;
}
#filters input.direccion:hover{
    background: #fff;
    color: #00809a;
}
#filters input.productos{
    text-align: left;
    background: #fff;
    position: relative;
}
.inputGroup {
    display: inline-block;
    position: relative;
}
#producto {
    display: none;
    position: absolute;
    width: 235px;
    padding: 5px 10px;
    border: 1px solid #d5cfcf;
    background-color: #fff;
    left: 0;
    right: 0;
    top: 30px;
    z-index: 999999;
}
#producto label {
    display: block;
    text-align: left;
    padding: 5px 0;
    
}
#producto label:not(:first-child):not(:last-child){
    padding: 5px 0;
    margin: 5px 0;
    border-top: 1px solid #d5cfcf;
}
#producto label:last-child{
    border-top: 1px solid #d5cfcf;
}

.gm-style-iw-chr span {
    margin:3px!important;
}

/*Responsive*/
@media all and (min-width: 661px){
    #filters #ciudad{
        width: 160px;
    }
    #producto {
        left: -50%;
    }

}
@media all and (max-width: 660px){
    #filters select, 
    #filters input.btn,
    #filters > .inputGroup{
        display: block;
        margin: 5px auto 10px;
        width: 200px
    }
    #filters >  .inputGroup >  input {
        width: 200px;
        margin: 0;
    }
    #producto {
        left: -45px;
    }
    #filters input.codigo_postal {
        width: 190px;
        text-align: center;
    }
}
@media only screen and (max-width: 1279px) {
    #markers { width: 33%;}
    #map-canvas { width: 66%; margin: 0;}
}

@media only screen and (max-width: 900px) {
    #markers { width: 39%;}
    #map-canvas { width: 60%; margin: 0;}
}

@media only screen and (max-width: 700px) {
    #markers { width: 100%; height: 30%;}
    #markers > a i { font-size: 20px;}
    #map-canvas { width: 100%; height: 70%; margin: 0;}
}
@media only screen and (max-width: 500px) {
    
    #markers { height: 100% }
    #map-canvas { display: none;}
    #markers ul li .marker-info__name:focus, #markers ul li .marker-info__name:hover, #markers ul li .marker-info__name:active,
    #markers ul li .marker-info__address:focus, #markers ul li .marker-info__address:hover, #markers ul li .marker-info__address:active {
        text-decoration: none;
        color: inherit;
    }

    #markers ul li .marker-info__products,
    #markers ul li .marker-info__email,
    #markers ul li .marker-info__email,
    #markers ul li .marker-info__phone,
    #markers ul li .marker-info__url,
    #markers ul li .marker-boton__phone { display: block; }
    #filters input.direccion  {
      font-size:0.9em;
      height:28px;
    }
}

.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('../img/wait.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.cargando .modal {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.cargando .modal {
    display: block;
}

.pac-container:after{
    content:none !important;
}

/*Extracto para modal*/
#dialog-form {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#dialog-form .form-control {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
#dialog-form .form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
#dialog-form fieldset {
    padding: .35em .625em .75em;
    margin: 0 2px;
    border: 1px solid silver;
}
#dialog-form fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}
#dialog-form button, 
#dialog-form input, 
#dialog-form select, 
#dialog-form textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
#dialog-form input {
    line-height: normal;
}
#dialog-form button, 
#dialog-form input, 
#dialog-forml optgroup, 
#dialog-form select, 
#dialog-form textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}
