/*
Theme Name: Zakra Child Theme
Theme URI: http://themegrill.com/themes/zakra/
Description: Child Theme for Zakra
Author: ThemeGrill
Author URI: http://themegrill.com
Template: zakra
Version: 1.0
*/

/*Formulario CF7 a 2 o 3 columnas responsive*/
#responsive-form{
	max-width:800px; /*-- change this to get your desired form width --*/
	margin:0 auto;
	width:100%;
	background: #3d4759;
	padding: 2% 3%;
	/*box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .2);*/
}
.form-row {
	width: 100%;
	padding-bottom: 8%;
}
.column-half, .column-full, .column-third {
	color: #fff;
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
.column-full.centro {
	padding-top: 0;
    text-align: center;
}
select, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
	width: 100%;
	height:40px;
}
label {
    width: 100%;
	margin-bottom: 0;
}
textarea, input.wpcf7-form-control.wpcf7-submit {
	width: 100%;
}
div.wpcf7 .ajax-loader {
	display: block;
}
span.wpcf7-list-item-label {
    font-weight: 400;
    font-size: 13px;
}
.texto-legal-form {
    font-size: 0.75em;
}
.texto-legal-form p {
	line-height: normal;
	    margin-bottom: 0.4em !important;
}
.wpcf7-form.init p {
    margin-bottom: 0.7em;
}
.wpcf7-submit {
    margin-top: 20px;
}

/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
	.column-third {
		width: 33%;
	}
	.column-third.segunda {
		margin: 0 0.5%;
	}
}
/* FIN Formulario CF7 */

.page-id-99 .tg-page-header.tg-page-header--both-center {
    display: none;
}

.tg-primary-menu > div ul li ul li a {
    padding: 0.6em;
}
.pll-parent-menu-item img {
    margin-top: 5px;
}
.tg-primary-menu > div ul li ul {
	width: auto !important;
}
/*.pll-parent-menu-item .sub-menu {
    width: 40px !important;
}
.menu-item-485 ul.sub-menu {
    width: 140px !important;
}*/
img.custom-logo {
    max-width: 90%;
}

.tg-site-footer .tg-site-footer-bar .tg-site-footer-section-1 {
    -webkit-box-flex: 0.5 !important;
    -ms-flex: 0.5 !important;
	flex: 0.5 !important;
}
.textwidget.custom-html-widget p {
    font-size: 13px;
}

.tg-scroll-to-top {
	bottom: 60px !important;}

/* ==============================
   POLYLANG - MENÚ DE IDIOMAS
   ============================== */

/* Contenedor del selector */
.menu-item-language,
.pll-parent-menu-item,
li.lang-item {
    position: relative;
}

/* Banderas: evitar recortes y deformaciones */
li.lang-item img,
.pll-parent-menu-item img {
    width: 24px !important;
    height: auto !important;
    max-height: 18px;
    object-fit: contain !important;
    display: inline-block;
    vertical-align: middle;
    margin: 0 !important;
}

/* Submenú de idiomas: ancho compacto */
.pll-parent-menu-item > ul.sub-menu,
li.lang-item > ul.sub-menu {
    width: auto !important;
    min-width: 110px !important;
    max-width: 160px !important;
    margin-top: 10px !important;
}

/* Elementos del desplegable */
.pll-parent-menu-item > ul.sub-menu li,
li.lang-item > ul.sub-menu li {
    width: 100% !important;
}

/* Enlaces del desplegable */
.pll-parent-menu-item > ul.sub-menu a,
li.lang-item > ul.sub-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 8px 12px !important;
}

/* Evitar que las imágenes se recorten por contenedores */
.pll-parent-menu-item,
li.lang-item {
    overflow: visible !important;
}

/* Evitar que el submenú se estire innecesariamente */
.pll-parent-menu-item > ul.sub-menu,
li.lang-item > ul.sub-menu {
    left: auto;
    right: 0;
}