/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/


.type_mobile .menu-item {
	background-color: #ffffff;
}


/* DIRECTORIO */

#directorios{
	max-width: 1440px;
	float: none;
	display: block;
	margin: 0 auto;
}

#directorios .categorias{
	float: none;
	display: block;
	margin: 0 auto;
}
.padre-buttons {
    margin-bottom: 25px;
}

button.btn-padre {
    margin-right: 20px;
    padding: 10px 20px;
    background: #f9bb1d;
}
.hijo-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;     /* <- ESTO FALTABA */
    gap: 10px; 
}
button.btn-hijo {
    margin-right: 20px;
    padding: 20px 20px;
    background: #5e9330;
    width: 20%;
    flex-basis: 20%;
    text-wrap: auto;
    flex:auto;
}
.activado {
    color: #d22630;
    border: 4px solid #ffffff;
}
#destino {
    margin-top: 70px;
}
#directorios select{
	width: 48%;
    border: 2px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

#directorios select:focus{
	border: 0;
}

#directorios select:disabled{
	border: 2px solid #ccc;
}

#directorios .light{	
	color: #ccc;	
}


#directorios .contenido #profesionales{
    width: 100%;
    float: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 0 30px 0;
    position:relative;
}

#directorios .contenido #profesionales .item{
	width: calc(25% - 23px);
    float: left;
	font-size: 14px;
    background: #ffffff;
    padding: 5px;
}


#directorios .contenido #profesionales .item .empresa{
	font-size: 18px;
    font-weight: 600;
	min-height: 40px;
    color: #052b59;
}

#directorios .nodata {
    margin-top: 50px;
    text-align: center;
    font-size: 25px;
    color: var(--color-content-primary-grad);
}

.moreinfo{
	float: right;
    padding: 2px 10px;
    background: #f9bb1d;
    color: #fff;
    border-radius: 30px;
}

.moreinfo:hover{
	cursor: pointer;
	opacity: 0.8;
}

.left, .right{ width: 50%; padding: 0 20px;}

.right .descripcion{
	margin-top: 30px;
}

.right .empresa{
	font-size: 18px;
	font-weight: 600;
}

.right .curriculum{
	margin: 30px;
	font-weight: 600;
	text-align: left;
	font-size: 18px;
	padding-left:0;
	
}







/* Modal PopUp */
#total {
    width: 100%;
    height: 100%;
    background: #000000b8;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}
.modal-header {
  	padding: 10px 15px;
  	background-color: #fff;
  	color: #000;
	font-size: 18px;
	text-align: right;
}

.modal-header .close:hover{
	cursor: pointer;
}

.modal-body {
	padding: 2px 16px;
    display: flex;
    align-items: center;
	padding-bottom: 50px;
}


.modal-content {
    background-color: #fff;
    padding: 0;
    border: 1px solid #888;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    animation-name: animatetop;
    animation-duration: 0.4s;
    z-index: 99999;
    float: none;
    min-height: 300px;
    /* position: absolute; */
    /* display: none; */
    margin-top: 120px;
}







/*VIDEOTECA */


.esg-filterbutton{
	display: block !important;
	float: left; 
	margin-right: 50px;
}

.esg-filterbutton.hiddensearchfield{
	display: none !important;
}

.home-tabs #tabsTemp .w-tabs-list {
    background-color: #222 !important;
}


.home-videoteca .w-icon-link {
    background-color: #222222 !important;
    color: transparent !important;
}

.home-videoteca .w-icon-link i {
    font-size: 35px;
    padding: 10px;
}

.title-videoteca {font-size: 26px; color: #FFF;}

.full-width.home-videoteca {
     text-align: center;
}

.full-width.home-videoteca .w-icon.color_secondary.size_medium.type_solid {
    margin-bottom: 30px;
}

.g-btn.color_secondary.outlined > span {
    font-size: 20px;
    font-weight: 600;
    text-transform: none;
}



.full-width.home-videoteca .w-icon.size_medium.type_solid {
    height: 70px;
    width: 70px;
    line-height: 70px;

}

.dates-no-display {
    display: none;
}

input.eg-search-input {
    font-size: 16px;
    line-height: 19px;
    padding: 0 20px !important;
    min-height: 39px;
    border: 1px solid;
}




/** FICHA VIDEOTECA **/

.estreno-ficha-videoteca {
    font-size: 23px;
    font-weight: normal;
}

.ficha-video-header {
    margin-bottom: 30px;
}

.ficha-video-header h2 {
    margin-top: 0px;
}

.ficha-video ul {
    margin-left: 0px;
    list-style: none;
}

.ficha-video .w-tabs {
    margin-top: 30px;
}

.ficha-video-details {
    background-color: #7f7f7f;
    color: #ffffff;
    font-size: 13px;
    padding: 20px;
    text-align: right;
}

.ficha-video-details ul li {
    border-bottom: 1px solid;
    padding-bottom: 10px;
    padding-top: 5px;
}

.ficha-video .related-img {
    border: 5px solid;
}

.title-ficha h3 {
    color: #fff;
    font-size: 19px;
    font-weight: bold;
}

.title-ficha  {
    padding-bottom: 5px;
}

.ficha-video-relacionados {
    margin-bottom: 30px;
    margin-top: 30px;
}

.ficha-video-relacionados h2 {
    font-size: 20px;
}


.eg-ficha-validacion-element-11 {
    float:left;
    font-weight: 700 !important;
}

.eg-ficha-validacion-element-11:hover {
    color:#d22630 !important;
}

.eg-ficha-validacion-element-1, .eg-ficha-validacion-element-3-a {
    float: left;
    clear: both !important;
}

.eg-ficha-validacion-element-1:hover, .eg-ficha-validacion-element-1:after {
    border:none !important;
    color:#d22630 !important;
}

.single-videoteca .l-submain{	padding: 175px 0 50px 0;	}

tabs.layout_accordion .w-tabs-section{
	border-color: #e5e5e5;
}
.w-tabs.layout_accordion .w-tabs-section {
    border-top: 1px solid #e8e8e8;
}
.w-tabs-section {
    position: relative;
}
.w-tabs.layout_accordion .w-tabs-section-header {
    display: block;
}
.w-tabs-section-header {
    -webkit-transition: background-color 0.3s, color 0.3s;
    transition: background-color 0.3s, color 0.3s;
}
.w-tabs-section-header {
    line-height: 26px;
    padding: 14px 20px;
    white-space: nowrap;
}
.w-tabs-section-header {
    display: none;
    position: relative;
    cursor: pointer;
    padding: 10px;
}

.accordion{
	margin: 30px 0;	
}

.accordion .accordion-title{
	font-size: 18px;
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.accordion .accordion-title:hover{
	cursor: pointer;
}

.accordion .accordion-content{
	padding: 10px 10px;
}

.accordion .accordion-title:first-child{
    border-top: 1px solid #ccc !important;
	padding-top: 10px;
}

.page-template-page-tramites .w-tabs-list {
    background-color: #222 !important;
    color: #fff;
}

#tabsTemp .w-tabs-list {
	background-color: transparent !important;
	width: 100%;
    display: block;
    margin: 0 auto;
}








/* TRAMITES */

.page-template-page-tramites .amcharts-main-div stroke{
	color-color: #fff !important;
}

.page-template-page-tramites .w-tabs-section {
    display: none;
    width: 100%;
    margin: 0 auto;
    float: left;
}

.page-template-page-tramites .w-tabs-section.active{
	display: block;
}

.page-template-page-tramites #permisoscnbt{
    padding: 50px 20px;
    display: block;
    margin: 0 auto;
    width: 100%;
	max-width: 1200px;
}

.page-template-page-tramites #permisoscnbt .w-tabs-item {
	padding: 1em 0.5em;
}

.page-template-page-tramites .w-tabs-section-content table td{
	border: 1px solid #fff !important;
}


.page-template-page-tramites .w-tabs-item{
    width: calc(100% / 5);
    float: left;
    display: inline-block;
    text-align: center;
}

.page-template-page-tramites .w-tabs-section .g-cols.wpb_row{
	margin-top: 50px;
}

.page-template-page-tramites .w-tabs-item.with_icon {
    background-color: #222;
}

.page-template-page-tramites .w-tabs-item.with_icon:hover {
	color:#d22630;
	cursor: pointer;
}

.page-template-page-tramites .w-tabs-item.with_icon.active {
    background-color: #fff;
	color:#d22630;
	border-top: 2px solid #d22630;
}
.page-template-page-tramites .w-tabs-item.with_icon .w-tabs-item-title, .w-tabs-section.with_icon .w-tabs-section-title {
    margin-left: 10px;
	font-size: 14px;
}
.page-template-page-tramites .w-tabs-item-title, .w-tabs-section-title {
    font-size: 18px;
    line-height: inherit;
    white-space: normal;
}
.page-template-page-tramites .w-tabs-item-title {
    display: inline-block;
    vertical-align: top;
}

.w-tabs-section {
    position: relative;
}


.content-display table, .content-display tr, .content-display td, .content-display-aereo table, .content-display-aereo tr, .content-display-aereo td, .content-display-puerto table, .content-display-puerto tr, .content-display-puerto td {
    border: 1px solid #AEAEAE;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 14px;
    width: 100%;
	margin-bottom: 10px;
}

.content-display table p, .content-display-aereo table p, .content-display-puerto table p {
    text-align: right;
    font-weight: bold;
    margin: -10px !important;
    padding-right: 8px;

}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.content-display-puerto {
    margin-left: 0 !important;
}
.wpb_button.align_left {
    display: inline-block;
    vertical-align: top;
    margin-right: 6px;
}
.g-btn.color_primary{
	background-color: #d22630;
}
button, .g-btn.color_primary, input[type="submit"] {
    background-color: #d13a7a;
    color: #fff;
}
.g-btn, button, input[type="submit"] {
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 36px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    -webkit-transition: color 0.3s, background-color 0.3s, box-shadow 0.3s;
    transition: color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.g-btn, button, input[type="submit"] {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    padding: 5px 20px;
}
	
.g-cols.offset_default > .one-half.content-display {
    margin-left: 0;
}
.g-cols.offset_default > div:first-child, .g-cols.offset_default > div.full-width {
    margin-left: 0;
}
.g-cols.offset_default > .one-half, .g-cols.offset_default > .two-quarters, .g-cols.offset_default > .two-fourths, .g-cols.offset_default > .three-sixths {
    width: 48.0000%;
}
.g-cols.offset_default > div {
    margin-left: 4.0000%;
}

.g-cols > div {
    float: left;
    width: 100%;
}

.page-template-page-tramites .g-btn.color_primary{
	color: #fff;
	background: #d22630;
	min-width: 200px;
}

.municipios-block{
	display: flex;
    align-items: center;
    justify-content: center;
}

.page-template-page-tramites .g-btn.color_primary.outlined{
	color: #d22630;
	box-shadow: 0 0 0 2px #d22630 inset;
	background: #fff;
}


.page-template-page-tramites .titles-tramites{
	border-bottom: 1px solid #000;
}

.fa-ship:before {
    content: "\f21a";
}

.page-template-page-tramites .g-cols.via_grid.type_boxes>.vc_column_container,
.page-template-page-tramites .l-section.height_custom{
	padding: 0 10px 0 0 !important;
}

.page-template-page-tramites .l-section .minisquare .wpb_text_column{
	border: 1px solid #000;
    padding: 20px;
    margin-bottom: 40px;
}

.page-template-page-tramites .minisquare .wpb_text_column p,
.page-template-page-tramites .wpb_text_column.minisquare p{
	margin: 0;
}

.page-template-page-tramites .wpb_text_column.minisquare{
	border: 1px solid #000;
	padding: 20px;
	margin-bottom: 10px;
}

.page-template-page-tramites .contacto,
.page-template-page-tramites .contacto strong{
    margin: 30px 0;
}

.page-template-page-tramites .contacto i{
	margin-right: 8px;
}

.page-template-page-tramites .contacto p{
	margin: 0;	
}

.page-template-page-tramites .square-icon i{
	background-color: #222222;
    border-radius: 50%;
    font-size: 41px;
    height: 80px;
    width: 80px;
    padding: 20px 0 15px 0;
    position: absolute;
    color: #fff;
}

.page-template-page-tramites .minisquare{
    max-width: 380px;
    float: left !important;
    display: inline-table;
    width: 100% !important;
    margin: 0 auto;
}







/* CONTACTO */


#contactForm select:disabled {
    color:#aaaaaa;
    border: none;
    box-shadow: 0 0 0 2px #aaa;
}

#contactForm select, #contactForm input[type="text"], #contactForm textarea, #contactForm input[type="password"], #contactForm input[type="email"], #contactForm input[type="url"], #contactForm input[type="tel"], #contactForm .input[type="number"], #contactForm input[type="date"] {
   box-shadow: 0 0 0 2px #222222;
    color: #222222;
    background-color: #ffffff !important;
}

#contactForm select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

#selectdirectoriotype {
    cursor: pointer;
}

#contactForm .select-wrapper{
    float: left;
    display: inline-block;
    background: url("https://www.ibizafilmcommission.com/wp-content/uploads/2015/05/3.jpg") no-repeat right center;
    cursor: pointer;
    width: 100%;
    position: relative;
}

#contactForm .select-wrapper:hover{
    background: url("https://www.ibizafilmcommission.com/wp-content/uploads/2015/05/3.jpg") no-repeat right center;

}
#contactForm .select-wrapper .holder{
    background: #fff url("https://www.ibizafilmcommission.com/wp-content/uploads/2015/05/3.jpg") no-repeat scroll right center;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    float: right;
    height: 40px;
    pointer-events: none;
    position: absolute;
    right: 0;
    width: 30px;
    z-index: 2;
    cursor: pointer;
}


#contactForm ul li{
	list-style: none;
}

#contactForm h5 {
    margin-top: 35px;
    padding: 20px;
    background-color: #F5A9A9;
    color: #222222;
    font-size: 16px;
    text-decoration: bold;
}

#contactForm input[type="file"] {
    cursor: pointer;
    border: 2px solid #000;
}

#contactForm .terminos{
	margin-top: 50px;
}

#contactForm  span.wpcf7-list-item{
	margin: 0 !important;
}

#contactForm input[type=submit]{
	margin-top: 30px;
} 

#contactForm ul {
    list-style: none;
    margin-right: 40px;
}




/* RESPONSIVE */

@media (max-width: 980px) {

    button.btn-padre {
        width: 100%;
    }
    button.btn-hijo {
        width: 100%;
        flex: none;
    }  
    .wpb_button {
        width: 100%;
    }
    .wpb_button button{
        width: 100%;
    }
	#directorios .contenido #profesionales .item { 		width: calc(50% - 15px);	}
	
	.page-template-page-tramites .w-tabs-item {
   		width: 100%;
	}
	
	.page-template-page-tramites .w-tabs-item.with_icon{
    	color: #888;
		background-color: #f1f1f1;
		border-bottom: 2px solid #fff;
		padding: 15px;
	}
	
	.page-template-page-tramites .w-tabs-section .g-cols.wpb_row{
		margin-top: 0;
	}
	
	.g-cols.offset_default > div:first-child, .g-cols.offset_default > div.full-width{
		width: 100% !important;
	}
	
    .one-half{
		width: 100% !important;
		margin-bottom: 30px;
		padding: 20px 0;
	}
	
	.municipios-block {
    	display: block;
		margin-bottom: 20px
	}
	
	.g-cols.offset_default > .one-quarter, .g-cols.offset_default > .one-fourth {
		width: 92%;
	}
}

@media (max-width: 680px) {	
	.modal-body {	flex-direction: column;	}
	.left, .right {	width: 100%; margin-bottom: 20px;	}
	#directorios select {    width: 49%;	}
	.modal-content {   width: 90%;  margin-left: 5%;	}
}


@media (max-width: 450px) {
	#directorios .contenido #profesionales .item {		width: 100%;	}
}

li.menu-item--last {
    display: none !important;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #ddd;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display:none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}