
::-webkit-scrollbar {
    display: none;
}

input:focus{
    outline: none;
}

body{
    font-family: "OpenSans", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

header{
    background:url('../img/Header.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    height: 346px;
    width: 100%;
}

#logo{
    padding:30px;
    text-align: center;
    display: block;
}

header .title{
    max-width: 90%;
    width: 300px;
    margin: auto;
    margin-top: 53px;
    text-align: center;
}

header h1{
    font-size: 22px;
    letter-spacing: 0;
    text-align: center;
    line-height: 32px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 5px;
    display: inline-block;
    padding: 9px 18px;
    background-color: rgba(0, 0, 0, 0.5);
}
header h2{
    font-size: 18px;
    letter-spacing: 0;
    text-align: center;
    line-height: 28px;
    font-weight: normal;
    display: inline-block;
    padding: 9px 18px;
    background-color: rgba(0, 0, 0, 0.5);
}

#main{
    padding-top:20px;
    padding-bottom:0px;
}
.text{
    text-align: center;
    font-weight: 200;
}
.fw-sb{
    font-weight: 600;
}
.separator{
    height: 2px;
    width: 150px;
    margin:60px auto 15px;
}

.separator.grey{
}

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

@media (max-width: 992px) {
    .boxes-container-wrapper {
        max-width: 100%;
    }
}

.box{
    height: 352px;
    margin: 25px auto;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.26);
    -webkit-border-radius: 18px;
    -mox-border-radius: 18px;
    -ms-border-radius: 18px;
    border-radius: 18px;
    max-width: 285px;
    text-align: center;
    letter-spacing: 0;
    position: relative;
    cursor:pointer;
    display: block;
}

.box .box-image{
    -webkit-border-top-left-radius: 18px;
    -webkit-border-top-right-radius: 18px;
    -moz-border-top-left-radius: 18px;
    -moz-border-top-right-radius: 18px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    height: 173px;
}

#image-1{
    background:url('../img/immagine_1.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}
#image-2{
    background:url('../img/immagine_2.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}
#image-3{
    background:url('../img/immagine_3.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.box .box-content{
    position: absolute;
    top:173px;
    bottom: 0;
    right: 0;
    left: 0;
    padding:15px;
}
.box-number{
    font-weight: 200;
    font-size: 24px;
    padding: 5px 0 ;
}

.box-title{
    font-weight: 800;
    font-size: 14px;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.box-scroller-content {
    overflow-y: auto;
    position: absolute;
    bottom: 25px;
    top: 124px;
    left: 10%;
    right: 10%;
}

.box-text{
    font-size: 12px;
    text-align: center;
    line-height: 18px;
    position: absolute;
    top: 105px;
    left: 30px;
    right: 30px;
}

.overlay{
    z-index: 9999;
    position:fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-color: transparent;
    display: none;
}
.overlay:target{
    display:block;
}

body.popup--opened {
    position: fixed;
    right: 0;
    left: 0;
}

.popup{
    box-shadow: 0 3px 21px 0 rgba(0,0,0,0.40);
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    border-radius: 32px;
    text-align: center;
    position: absolute;
    left: 25px;
    right: 25px;
    top: 15%;
    bottom: 15%;
    padding: 25px 10%;
    overflow: hidden;
    -ms-overflow-style: none;
}
.popup .close-popup{
    background:url('../img/Close_modale.svg') no-repeat;
    background-size: 15px auto;
    background-position: center;
    width: 20px;
    height:20px;
    position: absolute;
    top: 5%;
    right: 8%;
    cursor:pointer;
    display: block;
}
.popup .text{
    padding: 15px 0;
    font-size: 12px;
}

footer{
    padding:15px;
    font-size: 10px;
    overflow: hidden;
}
footer a{
    text-decoration: underline!important;
}
.social-icon{
    width: 25px;
    height:25px;
    display:inline-block;
    margin:20px 10px 5px 0px;
}
#twitter-icon{
    background:url('../img/Twitter.svg') no-repeat;
    background-size: 100% auto;
    background-position: center;
}
#facebook-icon{
    background:url('../img/Facebook.svg') no-repeat;
    background-size: 100% auto;
    background-position: center;
}
#linkedin-icon{
    background:url('../img/Linkedin.svg') no-repeat;
    background-size: 100% auto;
    background-position: center;
}

button:disabled,
input:disabled{
    opacity:0.5;
}

/* FORM */
.form-wrapper {
    padding:1px 0 0px;
    margin: 25px -15px 0px;
}

.form-wrapper .separator{
    margin:46px auto 15px;
}

.form-wrapper form{
    margin:50px auto 0px;
    padding-bottom: 30px;
}

.form-wrapper .form-group {
}

.form-wrapper .form-group label {
    font-weight: 600;
}

.form-wrapper .form-group .form-control {
    font-weight: 200;
    border-radius: 0;
}

.form-wrapper form.was-validated .form-control:invalid {
    border: 1px solid #dc3545;
}

.form-wrapper .form-group .form-control:focus {
    box-shadow: none;
}

.form-wrapper form .section-title {
    font-size: 16px;
    margin: 50px 0 25px;
}

.form-wrapper .form-check {
    margin: 10px 0;
    padding: 0;
}

.form-wrapper .form-check input[type="checkbox"] {
    display:none;
}

.form-wrapper .form-check label {
    position:relative;
    padding-left: 30px;
    cursor: pointer;
    height: 22px;
    line-height: 22px;
    margin: 0;
    font-size: 14px;
}

.form-wrapper .form-check span:before {
    content: "";
    height: 22px;
    width: 22px;
    position: absolute;
    top: 0;
    left: 0;
}
.form-wrapper .form-check span:after {
    content: "";
    display: none;
    height: 8px;
    width: 14px;
    transform: rotate(-45deg);
    position:absolute;
    top: 5px;
    left: 4px;
}
.form-wrapper .form-check input[type=checkbox]:checked ~ span:before {
}
.form-wrapper .form-check input[type=checkbox]:checked ~ span:after {
    display:block;
}

.btn-primary {
    border:none;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary.disabled, .btn-primary:disabled,
.btn-primary:hover {
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:focus {
    box-shadow: none;
}

.form-wrapper form .btn-primary {
    margin:25px 0 25px;
}

.g-recaptcha {
    margin: 0;
    transform: scale(0.75);
}

.form-wrapper form #submit-resp {
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    display: none;
    text-align: center;
    line-height: 20px;
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 768px) {
    header{
        height:548px;
    }
    #logo{
        padding:15px 30px;
        text-align: left;
    }
    header .title{
        margin-top: 229px;
        width:auto;
    }
    header h1{
        font-size: 38px;
        margin-bottom: 10px;
        line-height: 48px;
    }
    header h2{
        font-size: 26px;
        line-height: 36px;
    }
    #intro{
        width:620px;
        margin:25px auto;
    }
    .section-title{
        font-size: 20px;
        line-height: 26px;
    }
    .box{
        height: 375px;
        max-width: 300px;
    }
    .box .box-image{
        height: 184px;
    }
    .box .box-content{
        top:184px;
    }
    .box-number{
        font-size: 26px;
    }
    .box-title{
        font-size: 16px;
    }
    .box-text{
        font-size: 14px;
        line-height: 21px;
        top: 110px;
    }
    .box-scroller-content {
        top: 110px;
    }
    .popup{
    width: 614px;
    height: 420px;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    margin-left: -307px;
    margin-top: -210px;
        padding: 25px;
    }
    .popup .text{
        font-size: 14px;
    }
    .popup .popup-image{
        margin: 10px auto;
        width: 90%;
        height: 330px;
    }

    .popup .close-popup{
        background-size: 20px auto;
        top: 10%;
        right: 40px;
    }
    .social-icon{
        float: right;
        margin:0 5px;
    }

    .carousel{
        padding: 0 10%;
        margin: 40px 0 80px;
        height: 180px;
    }
    .carousel-item .text{
        background-position: left top, right bottom;
        background-size: 35px auto;
        padding: 15px 80px;
    }
    .form-wrapper .section-title {
        text-align: center;
        margin:25px 0;
    }
 }

