/*
Theme Name:  TAO THEME DIVI
Theme URI:   http://localhost/TAO/taotheme-divi-local
Version:     1.0
Description: A child theme of Divi. This is a custom child theme created for our site Tao Theme Divi.
Author:      tao
Author URI:  http://localhost/TAO/taotheme-divi-local
Template:    Divi
*/

/* Modificacions per Jaume Pi */

#top-menu{margin-bottom:0px;}
#azul{background-color:#153159;}
#azul h4{color:#ffffff;font-weight:bold;}
#azul ul.menu li a{color:#fff;font-size: 14px;font-weight: 500;}

#azul ul.menu li:not(:last-child){ padding-bottom: 5px; margin-bottom: 5px;}
#azul #nav_menu-6, #azul #nav_menu-7, #azul #nav_menu-8{margin-bottom:15px !important;}

.et_pb_row {background-color:#fff;}

body.project-template-default #main-content{background-color:transparent;}

#main-header .widget-area .widget img{margin-left:15px; max-width:123px !important}
#main-header .widget-area .widget .widget-title {padding-bottom: 11px !important;}

header .wpml-ls-legacy-list-horizontal{position:absolute;top:0px; right:0px;}
@media (min-width: 981px){ 
 .et_pb_column_3_4 .et_pb_column_3_8 .et_pb_grid_item, .et_pb_row .et_pb_column_3_4 .et_pb_grid_item:nth-child(3n){ width:47% !important; margin-right:1%;}
 .et_pb_column_3_4 .et_pb_grid_item:nth-child(3n+1){clear:none !important;}
 .et_pb_gutters3 .et_pb_column_3_4 .et_pb_column_3_8 .et_pb_grid_item{margin-bottom:2% !important;}
 .et_pb_column_single { padding: 2.855% 0 0 0;}
 .et_pb_gutters2.et_pb_footer_columns3 .footer-widget {
    border-left: solid 2px #508de3;
    padding-left: 15px;
    height: 210px;
 }
 .et_pb_gutters2.et_pb_footer_columns3 .footer-widget:first-child {border:none;}

}
#footer-widgets .footer-widget li:before{content:none}
.et_pb_widget ul li {margin-bottom: 0em;}
body.home .et_pb_row {background-color:transparent;}
body #footer-widgets {padding-top: 50px;}
body .footer-widget {margin-bottom: 20px!important;}

/* Final Modificacions Jaume Pi */


/***********************************************************************
Caution: do not remove this to keep Divi Children Engine always updated 
Divi Children Engine version: 1.0.3
***********************************************************************/

/*------------------------------[FONT ICONS]-----------------------------*/
/*--[Created by Divi Children, http://divi4u.com/divi-children-plugin/]--*/
/*-----------------------------------------------------------------------*/

.icon_tags, .icon_profile, .icon_chat, .icon_clipboard, .icon_calendar {
	font-family: 'ETmodules';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px;
	color: #318EC3;
}
.icon_tags:before {
	content: "\e07c";
	padding: 0px 5px 0 0;
}
.icon_profile:before {
	content: "\e08a";
	padding: 0 5px 0 0;
}
.icon_chat:before {
	content: "\e066";
	padding: 0 5px 0 20px;
}
.icon_clipboard:before {
	content: "\e0e6";
	padding: 0 5px 0 20px;
}
.icon_calendar:before {
	content: "\e023";
	padding: 0 5px 0 20px;
}

/*- YOU CAN INCLUDE THE CUSTOM CODE FOR YOUR CHILD THEME BELOW THIS LINE-*/

/*------------------------------------------------*/
/*-----------------[BASIC STYLES]-----------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*---------------[MAIN LAYOUT INFO]---------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*---------------[DROPDOWN MENU]------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*-------------------[COMMENTS]-------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*---------------------[FOOTER]-------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*--------------------[SIDEBAR]-------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*------------[CAPTIONS AND ALIGNMENTS]-----------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*-----------------[WP CALENDAR]------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*-------------------[PAGE NAVI]------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*------------------[TRANSITIONS]-----------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*---------------[RESPONSIVE LAYOUTS]-------------*/
/*------------------------------------------------*/

@media only screen and ( min-width: 981px ) {

}

/*-------------------[960px]------------------*/
@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) {

	/*-------------------[Sliders]------------------*/

	/*-------------------[Portfolio]------------------*/

	/*-------------------[Sidebar]------------------*/
	
	/*-------------------[Menu]------------------*/
	
}

/*-------------------[768px]------------------*/
@media only screen and ( max-width: 980px ) {

	/*-------------------[Portfolio]------------------*/
	
	/*-------------------[Sliders]------------------*/
	
	/*-------------------[Menu]------------------*/

}

@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {

}

@media screen and ( max-width: 782px ) {

}

/*-------------------[480px]------------------*/
@media only screen and ( max-width: 767px ) {

	/*-------------------[Menu]------------------*/

}

/*-------------------[320px]------------------*/
@media only screen and ( max-width: 479px ) {

}

/*MODIFICACIONES TAO*/
//#main-header{ background-color: #ffffff; }
#main-header > .wrap{
    position: relative;
    width: 80%;
    max-width: 1080px;
    margin: auto;
    padding: 20px 0;
}
#main-header .logo_container,#main-header .widget-area{
    display: inline-block;
    width: 50%;
}
#main-header .logo_container{
    position: initial;
    color: #153159;
    height: 96px;
}
#main-header .logo_container .logo_link{
    display: inline-block;
    height: 96px;
}
#main-header .logo_container .logo_link img{
    height: 100%;
    width: auto;
    max-height: initial;
    max-width: initial;
}
#main-header .logo_container h1,
#main-header .logo_container h2,
#main-header .logo_container h3,
#main-header .logo_container h4{
    color: #153159;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    width: auto;
    padding-bottom: 0;
    vertical-align: bottom;
}
#main-header .widget-area{
    float: right;
    padding-top: 34px;
    box-sizing: border-box;
    text-align: right;
}
#main-header .widget-area .widget{
    display: inline-block;
    height: 62px;
}
#main-header .widget-area .widget .widget-title{ padding-bottom: 0; }
#main-header .widget-area .widget .widget-title,
#main-header .widget-area .widget .textwidget{
    vertical-align: bottom;
    display: inline-block;
    color: #153159;
    font-size: 18px;
    font-weight: 600;
}
#main-header .widget-area .widget img{
    max-width: 96px;
    height: auto;
}
#main-header .widget-area .widget:after{
    content: '';
    display: block;
    clear: both;
}
#main-header .et_menu_container{
    background-color: #153159;
}
#main-header .et_menu_container #et-top-navigation{
    padding: 0 !important;
}
#main-header .et_menu_container #et-top-navigation ul.nav li a{
    display: block;
    padding: 20px 10px;
}
#main-header .et_menu_container #et-top-navigation ul.nav li.menu-item-has-children a{
    padding-right: 20px;
}
#main-header .et_menu_container #et-top-navigation ul.nav li.menu-item-has-children a:after{
    padding: 20px 0;
}
.et_pb_blurb > .et_pb_blurb_content{
    position: relative;
    height: 280px;
    overflow: hidden;
}
.et_pb_blurb > .et_pb_blurb_content > .et_pb_main_blurb_image{
    margin-bottom: 0;
    height: 200px;
}
.et_pb_blurb > .et_pb_blurb_content > .et_pb_main_blurb_image img{
    height: 100%;
    width: auto;
}
.et_pb_blurb > .et_pb_blurb_content > .et_pb_blurb_container{
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    height: 86px;
    box-sizing: border-box;
}
.et_pb_blurb.et_pb_bg_layout_light > .et_pb_blurb_content > .et_pb_blurb_container{
    background-color: #ffffff;
    color: #505050;
}
.et_pb_blurb.et_pb_bg_layout_light > .et_pb_blurb_content > .et_pb_blurb_container h4{
    color: #153159;
}
.et_pb_blurb.et_pb_bg_layout_dark > .et_pb_blurb_content > .et_pb_blurb_container{
    background-color: #153159;
    color: #ffffff;
    text-align: center;
}
.et_pb_blurb.et_pb_bg_layout_dark > .et_pb_blurb_content > .et_pb_blurb_container a,
.et_pb_blurb.et_pb_bg_layout_dark > .et_pb_blurb_content > .et_pb_blurb_container h4{
    color: #ffffff;
    font-weight: bold;
}
.et_pb_module.et_pb_bg_layout_light{
    padding: 20px;
    background-color: #ffffff;
}
.et_pb_module.et_pb_text.et_pb_bg_layout_light.titulo{
    border-top: 4px solid #153159;
    margin-bottom: 0;
}
.et_pb_text.et_pb_bg_layout_light.titulo h1,
.et_pb_text.et_pb_bg_layout_light.titulo h2,
.et_pb_text.et_pb_bg_layout_light.titulo h3,
.et_pb_text.et_pb_bg_layout_light.titulo h4{
    color: #153159;
    font-weight: bold;
    font-size: 24px;
}
.et_pb_text.titulo + .et_pb_module{
    height: 400px;
}
.et_pb_module ul.menu li:not(:last-child){
    border-bottom: 1px solid #cccccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.et_pb_module ul.menu li a{
    color: #153159;
    font-weight: bold;
    font-size: 18px;
}

.gform_wrapper {
    margin: 0 !important;
}
.gform_wrapper ul.gform_fields li .ginput_container textarea,
.gform_wrapper ul.gform_fields li .ginput_container input{
    width: 100%;
}
.gform_wrapper input[type="submit"]{
    color: #153159;
    background-color: #ffffff;
    border: 1px solid #153159;
    padding: 14px 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    min-width: 120px;
    cursor: pointer;
    transition: 200ms ease-in;
}
.gform_wrapper input[type="submit"]:active,
.gform_wrapper input[type="submit"]:hover{
    background-color: #153159;
    color: #ffffff;
}
.gform_wrapper.no_label_wrapper .gfield_label{ display: none !important; }
.et_pb_module iframe{ height: 380px; width: 100%; }


.mobile_menu_bar_toggle:before{ color: #ffffff !important; }

#mobile_menu{ position: initial !important; }
#et-top-navigation{ float: none !important; }

.et_pb_portfolio_grid h2{
    margin: 0 !important;
    padding: 20px 10px !important;
    background-color: #153159;
    color: #ffffff;
    text-transform: uppercase;
}

#footer-widgets a{
    color: #fafafa;
}

.widget-area.header .widget-title{ line-height: 0 !important; }

#footer-info,.bottom-nav{
    display: inline-block;
    padding: 15px 0;
}
.bottom-nav{ float: right; }

.sub-menu > li{ padding: 0 !important; }
.sub-menu > li > a{ padding: 8px 10px !important; }

ul{
    padding: 0 !important;
    list-style-type: none !important;
    margin-bottom: 30px;
}
ul > li{
    margin-bottom: 8px;
}


.et_pb_text ul{
	list-style-type: none;
	margin: 20px 0;
}


