[role='button'] {
    cursor: pointer;
}
.modal-open {
    overflow: hidden;
}
.modal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
.modal.fade .modal-dialog {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    -moz-transform: translate(0, -25%);
    -moz-transition: transform 0.3s ease-out;
    -ms-transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
    -moz-transform: translate(0, 0);
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
.modal-dialog button.close {
    scale: 1.5;
    padding: 10px;
    margin: 10px 15px;
}
.modal-content {
    position: relative;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000000;
}
.modal-backdrop.fade {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-filter: alpha(opacity=0);
}
.modal-backdrop.in {
    opacity: 0.5;
    filter: alpha(opacity=50);
    -webkit-filter: alpha(opacity=50);
}
.modal-header {
    padding: 15px;
    padding-bottom: 0;
}
.modal-header .close {
    margin-top: -2px;
}
.modal-title {
    margin: 0;
    line-height: 1.42857143;
}
.modal-body {
    position: relative;
    padding: 0 20px;
}
#createCustomerAddress .modal-body h3 {
    margin-top: 5px;
}
.modal-footer {
    padding: 0px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
    margin: 0 24px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.modal-footer button {
    width: -webkit-fill-available;
    width: -moz-available;
    height: 44px;
    margin: 24px 10px;
}
.modal-footer .btn + .btn {
    margin-left: 15px;
    margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
    margin-left: 0;
}
#createCustomerAddress .modal-footer {
    position: fixed;
    bottom: 0px;
    right: 0px;
    left: 0px;
    width: 100%;
    background: #FFF;
    margin: 0;
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 0.2;
}
.rtl .close {
    float: left;
}
button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.5;
    filter: alpha(opacity=50);
    -webkit-filter: alpha(opacity=50);
}
@media (min-width: 768px) {
    .modal-dialog {
        width: 760px;
        margin: 30px auto;
    }
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
    .modal-sm {
        width: 300px;
    }
}
@media (min-width: 992px) {
    .modal-lg {
        width: 900px;
    }
}
[role='button'] {
    cursor: pointer;
}
input[type='submit'].btn-block,
input[type='reset'].btn-block,
input[type='button'].btn-block {
    width: 100%;
}
.clearfix:before,
.clearfix:after,
.modal-footer:before,
.modal-footer:after {
    content: ' ';
    display: table;
}
.clearfix:after,
.modal-footer:after {
    clear: both;
}
.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.pull-right {
    float: right !important;
}
.pull-left {
    float: left !important;
}
.hide {
    display: none !important;
}
.show {
    display: block !important;
}
.invisible {
    visibility: hidden;
}
.text-hide {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}
.hidden {
    display: none !important;
}
.affix {
    position: fixed;
}
.modal-header h3 {
    margin: 3px 0px 0px 0px;
}
.rtl .view-customer button.close {
    float: left;
}
#add-note .control-group textarea.control {
    height: auto;
    min-height: 120px;
}
#createAddress .modal-body {
    padding-top: 0;
}
/* search product modal */
#modalFormSearch .row {
    display: block;
    margin: auto;
    /* overflow: auto; */
}
#modalFormSearch .row.searchResults {
    display: flex;
    height: 60px;
    border-bottom: 1px solid #e2e2e2;
}
#modalFormSearch .searchResults img {
    width: 100%;
    width: 40px;
    height: 40px;
}
#modalFormSearch .modal-footer .btn {
    padding: 5px;
    margin: 15px 0px;
}
#modalFormSearch .search-products {
    height: 25em !important;
    overflow: auto;
}
#modalFormSearch .row.searchResults:not(.variation-row) {
    background: #fcfcfc;
}
#modalFormSearch button.close {
    padding: 10px;
}
#modalFormSearch .no-results {
    margin-top: 10rem;
    width: 18em;
    font-size: larger;
    color: rgb(176, 187, 207);
}
.modal-dialog input.control:focus {
    border: 2px solid #6941c6 !important;
}
.modal-dialog textarea.control:focus {
    border: 2px solid #6941c6 !important;
}
.modal-dialog select:focus {
    border: 2px solid #6941c6 !important;
}
.modal-dialog button.btn.btn-default.cancel-btn {
    width: 150px;
    height: 40px;
    background: #fee4e2 !important;
    color: black;
    font-size: 15px;
    font-weight: 600;
}
.rtl .modal-dialog button.btn.btn-default.cancel-btn {
    float: left;
}
.modal-dialog button.btn.btn-primary.submit-btn{
    width: 150px;
    height: 40px;
    font-size: 15px;
}
.rtl .modal-dialog button.btn.btn-primary.submit-btn{
    float: left;
}
#modalFormSearch span.regular-price {
    display: block;
    text-decoration: line-through;
}
#modalFormSearch .modal-body {
    position: initial;
    padding: 20px 20px 0px 20px;
    min-height: 570px;
}
#modalFormSearch .checkbox .checkbox-view {
    width: 20px !important;
}
#modalFormSearch .tree-container .tree-item .folder-icon {
    display: none;
}
#modalFormAddress button.close {
    margin: 10px;
}
#modalFormAddress img {
    margin: 10px;
}
.modal-icon {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #EAECF0;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    text-align: -webkit-center;
    margin: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.modal-icon img {
    display: block;
    margin: auto;
    margin-top: 11px;
}

.image-variations-css{
    height: 150px;
    width: 150px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    display:inline-block;
    cursor: pointer;
}

/* --------------------------------- BootBox JS  --------------------------------- */
.bootbox .modal-footer:before,
.bootbox .modal-footer:after {
    display: none !important;
}
.bootbox .modal-dialog {
    width: 350px;
    margin: 19em auto;
}
.bootbox .modal-content {
    width: 25em !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 15px !important;
    -webkit-border-radius: 15px !important;
    -ms-border-radius: 15px !important;
    -o-border-radius: 15px !important;
}

/* Confirm */
.bootbox-confirm .modal-body {
    padding: 0px;
}
.bootbox-confirm .modal-body p {
    text-align: center;
}
.bootbox-confirm button {
    max-width: 6em;
    margin: 10px;
}
.bootbox-confirm button.cancel {
    color: #fff;
    margin-bottom: 0px;
}
.bootbox-confirm button.bootbox-close-button.close {
    padding-top: 1em;
    margin: 0;
}

/* Alert */
.bootbox-alert .modal-content {
    padding-bottom: 0px;
}
.bootbox-alert .modal-footer {
    margin: 0px;
}
.bootbox-alert button.btn.btn-primary {
    width: 6em;
}
.bootbox-alert button.btn.btn-primary {
    width: 6em;
    margin: 10px;
}
.bootbox-alert button.bootbox-close-button.close {
    margin: 0px;
    padding: 0px;
}
/* --------------------------------- End BootBox JS  --------------------------------- */