/*
    Theme Name: Bizkaimendi
    Theme URI: 
    Author: CBT Comunicación y multimedia
    Author URI: https://cbt.es
    Description: Theme Diseñado para la plataforma de Bizkaimendi
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: bizkaimendi
*/
.xdebug-error{
	/*display:none !important;*/
}

:root {
    --MoradoOscuro: #301F5C;
    --MoradoClaro: #6A3DCB;
    --FondoGris: #F2F2F0;
    --GrisBordes: #C5C3CF;
    --GrisLineas: #BCB7C6;
    --fondoAmarillo: #F8F8F6;
  }

*{
    font-family: 'Open Sans', sans-serif;
}

body{
    background-color:var(--fondoAmarillo) !important;
}

a, p, span{
    color:var(--MoradoOscuro);
}

#botones-idiomas button{
	background: none !important;
	color: var( --MoradoOscuro) !important;
}

#botones-idiomas .active{
	background:none !important;
	text-decoration: underline;
}

#botones-idiomas .active::after{
	display:none !important;
}

#menu div{
    display: flex;
    justify-content: center;
    align-items: center;
    padding:1rem;
    font-size: 20px;
    border-radius: 50%;
    background: var(--MoradoOscuro);
 }

 #menu{
     position: fixed;
     bottom: 0;
     left: 0;
     background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 50%, rgba(251,251,251,0) 100%);
 }

 .active::after{
    content:'';
    background-color:var(--MoradoClaro);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    bottom: 1.5rem;
    text-align: center;
}

.active{
    background-color: var(--MoradoClaro) !important;
}

 #navbar{
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 10vh;
    background-color: var(--FondoGris);
    font-weight: 600;
    border-bottom: solid 1px var(--GrisBordes);
    z-index: 3 !important;
 }

 #navbar a{
    font-size: 18px;
    font-weight: 600;
    padding: 0;
 }


 #navbar i{
    font-size: 25px;
 }

 .menu-lat a{
    text-decoration:none !important;
 }

 .menu-lat ul{
    list-style-type: none;
}

#menu-principal li{
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 2vh 0;
}

#menu-principal img{
    margin-right:1em;
}

#menu-principal a{
    display: flex;
    align-items: center;
    color: var(--MoradoOscuro);
}

#menu-principal a:hover{
    opacity: 0.8;
}


.transparent{
    color:transparent !important; 
    background-color:transparent !important;
    border-color:transparent !important;
}

.btn-light{
    background-color: var(--FondoGris) !important;
    border-color: var(--FondoGris) !important;
}

.logo-productor{
    width: 24px;
    height: 24px;
    border-radius: 5px;
}

#imagen-cabecera{
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 33vh;
    width: auto;
}

#localizacion{
    font-size: 18px;
    font-weight: 800;
    color: var(--MoradoOscuro);
}

#menu button{
    border:none;
    box-shadow: none;
    background: none;
}

.titulo-prod{
    margin-left: 3em;
    font-size: 16px;
    color: var(--MoradoOscuro);
}

.titulo-prod h1{
    font-size: 18px;
    font-weight: 800;
}

#contenido{
    color: var(--MoradoOscuro);
    font-size: 18px;
    margin-bottom: 8rem;
}

#contenido i{
    margin-right: 1.5em;
}

.offcanvas-header{
    padding-top: 2em !important;
}

#contenedor-general{
	margin: 0 auto;
    margin-top: 10vh;
	margin-bottom: 11em;
	max-width:600px;
    padding: 0;
	height:90%;
}

.titulo-producto{
    font-size: 18px;
    font-weight: 600;
}

.variedad-producto{
    font-size: 18px;
    font-weight: 500;
}

.producto img{
    height: fit-content !important;
}

.producto{
    text-decoration: none;
    cursor:pointer;
}

.producto:hover ~ hr{
    color: var(--MoradoOscuro);
}

.sep-productos{
    color: var(--GrisLineas);
    border-width: 2px;
    margin: 0 0 0 60px;
    width: 75%;
    position: relative;
}

.offcanvas{
    background-color: var(--fondoAmarillo) !important;
    z-index: 1 !important;
}

.offcanvas-backdrop{
    display: none !important;
}

.btn-primary{
	background-color: var(--MoradoOscuro) !important;
	border-color: var(--MoradoOscuro) !important;
}


.btn-primary span{
	color:white !important;
}

.table{
	background: white !important;
    padding: 3em !important;
}
.table tr{
	text-align:center;
}

.table .izq{
	text-align:left !important;
}

#formulario h2 {
	background-color: #8db3e2
}


#producto-cabecera{
    width: 100%;
    height: 200px;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

#contenedor-producto{
	margin: 0 auto;
    margin-top: 10vh;
    padding-bottom: 20vh;
	max-width:600px;
}

.imagen-receta{
    border-radius: 10px;
    width: 40vw;
    height: 10vh;
    margin-bottom: 1em;
}

#recetas p{
    font-weight: 500;
}

.movil,
#refreshFirma{
	display:none !important;
}

/*HOME*/
#contenedor-home {
    margin: 0 auto;
    margin-top: 10vh;
    max-width: 600px;
    padding: 0 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	height:90vh;
}
#menuHome{
	flex-wrap:wrap;
	max-width: 420px;
}
#menuHome div{
    display: flex;
    justify-content: center;
    align-items: center;
    padding:1rem;
    font-size: 20px;
    border-radius: 50%;
    background: var(--MoradoOscuro);
	max-width: 80px;
	height: 80px;
    margin: 0 auto;
 }

#menuHome img{
	width:45px;
}

#menuHome a{
	cursor:pointer;
	max-width:86px;
}

#menuHome p{
	font-weight:bold;
	font-size:16px;
}

.productos-lista{
	font-size:18px;
}

/*Lista de productores*/
.productoresLista{
	background-size:cover !important;
	background-repeat:no-repeat !important;
	width:70px;
	height:70px;
	border-radius:50%;
	max-width:70px;
	max-height:70px;
	min-width:70px;
	min-height:70px;
}


.btn-link{
	color:var(--MoradoOscuro);
	font-size:18px;
	text-decoration:none;
}

#modalwhats {
    position: fixed !important;
    bottom: 0 !important;
}

#modalwhats .modal-content{
	border-radius:20px;
}

/*Panel de control Productor*/
.navbar-vertical{
	z-index:0 !important;
}

.panel-control .active{
	background:transparent !important;
	border-bottom:solid var(--MoradoOscuro) 3px;
}

.panel-control .active:after{
	display:none;
}
.panel-control .acf-form-submit .acf-button{
	background: var(--MoradoOscuro);
	padding:1em;
	margin:1em 0.5em;
	border-radius:6px;
	color:white;
}

.panel-control .acf-input{
	border: solid #f6f6f6;
	border-radius:6px;
}

.um-login{
	margin-top:10vh !important;
	padding-top:2em !important;
}

.um-login img{
	max-width:200px !important;
	margin:0 auto !important;
}

.tablas{
		max-width: 100vw !important; 
		overflow-x: scroll !important;
	}

#lienzoDiv{
	display:none;
}

@media only screen and (max-width: 1000px) {
	.movil,
	#refreshFirma{
	display:block !important;
}
	
	table{
		font-size: 12px !important;
	}
	
	#FormularioRegistro{
		width: 85% !important;
	}
	
	#FormularioRegistro .form-check-input[type=checkbox] {
    width: 20px !important;
    height: 20px !important;
    border-radius: 6px !important;
	}
	
	#lienzoDiv{
	display:block;
	}
	
}



@media only screen and (max-width:350px) {
	table{
		font-size: 8px !important;
	}

}


@media only screen and (min-width: 600px) {

    #contenedor-general{
        background: var(--FondoGris);
    }
	#contenedor-home{
        background: var(--FondoGris);
		padding: 8vh 5vw;
    }
	
	#menuHome{
		flex-direction:column;
	}
	
    #contenedor-producto{
        background: var(--FondoGris);
}
	.imagen-receta{
    border-radius: 10px;
    width: 250px;
    height: 150px;
    margin-bottom: 1em;
}
	
.tablas{
		overflow-x: hidden !important;
	}
}