.mm-popup .popup {
    outline: none;
    display: block;
}

.mm-popup .popup .short {
    cursor: pointer;
}

.mm-popup .popup.inline {
    display: inline-flex;
}

.mm-popup .popup .block .full {

    display: none;
    opacity: 0;
}

.popup-container {
    position:fixed;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);

}

.mm-popup .popup.active .block .full {

    border-radius: 5px;
    display: block;
    opacity: 1;
    position:fixed;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);
    z-index: 3000;

    -webkit-animation: fadeInFromNone 0.5s ease-out;
    -moz-animation: fadeInFromNone 0.5s ease-out;
    -o-animation: fadeInFromNone 0.5s ease-out;
    animation: fadeInFromNone 0.5s ease-out;
}

@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

.magz-popup-close {
    position: absolute;
    right: -2.5rem;
    top: -2.5rem;
    display: none;
    overflow: hidden;
    border-radius: 2.4rem;
    cursor: pointer;
    z-index: 4000;
    width: 2rem;
    height: 2rem;
    background-color: white;
    border-color: black;
    border-width: 1px;
    border-style: solid;
}

.magz-popup-close i {
    color: black;
}

.popup-background {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}


.magz-popup-close i {
    display: block;
    font-size: 1.8rem!important;
    margin: 2px 0px 0px 1px;
    padding: 0px;
}

.mm-popup .popup.inline .block {
    width: 100%;

    /*float: left;*/
}

.mm-popup .popup .block.right {
    float: right;
}



.mm-popup .popup .block.icon-inline {
    width: 100%;
    float: none;
}

.mm-popup .popup .block.icon-bottom {
    width: 100%;
    float: none;
}



.mm-popup .popup .icon {
    float: right;
    display: block;
    text-align: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.mm-popup .popup .icon .field--type-fontawesome-icon {
    width: 100% !important;
}



/*.popup.inline.icon-left .icon {float: left;}*/

/*.popup.inline.icon-left .block {float: right;}*/

/*.popup .icon.right {float: right;}*/

/*.popup .icon.center {float: none; text-align: center;}*/



/*.popup .icon.inline {width: 10%; float: none;}*/

.mm-popup .popup.bottom .icon {
    width: 100%;
    float: none;
    text-align: center;
}

.mm-popup .popup.bottom .icon.left {
    text-align: left;
}

.mm-popup .popup.bottom .icon.right {
    text-align: right;
}

.mm-popup .popup.bottom .icon .field--type-fontawesome-icon {
    float: none;
}



.popup .icon .roll-up {
    display: none;
}

.popup.active .icon .roll-down {

}

.popup.active .icon .roll-up {
    display: block;
}



.content {

    width: 100%;

    /*padding: 0 18px;*/

    /*max-height: 0;*/

    /*overflow: hidden;*/

    transition: max-height 2s ease-out;

    /*background-color: #f1f1f1;*/

}

.mm-popup  .field--type-fontawesome-icon {
    margin-right: 0px;
}

@media(max-width: 820px) {
    .mm-popup .popup.active .block .full {
        width: 90vw;
        max-height: 90vh;
    }
    .magz-popup-close {
        position: fixed;
        top: -1.2rem;
        right: -1.2rem;
        width: 1.3rem;
        height: 1.3rem;
    }
    .magz-popup-close i {
        font-size: 1rem!important;
        display: block;
        margin: 1px 0px 0px 2.5px;
    }
}
