/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        3.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/* MENU */

@media only screen and ( max-width: 980px ) {
	span.logo_helper {
    	vertical-align: top;
	}
}

/* logo height fixed menu */

.et-fixed-header img#logo {
    max-height: 60px;
    vertical-align: top;
}

/*submenu*/

.mobile_menu_bar:before{
	color: #fff;
}

.nav li ul{
	width: 250px;
}

.nav ul li a:hover{
	background-color: transparent!important;
}

#top-menu li li{
	display: block;
}

#top-menu li li a {
    width: 100%;
    padding: 6px 0px;
}

#top-menu .menu-item-has-children>a:first-child{
	padding-right: 0px;
}

li.desplegable a::after, li.desplegable a::after {
    display: none;
}

#top-menu .sub-menu li a:before{
	bottom: 6%!important;
}

.et-fixed-header #top-menu .sub-menu li a:before{
	bottom: 6%!important;
}

/* sub menu collapse */

/*.et_mobile_menu .first-level > a {
background-color: transparent;
position: relative;
}
.et_mobile_menu .first-level > a:after {
font-family: 'ETmodules';
content: '\4c';
font-weight: normal;
position: absolute;
font-size: 16px;
top: 13px;
right: 10px;
}
.et_mobile_menu .first-level > .icon-switch:after{
content: '\4d';
}
.second-level {
display: none;
}
.reveal-items {
display: block;
}
.et_mobile_menu {
width: 100%;
}*/

/* hover y active menu */

#top-menu li .logo_container a:hover:before{
	visibility: hidden!important;
}

#top-menu li.current-item > a::before,
#top-menu li.current-menu-ancestor > a::before{
 content: "";
 position: absolute;
 z-index: 2;
 visibility: visible;
 transform: scaleX(1);
 background-color: #fff!important;
}

#top-menu li a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 40%;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

#top-menu li a:hover:before {
 visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.et-fixed-header #top-menu li a:before{
	bottom: 50%!important;
}

#top-menu .menu-item-has-children>a:first-child:after{
	content: ""!important;
}

/* sub menu*/



/* HOME */

.et-pb-arrow-next {
opacity: 1;
right: 22px;
}

.et-pb-arrow-prev{
opacity: 1;
left: 22px;
}

/* first slider */

@media only screen and ( max-width: 479px ) {
	.et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_image {
    	text-align: center!important;
	}
}


/* blog module */

/* text size */
.home-blog .post-content-inner {
    max-width: 250px;
}

@media only screen and ( max-width: 479px ) {
	.home-blog .post-content-inner {
    max-width: 210px;
	}
}

/* post meta order */

.home-blog.et_pb_module .et_pb_post {
	border-top: 1px solid #fff;
}

.et_pb_module .et_pb_post {
    display: flex;
    flex-direction: column;
	margin-bottom: 10px;
}

.home-blog.et_pb_module .et_pb_post .post-meta {
    order: -2;
}

.home-blog.et_pb_module .et_pb_post .entry-title {
    order: -1;
}

/* Read more blog button */

.home-blog .more-link {
    background-color: #999;
    display: inline-block !important;
    color: #fff;
    padding: 5px 10px 10px;
    text-transform: uppercase;
	float: right;
    margin-top: -40px;
	transition: all .1s ease-in-out;
}

.home-blog .more-link:hover {
    background-color: #666;
}

#home-blog-events .more-link {
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-block !important;
    color: #fff;
    padding: 5px 10px 10px;
    text-transform: uppercase;
	float: right;
    margin-top: -40px;
	transition: all .1s ease-in-out;
}

#home-blog-events .more-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* publications featured slider*/

.ds-reg-slider .et_pb_slides .et_pb_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end /* flex-start | center */;
}
.ds-reg-slider .et_pb_slides .et_pb_slider_container_inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 2%;
}
.ds-reg-slider .et_pb_slide {
    padding: 0;
    min-height: 38vh;  /*Adjust for header height*/
    height: 38vh; /*Adjust for header height*/
}
.ds-reg-slider .et_pb_slide_description {
    width: 100%;
    padding: 0;
}


/* testimonials */

.slider-testimonials .et_pb_slide_image{
    width: 26.25%;
    margin-right: 5.5%;
}

.slider-testimonials .et_pb_slide_with_image .et_pb_slide_description{
	width: 69.25%;
}

.slider-testimonials{
	font-size: 22px;
}

.slider-testimonials .et-pb-arrow-prev{
	opacity: 1;
}

.slider-testimonials .et-pb-arrow-next{
	opacity: 1;
}

@media only screen and ( max-width: 479px ) {
	.slider-testimonials .et_pb_slide_image {
    	margin: 0 auto!important;
	}
}

/* smart energy blurbs */

.smart-energy-icons .et_pb_main_blurb_image{
	margin-bottom: 20px;
}

/* ABOUT US */



/* NEWS */

.news-blog .et_pb_post {
    background-color: #eeefef;
    padding: 20px;
	margin-bottom: 20px;
}

.news-blog.et_pb_blog_0 .et_pb_post:hover {
    background-color: #008ace;
	cursor: pointer;
}

.news-blog.et_pb_blog_0 .et_pb_post:hover p.post-meta .published {
    color: #ffffff!important;
}

.news-blog.et_pb_blog_0 .et_pb_post:hover .entry-title a {
    color: #ffffff!important;
}

.news-blog.et_pb_blog_0 .et_pb_post:hover .post-content p {
    color: #ffffff!important;
}

.news-blog.et_pb_module .et_pb_post .post-meta {
    order: -2;
}

.news-blog.et_pb_module .et_pb_post .entry-title {
    order: -1;
}

/* EVENTS */

.events-blog .et_pb_blog_grid .et_pb_post {
    background-color: #eeefef;
}

.events-blog .et_pb_post .entry-featured-image-url{
	margin-bottom: 0px!important;	
}

.events-blog .et_pb_image_container {
    margin: -20px -20px 9px!important;
}

.events-blog .et_pb_blog_grid .et_pb_image_container{
    order: -3;
}

.events-blog.et_pb_module .et_pb_post .post-meta {
    order: -2;
}

.events-blog.et_pb_module .et_pb_post .entry-title {
    order: -1;
}

.events-blog.et_pb_module .et_pb_post .entry-title:hover {
    order: -1;
}

/* PUBLICATIONS */

.publication-blurbs, .smarten-map{
	cursor: pointer;
}

.last-publication-title a:hover{
	font-weight: 600;
}

/* reports blog */

.reports .et_pb_image_container{
	margin-bottom: 0px!important;
}

.reports .et_pb_post .entry-featured-image-url{
	margin-bottom: 0px!important;
}

.reports .et_pb_blog_grid .et_pb_image_container{
    order: -3;
}

.reports.et_pb_module .et_pb_post .post-meta {
    order: -2;
}

.reports.et_pb_module .et_pb_post .entry-title {
    order: -1;
}

.reports.et_pb_module .et_pb_post .entry-title:hover {
    order: -1;
}

/* 4 columns */
@media only screen and ( min-width: 981px ) {
.et_pb_column_4_4 .et_pb_blog_grid .et_pb_salvattore_content[data-columns]::before { content: '4 .column.size-1of4' !important;}
.et_pb_column_4_4 .column.size-1of4 {
width:24.15% !important;
margin-right:1%;
}
.et_pb_column_4_4 .ds-blog-four-column.et_pb_blog_grid[data-columns]::before {
content: '4 .column.size-1of4';
}
.ds-blog-four-column.et_pb_blog_grid .column.size-1of4 {
margin-right: 3.8%;
padding-bottom: 30%;
width: 24.15%;
}
.et_pb_blog_grid .column.size-1of4:last-child {
	margin-right: 0;
	}
}

/* CONTACT */

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea{
	width: 100%;
	background-color: #eeefef;
	padding: 12px;
	font-size: 16px;
	border: none;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    padding: 12px;
	height: 133px;
}

input.wpcf7-form-control.wpcf7-submit{
	color: #ffffff!important;
    border-width: 1px!important;
    border-color: #00a1df;
    background-color: #0088cc;
    padding: 0.3em 1em!important;
    font-size: 20px;
    border-style: none;
    cursor: pointer;
    transition: all .2s;
}	

input.wpcf7-form-control.wpcf7-submit:hover{
	background-color: rgba(0, 161, 223, 0.7);
}

/* BLOG GRAL */

/* menu a colors for posts */

.single-post.et_header_style_left #et-top-navigation nav>ul>li>a{
	color: #fff;
}
	

/* SIDEBARS */

/* sidebar events and news */

.custom-sidebar h4.widgettitle{
	background-color: #0093d7;
	color: #fff;
	padding: 10px;
}

.custom-sidebar a:hover {
    text-decoration: underline;
}

.custom-sidebar .category-posts-internal .cat-post-title {
    font-weight: bold;
	font-size: 16px;
}

.custom-sidebar ul.category-posts-internal {
    padding: 0 20px!important;
}

.custom-sidebar .category-posts-internal .cat-post-item{
	border-bottom: 0!important;
	margin: 3px 0 25px!important;
}

/* FOOTER */

#main-footer {
    background-color: #0093d7;
	padding-bottom: 40px;
}

#main-footer h4.title{
	font-size: 24px;
	font-weight: bold;
	color: #fff;
}

.join{
	border: 1px solid #fff;
    text-align: center;
    padding: 7px 25px;
	text-align: center;
}

.join:hover{
	background-color: #fff;
	color: #0093d7!important;
}

#footer-widgets .footer-widget li:before {
	display: none; 
} 

#footer-widgets .footer-widget li {
    padding-left: 0;
}

#main-footer ul li a{
	font-size: 16px;
	color: #fff;
}

#main-footer ul li a:hover{
	text-decoration: underline;
}

.footer-social{
	margin-top: 20px;
}

.footer-social ul {
    display: flex;
}

.footer-social ul li{
    margin-right: 10px;
}

.et_pb_gutters3 .footer-widget {
    margin-bottom: 1.5%;
}

#footer-bottom{
	display: none;
}

/* BLOOM */

/*** FLY IN ***/
 
.et_bloom .et_bloom_flyin_right .et_bloom_form_container .et_bloom_form_content .et_bloom_custom_field input[type="checkbox"] + label{
	color: #5f5a59!important;
	font-weight: 300!important;
}

.et_bloom .et_bloom_flyin_right .et_bloom_form_container .et_bloom_form_content .et_bloom_custom_field input[type="checkbox"] + label a{
	color: #5f5a59;
}

.et_bloom .et_bloom_flyin_right .et_bloom_form_container .et_bloom_form_content .et_bloom_custom_field input[type="checkbox"] + label a:hover{
	text-decoration: none!important;
}

.et_bloom .et_bloom_form_header p{
	color: #000!important;
}

.et_bloom .et_bloom_optin_3 .et_bloom_form_content button:hover {
    background-color: #eaa76c!important;
}

/*** FOOTER ***/
.et_bloom .et_bloom_optin_1 .et_bloom_form_content button:hover {
	background-color: #ffffff !important;
}

.et_bloom .et_bloom_optin_1 .et_bloom_form_content button:hover .et_bloom_button_text {
	color: #0093D7 !important;
}

.et_bloom .et_bloom_bottom_stacked button.et_bloom_submit_subscription {
    /*width: 50%!important;*/
    float: right;
    border: 1px solid #fff;
}

body.et_bloom .et_bloom_widget_content .et_bloom_form_header { 
	padding:0 0 10px!important;
}

.et_bloom .et_bloom_optin_1 .et_bloom_form_container p{
	color: #fff!important;
}

.et_bloom .et_bloom_form_header .et_bloom_form_text{
	padding: 0!important;
}

.et_bloom .et_bloom_widget_content .et_bloom_form_container .et_bloom_form_content {
    padding: 0!important;
}

.et_bloom .et_bloom_form_container.et_bloom_form_text_light .et_bloom_form_content input{
	background-color: #fff!important;
}

@media only screen and ( max-width: 479px ) {
	.footer-widget .et_bloom .et_bloom_form_header img, .et_bloom .et_bloom_form_header .et_bloom_form_text {
    	text-align: left!important;
	}
}

span.et_bloom_custom_field_options_title {
    display: none!important;
}

.et_bloom_form_container .et_bloom_form_content .et_bloom_custom_field input[type="checkbox"] + label{
	color: #fff!important;
	font-weight: 300!important;
}

.et_bloom_form_container .et_bloom_form_content .et_bloom_custom_field input[type="checkbox"] + label a {
    text-decoration: underline;
	font-weight: 600;
}

.et_bloom_form_container .et_bloom_form_content .et_bloom_custom_field input[type="checkbox"] + label a:hover {
    text-decoration: none;
}

p.et_bloom_custom_field{
	margin-bottom: 0px!important;
}

.et_bloom h2.et_bloom_success_message.et_bloom_animate_message{
	display: inline-block!important;
}


/* PAGE NAVI */

.wp-pagenavi {
    text-align: center;
}

.wp-pagenavi a, .wp-pagenavi a:hover, .wp-pagenavi span{
	color: #f3923c!important;
	font-size: 30px!important;
	font-family: 'Titillium Web',Helvetica,Arial,Lucida,sans-serif!important;
}

.wp-pagenavi span.current{
	color: #f3923c!important;
	font-weight: bold!important;
	font-size: 30px!important;
}

