/* Styles for dialog window */
.mfp-content {
    text-align: center;
    width: 678px !important;
}

.mfp-content label {
    text-align: left;
}

.dialog {
    padding: 30px 20px 42px 20px;
    text-align: left;
    width: 50%;
    margin: 0 auto 0 auto;
    position: relative;
    background-color: #ffa801 !important;
    /*
     border-top: 1px solid #bbbbbb;
     border-bottom: 1px solid #dfdfdf;
     border-left: 1px solid #dfdfdf;
     border-right: 1px solid #dfdfdf;
     */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    min-height: 44px;
    display: inline-block;
}

.dialogok {
    display: inline-block;
    margin: 0 auto 0 auto;
}

.bigDialog {
    width: 42%;
}

.dialog img.loading,
.dialog img.error,
.dialog img.success,
.dialog p {
    float: left;
    margin: 0;
    padding: 0;
    margin-right: 10px;
}

.dialog img.loading {
    margin-top: -5px;
}

.dialog img.error {
    margin-top: 1px;
}

.dialog p {
    color: #9ea7b3;
    font-size: 12px;
    font-family: Amaranth;
    margin: 0;
    width: 88%;
}

.dialog p.error {
    color: red;
    font-weight: bold;
}

.dialog p.success {
    color: #00b200;
    font-weight: bold;
}

.dialog ul.error {
    float: left;
    width: 97%;
}

.dialog ul.error li {
    float: left;
    width: 97%;
    color: #d5523f;
    font-size: 11px;
    font-family: Amaranth;
    margin: 0;
    width: 88%;
}

.dialog ul.error li .label {
    font-weight: bold;
}

.dialog h1 {
    clear: both;
    font-family: Amaranth;
    font-size: 14px;
    text-transform: uppercase;
    color: #626c79;
    margin-bottom: 6px;
}

.mfp-close-btn-in .mfp-close {
    /*
    background-image: url('../images/libs/quest-dialog-close-icon.png') !important;
    background-color: #f7f7f7 !important;
    background-repeat: no-repeat;
    background-position: center center;
    */
    background: url('../images/cross.png') center center no-repeat !important;
    text-indent: -5000px;
    display: none;
}

.mfp-close-btn-in .mfp-close:hover {
    /*background-image: url('../images/libs/quest-dialog-close-icon.png') !important;*/
    background-image: url('../images/cross.png') !important;
}

/**
 * Fade-zoom animation for first dialog
 */
/* start state */
.zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;

    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

/* animate in */
.mfp-ready .zoom-anim-dialog {
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/* animate out */
.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);

    opacity: 0;
}

/* Dark overlay, start state */
.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

/* animate in */
.mfp-ready.mfp-bg {
    opacity: 0.8;
}

/* animate out */
.mfp-removing.mfp-bg {
    opacity: 0;
}