/* ========================================
COMMON
======================================== */
:root {
    --orange: #ff7d00;
    --blue: #004060;
    --beige: #fef3e7;
    --grey: #abb7cb;
    --green: #8ef700;
    --blue-transparent: #205171;
    --grey-bg: #eceff4;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    overflow-x: hidden !important;
    max-width: 100%;
}
* {
    font-family: 'Inter 24pt';
}
p,
span,
li,
a {
    font-size: 18px;
    color: var(--blue);
}
h1 {
    font-size: 50px;
    color: var(--blue);
    font-weight: bold;
}
h2 {
    font-size: 35px;
    color: var(--blue);
    font-weight: bold;
    margin-bottom: 20px;
}
h3 {
    font-size: 21px;
    color: var(--blue);
    font-weight: bold;
}
.btn {
    border-radius: 25px;
    padding: 5px 20px;
    font-size: 18px;
    min-width: 200px;
}
.btn-orange {
    background: var(--orange);
    color: white;
}
.btn-orange:hover {
    background: white;
    color: var(--orange) !important;
}
.btn-outline-orange {
    border: solid var(--orange) 2px;
    color: var(--orange);
}
.btn-outline-orange:hover {
    background: var(--orange);
    color: white;
}
.btn-outline-grey {
    border: solid var(--grey) 2px;
    color: white;
}
.btn-outline-grey:hover {
    background: var(--grey);
    color: var(--blue);
}
.btn-white {
    border: solid white 2px;
    background: white;
    color: var(--orange);
}
.btn-white:hover {
    background: var(--orange);
    border: solid white 2px;
    color: white;
}
.btn-outline-white {
    border: solid white 2px;
    color: white;
}
.btn-outline-white:hover {
    background: white;
    color: var(--orange);
}

a,
.btn {
    transition: .3s;
}

.section-center {
    display: flex;
    justify-content: center;
    flex: wrap;
}
.green-label {
    color: var(--green) !important;
}
.text-grey {
    color: var(--grey) !important;
}
.sub-title {
    color: var(--orange);
    margin-bottom: 15px;
}
.page-header {
    min-height: 700px;
    background: fixed;
    text-align: center;
}
@media (max-width: 991px) {
    .page-header {
        min-height: 300px;
        height: 400px;
        background: scroll;
    }
}


/* ========================================
NAV
======================================== */
nav {
    background: var(--blue);
    /* height: 60px !important; */
}
.nav-link {
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    padding-right: 30px !important;
}
.nav-link:hover {
    opacity: .7;
    color: white;
}
.nav-item .active {
    border-bottom: solid 3px var(--orange) !important;
}
.navbar-brand img {
    height: 45px;
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
    color: white;
    padding-right: 0 !important;
}
.dropdown-menu {
    border: none;
    border-radius: 10px;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0;
    width: 100vw;
    border-radius: 0;
    border: none;
    border-top: 0.5px solid #eee;
    margin: 0;
    padding: 2rem;
    gap: 5rem;
    background: #f87e00f2;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 60px;
    transition: .3s;
}
.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: flex !important;
}
.dropdown-menu[data-bs-popper] {
    margin-top: 0 !important;
}

.dropdown-item {
    color: white;
    border-bottom: solid white 2px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dropdown-item:hover {
    color: white;
    background: var(--blue);
}
.dropdown-item:active {
    background-color: transparent;
}
nav img {
    height: 200px;
    margin-right: 35px;
    margin-left: 31px;
}
nav .btn-orange {
    padding: 5px 10px;
    min-width: 140px;
}
.col-service-1, .col-service-2,
.col-service-3 {
    transition: .3s;
    display: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: white !important;
}

@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }
}

/* animazione toggler navbar */
@media (max-width: 991px) {
    nav .btn-orange {
        margin-top: 30px;
        min-width: 200px;
        font-size: 25px;
    }
    nav img {
        margin-left: 0;
    }
    .navbar-toggler {
        border: 0px;
        float: right;
        position: relative;
        top: 0px;
        padding-right: 0px;
    }
    .navbar-toggler:focus,
    .navbar-toggler:focus-visible,
    .navbar-toggler:active {
        outline: 0;
    }
    .navbar-toggler span {
        display: block;
        background-color: white;
        height: 3px;
        width: 25px;
        margin-top: 6px;
        margin-bottom: 6px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        position: relative;
        left: 0;
        opacity: 1;
    }
    .navbar-toggler span:nth-child(1),
    .navbar-toggler span:nth-child(3) {
        -webkit-transition: transform .35s ease-in-out;
        -moz-transition: transform .35s ease-in-out;
        -o-transition: transform .35s ease-in-out;
        transition: transform .35s ease-in-out;
    }
    .navbar-toggler:not(.collapsed) span:nth-child(1) {
        top: 12px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .navbar-toggler:not(.collapsed) span:nth-child(2) {
        height: 12px;
        visibility: hidden;
        background-color: transparent;
    }
    .navbar-toggler:not(.collapsed) span:nth-child(3) {
        top: -15px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .nav-link {
        font-size: 25px;
        padding-right: 22px !important;
    }
    .nav-link:focus {
        border: none !important;
        color: var(--orange);
    }
    .navbar-collapse {
        transition: .3s;
        padding-top: 50px;
    }
    .navbar-nav {
        height: calc(100vh - 60px);
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        width: 100vw;
        background: var(--blue);
    }
    .dropdown-toggle::after {
        float: right;
        margin-top: 15px;
        color: #F18F32;
    }
    .dropdown-item {
        font-weight: 600;
        max-width: 279px;
        line-height: 1.2;
        padding-bottom: 10px;
        white-space: unset;
    }
    .dropdown-toggle::before {
        display: inline-block;
        margin-left: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
        margin-top: 15px;
        color: #F18F32;
    }
    /* Default: mostra ::after */
    .nav-item.dropdown>.nav-link::after {
        display: inline-block;
        margin-left: 5px;
    }
    .nav-link::before {
        display: none;
        border-right: .3em solid;
        border-top: .3em solid transparent;
        border-bottom: .3em solid transparent;
        float: right;
    }

    .navbar-toggler-icon {
        background-image: none;
    }

    /* Quando è attivo, nasconde ::after e mostra ::before */
    .nav-item.dropdown.dropdown-open>.nav-link::after {
        display: none;
    }
    .nav-item.dropdown.dropdown-open>.nav-link::before {
        display: inline-block;
        margin-right: 3px;
    }
    .nav-contact-mobile .btn {
        margin: 0;
        margin-bottom: 10px !important;
    }
}


/* ========================================
HOME
======================================== */
#home-intro {
    height: calc(100vh - 60px);
    background: var(--blue);
    position: relative;
    overflow-x: hidden;
}
#home-intro h2 {
    color: var(--orange);
}
#home-intro p {
    color: white;
}
.img-home-header {
    position: absolute;
    bottom: 0;
    right: 0;
    max-height: calc(95vh - 60px);
    z-index: 20;
}
.img-home-header-logo {
    position: absolute;
    bottom: 0;
    right: 0;
    max-height: calc(95vh - 60px);
    z-index: 10;
}
#home-intro .btn-orange {
    color: white;
    margin-right: 10px;
}
#home-partner {
    padding-top: 100px;
    padding-bottom: 100px;
}
#home-partner .btn-orange {
    border: solid 2px var(--orange);
}

/* #home-partner a {
    color: var(--orange);
    font-weight: bold;
    text-decoration: none;
}
#home-partner a:hover i {
    animation: slide-right 0.6s ease-in-out infinite alternate;
} */

@keyframes slide-right {
    from {
        transform: translateX(0px);
    }
    to {
        transform: translateX(5px);
    }
}
#home-partner .icon-partner {
    width: 70px;
    height: 70px;
}
.card-partner {
    border: solid 2px var(--grey);
    border-radius: 10px;
    max-width: 530px;
    width: 100%;
}
#prodotti-heracomm {
    background: var(--blue);
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
}
#prodotti-heracomm h2 {
    color: white;
}
#prodotti-heracomm p {
    color: var(--grey);
}
.card-prodotti-heracomm {
    border: solid 2px var(--grey);
    background: var(--blue-transparent);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}
.card-prodotti-heracomm .btn {
    max-width: 300px;
}
#prodotti-heracomm .label-orange {
    background: var(--orange);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: 600;
}
#prodotti-heracomm .label-green {
    background: var(--green);
    color: var(--blue);
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: 600;
}

@media (max-width: 991px) {
    #home-intro {
        min-height: 200px;
        height: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .img-home-mob {
        z-index: 1;
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        right: -100px;
        width: 500px;
    }

}


/* ========================================
COMPONENT - SECTIONS
======================================== */
#benefit {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--grey-bg);
}
.card-benefit {
    background: #ff7d001f;
    border-left: solid 5px #ff7d00;
    max-width: 530px;
}
.card-benefit h3 {
    text-transform: uppercase;
}
.number-benefit {
    color: var(--orange);
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 5px;
}

#banner-promo {
    background: var(--grey-bg);
    min-height: 100px;
}
#banner-promo img {
    margin-right: 50px;
    height: 80px;
}
#banner-promo .col-md-3 {
    border-right: solid 2px #666;
}
#dove-siamo {
    padding-top: 100px;
    padding-bottom: 100px;
}
#dove-siamo ul {
    list-style: none;
    padding-left: 0;
}
.provincia {
    margin-bottom: 0;
    color: var(--orange);
    font-weight: bold;
}
#map {
    width: 100%;
    height: calc(50vh - 50px);
    background-color: grey;
    margin-top: 50px;
}

#cta-bg-orange {
    background: #ff7d00;
    padding-top: 100px;
    padding-bottom: 100px;
}
#cta-bg-orange .btn {
    width: 250px;
}
#prenota-chiamata-modal .modal-content {
    padding: 10px 20px;
}
#prenota-chiamata-modal .modal-header {
   border-bottom: none !important;
   padding-bottom: 0 !important;
}
@media (max-width: 991px) {
    #benefit .col-12 {
        justify-content: center !important;
    }
    #banner-promo {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    #banner-promo .col-12 {
        text-align: center;
    }
    #banner-promo .col-md-3 {
        border-right: solid 0px #666;
    }
    #banner-promo .col-12 {
        justify-content: center;
        flex-wrap: wrap;
    }
    #banner-promo img {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}
@media (max-width: 768px) {
    #cta-bg-orange .btn-list {
        align-items: center !important;
    }
}

/* ========================================
DIVENTA PARTNER
======================================== */
#diventa-partner-intro {
    background-image: url('https://siamoenergia.it/templates/assets/images/header-diventa-partner.jpg');
    background-position: center;
    background-size: cover;
}
#diventa-partner {
    padding-top: 100px;
    padding-bottom: 100px;
}
#diventa-partner .icon-partner {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}
#cta-blue-bg {
    background: var(--blue);
    color: white;
    padding-top: 100px;
    padding-bottom: 100px;
}
#cta-blue-bg .btn {
    margin: 10px;
    min-width: 220px;
}
#form-candidatura {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--grey-bg);
}
#form-candidatura label {
    color: #8693aa;
}
#form-candidatura input,
#form-candidatura select {
    color: var(--blue);
}
textarea {
    min-height: 150px !important;
}


/* ========================================
SERVIZI
======================================== */
#servizi-intro {
    background-image: url('https://siamoenergia.it/templates/assets/images/header-servizi.jpg');
    background-position: center;
    background-size: cover;
}
#servizi {
    padding-top: 100px;
    padding-bottom: 100px;
}
#servizi a,
.servizio-single-altri-servizi a {
    text-decoration: none;
}
#servizi .card,
.servizio-single-altri-servizi .card {
    border-radius: 25px;
    overflow: hidden;
    transition: .3s;
    border: 0;
    max-width: 350px;
}
#servizi .card:hover,
.servizio-single-altri-servizi .card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 1px 2px #c0af9b;
}
#servizi .card:hover .servizi-arrow i,
.servizio-single-altri-servizi .card:hover .servizi-arrow i {
    animation: slide-right 0.6s ease-in-out infinite alternate;
}
.card-text {
    min-height: 90px;
}
.card-body {
    background: #fef3e7;
}
.card-servizi-bg-privati {
    background-image: url('https://siamoenergia.it/templates/assets/images/card-privati.jpg');
    background-position: center;
    background-size: cover;
    height: 200px;
}
.card-servizi-bg-aziende {
    background-image: url('https://siamoenergia.it/templates/assets/images/card-aziende.jpg');
    background-position: top;
    background-size: cover;
    height: 200px;
}
.card-servizi-bg-offerte {
    background-image: url('https://siamoenergia.it/templates/assets/images/card-offerte-disponibili.jpg');
    background-position: center;
    background-size: cover;
    height: 200px;
}
.servizi-arrow i {
    color: var(--orange);
    font-size: 40px;
}
#offerta-variabile,
#offerta-fissa,
#offerta-ibrida {
    scroll-margin-top: 130px;
}
@media (max-width: 991px) {
    #servizi .card,
    .servizio-single-altri-servizi .card {
        max-width: 100%;
        min-width: 100%;
    }
}

/* ========================================
SERVIZI SINGLE PAGE
======================================== */
#luce-e-gas-per-privati-intro {
    background-image: url('https://siamoenergia.it/templates/assets/images/header-privati.jpg');
    background-position: center;
    background-size: cover;
}
#luce-e-gas-per-aziende-e-per-partita-iva-intro {
    background-image: url('https://siamoenergia.it/templates/assets/images/header-aziende.jpg');
    background-position: center;
    background-size: cover;
}
#offerte-disponibili-intro {
    background-image: url('https://siamoenergia.it/templates/assets/images/header-offerte-disponibili.jpg');
    background-position: center;
    background-size: cover;
}
.servizio-single {
    padding-top: 100px;
    padding-bottom: 0px;
}
.servizio-single ul {
    list-style-type: none;
    padding-left: 0;
}
.servizio-single li div {
    padding-left: 36px
}
.servizio-single li {
    margin-bottom: 20px;
}
.servizio-check {
    color: var(--orange);
    font-size: 21px;
    margin-right: 10px;
}


.servizio-single-blue-bg {
    background: var(--blue);
    padding-top: 100px;
    padding-bottom: 100px;
}

.servizio-single-blue-bg p {
    color: white;
}
.servizio-single-altri-servizi {
    padding-top: 100px;
    padding-bottom: 100px;
}

#offerte-tab-nav {
    width: 100%;
    background: var(--blue);
    color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
}
#offerte-tab-nav li {
    min-width: 250px;
    text-align: center;
    display: flex;
    justify-content: center;
}
#offerte-tab-nav .nav-link {
    color: white;
    font-size: 21px;
    text-transform: uppercase;
}
.nav-link.active {
    background: transparent !important;
    border-bottom: solid 5px var(--orange);
    border-radius: 0;
}
.tariffa-box {
    background: #fef3e7;
    border-radius: 20px;
    border: solid 5px var(--orange);
    padding: 40px 30px;
}
@media (max-width: 991px) {
    .tariffa-box {
        margin-bottom: 20px;
    }
}


/* ========================================
CHI SIAMO
======================================== */
#chi-siamo-intro {
    background-image: url('https://siamoenergia.it/templates/assets/images/header-chi-siamo.jpg');
    background-position: center;
    background-size: cover;
}
#chi-siamo {
    padding-top: 100px;
    padding-bottom: 100px;
}
#cta-servizi {
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url('https://siamoenergia.it/templates/assets/images/banner-servizi.png');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
@media (max-width: 991px) {
    #cta-servizi {
        background-attachment: scroll;
    }
}


/* ========================================
CONTATTI
======================================== */
#contatti-header {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    border-bottom: solid var(--orange) 10px;
}
#contatti-split {
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url('https://siamoenergia.it/templates/assets/images/background-contatti.jpg');
    background-position: center;
    background-size: cover;
}
#contatti-split .col-12 {
    padding: 0 40px;
}
#contatti-split a {
    color: var(--blue);
    text-decoration: none;
}
#contatti-split .blue-bg .btn,
#contatti-split .blue-bg a,
#contatti-section-blue a {
    color: white;
    text-decoration: none;
}
#contatti-split .blue-bg .btn {
    max-width: 300px;
}
#contatti-split a:hover,
#contatti-section-blue a:hover {
    color: var(--orange);
}
.icon-contatti {
    width: 50px;
    margin-right: 20px;
}
#contatti-section-blue {
    background: var(--blue);
    padding-top: 50px;
    padding-bottom: 50px;
}
@media (max-width: 991px) {
    #contatti-split {
        background-image: none;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .blue-bg {
        background: var(--blue);
    }
}

/* ========================================
FOOTER
======================================== */
#footer {
    background: var(--blue);
    padding-top: 50px;
    margin-bottom: 0;
}
#footer p,
#footer a {
    color: white;
    text-decoration: none;
}
#footer a:hover {
    color: var(--orange);
}
#footer .logo {
    width: 250px;
    margin-bottom: 40px;
}
.socket p, .socket a, .socket span {
    font-size: 14px !important;
}
@media (max-width: 991px) {
    #footer .block-img {
        margin-bottom: 40px;
    }
}


/* ========================================
COOKIE
======================================== */

.cookiealert a {
  color: var(--orange);
}