/*
Theme Name:     Divi CHILD theme
Theme URI:      http://etecminds.com
Description:    Tema Child per il tema Divi
Author:         EtecMinds
Author URI:     http://etecminds.com
Template:       Divi
Version:        0.1.0
*/

/*ETEC MINDS*/

h2,h4 {
	/*font-family: "Pacifico";*/
	font-weight: 100;
	font-size: 60px;
	font-style: italic;
}


h1 {
	font-weight: 100;
	font-size: 60px
}

h2:after{
	content:"";
    display: block;
    height: 0.5em;
    vertical-align: bottom;
    border-top: 2px solid black;
	width: 100px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 25px;
}

h4:after {
	content:"";
    display: block;
    height: 0.5em;
    vertical-align: bottom;
    border-top: 2px solid black;
	width: 50px;
	margin-top: 14px;
}

p {
	font-size: 20px;
    line-height: 1.8em;
}

#et-main-area img {
	border-radius: 36px;
}


/* Bottoni contatti visita */

.contact-box {
	display: inline-block;
	border: 2px #666 solid;
	border-radius: 15px;
	background: inherit !important;
}

.contact-box > p {
	margin-left:auto;
	margin-right: auto;
	font-size: 14px;
    text-align: center;
    height: 22px;
    font-weight: 700;
    margin-top: -14px;
    background-color: white;
    width: 149px;
}

.contact-box.colored > p {
    background-color: #f6e6ff;
}

.contact-box > div {
	display: inline-flex;
	margin-bottom: 15px;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 10px;
}

.contact-box > div > a {
	float: left;
}

.contact-box > div > a:first-child{
	margin-right: 15px;
}

button.button-visita {
	cursor: pointer;
	height: 40px;
	width: 150px;
	font-size: 18px;
	border: none;
	border-radius: 5px;
	font-weight: 700 !important;
	color: white;
}

button.button-visita.button-discover {
	background: #f43022;
	margin-top: 19px;
}

button.button-visita.button-visita-chiama {
	background: #4E95BC;
	width: 120px !important;
}

button.button-visita.button-visita-chiama i{
	margin-right: 5px;
	font-size: 24px;
}

button.button-visita.button-visita-chiama{
	display:flex;
	justify-content: center;
	align-items:center;
}

button.button-visita.button-visita-wa {
	background: #66A923;
	width: 50px !important;
}

button.button-visita.button-visita-wa i{
	font-size: 24px;
}

/* SLIDER */

.slider-title {
	font-size: 60px;
	text-transform: uppercase;
	line-height: 50px;
	font-weight: bold;
	text-align: left;
}

.slider-title-1 {
	color: #f43022;
	padding-bottom: 0;
	text-shadow: 3px 3px #595959;
}

.slider-title-2 {
	color: #333;
	padding-bottom: 0px;
	margin-bottom: 30px;
	text-shadow: 3px 3px #a4a4a4;
}

.et_pb_slide_description {
	padding-top: 100px;
	padding-left: 40px;
}

.et_pb_slider .et_pb_slide {
	text-align:left !important;
}

.button-slider-2 {
	background-color: rgb(143 143 143 / 40%) !important;
}

.button-slider {
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
	cursor: pointer;
	font-size: 18px;
	border-radius: 5px;
	font-weight: 700 !important;
	width: 180px;
	height: 40px;
	cursor: pointer;
	background-color: rgba(237, 229, 229, 0.4);
	font-family: Open Sans,Arial,sans-serif;
	border: 2px solid #333;
	color: #333;
}

.button-slider:hover {
    background-color: #f43022 !important;
    color: white;
	border: none;
}

.section-headers > div.et_pb_column > div:first-child {
	margin-bottom: 10px;
}

/*
.action-buttons {
	margin-top: 20px !important;
	margin-bottom: 20px !important;
}
*/
/* Presentazione Section */

.section-description {
	width: 80% !important;
	margin: 0 auto;
	margin-bottom: 60px !important;
}

.section-description p{
	font-size: 24px;
}

.presentazione-section {
	padding: 60px !important;
}

.presentazione-section > * {
	width: 100%;
	max-width: none;
}

/* Visite Dermatologiche */

.visite-dermatologiche-section {
	padding: 60px !important;
}

.visite-dermatologiche-section > div {
	width: 100%;
	max-width: none;
}

.visite-dermatologiche-section .prenota-visite > .et_pb_text_inner{
	display: flex;
	justify-content: center;
}

.visite-dermatologiche-section .contact-box {
	margin-top: 20px !important;
}

.visite-dermatologiche-section .contact-box > p {
	background-color: #ffeaea;
}

/* Dermatologia estetica */

.dermatologia-estetica-section {
	padding: 60px 0 !important;
}

.dermatologia-estetica-section .et_pb_image{
	padding: 0;
	/*margin-bottom: 40px !important;*/
}

.dermatologia-estetica-section > div {
	width: 100%;
	max-width: none;
}

.dermatologia-estetica-section .et_pb_row:not(:first-child) .et_pb_column {	
	display: flex;
    flex-direction: column;
    align-items: flex-end;
	justify-content: space-between;
	padding: 55px;
	margin-right: 0;
	width: 50%;
}

.dermatologia-estetica-section .et_pb_row:not(:first-child) {
	padding: 0 !important;
}

.derm-est-row h4 {
	width: 100%;
	font-size: 32px;
	font-weight: 600;
}

.derm-est-section {
	height: 100%;
}

.derm-est-section .contact-box {
	margin-top: 25px;
}

.derm-est-section > .et_pb_text_inner {
	display: flex;
    flex-direction: column;
    align-items: flex-end;
	height: 100%;
}

.derm-est-text{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-items: flex-end;
}

.derm-est-section > .et_pb_text_inner > p {
	margin-bottom: 30px !important;
}


.derm-est-section .contact-box > div {
	margin-left: 30px;
    margin-right: 30px;
}

.derm-est-section .contact-box > p {
	width: 198px;
}

.colored-left {
	border-radius: 0 36px 36px 0;
}

.colored-right {
	border-radius: 36px 0 0 36px;	
}

.et_pb_column.biomaxalift-section {
	padding: 55px 55px 0 55px !important;
}

.et_pb_column.filler-section {
	padding: 0 55px 55px 55px !important;
}

/* Chi siamo */

.chi-siamo-section {
	padding: 60px !important;
}

.chi-siamo-section > div {
	width: 100%;
	max-width: none;
}

.chi-siamo-section .chi-siamo-title {
	margin-bottom: 0 !important;
}

/* Contatti */

.contacts * {
	font-size: 18px;
}

.contacts h5 {
	/*color: white;*/
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 5px;
}

.contacts h4 {
	/*color: #2EA3F2;*/
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 5px;
}

.contacts p {
	padding-bottom: 0;
}

.timetables-table {
	border: none !important;
}

.timetables-table > tbody > tr > td{
	padding: 0px;
	padding-bottom: 10px;
	border-top: 0px;
}

.timetables-table > tbody > tr > td:first-child{
	padding-right: 10px;
}


.timetables-table > tbody > tr > td > p {
	display: inline-block;
}

input.text, 
input.title, 
input[type=email], 
input[type=password], 
input[type=tel], 
input[type=text], 
select, 
textarea {
	width: 100%;
	margin-top: 2px !important;
	margin-bottom: 10px !important;
}

.contacts-section form>div>div {
	display: flex;
	gap: 10px;
}


textarea[name="your-message"] {
	height: 150px;
}

.form-acceptance {
	margin-bottom: 10px !important;
}

input[type=submit] {
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
	cursor: pointer;
	font-size: 18px;
	border-radius: 5px;
	font-weight: 500 !important;
	width: 150px;
	height: 30px;
	cursor: pointer;
	background-color: transparent;
	font-family: Open Sans,Arial,sans-serif;
	border: 1px solid #666666;
	color: #666666;
}

input[type=submit]:disabled{
	border-color: #A3A3A3;
	color: #A3A3A3;
}

input[type=submit]:enabled:hover {
    background-color: #f43022;
    color: white;
	border: none;
}

.wpcf7-list-item {
	margin: 0 !important;
}

.mobile_menu_bar:before {
	color: #f43022;
}

.et_mobile_menu {
	border-top-color: #f43022;
}

.contacts a {
	color: #666;
}

.contact-titles {
	margin-bottom: 0 !important;
}

.contact-box-footer {
	display:flex;
	justify-content: flex-start;
	gap: 10px;
	flex-wrap: wrap;
}

button.button-contact-footer {
	-webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
	background: white;
	width: 150px;
	height: 40px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 18px;
	font-weight: 700 !important;
	display: flex;
    justify-content: center;
    align-items: center;
}

button.button-contact-footer i {
    margin-right: 5px;
    font-size: 24px;
}

button.button-contact-footer.button-wa{
	border: 2px solid #66A923;
	color : #66A923;
}

button.button-contact-footer.button-wa:hover{
	background-color: #66A923;
	color : white;
}

button.button-contact-footer.button-chiama{
	border: 2px solid #4E95BC;
	color: #4E95BC;
}

button.button-contact-footer.button-chiama:hover{
	background-color: #4E95BC;
	color : white;
}

button.button-contact-footer.button-wa i{
	font-size: 24px;
}

/* Header/Footer */

#top-header .et-social-icon {
	margin-bottom: 0 !important;
}

#top-header a:hover, #top-header.et-info-phone:hover, #et-info-phone:hover:before {
    opacity: 0.7;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#footer-info {
	width: 90%;
	color: #e1e1e1 !important;
}

#footer-bottom .et-social-icons .et-social-icon a {
    color: #e1e1e1;
}

#footer-bottom .et-social-icons {
	width: 10%
}

.et-social-whatsapp a.icon::before {
	content: "\f232";
	font-family: "FontAwesome" !important;
}

@media (max-width: 980px){
	
	.section-title {
		padding: 0 !important;
		margin-bottom: 0 !important;
	}
	
	.section-description p {
    	font-size: 20px;
	}
	
	.section-headers {
		padding: 0 !important;
	}
	
	.section-headers > .et_pb_column {
		margin: 60px 0 !important;
	}
	
	.section-headers > .et_pb_column > div {
		margin: 0 auto !important;
	}
	
	.contact-box {
		margin: 60px auto !important; 
	}
	
	/* Presentazione */

	.presentazione-section {
		padding: 60px 0 !important;
	}
	
	.presentazione-section > .et_pb_row:first-child{
		margin-bottom: 20px !important;
	}
	
	.presentazione-section > .et_pb_row{
		padding: 0 !important;
	}
	
	.presentazione-section  > * {
		max-width: 80vw !important;
		width: 80%;
		margin-left:auto;
		margin-right:auto;
	}
	
	.presentazione-section > .et_pb_row:first-child{
		padding: 0 !important;
	}
	
	
	/*Visite dermatologiche*/	
	
	.visite-dermatologiche-section {
		padding: 0 !important;
	}
	
	.visite-dermatologiche-section .et_pb_column > div {
		max-width: 80vw !important;
		width: 80%;
		margin-left:auto;
		margin-right:auto;
	}
	
	.visite-dermatologiche-section > .et_pb_row:not(:first-child) {
		padding: 0!important;
	}
	
	.visite-derm-images {
		justify-content: space-evenly;
	}
	
	.visite-derm-images > .et_pb_column{
		margin-right: 0 !important;
	}
	
	.visite-derm-images > .et_pb_column > .et_pb_image {
		width: 90% !important;
	}
	
	.visite-dermatologiche-section .visite-derm-images p{
		line-height: 1.3em !important;
	}
	
	.visite-dermatologiche-section .contact-box {
		margin-top: 60px !important;
	}
	
	/* Dermatologia Estetica */
	
	.dermatologia-estetica-section {
		padding: 0!important;
	}
	
	.dermatologia-estetica-section img {
		border-radius: 0 !important;
	}
	
	.dermatologia-estetica-section > .et_pb_row> .et_pb_column {
		padding: 0 !important;
		width: 100% !important;
	}
	
	.dermatologia-estetica-section > .et_pb_row:not(.section-headers)  > .et_pb_column{
		margin-bottom: 0 !important;
	}
	
	.dermatologia-estetica-section > .et_pb_row > .et_pb_column > *:not(.et_pb_image) {
		width: 80%;
		max-width: 80vw;
		margin: 0 auto !important;
	}
	
	.derm-est-section h4 {
		margin: 20px 0 0 0!important;
	}
	
	/*Chi siamo*/
	.chi-siamo-section {
		padding: 60px 0 !important;
	}
	
	.chi-siamo-section > .et_pb_row {
		width: 80%;
		max-width: 80vw;
		margin: 0 auto !important;
	}
	
	.chi-siamo-section .et_pb_image {
		margin-top: 20px !important;
	}
	
	/*SOCIAL ICONS*/
	
	#footer-bottom .et-social-icons {
		width: 100%;
	}
	
	#footer-info {
		width: 100%;
	}
}

@media (max-width: 767px){
	h1.entry-title {
		font-size: 32px !important;
	}
	
	h2 {
		font-size: 40px !important;
	}
	
	h2:after {
		border-top: 1px solid black;
		margin-top: 20px;
	}
	
	h4 {
		font-size: 26px !important;
	}
	
	h4:after {
		border-top: 2px solid black;
	}
	
	.et_pb_slide_description {
		padding: 40px 10px !important;
	}
	
	.et_pb_slide_content .slider-title-1 {
		font-size: 30px !important;
		line-height: 34px;
		text-shadow: 2px 1px #373737;
	}

	.et_pb_slide_content .slider-title-2 {
		font-size: 30px !important;
		line-height: 34px;
		text-shadow: 2px 2px #e1e1e1;
	}
	
	.visite-derm-images > .et_pb_column:not(:last-child){
		margin-bottom: 60px !important;
	}
	
	.chi-siamo-section h4 {
		font-size: 40px !important;
	}
	
	.chi-siamo-section h4:after {
		border-top: 1px solid black !important;
	}
	
	.chi-siamo-section > .et_pb_row {
		padding: 0 !important;
	}
	
	.contacts-section form>div>div {
		display: block;
	}
}
