/** INDEX CAMERE **/
#page_indexcamere .camere-index{margin-top: 10px; margin-bottom: 10px}
#page_indexcamere .gruppo-camere{margin-top: 10px; margin-bottom: 10px }
#page_indexcamere .gruppo-camere .nome-gruppo{text-align: left; font-size: 2.2em; text-transform: uppercase; color: #008bd2;}

#page_indexcamere .gruppo-camere .contenuto-camera{margin: 0;padding: 5px;}
#page_indexcamere .gruppo-camere .contenuto-camera .foto-background{position:relative;min-height: 500px;height: auto;padding:0;background-repeat: no-repeat;background-size: cover;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;overflow: hidden;}
#page_indexcamere .gruppo-camere .contenuto-camera div.mask-anteprimacamera{position: absolute;top: 0;left: 0;right: 0;bottom: 0;opacity: 0;background-color: #797570b8;transition: all 0.5s ease;}
#page_indexcamere .gruppo-camere .contenuto-camera span.labelhoverimg {color: #fff;position: absolute;left: 50%;font-size: 1.5em;padding: 10px;top: 50%;-webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%);font-weight: 300;font-family: Montserrat;text-transform: capitalize;width: 100%;text-align: center;}
#page_indexcamere .gruppo-camere .contenuto-camera div.mask-anteprimacamera:hover {opacity: 1;}
#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto h4{
    position: absolute;
    width: 50%;
    text-align: center;
    color: #FFF;
    /* top: 0; */
    text-transform: capitalize;
    font-size: 1.6em;
    font-weight: 300;
    /* text-shadow: 1px 1px 3px #333; */
    /* letter-spacing: 0.1em; */
    font-family: Montserrat;
    float: left;
    background: #797570b3;
    bottom: 0;
    padding: 19px 20px;
    margin-bottom: 0;
}

#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto .bottone_scopri{
    background: #d5b158;
    color: #FFF;
    width: 50%;
    padding: 20px;
    position: absolute;
    bottom: 0;
    font-weight: 500;
    z-index: 1;
    font-size: 1.2em;
    text-transform: uppercase;
    text-align: center;
    /* margin-left: 0; */
    /* left: 0; */
    margin-top: 0;
    font-family: Montserrat;
    float: right;
    margin-right: 0;
    margin-left: 0;
}

#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto .bottone_scopri:hover{
    background: #ffc242;
    /* color: #fff; */
}

.bottone_scopri {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: center;
    z-index: 1;
    width: 280px;
    left: 50%;
    margin-left: -140px;
    margin-top: 10px;
    font-size: 16px;
}

#page_indexcamere .gruppo-camere .contenuto-camera .bottone_scopri.sovrapponi{padding-top: 10px;padding-bottom: 10px;background: #d5b158;float: left;width: auto;padding: 18px;/* position: absolute; */left: 0;margin-left: 0;border-radius: 4px;color: #FFF;}

#page_indexcamere .gruppo-camere .contenuto-camera .bottone_scopri.sovrapponi a{color: #000;font-family: Montserrat;text-transform: uppercase;font-weight: 500;color: #FFF;font-size: 1.1em;}

#page_indexcamere .gruppo-camere .contenuto-camera .bottone_scopri.sovrapponi:hover{background: #ffc242;color: #614c19;}
#page_indexcamere .gruppo-camere .contenuto-camera .bottone_scopri.sovrapponi:hover > a{/* color: #fff; */}

#page_indexcamere .gruppo-camere .contenuto-camera h4.sovrapponi {position: relative;text-align: left;color: #797570;text-transform: none;font-size: 35px;font-weight: 400;margin-top: 20px;/* letter-spacing: 0.3em; */margin-bottom: 15px;font-family: Italiana;text-transform: capitalize;margin-top: 50px;}

#page_indexcamere .gruppo-camere .contenuto-camera .descrizione-camera{height: auto;overflow: hidden;padding: 10px;text-align: justify;font-family: 'Montserrat';font-size: 1.2em;padding: 20px;line-height: 2em;color: #797570;}

/** CAROUSEL CAMERE **/
.carousel-camere{/* margin: 10px 0; */}
.carousel-camere .conten_camere{/* padding: 10px; *//* background-color: #ffffff; */min-height: 150px;display: flex;flex-direction: row;align-items: center;}
.carousel-camere .conten_camere .conten_foto{padding: 0;margin: 0;border-radius: 5px;position: relative;overflow: hidden;}
.conten_foto img {
    transition: transform 0.5s ease-in-out; /* Transizione morbida per l'effetto di zoom */
    width: 100%; /* Assicura che l'immagine occupi l'intero contenitore */
    height: auto; /* Mantiene le proporzioni dell'immagine */
    border-radius: 5px; /* Aggiungi il border-radius all'immagine per mantenerlo durante lo zoom */
    cursor: url(https://www.iltuonerd.it/produzione/trianon-group/data/cursor-2.svg), auto;
}

.conten_foto:hover img {
    transform: scale(1.05); /* Aumenta la dimensione dell'immagine al passaggio del mouse */
}
.carousel-camere .conten_camere span.labelhoverimg{color: #fff;position: absolute;left: 50%;font-size: 1.2em;padding: 10px;top: 50%;-webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%);}
.carousel-camere .conten_camere .conten_testo{font-size: 1em;/* background: #ffffff; */height: 100%;display: flex;flex-direction: column;justify-content: center;}
.carousel-camere .conten_camere span.titolocamera {text-align: center; float: left; display: block; width: 100%; font-size: 1.5em;padding: 10px 0;text-transform: uppercase;}
.carousel-camere .conten_camere .testosovrapposto span.titolocamera {text-align: center;float: none;position: absolute;top: 40%;min-height: 60px;display: block;width: auto;left: 0;right: 0; font-weight: 500;font-size: 1.8em;text-transform: uppercase;}
.carousel-camere .conten_camere span.datablog {display: block; width: 100%; padding-left: 0; padding-right: 0; margin-top: 5px; color: #9e9e9e;}
.carousel-camere .conten_camere .testosovrapposto{position: absolute; top: 0; left:0px; right: 0px; padding: 10px; height: 100%; color: #fff;text-align: center; background-color: rgba(0,0,0,0.3)}
.carousel-camere .conten_camere .bottonecamera a {color: #FFF;padding: 20px 20px;text-align: center;margin-top: 0;width: auto;font-family: 'Montserrat';text-transform: uppercase;border-radius: 4px;font-size: 16px;font-weight: 600;cursor: url(https://www.iltuonerd.it/produzione/trianon-group/data/cursor-2.svg), auto;}
.carousel-camere .conten_camere .bottonecamera a:hover{/* color: #fff; */}



.carousel-camere .conten_camere .bottonecamera a {
 /* padding: 0.8em 1.8em; */
 border: 2px solid #ffffff;
 position: relative;
 overflow: hidden;
 background-color: transparent;
 text-align: center;
 text-transform: uppercase;
 transition: .3s;
 z-index: 1;
 font-family: inherit;
 color: #ffffff;
}

.carousel-camere .conten_camere .bottonecamera a:before {
 content: '';
 width: 0;
 height: 500%;
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%) rotate(45deg);
 background: #d09823;
 transition: .5s ease;
 display: block;
 z-index: -1;
}

.carousel-camere .conten_camere .bottonecamera a:hover:before {
 width: 105%;
}

.carousel-camere .conten_camere .bottonecamera a:hover {
 color: #ffffff;
 border: 2px solid #d09823;
}


.carousel-camere .conten_camere div.mask-anteprimacamera{position: absolute;top: 0;left: 0;right: 0;bottom: 0;opacity: 0;background-color: rgba(0,0,0,0.5);transition: all 0.5s ease;}
.carousel-camere .conten_camere span.labelhoverimg {color: #fff;position: absolute;left: 50%;font-size: 1.2em;padding: 10px;top: 50%;-webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%);}
.carousel-camere .conten_camere div.mask-anteprimacamera:hover {opacity: 1;}
.carousel-camere .conten_camere .conten_testo .titolocamera{font-size: 40px;text-align: left;padding: 20px;margin-top: 0;font-family: 'Italiana';text-transform: capitalize;color: #ffffff;margin-bottom: 10px;padding-top: 0;}
.carousel-camere .conten_camere .conten_testo .testocamera{text-align: left;text-align: justify;padding: 20px;line-height: 2em;font-size: 1.1em;margin-bottom: 10px;padding-top: 0;font-family: 'montserrat';font-weight: 300;color: #ffffff;}
.carousel-camere .conten_camere .conten_testo .bottonecamera{font-size: 16px;margin-top: 0;font-family: 'montserrat';}
.carousel-camere .conten_camere .conten_testo .bottonecamera a:link{text-decoration: none;}
.carousel-camere .conten_camere .fianco.conten_testo .titolocamera{font-size: 1.3em; text-align: center; padding: 10px}
.carousel-camere .conten_camere .fianco.conten_testo .testocamera{text-align: left; text-align: center; padding: 10px}
.carousel-camere .conten_camere .fianco.conten_testo .bottonecamera{font-size: 1.3em; margin-top: 10px}
.carousel-camere .conten_camere .fianco.conten_testo .bottonecamera a:link{text-decoration: none}

#camereindex-home{margin-top: 50px;}

/************** RESPONSIVE ******************/

@media (max-width: 1800px){
    .carousel-camere .conten_camere .conten_testo .titolocamera {font-size: 37px;}
}


@media (max-width: 1600px){
	#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto h4 {font-size: 2.2em;}
    .carousel-camere .conten_camere .bottonecamera a {font-size: 13px;}
    .carousel-camere .conten_camere .conten_testo .titolocamera {font-size: 35px;} 
}
@media (max-width: 1400px){
	#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto h4 {/* font-size: 2em; */}
    .carousel-camere .conten_camere .conten_testo .titolocamera {font-size: 33px;}
}
@media (max-width: 1200px){
	#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto h4 {font-size: 1.85em;padding: 18px 20px;}
    #page_indexcamere .camere-index {margin-left: 15px;width: calc(100% - 30px);}
    .carousel-camere .conten_camere .conten_testo .testocamera{font-size: 1em;}
}

@media (max-width: 1024px){
    #page_indexcamere .gruppo-camere .contenuto-camera h4.sovrapponi{font-size: 25px;}
}

@media(max-width:992px){
    #slide-camere .carousel-camere .conten_camere .conten_testo {
        height: auto !important;
    }
    
    .carousel-camere .conten_camere .conten_testo .titolocamera {
        margin-top: 0;
        padding-left: 0;
    }
    
    .carousel-camere .conten_camere .conten_testo .testocamera {
        padding-left: 0;
    }
    
    .carousel-camere .conten_camere .conten_testo .bottonecamera {
        margin-left: 0;
        padding-left: 0;
        margin-top: 0;
    }

    .carousel-camere .conten_camere .conten_testo .titolocamera {font-size: 29px;margin-top: 40px;}

    .contenuto-camera .col-sm-5, .contenuto-camera .col-sm-7 {
        width: 100%;
    }
    .contenuto-camera .col-sm-7 {
        padding: 0;
        padding-bottom: 40px;
    }
    .carousel-camere .conten_camere .conten_testo .testocamera {
        font-size: 1.3em;
    }
	.carousel-camere .conten_camere {
    display: flex;
    flex-direction: column;
}
}
@media (max-width: 767px){
	#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto h4 {font-size: 1.65em;}
	#page_indexcamere .gruppo-camere .nome-gruppo {font-size: 2em;}
	#page_indexcamere .camere-index {padding-left: 0;padding-right: 0;margin-left: 0;width: 100%;}
	#camereindex-home {margin-top: 5px;}
	#page_indexcamere .gruppo-camere .contenuto-camera .bottone_scopri.sovrapponi {padding: 10px;}
	#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto .bottone_scopri {font-size: 14px;}
    .carousel-camere .conten_camere .conten_testo .testocamera {display: none;}
    .carousel-camere .conten_camere .conten_testo .titolocamera {
        font-size: 28px;
        padding-right: 0;
    }
    #page_indexcamere .gruppo-camere .contenuto-camera .foto-background {
        min-height: 300px;
    }
    #page_indexcamere .gruppo-camere .contenuto-camera .descrizione-camera {
        font-size: 1.3em;
    }
    .carousel-camere .conten_camere .bottonecamera a {/* font-size: 14px !important; */font-weight: 500;padding: 10px 15px;}
    #page_indexcamere .gruppo-camere .contenuto-camera h4.sovrapponi{font-size: 24px;}
}

@media(max-width: 440px){
    #page_indexcamere .gruppo-camere .contenuto-camera {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        padding-bottom: 20px;
    }

	.carousel-camere .conten_camere .bottonecamera a {font-size: 14px !important;}
}

@media (max-width: 320px){
	#page_indexcamere .gruppo-camere .contenuto-camera .interno-foto .bottone_scopri {font-size: 0.95em;}
	#page_indexcamere .gruppo-camere {padding-left: 10px; padding-right: 10px;}
}