div.modal
{
    display: none;
    width: 430px;
    padding: 25px;
    position: relative;
    background: #ffffff;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    -o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

div.modal a.close-modal
{
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;

    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: url('close_02.png') no-repeat center;
    background-size: 15px 15px;
    border: 0;
    opacity: 0.8;
    text-indent: -9999px;
}

div.modal a.close-modal:hover
{
    opacity: 0.6;
}

div.modal a.close-modal:active
{
    opacity: 1;
}

div.modal-spinner {
    display: none;
    width: 64px;
    height: 64px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -32px;
    margin-top: -32px;
    background: url('../icons/loading.gif') no-repeat center;
}

div.modal h3
{
    margin-top: 0;
    font-size: 30px;
    text-align:center;
}

div.modal p.intro
{
    margin: 10px 0 20px 0;
    color: #373737;
    font-weight: 700;
    text-align: center;
}

div.modal input.textfield
{
    width: 378px;
}

div.modal textarea.textfield
{
    width: 378px;
    height: 100px;
}

div.modal input.button
{
    width: 447px;
}

div.modal div.form-success
{
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #42bd41;
    color: #0d5302;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
}

div.modal div.form-error
{
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #c0392b;
    color: #5c1915;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
}

div.modal div.form-success i.fa,
div.modal div.form-error i.fa
{
    display: inline-block;
    margin-right: 25px;
    vertical-align: middle;
    font-size: 60px;
}

div.modal div.form-success div.wrapper,
div.modal div.form-error div.wrapper
{
    width: 100%;
    height: 100%;
    text-align: center;
}