/*
Theme Name: 	EGP Child
Description: 	Responsive WordPress Theme based on Boostrap and Font Awesome.
Version:     	1.0.0
Author:     	Eugenio Priscimone
Text Domain: 	EGP
Domain Path: 	/languages
Tags:        	grid-layout, blog, custom-menu, featured-images, right-sidebar
License:    	GNU General Public License v3.0
License URI:	http://www.gnu.org/licenses/gpl-3.0.html
*/

/* IMPORT HERE YOUR FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500&display=swap');

a:hover {
    color: #37A9AA;
    text-decoration: underline;
}

.turquoise {
    color: #37A9AA;
}


#masthead,
#masthead-mobile {
    position: fixed;
    top: 0;
    z-index: 10000;
    _left: 50%;
    _transform: translateX(-50%);
}

.admin-bar #masthead,
.admin-bar #masthead-mobile {
    top: 32px;
}

#main-content {
    margin-top: 86px;
}

@media screen and (max-width: 991px) {
    #main-content {
        margin-top: 105px;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar #masthead,
    .admin-bar #masthead-mobile {
        top: 46px;
    }
}

.row-header {
    height: 88px;
}

/*.admin-bar #main-content {
    margin-top: calc(118px + 0px);
}*/

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.logo-container .custom-logo {
    max-width: 100%;         /* mai più largo del contenitore */
    max-height: 100%;        /* mai più alto del contenitore */
    height: auto;            /* mantiene le proporzioni */
    width: auto;             /* mantiene le proporzioni */
    object-fit: contain; 
}

.logo-container .hera-logo {
    max-width: 100%;         /* mai più largo del contenitore */
    max-height: 100%;        /* mai più alto del contenitore */
    height: auto;            /* mantiene le proporzioni */
    width: auto;             /* mantiene le proporzioni */
    object-fit: contain; 
}

@media screen and (max-width: 991px) {
    .hera-logo-container {
        display: none;
    }
}


.fixed-top {
    position: inherit;
}

header .container-fluid {
    background-color: #F5F5F5;
}

#mobile-menu a {
    padding: 12px;
    border-radius: 30px;
}

header a, header a:hover {
    text-decoration: none;
}

#mobile-menu a:hover,
header.mobile #mobile-menu a.navbar-toggler:hover::after {
    color: #37A9AA;
}

#mobile-inner-menu li {
    display: block;
    margin: 0;
    a {
        font-size: 20px;
    }
    a:hover {
        color: #37A9AA;
    }
}

#menu-profilo-utente,
#menu-profilo-utente-1 {
    display: none;
    padding: 1rem !important;
    padding-bottom: 0 !important;
    background-color: white;
    li {
        display: block;
        padding-bottom: 1rem !important;
        a {
            color: inherit;
        }
        a:hover {
            color: #37A9AA;
        }
    }
}

#menu-profilo-utente::before,
#menu-profilo-utente-1::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 60px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background-color: white;
    transform: rotate(45deg);
}
#menu-profilo-utente-1::before {
    left: 54px;
}
@media screen and (max-width: 991px) {
    #menu-profilo-utente::before {
        left: 27px;
    }
}
@media screen and (max-width: 991px) {
    #menu-profilo-utente-1::before {
        left: 78px;
    }
}

#menu-profilo-utente.show,
#menu-profilo-utente-1.show {
    display: block;
    
}

ul#menu-profilo-utente-1 {
    margin-top: 25px;
}

header .fixed-nav-container ul#menu-profilo-utente li,
header .fixed-nav-container ul#menu-profilo-utente-1 li {
    border: 0;
}

#wrapper #masthead-mobile .btn.btn-small {
    height: 50px;
    display: block;
}
#wrapper #masthead-mobile .btn.btn-small [class^="icon-"]::before {
    line-height: 1.8;
}

#wrapper #masthead-mobile button.navbar-toggler {
    display: none;
}

.text-gradient-hera {
    background: linear-gradient(to right, #de078d 8%, #00a890, #0092cf 40%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}


.page-head:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("/wp-content/uploads/2025/10/carousel-bg-sx.png");
  background-size: 100vw 100%;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: 0;
}

.page-head-int .h-page-head {
  height: 230px;
  color: black;
}

.page-head-int h1 {
  display: block;
}
.page-head-int .container-fluid {
  background-color: #37A9AA;
  color: white;
}

.page-head h1 {
  font-size: 2rem;
  margin: 0;
  font-weight: bold;
}

.col-12-auth {
    margin: 0 auto;
    max-width: 450px;
}

.tml.tml-lostpassword,
#page-verifica-2fa form {
    max-width: 450px;
    margin: 0 auto;
}
.text-center .tml.tml-lostpassword {
    text-align: initial;
}

.form-table.wp-2fa-user-profile-form {
    margin: 0 auto;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .page-head h1 {
        font-size: 2.8125rem;
    }
}

@media screen and (min-width: 1024px) {
    .page-head h1 {
        font-size: 3.375rem;
    }

    .intro-login-home,
    #page-login,
    #page-registrati,
    #list-filter-form,
    .form-control {
        font-size: 1.375rem;
    }

    .col-12-auth {
        margin: 0 auto;
        max-width: 600px;
        font-size: 1.375rem;
    }

    .tml.tml-lostpassword,
    #page-verifica-2fa form {
        max-width: 600px;
        font-size: 1.375rem;
    }

    #list-section,
    #detail-section {
        font-size: 1.375rem;
    }
}



.form-control {
    line-height: 1.15;
}
form[name="resetpass"] {
    margin-top: 3rem;
}
form[name="resetpass"] .tml-pass1-wrap,
form[name="resetpass"] .tml-pass2-wrap {
    width: calc(49% - 15px);
    float: left;
    margin-right: 15px;
}
form[name="resetpass"] .tml-submit-wrap {
    clear: both;
}

.datepicker-icon {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #37A9AA;
}

.datepicker.dropdown-menu {
    min-width: 15rem;
}

.datepicker table.table-condensed {
    width: 100%;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr span.active,
.datepicker table tr span.focused {
    background-color: #37A9AA !important; /* blu Bootstrap */
    background-image: none !important;
    color: black !important;
    _border-radius: 50%;
}

.datepicker table tr td.today,
.datepicker table tr td.today:hover {
    background-color: white !important; /* blu Bootstrap */
    background-image: none !important;
    color: #37A9AA !important;
    border: 1px solid #37A9AA !important;
    border-color: #37A9AA;
    _border-radius: 50%;
}

.datepicker table tr td span {
    height: auto;
    line-height: 2.5;
}



.modal-dialog,
.modal.show .modal-dialog {
    top: 0;
    left: 0;
    transform: none !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #37A9AA;
    background: #37A9AA;
    border: none;
}
.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(55, 169, 170, 0.25);
}






/* #419FD2 - azzurro */
.css-pt_mezzo .page-head-int .container-fluid {
  background-color: #37A9AA;
}
.css-pt_vendita .page-head-int .container-fluid {
  background-color: #B33878;
}
.css-pt_offerta .page-head-int .container-fluid {
  background-color: #00A77E;
}


@media screen and (max-width: 992px) {
  .page-head-int h1 {
    height: 150px;
  }
}
@media screen and (max-width: 768px) {
  .page-head-int h1 {
    height: 100px;

  }
}


.testo-su-immagine {
    height: 570px;
}

.testo-su-immagine-int {
    position: relative;
    padding-left: 5% !important;
    padding-right: 50% !important;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden; /* utile per evitare che il before "sbordi" */
    background-repeat: no-repeat;
}

@media screen and (max-width: 1024px) {
    .testo-su-immagine-int {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

.testo-su-immagine-int::before {
    content: "";
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background-image: linear-gradient(
        to right,               /* direzione orizzontale */
        rgba(0, 0, 0, 0.75),   /* inizio gradient scuro */
        rgba(0, 0, 0, 0.2)    /* fine gradient ancora più scuro */
    );
    pointer-events: none; /* così non blocca click */
    z-index: 0;          /* sotto al contenuto */
}

.testo-su-immagine-int > * {
    position: relative;
    z-index: 1;          /* sopra al gradient */
}

.testo-su-immagine h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

@media screen and (max-width: 991px) {
    .testo-su-immagine {
        height: 450px;
    }
}

@media screen and (max-width: 768px) {
    .testo-su-immagine {
        height: 350px;
    }
}

.testo-su-immagine-int .abstract {
    background:none;
    font-size: 0.875rem;
    font-weight: normal;
    line-height: 1;
    word-wrap: normal;
}

.block-mezzo .bigger {
    font-size: 1.5625rem !important;
}

@media screen and (min-width: 768px) {
    .testo-su-immagine h1 {
        font-size: 2.8125rem;
    }
    .testo-su-immagine-int .abstract {
        font-size: 1.125rem;
    }
}

@media screen and (min-width: 1024px) {
    .testo-su-immagine h1 {
        font-size: 3.375rem;
    }
    .testo-su-immagine-int .abstract {
        font-size: 1.25rem;
    }

    .block-mezzo .bigger {
        font-size: 2.15rem !important;
    }
}

.testo-su-immagine-int .abstract p {
    margin: 0;
}




#wrapper input:not([type=checkbox]):not(.clienti_comune):not(.tucsubmit),
#wrapper input.form-control:not([type=checkbox]) {
    height: auto;
    padding: 10px;
}
#wrapper input:not([type=checkbox]):not(.clienti_comune):not(.tucsubmit):focus,
#wrapper input.form-control:not([type=checkbox]):focus {
    box-shadow: 0 0 0 0.2rem rgba(55, 169, 170, 0.25);
}

#wrapper button[type=submit],
#wrapper input[type="submit"]:not(.tucsubmit) {
    width: auto !important;
    max-width: none !important;
    height: auto;
    padding: 12px 20px !important;
    border-radius: 100rem !important;
    background-color: #37A9AA;
    background-image: none;
    border: 0 !important;
    font-size: 100%;
    color: black;
    font-weight: 500;
    line-height: 1.15;
}

#wrapper select {
    height: auto;
    background-color: white;
    padding: 10px;
}

@media screen and (max-width: 767px) {
    form .pb-3 input,
    form .pb-3 select,
    form .pb-3 textarea,
    form .pb-3 button {
        margin-bottom: 15px;
    }
    
    form .pb-3 div:last-child input,
    form .pb-3 div:last-child select,
    form .pb-3 div:last-child textarea,
    form .pb-3 div:last-child button {
        margin-bottom: 0;
    }
}

.box-border {
    position: relative;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #DDDDDD;
    overflow: hidden;
}

/* .box-shadow, .box-image { */
.box-shadow {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    background-color: white;
}
.box-image {
    /*display: inline-block;*/
    border-radius: 0.7rem;
    overflow: hidden;
}
.box-image.single-image {
    display: flex;
    text-align: center;
    max-height: 260px;
}

.box-image {
    /*background: red;*/
}

.block-mezzo .box-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.block-mezzo .carousel-inner img {
    min-width: 100%;
    max-width: auto;
    min-height: auto;
    max-height: 500px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.block-mezzo .carousel-inner,
.block-mezzo .carousel-item {
    margin: 0 auto;
    width: auto;
    transition: transform 0.10s linear;
}
.block-mezzo .carousel-inner {
    min-width: 50%;
}

.carousel-control-prev,
.carousel-control-next {
    _position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 50px;
    background-color: white;
    border: 0;
}
.carousel-control-prev {
    left: 20%;
}
.carousel-control-next {
    right: 20%;
}
@media screen and (min-width: 1201px) and (max-width: 1399px) {
    .carousel-control-prev {
        left: 20%;
    }
    .carousel-control-next {
        right: 20%;
    }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
    .carousel-control-prev {
        left: 15%;
    }
    .carousel-control-next {
        right: 15%;
    }
}
@media screen and (max-width: 991px) {
    .carousel-control-prev {
        left: 5%;
    }
    .carousel-control-next {
        right: 5%;
    }
}
@media screen and (max-width: 850px) {
    .carousel-control-prev {
        left: 0%;
    }
    .carousel-control-next {
        right: 0%;
    }
}

.carousel-control-prev .icon-chevron-left,
.carousel-control-next .icon-chevron-right {
    font-size: 2rem;
    color: black;
}

.block-mezzo button .bigger {
    font-size: 45px !important;
}

.css-mezzo-venduto {
    background-color: #FFF9F9;
    background-color: #FFEDED;
}

.mezzo-venduto {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    border-bottom-left-radius: 10px;
    background-color: red;
    color: white;
}


.title-brand {
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.pagination {
    margin-left: auto;
    margin-right: auto;
}
.pagination .page-item {
    margin: 0 5px;
}
.pagination span.page-numbers {
    float: left;
    margin-left: -1px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    line-height: 1.25;
}

.pagination > li > a,
.pagination > li > a:hover,
.pagination > li > a:focus {
    color: #37A9AA;
}









.footer-border-top {
    background-color: #E6E6E6;
}

footer hr.grey-border {
    margin-top: 5px;
}

footer .footer-descri * {
    line-height: 1.5;
}
footer .footer-descri p {
    margin-bottom: 10px;
}

.footer-black {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

#menu-footer {
    margin-bottom: 0;
}

#menu-footer a {
    text-decoration: underline;
}

.copyright-bottom {
    margin-bottom: 0;
    color: white;
}

.link-footer {
	display: inline-flex;
    align-items: center;
}
.link-footer:hover {
    text-decoration: none;
    p {
        text-decoration: underline;
    }
}


#footer .d-none {
    display: block !important;
}

/*#footer .mb-5,
#footer .my-5 {
    margin-top: 1em !important;
    margin-bottom: 1em !important;
}*/

/*#footer .pb-5,
#footer .py-5 {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}*/

#footer .title-mid {
    margin-bottom: 1em !important;
    font-size: 20px !important;
}

#footer .row {
    margin-left: 0;
    margin-right: 0;
    font-size: 1em;
    color: white;
    line-height: normal;
}
#footer .row i {
    font-size: 1.5em;
}

@media screen and (max-width: 768px) {
    #footer * {
        text-align: center;
    }

    #footer .row {
        display: inherit;
    }
}

@media screen and (min-width: 769px) {
/*.col-lg-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
}*/

#footer .title-mid {
    _min-height: 60px;
}
}

@media screen and (max-width: 991px) {
#footer .title-mid {
    font-size: 16px !important;
}
}

@media screen and (min-width: 1025px) {
#footer .title-mid {
    min-height: inherit;
}
}

footer .container {
    font-size: 1.0em;
}

footer * {
    line-height: 1.5;
}

footer a:link,
footer a:active,
footer a:visited,
footer a:hover {
    font-weight: inherit;
}

footer ol,
footer ul,
footer dl {
    margin-left: 0;
}