/*@import url(http://fonts.googleapis.com/css?family=Open+Sans);

@import url(http://fonts.googleapis.com/css?family=Exo+2:400,900);

/*	  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
		  */

a {
	text-decoration:none;
}

body {
  background-color: #F0F0EE;
  color: #303333;
  font-family: "Roboto",Arial, Helvetica, sans-serif;
  font-size: 12px;
}

/* STRUCTURE */

#pagewrap {
  position: relative;
  padding: 0;
  width: 1150px;
  margin: 0 auto;
}


/************************************************************************************
ESTILOS SEPARADORES
*************************************************************************************/

.separadorp {
  clear: both;
  height: 7px;
  background-color: #F0F0EE;
}

.separadorG {
  clear: both;
  height: 30px;
  background-color: #F0F0EE;
}

/************************************************************************************
ESTILOS PRE CABECERA
*************************************************************************************/

#precabecera {
  background-color: #F0F0EE;
  margin: 0;
  padding: 20px 0 20px 0;
  position: relative;
}

#nav {
  font-size: 12px;
  float: right;
  position: absolute;
  margin: 0;
  padding: 6px 3px 6px 3px;
  
  border-radius: 100px;
  background: #fff;
  bottom: 10px;
  right: 0;
}

.button-off {
  border-radius: 100px;
  background: #fff;
  padding: 4px 9px 4px 9px;
  color: #007dd1;
  margin-top: 0;
  text-decoration: none;
}

.button-on {
  border-radius: 100px;
  background: linear-gradient(180deg, #00b3e8 0%, #007ccc 100%);
  padding: 4px 9px 4px 9px;
  color: #ffffff;
  margin-top: 0;
  text-decoration: none;
}

.button-off:hover, .button-off:focus {
  background:#f7f7f7;
  color: #007dd1;
}


/************************************************************************************
ESTILOS CABECERA
*************************************************************************************/

#cabecera {
  position: relative;
  height: 300px;
  display:table;
  /*background-size: auto 100%;*/
  background-size: cover !important;
  width: 100%;
}

#cabecera h1 {
 display:table-cell;
vertical-align: middle;
 text-transform:uppercase;
  margin: 0;
  padding: 20px;  
  font-family: 'Open Sans', sans-serif;
  /*font-family: 'Exo 2', sans-serif;*/
  /*font-family: 'Archivo Black', sans-serif;*/
  font-size: 50px;

  line-height:65px;
 

/*  text-shadow:
	1px 1px 0 #fff,
  	2px 2px 0 #fff,
    3px 3px 0 #fff,
	4px 4px 0 #fff;*/
	color: #fff;
	 text-shadow: 0 1px 0 #ccc, 
               0 2px 0 #c9c9c9,
			    0 3px 0 #bbb,
               0 4px 0 #000,

      
               0 0 3px rgba(0,0,0,.4),
               0 1px 2px rgba(0,0,0,.6),
               0 2px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.35),
               0 5px 5px rgba(0,0,0,.3),
               0 10px 10px rgba(0,0,0,.25);

}

#barra-info {
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  padding: 0;
  padding-left: 20px;
  padding-right: 20px; 
  color: #FFFFFF;
  height: 50px;  
  bottom: 10px;
  right: 0;
  text-align: right;
  background-color: #2d343e;
}

#barra-info2 {
  display:none;
  font-size: 16px;
  font-weight: bold; 
  padding: 5px 15px;
  background-color: #2d343e;
  color: #fff;   
}


/************************************************************************************
ESTILOS BLOQUE INTRO
*************************************************************************************/

#texto-intro {
  float: left;
  width: 100%; 
  padding: 19px;
  background-color: #ffffff;
  font-size:16px;
  box-sizing: border-box;
  line-height: 22px;
}
#texto-intro ul{
	margin-top:0;
	list-style: none;
	padding: 0;
}
#texto-intro span{
	font-size:16px !important;
}
#texto-intro p{
	margin-top:0;
	margin-bottom: 10px;
}

#texto-intro a,
#texto-intro strong a {
	color:#007dd1 !important;
}

.promo_banner{
	  background-color: #709d50; 
	  height: 100px;
	  display: table;
	  color: #FFFFFF;
	  font-size: 22px;	  
	  width: 100%;
	  font-weight: 300;
  }	
  .promo_banner .icon {
	padding-left: 10px;
	padding-right: 20px;
	display: table-cell;
	vertical-align: middle;
  }
  .promo_banner .text {
    display: table-cell;
    vertical-align: middle;
    text-transform: uppercase;
    width: 100%;
  }	
  .promo_banner .mes_info {
    display: table-cell;
    text-transform: uppercase;
    vertical-align: middle;
    font-size: 25px;
    text-align: right;
    padding-right: 10px;
    min-width: 185px;
  }
  .promo_banner .mes_info a{
	color: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding: 7px 40px;
  }

  .promo_banner_esdeveniment{
    background-color: #333333; 
  }

/*
#banner {
  border: 0;
  padding: 0;
  float: right;
  width: 520px;
  height: 160px;
  text-align: center;
  font-size: 18px;
  font-style: italic;
  background-color: #f7f7f7;

}
#banner .wrapper{
	padding:10px;
}
#banner p {
  margin: 5px 0 0 0;
  padding: 0;
}
#banner strong {
	color:#007dd1 !important;
}

.text-b {
  /*font-weight: bold;*/
}
*/

#bloque-intro a {
  color:#000;
}

/************************************************************************************
ESTILOS BLOQUE
*************************************************************************************/

.bloques {
	
	 display: -webkit-flex; /* Chrome */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
	-webkit-flex-direction: row; /* Safari 6.1+ */
   /* -webkit-justify-content: center; /* Safari 6.1+ */
	
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
/*  justify-content: center;*/
  align-content: flex-start;
  align-items: stretch;
  background-color: #FFFFFF;
  padding-top: 20px;
  position:relative;
}


.titulo-contenedor {
  position: absolute;
  left:0;
  top:-10px;
}

.titulo-bloque {  
  bottom: 35px;
  margin: 0;
  margin-left: 20px;
  padding: 5px;
  background-color: #2d343e;
  color: #FFFFFF;
/*  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; */
  font-size: 25px;
  font-weight: bolder;
  text-transform:uppercase;
}

/************************************************************************************
ESTILOS BLOQUE CURSO
*************************************************************************************/

.curso {
  width: 350px;
  padding: 0;
  margin-left: 19px;
  margin-right: 14px;
  margin-top: 19px;
  margin-bottom: 19px;
  display:inline-block; /* para ie9 y menor */
}
.fantasma {
    margin-top: 0;
    margin-bottom: 0;
}
.curso .crop {
    position: relative;
}
.curso .crop img{
	max-height: 400px;
	border:none;
}
.curso .tags_container {
    display: flex;
    position: absolute;
    top: 10px;
    left: 10px;
    flex-wrap: wrap;
}
.curso .tag_img {
    font-size: 12px;
    color: #FFFFFF;
    padding: 2px 7px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
}
.curso .tag_img_down {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: #4E5357;
}
.curso .tag_preu_descompte{
	position: absolute;
	left: 10px;
	bottom: 10px;			
	background-color:  #4E5357;
  padding: 0px 0px 0px 7px;
  
}
.curso .tag_preu{
	position: absolute;
	left: 10px;
	bottom: 10px;			
	background-color:  #4E5357;
  padding: 0px 7px 0px 7px;
  color:#303333 !important;
  
}
.curso .tag_preu_descompte .subrayat{
  margin:0 !important;
  margin-left:5px !important;
  padding: 2px 10px !important;
  color:#303333 !important;
}
.curso .tag_img_up {
    margin-right: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}
.curso .tag_SI {
    background-color: #fe5a5b;
}
.curso .tag_online {
    background-color: #00cb00;
}
.curso .tag_promocio{
	 background-color: #73273e;
	cursor: help;
}
.curso svg{
	width: .875em;
	display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}
.curso .info {
    background: #f7f7f7;
    padding: 10px;
    min-height: 70px;
}
.curso .info .swiper_titol {
    color: #303333 !important;
    font-weight: 700;
	font-size: 16px;
	margin-bottom: 10px;
}
.curso .info .swiper_subtitol {
    font-size: 12px;
    /* position: absolute; */
    bottom: 10px;
    /* white-space: nowrap; */
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.curso .info .swiper_subtitol .tipus{
	margin-bottom: 5px;
	font-weight: bold;	
}
.curso .info .b-info{	
	margin: 0;						
	height: 35px;
	background: linear-gradient(180deg, #00b3e8 0%, #007ccc 100%);
	align-content: center;
	text-align: center;
	padding: 4px 8px;
	color: #ffffff;
	line-height: 35px;
	border: 1px #0F0;
	font-size: 14px;
	font-weight: bold;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	margin-top: 12px;    
}



/************************************************************************************
ESTILOS FOOTER
*************************************************************************************/

footer {
  clear: both;
}

.fa-stack {
    display: inline-block;
    height: 2em;
    position: relative;
    width: 2em;
}
.fa-lg {
    font-size: 1.33333em;
    line-height: .75em;
    vertical-align: -.0667em;
}
svg:not(:root).svg-inline--fa {
    overflow: visible;
}
.svg-inline--fa.fa-stack-2x {
    height: 2em;
    width: 2em;
}
.fa-stack-1x, .fa-stack-2x {
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
}
.svg-inline--fa {
    display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}
#social-footer {
  background: #333333;
  color: #FFFFFF;
  margin: 0;
  padding: 12px 15px;  
}
.social{
	list-style: none;
	padding:0;
	margin:0;
}
.social li{
	display: inline-block;
    padding-left: 10px;
}
.social li a{
	display: block;
    color: #FFFFFF;
    font-size: 11px;
	text-decoration: none;
}
.social  .fa-stack-1x {
    color: #303333;
}

/*#social-footer {
  background: #333333;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  padding-left: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
}

#social-footer a {
  margin: 2px;
}*/

#text-footer {
  background: #333333;
  color: #FFFFFF;
  font-size: 12px;
  padding: 0;
  margin: 0;
  padding-left: 15px;
  padding-top: 6px;
  padding-bottom: 6px;
  text-align: center;
}

#text-footer a {
  color: #FFFFFF;
}
#tooltip{
  width:200px !important;
  line-height:15px;
}
/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 1165px) {
 
  #pagewrap {
    width: 94%;
  }

  .curso {
   /* float: right;*/
   /* para que se puedan hacer pequeños*/
   -webkit-flex-grow: 1;   
   -webkit-flex-shrink:1;
   flex-grow: 1;
   flex-shrink: 1;
  }

  #texto-intro {   
    margin: 1px 1px 10px 1px;	
  }

  #banner {
    clear: both;
    width: 100%;
    margin: 1px;
	height:auto
  }
	
  
	

  .b-info {
    width:auto;
	margin:0 8px 8px 8px;
  }

  .titulo-bloque {
    font-size: 18px;
  }
 /* resimensionamos ancho curso*/
  .curso{	
		max-width:380px; /** QUIDADO, SI SE CAMBIA ESTO REVISAR EL HACK IE11 QUE HAY ABAJO */
	}
	.img-curso{
		width:auto;
	}
	.img-curso img{
		width:406px;
	}
	 /* HACK IE11 PORQUE SI SE CENTRA CUANDO TIENE ENTRE 960 Y 850 PX NO LO HACE BIEN */
/*	_:-ms-fullscreen, :root .bloques { justify-content: inherit; }*/
}

/* for 980px or less */
@media screen and (max-width: 850px) {	
 /* HACK IE11 PORQUE SI SE CENTRA CUANDO TIENE ENTRE 960 Y 850PX NO LO HACE BIEN */
/*	_:-ms-fullscreen, :root .bloques { justify-content: center; }*/
	
}
/* for 980px or less */
@media screen and (max-width: 800px) {
	#cabecera h1 {
 	   font-size: 37px;	
 	}
	.promo_banner{
		font-size: 16px;
		 height: 100px;
	}
	.promo_banner .mes_info {
		font-size: 14px;
		min-width: 100px;
	}
	.promo_banner .mes_info a{
		padding: 7px 20px;
	}
	
}

/* for 700px or less */
@media screen and (max-width: 600px) {
	
  #logo {
    margin-bottom: 20px;
  }
  #logo img{
	  width:290px;
  }

  #cabecera {
    height: 150px;
	display:table;	
	width: 100%;
  }

  #cabecera h1 {
    font-size: 27px;
    line-height: 30px;	
	
	padding:10px;
	display:table-cell;
	vertical-align:middle;	
	
	
	
	text-shadow: 0 1px 0 #ccc, 
               0 2px 0 #c9c9c9,
               0 3px 0 #000,

      
               0 0 3px rgba(0,0,0,.4),
               0 1px 2px rgba(0,0,0,.6),
               0 2px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.35),
               0 5px 5px rgba(0,0,0,.3),
               0 10px 10px rgba(0,0,0,.25);


	
  }
	
  .promo_banner{
		font-size: 15px;	 
	}
	.promo_banner .mes_info {
		font-size: 13px;
		min-width: 90px;
	}
	.promo_banner .mes_info a{
		padding: 7px 15px;
	}
		
	
  .barra-SI-vacio{
	  display:none;
   }

  .curso {

    float: none;
    margin: 10px;
  }

  #texto-intro {   
    height: auto;
    margin-left: 0;
  }

  #barra-info {
    display: none;
  }
  #barra-info2{
    display: block;
  }

/*  #banner {
    clear: both;
    width: auto;
    margin: 1px;
  }*/
  
  .titulo-bloque {
    font-size: 14px;
  }
}
/* for 500px or less */
@media screen and (max-width:500px) {
  #cabecera h1 {
    font-size: 24px;	
  }
  
  
  
  
  
}