@font-face {
    font-family:'josephsophia';
    src: url("../font/josephsophia.eot");
    src: url("../font/josephsophia.eot?#iefix") format("eot"),
         url("../font/josephsophia.woff") format("opentype"),
         url("../font/josephsophia.ttf") format("truetype"),
         url("../font/josephsophia.svg") format("svg"),
         url("../font/josephsophia.otf") format("opentype");  
    font-style: normal;
}

@font-face {
    font-family:'montserrat-bold';
    src: url("../font/Montserrat-Bold.eot");
    src: url("../font/Montserrat-Bold.eot?#iefix") format("eot"),
         url("../font/Montserrat-Bold.woff") format("opentype"),
         url("../font/Montserrat-Bold.ttf") format("truetype"),
         url("../font/Montserrat-Bold.svg") format("svg"),
         url("../font/Montserrat-Bold.otf") format("opentype");  
    font-style: normal;
}


@font-face {
    font-family:'montserrat-regular';
    src: url("../font/Montserrat-Regular.eot");
    src: url("../font/Montserrat-Regular.eot?#iefix") format("eot"),
         url("../font/Montserrat-Regular.woff") format("opentype"),
         url("../font/Montserrat-Regular.ttf") format("truetype"),
         url("../font/Montserrat-Regular.svg") format("svg"),
         url("../font/Montserrat-Regular.otf") format("opentype");  
    font-style: normal;
}

@font-face {
    font-family:'UniversLT-bold';
    src: url("../font/UniversLT-67BdCn.eot");
    src: url("../font/UniversLT-67BdCn.eot?#iefix") format("eot"),
         url("../font/UniversLT-67BdCn.woff") format("opentype"),
         url("../font/UniversLT-67BdCn.ttf") format("truetype"),
         url("../font/UniversLT-67BdCnr.svg") format("svg"),
         url("../font/UniversLT-67BdCn.otf") format("opentype");  
    font-style: normal;
}

@font-face {
    font-family:'UniversLT';
    src: url("../font/UniversLT-55Rm.eot");
    src: url("../font/UniversLT-55Rm.eot?#iefix") format("eot"),
         url("../font/UniversLT-55Rm.woff") format("opentype"),
         url("../font/UniversLT-55Rm.ttf") format("truetype"),
         url("../font/UniversLT-55Rm.svg") format("svg"),
         url("../font/UniversLT-55Rm.otf") format("opentype");  
    font-style: normal;
}

@font-face {
    font-family:'UniversLT-condensed';
    src: url("../font/UniversLT-57Cn.eot");
    src: url("../font/UniversLT-57Cn.eot?#iefix") format("eot"),
         url("../font/UniversLT-57Cn.woff") format("opentype"),
         url("../font/UniversLT-57Cn.ttf") format("truetype"),
         url("../font/UniversLT-57Cn.svg") format("svg"),
         url("../font/UniversLT-57Cn.otf") format("opentype");  
    font-style: normal;
}

@font-face {
    font-family:'UniversLT-condensed-bold';
    src: url("../font/UniversLT-67BdCn.eot");
    src: url("../font/UniversLT-67BdCn.eot?#iefix") format("eot"),
         url("../font/UniversLT-67BdCn.woff") format("opentype"),
         url("../font/UniversLT-67BdCn.ttf") format("truetype"),
         url("../font/UniversLT-67BdCn.svg") format("svg"),
         url("../font/UniversLT-67BdCn.otf") format("opentype");  
    font-style: normal;
}

b{
    font-family:'montserrat-bold';
}


body, html, header{
    width:100%;
    background-color:#fff;
    font-family:'montserrat-regular';
}

img{
    width:100%;
}

section{
    width:100%;
    float:left;
}

header .preheader{
    padding-top:7px;
    padding-bottom:7px;
    height:auto;
    background-color:#04586f;
    text-align:right;
}

header .preheader .icon-social-container img{
    width:25px;
    margin-right:15px;
}

header .logo-container{
    padding-top:10px;
    padding-bottom:10px;
    height:auto;
}

header .logo{
    width:110px;
}

h1{
    color:#fff;
    font-family:'josephsophia';
    font-size:120px;
    line-height: 95px;
}

#main-section{
    width:100%;
    padding-top:70px;
    background-image: url(../img/main.jpg);
    background-size: cover;
    background-position:bottom center;
    height:800px;
}

.custom-title{
    margin-left:-40px;
}

.title{
    font-family:'UniversLT-bold';
    color:#04586f;
    font-size:40px;
    line-height:35pt;
    margin-bottom:30px;
}

#form-section .form-container{
    background-color:#04586f;
    padding:25px;
    margin-top:-80px;
    color:#fff;
    position: relative;
    z-index: 10;
}

.text{
    font-size:20px;
}

.second-text{
    font-size:18px;
}

.evidenziato{
    color:#fff;
    text-transform: uppercase;
    font-size:20px;
    margin-top:40px;
    margin-bottom:40px;
}

.color{
    background-color:#b22a2e;
    padding-left:5px;
    padding-right:5px;
}

.form-title{
    text-align:center;
    font-family:'UniversLT-bold';
    font-size:33px;
    line-height:27pt;
}

.subtitle{
    font-family:'UniversLT';
    font-size:22px;
    text-align:center;
    line-height:18pt;
    margin-bottom:30px;
}

.form-control{
    border-radius:0;
}

.privacy-check{
    margin-top:30px;
}

.privacy-check a{
    color:#fff;
    text-decoration: underline;
}


.btn-send{
    background-color:#b22a2e;
    border-radius:0;
    border:none;
    color:#fff;
    font-family:'UniversLT-bold';
    font-size:25px;
    width:100%;
    text-align:center;
    height:50px;
    margin-top:20px;
}


.textcontainer{
    margin-top:40px;
    
}

.box-bg{
    background-image:url(../img/nuvola-box.png);
    background-size:cover;
    height:550px;
    margin-top:-150px;
    margin-left:-60px;
    padding-left:100px;
    padding-right:70px;
    padding-top:50px;
}

.box-bg .title {
    font-size: 30px;
    line-height: 24pt;
}

#nuvola-box .evidenziato{
    text-transform: capitalize;
    font-family:'UniversLT-bold';
    font-size:35px;
}

#nuvola-box{
    position:relative;
}

.video-container iframe{
    height:200px;
}

.img-ball{
    position:absolute;
    top:-100px;
    right:150px;
}


#red-section{
    padding-top:50px;
    padding-bottom:50px;
    background-color:#b22a2e;
    margin-top:100px;
}

#red-section .title{
    color:#fff;
    font-size:39px;
}

.line{
    width:100%;
    height:3px;
    background-color:#fff;
    margin-top:25px;
}

.box-bianco{
    background-color:#fff;
    padding:20px;
    border-left:3px solid #04586f;
}

.box-bianco p{
    font-size:18px;
}

footer{
    background-color:#04586f;
    padding-top:80px;
    padding-bottom:80px;
    float:left;
    width:100%;
    position:relative;
}

footer p{
    color:#fff;
}

footer a{
    color:#fff;
    text-decoration: underline;
}

footer a:hover{
    color:#fff;
}

.footer-title{
    font-size:18px;
}

.logo-footer{
    width:110px;
    text-align: right;
    float:right;
}

.arrow-footer, .arrow-ty-footer {
    bottom:0;
    background-color:#333333;
    padding-left:20px;
    padding-right:20px;
    padding-top:15px;
    padding-bottom:15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position:absolute;
    bottom:0;
    right:30px;
    cursor:pointer;
    
}

.popover-content {
    padding: 9px 14px;
    color: #000;
}

.shop-check{
    margin-top:15px;
}



/* ----------  CUSTOM CHECK BOX --------- */


.privacy-check .check-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size:    15px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.privacy-check .check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.privacy-check .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: #fff;
}

/* On mouse-over, add a grey background color */
.privacy-check .check-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.privacy-check .check-container input:checked ~ .checkmark {
  background-color: #007ea4;
}

/* Create the checkmark/indicator (hidden when not checked) */
.privacy-check .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.privacy-check .check-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.privacy-check .check-container .checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ----------  FINE CUSTOM CHECK BOX --------- */




/* ----------  CUSTOM CHECK BOX SHOP --------- */


.shop-check .check-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size:14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.shop-check .check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.shop-check .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
}

/* On mouse-over, add a grey background color */
.shop-check .check-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.shop-check .check-container input:checked ~ .checkmark {
  background-color: #007ea4;
}

/* Create the checkmark/indicator (hidden when not checked) */
.shop-check .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.shop-check .check-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.shop-check .check-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ----------  FINE CUSTOM CHECK BOX --------- */

@media only screen and (max-width: 2000px) {
    
    #main-section {
    height: 730px;
}
    
}

@media only screen and (max-width: 1600px) {
    
    #main-section {
    height: 630px;
}
    
}

@media only screen and (max-width: 1199px) {
    
.video-container iframe {
    height: 148px;
}
    
.custom-title{
    margin-left:0px;
}
    
#main-section {
    height: 500px;
}
    
.img-ball {
    right: 85px;
}
    
.box-bg {
    height: 470px;
    margin-top: -150px;
    padding-left: 81px;
    padding-right: 40px;
    padding-top: 50px;
    margin-left:-40px;
}
    
.box-bg .title {
    font-size: 30px;
    line-height: 22pt;
}
    
#nuvola-box .evidenziato {
    margin-top:20px;
    font-size: 30px;
    margin-bottom:0;
}
    
}


@media only screen and (max-width: 992px) {
    
.video-container iframe {
    height: 200px;
}
    
.box-bg {
    margin-top: 40px;
    margin-left: 0;
    height: 570px;
    width: 600px;
    margin: 0 auto;
    padding-top:70px;
    padding-left: 100px;
}
    
    
.img-ball {
    position: relative;
    
}
    
.img-ball-container{
        width:500px;
        margin:0 auto;
    }
    
h1 {
    color: #fff;
    font-family: 'josephsophia';
    font-size: 85px;
    line-height: 70px;
}
    
#red-section {
    margin-top: 0px;
}
    
}

@media only screen and (max-width: 767px) {
    
    .video-container iframe {
    height:auto;
}
    
    #main-section {
    background-image: url(../img/main-responsive-text.png);
    height:450px;
    background-position:bottom -50px;
    position

}
    
    .box-bg {
    width: 100%;

}
    
    .img-ball-container {
    width: 100%;

}
    
    #nuvola-box .evidenziato {
    font-size: 18px;
}
    
    h1 {
    display:none;
}
    
    .title {
    font-size: 30px;
    line-height: 25pt;

}
    
    .text {
    font-size: 16px;
}
    
    #form-section .form-container {
    margin-top: 20px;
    color: #fff;

}
    
    second-text {
    font-size: 16px;
}
    
    
    .form-title {
    font-size: 25px;
    line-height: 22pt;
}
    
    .subtitle {
    font-size: 18px;
    line-height: 15pt;

}
    
.box-bg {
    background-image: url(../img/nuvola-box-mobile.png);
    height:460px;
    padding-left:65px;
    padding-right:25px;
    width:110%;
    margin-left:-30px;
    position: relative;
    z-index:10;
    

}
    
.img-ball {
    position: relative;
    top:inherit;
    right:inherit;
}
    
.img-ball-container {
    width: 100%;
    margin-top: -110px;
}
    
.box-bg .title {
    font-size: 20px;
    line-height: 16pt;
}
    
#red-section .title {
    color: #fff;
    font-size: 30px;
}
    
.box-bianco p {
    font-size: 16px;
}
    
header .preheader {
    text-align: center;
}

  .logo-footer {
    width: 90px;
    margin-top:30px;
}  
    
    
}

@media only screen and (max-width: 420px) {
    
        #main-section {
    height: 400px;
}
    
    header .logo {
    width: 90px;
    margin:0 auto;
}
    

    
}

@media only screen and (max-width: 350px) {
    #main-section {
    background-image: url(../img/main-responsive-text.png);
    height: 330px;
}
    
    .box-bg {
    padding-top:25px;
    height: 390px;

}
    
}




#main-ty-section{
    background-image:url(../img/main-ty.jpg);
    background-size:cover;
    background-position: top center;
    height:800px;
    
}


@media only screen and (max-width: 1600px) {
    
    #main-ty-section{
    background-image:url(../img/main-ty.jpg);
    background-size:cover;
    background-position: top center;
    height:700px;
    
}

    
}

#ty-text{
    padding-bottom:40px;
}

.ty-text-container{
    width:80%;
    margin:0 auto;
    text-align:center;
    margin-top:-90px;
}

.ty-text-container p{
    font-family:'UniversLT-condensed';
    color:#04586f;
    font-size:38px;
    line-height:35pt;
}

#gray-section{
    background-color:#f0f0f0;
    padding-top:60px;
    padding-bottom:60px;
}

.img-ok{
    width:65px;
    margin:0 auto;
    margin-bottom:30px;
}

#gray-section p{
    color:#333333;
    font-size:40px;
    line-height:35pt;
    font-family:'UniversLT-condensed-bold';
    text-align:center;
    width:80%;
    margin:0 auto;
}

#white-section{
    padding-top:70px;
    padding-bottom:70px;
        text-align:center;
}

.white-section-text{
    color:#ae1117;
    font-size:40px;
    line-height:35pt;
    width:80%;
    margin:0 auto;
    font-family:'UniversLT-condensed-bold';
}

#white-section .evidenziato {
    text-transform: capitalize;
    font-family: 'UniversLT-bold';
    font-size: 35px;
    margin-top:15px;
    margin-bottom:0;
}


@media only screen and (max-width: 1199px) {
    
    #main-ty-section {
    height: 500px;
}
    
    
.ty-text-container {
    margin-top: -50px;
}
    
}


@media only screen and (max-width: 992px) {
    
    #main-ty-section {
    height: 400px;
}
    
}


@media only screen and (max-width: 767px) {
    
    .ty-text-container {
    width: 100%;
    margin: 0 auto;
    
}
    
    .ty-text-container p {
    font-family: 'UniversLT-condensed';
    color: #04586f;
    font-size: 30px;
    line-height: 25pt;
}
    
    #gray-section p {
    color: #333333;
    font-size: 30px;
    line-height: 25pt;
    font-family: 'UniversLT-condensed-bold';
    text-align: center;
    width: 100%;
    margin: 0 auto;
}
    
    .white-section-text {
    color: #ae1117;
    font-size: 30px;
    line-height: 25pt;
    width: 100%;
    margin: 0 auto;
    font-family: 'UniversLT-condensed-bold';
}
    
    #white-section .evidenziato {
    font-size: 25px;


}
    
}


@media only screen and (max-width: 680px) {
    
    #main-ty-section {
    background-image: url(../img/main-ty-mobile.jpg);
    height: 600px;
    background-position: bottom center;
}
    
}


@media only screen and (max-width: 550px) {
    
    #main-ty-section {
    height: 500px;
  
}
    
@media only screen and (max-width: 450px) {
        
        #main-ty-section {
    height: 400px;
  
}
    
}

    
    @media only screen and (max-width: 360px) {
        
    #main-ty-section {
        height: 300px;
  
}
        
    }




