.modal-body{
    overflow-y: auto;
}


.modal-dialog-height-auto .modal-content{
	max-height: 80%;
}

.modal{
	overflow-y: hidden !important;
}

.modal-dialog-centered{
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    min-height: 0 !important;
    height: 100%;
}

.modal-header.ui-draggable-handler{
    cursor: move;
}

.modal-dialog-top-left{
    position: fixed !important;
    top: 0px;
    left: 0px;
    margin: 0px !important;
}   

.modal-dialog-top-right{
    position: fixed !important;
    top: 0px;
    right: 0px;
    margin: 0px !important;
}       

.modal-dialog-bottom-right{
    position: fixed !important;
    bottom: 0px;
    right: 0px;
    margin: 0px !important;     
}  

.modal-dialog-bottom-left{
    position: fixed !important;
    bottom: 0px;
    left: 0px;
    margin: 0px !important;             
}  

.modal-dialog-100vh{
    height: 100vh;
    max-height: none;
}  

.modal-dialog-70vh .modal-content{
    height: 70%;
    max-height: 70%;
}

.modal-dialog-80vh .modal-content{
    height: 80%;
    max-height: 80%;
}

.modal-dialog-90vh .modal-content{
    height: 90%;
    max-height: 90%;
}

.modal-dialog-100vh .modal-content{
    height: 100%;
    max-height: 100%;
}

.modal-dialog-100vh .modal-body{
    max-height: none;
}

.modal-header.ui-draggable-handle{
    cursor: move;
}

.btn-action-open-modal{
    cursor: pointer;
}

.modal-footer .form-group {
    margin-bottom: 0px;
}

.modal-footer-extra-buttons, .modal-footer-buttons{
	margin: 0px;
}

.modal-footer .modal-footer-buttons>*, .modal-footer .modal-footer-extra-buttons>*{
	margin: .25rem;
}

.ctl-modal-header-buttons button{
    float: none;
    margin: 0px !important;
    padding: 5px !important;
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    border: none;
    background: none;    
}

.ctl-modal-header-buttons button.btn-action-close-modal{
    font-size: 24px;
}

@media (min-width: 768px){   
    
    .modal-dialog-no-margins{
        margin: 0px !important;
    }
    
    .modal-dialog.modal-dialog-70vw{
        width: 70vw;
        max-width: none;
    }    
    
    .modal-dialog.modal-dialog-80vw{
        width: 80vw;
        max-width: none;
    } 
    
    
    .modal-dialog.modal-dialog-90vw{
        width: 90vw;
        max-width: none;
    }  

    .modal-dialog.modal-dialog-100vw{
        width: 100vw;
        max-width: none;
    }    
        
}