/* LIVE DEMO */

#livedemobg {
	background: url(images/borra_bglivedemo.png) repeat;
}

#selectorDemo .wrapDemo {
	position: relative;
	top: -85px;
	width: 1340px;
	height: 190px;
	margin: 0 auto;
}

#selectorDemo .anterior, #selectorDemo .siguiente {
	position: absolute;
	top: 142px;
	width: 30px;
	height: 47px;
	cursor: pointer;
}

#selectorDemo .anterior {
	left: 0px;
	background: url(images/flechasdemo.png) no-repeat left top;
}

#selectorDemo .anterior:hover {
	background: url(images/flechasdemo.png) no-repeat left bottom;
}

#selectorDemo .siguiente {
	right: 0px;
	background: url(images/flechasdemo.png) no-repeat right top;
}

#selectorDemo .siguiente:hover {
	background: url(images/flechasdemo.png) no-repeat right bottom;
}

#selectorDemo {
	width: 100%;
	height: 196px;/*40px*/
	position: fixed;
	bottom: 0px;
	z-index: 9999;
	background-color: rgba(0,0,0,0.8);
	background-image: url(images/iconolivedemo.png);
	background-repeat: no-repeat;
	background-position: 37px bottom;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
}

#selectorDemo.selectorCerrado {
	height: 15px;
	background-image: none;
}

#selectorDemo.selectorCerrado .wrapDemo {
	display: none;
}

#selectorAbrirCerrar {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    padding: 15px 40px 15px 20px;
    background-color: rgba(0,0,0,0.8);
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    position: absolute;
    top: -38px;
    left: 20px;
    line-height: 18px !important;
    text-decoration: none !important;
    cursor: pointer;
    color: #fff !important;
	box-shadow: 0 -2px 3px 0 rgba(0, 0, 0, 0.4) !important;
}

#selectorAbrirCerrar a {
	color: #fff !important;
	text-decoration: none !important;
}

#selectorAbrirCerrar a span {
    display: flex;
    width: 22px;
    height: 23px;
    justify-content: center;
    position: absolute;
    align-items: center;
    top: 12px;
    right: 12px;
    cursor: pointer;
}

/*#selectorDemo:hover {
	height: 140px;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
}*/

#selectorDemo .miniaturas {
	width: 1218px;/*708*/
	height: 261px;
	padding: 0 75px 0 60px;
	margin: 20px 80px 0 auto;
	overflow: hidden;
}

#selectorDemo .miniaturas .wrapMiniaturas {
	width: 10000px;
	margin-top: 85px;
}

#selectorDemo .miniaturas div[class*="estructura"] {
	float: left;
	margin-right: 40px;
}

#selectorDemo .miniaturas div[class*="estructura"]:hover {
	z-index: 99999;
	position: relative;
}

#selectorDemo .miniaturas div figure {
	width: 88px;
	height: 156px;
	position: relative;
	cursor: pointer;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
	border: 1px solid transparent;
}

#selectorDemo .miniaturas div figure:hover, #selectorDemo .miniaturas div.activo figure {
	/*transform: scale(1.3);
	-webkit-transform: scale(1.3);
	-moz-transform: none;*/
	width: 104px;
	height: 185px;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
	z-index: 999;
	border: 1px solid #fff;
	box-shadow: 0 0 6px #fff;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	top: -16px;
	left: -12px;
}

#selectorDemo.selectorCerrado .miniaturas div figure {
	width: 88px;
	height: 156px;
	border: 1px solid transparent;
	box-shadow: none;
	top: 0px;
	left: 0px;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
}

/*#selectorDemo .miniaturas div figure:hover:after {
	content: "";
	width: 86px;
	height: 154px;
	box-shadow: inset 0 0 30px #EA8000;
	-webkit-box-shadow: inset 0 0 30px #EA8000;
	-moz-box-shadow: inset 0 0 30px #EA8000;
	border: 1px solid #fff;
	box-shadow: 0 0 6px #fff;
	position: absolute;
	top: 0px;
	left: 0px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}*/

#selectorDemo .miniaturas div figure img {
	width: 88px;
	height: 156px;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
}
#selectorDemo .miniaturas div figure:hover img, #selectorDemo .miniaturas div.activo figure img {
	width: 104px;
	height: 185px;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
}

#selectorDemo.selectorCerrado .miniaturas div figure img {
	width: 88px;
	height: 156px;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
}


#selectorDemo .miniaturas div figure .colores {
	position: absolute;
	top: -43px;
	left: 50%;
	padding-bottom: 8px;
}

/* --- aquí se definen el número de colores y su posicionamiento --- */

#selectorDemo .miniaturas div figure .numeroColores1 {
	width: 36px;
	margin-left: -18px;
}

#selectorDemo .miniaturas div figure .numeroColores2 {
	width: 68px;
	margin-left: -34px;
}

#selectorDemo .miniaturas div figure .numeroColores3 {
	width: 96px;
	margin-left: -48px;
}

#selectorDemo .miniaturas div figure .numeroColores4 {
	width: 128px;
	margin-left: -64px;
}

#selectorDemo .miniaturas div figure .numeroColores5 {
	width: 160px;
	margin-left: -80px;
}

#selectorDemo .miniaturas div figure ul {
	/*position: absolute;
	top: -40px;
	left: 50%;
	width: 140px;
	margin-left: -70px;*/
	padding: 8px;
	background: rgba(0,0,0,0.4);
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	opacity: 0;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
	display: table;
}

#selectorDemo .miniaturas div figure:hover ul, #selectorDemo .miniaturas div.activo figure ul {
	opacity: 100;
	transition: all ease .25s;
	-webkit-transition: all ease .25s;
	-moz-transition: all ease .25s;
}
#selectorDemo .miniaturas div figure ul {
    padding: 11px 3px !important;
}

#selectorDemo.selectorCerrado .miniaturas div figure ul {
	opacity: 0;
}

#selectorDemo .miniaturas div figure ul li {
	position: relative;
}

#selectorDemo .miniaturas div figure ul li:last-child {
	margin-right: 0px;
}

#selectorDemo .miniaturas div figure ul li:hover:after, #selectorDemo .miniaturas div figure ul li a.activo:after {
	content: "";
	width: 18px;
	height: 18px;
	border: 1px solid #fff;
	box-shadow: 0 0 2px #fff;
	-webkit-box-shadow: 0 0 2px #fff;
	-moz-box-shadow: 0 0 2px #fff;
	position: absolute;
	top: -10px;
	left: -10px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

#selectorDemo .miniaturas div figure ul li a.activo:after {
	top: 0px;
	left: 0px;
}

#refPlantilla {
    position: fixed;
    top: 20px;
    left: 20px;
	width: 180px;
    padding: 20px;
    border-radius: 0;
    z-index: 999999;
	font-family: 'Poppins', sans-serif;
	border: 5px solid rgba(255, 255, 255, .4) !important;
    box-shadow: 0 0 20px #292929 !important;
    -webkit-box-shadow: 0 0 15px #292929 !important;
    -moz-box-shadow: 0 0 15px #292929 !important;
    background: rgba(255, 255, 255, 0.9) !important;
}
#refPlantilla p {
    text-align: center;
    padding: 0 !important;
    font-size: 16px;
    color: #475464 !important;
}
#refPlantilla p span {
    margin-top: 5px;
    display: block;
    font-size: 22px;
	font-weight:500;
}

#refPlantilla .livedemo {
	font-weight: bold;
	font-size: 20px;
	margin-top: 10px;
	padding-bottom: 10px;
	color: #475464 !important;
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(71, 84, 100, .4) !important;
    border-bottom: none !important;
}

#refPlantilla a {
	margin-top: 10px;
	padding: 5px 10px;
	display: block;
	text-align: center;
	font-size: 10px;
	color: #FFF;
	text-transform: uppercase;
	border: 1px solid #CC740B;
	background: #CC740B;
	background: -webkit-gradient(linear, left top, left bottom, from(#F3A342), to(#CC740B));
	background: -moz-linear-gradient(top, #F3A342, #CC740B);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-webkit-box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0;
	-moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0;
	box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0;
	text-decoration: none;
}

#refPlantilla a:hover {
	border: 1px solid #AC6107;
	background: #AC6107;
	background: -webkit-gradient(linear, left top, left bottom, from(#D1862B), to(#AC6107));
	background: -moz-linear-gradient(top, #D1862B, #AC6107);
	color: #FFF;
	text-decoration: none;
}

#refPlantilla a.volver {
	color: #333;
	border: 1px solid #666;
	background: #DDD;
	background: -webkit-gradient(linear, left top, left bottom, from(#F0F0F0), to(#DDD));
	background: -moz-linear-gradient(top, #F0F0F0, #DDD);
}

#refPlantilla a.volver:hover {
	background: #C3C3C3;
}


#selectorDemo .miniaturas .wrapMiniaturas {
    width: 1220px;
    text-align: center;
    margin-top: 85px;
}
#selectorDemo .miniaturas div figure div.colores[class*="numeroColores"] {
    bottom: 3px !important;
}
#selectorDemo .miniaturas .wrapMiniaturas > div > span {
    margin-bottom: 9px;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
	#selectorDemo {
    	height: 435px !important;
	}
	#selectorDemo .miniaturas {
		 padding: 0 !important;
    	margin: 20px 0 0 0 !important;
	}
	#selectorDemo .miniaturas .wrapMiniaturas {
    	margin-top: 60px !important;
		width: 768px !important;
	}
	#selectorDemo .miniaturas .wrapMiniaturas > div {
    	margin: 0 21px !important;
	}

}
@media (min-width: 0px) and (max-width: 767px) {
	#refPlantilla {
		width: 100px;
		padding: 0 10px;
		top: 10px !important;
    	left: 10px !important;
	}
	#refPlantilla p {
		text-align: center;
		padding: 0 !important;
		font-size: 14px;
		margin: 5px 0 3px;
	}
	#refPlantilla p span {
		margin-top: 2px;
		font-size: 20px;
    	font-weight: 600;
	}
	#refPlantilla .livedemo {
		font-size: 12px;
		margin-top: 5px;
		padding: 5px 0 0 0 !important;
		border-bottom: none !important;
		line-height: 20px;
	}
	#selectorDemo .miniaturas .wrapMiniaturas > div {
		width: 62px !important;
		margin: 0 3px 15px 3px !important;
	}
	#selectorDemo .miniaturas div figure ul {
    	padding: 5px 1px !important;
	}
}
@media (min-width: 0px) and (max-width: 1024px) {
	#selectorDemo {
		background-image: none;
		height: 246px;
	}

	#selectorDemo .wrapDemo {
		top: -40px;
	}
	/*#selectorDemo .miniaturas {
		width: 498px !important;
	}
	#selectorDemo .anterior {
		left: -40px;
	}
	#selectorDemo .siguiente {
		right: -90px;
	}*/
}