/*
   Theme Name: Divi Child by Compusoft
   Theme URI: http://localhost/wp_fito
   Description: Custom child theme
   Author: Claudio Driussi
   URI: http://compusoft.it/
   Template: Divi
   Version: 0.2
*/


@media (max-width: 980px){
	.et_fixed_nav #main-header {
	 	position: fixed;
	}
}

@media (max-width: 980px){
	.et_fixed_nav #top-header {
  		position: fixed;
	}
}

.et_pb_section_1,
.et_pb_section_2,
.et_pb_section_3,
.et_pb_section_4,
.et_pb_section_5{
	border-radius: 0 !important;
}

.et_pb_with_background{
    position: relative;
}

.et_pb_with_background::before{
    content: '';
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .3;
    position: absolute;
    top: 0;
    left: 0;
}

.et_pb_with_background.no-shadow::before{
    display: none;
}

#logo {
	max-height: 70%;
}

#et-info{
	float: right;
}

body{
	font-size: 16px;
}

div, p{
	font-size: 16px;
}

#footer-bottom,
#main-footer{
	background-color: rgba(30,66,120,0.07) !important;;
}

#footer-widgets .footer-widget li a{
	color: #000 !important;
}

.et_pb_top_inside_divider{
	display: none !important;
}

.et_pb_top_inside_divider,
.et_pb_bottom_inside_divider{
	display: none !important;
}

.text-header-page{
    padding-bottom: 25px;
}

.text-header-page h1{
    margin: 0;
    padding: 0;
    font-family: 'Vollkorn',Georgia,"Times New Roman",serif;
    font-size: 80px;
    letter-spacing: 1px;
    line-height: 1;
    color: #fff !important;
}

.text-header-page p{
    font-size: 20px;
    color: #fff !important;
}

.page .et_pb_section h1 {
  font-family: 'Vollkorn',Georgia,"Times New Roman",serif !important;
  font-size: 60px !important;
  letter-spacing: 1px !important;
  line-height: 1.2em !important;
}


.page .et_pb_section h2 {
  font-family: 'Vollkorn',Georgia,"Times New Roman",serif !important;
  font-size: 40px !important;
  font-size: 30px !important;
  letter-spacing: 1px !important;
  line-height: 1.2em !important;
}

.page .et_pb_section h3 {
  font-family: 'Vollkorn',Georgia,"Times New Roman",serif !important;
  font-size: 30px !important;
  letter-spacing: 1px !important;
  line-height: 1.2em !important;
}

.page .et_pb_section h4 {
  font-family: 'Vollkorn',Georgia,"Times New Roman",serif !important;
  font-size: 25px !important;
  letter-spacing: 1px !important;
  line-height: 1.2em !important;
}

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
    margin: 10px 0;
    width: 100%;
  background-color: #fff;
  border: 2px solid #000;
  padding: 2px;
  color: #000;
}


@media screen and (max-width: 992px) {
  .text-header-page h1{
    font-size: 50px;
    }
    
    .text-header-page p{
        font-size: 17px;
    }
    
    .page h1 {
      font-size: 35px !important;
    }
    
    .page h2 {
      font-size: 27px !important;
    }
    
    .page h3 {
      font-size: 22px !important;
    }
    
    .page h4 {
      font-size: 18px !important;
    }
}

.c-font-citazione p{
    font-size: 20px !important;
}

input[type="submit"]{
    display: block;
    text-align: center;
    margin: 0 auto;
    border: none;
    padding: 5px 10px;
    color: #ffffff !important;
  border-radius: 8px;
  font-size: 16px;
  background-color: #006e52;
}

.c-slider-diconodinoi .et_pb_slide_description,
.c-slider-diconodinoi .et_pb_slider_fullwidth_off .et_pb_slide_description {
  padding: 2% 8%;
  width: auto;
  margin: auto;
}

.c-slider-diconodinoi .et_pb_bg_layout_dark .et_pb_slide_description {
  text-shadow: none;
  padding-bottom: 30px;
}

.c-background-gray{
    background: rgba(30,66,120,0.12) !important;
}

.c-font-big-size p{
    font-size: 20px;
    line-height: 1.7;
}

.c-form input.text, 
.c-form input.title, 
.c-form input[type="email"], 
.c-form input[type="password"], 
.c-form input[type="tel"], 
.c-form input[type="text"], 
.c-form select, 
.c-form textarea{
    margin: 10px 0;
      width: 100%;
      background-color: transparent;
      border: none;
      border-bottom: 2px solid #00000040;
      padding: 5px;
      color: #000;
}



.-form-black{
    
}

.row{
    display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.col-50{
    width: 50%;
    padding: 10px;
}

.col-100{
    padding: 10px;
    width: 100%;
}

.cta-footer{
    margin: 20px auto 0;
    padding: 0;
    text-align: left;
}

.cta-footer li{
    display: inline-block;
    margin: 10px !important;
    padding: 0 !important;
    width: 20px;
    list-style-type: none;
    opacity: .5;
}

.cta-footer li:before{
    display: none;
}

.et_pb_portfolio_grid_items h2{
    font-size: 23px !important;
}

.project_category-necrologie h1{
    font-size: 40px !important;
}

.et_mobile_menu{
    overflow: scroll;
    overflow: scroll;
    height: 79vh;
}

article .entry-content .et_pb_section ul{
    padding: 10px 0 30px 15px;
	padding: 0px 0 10px 15px;
    margin: 0 auto;
}

article .entry-content .et_pb_section ul li{
    position: relative;
    padding-left: 25px;
	font-size: 19px;
	/* Aggiornamento SM */
	padding-left: 20px;
	/* Fine aggiornamento SM */
    margin: 7px 0;
    list-style-type: none;
    font-size: 16px;
}
article .entry-content .et_pb_section ul li,
article .entry-content .et_pb_section ul li a,
article .entry-content .et_pb_section ul li p{
    font-size: 19px;
	/* Aggiornamento SM */
	font-size: 16px;
	font-weight: 600;
	/* Fine aggiornamento SM */
}

article .entry-content .et_pb_section  ul li:before{
    content: '';
    display: inline-block;
    /*
	width: 15px;
    height: 15px;
	top: 6px;
	*/
    position: absolute;
    /* Aggiornamento SM */
	width: 7px;
    height: 7px;
	top: 10px;
	/* Fine aggiornamento SM */
    left: 0;
    background-color: #006e52;
    border-radius: 50%;
}

.et_pb_section .et_pb_button_0_wrapper .et_pb_button_0,
.et_pb_section .et_pb_button_0_wrapper .et_pb_button_0:hover{
    padding-top: 16px !important;
      padding-right: 26px !important;
      padding-bottom: 16px !important;
      padding-left: 26px !important;
}



.et_pb_button_0.o-btn-mini, .et_pb_button_0.o-btn-mini:hover,
.et_pb_section .et_pb_button_0_wrapper .et_pb_button_0.o-btn-mini,
.et_pb_section .et_pb_section .et_pb_button_0_wrapper .et_pb_button_0.o-btn-mini:hover{
        padding-top: 7px !important;
      padding-right: 15px !important;
      padding-bottom: 7px !important;
      padding-left: 15px !important;
}

.service-home .et_pb_button_0_wrapper .et_pb_button_0, 
.service-home .et_pb_button_0_wrapper .et_pb_button_0:hover{
        padding-top: 2px !important;
  
      padding-bottom: 2px !important;
  
}

.et-pb-controllers{
    bottom: 0 !important;
}
.et_pb_portfolio_item h2 {
	text-align: center  !important;
	font-size: 24px !important;
	
}
.et_pb_portfolio_item h2 a{
	font-size: 24px !important;
	text-align: center  !important;
	line-height: 1.4 !important;
	display: inline-block;
}
.et_pb_portfolio_item .et_portfolio_image { text-align: center; }
.et_pb_portfolio_grid .et_pb_portfolio_item img {
	width: auto;
	height: 250px;
	margin: 0 auto;
}

.et_pb_portfolio_item .et_overlay { border: 0; }

@media (max-width: 768px){
	.et_pb_text_0.text-header-page {
  		max-width: none;
	}
	.et_pb_text_0.text-header-page h1 {
		letter-spacing: normal !important;
		font-size: 50px !important;
	}
	.page .et_pb_section h2 {
		font-size: 26px !important;
	}
}

/* Aggiornamento SM */
:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: none;
}
ol.menu_page li {
	color: #006e52;
	margin-bottom: 10px;
	margin-top: 10px;
	font-weight: 600;
}
.label_cta {
	font-size: 19px;
}
a.btn-cta {
	color: #FFF;
	display: inline-block;
	background-color: #006e52;
	border-radius: 10px;
	padding: 5px 20px;
	margin-left: 20px;
	text-decoration: none !important;
}
h5.et_pb_toggle_title {
	font-family: 'Vollkorn', Georgia, "Times New Roman", serif !important;
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 1em;
	color: #333 !important;
}
.et_pb_module p a {
	text-decoration: underline;
	font-weight: 600;
}
#footer-info { font-size: 14px; }
.necrologio_header h1,
.necrologio_header h2 {
	text-align: left !important;
	font-family: Vollkorn, Georgia, "Times New Roman", serif !important;
	font-size: 40px !important;
}
@media (max-width: 768px){
	.necrologio_header.et_pb_section {
		padding:0;
	}
	.necrologio_header h1,
	.necrologio_header h2 {
		text-align: center !important;
	}
	.necrologio_header .et_pb_row { margin-left: 15px !important; margin-right: 15px !important; width: calc(100% - 30px); }
	.necrologio_header h1,
	.necrologio_header h2 {
		font-size: 34px !important;
	}
	.necrologio_header .et_pb_button_module_wrapper {
		float: left;
		width: 50%;
	}
	.necrologio_header .et_pb_button_module_wrapper a.et_pb_button_0,
	.necrologio_header .et_pb_button_module_wrapper a.et_pb_button_0:hover,
	.necrologio_header .et_pb_button_module_wrapper a,
	.necrologio_header .et_pb_button_module_wrapper a:hover {
		display: block;
		padding: 5px 10px !important;
		margin: 0px !important;
		font-size: 16px !important;
		line-height: 18px !important;
		height: 56px !important;
	}
	.necrologio_section_photo { padding-top: 0!important; }
	.et_pb_post.project_category-necrologie s h2 { font-size: 22px !important; }
	#messaggidicordoglio, #servizioinviofiori { padding: 0!important; }
	#messaggidicordoglio .et_pb_toggle_title:before, #servizioinviofiori .et_pb_toggle_title:before { font-size: 22px !important; }
	#messaggidicordoglio .et_pb_row { 
		padding: 15px; 
		width: 100%;
	}
	#messaggidicordoglio .et_pb_toggle_open,  #servizioinviofiori .et_pb_toggle_open { padding-left: 10px!important; padding-right: 10px !important;}
	#messaggidicordoglio label, #servizioinviofiori label { font-size: 16px !important; }
}
@media (max-width: 479px) {
    .et_pb_post.project_category-necrologie h2 { font-size: 22px !important; }
}

#top-menu-nav li li {
	line-height: 1.4;
}

/* Fine aggiornamento SM */