@charset "UTF-8";
/* CSS Document */

 @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600');



*{
	box-sizing: border-box;
}


body{
  font-family: 'Source Sans Pro', arial, sans-serif;
  background-color: #fff;
}

.clear{clear: both;}

h3{
	color:#333;
	font-size: 1.25rem;
    font-weight: 600;
    margin: 0.5em 0;
    line-height: 1.25;
}

h4{
  	color:#ab1113;
	margin:0.3em 0	
}

p{
	line-height: 1.5;
	font-size: 1rem;
}


a{
	color:#fff;
	cursor: pointer;
}

/*___-------BOTONES------___*/

a.button-link{
	border-radius: 0;
    position: relative;
    display: inline-block;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    border: 0;
    font-weight: normal;
    background-color: #00917e;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    text-decoration: none;
    padding: 0.6em 1.5em;
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: background-color 0.3s;
    -ms-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

a.button-link:hover, a.button-link:active{
	background-color: #007465
}


.button-cerrar{
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  cursor: pointer;
}

.button-cerrar img{
	position: absolute;
    bottom: 0.73em;
    margin-left: -0.345em; 
    left: 50%;
    text-decoration: none;
    width: 0.69em;
    opacity: 0.6;
    height: auto;
}



.button-cerrar:hover img{
	opacity: 0.8;
	width: 0.76em;

}



.container{
	max-width: 1200px;
	margin: auto;
}

/*___-------PRODUCTOS------___*/
.productos{
	width: 100%;
	ddisplay: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
		justify-content: center;
}


.producto{
	 -webkit-box-flex: 1 1 200px;
  	-moz-box-flex:  1 1 200px;
  	-webkit-flex:  1 1 200px;
  	-ms-flex:  1 1 200px;
  	flex:  1 1 200px;
	position: relative;
	min-width: 200px;
	min-height: 340px;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	align-items: center;
	justify-content:center;
	border: solid 2px #e3e3e3;
	margin: 0.5em 0.3em;
	background-color: #f8f8f8
}

/*___-------OVERVIEWS------___*/

.button-info{
	width: 100%;
	height:100%;
	cursor: pointer;
	text-align: center;
	padding: 0 0.5em; 
	-webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.button-info img{
	display: block;
	margin: auto;
	width: 4.5em;
	height: 4.5em;
	-webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.button-info:hover{
	background-color: #f1f1f1
}

.button-info:hover img{
    width:5em;
    height: 5em
}

.button-info:hover h3{
    color:#ab1113;
}

.button-info h3{
    width: 100%;
}

.overview{
	/*margin: 50% 1em 0 1em;*/
	position: relative;
	top:50%;
	margin-top:-4.5em;
}



/*___-------CAPA EMERGENTE------___*/

.description{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 100%;
	left: 0;
	background-color: #cc0033;
	z-index:999;
	padding: 1em 1.5em;
	color: #ffffff;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	align-items: center;
	text-align: center;
	visibility: hidden;
	-webkit-transition: all 0.15s ease;
  	-moz-transition: all 0.15s ease;
  	-o-transition: all 0.15s ease;
  	-ms-transition: all 0.15s ease;
  	transition: all 0.15s ease;
}




.producto.active .description{
	top: 0;
    -webkit-transition: all 0.15s ease;
  	-moz-transition: all 0.15s ease;
  	-o-transition: all 0.15s ease;
  	-ms-transition: all 0.15s ease;
  	transition: all 0.15s ease;
  	visibility: visible;
}

.producto.active .button-info{
	display: none;
}
/* -------- RESPONSIVE -------- */

@media all and (max-width: 420px) {

  p{font-size: 0.85rem;}

  .producto{
    min-height: 150px;
    margin: 0.28em 0.3em;
  }

  .overview{
    display: flex;
    text-align: left;
    padding: 0 1em;
    height: 100%;
    align-items:center;
    justify-conten:center;
    margin:0;
    top: 0;
  }

  .overview h3{
    width: auto;
    margin-left: 1.5em;
    font-size: 1rem;
  } 

  .overview img{
    width: 3.5em;
    height: auto;
  }

  .button-cerrar img{
    width: 0.5em;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }

   .button-cerrar:hover img{
    width: 0.55em
  }

  .description{
    top: 0;
    left: -100%
  }

  .producto.active .description{
    left: 0;
  }
}


@media all and (min-width: 421px) and (max-width: 680px){

  body{
    background-image: none;
  }

  h3{
  	font-size:1.1rem;
  }

  p{
    line-height: 1.3em;
    font-size: 0.95rem;
  }

  .container{
    max-width: 1200px;
    margin: auto;
  }

  .productos{
  	min-height: 500px;
  }


  .producto{
  	min-height: 250px;
  }

  .asistencia-description, .xpert-description{
  	padding: 0.5em 1.5em;
  	height: 100%;
  }


}
