
/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

@font-face {
  font-family: 'opensansbold';
  src: url('fonts/OpenSans-Bold-webfont.eot');
  src: url('fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
  url('fonts/OpenSans-Bold-webfont.woff') format('woff'),
  url('fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
  url('fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'opensanslight';
  src: url('fonts/OpenSans-Light-webfont.eot');
  src: url('fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
  url('fonts/OpenSans-Light-webfont.woff') format('woff'),
  url('fonts/OpenSans-Light-webfont.ttf') format('truetype'),
  url('fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'opensansregular';
  src: url('fonts/OpenSans-Regular-webfont.eot');
  src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
  url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
  url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
  url('fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'opensanssemibold';
  src: url('fonts/OpenSans-Semibold-webfont.eot');
  src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
  url('fonts/OpenSans-Semibold-webfont.woff') format('woff'),
  url('fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
  url('fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
  font-weight: normal;
  font-style: normal;

}

body, a, h1, h2, h3, h4, p {
  font-family: 'Raleway', sans-serif;
}

body, html {
  margin:0px;
  padding:0px;
  width:100%;
  height;100%;
}

/*--------------------------------------------------------------
3.0 Navigation
--------------------------------------------------------------*/
#masthead {
  background-color: #026169;
}
nav {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1em;
  font-family: 'Raleway', sans-serif;
  position: relative;
  background-color: #026169;
  vertical-align: middle;
  padding: 1%;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
nav a#pull {
  display: none;
}
.logominimenu {
  display:none;
  border-bottom: 1px solid #3EC0DA;
}
.clearfix img {
  margin-top: 6px;
  display: inline-block;
  vertical-align: middle;
}
#langbutton {
  background-color: #026169;
  color: white;
}





/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/



/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/







/*--------------------------------------------------------------
SLIDER
--------------------------------------------------------------*/


.bx-viewport{
  max-height:360px;
}

p {
  margin-bottom:4%;
}
.bxslider article a {
  line-height:normal;
}
.infoizquierda {
  float:left;
  width:45%;
  padding-left: 10%;
  padding-right: 5%;
  padding-top: 5%;
}
.imgderecha, .imgderecha2 {
  float:right;
  width:50%;
  display:inline-block;
}
#moto {
  width:35%;
  padding-left: 10%;
  padding-right: 5%;
  padding-top: 0;
}
.infoizquierda2 article {
  padding-left: 10%;
  padding-right: 5%;
}
.infoizquierda2 div {
  background-color:#3EC0DA;
  height:70px;
  padding-top: 2%;
  padding-left: 0;
  padding-bottom: 5%;

}
.infoizquierda2 div img {
  width:400px;
  margin:auto;
}
.infoizquierda h1, .infoizquierda h2, .infoizquierda2 header h1, .infoizquierda2 header h2 {
  color:#026169;
  font-size:2em;
}
.infoizquierda h1, .infoizquierda2 header h1  {
  font-family:'Raleway', sans-serif;
  font-weight: 500;
}
.infoizquierda h2, .infoizquierda2 header h2  {
  font-family:'Raleway', sans-serif;
  font-size: 1.8em;
  margin-top: -8px;
  font-weight: 100;
}
.infoizquierda p, .infoizquierda2 article p {
  max-width:453px;
}
a.boton {
  padding: 8px;
  background-color: #026169;
  padding-left: 16px;
  padding-right: 16px;
  color: white;
  font-size:0.8em;
}
a.boton:hover {
  background-color:#3ec1db;
}

ul.bxslider {
  margin: 0;
  padding: 0;
}

.bx-wrapper img{
  display:block;
  max-width: 100%;
}


/*--------------------------------------------------------------
BARRA NUMEROS IMPORTANTES
--------------------------------------------------------------*/


.flecha {
  margin-top: -1%;
}
#cajaflecha {
  background: #4fc0d8;
  display: inline-block;
  height: 100px;
  position: relative;
  width: 25%;
  float:left;
}
#cajaflecha:before {
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 29px solid #4fc0d8;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  left: 100%;
  width: 0;
}
#cajaflecha h3 {
  margin-left: 39%;
  color: white;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
  font-size: 1.3em;
}
.numeros {
  float:left;
  width:25%;
  background-color: #f9a106;
  height: 90px;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.numeros:nth-child(2) {
  padding-left: 2%;
}
.numeros h3 {
  margin-left: 17%;
  color:white;
  font-weight: 500;
}
.numeros:last-child {
  border-right:none;
}
span {
  font-family:'Raleway', sans-serif;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
}
.numeros:nth-child(3) {
  background-color:#f7c75c;
}




/*--------------------------------------------------------------
CENTROS ASOCIADOS
--------------------------------------------------------------*/



div.clear {
  clear:both;
}

.owl-carousel {
  width:900px !important;
  margin: auto;
  padding-bottom: 2%;
  padding-top: 2%;
}
.owl-carousel a {
  display:block;
}





/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/



footer {
  background-color:#026169;
  text-align:center;
  margin-top: -20px;
  height: 100px;
  padding-top: 4%;
}
footer h2 {
  color:white;
  font-size:0.8em;
}
footer p {
  color:white;
  font-size:0.8em;
  margin:0;
  padding:0;

}





/*--------------------------------------------------------------
INSTITUCIONAL
--------------------------------------------------------------*/


.titu div{
  background-color:#F9A106;
}
.titu div div {
  float:left;
  width:50%;
}
.titu div div p {
  width:50%;
}


/*--------------------------------------------------------------
MEDIA QUERIES
--------------------------------------------------------------*/
@media only screen and (max-width : 1200px) {
  body { font-size: 80%;}
  .infoizquierda {
    padding-top: 4%;
  }
  .numeros {
    padding-top: 1.5%;
  }
  #cajaflecha h3 {
    margin-top: 10%;
  }
}


@media only screen and (max-width : 900px) {
  body { font-size: 70%;}
  .infoizquierda {
    padding-top: 4%;
  }

  #moto {
    padding-top:%2;
  }
  .infoizquierda2 article {
    padding-left: 10%;
    padding-right: 5%;
  }
  .infoizquierda2 div {
    padding-top: 3%;
    padding-left: %6;
  }

  .infoizquierda2 div img {
    width:43%;
  }
  .numeros {
    padding-top: 2%;
  }
  #cajaflecha h3 {
    margin-top: 15%;
  }
}



@media only screen and (max-width : 600px) {
  body { font-size: 56%;}
  nav {
    height:auto;
  }
  nav ul li:nth-child(3) {
    display:none;
  }
  nav ul li {
    display: block;
    float: none;
    width: 100%;
    border-bottom: 1px solid white;
    text-align:left;
    height:45px;
  }
  nav ul {
    display: none;
    height: auto;
  }
  nav a#pull {
    display: block;
    background-color: white;
    width: 100%;
    position: relative;
    text-align:left;
    padding-left: 8px;
    font-size: 1.4em;
    line-height: 47px;
  }
  nav a#pull:after {
    content:"";
    background: url('img/navicon.png') no-repeat;
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 10px;
  }
  nav {
    border:none;
  }
  .logominimenu {
    display:block;
  }
  nav ul li a {
    line-height: 45px;
    color: white;
    height: 45px;
    display: block;
    text-align: left;
    padding-left: 37px;
    font-size: 1.3em;
    background-color:#b5e0eb;
  }
  nav ul li a:hover {
    color:white;
  }
  nav ul li a:active {
    background-color:#f9a106;
  }
  .logominimenu img {
    width:80px;
    margin-bottom:6px;
    margin-top: 9px;
  }
  .logominimenu {
    text-align:center;
  }
  .imgderecha, .infoizquierda, .imgderecha2, .infoizquierda2 {
    float:none;
    width:100%;
    padding-right: 0;
    padding-top: 0;
  }
  .infoizquierda {
    padding-left: 6%;
  }
  .infoizquierda p, .infoizquierda2 p {
    display:none;
  }

  .bx-viewport{
    max-height:478px;
  }
  .infoizquierda2 div img {
    width:66%;
  }
  .infoizquierda2 div {
    height:44px;
  }
  #moto {
    width:100%;
  }
  .numeros:nth-child(2) {
    width:50%;
    height:80px;
  }
  .numeros h3:nth-child(2) {
    margin-top:12%;
  }
  .flecha {
    margin-top: 0;
  }
  #cajaflecha {
    width:50%;
    height:80px;
  }
  #cajaflecha h3 {
    font-size: 1.7em;
    margin-top:10%;
    margin-left:13%;
  }
  #cajaflecha:before {
    border-top: 40px solid transparent;
    border-bottom: 39px solid transparent;
  }
  .numeros {
    width:100%;
    border-right:none;
    height:60px;
    text-align: center;
    padding-top:0;
    padding-bottom:0;
    font-size: 1.3em;
  }
  .numeros h3 {
    margin-left:0;
  }
  .owl-carousel {
    width: 60% !important;
    margin: auto;
  }

  footer {
    margin-top: -26px;
  }
  footer h2, footer p {
    font-size:1.2em;
  }
  .owl-carousel .owl-item img {
    width: 60%;
    margin:auto;
  }
}
