﻿
/**********************************/
/* ALERTA Y CONFIGURACION COOKIES */
/**********************************/

#cookies-overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 999;
}

#cookies-alerta, #cookies-configurador {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	background-color: #fff;
    padding: 3em 6em;
    font-size: 1.5em;
    width: 60%;
    max-width: 65em;
}

.cookies-movil #cookies-alerta, .cookies-movil #cookies-configurador {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transform: none;
	-ms-transform: none;
	padding: 1em 0em 0.5em 0em;
    width: 100%;
}

#cookies-configurador {
	display: none;
	height: 50%;
    overflow-y: scroll;	
}

.cookies-movil #cookies-configurador {
	height: auto;
    overflow-y: auto;	
}

.cookies-logo {
	text-align: center;
}

#cookies-alerta h1, #cookies-configurador h1 {
	font-family: Barlow-Reg, Arial;
    font-weight: bold;
    font-size: 1.8em;
    text-align: center;
    padding: 0.5em 0em;
    line-height: 1em;
    margin-bottom: 1em;
}

.cookies-movil h1 {
	min-height: auto;
    font-size: 1.4em !important;
	margin-top: 20px;
	padding: 0.8em 0em !important;	
}

.cookies-movil #cookies-configurador h1 {
	margin-bottom: 0em;
}

#cookies-configurador h2 {
	font-family: Barlow-Reg, Arial;
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
    padding: 0.5em 0em;
    line-height: 1em;
    margin-bottom: 1em;
	border-bottom: 1px solid #000;
}

.cookies-movil #cookies-configurador h2 {
	border-top: 2px solid #000;
    border-bottom: none;
    background-color: #fff;
    color: #000;
	font-size: 1.3em;
	margin-bottom: 0em;
	padding: 0em;
}

.cookies-movil #cookies-configurador h2.mas_info_cookies {
	border-bottom: 2px solid #000;
}

.cookies-movil #cookies-configurador h2 a {
    color: #000;
	font-weight: bold;
	padding: 0.8em 0em;	
	display:block;
}

.cookies-movil #cookies-configurador h2 a:hover, .cookies-movil #cookies-configurador h2 a:focus {
    text-decoration:none;
}

.cookies-movil #cookies-configurador h2 a.abierta {
    background-color: #d7d7d7 !important;
}

.cookies-movil #cookies-configurador .bloque-cookies {
	display:none;
	margin-top: 1em;
}

.cookies-entradilla {
    margin-bottom: 1em;
}

.cookies-movil .cookies-entradilla {
	margin-left: 1em;
    margin-right: 1em;
}

#cookies-alerta .cookies-entradilla p {
	text-align: center;
    margin-bottom: 1em;
}
	
#cookies-configurador .cookies-entradilla p {
	text-align: justify;
    margin-bottom: 0.5em;
}

#cookies-configurador .cookies-entradilla-centrada {
	margin-top: 3em;
    margin-bottom: 2em;
}

#cookies-configurador .cookies-entradilla-centrada p {
	text-align: center;
    margin-bottom: 1em;
}

.cookies-entradilla p a {
	text-decoration: underline;
    color: #000;
    font-weight: bold;
}	

.cookies-entradilla p a:hover {
	text-decoration: none;
}	

#cookies-configurador .bloque-total {
    float: left;
    width: 100%;
    margin-bottom: 1em;
}
#cookies-configurador .centrado {
    margin: 0 auto;
    width: fit-content;
	/* necesario para ie y firefox que no entiende fit-content*/
	display: table;
}

#cookies-configurador  .switch {

}

#cookies-configurador .switch input {
    opacity: 0;
    width: 0;
    height: 0;
    margin-top: 1.3em;
    margin: 4px 0 0;
    margin-top: 1px \9;
    line-height: normal;
}

#cookies-configurador .slider {
	position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
	float:left;
	
    /*position: absolute;*/
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #7f7f7f;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookies-movil #cookies-configurador .slider {
    width: 60px;
    height: 34px;
}

#cookies-configurador .slider.round {
    border-radius: 34px;
}

#cookies-configurador .labelswicht {
	font-size: 1em;
    margin-left: 0.5em;
    font-weight: bold;
    line-height: 1.5em;
	/*para que no se mueba el switch cuando cambia el texto del label*/
	min-width: 5em;
}

.cookies-movil #cookies-configurador .labelswicht {
    font-size: 1.2em;
    line-height: 1.8em;
}

.cookies-movil #cookies-configurador .siempre_activo .labelswicht {
    line-height: 1.5em;
	margin-left: 0em;
}

#cookies-configurador .verde {
    color: #079700;
	display: none;
}

#cookies-configurador .gris {
    color: #676767;
	display: inline-block;
}

#cookies-configurador .deshabilitado .slider {
    background-color: #d1d1d1 !important;
	cursor: not-allowed;
}

#cookies-configurador .deshabilitado .labelswicht  {
    color: #a9a9a9 !important;
}

#cookies-configurador .mensaje p  {
	text-align: center;
}

#cookies-configurador .deshabilitado p  {
    color: #a9a9a9 !important;
}

#cookies-configurador .siempre_activo .slider {
    background-color: #fff !important;
	cursor: default;
	height: 16px;
    width: 16px;
}

.cookies-movil #cookies-configurador .siempre_activo .slider {
	height: 26px;
    width: 26px;
}

#cookies-configurador .siempre_activo .slider:before {
    position: relative;
    content: "✓";
    height: 16px;
    width: 16px;
    left: 0px;
    bottom: 0px;
	color: #079700;
	font-size: 1.7em;
    line-height: 0.7em;
    font-weight: bold;
    background-color: white;
}

.cookies-movil #cookies-configurador .siempre_activo .slider:before {
	font-size: 1.9em;
    line-height: 0.8em;
}

#cookies-configurador .slider.round:before {
    border-radius: 50%;
}
#cookies-configurador .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookies-movil #cookies-configurador .slider:before {
	height: 26px;
    width: 26px;
}

#cookies-configurador input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.siempre_activo .slider:before {
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

.cookies-movil #cookies-configurador input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

#cookies-configurador input:checked + .slider {
    background-color: #079700;
}


#cookies-configurador input:checked + .slider  + .gris + .verde {
    color: #079700;
	display: inline-block;
}

#cookies-configurador input:checked + .slider + .gris {
    color: #676767;
	display:none;
}

.cookies-botones {
    margin-top: 2em;
	margin-bottom: 1em;
    float: left;
    width: 100%;	
}

.cookies-movil .cookies-botones {
	position: fixed;
    bottom: 0em;
	margin-bottom: 0em;
}	

.cookies-movil #cookies-configurador .cookies-botones {
	position: relative;
}	
.cookies-botones-izq {
	width: 0%;
    float: right;
    margin-top: 1em;
}

.cookies-movil .cookies-botones-izq {
	display:none;
}

.cookies-izq {
	 float: left;
}

.cookies-der {
	 float: right;
}

.cookies-movil .cookies-izq, .cookies-movil .cookies-der {
	float: none;
}

a.cookies-boton {
	padding: 1em 2em;
    font-weight: bold;
    color: #ffffff !important;
    text-align: center;
    background-color: #000000;
    background-image: none;
    text-shadow: none;
    border: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: pointer;
    font-size: 1em;
	text-decoration: none !important;
	/*sino efecto optico y el boton secundario parece mas grande que el primario*/
	border: 1px solid #000000;
}

.cookies-movil .cookies-boton {
	display: block;
	margin: 1em;
}

a.cookies-boton-secundario {
    background-color: #ffffff;
    color: #000000 !important;
}
