.idartes-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: rgba(0,0,0,0.85);
    z-index: 10000000000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    overflow: hidden;
    transition: 0.8s height, 1s opacity;
}

.idartes-modal.active{
    opacity: 1 !important;
    height: 100% !important;
}

.btn-close-idartes-modal{
    position: absolute;
    right: 10px !important;
    /* left: 0; */
    top: 20px !important;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 40px;
    line-height: 40px;
    margin: 0 auto;
    cursor: pointer;
    transition: 0.6s opacity;
    z-index: 1000;
}

.btn-close-idartes-modal:hover{
    opacity: 0.6;
}

.idartes-modal > .idartes-modal-body
{
    position: relative;
    width: 60%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5em 1em;
}

@media (max-width: 991.98px) { 
    .idartes-modal > .idartes-modal-body{ width: 65%; }
}

@media (max-width: 767.98px) { 
    .idartes-modal > .idartes-modal-body{ width: 70%; }
    .btn-close-idartes-modal{ top: 10px; width: 30px; height: 30px; font-size: 30px; line-height: 30px; }
}



@media (max-width: 575.98px) { 
    .idartes-modal > .idartes-modal-body{ width: 90% !important; }
    .btn-close-idartes-modal{ top: 10px; width: 30px; height: 30px; font-size: 30px; line-height: 30px; }
}