#mgm-modal .modal-dialog{
    width: 100%;
    max-width: 740px;
}
#mgm-modal .modal-content{
    box-shadow: 0 2px 840px 0 rgba(0,0,0,0.5);
    border-radius: 5px;
    background: white;
    border: none;
    position: relative;
}
#mgm-modal .modal-header{
    padding: 0;
    border: none;
}
#mgm-modal .modal-header button.close{
    background: #2C364E;
    width: 55px;
    height: 60px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 1;
    border-radius: 0 5px 0 0;
    z-index: 10;
}
#mgm-modal .modal-header button.close span{
    display: block;
    text-indent: -9999px;
    width: 55px;
    height: 60px;
    background-image: url('/sites/all/themes/mgm_constructeur2/img/ico/close-white.svg');
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: 50%;
}
#mgm-modal .modal-body{
    padding: 60px 30px;
}
#mgm-modal .modal-body > p{
    text-align: center;
    color: #626262;
    font-size: 18px;
    line-height: 28px;
    padding: 30px 0;
    margin: 0;
}
#mgm-modal .modal-body p.mentions{
    text-align: center;
    color: #9B9B9B;
    font-size: 15px;
    line-height: 18px;
    padding: 30px 0;
    margin: 0;
    font-weight: 400;
}
#mgm-modal .modal-body p.mentions span{
    color: #9B9B9B;
    font-size: 10px;
    font-family: "Walsheim" !important;
    font-weight: 400;
    display: block;
    text-align: justify;
    line-height: normal;
}
#mgm-modal .modal-body button{
    display: block;
    margin: 20px auto 0;
    background: #2C364E;
    color: white;
    font-weight: 500;
    font-size: 15px;
    line-height: 19px;
    padding: 8px 60px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: background 0.3s ease 0s;
    -webkit-transition: background 0.3s ease 0s;
}
#mgm-modal .modal-body button:hover,
#mgm-modal .modal-body button:focus{
    background: black;
}

#mgm-modal-form .form-type-textfield label,
#mgm-modal-form .form-type-select label{
    display: none;
}
#mgm-modal-form input:not([type="checkbox"]){
    width: 100%;
}
#mgm-modal-form input:not([type="checkbox"]){
    -moz-appearance:none;
    -webkit-appearance:none;
    appearance:none;
    border: none;
    border-bottom: 1px solid #4A4A4A;
    border-radius: 0;
    box-shadow: none;
    height: 45px;
    background-image: url('../img/ico/chevron-thin-down-black.svg');
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: right center;
    color: #ababab;
    font-size: 16px;
    line-height: 20px;
    padding-left: 0;
    cursor: pointer;
}

#mgm-modal-form .col-sm-6{
    margin-bottom: 20px;
}

#mgm-modal .alert-block.alert-success{
    background: none;
    border: none;
    color: initial;
    font-size: initial;
}
#mgm-modal .alert-block.alert-success .close{
    display: none;
}
#mgm-modal .captcha{
  width: 100%;
  float: left;
  margin-bottom: 15px;
  text-align: center;
}
#mgm-modal .captcha .g-recaptcha{
  display: inline-block;
}

@media(max-width: 767px){
    #mgm-modal .modal-dialog{
        max-width: inherit;
        width: calc(100% - 30px);
        top: 30px;
        left: 15px;
        margin: 0;
    }
    #mgm-modal .modal-content{
        margin-bottom: 30px;
    }
    #mgm-modal .modal-content:before{
        display: none;
    }
    #mgm-modal .modal-header button.close,
    #mgm-modal .modal-header button.close span{
        width: 40px;
        height: 45px;
    }
    #mgm-modal .modal-header button.close span{
        background-size: 18px 18px;
    }
    #mgm-modal .modal-body{
        padding: 0 20px 20px;
    }
    #mgm-modal .modal-body > p{
        padding: 20px;
        font-size: 16px;
        line-height: 24px;
    }
    #mgm-modal-form .col-sm-6{
        margin-bottom: 10px;
    }
    #mgm-modal-form .col-sm-12 h5{
        margin: 30px 0 10px;
    }
    #mgm-modal .modal-body p.mentions{
        padding: 20px 0;
    }
}
