/* RESET ERIC MEYER*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section,select, input summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}
* {box-sizing: border-box;}
img{max-width: 100%}



/* END RESET*/

@font-face {
  font-family: 'BupaScript-Regular';
  src: url("../fuentes/BupaScript-Regular.eot?#iefix") format("embedded-opentype"), url("../fuentes/BupaScript-Regular.otf") format("opentype"), url("../fuentes/BupaScript-Regular.woff") format("woff"), url("../fuentes/BupaScript-Regular.ttf") format("truetype"), url("../fuentes/BupaScript-Regular.svg#BupaScript-Regular") format("svg");
  font-weight: normal;
  font-style: normal; }



/* GLOBALES*/
body{ font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 400; line-height: 1.2}
*{box-sizing: border-box;}
a{text-decoration: none;}
strong {font-weight: 600;}
small{font-size: 70%}
sup {vertical-align: super;font-size: 16px;}
  @media(max-width: 425px){
    sup{font-size: 12px;}
  }
section {padding: 20px 0}

.wrapper{ width: 100%; max-width: 1300px; margin: 0 auto; }

.u-uppercase{text-transform: uppercase;}
.u-underline {text-decoration: underline;}

.c-white{ color: #fff;}
.c-navy{color: #00335B!important;}
.c-celeste{  color: #4479c8; }
.c-negro{color: #000000!important;}

.bg-grey{background: #C4C4C4}

.text-center {text-align: center;}



.u-padding-top-xs{padding-top: 20px}
.u-padding-top-sm{padding-top: 40px}
.u-padding-top-md{padding-top: 60px}
.u-padding-bottom-xs{padding-bottom: 20px}
.u-padding-bottom-sm{padding-bottom: 40px}
.u-padding-bottom-md{padding-bottom: 60px}


.u-margin-bottom-sm{margin-bottom: 40px}

/*  END GLOBALES*/

header{position: relative; max-height: 850px; background: url(../imagenes/bg-header.jpg)no-repeat #00294C;
  min-height: 865px;background-position: top center; margin:0}



.header {display: flex; justify-content: flex-start;align-items: flex-start; flex-direction: column;}

.header .logo-movil { display: none;}

.header .logo-desktop { display: flex;}
.header .logo-desktop .img-logo-desktop { display: inline-block; max-width: 86px; margin: 20px 0 0}
.header .logo-desktop .textos-logo { margin: 20px 0 0 22px;}
.header .logo-desktop .textos-logo p:first-of-type{ color: #007acc; font-weight: 600; font-size: 35px;}
.header .logo-desktop .textos-logo .bupa{font-family: 'BupaScript-Regular'; font-size: 43px;
line-height: 44px; color: #ffffff}

.txt-header {display: flex; flex-direction:column; padding: 200px 0 40px; text-align: center; align-items: center;}
.txt-header  p {font-size: 32px; line-height: 34px; color: #fff;}
.txt-header .title {color: #fff;font-size: 30px;line-height: 53px; padding: 0 0 10px; text-transform: uppercase; margin: 0 0 35px 0;}
.txt-header .title span{text-transform: none;}
.txt-header .header-box-text {/*background: rgba(41,154,227,0.6);*/ padding: 10px; max-width: 95%}
.txt-header .header-box-text p{font-size: 20px;line-height: 25px;background: rgba(255,255,255,0.6); padding: 7px}
.txt-header .header-box-text p:first-of-type{font-size: 30px;line-height: 34px;background: rgba(41,154,227,0.6);padding: 10px;}
.txt-header .header-box-text p:first-of-type span{font-size: 26px}
  @media(max-width: 767px){
    .txt-header .header-box-text p:first-of-type span{font-size: 16px;}

  }




/*FORMULARIO CABECERA*/

.form { background: #00294C; padding: 20px 50px; display: flex; flex-direction: column; z-index: 2; width: 100%;}

.form p {font-size: 16px; line-height: 1.2; color:#ffffff;  text-align: center; margin: 0 0 15px}
.form .title {font-size: 22px; line-height: 1.2; color:#ffffff; }
.form form {display: flex; align-items: flex-start; justify-content: space-between;flex-wrap: wrap;}
.form form>div:first-of-type {flex-basis: 100%; display: flex; align-items: center; justify-content: space-between;}
.form input[type='text'], .form input[type='tel'], .form input[type='email'] , .form select {padding: 10px 5px 10px 30px; border: none; margin:0 0 10px 0;color: #000000; width: 24%;}


.form input[type='button'] {background: url(../imagenes/arrow-right-white.png) no-repeat right 10px center #DB3907; font-weight: 600; color: #fff; border: none; padding: 10px 55px;font-size: 19px;
line-height: 27px;font-family: 'Montserrat', sans-serif; cursor: pointer;}


.form input[type='text']:-moz-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='text']:-ms-input-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='text']::-moz-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='text']::-webkit-input-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='tel']:-moz-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='tel']:-ms-input-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='tel']::-moz-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='tel']::-webkit-input-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='email']:-moz-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='email']:-ms-input-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='email']::-moz-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}
.form input[type='email']::-webkit-input-placeholder{color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;}

.form .notice {color: #fff; font-size: 10px; line-height: 1.2;text-align: left;padding: 0 10px 0 0; margin: 0 0 10px; flex-shrink: 0; flex-basis: 66% }
.form .item-condiciones {display: flex; flex-direction:column; padding: 0 10px 0 0}
.form .item-condiciones label {  padding: 0 0 0 24px; display: flex; flex-direction: row;    justify-content: flex-start; align-items: flex-start;}
.cust-checkbox {position: relative;}
.cust-checkbox input[type='checkbox'] { width: 0; height: 0; opacity: 0;cursor: pointer;}
.cust-checkbox>span { position: absolute; width: 15px;height: 15px; background: #fff; border: 1px solid #4f4f4f; border-radius: 2px; left: -22px;top: 0;}
.form .item-condiciones label>span { font-size: 10px;line-height: 1.2; color: #fff}
.form .item-condiciones label>span a{ font-size: 10px;line-height: 1.2; color: #fff;}
.cust-checkbox span::after {    content: "";    position: absolute;        bottom: 9px;
    left: -1px;   width: 0;    height: 0;    border-right: 3px solid transparent;    border-bottom: 3px solid transparent;    transform: rotate(45deg);    transform-origin: bottom left;}
.cust-checkbox input[type='checkbox']:checked + span::after {    animation: checkbox-check 125ms linear forwards;}
.item-bottom {position: absolute; bottom: 0; width: 100%; left: 0;z-index: 10;background: #00294C;}


.form select {
  background-image:  url(../imagenes/arrow-right-blue.png);
  background-repeat: no-repeat;
  background-position: center right 10px;
  background-color: #fff; border-radius: 0;
  color: #000000;font-family: 'Montserrat', sans-serif;font-weight: 300;font-size: 13.3333px;

}





/*tira iconos*/
.grid-icons{padding: 50px 0 60px; display: flex; align-items: flex-start; justify-content: center;flex-direction: column; }
.item-icon {display: flex; flex-direction: column; justify-content: flex-start;width: 100%;min-height: 250px; flex-basis: 20%; padding: 10px}
.item-icon:last-of-type{flex-basis: 25%}
.item-icon .circle{background:#E79379; width: 123px; height: 123px; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; border-radius: 50%;transition: .25s linear width, .25s linear height;}
.item-icon p{font-size: 14px;line-height: 17px;text-align: center;color: #333333;transition: .25s linear all}
.item-icon:hover .circle { background: #00335B;}


@media(min-width: 767px){  
  .grid-icons{    flex-direction: row;}
  .item-icon:hover {z-index: 10}
  .item-icon:hover .circle {width: 155px; height: 155px; background: #00335B;}
  .item-icon:hover .circle img {transform: scale(1.4);}
  .item-icon:hover p{font-size: 16px;line-height: 20px;}
}


.title-section {font-weight: 700; font-size: 33px;line-height: 40px;text-align: center;color: #00335B; margin: 0 0 40px;position: relative; text-transform: uppercase;}
.title-section:after{content: ""; width: 60px; height: 6px; background: #DB3907; bottom: -25px; left: calc(50% - 30px);position: absolute; }
/* seccion video full scren*/
.inner-iframe {max-width: 1072px;width: 100%;margin: 0 auto;display: block;}

.inner-iframe iframe {width: 100%;height: 613px;}
  @media (max-width: 767px){
    .inner-iframe iframe { height: 250px;  }
  }
  
  

/*  modulo de excencia */
.excelencia {padding: 60px 0;}
.excelencia p:last-of-type {font-size: 18px;line-height: 22px; text-align: center; padding: 15px 100px 40px;}
.excelencia .items-slider img {margin: 0 auto;}

  @media(max-width: 767px){
    .excelencia {padding: 30px 0;}
   
    .excelencia p:last-of-type {padding: 15px 20px 40px}
  }


/*tabs complex*/
.tabs-home {  padding: 10px 0 0; }
.tabs-c {
  padding: 10px 0; margin: 0 0 35px;
  list-style: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  -ms-flex-pack: space-between;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center; }
.tabs-c li { flex-grow: 1; padding: 10px;  position: relative; text-align: center;}
.tabs-c li a { text-decoration: none; font-size: 22px;line-height: 27px;text-align: center;text-transform: uppercase;color: #A5A5A5;position: relative; font-weight: 700}
.tabs-c li a:after{content: ""; height: 5px; background: #0C8ADD; position: absolute; left: 0; bottom: -15px; transition: .5s all linear;width: 0;}
.tabs-c li a.active{color: #333333;}
.tabs-c li a.active:after{ width: 100% }
.tabgroup-c { background: #ffffff; margin-top: 30px; }
.tabgroup-c > div { padding: 3px; }

.tabs-home .xs-trigger {
    color: #00294C;
    font-weight: 600;
    background: url(../imagenes/icon-arrow-down-dark-blue.png) center right 26px no-repeat #ffffff;
    width: 100%;
    display: inline-block;
    text-align: left;
    font-size: 20px;
    padding: 10px; border:1px solid #00294C; }
.tabs-home .xs-trigger p { margin: 0; }
.tabs-home .xs-trigger.active {      background: url(../imagenes/icon-arrow-up-dark-blue.png) center right 26px no-repeat #ffffff; border-bottom: none}


.title-tab-mobile{text-decoration: none; font-size: 22px;line-height: 27px;text-align: center;text-transform: uppercase;color: #333333;position: relative; font-weight: 700; margin-bottom: 20px}


@media (max-width: 767px) {
  .tabs-c {flex-wrap: wrap; display: none; padding: 0; border-top: 1px solid #00294C;border-left: 1px solid #00294C; border-right: 1px solid #00294C;  }
  .tabs-c li {flex-basis: 100%;  background: #ffffff; border-bottom: 1px solid #00294C;}
  .tabs-c li::after { content: none; }
  .tabs-c li a { color: #00294C;
            font-weight: 600;
            background: url(../imagenes/icon-arrow-down-dark-blue.png) center right 16px no-repeat #ffffff;
            width: 100%;
            display: inline-block;
            text-align: left;
            font-size: 20px; }
  .tabs-c li a.active::after { content: none; }

}

@media (min-width: 768px){
  .tabs-home .xs-trigger { display: none; }
  .tabs-home .subtitle {display: none;}
  .title-tab-mobile {display: none;}
  .tabs-home .xs-trigger { display: none; }

}


/*hover desktop + dropdown mobile*/


.c_dropdown {
  padding: 0;
  margin: 0 0 6px; }
  .c_dropdown .item-heading {
    font-weight: 400;
    font-size: 30px;
    line-height: 37px;
    color: #ffffff;
    text-align: center;
    padding: 20px 45px; }
    .c_dropdown .item-heading p {
      margin: 0; }
    .c_dropdown .item-body ul  {
      padding-left: 20px }

    .c_dropdown .item-body ul li {
      font-weight: 400;
      font-size: 15px;
      line-height: 18px;
      color: #fff;
      position: relative;
    }
      .c_dropdown .item-body ul li:after{content: ""; width: 8px; height: 8px; background: #0079C8; position: absolute; left: -15px; top: 4px; border-radius: 50%;}



  .tabgroup-c>div{display: flex;justify-content: center; align-items: flex-start; flex-wrap: wrap;}
  .tabgroup-c .c_dropdown{flex-basis: 50%; overflow: hidden; position: relative;background: grey; min-height: 275px; display: flex; align-items: flex-start; justify-content: flex-start;padding: 100px 20px 0; transition: .3s linear all; background-repeat: no-repeat; background-position: center ; background-size: cover; }
  .tabgroup-c .c_dropdown:last-of-type,.tabgroup-c .c_dropdown.full{flex-basis: 100%}
  .tabgroup-c .c_dropdown .item-heading{width: 100%; height: 100%; position: relative; padding: 0; z-index: 2}
  .tabgroup-c .c_dropdown .item-body {padding: 10px; position: absolute; width: 100%; display: flex; align-items: center; justify-content: center;z-index: 3; top: 100%; transition: .4s ease all; left: 0 }
  .c_dropdown .item-body ul {max-width: 80%; }

   .c_dropdown .item-body ul li{margin-bottom: 5px}
   .c_dropdown .item-heading{font-size: 24px; line-height: 1.2; text-transform: uppercase;}
   .c_dropdown:after{content: ""; width: 100%; height: 100%; position: absolute; background: rgba(0,41,76,0.5);z-index: 1; top: 0; left:0;transition: 0.3s ease all}


   .c_dropdown.espalda{background-image: url(../imagenes/escuela-espalda.jpg); }
   .c_dropdown.pilates-maquinas{background-image: url(../imagenes/pilates-maquinas.jpg); }
   .c_dropdown.entrenamiento-personal{background-image: url(../imagenes/entrenamiento-personal.jpg); }
   .c_dropdown.entrenamiento-funcional{background-image: url(../imagenes/entrenamiento-funcional.jpg); }
   .c_dropdown.pilaterapia{background-image: url(../imagenes/pilaterapia.jpg); }
   .c_dropdown.piscina{background-image: url(../imagenes/piscina.jpg); }
   .c_dropdown.electrofitness{background-image: url(../imagenes/electrofitness.jpg); }
   .c_dropdown.pilates{background-image: url(../imagenes/pilates.jpg); }
   .c_dropdown.gimnasia-hipopresiva{background-image: url(../imagenes/gimnasia-hipopresiva.jpg); }
   .c_dropdown.yoga{background-image: url(../imagenes/yoga.jpg); }


@media(min-width: 768px){
  .tabgroup-c .c_dropdown:hover{padding: 20px;}
  .tabgroup-c .c_dropdown:hover .item-body{top: 60px}
  .tabgroup-c .c_dropdown:hover:after{background: rgba(0,41,76,0.8);}

}

@media(min-width: 1024px){
  .tabgroup-c .c_dropdown:hover{padding:35px 20px ;}
  .tabgroup-c .c_dropdown:hover .item-body{top: 80px}
   .c_dropdown .item-body ul li{margin-bottom: 10px}
   .c_dropdown .item-heading{    font-size: 30px;line-height: 37px;}

}

@media(max-width: 767px){
  .tabgroup-c .c_dropdown{flex-basis: 100%;}
  .tabgroup-c .c_dropdown.active{padding: 20px;}
  .tabgroup-c .c_dropdown.active .item-body{top: 50px}
  .tabgroup-c .c_dropdown.active:after{background: rgba(0,41,76,0.8);}
  .c_dropdown .item-heading {font-size: 17px}
  .c_dropdown .item-body ul{max-width: 93%}
}

@media all and (-ms-high-contrast:none)
{


.tabgroup-c .c_dropdown{flex-basis: 43%; }
.tabgroup-c .c_dropdown:last-of-type,.tabgroup-c .c_dropdown.full{flex-basis: 90%}
}
/*centros mapa*/

.mapa{background: url(../imagenes/mapa.jpg)no-repeat center left transparent;width: 100%; height: 100%; min-height: 495px; position: relative;}
.mapa .centro{position: absolute; }

.centro .inner-centro{background: #00335B; position: relative; text-align: left;padding: 10px}
/*.centro .inner-centro:after {content: ""; background: url(../imagenes/icon-location.png);width: 44px; height: 44px; position: absolute; top: 0; left: 0;}*/
.centro .inner-centro:before{content: "";width: 0;height: 0;border-style: solid;border-width: 0 8px 12px 8px;
border-color: transparent transparent #00294c transparent; position: absolute; top: 0; left: 0}
.centro .nombre {font-weight: 600;font-size: 14px;line-height: 17px;text-transform: uppercase;color: #E79379;}
.centro .icon-location{position: relative;width: 100%;}
.centro .icon-location img{position: absolute;}

.centro .direccion {font-weight: 600;font-size: 13px;line-height: 16px; color: #FFFFFF;}

.centro.alcobendas { top: 56px; left: 675px;}
.centro.alcobendas .inner-centro:before{top: -12px; left: calc(50% - 8px)}
/*.centro.alcobendas .inner-centro:after{top: -56px; left: calc(50% - 22px)}*/
.centro.alcobendas .icon-location{width: 160px;}
.centro.alcobendas .icon-location img{top: -56px; left: calc(50% - 22px)}

.centro.chamartin { top: 223px; left: 664px;}
.centro.chamartin .inner-centro:before{top: calc(45% - 6px);left: -11px; transform: rotate(33deg);}
.centro.chamartin .icon-location{width: 118px; }
.centro.chamartin .icon-location img{top: 23px; left: -50px}
/*
.centro.chamartin .inner-centro:after{top: calc(45% - 22px); left: -50px}*/

.centro.fortuny { left: 640px; top: 355px;}
.centro.fortuny .inner-centro:before{top: 10px; left: -11px;    transform: rotate(33deg);}
.centro.fortuny .icon-location{width: 130px; }
.centro.fortuny .icon-location img{top: 0;left: -51px;}

/*.centro.fortuny .inner-centro:after{top: 0;left: -51px;}*/

.centro.isaac-peral { left: 434px; top: 400px;}
.centro.isaac-peral .inner-centro:before{top: -12px;right: 10px; left: unset;}
.centro.isaac-peral .icon-location{width: 125px; }
.centro.isaac-peral .icon-location img{top: -63px; right: -5px; left: unset;}

/*.centro.isaac-peral .inner-centro:after{top: -63px; right: -5px; left: unset;}*/


.centro.pozuelo { top: 392px; left: 230px;}
.centro.pozuelo .inner-centro:before{top: -12px; left: calc(50% - 8px)}
.centro.pozuelo .icon-location{width: 138px; }
.centro.pozuelo .icon-location img{top: -56px; left: calc(50% - 22px)}

/*.centro.pozuelo .inner-centro:after{top: -56px; left: calc(50% - 22px)}*/


@media(max-width: 850px){
  .section-mapa .wrapper{overflow: hidden;}
  .mapa{width: 1300px; height: 100%;transform: translateX(-195px);}
}

@media(max-width: 767px){

  .section-mapa .wrapper{overflow: initial;}
  .mapa{width: 100%;min-height: 360px;background: url(../imagenes/mapa-responsive.jpg)no-repeat center left transparent;transform: translateX(0); 
    background-size: cover;max-width: 370px; margin: 0 auto}
  .centro .icon-location img {max-width: 32px;}

  .centro.alcobendas { top: 49px; left: 203px;}
  .centro.alcobendas .icon-location img {    top: -48px;    left: unset;    right: 10px;}
  .centro.alcobendas .inner-centro:before {    top: -12px;    left: unset;
    right: 17px;}


  .centro.chamartin { top: 50px;   left: 166px;}
  .centro.chamartin .icon-location img {top: 47px; left: 130px;}
  .centro.chamartin .inner-centro:before { top: 56px; left: 113px; transform: rotate(-33deg);}

  .centro.fortuny { left: 79px; top: 256px;}
  .centro.fortuny .icon-location img {top: 3px;left: 143px;}
  .centro.fortuny .inner-centro:before { top: 21px;left: 124px; transform: rotate(-33deg);}


  .centro.pozuelo {top: 265px; left: 0;}
  .centro.pozuelo .icon-location img {top: -49px; left: 25px;}
  .centro.pozuelo .inner-centro:before { top: -12px; left: 33px;}

  .centro.isaac-peral { left: 75px; top: 291px;}
  .centro.isaac-peral .icon-location img { top: -45px;  right: -5px;
    left: unset;}
    .centro.isaac-peral .inner-centro:before { top: -12px;    right: 4px;    left: unset;}
    .centro .inner-centro{display: none;z-index: 2}







}

@media(max-width: 375px){
    .mapa{width: 320px;min-height: 360px;background: url(../imagenes/mapa-responsive.jpg)no-repeat center left transparent;transform: translateX(0); background-size: contain;max-width: 320px; margin: 0 auto}
  .centro.alcobendas { top: 61px; left: 157px;}
  .centro.alcobendas .icon-location img {    top: -48px;    left: unset;    right: 10px;}
  .centro.alcobendas .inner-centro:before {    top: -12px;    left: unset;
    right: 17px;}


  .centro.chamartin { top: 135px;left: 83px;}
  .centro.chamartin .icon-location img {top: 47px; left: 130px;}
  .centro.chamartin .inner-centro:before { top: 56px; left: 113px; transform: rotate(-33deg);}

  .centro.fortuny { left: 47px; top: 240px;}
  .centro.fortuny .icon-location img {top: 3px;left: 143px;}
  .centro.fortuny .inner-centro:before { top: 21px;left: 124px; transform: rotate(-33deg);}


  .centro.pozuelo {top: 265px; left: 0;}
  .centro.pozuelo .icon-location img {top: -49px; left: 25px;}
  .centro.pozuelo .inner-centro:before { top: -12px; left: 33px;}

  .centro.isaac-peral {left: 47px; top: 293px;}
  .centro.isaac-peral .icon-location img { top: -45px;  right: -5px;
    left: unset;}
    .centro.isaac-peral .inner-centro:before { top: -12px;    right: 4px;    left: unset;}
}

@media(max-width: 320px){
  .section-mapa .wrapper{overflow: hidden;}
  .mapa { transform: translateX(-33px);}
  .centro.pozuelo {    top: 265px;    left: 16px;}
  .centro.pozuelo .icon-location img { top: -49px; left: 4px;}
  .centro.pozuelo .inner-centro:before { top: -12px; left: 11px;}


}


/*centros address*/

.address-bar {width: 100%; background:#D39E9E ; box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); padding: 20px;font-size: 18px; line-height: 22px; display: flex; justify-content: flex-start; align-items: center;}
.address-bar p{position: relative; flex-basis: 33%; color: #ffffff;}
.address-bar p:after {content: ""; height: 23px;width: 0;border-right: 1px solid #FFFFFF; position: absolute; right: 0; top: 0; }
.address-bar p:last-of-type{text-align: center;}
.address-bar p:last-of-type:after{content: none;}
.address-bar .grow {flex-grow: 1}

.address-box{background:#00335B; color: #fff;
width: 100%; display: flex; align-items: stretch; justify-content: space-between; flex-direction: column;font-size: 18px;
line-height: 22px; min-height: 232px; padding: 25px 30px}
.address-box .centro{font-size: 20px;
line-height: 24px;}
.address-box a {color: #fff; text-decoration: underline;}

footer {background: #00335B; padding: 15px 0 ;margin: 60px 0 0 ;}
footer .wrapper {display: flex; align-items: center; justify-content: space-between;}
footer p, footer a {color: #ffffff}
.legales {display: flex; justify-content: flex-end; align-items: center;}
.legales a{position: relative; padding: 5px 10px }
.legales a:after {content: ""; height: 23px;width: 0;border-right: 2px solid #FFFFFF; position: absolute; right: 0; top: 0;}
.legales a:last-of-type{padding: 5px 0 5px 10px;}
.legales a:last-of-type::after {content: none;}
.item-fixed {position: fixed; bottom: 50px; right: 50px;z-index: 100; }
.item-fixed:hover {animation: bounce 1s ease forwards;}
.btn-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 3px 5px;
	z-index: 1010;
	display: none;
}
.btn-fixed-bottom a {    background: url(../imagenes/icon-tlf.png) no-repeat left 74px center #DB3907;
    padding: 13px 20px;
    color: white;
    border-radius: 6px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
	display: inline-block;
	text-align: center;
    width: 100%;
}


/*slider generales*/

.slick-initialized .slick-slide{outline: none;}
.slick-slider ul {
	outline: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start;
    margin: 15px 0 0;
    list-style: none;
}
.slick-slider ul li button {
    background-color: #d8d8d8;
    color: transparent;
    border: none;
    margin-right: 10px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    padding: 0;
    outline: none;
}
.slick-slider ul li.slick-active button {
    background-color: #269FF0;
}

/*TABS sencillos*/

.tabs {
    padding: 10px 0 0;
    margin:0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -ms-flex-pack: flex-start;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}
 .tabs li {
    text-align: left;
    position: relative;
    margin: 0 10px 10px 0;
}
.tabs li a {
    padding: 5px 25px;
    font-size: 16px;
    line-height: 1.2;
    min-height: 50px;
    color: #333333;;
    position: relative;
    background: #F1F1F1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
}
.tabs li a.active {

    color: #ffffff;
    text-decoration: none;
    background:#00335B;
    font-weight: 300;
}



.tabgroup > div{display: none;}

#filtro {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 2000px;
    visibility: hidden;
    display: none;
    filter: alpha(opacity=70);
    opacity: .7;
    z-index: 9999;
    background-color: #000;
}



/*media queries generales*/

@media(min-width: 768px){
  .visible-xs{display: none!important;}
}

@media (max-width:1299px){
	.wrapper {padding: 0 20px;}
}

@media(max-width:1024px){
	.form {flex-wrap: wrap;}
	.form p {padding: 0 0 20px; flex-basis: 100%; text-align: center;}
    .form p br {display: none;}
	.txt-header {padding: 40px 0 10px}

}

@media(min-width:1024px) and (max-height:800px){
	.txt-header {padding: 40px 0 10px;}


}
@media(min-width:1024px) and (max-height:700px){
	.txt-header {padding: 40px 0 10px;}

}

@media(min-width:1024px) and (max-height:650px){
	.txt-header {padding: 20px 0 10px;}
  .txt-header .title{margin: 0 0 15px 0;}

}


@media (max-width:800px){
	.items-inner-treatment {flex-wrap: wrap;}
	.item-treatment {flex-basis: 100%;     max-width: 585px;}
	header{ max-height: 936px; background-size: cover; }

	.item-bottom {position: relative; }
	.address-bar p {flex-basis: 50%;}


	.item-icons ul {padding: 0 5px 0 65px;}
  .form form>div:first-of-type{flex-wrap: wrap;}
  .form input[type='text'], .form input[type='tel'], .form input[type='email'], .form select{width: 48%}
  .form .item-condiciones{margin: 0 0 15px}
  .item-icon { flex-basis: 30%; }
.item-icon:last-of-type{flex-basis: 30%}

}

@media(max-width:767px){
  body{overflow-x: hidden;}
  header { max-height: unset;background: url(../imagenes/bg-header-mobile.jpg)no-repeat top center  #192a34;background-size: 100%;overflow-x: hidden;}

  footer{padding: 15px 0 70px; margin: 15px 0 0}
  .txt-header {    padding: 40px 0 10px;}
  .txt-header p{font-size: 20px; line-height: 1.2}
  .txt-header .title {font-size: 30px; line-height: 1.2;margin: 0 0 30px;}
  .txt-header .header-box-text p{font-size: 14px}
  .txt-header .header-box-text p:first-of-type{font-size: 18px;line-height: 23px}
  .form .title{margin: 0}

  .hidden-xs{display: none;}
	.address-bar {flex-wrap: wrap;}
	.address-bar p {flex-basis: 100%; text-align: center; margin: 0 0 10px;}
	.address-bar p:after {content: none}

	.item-icons {flex-basis: 100%;}
	.form form {flex-direction: column;width: 100%;    align-items: center;}
	.form input[type='text'], .form input[type='tel'], .form input[type='email'], .form select{width: 100%;margin: 0 0 15px}
	.item-condiciones {margin: 0 0 15px;}
	.form {padding: 20px;}
    .form .item-condiciones {flex-direction: column;}
	.form p {text-align: center; font-size: 20px;}
	.title-section {font-size: 25px;    line-height: 1.2;}


	footer .wrapper {flex-direction: column;}
	footer p {margin:0 0 10px}
	.item-fixed {right: 10px;}
	.item-icons ul {padding: 20px 5px;}




	.item-treatment .item-back {padding: 0 20px;}


	.item-fixed {display: none;}
	.btn-fixed-bottom {display: block;}

    .form.bienestar input[type='text'], .form.bienestar input[type='tel'], .form.bienestar select{width: 100%;}
    .tabs li {margin: 0; border-bottom: 1px solid #fff; width: 100%;}
    .item-icon { flex-basis: 50%; min-height: 210px; }
.item-icon:last-of-type{flex-basis: 50%}

}


@media (max-width: 425px){
	.header .logo-movil {display: block;background: #007acc; margin: 0 auto; width: calc(100% + 40px);padding: 5px 0 ; text-align: center; left: -20px; position: relative;}
	.header .logo-desktop {display: none;}
}


/*animacion bocadillo*/
@keyframes bounce {
	0% {
    transform: translateY(0px);
	}

	100% {
	    transform: translateY(-15px);
	}
}

/*animacion flecha*/
@keyframes move {
    0% {
    transform: translateY(0px);
    }

    50% {
        transform: translateY(20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* animacion checkbox */

@keyframes checkbox-check {
  0% {
    width: 0;
    height: 0;
    border-color: #000000;
    transform: rotate(45deg) translate(4px, 8px);
    opacity: 0; }
  30% {
    opacity: 1;
    width: 0; }
  50% {
    width: 8px;
    height: 0;
    transform: rotate(45deg) translate(0, 0); }
  100% {
    width: 8px;
    height: 16px;
	border-color: #000000; }
}


