/* Global
----------------------------------------------------------------------------- */
html{
    height: 100%;
    }

body{
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
    line-height: 1.5;
    background: #FFF;
    color: #768692;
    }

.clear{
    clear: both;
    }

b,
strong{
    font-weight: 700;
    }

.site-title{
    background-image: url("/public/img/ima_italia_header.png");
    background-repeat: no-repeat;
    /*text-indent: -9999px;*/
    display: block;
    width: 50vw;
    max-width: 280px;
    height: 90px;
    background-size: 100% auto;
    background-position: center;
    margin: 30px auto 0 auto;
    }

#wrapper{
    width: 100%;
    max-width: 720px;
    box-sizing: border-box;
    padding: 0 40px;
    margin: auto;
    }

.box{
    background: #eceeef;
    color: #415563;
    position: relative;
    padding: 24px;
    box-sizing: border-box;
    margin-bottom: 10px;
    width: 100%;
    }

footer{
    padding: 70px 0 40px;
    text-align: center;
    font-family: "Arial", sans-serif;
    box-sizing: border-box;
    font-size: 12px;
    color: #415563;
    }

    footer a{
        color: #415563;
        }
/* Buttons
----------------------------------------------------------------------------- */
.btn{
    display: block;
    cursor: pointer;
    height: 60px;
    line-height: 60px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 20px;
    background: #222;
    line-height: 56px;
    text-align: center;
    width: auto;
    }

    .btn i{
        font-size: 133.33%;
        margin-left: 10px;
        }

.btn.btn-primary{
    background: #f0b323;
    color: #FFF;
    }

    .btn.btn-primary:focus{
        background: #e8a422;
        }

.btn#procedi_al_pagamento{
    margin: 20px auto 50px auto;
    max-width: 380px;
    }

.grow {
    transition: all .2s ease-in-out;
    }

    .grow:hover {
        transform: scale(1.08);
        }




/* Pagina Scelta Pagamento
----------------------------------------------------------------------------- */
article{
    text-align: center;
    margin: 50px 0;
    }

    article strong{
        color: #415563;
        display: block;
        margin-bottom: 8px;
        }

.box-importo label{
    font-size: 24px;
    float: left;
    display: inline-block;
    }

.box-importo span{
    color: #f0b323;
    text-align: right;
    float: right;
    font-size: 46px;
    position: absolute;
    right: 0;
    height: 100%;
    top: 0;
    box-sizing: border-box;
    padding-right: 24px;
    padding-top: 8px;
    }

    .box-importo span small{
        font-size: 36px;
        }

.box-pagamento{
    text-align: center;
    }

    .box-pagamento strong{
        /*font-size: 20px;*/
        }

    .note{
        font-family: "Arial", sans-serif;
        font-size: 12px;
        color: #777777;
        }

/* Form Scelta Tipo Pagamento */
.radio-wr{
    max-width: 500px;
    margin: auto;
    }

.radio{
    float: left;
    margin-top: 50px;
    }

    .radio-pp{
        float: left;
        }

    .radio-xp{
        float: right;
        }

        .cc-icon{
            display: inline-block;
            margin-left: 5px;
            cursor: pointer;
            float: left;
            width: 68px;
            height: auto;
            border: 0;
            }

/* Acceptance */
.condizioni_wr{
    font-size: 15px;
    margin-top: 50px;
    display: block;
    cursor: pointer;
    }

    .condizioni_wr a,
    .condizioni_wr a:hover{
        color: #415563;
        }

/* Pagine Esito Pagamento
----------------------------------------------------------------------------- */
article.success{
    background-image: url("/public/img/success.png");
    background-repeat: no-repeat;
    background-size: 68px 68px;
    padding: 100px 0;
    background-position: center bottom;
    /*margin-bottom: 360px;*/
    }

.box.fail{
    background: #FF585D;
    color: #FFF;
    padding-top: 16px;
    padding-bottom: 16px;
    }

.box.success{
    background: #96D228;
    color: #FFF;
    padding-top: 16px;
    padding-bottom: 16px;
    }

/* Responsive
----------------------------------------------------------------------------- */
@media only screen and (max-width: 960px) {

    #wrapper{
        padding: 0 30px;
        }

}

@media only screen and (max-width: 580px) {

    body{
        font-size: 16px;
        }

    #wrapper{
        padding: 0 14px;
        }

    .site-title{
        margin-top: 10px;
        }

    article{
        margin: 15px 0 30px 0;
        }

    article.intro{
        text-align: justify;
        }

    .btn{
        font-size: 18px;
        }

        .btn i{
            display: none;
            }

        .grow:hover{
            transform: none;
            }

        .btn#procedi_al_pagamento{
            line-height: 60px;
            margin: 30px 0 ;
            }

    .box{
        padding: 14px;
        }

        .box-importo label{
            font-size: 16px;
            font-weight: 700;
            padding-top: 10px;
            }


        .box-importo span{
            position: static;
            float: right;
            height: auto;
            font-size: 28px;
            display: inline;
            padding: 0;
            font-weight: 700;
            }

            .box-importo span small{
                font-size: 22px;
                float: none;
                }

        .box-pagamento{
            text-align: left;
            }

        .cc-icon{
            width: 16vw;
            }

        .note{
            font-size: 11px;
            }

    .radio {
        float: left !important;
        margin: 20px 0 0 0;
        }

    .radio .cr{
        width: 24px;
        height: 24px;
        margin-top: 3px;
        }

    .radio .glyphicon-ok:before{
        margin-left: 4px;
        margin-top: 4px;
        }

    .condizioni_wr{
        margin-top: 30px;
        font-size: 14px;
        }

    .checkbox label .label{
        width: calc(100% - 40px)
        }

    .checkbox .cr{
        float: left;
        margin-right: 16px;
        }

    footer{
        margin-top: 40px;
        text-align: left;
        padding: 14px;
        font-size: 11px;
        opacity: 0.7;
        }



}
