

.w-33 {
    width: 33.3% !important;
}

.w-66 {
    width: 66.6% !important;
}
  
.auth-image{
    background-image: url('/assets/back_office/img/login.jpg');
    overflow-x: hidden;
}
.tooltiptext {
    visibility: hidden;
    width: 130px;
    background-color: black;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 65%;
    margin-left: -65px;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }
.addon_row{
    background-color: #eee;   
}

.addon_row td{
    padding: 0.125rem 1.5rem !important;
}

.addon_row td:first-child { 
    padding: 0.125rem 3rem !important;
}

.loader30{
    width:30px;
}
.loader60{
    width:60px;
}
.preview-content{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
#imageGalleryTable{
    width: 100% !important;
}
#imageGalleryTable > tbody > .currentlyActiveImage > td:nth-child(2){
    border-left: solid 5px #39da8a !important;
}

#imageGalleryTable > tbody > tr > td:nth-child(2){
    border-left: solid 5px #ffffff00;
}

#loginAlert{
    display:none;
}
.apexcharts-toolbar{
    display:none !important;
}
.password_reqs_list{
    list-style:none;
}

.password_reqs_list li.bad:before {
    color:red;
    content: '✗';
}

.password_reqs_list li.good:before {
    color:green;
    content: '✓';
}

.portal_sync_notice {
    display:none;
}

/* #region Custom DT responsive icon */
td.dt-details-control {
    text-align:center;
    color: #00CFDD;
    cursor: pointer;
}
table.dataTable.dtr-column > tbody > tr > td.dtr-control::before, table.dataTable.dtr-column > tbody > tr > th.dtr-control::before, table.dataTable.dtr-column > tbody > tr > td.control::before, table.dataTable.dtr-column > tbody > tr > th.control::before {
    content: none !important;
}
/* #endregion */

/* #region DT detail modals */
.modal.dtr-bs-modal {
    --bs-modal-border-radius: none !important;
}
.modal.dtr-bs-modal > .modal-dialog {
    padding: 0px !important;
    margin-top: 0px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 767.98px) {
    .modal.dtr-bs-modal > .modal-dialog:not(.modal-fullscreen) {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
}
/* #endregion */

.stackable-dt-buttons {
    width: auto !important;
}

.sortable-background-class {
    background-color:#5a8dee !important;
}

.bg-body.sortable-background-class {
    background-color:#171c26 !important;
}

.datatable-row-group {
    font-size:16px;
    font-weight: bold;
}

.sortable-handle {
    cursor: grab;
}

.select2.is-invalid + span > span:first-child > span:first-child {
    border: 1px solid #ff5b5c !important;
}

#subAccordionMenu .accordion-item {
    border:none !important;
}

.flow_setting {
    display:none;
}

.inlineLoader {
    display:inline-block;
    display:none;
    padding-left:10px;
}

.pickr .pcr-button::after {
    border: 1px solid #fff;
}

/* FullCalendar Styling */
.fc-toolbar-title {
    padding-top: 0px;
}

.fc-daygrid-day-events {
    padding-left:5px;
}

.fc-day-other {
    background-color: rgb(132, 155, 184, 0.1);
}

:root {
    --fc-border-color:#677788;
    --fc-daygrid-event-dot-width: 10px;
}

.lang-icon {
    text-transform: uppercase;
    letter-spacing: inherit;
    font-size: 0.75rem;
    font-weight: 400;
    display: inline-block;
}


/* image gallery  */
.gallery_modal_body{
    overflow-y: hidden;
}
.image-grid{
    height: calc(85vh - 60px);
    overflow-y: scroll;
    overflow-x: hidden;
}
.image{
    height: 200px !important;
}

.image-preview{


    max-height: 350px;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    /* border: 1px solid; */
}
.image-preview img{
    height: 350px;
    /* width: auto; */
    object-fit: scale-down;
}
.gallery_arrow{
    display: none;
}
.preview-height{
    height: calc(92vh - 64px);
    overflow: auto;
}
.preview-height::-webkit-scrollbar {
    display: none;
  }
.img-container{
    width: 45px;
    height: 45px;
    overflow: hidden;
}
.gallery_img{
    width: 65px;
    height: 45px;
    object-fit: scale-down;
}

table.dataTable tbody tr.active{
    color: #fff;
    background-color: #5a8dee !important;
}

table.dataTable tbody tr.active td{
    color: #fff;
}


#image_gallery_modal_template .gallery_modal_body{
    overflow: hidden;
}
.image-grid::-webkit-scrollbar {
    display: none;
  }
  .gallery_modal_body::-webkit-scrollbar {
    display: none;
  }
  .copy-button{
    height: 100%;
  }

  .gallery {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   column-gap: 15px;

    /* padding: 4rem; */
  }
  .gallery .image img{
    height: 150px;
    object-fit: scale-down;
  }
  
  /*.image img {*/
  /*  height: auto;*/
  /*  width: 100%;*/
  /*}*/

  #imageGalleryOffcanvas{
    width: 33.3% !important;
  }
  #imageGalleryLoader{
    width: 66.6% !important;
  }
  #imgGallerySearch{
    width: 33.3% !important;
  }
  
  /* Responsive-ness for different screen-sizes */
  @media screen and (max-width: 810px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    .filter_options .responsive-border{
        border-right: none !important;
    }
  }
  
  @media screen and (max-width: 500px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media screen and (max-width: 400px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 1380px) {
    .image-grid{
        height: calc(80vh - 60px);
    }
   
  }
@media (max-width: 767.98px) {
    /* .preview-content{
        position: fixed;
        top: 77px;
        left: 0;
        height: calc(100% - 77px);
       overflow-y: auto;
    } */
    .image-details{
        display:none;
    }
    .image-grid{
        /*height: 100%; */
        overflow-y: scroll;
    }
    .gallery_modal_body{
        overflow-y: auto;
    }
    .gallery_arrow{
        display: block;
    }
    .gallery_link_text{
        flex-wrap: wrap;
    }
    #image_gallery_modal_template .gallery_modal_body{
        overflow: scroll;
    }
    .responsive-border{
        border: none !important;
        margin-top: 15px !important;
    }
    .responsive-filter{
        display: flex;
        align-items: center;
    }
    #imageGalleryOffcanvas{
        width: 100% !important;
    }
    #imageGalleryLoader{
        width: 100% !important;
    }
    #imgGallerySearch{
        width: 100% !important;
    }
    
}

.light-style body #imageGalleryModal .modal-fullscreen .modal-content .preview-content{
    background: #f2f5fb;
}
.dark-style body #imageGalleryModal .modal-fullscreen .modal-content .preview-content{
    background: #283144;
}

#crop-confirmation{
    z-index: 1200;
}

#crop-confirmation {
    background: rgba(0,0,0,0.5);
}

/* end image gallery  */

#optional-inputs{
    display: none;
}

.edit-btn{
    color: #5a8dee;
}

.edit-btn:hover{
    cursor: pointer;
}

*Loading Wheel*/
.loading-wheel-container {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 50px;
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
    z-index: 99999;
    background-color: rgba(0,0,0,.5);
}
.loading-wheel {
    width: 20px;
    height: 20px;
    margin-top: -40px;
    margin-left: -40px;
    
    position: absolute;
    top: 50%;
    left: 50%;
    
    border-width: 30px;
    border-radius: 50%;
    -webkit-animation: spin 1s linear infinite;
}
#stripePayment-offcanvas-loading{
    display: none;
}

.loading-wheel-message-gray {
    width: 60%;
    height: 40px;
    text-align:center;
    position: absolute;
    top: 35%;
    left: 20%;
    font-size: 1rem;
}
.loading-wheel-message {
    width: 60%;
    height: 40px;
    text-align:center;
    position: absolute;
    top: 35%;
    left: 20%;
    color:#fff;
    font-size: 1rem;
}
.loading-wheel-style .loading-wheel {
    border-style: double;
    border-color: #ccc transparent;
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
    }
}


.dropify-wrapper .dropify-message span.file-icon p {
    font-size:14px;
}
.dropify-preview {
    background: repeating-conic-gradient(#eeeeee 0% 25%, #ffffff 0% 50%) 50% / 10px 10px;
}
.dropify-clear {
    background: #ccc;
}
.dropify-clear:hover {
    background: #ccc;
}
.dropify-render img {
    background: transparent !important;
}

.truncate-table-cell-300 {
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;    
}