/*
Theme Name:     Divi Child
Theme URI:      http://beecreative.it/
Description:    Tema Child per il Divi
Author:         Nicolò Giovenzana
Author URI:     http://beecreative.it/
Template:       Divi
Version:        0.1.1
*/




.et_pb_gallery_pagination .next{
	display:none;
}
sup {
    bottom: 0.5em;
    font-size: 0.7em;
}

.sottoPiedeSponsor{
	text-align: center;
	padding: 10px 0px;
}
#footer-bottom{
	background-image: url(https://beewpblob.blob.core.windows.net/casemuseomilano-it/2015/03/barraColori.gif);
	background-position: top;
	background-repeat: repeat-x;
	background-size: 100% 6px;
	padding-top: 20px;
}

/* Blog */
@media only screen and (min-width: 980px){
.sezioneBlog{
	padding:0px;
}
.et_pb_post {
margin-bottom: 60px;
}
.elencoBlog a img, .elencoBlog .et_main_video_container {
vertical-align: top;
float:left;
width: 40%;
margin-right: 30px;
margin-bottom: 40px;
border:5px solid #e5e5e5;
}
.et_pb_post h2, #left-area .post-meta{
	margin-top:0px;
}
.rigaChiusuraPost{
	clear:both;
	border-bottom:1px solid #e6e6e6;
	position:relative;
	width:100%;
}
.nav li ul {
    width: 300px;
}
}
#top-menu li li a {
    width: 260px;
}


#top-header {  
  z-index: 99998;
}

 #logo {
  z-index:99999;
  margin-top:-23px;
}

@media only screen and (max-width: 980px){
#logo {
  max-height:74px;
  margin-top:5px;
}
}

.et_pb_post{
	padding-top:20px;
}


.blogProgetto .single .et_pb_post {
    margin-bottom: 7px;
}
.blogProgetto .single .post {
    padding-bottom: 5px;
}
.blogProgetto .et_pb_post {
    padding-top: 0px;
}

.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_split .et-fixed-header #et-top-navigation {
  padding: 20px 0 0 0;
}
.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a {
  padding-bottom: 10px;
}


#main-header.et-fixed-header {
  box-shadow: 0 0 0px rgba(0, 0, 0, 0) !important;
  -moz-box-shadow: 0 0 0px rgba(0, 0, 0, 0) !important;
  -webkit-box-shadow: 0 0 0px rgba(0, 0, 0, 0) !important;
}

.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a, .et_header_style_split .et-fixed-header #et-top-navigation nav > ul > li > a {
  padding-bottom: 10px;
}




.sliderOpere .et_pb_slide_image{
	width:70%;
	height:400px;
}
.sliderOpere .et_pb_slide_description{
	width:25%;
	height:400px;
}
@media only screen and (max-width: 768px){
.sliderOpere .et_pb_slide_description, .sliderOpere .et_pb_slide_image{
	width:100%;
	height:auto;
}
}
.sliderOpere .et_pb_slide_image img{
	max-height:360px !important;
	margin-top:30px;
	margin-bottom:30px;
}
.sliderOpere .et-pb-controllers{
	width:35%;
	right:0;
	left:auto;
}
.sliderOpere .et-pb-controllers .et-pb-active-control {
  background-color: #b22a2a !important;
}


@media (max-width: 479px){
.et_pb_column .et_pb_map, .et_pb_fullwidth_section .et_pb_map {
    height: 360px;
}
.sottoPiedeSponsor img{
		height: 30px !important;
		width: auto;
}
.sliderOpere .et-pb-controllers {
    width: 100%;
    padding-top: 40px;
}
}

.chiave{
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
}
.chiave .percent-value{
	display:none;
}








/*** Invertire ordine colonne Divi***/

@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 
}










