/*******************************
* MODAL AS LEFT/RIGHT SIDEBAR
* Add "left" or "right" in modal parent div, after class="modal".
* Get free snippets on bootpen.com
*******************************/
.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 400px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
    overflow-y: auto;
}

/*Left*/
.modal.left.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog {
    left: 0;
}

/*Right*/
.modal.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

.modal.right.show .modal-dialog {
    right: 0px;
}

/* ----- MODAL STYLE ----- */
.modal-content {
    border-radius: 0;
    border: none;
}

.modal-header {
    border-bottom-color: #EEEEEE;
    background-color: #FAFAFA;
}

.form-control:disabled {
    color: #6c757d;
    background-color: #e9ecef;
    opacity: 0.7;
}

.form-control.is-valid:focus,
.was-validated .form-control:valid,
.custom-file-input.is-valid:focus,
.was-validated .custom-file-input:valid {
    border-color: #ced4da !important;
    background-image: inherit !important;
    box-shadow: inherit !important;
}

.custom-file-input.is-valid~.custom-file-label,
.was-validated .custom-file-input:valid~.custom-file-label {
    border-color: #ced4da !important;
}

.was-validated .custom-file-input:valid,
.custom-file-input.is-valid {
    border-color: inherit;
}

.custom-file-input {
    cursor: pointer !important;
}

.custom-file-input~.custom-file-label::after {
    content: "Seleccionar";
}

#module-container>div {
    padding: 0 !important;
}

#options {
    width: 270px;
    min-width: 270px;
    background-color: #f9f9f9;
    border-right: solid 1px #e4e4e4;
}

.options-group {
    list-style-type: none;
    padding-left: 0;
}

.options-group li {
    cursor: pointer;
}

#options h4 {
    font-weight: 500 !important;
}

#details {
    background-color: white;
}


.direccion-card {
    width: 350px;
    min-width: 300px;
    max-width: 400px;
}

#contenedor-direccion {
    overflow-x: auto;
}

.text-semi-bold {
    font-weight: 600;
}

.fa-pencil-alt {
    font-size: large;
    cursor: pointer;
}

/* FIX Choices Js */

.choices {
    height: inherit;
}

.choices.form-control {
    height: inherit;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    margin-bottom: 0;
}

.choices.form-control.is-invalid {
    padding-right: calc(1.5em + 0.75rem);
}

.choices__input {
    padding: 4px 0;
    margin-bottom: 0;
}

.img-preview {
    width: 250px;
    height: 250px;
    object-fit: contain;
    object-position: center center;
}