/*
Theme Name: UNBUENPLAN GROUP
Description: Tema hijo para enfold con las personalizaciones especificas de UNBUENPLAN GROUP
Version: 0.1
Author: UNBUENPLAN GROUP
Author URI: http://www.unbuenplangroup.com
Template: enfold
*/


/* Estilos personalizados: */
/*PARA DARLE EL COLOR Y LA TRANSPARENCIA AL MENÚ
#top #header .av_header_transparency .current-menu-item .avia-menu-fx {
    opacity: 0.2 !important;
}*/
/*.html_header_transparency .header-scrolled .header_bg {
    background: rgba(0, 0, 0, 0.7) !important;
}
#div .header_main {
    background: rgba(0, 0, 0, 0.7) !important;
}
.avia-menu-text {
    color: white !important;
}
.main_menu .sub-menu, .avia_mega_div {
    background: rgba(0, 0, 0, 0.7) !important;
}
.avia_mega_div .sub-menu, .main_menu ul ul a{
    background: transparent !important;
}
*/
/*PARA DAR COLOR Y TRANSPARENCIA A LOS SUBMENÚS DEL MENÚ PRINCIPAL
.main_menu .sub-menu, .avia_mega_div {
    background: rgba(0, 0, 0, 0.7) !important;
}*/
/*PARA QUE EL SUBMENÚ SEA TRANSPARENTE
.avia_mega_div .sub-menu, .main_menu ul ul a{
    background: transparent !important;
}*/
/*PARA DARLE COLOR NEGRO A LOS ICONOS SOCIALES DEL HEADER
.social_bookmarks a {
    color: black!important;
}
#top .av_header_glassy.av_header_transparency .social_bookmarks li a {
    border-color: rgba(255,255,255,0.25);
    /* color: #000000;
} */
/*PARA DARLE COLOR AL MENÚ EN VERSIÓN RESPONSIVE*/
#mobile-advanced {
background-color: #000000;
color: #ffffff;
}
/*PARA QUE EL MENÚ RESPONSIVE SE QUEDE FIJO Y SEA TRANSPARENTE*/
@media only screen and (max-width: 989px) {
.responsive #top #header {position: fixed !important; background: transparent !important; }
    #mobile-advanced { background-color: rgba(0, 0, 0, 0.9) !important; }
}
@media only screen and (max-width: 989px) {
	.responsive #top #header {
		position: fixed !important;
		color: #ffffff
	}
	#advanced_menu_toggle {
    background-color: transparent;
    color: #ffffff;
    border-color: transparent;
	}
}
@media only screen and (max-width: 989px) {
    #top #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle {
     background-color: transparent;
     color: #ffffff;
     border-color: transparent;
	}
	#mobile-advanced a, #mobile-advanced .mega_menu_title {
    color: #ffffff;
	}
	#mobile-advanced a:before {
    color: transparent;
	}
	#mobile-advanced li {
    margin: 0;
    padding: 0;
    position: relative;
    float: none;
    clear: both;
    text-align: center;
	font-size: 20px;
	}
	#mobile-advanced {
    width: 100%;
    right: -100%;
    position: absolute;
    z-index: 10030;
    top: 0;
    padding: 120px 0;
    }
	#mobile-advanced, #mobile-advanced a, #mobile-advanced .mega_menu_title {
    border-color: transparent;
}
}
.html_header_top.html_header_sticky #top 
.element.style {
	background-color: #ffffff;
	border: 1px solid #0a0a0a;
	color: #f1173b;
}
/*PARA CORREGIR ERROR DE MENÚ RESPONSIVE*/
#wrap_all { position: relative !important; }
.av-main-nav > li > a {
	display: block;
	text-decoration: none;
	padding: 0 9px;
}
/*PARA DARLE TAMAÑO AL MENÚ*/
#top #header .av-main-nav > li > a {
	font-size: 14px;
}
/*PARA PONER LA FLECHITA DE SUBIR ARRIBA EN LA VERSIÓN RESPONSIVE*/
.responsive #scroll-top-link {
	display: block!important;
}
/*PARA QUE NO SE SOLAPE EL MENÚ RESPONSIVE CON EL CUERPO DE LA PÁGINA*/
.html_header_top.html_header_sticky #top #main {
	padding-top: 80px !important;
}
.html_header_top.html_header_sticky.html_header_transparency #top #main {
	padding-top: 0 !important;
}
/*CUSTOMIZACIONES DE ANCHO PARA DISTINTAS SECCIONES
#servicios .container {
    max-width: 85%;
}
#portfolio .container {
    max-width: 100%;
}
#empresa .container {
    max-width: 85%;
}
#seccion_blog .container {
    max-width: 100%;
}
#seccion_contacto .container {
    max-width: 85%;
}
#top .av-share-box ul {
  border-style: ;
}
#footer .container {
    max-width: 90%;
}
 #socket .container { 
max-width: 90%;
} */
/*PARA CENTRAR LOS MENÚS Y EL CONTENIDO DEL SOCKET EN VERSIÓN RESPONSIVE, TAMAÑO Y COLOR*/
@media only screen and (max-width: 479px) {
    .responsive #socket .sub_menu_socket { 
        display: block !important; 
    }
    #socket .container { 
        text-align: left; 
	}
	#socket .sub_menu_socket div {
		list-style: none outside;
		margin-left: -15px;
	}
    #socket .container span, #socket .container nav {
        float: none !important;
        display: inline-block !important;
    }
    #socket .sub_menu_socket li {
        float: none;
        text-align: left;
        width: 100%;
        margin: 15px 0;
        border: 0;
        color: white;
    }
    #socket{
        font-size: 14px;
    }
}
/*PARA QUE EL TAMAÑO DE LAS IMAGENES DELOS POST SE AJUSTEN A ANCHO COMPLETO*/
.big-preview.single-big, .big-preview.single-big img {
   width: 100%;
}
/*PARA QUE LAS IMÁGENES DE LOS POST EN FORMATO GRILLA SEAN DE ANCHO COMPLETO*/
.avia-content-slider .slide-image, .avia-content-slider .slide-image img {
    width: 100%;
}
/*PARA EL COLOR BLANCO EN LOS MENUS DEL SOCKET*/
.socket_color a, .socket_color .widget_first, .socket_color strong, .socket_color b, .socket_color b a, .socket_color strong a, .socket_color #js_sort_items a:hover, .socket_color #js_sort_items a.active_sort, .socket_color .av-sort-by-term a.active_sort, .socket_color .special_amp, .socket_color .taglist a.activeFilter, .socket_color #commentform .required, #top .socket_color .av-no-color.av-icon-style-border a.av-icon-char {
  color: #ffffff;
}
/*PARA QUITAR EL BULLET DEL SOCCKET*/
#socket .container span.avia-bullet {
    display: none !important;
}
/*PARA LA FLECHA DE SUBIR ARRIBA EN LA VERSIÓN RESPONSIVE*/
#wrap_all { position: relative !important; }
.responsive #scroll-top-link {
  display: block!important;
}
#top .av_header_glassy.av_header_transparency .social_bookmarks li a {
    border-color: rgba(255,255,255,0.25);
    color: #000;
}
/*PARA PONER EL SIDEBAR DEBAJO EN VERSIÓN IPAD VERTICAL*/
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 967px) 
  and (orientation: portrait)  {
	.container {
		max-width: 100% !important;
	}
	#top #main .sidebar {
		width: 100% !important;
	}
/*PARA PONER EL FOOTER CON UNA SOLA COLUMNA EN IPAD VERTICAL*/
	.flex_column {
    width: 100%!important;
    margin-left: 0!important;
	}
}
@media only screen and (max-width: 769px) {
	.content {
    width: 100%!important;
    border: none!important;
	}
}
/*PARA QUE EL TAMAÑO DE LAS IMAGENES DELOS POST SE AJUSTEN A ANCHO COMPLETO*/
.big-preview.single-big, .big-preview.single-big img {
   width: 100%;
}
/*PARA QUE LAS IMÁGENES DE LOS POST EN FORMATO GRILLA SEAN DE ANCHO COMPLETO*/
.avia-content-slider .slide-image, .avia-content-slider .slide-image img {
    width: 100%;
}
/*PARA SEPARAR LOS POST SIMPLES DEL HEADER*/
.container.template-blog.template-single-blog {
    padding-top: 40px;
}
/*PARA PONER SOMBRA EN EL TEXTO DEL SLIDER*/
.avia_transform .av_slideshow_full.avia-fade-slider {
text-shadow: 0,0,10px #000;
}
/*PARA PONER EL LOGO ENCIMA DEL MENÚ RESPONSIVE AL ABRIRLO*/	
@media only screen and (max-width: 1024px){
#mobile-advanced:before {
    content: '';
    width: 170px;
    height: 68px;
    display: block;
    overflow: hidden;
    margin-top: 1px !important;
    background: url(http://unbuenplangroup.com/wp-content/uploads/2016/01/LOGO-WEB-UBPG-1.png) no-repeat center center;
    background-size: 100% 100%;
    margin: 0 auto;
}
}
@media only screen and (max-width: 1024px) {
#mobile-advanced {
    width: 100%;
    right: -100%;
    position: absolute;
    z-index: 10030;
    top: 0;
    padding: 60px 0;
}
}
/* PARA PONER LOS POST EN EL BLOG EN UNA SOLA COLUMNA EN VERSIÓN MOVIL */
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .slide-entry {
    width: 100% !important;
    margin-left: 0px !important;
}
}
@media only screen and (max-width: 736px) {
	article.slide-entry.flex_column.post-entry.slide-parity-odd.av_one_half.first.real-thumbnail {
	margin-bottom: 50px !important;
}
}
/*COOKIE LAW*/
.wrapperMensajeCookie .textoLegalCookie p {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
}
/*PARA ACERCAR LOS TEXTOS DE LAS CASILLAS DE SUSCRIPCIÓN DEBAJO DE LOS COMENTARIOS EN LAS ENTRASDAS DEL BLOG*/
#commentform label {
    position: absolute;
    left: 30px;
	top: -7px;
}
/*PARA MOVER LA FLECHA DE SUBIR ARRIBA Y CAMBIAR LA OPACIDAD*/	
#scroll-top-link {
	right: 30px;
    bottom: 30px;
}
#scroll-top-link.avia_pop_class {
    opacity: 0.5;
    visibility: visible;
}
#main, .avia-msie-8 .av_header_sticky_disabled#header {
    background-color: #ffffff;
}
/*PARA CREAR UNA BARRA DE BÚSQUEDA EN EL MENÚ MÓVIL, HAY QUE AÑADIR AL FUNTIONS LO SIGUIENTE 
add_filter( 'wp_nav_menu_items', 'avf_add_search', 3, 2 );
function avf_add_search( $items, $args ) {
	if ($args->theme_location == 'avia')
	{
		$search = '<li id="menu-item-search-mobile" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-18 current_page_item menu-item-top-//level menu-item-top-level-5">'.get_search_form(false).'</li>';
	$items = $search . $items;
	}
	return $items;
}*/ 
/*PARA QUE EL TAMAÑO DE LAS IMAGENES DELOS POST SE AJUSTEN A ANCHO COMPLETO*/
.big-preview.single-big, .big-preview.single-big img {
   width: 100%;
}
/*PARA QUE LAS IMÁGENES DE LOS POST EN FORMATO GRILLA SEAN DE ANCHO COMPLETO*/
.avia-content-slider .slide-image, .avia-content-slider .slide-image img {
    width: 100%;
}
/*PARA SEPARAR LOS POST SIMPLES DEL HEADER*/
.container.template-blog.template-single-blog {
    padding-top: 40px;
}
/*PARA PONER SOMBRA EN EL TEXTO DEL SLIDER*/
.avia_transform .av_slideshow_full.avia-fade-slider {
text-shadow: 0,0,10px #000;
}
/*PARA PONER EL LOGO ENCIMA DEL MENÚ RESPONSIVE AL ABRIRLO*/	
@media only screen and (max-width: 1024px){
#mobile-advanced:before {
    content: '';
    width: 170px;
    height: 68px;
    display: block;
    overflow: hidden;
    margin-top: 1px !important;
    background: url(http://unbuenplangroup.com/wp-content/uploads/2016/01/LOGO-WEB-UBPG-1.png) no-repeat center center;
    background-size: 100% 100%;
    margin: 0 auto;
}
}
@media only screen and (max-width: 1024px) {
#mobile-advanced {
    width: 100%;
    right: -100%;
    position: absolute;
    z-index: 10030;
    top: 0;
    padding: 60px 0;
}
}
/* PARA PONER LOS POST EN EL BLOG EN UNA SOLA COLUMNA EN VERSIÓN MOVIL */
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .slide-entry {
    width: 100% !important;
    margin-left: 0px !important;
}
}
@media only screen and (max-width: 736px) {
	article.slide-entry.flex_column.post-entry.slide-parity-odd.av_one_half.first.real-thumbnail {
	margin-bottom: 50px !important;
}
}
/*COOKIE LAW*/
.wrapperMensajeCookie .textoLegalCookie p {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
}
/*PARA ACERCAR LOS TEXTOS DE LAS CASILLAS DE SUSCRIPCIÓN DEBAJO DE LOS COMENTARIOS EN LAS ENTRASDAS DEL BLOG*/
#commentform label {
    position: absolute;
    left: 30px;
	top: -7px;
}
/*PARA MOVER LA FLECHA DE SUBIR ARRIBA Y CAMBIAR LA OPACIDAD*/	
#scroll-top-link {
	right: 30px;
    bottom: 30px;
}
#scroll-top-link.avia_pop_class {
    opacity: 0.5;
    visibility: visible;
}
#main, .avia-msie-8 .av_header_sticky_disabled#header {
    background-color: #ffffff;
}
/*PARA CREAR UNA BARRA DE BÚSQUEDA EN EL MENÚ MÓVIL, HAY QUE AÑADIR AL FUNTIONS LO SIGUIENTE 
add_filter( 'wp_nav_menu_items', 'avf_add_search', 3, 2 );
function avf_add_search( $items, $args ) {
	if ($args->theme_location == 'avia')
	{
		$search = '<li id="menu-item-search-mobile" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-18 current_page_item menu-item-top-//level menu-item-top-level-5">'.get_search_form(false).'</li>';
	$items = $search . $items;
	}
	return $items;
}*/ 
/*@media only screen and (max-width: 767px) {
	#top #searchform> div {
		display: block !important;
		opacity: 1 !important;	
	}
}
#menu-item-search-mobile {
display: block;
}
#top #searchform {
    margin: 30px;
    padding: 0;
}
#top #s {
    width: 100%;
    position: relative;
    padding: 6px 47px 6px 5px;
    z-index: 401;
    margin: 0;
    box-shadow: none;
	
}
#top .input-text, #top input[type="text"], #top input[type="input"], #top input[type="password"], #top input[type="email"], #top input[type="number"], #top input[type="url"], #top input[type="tel"], #top input[type="search"], #top textarea, #top select {
    -webkit-appearance: none;
    border: 1px solid #fff;
    padding: 8px 6px;
    outline: none;
    font: 1em "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #fff;
    margin: 0;
    width: 100%;
    display: block;
    margin-bottom: 20px;
    background: #000;
    border-radius: 0px;
}
#top #searchform>div {
    position: relative;
    max-width: 100%;
}
/*PARA MOSTRAR LOS ICONOS SOCIALES EN VERSIÓN RESPONSIVE*/

/*PARA PONER LOS ICONOS SOCIALES EN EL FOOTER MÁS PEQUEÑOS SOLO EN VERSIÓN RESPONSIVE*/
@media only screen and (max-width: 767px) {
[data-av_icon]:before {
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
  font-weight: normal;
  content: attr(data-av_icon);
  speak: none;
  /*font-size: 20px;*/
}
}
/*PARA PONER EL MENÚ RESPONSIVE IGUAL QUE EL MENU ICONO EN ESCRITORIO
@media only screen and (max-width: 989px) {
.responsive .av_mobile_menu_tablet .main_menu, #top #menu-item-search { display: block; }
.av-main-nav > li { display: none; }}
@media only screen and (max-width: 480px) {
li#menu-item-search {
  margin-top: 0;
}}
@media only screen and (max-width: 490px) {
.responsive.html_mobile_menu_tablet .main_menu .avia-menu {
    display: block;
}
#advanced_menu_toggle { 
display: none !important;
padding
}}
@media only screen and (max-width: 767px) {
.responsive.html_mobile_menu_tablet .main_menu .avia-menu {
    display: inline-block!important;
    position: absolute;
    right: 0;
    top: 0;
}
.responsive .logo img {    
    max-width: 85%;
}}*/
/*PARA AGRANDAR EL TAMAÑO DE LOS ICONOS SOCIALES DEL FOOTER EN VERSIÓN MÓVIL*/
#socket .social_bookmarks a {
width: 50px !important;
height: 50px !important;
font-size: 18px !important;
}
/*PARA PONER EL MENÚ RESPONSIVE IGUAL QUE EL MENU ICONO EN ESCRITORIO*/
@media only screen and (max-width: 989px) {
.responsive .av_mobile_menu_tablet .main_menu, #top #menu-item-search { display: block; }
.av-main-nav > li { display: none; }}
@media only screen and (max-width: 480px) {
li#menu-item-search {
  margin-top: 0;
}}
@media only screen and (max-width: 490px) {
.responsive.html_mobile_menu_tablet .main_menu .avia-menu {
    display: block;
}
#advanced_menu_toggle { 
display: none !important;
padding
}}
@media only screen and (max-width: 767px) {
.responsive.html_mobile_menu_tablet .main_menu .avia-menu {
    display: inline-block!important;
    position: absolute;
    right: 0;
    top: 0;
}
.responsive .logo img {    
    max-width: 85%;
}}
@media only screen and (max-width: 990px) {
.responsive.html_mobile_menu_tablet .main_menu .avia-menu {
    display: block;
}
#advanced_menu_toggle { 
display: none !important; 
}}
@media only screen and (max-width: 767px) {
.avia-menu.av_menu_icon_beside {
    padding-right: 5px;
    margin-right: 5px;
    border-right-width: 0px;
    border-right-style: solid;
}}
/*PARA PONER EL TEXTO DEL CUADRO DE BÚSQUEDA EN NEGRO*/
#top .header_color .input-text, #top .header_color input[type='text'], #top .header_color input[type='input'], #top .header_color input[type='password'], #top .header_color input[type='email'], #top .header_color input[type='number'], #top .header_color input[type='url'], #top .header_color input[type='tel'], #top .header_color input[type='search'], #top .header_color textarea, #top .header_color select {
    border-color: transparent;
    background-color: #ffffff;
    color: #000000;
}