html{
	font-size: 10px;
}

body{
	margin: 0;
	font-family: 'Roboto', sans-serif;
}

*{
	box-sizing: border-box;
}

a, a:link, a:visited, a:hover, a:active{
	text-decoration: none;
	font-family: 'Titillium Web', sans-serif;
	font-weight: 600;
}

.fab {
	font-weight: 400;
}

.redes {
	display: inline-block;
	text-align: center;
	width: 40px;
	height: 40px;
	padding: 7px 0 0 3px;
	border: solid 1px #fb745a;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	margin-left: 10px;
	font-size:20px;
	color: #fb745a;
}
.redes:hover {
	color: white;
	background:#530f21;
	transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
}

.ir-arriba {
	display: inline-block;
	padding: 5px 10px;
	background:#fb745a;
	font-size:20px;
	color:#fff;
	cursor:pointer;
	position: fixed;
	bottom:20px;
	right:2px;
	z-index: 500;
}

.ir-arriba:hover {
	background:#530f21;
	transition: all 0.2s linear;
}

.links_texto {
	color: #530f21;
	text-decoration: underline; 
}

.links_texto:hover{
	color: #fb745a;
	transition: all 0.2s linear;
	text-decoration: underline;
	-webkit-text-decoration: underline;
}

.botonprimario {
	color: #fb745a;
	text-align: center;
	padding: 12px;
	border: solid 1px #fb745a;
    border-radius: 25px;
}

.botonprimario:hover{
	color: white;
	background:#530f21;
	transition: all 0.2s linear;
}

.colectivos {
	margin:5px;
	color:black;
	font-weight: 600;
	line-height: 30px;
}

.linea53 {
	padding:3px;
	background-color:darkorange;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea93 {
	padding:3px;
	background-color:pink;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea74 {
	padding:3px;
	background-color:violet;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea70 {
	padding:3px;
	background-color:lightblue;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea64 {
	padding:3px;
	background-color:green;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea10 {
	padding:3px;
	background-color:brown;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea39 {
	padding:3px;
	background-color:lightgreen;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea29 {
	padding:3px;
	background-color:darkorange;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea33 {
	padding:3px;
	background-color:darkgreen;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}
.linea25 {
	padding:3px;
	background-color:purple;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 3px;
}

ul, ol{
	margin: 0;
	padding: 0;
	list-style: none;
}

figure{
	margin: 0;
	line-height: 0;
}

img{
	width: 100%;
	height: auto;
}

/*limpiador*/
.cleaner{
	clear: both;
}

.container{
	margin:auto;
	max-width: 960px;
}

header {
	max-width: 960px;
	margin: auto;
}

.logo{
	margin:15px 15px;
	float: left;
	width: 220px;
	overflow: hidden;
}



.toggle-button{
	display: none;
}

.mobile{
	display: none;
}

#menu_esc {
	display: block;
	float: right;
	width: 67%;
	display: block;
}

#menu_esc a{
	float: right;
	color:#530f21;
	font-size: 22px;
	text-align: center;
    padding: 16px 4px 0px 27px;
}

#menu_esc li:hover a, #menu_esc li.current a{
	color:#fb745a;
	text-decoration: underline;
	transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
}

hr { 
    border: 0.5px solid #868686;
    margin-top: 25px;
  }

#idiomas{
	margin-top: 15px;
	width: 25%;
	float: right;
	text-align: right;
}

.idiomas{
	width: 20%;
	float: right;
	margin-right: 5px;
}

.id_img{
	width: 27px;
	overflow: hidden;
	border-radius: 50%;
	box-shadow: 1px 2px 3px 0px;
	color: grey;
}

.banner_cont {
	width: 100%;
    height: 450px;
    overflow: hidden;
    margin: 0px;
    position: relative;
}

.banner{
	position:absolute;
    left: -100%;
    right: -100%;
    top: -100%;
    bottom: -100%;
    margin: auto;
    min-height: 100%;
    min-width: 100%;

	/*display: block;
	height: 100%;
	width: 100%;
	object-fit: contain;*/
}

.video{
	/*height: 240px;*/
	position: relative;
	padding-top: 70%;
	margin-top: 30px;
	background-color: #2AB2B7;
}
.video iframe{
	border:none;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.perfiles{
	margin: auto;
	max-width: 800px;
	/*background-color: red;*/
}

h1{
	font-family: 'Titillium Web', sans-serif;
	font-size: 25px;
	text-align: center;
	margin-top:30px;
	line-height: 30px;
	color:#fff;
	background-color: #530f21;
	padding: 5px;
	font-weight: 400;
}

.perfiles h2 {
	font-size: 2.7em;
	margin:0 0 1em;
	color:#333;
	font-weight: 400;
}
p {
	font-size: 16px;
	line-height: 20px;
	margin:15px;
}

iframe.ytb-embed {
	max-width: 96% !important;
	display: block;
	margin: 10px auto;
}

#auspicios{
		position: relative;
		width: 100%;
		display: inline-block;
		margin-top: 25px;
	}

.auspicios {
		margin: 0px 30px 20px 0px;
		height: 27px;
		width: auto;
	}

.auspicios_c {
		margin: 0px 30px 20px 0px;
		height: 20px;
		width: auto;
	}



.perfiles p {
	font-size: 16px;
	line-height: 25px;
	margin:15px;
}

.perfiles figure{
	width: 47%;
	float: left;
	margin-right: 6%;
	margin-bottom: 15px;
}

.perfiles figure:nth-of-type(2n){
	margin-right: 0;
}

/*http://librosweb.es/libro/css_avanzado/capitulo_3/selectores_de_css_3.html*/

.productos-destacados{
	margin-top: 10%;
}

.producto {
	margin-bottom: 25px;
	/*background-color: yellow;*/
}

.producto h2{
	margin:0.5em 0;
}

.producto a{
	background-color: #333;
	color:#fff;
	font-size: 1.3em;
	padding:1em 1.5em;
	display: inline-block;
}

footer{
	font-family: 'Titillium Web', sans-serif;
	color: white;
	background-color: dimgrey;
	padding: 1px; 
}


@media screen and (min-width: 960px){
	.video{
		padding-top: 28%;
	}
}



@media screen and (max-width: 843px) {

	.desktop{
	display: none;
	}

	.banner_cont {
		width: 100%;
	    height: 450px;
	    overflow: hidden;
	    margin: 0px;
	    position: relative;
	}

	.banner{
		position:absolute;
	    left: -100%;
	    right: -100%;
	    top: -100%;
	    bottom: -100%;
	    margin: auto;
	    min-height: 100%;
	    min-width: 100%;
	    object-fit: cover;
	}

	.logo{
		float: inherit;
		margin: auto;
		padding-top: 10px;
	}

	#idiomas {
		display: none;
		width: 40%;
		float: inherit;
		margin: auto;
		padding: 15px 0 45px 0;
	}

	.idiomas {
		width: 25%;
		margin: auto;
		text-align: center;
	}

	.toggle-button{
		display: block;
		float: left;
		border: none;
		text-align: center;
		width: 100%;
	}

	.toggle-button span{
		display: block;
		margin: 5px auto 15px auto;
		height: 23px;
	    color: #530f21;
	    width: 46px;
	    border-top: 3px solid #000;
		border-bottom: 3px solid #000;
		position: relative;
		/*border-radius: 5px;
		border: 2px solid #530F20;*/
		padding: 5px;

		
	}

	.toggle-button span:after{
		content: "";
		width: 100%;
		height: 3px;
		background-color: #000;
		position: absolute;
		left: 0;
		top: 50%;
		margin-top: -1px;
	}

	nav{
		float: left;
		margin-top: 30px;
		margin: auto;
		width: 100%;
		display: none;
	}

	nav a{
		background-color: dimgrey;
		color:#fff;
		font-size: 20px;
		text-align: center;
		display: block;
		border-bottom: solid 1px #eee;
		padding:0.8em;
	}

	nav a:hover{
		background-color: lightgrey;
		color:#000;
		transition: all 0.3s linear;
		-webkit-transition: all 0.3s linear;
	}

	#menu_esc {
		display: none;
	}

}

@media screen and (max-width: 420px) {

	.logo{
		float: inherit;
		margin: auto;
	}

	#idiomas {
		width: 80%;
		float: inherit;
		margin: auto;
		padding: 15px 0 45px 0;
	}

	.idiomas {
		width: 25%;
		margin: auto;
		text-align: center;
	}

}