#viewport2 {
    width: 100vw;
    height: 300px;
    background-color: #233645;
    position: relative;
    background-attachment: fixed;
}
#viewport2 h1 {
    color: white;
    text-transform: uppercase;
    text-align: center;
    font-size: 60px;
    font-weight: 700;
    margin-top: 30px;
}
#fascia-sotto {
    width: 100%;
    color: #233645;
    overflow: hidden;
    background-color: #ebf5f6;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
}
#fascia-sotto-center {
    width: 1340px;
    margin: auto;
    overflow: hidden;
}
#testosx {
    width: 68%;
    height: auto;
    float: left;
    padding-left: 40px;
}
#testoiscriviti {
    width: 58%;
    height: auto;
    float: left;
    padding-left: 40px;
}
#testosx h2, #testoiscriviti h2 {
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
#testosx h3, #testoiscriviti h3 {
    font-size: 32px;
    font-weight: 600;
}
#testosx h4 {
    font-size: 16px;
    
    padding: 20px 0;
}
#testosx ul{
    list-style-type: disc;

}
#testosx ul li{
    padding:3px 0;
    
}
#testosx p, #testoiscriviti p {
    font-size: 16px;
    font-weight: 400;
    padding: 10px 0;
}
#testosx strong, #testoiscriviti strong {
    font-weight: 700;
}
h2{
    padding-bottom:20px;
}
#testosx #placement, #testoiscriviti #placement {
    list-style-type: none;
    padding-left: 20px;
}
#testosx #placement li, #testoiscriviti #placement li {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
#testosx #placement li::before, #testoiscriviti #placement li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #4a9ad3;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    margin-top: -4px;
    left: 0;
}
#testosx #placement li span, #testoiscriviti #placement li span {
    display: block;
    color: #4a9ad3;
    font-weight: 700;
}
#img-holder {
    width: 30%;
    float: right;
    padding: 20px;
}
#img-holder img {
    display: block;
    width: 100%;
    height: auto;
}
#iscrizioni {
    width: 40%;
    float: right;
    background-color: white;
}
#iscrizioni h3 {
    font-weight: bold;
    font-size: 18px;
    background-color: #233645;
    color: white;
    padding: 10px 20px;
    margin-bottom: 10px;
}
#iscrizioni p {
    padding: 0 20px 5px;
}
#iscrizioni p strong {
    font-weight: 700;
}
#iscrizioni p a:link, #iscrizioni p a:visited {
    color: #cf1178;
}
#iscrizioni p a:hover {
    text-decoration: underline;
}
#bottom-bar {
    background-color: #000;
    text-align: center;
    padding: 10px;
}
#bottom-bar p {
    color: white;
}
.form-iscrizioni {
    width: 100%;
    position: relative;
    padding: 20px;
}
.campo {
    position: relative;
    width: 49%;
}
.campo.left {
    float: left;
    margin-right: 0.5%;
}
.campo.right {
    float: right;
    margin-left: 0.5%;
}
.campo.full {
    float: none !important;
    clear: both;
    width: 100%;
}
.campo input{
    border-bottom: 2px solid #4a9ad3;
    border-radius: 0!important;
}
.campo input[type=text], .campo input[type=mail], .campo textarea {
    display: block;
    padding: 10px;
    position: relative;
    z-index: 0;
    width: 100%;
    margin-bottom: 15px;
}
.form-iscrizioni label input[type="checkbox"] {
    display: inline-block!important;
    cursor: pointer;
}
.form label {
    display: inline-block;
    font-size: 16px;
}
.form label a {
    color: #cf1178;
}
.form label a:hover {
    text-decoration: underline;
}
 textarea{
    border-radius: 0;
    border-bottom: 2px solid #4a9ad3;
}
button {
    width: 150px;
    margin-top: 15px;
    padding: 10px;
    transition: all .3s linear;
    background-color:#cf1178;
    color:white;
}
button:hover{
    background-color: #4a9ad3;
}
/*inizio query*/

@media only screen and (max-width:1340px) {
  #fascia-sotto-center {
      width: 1170px;
      margin: auto;
  }
}
@media only screen and (max-width:1170px) {
    #fascia-sotto-center {
        width:990px;
    }
}
@media only screen and (max-width:990px) {
    #viewport2 {
        height: 230px;
    }
    #viewport2 h1 {
        font-size: 48px;
        margin-top: 40px;
    }
    #fascia-sotto {
        padding: 20px 0;
    }
    #fascia-sotto-center {
        width:768px;
    }
    #testosx {
        width: 100%;
        margin: auto;
        padding: 20px;
    }
    #testoiscriviti {
        width: 100%;
        margin: auto;
        padding: 20px;
        float: none;
    }
    #img-holder {
        width: 80%;
        float: none;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    #iscrizioni {
        width: 100%;
        float: none;
    }
}

@media only screen and (max-width:768px) {
    #fascia-sotto-center{
        width:480px;
    }
    #img-holder {
        width: 100%;
    }
}

@media only screen and (max-width:480px) {
    #viewport2 {
        height: 165px;
    }
    #viewport2 h1 {
        font-size: 28px;
        margin-top: 20px;
    }
    #fascia-sotto {
        padding: 0 0 10px;
    }
    #fascia-sotto-center{
        width:100%;
    }
    .campo.left, .campo.right {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}
