
/**
 * GENERAL
 * --------------------------------------------------
 */

.ac-hidden { visibility: hidden !important; }
.ac-d-none { display: none !important; }
.ac-d-block { display: block !important; }
.ac-d-inblock { display: inline-block !important; }
.ac-d-block-children > * { display: block !important; }
.ac-d-inblock-children > * { display: inline-block !important; vertical-align: middle; }

/*
 * MESSAGES
 * ---------------------------- */

#ac-messages {
    position: fixed;
    bottom: 2em;
    right: 3em;
    z-index: 100;
    font-size: 16px;
    line-height: 22px;
}
#ac-messages .msg {
    position: relative;
    bottom: -5em;
    padding-left: 3em;
    margin: -3em 0 0.25em;
    color: #ffffff;
    border-radius: 3px;
    transition-property: margin bottom;
    transition-duration: 0.6s;
    background-position: 0.75em center;
    background-size: 1.5em;
    background-repeat: no-repeat;
}
#ac-messages .msg p {
    padding: 0.75em 1em 0.75em;
    margin: 0;
}

#ac-messages .msg.appearing {
    margin-top: 0;
    bottom: 0;
}
#ac-messages .msg-success {
    background-color: #56b258;
    background-image: url(../img/icon-success.svg);
}
#ac-messages .msg-success p {
    background-color: #64bd65;
}
#ac-messages .msg-error {
    background-color: #EF4F4F;
    background-image: url(../img/icon-error.svg);
}
#ac-messages .msg-error p {
    background-color: #f35f5f;
}

/*
 * POPUP
 * ---------------------------- */

.ac-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 99999;
    font-size: 16px;
}
.ac-popup .popup-window {
    position: relative;
    top: 1em;
    min-height: 10em;
    background-color: #ffffff;
    width: 90%;
    margin: 0 auto;
    transition-property: margin-top;
    transition-duration: 0.5s;
}

.ac-popup .popup-content-area {
    padding: 2em;
}
.ac-popup .popup-window .popup-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 3.5em;
    height: 3.5em;
    border: none;
    background-color: #ffffff;
    background-position: center;
    background-size: 1.643em auto;
    background-repeat: no-repeat;
    background-image: url(../img/icon-close.svg);
    cursor: pointer;
    z-index: 200;
}

@media (min-width: 992px){
    .ac-popup .popup-window {
        top: 2em;
        width: 60%;
    }
    .ac-popup .popup-content-area {
        padding-right: 4em;
    }
}
