﻿.modalv-custom-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: none;
    transition: opacity .3s ease;
    overflow: auto;
    /*display: flex;*/ /*new*/
    /*justify-content: center;*/ /*new*/
}

.modalv-custom-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.modalv-custom-container {
    /*width: 650px;*/
    margin: 0px auto;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
    transition: all .3s ease;
    font-family: Helvetica, Arial, sans-serif;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 45%;
   
}

.modalv-custom-header h3 {
    margin-top: 0;
    color: #000000;
    font-size: 12px;
}

.modalv-custom-body {
    margin: 20px 0;
}

.modalv-custom-default-button {
    float: right;
}

/*
 * The following styles are auto-applied to elements with
 * transition="modal" when their visibility is toggled
 * by Vue.js.
 *
 * You can easily play with the modal transition by editing
 * these styles.
 */

.modalv-custom-enter {
    opacity: 0;
}

.modalv-custom-leave-active {
    opacity: 0;
}

    .modalv-custom-enter .modalv-custom-container,
    .modalv-custom-leave-active .modalv-custom-container {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

.body-scrolling-off {
    overflow: hidden !important;
    height: 100vh;
    padding-right: 15px;
}



@media (max-width: 480px) {
    .modalv-custom-body-scroll-small {
        display: block !important;
    }
}


@media (max-width: 768px) {
    .modalv-custom-body-scroll-small {
        display: block !important;
    }
}




/*.modalv-custom-body-scroll {
    margin: 20px 0;
    overflow: auto;
    max-height: 70vh;*/ /* default maximum height */
/*}

@media (max-width: 768px) {
    .modalv-custom-body-scroll {
        max-height: 60vh;
    }
}*/
