/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/




/**************************
 *                        *
 *   Estructura general   *
 *                        *
 **************************/

main.template-page {padding-top: 32px; padding-bottom: 24px;} /* Todas las páginas */

body.home main.template-page {padding-top: 0px;} /* Portada */

div.template-single-blog > main.content {padding-top: 32px;} /* Artículos normales del blog */

div.template-single-blog div.post_delimiter {padding: 0px !important; margin: 0px !important;} /* Artículos normales del blog, quitar el espacio excesivo de abajo */

body.home div.fullsize > div.container > div.content {padding-top: 24px;} /* Portada (bajo la presentación parallax) */

div.column-top-margin.av-zero-column-padding {margin-top: 32px;} /* Separación superior */

article.iconbox {margin-bottom: 0px !important;} /* Artículos normales del blog, quitar el espacio excesivo de los iconbox utilizados para las menciones ed autoría, de abajo */

#scroll-top-link {display: none; } /* Desactiva la mosca inferior derecha que conduce rápidamente al principio de la página */

p {text-align: justify;} /* Especifica quetodos los párrafos deben presentar justificación completa en ambos márgenes */

.caja {
        display: inline-block;
        width: auto;
        min-width: 0;
	background: #ffffbb;
	margin-top: 40px;
	margin-left: 20px;
	margin-right: 10px;
	margin-bottom: 20px;
        padding-top: 20px;
        padding-left: 15px;
        padding-bottom: 0px;
        padding-right: 15px;
}

.autoria
{
        position:relative;       
        box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1) inset;
}

.autoria > p { width: auto; min-width: 0;}

.autoria:before, .autoria:after
{
    content:"";
    position:absolute; 
    z-index:-1;
    box-shadow:0 0 20px rgba(60,60,60,0.4);
    top:50%;
    bottom:0;
    left:10px;
    right:10px;
    border-radius:100px / 10px;
}


/*****************
 *               *
 *   Recuadrar   *
 *               *
 *****************/

.avia-image-container img { border: 1px solid #666666; padding: 0px; } /* Imágenes */

div.avia-iframe-wrap > iframe {border: 1px solid #999999;} /* Vídeos */

div.avia-google-map-container {border: 1px solid #999999;} /* Mapas */



/******************
 *                *
 *   Tipografía   *
 *                *
 ******************/

@font-face {
font-family: 'Myriad'; src: url('/fonts/Myriad-Pro.ttf') format('truetype');
font-weight: normal;
}
@font-face {
font-family: 'Myriad'; src: url('/fonts/Myriad-Pro-Bold.ttf') format('truetype');
font-weight: bold;
}
@font-face {
font-family: 'Myriad'; src: url('/fonts/Myriad-Pro-Light.ttf') format('truetype');
font-weight: 300;
}


/******************)***
 *                    *
 *   Menú principal   *
 *                    *
 *******************)**/

.av-main-nav ul { display: none; margin-left:0; left:0; position: absolute; top: 100%; width: 240px; z-index: 2; padding:0; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); margin-top:-1px; }


/*************************
 *                       *
 *   Tipografía ligera   *
 *                       *
 *************************/

h2.ElPais {
font-family: 'Myriad', "Times New Roman", "Georgia", serif;
font-weight: 300;
font-size: 32px;
line-height: 32px;
letter-spacing: -0.5px !important;
}


/********************************
 *                              *
 *   Efecto hover en imágenes   *
 *                              *
 ********************************/

.avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
-webkit-transform: scale(1,1);
-moz-transform: scale(1,1);
transform: scale(1,1);
}


/*********************************
 *                               *
 *  Titulares de los artículos   *
 *                               *
 *********************************/

@media only screen and (min-width: 768px) {
   .entry-content-wrapper h1.post-title {
   font-family: 'Myriad', "Times New Roman", "Georgia", serif;
   font-weight: 700;
   font-size: 42px;
   line-height: 42px;
   letter-spacing: -0.75px !important;
   }
}

@media only screen and (max-width: 767px) {
   .entry-content-wrapper h1.post-title {
   font-family: 'Myriad', "Times New Roman", "Georgia", serif;
   font-weight: 700;
   font-size: 28px;
   line-height: 30px;
   letter-spacing: -0.5px !important;
   }
}


/******************************
 *                            *
 *  Titulares de la portada   *
 *                            *
 ******************************/

@media only screen and (min-width: 768px) {
   h1 {
   font-family: 'Myriad', Helvetica, Arial, sans-serif;
   font-weight: bold;
   line-height: 36px;
   text-transform: none !important;
   letter-spacing: -0.5px !important;
   font-size: 36px;
   }
 }

@media only screen and (min-width: 768px) {
   .entry-content-wrapper .post-title {
   font-family: 'Myriad', "Times New Roman", "Georgia", serif;
   font-weight: 200;
   line-height: 36px;
   letter-spacing: -0.5px !important;
   }
   article.post-loop-1 .entry-content-wrapper .post-title {
   font-family: 'Myriad', "Times New Roman", "Georgia", serif;
   font-weight: 700;
   line-height: 42px;
   letter-spacing: -0.75px !important;
   }
   #top .flex_column .template-blog .post-title {
   font-size: 36px;
   }
   #top .flex_column .template-blog article.post-loop-1 .post-title {
   font-size: 42px;
   }
}

@media only screen and (max-width: 767px) {
   .entry-content-wrapper .post-title {
   font-family: 'Myriad', "Times New Roman", "Georgia", serif;
   font-weight: 200;
   line-height: 30px;
   letter-spacing: -0.5px !important;
   }
   article.post-loop-1 .entry-content-wrapper .post-title {
   font-family: 'Myriad', "Times New Roman", "Georgia", serif;
   font-weight: 700;
   line-height: 30px;
   letter-spacing: -0.5px !important;
   }
   #top .flex_column .template-blog .post-title {
   font-size: 28px;
   }
}


/*******************************
 *                             *
 *  Titulares en la Extranet   *
 *                             *
 *******************************/

@media only screen and (min-width: 768px) {
   h2.Titulares {
      font-family: 'Myriad', 'Times New Roman', 'Georgia', serif;
      font-weight: 700;
      font-size: 42px;
      line-height: 42px;
      letter-spacing: -0.75px !important;
   }
}

@media only screen and (max-width: 767px) {
   h2.Titulares {
      font-family: 'Myriad', 'Times New Roman', 'Georgia', serif;
      font-weight: 700;
      font-size: 38px;
      line-height: 38px;
      letter-spacing: -0.5px !important;
   }
}


/*********************************
 *                               *
 *  Diapositivas de la portada   *
 *                               *
 *********************************/

.presentacion {}



@media only screen and (min-width: 768px) {
   .avia-caption-title {
      font-family: 'Myriad', 'Times New Roman', 'Georgia', serif;
      font-weight: 700;
      letter-spacing: -1px !important;
      color: red;
   }
   .avia-caption-content {
      max-width: 500px; /* Limita el ancho del recuadro de comentarios bajo los titulares de la diapositiva. */
   }
}

@media only screen and (max-width: 767px) {
   .responsive #top .slideshow_caption h2 {
      font-size: 32px !important;
   }
   .avia-caption-title {
      font-family: 'Myriad', 'Times New Roman', 'Georgia', serif;
      font-weight: 700;
      letter-spacing: 0px !important;
   }
   .caption_bottom .slideshow_caption .slideshow_inner_caption {
      padding: 0;
   }
}


/****************
 *              *
 *  Traductor   *
 *              *
 ****************/

.glink {
   margin-right: 10px;
}
.phone-info.with_nav {
   padding: 0px;
   margin-top: 3px;
}


/**************
 *            *
 *  Widgets   *
 *            *
 **************/

div#text-6.widget.clearfix.widget_text {
   padding-bottom: 10px;
}

div#nav_menu-2.widget.clearfix.widget_nav_menu {
   padding-top: 0px;
   padding-bottom: 0px;
}
/*
.menu-opciones-de-usuario-container {
   min-width: 500px;
   overflow: hidden;
}
*/


#avia2-menu li a {
   font-size: 15px;
   line-height: 15px;
   margin: 0;
   padding: 0;
   text-decoration:none;
}

#header_meta div nav {
   margin-top: -2px;
}


/*
 *   Socket bajo el footer (desactivar en móviles)
 */
@media only screen and (max-width: 767px) {
.responsive #socket .sub_menu_socket {
   display: none !important;
   visibility: hidden !important;
   }
}


/*
 *   Genérico para desactivar en móviles.
 */
@media only screen and (max-width: 767px) {
.noMovil {
   display: none !important;
   visibility: hidden !important;
   }
}


/*
 *   Genérico para desactivar en ordenadores de sobremesa.
 */
@media only screen and (min-width: 768px) {
.noDesktop {
   display: none !important;
   visibility: hidden !important;
   }
}



/*
 *   Dropcaps
 */

@media only screen and (min-width: 768px) {
.av_dropcap1 {
   display: block;
   float: left;
   font-family: 'Myriad', "Times New Roman", "Georgia", serif;
   font-weight: normal;
   font-size: 78px;
   line-height: 68px;
   margin: 2px 5px 0 0;
   padding: 0px;
   }
}

@media only screen and (max-width: 767px) {
.av_dropcap1 {
   display: inline;
   float: none;
   font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-weight: normal;
   font-size: 14px;
   line-height: 14px;
   margin: 0px;
   padding: 0px;
   }
}

.av_dropcap2{
display:block;
float:left;
font-size:18px;
line-height:35px;
width:35px;
text-align: center;
margin: 4px 8px 0 0;
border-radius: 100px;
font-weight: bold;
}

p.entry-content {
font-size:14px;
line-height: 24.5px;
}

/* PRUEBA */
#top .fullsize .template-blog .post .entry-content {
font-size:14px;
line-height: 24.5px;
}



/* ======================================================================================================================================================
#Sidebar & Widgets
====================================================================================================================================================== */

#footer .widget{padding:0; margin:10px 0px 10px 0px; overflow: hidden;}

#footer H3.widgettitle{margin:0px 0px 6px 0px;}


/* ======================================================================================================================================================
#Footer & #Socket
====================================================================================================================================================== */

#footer{
padding:16px 0px 16px 0px;
z-index: 1;
}

#socket .container{
padding-top:5px;
padding-bottom:5px;
}

div.logotipos {
  float: left;
  text-align: center;
  font-size: 12px;
  line-height: 15px;
  text-indent: 0;
  border: 0;
  margin: 0;
  padding: 0;
}


/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */


.wpml-ls-menu-item .wpml-ls-flag{display:inline;vertical-align:baseline;width:18px;height:12px; border: 0;}
/* .wpml-ls-menu-item .wpml-ls-flag+span{margin-left:.3em;} */
.lang_sel_list_horizontal a:link {color:rgb(170, 170, 170) !important}
.lang_sel_list_horizontal a:visited {color:rgb(170, 170, 170) !important}
.lang_sel_list_horizontal a:hover {color:rgb(70, 70, 70) !important}
.lang_sel_list_horizontal a:active {color:rgb(170, 170, 170) !important}
.rtl .wpml-ls-menu-item .wpml-ls-flag+span{margin-left:0;margin-right:.3em}
.lang_sel_list_horizontal {padding: 0px !important; border: 0; margin-top: -2px; float: left; z-index: 2;font-family: "Open Sans"; font-weight:700; font-size: 15px; line-height: 30px; position: absolute; top: 0px; display: table;}


}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */


.wpml-ls-menu-item .wpml-ls-flag{display:inline;vertical-align:baseline;width:18px;height:12px; border: 0;}
.wpml-ls-menu-item .wpml-ls-flag+span{margin-left:.3em;}
.lang_sel_list_horizontal a:link {color:rgb(170, 170, 170) !important}
.lang_sel_list_horizontal a:visited {color:rgb(170, 170, 170) !important}
.lang_sel_list_horizontal a:hover {color:rgb(70, 70, 70) !important}
.lang_sel_list_horizontal a:active {color:rgb(170, 170, 170) !important}
.rtl .wpml-ls-menu-item .wpml-ls-flag+span{margin-left:0;margin-right:.3em}
.lang_sel_list_horizontal {padding: 0px !important; border: 0; margin: 0 auto !important; z-index: 3;font-family: "Open Sans"; font-weight:700; font-size: 15px; line-height: 20px; position: relative; top: -3px; display: table;}

}

