/*
 Theme Name: Clicksisposa
 Theme URI: 
 Description: Divi Child Theme
 Author: Danyyl Pochtar
 Author URI: www.danyylpochtar.it
 Template: Divi
 Version: 1.0.0
*/
 
#header-wrapper h1{
	line-height:1.4!important;
	font-size:3rem;
}

#hero-hp h1{
	text-align:right;
}
#hero-hp h3{
	text-align:right;
}

#hero-hp .et_pb_button_module_wrapper{
	text-align:right!important;
}
h2{
	font-size:4rem;
}
h3{
	font-family: 'Work Sans', sans-serif!important;
	font-weight:100!important;
}
h4{
	font-size: 2rem;
}
#header-wrapper h3{
	color:#fff;
}
#header-wrapper {
	display:flex;
	min-height:100vh!important;
}
.upper-heading{
	margin-bottom:0px!important;
}
p{
	font-weight:200!important;
}
.align-center{
	text-align:center!important;
}
.white-text{
	color:#fff;
}
.quotes, .quotes h4{
	text-transform:none!important;
	font-family: "Libre Caslon Display", serif;
	font-size:2rem!important;
}
.bg-grey{
	background:rgba(38, 30, 23,3%)
}
/*foooter*/
#footer-wrapper{
	background:rgba(38, 30, 23,3%)
}
.footer-desc{
	text-align:center!important;
	font-size:1rem;
}
/*buttons*/
.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button, .et_button_no_icon.et_button_left .et_pb_button:hover, .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover{
	padding:12px 24px !important;
}
.half-header{
		width:100%!important;
}
.white{
    color:white!important;
}
.white-button{
background:white!important;
	color:black!important;
}
.white-button_:hover{
	background:rgba(0,0,0,0)!important;
	color:white!important;
}
.align-right{
	text-align:right!important;
}
.align-center{
	text-align:center!important;
}
/*portfolio slider*/
/*move and position the Text module over the center of the Image module*/

.pa-text-over-image > .wrapper-text-portfolio {
	position: absolute;
	top: -40vh;
	left: 50%;
	transform: translate(-50%, -45%);
	z-index: 10;
	width: 100%;
	transition: opacity 0.3s ease-in-out;
	/*opacity: 0;*/
}
/*add an optional overlay over the image*/

.pa-text-over-image > .wrapper-text-portfolio .et_pb_image_wrap:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #000;
	z-index: 9;
	transition: opacity 0.3s ease-in-out;
	opacity: 0.3; /*make this 0 for hover reveal effect*/
}

.pa-text-over-image:hover > .wrapper-text-portfolio {
	opacity: 1;
}

.pa-text-over-image:hover > .et_pb_image .et_pb_image_wrap:before {
	opacity: 0.5;
}
.testo-nascosto, .testo-nascosto1, .testo-nascosto3,.testo-nascosto4{
  opacity: 0;
  color:white;
}
.testo-originale,.testo-originale1, .testo-originale3,.testo-originale4{
  color:white;
}
.container-images {
  filter: grayscale(100%);
  scale:0.9;
}
/*end portfolio slider*/
@media only screen and (max-width: 600px) {
	#header-wrapper h1{
		line-height:1.4!important;
		font-size:3rem;
	}
	#hero-hp h1{
		text-align:center;
	}
	#hero-hp h3{
		text-align:center;
	}
	#hero-hp .et_pb_button_module_wrapper{
	text-align:center!important;
	}
	#header-wrapper h1 {
    line-height: 1.4 !important;
    font-size: 2.4rem;
}
	p{
		line-height:1.5em!important;
	}
	h1{
		font-size:32px!important;
	}
	h2{
		font-size:1.8rem!important;
		line-height:1.4em!important;
	}
	h3{
		font-size:1rem!important;
		line-height:1em!important;
	}
	.quotes,.quotes h4 {
		font-size:1.6rem!important;
	}
	.pa-text-over-image>.wrapper-text-portfolio{
		top:-30vh!important;
	}
	.pin-spacer {
		padding: 0!important;
}
}
/*modulo di contatto*/
.et_pb_contact p input{
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  color: #eee;
  text-transform: uppercase;
  outline: none;
  transition: border-color .2s;
	text-align:center;
}

input.text:focus, input.title:focus, input[type=text]:focus, select:focus, textarea:focus {
  border-bottom-color: black!important;
}

input.text:focus::placeholder,
input.title:focus::placeholder,
input[type=text]:focus::placeholder,
select:focus::placeholder,
textarea:focus::placeholder {
	color:black;
}

.et_pb_contact_field textarea.et_pb_contact_message{
	background:none;
	  border: none;
  border-bottom: 1px solid #eee;
	color: #eee;
  text-transform: uppercase;
  outline: none;
  transition: border-color .2s;
	text-align:center;
}

.et_contact_bottom_container{
	float:none;
	justify-content:center;
} 
/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
  
/*** Hide Sidebar ***/
#sidebar {display:none;}
  


/* 2 Column Portfolio */
@media (min-width: 981px) {
	/*** Expand the content area to fullwidth ***/
	#left-area {
		width: 100%;
		padding: 23px 0px 0px !important;
		float: none !important;
	}
	.two-column-portfolio .et_pb_grid_item {
	/*width: 47.25%!important;
	margin-right: 5.5%!important;*/
	/*width: 48.7%!important;*/
	        width: 29.60%!important;
        margin-right: 5.5%!important;  
	/*margin-right: 2.5%!important;*/
	}
	 
	.two-column-portfolio .et_pb_grid_item:nth-child(3n) {
	/*margin-right: 2.5%!important;*/
		margin-right: 0!important;
	}
	 
	/*.two-column-portfolio .et_pb_grid_item:nth-child(2n) {
	margin-right: 0!important;
	}*/
	    .two-column-portfolio.et_pb_grid_item:nth-child(4n) {
        margin-right: 5.5%!important;
    }
	 
	.two-column-portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1) {
	clear: none!important;
	}
	 
	.two-column-portfolio .et_pb_grid_item.first_in_row {
	clear: unset;
	}
	.half-header{
		width:100%!important;
}
}
/*confine the range of the content that will be moved*/
.gallery-full-width .et_pb_gallery_item{
	/*width:45.7vw!important;*/
	width: 30%!important;
	margin: 1.8% !important;
	/*margin: 0.6vw !important;*/
	clear: none !important;
}
	.gallery-full-width .et_pb_gallery_item:nth-child(3n) {
	/*margin-right: 2.5%!important;*/
		margin-right: 0!important;
	}

.pa-portfolio-overlay .project {
	position: relative;
}

/*move the text content to the center of the image*/

.pa-portfolio-overlay .pa-portfolio-inner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 99;
}

/*create a cuystom overlay*/

.pa-portfolio-overlay .project>a:before {
	content: "";
	position: absolute;
	background-color: #000;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: .3;
	transition: all 0.2s ease-in-out;
}

/*change the opacity of the overlay on hover*/
/*.pa-portfolio-overlay .project>a:hover:before {
	opacity: 0.5;
}*/
.et_pb_module_header{
	position: absolute;
    top: 49%;
    left: 52%;
    transform: translate(-50%, -50%);
	color: #fff;
	z-index: 99;
	text-align: center;
}
.et_portfolio_image{
	position: relative;
}
.et_pb_portfolio_grid .et_pb_portfolio_item h2{
	font-size: 30px!important;
}
.pa-portfolio-overlay .project>a img {
	filter: grayscale(100%);
	transition: transform 0.2s ease-in-out;
}
.pa-portfolio-overlay .project>a:hover img {
	filter: grayscale(0%);
	transform: scale(1.1); /* Puoi regolare il valore di scala come preferisci */
	transition: transform 0.2s ease-in-out;
	filter: none;
}
/* Contenitore con posizione relativa e overflow nascosto */
.pa-portfolio-overlay .project>a {
    position: relative;
    overflow: hidden;
    display: block; /* Assicurati che il contenitore sia visualizzato come blocco */
}

@media (max-width: 768px) {
	.gallery-full-width .et_pb_gallery_item{
		width:47.5%!important;
		margin: 1vw !important;
		clear: none !important;
	}
}
@media (max-width: 480px){
	.gallery-full-width .et_pb_gallery_item{
		width:100%!important;
		margin: none !important;
		clear: none !important;
	}
	.et_pb_portfolio_grid .et_pb_portfolio_item h2{
	font-size: 22px!important;
	}
}

/* togliere sotto immagine ingradinta galleria*/
.mfp-bottom-bar{
	display: none!important;
}
.descrizione-persona{
	text-align:justify; 
	word-break:break-all;
}
.menu-secondario{
	text-transform: uppercase!important;
}
