html,
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

html {scroll-behavior: smooth;}


/* div {border: 1px solid blue;} */



/* ! Font ---------------------------------*/

h1 {font-size: 37px; font-weight: 800;}
h2 {font-size: 32px; font-weight: 800; color: #30348f;}
h3 {font-size: 26px; font-weight: 600; color: #30348f;}
h4 {font-size: 24px; font-weight: 700; color: #00a656;}
p  {font-size: 15px; color: #000;}

h1, h2, h3, p {margin-bottom: 20px;}

@media (max-width: 768px) {
    h1 {font-size: 44px;}
    h2 {font-size: 26px;}
    h3 {font-size: 21px;}
    h4 {font-size: 18px;}
}

@media (max-width: 576px) {
    h1 {font-size: 30px;}
    h2 {font-size: 24px;}
    h3 {font-size: 20px;}
    p {font-size: 14px;}
}


/* ! Padding Margin -------------------------------*/

.m-0 {margin: 0px;}
.p-0 {padding: 0px;}
.m-center {margin: 0 auto;}

@media (max-width: 768px) {
    .m-0-xs {margin: 0px;}
    .p-0-xs {padding: 0px;}
}


/* ! Media Query --------------------------------------*/


/* DESKTOP MINI */
@media (max-width: 992px) {}

/* TABLET */
@media (max-width: 768px) {}

/* SMARTPHONE */
@media (max-width: 576px) {}



/* ! Ulility Cover ---------------------------------------- */

.cover {
    width: 100%;
    height: 100vh;
    background-image: url("../img/slide-desktop.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* ! Pulsanti --------------------------------------*/

.cta,
.cta:visited,
.cta:link,
.cta:focus {
    background-color: #00a656;
    border-radius: 5px;
    color: #fff;
    padding: 13px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
    border: 0px;
    position: relative;
}

.cta:hover {
    color: #fff;
    filter: brightness(1.1);
    padding: 13px 30px;
}




/* ! My Grid --------------------------------------*/

.container {
    max-width: 1130px;
    width: 100%
}

.grid {
    display: flex;
    max-width: 1130px;
    padding: 15px;
    border: 1px solid blue;
    margin: 0 auto;
}

.colg {
    width: 100%;
    border: 1px solid blue;
    margin: 15px;
}


/* ----------------------------------------------- */






/* ! header ---------------------------------*/

.header-global {
    width: 100%;
    padding: 15px 30px 13px 30px;
}

.header-logo {
    width: 80px;
}

.header-icon-div {
    width: 3px;
    margin-right: 10px;
    margin-left: 15px;
}

.header-promo {
    color: #30348f;
    font-size: 28px;
    font-weight: 700;
}

.header-komparatore {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-logo-komparatore {
    width: 80px;
    margin-top: 5px;
}

.header-logo-k {
    width: 20px;
    margin-top: -3px;
}


/* TABLET */
@media (max-width: 768px) {
    .header-promo {font-size: 20px;}
}


/* SMARTPHONE */
@media (max-width: 576px){
    .header-logo {width: 80px; margin-top: -5px;}
    .header-global {padding: 15px 0px 10px 0px;}  
    .header-icon-div {margin-right: 10px; margin-top: 0px;}
}




/* cover ---------------------------------*/

.cover-box {
    width: 100%;
    padding: 0px;
    background-image: url("../img/slide-desktop.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.cover-box-form {
    background-color: rgba(48,52,143,.90);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-box-form_item {
    padding: 30px;
    width: 500px;
}


.cta-cover,
.cta-cover:visited,
.cta-cover:link,
.cta-cover:focus {
    width: 100%;
    padding: 17px 30px;
}


.cta-cover:hover{padding: 17px 30px;}

.sub-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.text-evidenzioato {
    background-color: #fff;
    color: #30348f;
}



.box-form {padding: 0px;}

.box-form a {
    text-decoration: underline;
    color: #fff;
}

.box-form p {
    font-size: 12px;
    color: #6d6f71;
    margin-top: 20px;
}

.form-control {
    height: 55px;
    margin-bottom: 15px;
    margin-top: 25px;
}

.form-check-label {
    font-size: 12px;
    color: #fff;
  }

  .form-group {
    margin-top: 17px;
    margin-bottom: 8px;
  }



/* DESKTOP MINI */
@media (max-width: 992px) {
    .box-header, .box-voucher {width: 90%;}
    .cover-box-form {padding: 0px;}
}



/* TABLET */
@media (max-width: 768px){
    .box-header, .box-voucher {width: 100%;}
    
    .header-global {
        padding: 15px 15px 10px 15px;
        border-bottom: 1px solid #d1d2d6;
    }

    .cover-box-form_item {width: auto;}
   
    
}



/* SMARTPHONE */
@media (max-width: 576px){
    .box-k-logo-header {padding-top: 0px;}
    .pieno {font-size: 98px;}
    .box-prezzo {height: 127px; justify-content: center;}
    .cover-global h1 {line-height: 27px;}
    
    .box-header ul {
        font-size: 16px;
        padding-left: 20px;
    }
    
    
}



/* card ------------------------------------------- */

.card-global {
    margin-top: 60px;
    margin-bottom: 80px;
}

.card-box {
    text-align: center;
    padding: 30px;
    background-color: #ddf1fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 220px;
    /* border: 3px solid #86d0f3 */
}


.bonus {
    font-size: 63px;
    font-weight: 800;
    color: #30348f;
    margin-bottom: -7px;
    margin-top: -13px;
}


.info-bonus {
    margin-bottom: 0px;
    font-size: 21px;
}

/* DESKTOP MINI */
@media (max-width: 992px) {
    .bonus {font-size: 58px;}
    .info-bonus {font-size: 18px;}
}


/* TABLET */
@media (max-width: 768px) {
    .card-box { padding: 25px; margin-bottom: 15px; height: 200px;}
    .card-p-xs {padding-right: 7px;}
    .card-p-ds {padding-left: 7px;}
    .card-global {margin-top: 30px;margin-bottom: 0px;}
}

/* SMARTPHONE */
@media (max-width: 576px) {
    .bonus {font-size: 52px;}
    .info-bonus {font-size: 16px;}
}




/* offerta-box ---------------------------------*/


.offerta-box {
    max-width: 1130px;
    width: 100%;
    margin-top: 30px;;
}

.offerta-box h2 {
    margin-bottom: 30px;
}

.prezzo-box {
    border: 3px solid #86d0f3;
    height: 530px;
    text-align: center;
}

.prezzo-box_evidenziato {
    background-color: #ddf1fd;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
}


.prezzo-box_evidenziato h3 {
    margin-bottom: 0px;
}

.prezzo-box_evidenziato img {
    width: 30px;
}


.prezzo-box_info {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left:50%;
    transform: translateX(-50%);
    width: 90%;
}


.check {
    text-align: center;
    margin-left: 8%;
    margin-right: 8%;
    margin-top: 20px;
    margin-bottom: 30px;;
}


.check p {
    padding-bottom: 10px;
    padding-top: 6px;
}


.check-didascalia {
    font-size: 12px;
    color: #939598;
}


.check img {
    width: 65%;
    margin-bottom: 15px;
}


.cta-offerta,
.cta-offerta:visited,
.cta-offerta:focus,
.cta-offerta:link {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 60px;
}

.cta-offerta:hover {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 60px;
}

.check-box-didascalia {
    margin-top: 30px;
}




/* TABLET */
@media (max-width: 768px) {
    
    .prezzo-box {
        height: auto;
        padding-bottom: 15px;
        margin-bottom: 30px;
    }
    
    
    .prezzo-box_info {
        position: initial;
        transform: translateX(0%);
        width: 100%;
    }   
    
    .check-box-didascalia {margin-top: 0px;}
    
}




/* accordion ------------------------------------*/


.accordion-global {
    margin-top: 50px;
    margin-bottom: 50px;
}

.btn-link {
    font-weight: 800;
    color: #30348f;
    font-size: 32px;
}

.btn-link:hover{
    text-decoration: none;
}

.btn.focus, .btn:focus {
    box-shadow: 0 0 0 0rem rgba(0,123,255,.25);
    text-decoration: none;
}

.card {
    background-color: #fff;
    border: 0px solid rgba(0,0,0,.125);
    border-radius: 0px;
}

.card-header {
    padding: .75rem 0px;
    background-color: #fff;
    border-bottom: 4px solid #86d0f3;
    padding: .75rem 0px;
}

.card-body, .card p, li {
    font-size: 15px;
}

.icon-luce {
    width: 40px;
    margin-top: -12px;
    margin-right: 5px;
}

.icon-gas {
    width: 35px;
    margin-top: -12px;
    margin-right: 5px;
}


/* TABLET */
@media (max-width: 768px) {
    .card-body, .card p, li {font-size: 14px;}
    .btn-link {font-size: 30px;}  
    .icon-gas {width: 25px;}   
    .icon-luce {width: 30px;}   
}


/* SMARTPHONE */
@media (max-width: 576px) {
    .btn-link {font-size: 18px;}  
    .accordion-global {margin-top: 0px;margin-bottom: 0px;}   
}





/* chi siamo ------------------------------------*/


.chi-box {
    padding: 30px;
    background-color: #ddf1fd;
    margin-top: 30px;
    margin-bottom: 20px;
}










/* ! footer ---------------------------------------*/

footer {
    padding: 10px 30px 30px 30px;
    text-align: center;
}



footer img {
    width: 100px;
}

/* SMARTPHONE */
@media (max-width: 576px) {  
    footer {padding: 15px; margin-bottom: 20px;}
}




/* ! modal ---------------------------------------*/


.cta-form {
    width: 100%;
    padding: 18px 50px;
}

.cta-form:hover {
    width: 100%;
    padding: 18px 50px;
}

.form-control {
    height: 60px;
    color: #000;
    border: 1px solid #ced4da;
    margin-bottom: 10px;
    margin-top: 20px;
}

.modal-content {
    padding: 10px;
}


.modal-header {
    border-bottom: 0px solid #dee2e6;
}

.form-control:focus {
    color: #000;
    border-color: #999;
    box-shadow: 0 0 0 0 rgba(0,123,255,0);
}





























/* hidden */

@media (max-width: 576px) {
    .hidden-xs {
        display: none !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .hidden-sm {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .hidden-md {
        display: none !important;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }
}

@media (min-width: 1201px) {
    .hidden-xl {
        display: none !important;
    }
}


/* visible */

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg,
.visible-lx {
    display: none !important;
}

@media (max-width: 576px) {
    .visible-xs {
        display: block !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .visible-sm {
        display: block !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .visible-md {
        display: block !important;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .visible-lg {
        display: block !important;
    }
}

@media (min-width: 1201px) {
    .visible-xl {
        display: block !important;
    }
}


/* clearfix */

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    zoom: 1;
}


/* IE6 */

*:first-child+html .clearfix {
    zoom: 1;
}


/* IE7 */


/* padding */

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Loader styles */
.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 180px;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}
