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

html {scroll-behavior: smooth;}


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


/* ! my class */

h1 {font-size: 16px; font-weight: 700;}
h2 {font-size: 26px; font-weight: 700;}
h3 {font-size: 18px; font-weight: 600;}
p {font-size: 16px;}

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

@media (max-width: 768px) {
  h1 {font-size: 38px;}
  h2 {font-size: 24px;}
  h3 {font-size: 18px;}
  p {font-size: 15px;}
}

@media (max-width: 576px) {
  h1 {font-size: 32px;}
  h2 {font-size: 22px;}
  h3 {font-size: 18px;}
}




.p-h2 {font-size: 36px; font-weight: 600;}
@media (max-width: 768px) {.p-h2 {font-size: 32px;}}
@media (max-width: 576px) {.p-h2 {font-size: 28px;}}


.p-h3 {font-size: 32px; font-weight: 600;}
@media (max-width: 768px) {.p-h3 {font-size: 28px;}}
@media (max-width: 576px) {.p-h3 {font-size: 24px;}}


.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;}
}


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

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

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




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


.cta, .cta:visited, .cta:link, .cta:focus {
  background-color: #ffbc00;
  border-radius: 5px;
  color: #000;
  padding: 18px 60px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  border: 0px;
  transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
}

.cta:hover {
  color: #000;
  background-color: #ffbc00;
  filter: brightness(1.3);
}


.cta-icon, .cta-icon:visited, .cta-icon:link, .cta-icon:focus {
  display: inline-block;
  padding: 18px 76px 18px 25px;
  border: 1px solid #003ab3;
  text-decoration: none;
  color: #003ab3;
  background-color: #fff;
  position: relative;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 14px;
  border-radius: 5px;
}

.cta-icon:hover {
  color: #fff;
  border: 1px solid #003ab3;
  background-color: #003ab3;
  text-decoration: none;
  /* transform: translate(5px) */
}


.cta-icon:after {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: url(../img/cta-freccia-blu.svg) no-repeat center center;
  position: absolute;
  right: 19px;
  top: 19px;
  transition: all 0.2s ease-in-out;
}


.cta-icon:hover::after {
  background: url(../img/cta-freccia-bianca.svg) no-repeat center center;
}



.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 {
  margin-top: 15px;
  margin-bottom: 15px;
}

header p {
  margin-bottom: 0px;
  padding-left: 35px;
}

.header-logo-tiscali {
  width: 280px;
}

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

.t-header {
  font-size: 21px;
}


/* DESKTOP MINI */
@media (max-width: 992px){
  .header-logo-tiscali {width: 235px;}
}


/* SMARTPHONE */
@media (max-width: 576px){
  .header-icon-div {margin-right: 7px;}
  .header-logo-tiscali {width: 220px;}

  header {
    margin-top: 10px;
    margin-bottom: 10px;
  }

}



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


.header-global {
  width: 100%;
  padding: 40px 30px 40px 30px;
  background-image: url("../img/slide-desktop.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}


/* SMARTPHONE */
@media (max-width: 576px){
  .header-global {
    padding: 30px 10px 0px 10px;
  }


}




/* ! fibra ---------------------------------*/


.header-global h2 {
  margin-bottom: 0px;
}

.header-global hr {
  border-bottom: 1px solid #787a7d;
  border-top: 0px;
}


.icon-fibra {
  width: 30px;
  vertical-align: bottom;
  margin-right: 5px;
}

.h-icon-prezzo {
  width: 80%;
  margin-top: 0px;
}


.h-box-title {
  text-align: center;
  border: 2px solid #fff;
  background-color: #fff;
  padding: 20px;
}

.h-box-title p {
  color: #000;
  font-weight: 600;
  margin-bottom: 0px;
}

.h-box-body {
  border: 2px solid #fff;
  padding: 30px 20px 40px 20px;
  text-align: center;
}

/* .h-box-body p {
font-weight: 600;
} */

.h-box-prezzo {
  width: 100%;
  margin-top: 25px;
  margin-bottom: 25px;
}

.h-prezzo-durata {
  color: #fff;
  margin-top: -28px;
}

.t-prezzo {
  font-size: 95px;
  color: #fff;
  font-weight: 800;
}

.cent {
  font-size: 65px;
  color: #fff;
  font-weight: 800;
}

.offerta-didascalia {
  font-size: 12px;
  color: #fff;
  margin-top: 30px;
  margin-bottom: 0px;
}











/* DESKTOP MINI */
@media (max-width: 992px){
  .h-box-body {margin-bottom: 30px;}
}


/* SMARTPHONE */
@media (max-width: 576px){
  .h-box-prezzo {margin-top: 0px; margin-bottom: 20px;}
  .box-bottom-margin {margin-top: 30px;}
  .h-box-title {padding: 15px;}
  .h-box-body {padding: 30px 20px 30px 20px;}


  .cta, .cta:visited, .cta:link, .cta:focus {
    padding: 18px 0px;
    width: 100%;
  }



}



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

footer {
  border-top: 1px solid #b3b4b7;
  padding: 30px;
  text-align: center;
}

footer p {
  font-size: 12px;
}

footer img {
  width: 180px;
  margin-top: 5px;
  margin-bottom: 15px;
}


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

h5 {
  font-weight: 700;
  color: #5e55a4;
}


.cta-form {
  width: 100%
}

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

.modal-content {
  padding: 10px;
}

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










/* 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;
}
