﻿@media screen and (max-width: 767px)
{
    #call-back .btn.invia-btn {
        margin-bottom: 80px;
    }
    #call-back
    {
        height: 100% !important;
    }
    h1
    {
        font-size:28px !important;
        font-weight:600;
        line-height:120% !important;
    }
    h2 {
        font-size: 18px !important;
        font-weight: 600;
        line-height: 135% !important;
    }
    .address-container
    {
        width:100% !important;
    }
    .first-step-title
    {
        margin-bottom:32px !important;
    }
    .first-step-subtitle
    {
        margin-bottom:24px !important;
    }
    #call-back .modal-header .close
    {
        margin-top:16px !important;
        margin-right:16px !important;
    }
    #call-back .modal-body {
        padding-left: 4.17% !important;
        padding-right: 4.17% !important;
        padding-bottom: 4.16% !important;
        padding-top: 4.17% !important;
    }
    .col-md-6.text-right.notes.my-5 {
        padding-right: 16px !important;
        top: -27px;
    }
    .address-container-general .first-row-step .col-sm-12 {
        padding: 0 !important;
    }
    .address-container-general .first-row-step {
        margin-right: 0;
        margin-left: 0;
    }
    .address-container-general {
        padding: 0 16px;
    }
    .rooftype-form,
    .roofinclinarion-form,
    .consumption-form {
        padding-left: 16px;
        padding-right: 16px;
    }
    #call-back h2 {
        font-size: 28px !important;
    }
    #call-back .group-input.col {
        margin-bottom: 28px;
    }
}
@media screen and (min-width:993px) and (max-width: 1024px)
{
    #call-back h2 {
        font-size: 40px !important;
    }

    .row.checkboxa2amodal .col-md-6 {
        margin: 0 !important;
        padding: 0 !important;
        width: 49%;
        display: inline-block;
    }
    #call-back .modal-header {
        min-height: 0 !important;
    }

        #call-back .modal-header .close {
            margin-right: 40px !important;
        }

    .col-md-6.text-right.notes.my-5 {
        padding-right: 40px !important;
    }

    h1 {
        font-size: 32px !important;
        font-weight: 600;
        line-height: 120% !important;
    }

    h2 {
        font-size: 20px !important;
        font-weight: 600;
        line-height: 135% !important;
    }

    div.row.first-row-step .address-container {
        width: 65% !important;
    }

    .first-step-title {
        margin-bottom: 40px !important;
    }

    .first-step-subtitle {
        margin-bottom: 40px !important;
    }
    button.riparti-btn {
        font-size: 16px;
    }
    #call-back h2 {
        font-size: 32px !important;
    }

}
@media screen and (min-width:768px) and (max-width: 992px)
{
    #call-back .modal-body {
        position: relative !important;
        padding-left: 20px !important;
        padding-top: 45px !important;
        padding-right: 20px;
        padding-bottom: 20px;
    }
    .btn.continua-btn {
        font-size: 16px !important;
    }
    .inner-accordion-card-surface > .row > .col-sm-8
    {
        width:100% !important;
    }
    #call-back .modal-header {
        min-height: 0 !important;
    }
    #call-back .modal-header .close
    {
        margin-right: 40px !important;
    }
    .col-md-6.text-right.notes.my-5
    {
        padding-right:40px !important;
    }
    h1 {
        font-size: 32px !important;
        font-weight: 600;
        line-height: 120% !important;
    }

    h2 {
        font-size: 20px !important;
        font-weight: 600;
        line-height: 135% !important;
    }

    div.row.first-row-step .address-container {
        width: 65% !important;
    }
    .first-step-title
    {
        margin-bottom:40px !important;
    }
    .first-step-subtitle {
        margin-bottom: 40px !important;
    }
    #Card-Surface .col-sm-4 {
        width: 334px !important;
        margin-left: 0px;
        padding: 0;
    }
    .surface-form-content .surface-inner-row .col-mg-2.col-sm-2.col-xs-2 {
        width: 32px;
        margin-left: 40px;
        padding-left: 0px;
    }
    .address-container {
        border: 1px solid #cccccc;
        height: 48px;
        padding: 0;
        border-radius: 60px;
        max-width: 286px;
        font-size: 18px;
        position: relative;
        overflow: hidden;
        width: 286px !important;
    }
    .surface-form-content .surface-inner-row .col-mg-2.col-sm-2.col-xs-2 {
        width: 32px;
        margin-left: 40px;
        padding-left: 0px;
    }
    .surface-form-content .surface-inner-row .col-mg-10.col-sm-10.col-xs-10 {
        padding: 0 !important;
        margin-left: 16px;
    }
    .card-surface .card-map {
        width: 334px !important;
        margin-left: 40px;
        padding: 0;
    }
    .group-input.col.col-sm-12.col-md-6 {
        width: 49%;
        display: inline-block;
    }
/*    .group-input.col.col-sm-12.col-md-6 input {
        width: auto !important;
    }*/
        .group-input.col.col-sm-12.col-md-6 .highlight {
            width: auto;
            display: block;
        }
        .group-input.col.col-sm-12.col-md-6 .bar {
            width: auto;
            display: block;
        }
        .group-input.col.col-sm-12.col-md-6 label {
            width: auto;
            display: block;
        }
    #Card-Dimension-Surface .col-sm-4 {
        padding-left: 0;
    }
    button.riparti-btn {
        font-size: 16px;
    }
    #call-back h2 {
        font-size: 32px !important;
    }
}
.checkboxa2amodal input
{
    z-index: 999999999;
    position: relative;
}

@media screen and (max-width: 376px) {
    #call-back .modal-header .close {
        margin-top: 0px !important;
        margin-right: 0px !important;
    }

    .col-md-6.text-right.notes.my-5 {
        font-size: 12px;
    }
}
