/*
 Theme Name:   Divi Child Theme 
 Theme URI:    https://etecminds.com
 Description:  A Super Theme Made with ❤ by Etec Minds
 Author:       etecminds.com
 Author URI:   https://etecminds.com
 Template:     Divi
 Version:      1.1.2
*/


/*
/////////////////////////////////////////////////
SUPERFLY PHOENIX THEME - CUSTOM CSS
PLACE YOUR CUSTOM CSS AT THE VERY BOTTOM
EDIT AT YOUR OWN RISK
/////////////////////////////////////////////////
*/


/*
/////////////////////////////////////////////////
ETEC STYLE
/////////////////////////////////////////////////
*/


.dp54-news-row .news-col {
  padding: 80px 30px ;
  display: flex;
  align-items: center;       
  justify-content: center;   
  text-align: center;
  min-height: 260px;
  box-sizing: border-box;
  flex-direction: column;     
}

.et_pb_button.news-btn {
  display: inline-block;
  padding: 8px 16px ;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  min-height: auto;
  box-shadow: none;
  margin-top: 6px;
}

.news-btn, .et_pb_button.news-btn, .et_pb_promo_button.news-btn, .et_pb_button_wrapper .news-btn {
  display: inline-block;
}

.news-btn.blue {
  background: #2f95ff ;
  color: #ffffff ;
  border: 2px solid rgba(255,255,255,0.06) ;
}

.news-btn.dark {
  background: #575756 ;
  color: #ffffff ;
  border: 2px solid rgba(255,255,255,0.08) ;
}

.dp54-info-row { 
	width:100%; 
	max-width:100%; 
	padding:0 ; 
	margin:0 auto; 
	box-sizing:border-box;
}

.dp54-info-row .et_pb_column {
  display: flex;
  align-items: center;     
  justify-content: center;  
}

.info-box {
  display: inline-block;
  max-width: 480px;          
  width: 100%;
  padding: 18px 28px ;       
  text-align: center;
  color: #ffffff;
  box-sizing: border-box;
  border-radius: 2px;
  line-height: 1.6;
  box-shadow: none;
}

.dp54-block-section { padding:0; margin:0; background:transparent; }
.dp54-block-row {
  width:100%;  
  margin:0 auto;        
  box-sizing:border-box;
  padding: 0 !important;     
	
}

.prestazioni-section .et_pb_blurb_content {
    text-align: center;
    word-wrap: break-word;
    width: 100%;
    flex-wrap: wrap-reverse;
    display: flex;
    flex-direction: column-reverse;
}
.prestazioni-section .et_pb_main_blurb_image {
    display: inline-block;
    margin-bottom: 0; 
    line-height: 0;
    max-width: 100%;
}

.prestazioni-section .et_pb_blurb.et_pb_text_align_left .et_pb_blurb_content .et_pb_blurb_container {
    text-align: center;
    margin-bottom: 0px;
    flex-basis: 70px;
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-content: center;
}

.prestazioni-section .et_parallax_bg {
	background-size: 70%;
    background-position: right top;	
}

.prestazioni-section .et_parallax_bg_wrap{
	height: 55%;
}

.orari-section .et_parallax_bg {
	background-size: 73%;
    background-position: left top;	
}

.contatti-block-row .et_pb_column {
  display:flex;
  align-items:center;
  justify-content:center;
}

.contatti-block-box {
  min-height:300px; 
}

#page-container {
	padding-top: 0 !important;
}

#main-header {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
}

.admin-bar #main-header {
    top: 32px;
}

#main-header.et-fixed-header {
    background-color: #ffffff;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.map-sezione .et_pb_fullwidth_code .et_pb_code_inner {
	height: 100%;
	width: 100%;
}

@media screen and (min-width: 981px) {
	#main-header.et-fixed-header {
    	-webkit-box-shadow: none !important;
    	box-shadow: none !important;
	}
}

.colonna-header{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.flex-row{
   display: flex;
   flex-wrap: nowrap;
   align-items: center;
}

@media (max-width: 980px) {
	
	.colonna-header {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	#main-header{
		position: relative;
		background-color: #ffffff;
	}
	
	#main-header.et-fixed-header {
		background-color: #ffffff;
		position: fixed;
	}
	.flex-row {
    	display: flex;
    	flex-wrap: wrap;
    	align-items: center;
	}
	.prestazioni-section .et_parallax_bg_wrap {
    	height: 80%;
	}
	.prestazioni-section .et_parallax_bg {
    	background-size: cover;
    	background-position: -30% top;
	}
}


@media (max-width: 480px) {
	.prestazioni-section .et_parallax_bg {
    	background-size: contain;
    	background-position: top center;
	}
	.orari-section .et_parallax_bg {
		background-size: contain;
    	background-position: left top;	
	}
}