html, body {
    overflow-x: hidden;
    background-color: #f9f8fb;
}


p {
    font-size: 20px;
}

a,a:hover,a:focus,a:active {
    color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-weight: normal;
}

.img-centered {
    margin: 0 auto;
}

#diamond {
    background-color: #c3effe;
}

#tigota {
    background-image: url(../img/sfondo.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 30px 0;
}

#convalida {
    white-space: pre-line;
}

#azzurro {
    background-color: #c3effe;
}

.header {
    height: 109px;
    padding: 0 15px;
    background: url(../img/header.jpg) repeat-x;
}

.main-wrapper {
    background-color: #c2efff;
    border-radius: 5px;
    margin: 80px auto;
    color: #001c66;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.header .logo {
    background: url(../img/logofinish.png);
    display: block;
    width: 174px;
    height: 109px;
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.header .title h1 {
    color: #fff;
    font-size: 33px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 35px;
    font-weight: bold;
    font-family: 'karlabold';
}

.header .sharing-icons a {
    margin-top: 30px;
    display: inline-block;
}

.header .sharing-icons img {
    padding-left: 10px;
    padding-right: 10px;
}

.header .hidden-xs.col-sm-2 img {
    display: block;
    max-width: 110px;
    margin: 0 auto;
}

.text {
    font-size: 16px;
    color: #144077;
    font-family: 'gotham_boldregular';
    text-align: left;
    margin-top: 10px;
}

.btn {
    background: linear-gradient(to bottom,#004291 0,#002560 100%);
    margin: 0 auto 0;
    display: block;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
}

.btn:hover {
    background: linear-gradient(to top,#004291 0,#002560 100%);
}

#button-form {
    padding: 15px;
    width: 100%;
}

#footer-rb {
    background-color: #f9f8fb;
    padding: 20px 0;
    position: relative;
}

.note-rb {
    color: #7f7f7f;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    padding-top: 17px;
}
.note-rb a {
    color: #404040;
    font-weight: bold;
    text-decoration: none;
}
.scopri-rb {
    color: #404040;
    font-size: 10px;
    font-weight: bold;
}

.bkg-social {
    background-image: url(../img/bg-discover.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

.reg-contatti {
    display: block;
    height: auto;
    margin: 0;
    padding: 10px;
    position: relative;
}
.reg-contatti li {
    color: #000000;
    display: inline;
    font-family: Arial,sans-serif;
    font-size: 12px;
    list-style-type: none;
    margin-right: 0;
}
.reg-contatti li a {
    color: #000000;
}

#home {
    padding: 50px 0 50px;
    background-color: #ffffff;
}

#form {
    padding: 10px 0 0;
    background-color: #ffffff;
}

#result {
    padding: 30px 0 0;
    background-color: #ffffff;
}

.punteggiatura {
    display: inline-block;
    font-size: 25px;
    margin-top: 30px;
    float: left;
    width: 0;
}

.punteggiatura#duepunti {
    margin-top: 30px;
}

.title-form {
    text-transform: uppercase;
    margin-top: 35px;
    font-weight: 700;
    font-family: 'karlabold';
    color: #001c66;
    font-size: 26px;
    text-align: left;
}

label {
    color: #001c66;
    font-family: 'karlaregular';
    font-size: 16px;
    display: initial;
    font-weight: normal;
}

label a {
    color: #001c66;
    text-decoration: underline;
}

label a:hover {
    color: #001c66;
    text-decoration: none;
}

.tipo_acquisto {
    display: inline-block;
}

.text-result {
    font-family: 'gotham_boldregular';
    color: #001c66;
    font-size: 50px;
}

#min-text-result {
    font-size: 30px;
    margin-top: 0;
}

.regolamento {
    font-family: 'gotham_boldregular';
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 0;
    display: inline-block;
}

.header .sharing-icons a.regolamento {
    margin-top: 0;
}

#errore {
    margin-top: 50px;
    margin-bottom: 50px;
}

.lavastoviglie {
    background-image: url(../img/lavastoviglie.png);
    background-repeat: no-repeat;
    background-position: left;
}

@media(max-width:767px) {

    #sfondo {
        background-image: none;
    }

    #home {
        padding: 0;
    }

    .punteggiatura {
        display: none;
    }

    .header .logo {
        background-image: none;
        width: 100%;
        height: 100%;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .header .title h1 {
        font-size: 25px;
    }

    .header {
        height: 100%;
        padding: 0;
        background-size: contain;
    }

    .text {
        text-align: center;
    }

    .btn {
        margin: 20px auto;
        font-size: 17px;
        padding: 18px;
    }

    .header .sharing-icons img {
        padding-left: 0;
        padding-right: 0;
        max-width: 75%;
    }

    .visibility {
        display: none;
    }

    #form {
        padding: 0;
    }

    .tipo_acquisto {
        display: block;
    }

    label {
        font-size: 14px;
    }

    .text-result {
        font-size: 25px;
    }

    #min-text-result {
        font-size: 19px;
    }

    #result {
        padding: 0;
    }

    #btnstart_result {
        background-image: none;
    }

    .commercial {
        font-size: 14px;
        text-align: left;
        margin-top: 10px;
    }

    #lineazzurra_mobile {
        margin: 20px 0 20px;
        width: 100%;
        height: 1px;
    }

    #arrow {
        background-image: url(../img/arrow-btn.png);
        background-repeat: no-repeat;
        background-position: center right;
    }

    .regolamento {
        font-size: 14px;
        text-align: right;
        display: block;
        margin-top: 0;
    }

    .block-visibility {
        display: none;
    }

    .text {
        text-align: center;
    }

    #img-max-width {
        max-width: 80%;
    }

    .lavastoviglie {
        background-image: none;
    }

    #convalida {
        font-size: 14px;
        white-space: normal;
    }
}

@media(min-width:768px) {

    .visibility {
        visibility: hidden;
    }

    .commercial {
        font-size: 16px;
    }

    .header .title h1 {
        font-size: 25px;
        text-align: right;
    }

    .regolamento {
        font-size: 16px;
    }

    .block-visibility {
        display: none;
    }

    .text {
        text-align: center;
    }

    .lavastoviglie {
        background-image: none;
    }

    #img-max-width {
        max-width: 50%;
    }

    #finish {
        margin-top: 25%;
    }
}

@media(min-width:992px) {

    .commercial {
        font-size: 17px;
    }

    #finish {
        margin-top: 0;
    }

    .lavastoviglie {
        background-image: none;
    }

    .text {
        text-align: left;
    }

    .header .title h1 {
        font-size: 33px;
        text-align: center;
    }

    .regolamento {
        font-size: 18px;
    }

    .block-visibility {
        display: inline-block;
        visibility: hidden;
    }

    .lavastoviglie {
        background-size: 56%;
        background-image: url(../img/lavastoviglie.png);
    }

    .text {
        font-size: 14px;
    }
}

@media(min-width:1200px) {

    .lavastoviglie {
        background-size: contain;
    }

    .text {
        font-size: 16px;
    }

}

.navbar-default, .navbar-inverse {
    border: 0;
    position: absolute;
    background-image: url(../img/header.jpg);
    background-repeat: repeat-x;
    padding: 0;
    background-color: transparent;
}

.navbar {
    text-transform: uppercase;
    font-weight: 700;
}

.navbar a:focus {
    outline: 0;
}

.navbar .navbar-nav {
    letter-spacing: 1px;
}

.navbar .navbar-nav li a:focus {
    outline: 0;
}

section {
    padding: 100px 0;
}

footer {
    color: #fff;
}

footer .footer-below {
    padding: 25px 0;
    background-color: #233140;
}

.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}

.scroll-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 28px;
}

.scroll-top .btn:focus {
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #000000;
    display: block;
    opacity: 0.7;
    width: 100%;
    height: 100%;
}

.modal {
    overflow: overlay;
}

.modal-backdrop2 {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #000000;
    display: block;
    opacity: 0.7;
    width: 100%;
    height: 100%;
}

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    font-size: 3em;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content .item-details {
    margin: 30px 0;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #2c3e50;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #2c3e50;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}

input[type="radio"].radiodd {
    display: none;
}

input[type="checkbox"].checkboxdd {
    display: none;
}

label.radiod:before {
    content: "";
    width: 16px;
    height: 16px;
    background: url(../img/radio_off.png);
    position: absolute;
    margin-left: -20px;
    margin-top: 3px;
}

input[type=radio]:checked + label.radiod:before {
    content: url(../img/radio_on.png);
}

label.checkboxd:before {
    content: "";
    width: 16px;
    height: 16px;
    background: url(../img/check_off.png);
    position: absolute;
    margin-left: -25px;
    margin-top: 3px;
}

input[type=checkbox]:checked + label.checkboxd:before {
    content: url(../img/check_on.png);
}

.errore {
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #d60830;
    background-color: #ff9fa9;
    padding: 10px 0;
    border-radius: 5px;
    border: 1px solid #d60830;
    margin-top: 50px;
}

.ie8 input[type="radio"].radioyy {
    display: inline-block;
}

.ie8 input[type="checkbox"].checkboxdd {
    display: inline-block;
}

.ie8 label.radioy:before {
    display: none;
}

.ie8 label.checkboxd:before {
    display: none;
}

.ie7 input[type="radio"].radioyy {
    display: inline-block;
}

.ie7 input[type="checkbox"].checkboxdd {
    display: inline-block;
}

.ie7 label.radioy:before {
    display: none;
}

.ie7 label.checkboxd:before {
    display: none;
}