/*
 Theme Name: DZ-Sonora
 Theme URI: http://www.sonorasonido.com/
 Description: Sonora Child theme
 Author: DinamizARTe
 Author URI: http://www.dinamizarte.com
 Template: Divi
 Version: 1.0
*/

/*  R E D E F I N I R  */

/** quitar blanco en tope de la cabecera, solo si no hay menu **/
body.page-template-page-template-portada-php #page-container,.page-template-page-template-interior-php #page-container {
	padding-top: 0 !important;
}
/** **/

/** PIE **/
/* COLOR FONDO PIE - predeterminado aqui, se modifica en plantilla: PIE DISEÑO */
#main-footer {
	background-color: #222222;
	padding-top: 0px;
	padding-bottom: 0px;
}
/* Bottom Bar */
/* COLOR FONDO BARRA PIE - predeterminado aqui, se modifica en plantilla: PIE BARRA INFERIOR */
#footer-bottom {
	background-color: rgba(0,0,0,0); 
	padding: 0px 0 0px;	
}
#footer-bottom a {
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
/* TEXTO COPY PIE - predeterminado aqui, se modifica en plantilla: PIE BARRA INFERIOR */
#footer-info {
	color: #666666;
	font-size: 12px;
	text-align: center;
	float: none;
	padding-top: 20px;
	padding-bottom: 15px;
}
#footer-info a {
	color: #fff;
	font-weight: 400;
}
#footer-info a:hover {
	opacity: 0.6;color: #fff;
}
/** **/

/** PIE Social Icons **/
.et-social-icons {
	float: none;
	text-align: center;	
	padding-top: 20px;		
}
.et-social-icons li{	
	padding-top: 5px;
	padding-right: 20px;
	border-right: 1px solid #fff;
}
.et-social-icons li:last-child {
	border: 0;
}
/* ICONOS PIE - predeterminado aqui, se modifica en plantilla: PIE BARRA INFERIOR */
.et-social-icon a {
	color: #666666;
	font-size: 24px;
}
/** **/

/** Dz Social Icons DZ - Bloque DIRECCION **/
#social-DZ .et-social-icons {
	float: none;
	padding: 0px;
}
#social-DZ .et-social-icons li {
	display: inline-block;
	padding-right: 20px;
	border-right: 1px solid #fff;
}
#social-DZ .et-social-icons li:last-child {
	border: 0;
}
#social-DZ .et-social-icon a {
	display: inline-block;
	position: relative;
	color: #fff;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
	transition: all 0.4s ease-in-out;
}
#social-DZ .et-social-icon a:hover {
  color: #000;
}
#social-DZ .et-social-icon span {
	display: none;
}
/** **/

/** sombreado de textos e iconos **/
.marcar-sombreado .et_pb_blurb_container , .marcar-sombreado  p, .marcar-sombreado  h2{
	text-shadow:1px 1px black;
}
/* definir tamaño icono sombreado con circulo transparente borde color (no definido en blurb)*/
.marcar-sombreado .et-pb-icon  {
	padding: 13px;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;	
	text-shadow:2px 2px black;
	border: 2px solid;
	border-color: #fff;
}
/* definir tamaño icono sombreado (definir circulo en blurb)*/
.marcar-sombreado .et-pb-icon-circle  {
	padding: 13px;
	text-shadow:2px 2px black;	
}
.marcar-sombreado  a:hover {
  color: #fff;
}
/** **/

/** Cabeceras sidebar **/
/* Remove Sidebar Border */
    /*.container::before { display:none; }*/

/* subrayado de color */
.et_pb_sidebar_0.et_pb_widget_area h4, #sidebar h4 {
    border-bottom: 2px solid #C4017B;
    margin: 0 0 10px 0;
}

/* titulo seccion */
h4.widgettitle {
    border-bottom: 2px solid #C4017B;
    /*padding-bottom: 40px;*/
	margin: 0 0 10px 0;
    /*text-transform: uppercase;*/
}

/* icono en las listas */
.et_pb_sidebar_0.et_pb_widget_area li, #sidebar li {
    background: url(images/widget-blue-bullet.png) no-repeat 3px 8px;
	padding-left:12px;
}	
/** linea de subrayado de texto en color **/
.et_pb_text .line-title{
	width:45px;
	height:4px;
	margin:0 auto;
	display:block;
	margin-bottom:20px;
	background-color:#000;
}
/** **/


/** MENU MOVIL **/
/* menu movil sale siempre */
@media only screen and ( min-width:1980px ) {
#et_mobile_nav_menu { display:block }
#top-menu-nav { display:none; }
} 
/* icono del menu movil */
.mobile_menu_bar:before {
 content: "\47";
 font-size: 32px;
 left: 0;
 position: relative;
 top: 0;
 cursor: pointer;
}
/* \37 double arrow down
\3b Arrow in a cirle
\47 Downwards triangle in a circle
\4c Plus sign
*/
/** **/

/** mapa con capa gris**/
.et_pb_map_container { 
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale"); 
    filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(55%);
}
/** **/








/*  N U E V O S  */

/** hacer slider alto 100% (falla) **/
.home-slide .et_pb_slide { height: 100vh;}
/** **/


/** alinear en cabecera iconos redes a la izda**/
#top-header .et-social-icons { float:right !important; }
#top-header #et-info { width: 100%; }

/* Secondary menu alignment */
#et-info {
float: none !important;
text-align: center;
}



/** no hacer parallax en moviles. Ponerlo en sección de cada foto **/
@media screen and (max-width: 500px)
{
.noparallaxmovil {display: none;}
}
/** **/


/** Centrar texto vertical en una caja **/
.et_pb_column {
position: relative;
}
.et_pb_column .centertext.et_pb_text {
position: absolute;
top: 50%;
transform: translateY(-50%);
}

/** IMAGEN REDONDEADA **/
.image-rounded {
border: none !important;
}
.image-rounded img {
width: 600px !important;
text-align: center !important;
border: 10px solid #4b5966 !important;
border-radius: 100% !important;
}

.image-rounded {
border: none !important;
-webkit-transition:all 0.6s ease-out;
-moz-transition:all 0.6s ease-out;
-ms-transition:all 0.6s ease-out;
-o-transition:all 0.6s ease-out;
transition:all 0.6s ease-out;
}

.image-rounded:hover
{
-webkit-transform:rotate(360deg);
-moz-transform:rotate(360deg);
-ms-transform:rotate(360deg);
-o-transform:rotate(360deg);
transform:rotate(360deg);
}

/*PERSON MODULE*/
.foto-rounded {text-align:center;}
.foto-rounded img {
 max-width: 250px;
 border: 5px solid #fff;
 border-radius: 150px;
 transform: rotate(-5deg);
 -webkit-filter: grayscale(90%) ;
 filter: grayscale(90%) ;
 transition: 0.5s;
 -moz-transition: 0.5s;
 -webkit-transition: 0.5s;}
 
.foto-rounded img:hover {
 transform: rotate(0deg);
 border: 5px solid #e5e2d3;
 -webkit-filter: grayscale(0%) ;
 filter: grayscale(0%);
}


/* Header once it touches the top edge */
#main-header.cover-header { 
	position: fixed; 
	top: 0!important; 
	bottom: auto!important; 
	background: #000000!important;	
}

/** estilos en textos de slider **/
/*
.et_pb_slide_description h2 {
	background-color: #000;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	-moz-border-top-right-radius: 5px;
	-moz-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	padding: 15px;
	opacity: .8;
}

.et_pb_slide_content p {
	background-color: #000;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	-moz-border-bottom-right-radius: 5px;
	-moz-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	padding: 15px;
	opacity: .8;
}
*/

/** pagina  404 **/
.error404 #main-content .container, .error404 #content-area, .error404 #left-area {
 padding: 0 !important;
 margin: 0 ;
 width: 100% !important;
 max-width: none;
}

.error404 #sidebar {
 display: none;
}
/** **/
.error404 .et_pb_post:last-child {
margin-bottom: 0;
}

/** boton fly en cabecera sale en home **/
/*CREATING THE BUTTON STYLES*/
#main-header #et-top-navigation nav > ul > li:first-child > a {
 background: #C4017B;
 color: #fff;
 padding: 10px 12px;
 border-radius: 4px;
 margin-top: -10px;
}
/*BEFORE SCROLL*/
.home #main-header #et-top-navigation nav > ul > li:first-child > a {
 margin-right: 120px;
 transition: 1s ease all;
 opacity: 0;
}
/*AFTER SCROLL*/
.home #main-header.et-fixed-header #et-top-navigation nav > ul > li:first-child > a {
 margin-right: 0;
 opacity: 1;
}
/** **/

/** modificar tamaño imagen en portfolio **/
.et_portfolio_image {
 padding-top: 100%;
 }
 .et_portfolio_image img {
 position: absolute;
 height: 100%;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 object-fit: cover;
 }
/** **/ 
/** modificar tamaño imagen en Divi Gallery **/
.et_pb_gallery_image {
padding-top: 100%;
}
.et_pb_gallery_image img {
position: absolute;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
object-fit: cover;
}
/** **/

/*---------- [Testimonial Slider ]----------*/
    
    .testimonial-slider,
    .testimonial-slider .et_pb_container {
        height: auto !important;
    }
    .testimonial-slider,
    .testimonial-slider .et_pb_slide {
        max-height: auto;
        border: 1px solid #fff;
        outline: 3px solid #000;
    }
    .testimonial-slider .et_pb_slide_description {
        position: relative;
        top: 25%;
        padding-top: 20px !important;
        padding-bottom: 10px !important;
        height: auto !important;
    }
    .testimonial-slider .et_pb_testimonial_portrait {
        display: table-cell;
        float: left;
        position: relative;
        width: 175px !important;
        height: 175px !important;
        margin-right: 30px;
        border: 3px solid #ffffff;
        background-repeat: no-repeat;
        background-position: center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
    }
	
	.testimonial-slider .et-pb-controllers a {
    border-radius: 0px;
}
/** **/


/*Change Post, Project, Archive Page Sidebars from one fourth to one third*/
    .container::before { display:none; }
    .single-project div#left-area {width: 700px;}
    .single-project div#sidebar {width: 300px;}
    .single-post div#left-area {width: 700px;}
    .single-post div#sidebar {width: 300px;}
    .archive div#left-area {width: 700px;}
    .archive div#sidebar {width: 300px;}
    .search div#left-area {width: 700px;}
    .search div#sidebar {width: 300px;}
  
    /* LAPTOP - IPAD LANDSCAPE (981-1100) */
        @media only screen
        and ( min-width: 981px )
        and ( max-width: 1100px ) {
        .single-project div#left-area {width: 630px;}
        .single-project div#sidebar {width: 240px;}
        .single-post div#left-area {width: 630px;}
        .single-post div#sidebar {width: 240px;}
        .archive div#left-area {width: 630px;}
        .archive div#sidebar {width: 240px;}
    .search div#left-area {width: 630px;}
        .search div#sidebar {width: 240px;}}
  
    /* TABLETS - IPAD PORTRAIT (768-980) */
        @media only screen and (max-width : 980px) {
        .single-project div#left-area {width: 700px;}
        .single-project div#sidebar {width: 700px;}
        .single-post div#left-area {width: 700px;}
        .single-post div#sidebar {width: 700px;}
        .archive div#left-area {width: 700px;}
        .archive div#sidebar {width: 700px;}
    .search div#left-area {width: 700px;}
        .search div#sidebar {width: 700px;}}
  
    /* MINI TABLETS - IPHONE LANDSCAPE (480-767) */
        @media only screen and ( max-width: 767px ) {
        .single-project div#left-area {width: 400px;}
        .single-project div#sidebar {width: 270px;}
        .single-post div#left-area {width: 400px;}
        .single-post div#sidebar {width: 270px;}
        .archive div#left-area {width: 400px;}
        .archive div#sidebar {width: 270px;}
    .search div#left-area {width: 400px;}
        .search div#sidebar {width: 270px;}}
  
    /* CELL PHONES - IPHONE PORTRAIT */
        @media only screen and ( max-width: 479px ) {
        .single-post div#left-area {width: 280px;}
        .single-project div#left-area {width: 280px;}
        .single-project div#sidebar {width: 280px;}
        .single-post div#sidebar {width: 280px;}
        .archive div#left-area {width: 280px;}
        .archive div#sidebar {width: 280px;}
    .search div#left-area {width: 280px;}
        .search div#sidebar {width: 280px;}}
