@charset "utf-8";

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
}

.modal-backdrop.in{
    filter: alpha(opacity=50);
    opacity: .5;
}

.modal-backdrop{
    background-color: #000;
}

.modal.custom .modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    padding: 0;
}

.modal.custom .modal-header {
    padding: 10px;
    padding-bottom: 0px;
    border-bottom: none;
    text-align: center;
    padding-top: 0px;
}

.modal.custom .modal-footer{
    padding: 10px;
    padding-bottom: 0;
    padding-top: 0;
    border-top: none;
}

.modal.custom .modal-footer button.bottone{
    margin: 0 auto;
    float: none;
}

.modal-header button{
    background-color: #000;
}

.modal-body {
    padding: 7px;
}

/** mailchimp */

.modal-header .close {
    top: -16px;
    right: -20px;
    position: absolute;
    padding: 0px 0px;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    font-weight: 300;
    color: #fff;
    text-shadow: none;
    opacity: 1;
    z-index: 10;
    background-color: #880024;
}

.modal img.icona-mail {
    width: 64px;
}

.modal-header h2{
    text-align: center;
    color: #ff0245;
}

.modal-header .indicates-required{
    color: #999;
    text-align: left;
    font-weight: 300;
}

.modal input{
    background: #e7e7e7;
    border: none;
    border-radius: 3px;
    color: #000;
    padding: 10px 5px;
    width: 100%;
}

.modal input {
    margin: 10px 0;
}
.modal input#mc-embedded-subscribe {
    background: #ff0245;
    border: none;
    color: #fff;
    padding: 7px 20px;
    border-radius: 3px;
    text-transform: uppercase;
    width: 100%;
}

.modal input[type="checkbox"], .modal input[type="radio"] {
    margin: 4px 0 0;
    margin-right: 10px;
    margin-top: 1px\9;
}

.modal .clearfooter input {
    display: inline;
    float: left;
    width: auto;
}

.modal .clearfooter{
    color: #696969;
    float: left;
    padding-left: 10px;
}

.modal .clearfooter a{
    background: none;
    padding: 5px;
    color: #ff0245!important;
}


.modal-body a:nth-child(2) img {
    display: none;
}

/** mailchimp */



/*responsive*/
@media(max-width: 1400px){
    .modal-content {
        width: 35%;
    }
}
@media(max-width: 992px){
    .modal-content {
        width: 60%;
    }
}
@media(max-width: 767px){
    .modal-content {
        width: 80%;
    }
}

@media(max-width: 440px){
    .modal-body a:nth-child(2) img {
        display: block;
    }
    .modal-body a:nth-child(1) img {
        /* display: none; */
    }
    .modal-content {
        width: 100%;
    }
    
    .modal-header .close {
        top: -45px;
        right: 5px;
    }
}