.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}
.btn-primary{
    background-color: #DA1F2C !important;
    color: #fff !important;
    outline: none;
    border: none !important;
}
.btn-default{
    background-color: #3c4b64 !important;
    color: #fff !important;
    border: none;
}



/* Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body{
    background-color: #EBEFF5 !important;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    color: #111C2D;
}
button{
    box-shadow: none;
    border: none;
    background-color: transparent;
    padding: 0;
}
.loginCard{
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 24px;
    max-width: 558px;
    width: 100%;
}
.logo{
    height: 85px;
}
.logo img{
    object-fit: contain;
}
.mb-20{
    margin-bottom: 20px;
}
.fs-32{
    font-size: 32px;
}
.mb-30{
    margin-bottom: 30px;
}
.fw-600{
    font-weight: 600;
}
.fw-500{
    font-weight: 500;
}
.fs-14{
    font-size: 14px;
}
.mb-8{
    margin-bottom: 8px;
}
input,textarea{
    padding: 11px 16px;
    border: 1px solid #E4EBF0;
    border-radius: 8px;
    background-color: white;
    font-size: 14px;
    line-height: 20px;
    width: 100%;
    border-radius: 8px;
    color: #333333;
}
textarea{
    min-height: unset !important;
}
input:focus,textarea:focus{
    outline: 0;
    box-shadow: none;
}
label{
    display: block;
}
a,a:hover{
    text-decoration: none;
}
.button{
    width: fit-content;
    white-space: nowrap;
    background: #1865FF;
    color: white !important;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    border-radius: 8px;
    border: none;
    padding: 12px 16px;
    gap: 10px;cursor: pointer;
}

.button:disabled,
.button[disabled]{
  background-color: #cccccc;
  color: #666666;
}

.c-sidebar,.c-sidebar .c-sidebar-brand, .c-sidebar .c-sidebar-header{
    background-color: transparent;
}
.c-sidebar{
    padding: 20px
}
.logo-image{
    height: 81px ;
    object-fit: contain;
}
.c-sidebar .c-sidebar-brand{
    padding: 9px 0 !important;
    margin-bottom: 30px;
    border: none !important;
}
.c-sidebar-nav{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.c-sidebar-nav-link.c-active,.c-sidebar-nav-link:hover{
    background-color:#0B1634 !important;
    color: white !important;
}
.c-sidebar-nav-link{
    padding: 12px 15px !important;
    gap: 15px ;
    border-radius: 8px !important;
    color: #0B1634 !important;
    font-size: 16px;
    font-weight: 500;
}
.c-sidebar-nav-item{
    padding: 0 !important;
}
.c-sidebar-nav-link:hover img{
    filter: brightness(0) invert(1);
}
.c-header-toggler{
    position: fixed ;
    top: calc(100% - 120px);
    padding: 0 !important;
    left: 230px;
}
.c-header.c-header-fixed{
    padding: 0 !important;
    height: 0  !important;
    min-height: 0 !important;
    border: 0 !important;
}
.c-main{
    padding: 20px 0;
    padding-right: 20px;
}
.dataTables_length{
    display: none !important;
}
.fs-20{
    font-size: 20px;
}
.cardTable{
    padding: 30px ;
    border-radius: 10px;
    background-color: white;
}
.dataTables_filter {
    position: absolute !important;
    margin: 0 !important;
    top: -64px;
    z-index: 1;
    float: unset !important;
    right: 192px;
}
.dataTables_filter label{
    font-size: 00;

}
.table-responsive{
    overflow: unset !important;
}
.dataTables_filter label{
    background-color: #ECEFF7 !important;
    border: 0 !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    border-radius: 50px !important;
    line-height: 20px !important;
    width: 458px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
}
.dataTables_filter input{
    background-color: #ECEFF7 !important;
    border: 0 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    height: 20px !important;
}
th{
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: #ECEFF7 !important;
    color: #000000 !important;
    border-color: #8C8C8C33 !important;
    padding: 16px !important;
    border-top: none !important;
}
td{
    background-color: white !important;
    border-color: #8C8C8C33 !important;
    vertical-align: middle !important;
    padding: 16px !important;
    color: #0B1634 !important;
    font-size: 14px !important;
    white-space: wrap;
    word-break: break-all;
}
td:not(:first-child){
    min-width: 250px;

}
tr td:not(tr td:first-child, tr td:nth-child(2)),tr th:not(tr th:first-child, tr th:nth-child(2)){
    text-align: center !important;
}
table.dataTable.no-footer{
    border-color: #8C8C8C33 !important;
    border-radius: 12px !important;
    overflow: hidden;

}
div.table-responsive>div.dataTables_wrapper .row:nth-child(2) .col-sm-12{
    overflow-x: auto;
}
table.dataTable{
    width: 100% !important;
}
.gap-20{
    gap: 20px;
}
.paginate_button{
    padding: 0 !important;
    margin:  0 !important;
    border:  0 !important;
    background: transparent !important;
}
.paginate_button a{
    border: 1px solid #EBEFF5 !important;
    font-size: 16px !important;
    background-color: transparent !important;
    border-radius: 6px !important;
    line-height: 20px !important;
    color: #0B1634 !important;
    margin: 0 !important;
    display: flex;
    width: 38px;
    justify-content: center;
    align-items: center;
    height: 38px;
    padding: 0 !important;
}
.paginate_button.active a{
    border-color: #0B1634 !important;
    background-color: #0B1634 !important;
    color: white !important;
}
.paginate_button:first-child,.paginate_button:last-child,.paginate_button:first-child a,.paginate_button:last-child a{
    padding: 0 !important;
    border: 0  !important;
}
.pagination{
    gap: 10px;
}
.paginate_button:last-child img{
    transform: rotate(180deg);
}
.previous{
    height: 38px;
    width: 38px;
}
.card20{
    padding: 20px;
    border-radius: 24px;
    background-color: white;
}
.divider10{
    margin: 10px 0;
    height: 1px;
    width: 100%;
    background-color: #8C8C8C33;
}
.divider20{
    height: 1px;
    width: 100%;
    background-color: #8C8C8C33;
    margin: 20px 0;
}
th:first-child{
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
}
table.dataTable{
    width: calc(100% - 2px) !important; 
}
.fs-18{
    font-size: 18px;
}
.gridInput{
    grid-template-columns: repeat(2,1fr);
    display: grid;
    gap: 20px;
}
.twoSpace{
    grid-column: span 2 ;
}
.custom-checkbox {
    display: flex;
    align-items: center;
    color: #0f172a;
    cursor: pointer;
    margin: 0;
    gap: 10px;
  }
  
  .custom-checkbox input {
    display: none;
  }
  
  .custom-checkbox .checkmark {
    width: 32px;
    height: 32px;
    border: 1px solid #E4EBF0;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
  }
  
  .custom-checkbox input:checked + .checkmark {
    background-color: #1865FF; 
    border-color: #1865FF;
  }
  
  .custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 11px;
    top: 5px;
    width: 8px;
    height: 15px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  
  .custom-checkbox input:checked + .checkmark::after {
    display: block;
  }
  
  .upload-container {
    margin-bottom: 30px;
    position: relative;
    width: 100%;
  }

  .upload-box {
    border: 1px solid #E4EBF0;
    border-radius: 8px;
    text-align: center;
    padding: 30px;
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .upload-label {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
  }

  .upload-box span {
    pointer-events: none;
  }

  .upload-box input[type="file"] {
    display: none;
  }

  .image-preview {
    position: relative;
    display: block;
    height: 220px;
    border-radius: 8px;
    background: #ECF0F1;
    text-align: center;
  }

  .image-preview img {
    max-height: 220px;
    border-radius: 8px;
    height: 100%;
    width: 100%;
    object-fit: contain;
  }

  .delete-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
    display: none;
  }

  .image-preview:hover .delete-icon {
    display: block;
  }

  .mb-16{
    margin-bottom: 16px;
  }

  .gray{
    color: #333333;
  }
  .o5{
      opacity: 0.5;
  }
  .fs-12{
    font-size: 12px;
  }
  .stepContainer{
    max-width: 250px;
  }
  .button2{
    background: #ECF0F1;
    border-radius: 12px;
    height: 40px;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
  }
  .button3{
    background-color: #FFFFFF;
    color: #333333 !important;
}
.modal-footer{
    gap: 10px;
}
.button5{
    background: #333333 !important;
    color: #FFFFFF !important;
  }
  .px-32{
    padding-left: 32px;
    padding-right: 32px;
    letter-spacing: 0.8px;
    border-radius: 12px;
  }
  .button4{
    background-color: transparent;
    color: #333333 !important;
  }

  .fs-10{
    font-size: 10px;
  }
 
  .galleryContainer{
    width: fit-content;
    display: inline-block;
  }
  .gallery-area input{
    width: fit-content;
  }
 
  .galleryContainer .upload-box{
    padding: 19px 16px;
    height: 80px;
    max-width: 160px;
    width: 160px;
  }
  .galleryContainer .uploadImage,.addGallery .uploadImage{
    width: 20px;
    height: 20px;
  }
  .galleryContainer .image-preview{
    width: 160px;
    height: 80px;
  }
  .addGallery{
    display: inline-block;
    padding: 19px 16px;
    height: 80px;
    max-width: 160px;
    width: 160px;
    border-style: dashed;
  }
  button:focus{
    outline: none !important;
    box-shadow: none !important;
  }
  .gap-8{
    gap: 8px;
  }
  .galleryContainer .delete-icon{
    font-size: 10px;
  }

  .is-invalid {
    border-color: #dc3545;
}
  .mobileFont{
    display: none;
  }
   .page-link{
    box-shadow: none !important;
    outline: none !important;
  }
  @media (max-width:1549.98px) {
    .loginCard {
        padding: 20px;
        border-radius: 18px;
        max-width: 400px;
        margin: auto;
    }    
    .mb-30 {
        margin-bottom: 20px;
    }
    .fs-32 {
        font-size: 26px;
    }
    .logo{
        height: 65px;
    }
    .c-sidebar{
        width: 180px !important;
        padding: 12px;
    }
    .logo-image {
        height: 60px;
        width: 100%;
    }
    .c-sidebar .c-sidebar-brand {
        padding: 7px 0 !important;
        margin-bottom: 20px;
    }
    .c-sidebar-nav-link {
        padding: 8px 11px !important;
        gap: 10px;
        border-radius: 6px !important;
        font-size: 12px;
    }
    .c-sidebar-nav-link img{
        height: 18px;
        width: 18px;
    }
    .c-wrapper{
        margin-left: 180px !important;
    }
    .c-main {
        padding: 16px 0;
        padding-right: 16px;
    }
    .cardTable {
        padding: 20px;
        border-radius: 8px;
    }
    .fs-20 {
        font-size: 16px;
    }
    .button {
        font-size: 13px;
        height: 40px;
        border-radius: 6px;
        padding: 10px 12px;
        gap: 6px;
    }
    .alert {
        padding: 10px 12px !important;
        margin-bottom: 12px !important;
        border-radius: .25rem !important;
        font-size: 12px !important;
    }
    .button img{
        height: 18px;
        width: 18px;
    }
    th,td{
        font-size: 12px !important;
        padding: 10px !important;
    }
    .tableimage img{
        height: 18px;
        width: 18px;
    }
    .gap-20{
        gap: 12px;
    }
    .dataTables_info{
        font-size: 12px;
    }
    .paginate_button a {
        font-size: 12px !important;
        border-radius: 4px !important;
        line-height: 16px !important;
        width: 30px;
        height: 30px;
    }
    .search-icon{
        height: 18px;
        width: 18px;
    }
    .previous,.next {
        height: 30px;
        width: 30px;
    }
    .pagination {
        gap: 6px;
    }
    .card20 {
        padding: 16px;
        border-radius: 16px;
    }
    .mb-20 {
        margin-bottom: 16px;
    }
    label{
        font-size: 12px;
        margin-bottom: 6px;
    }
    input, textarea {
        padding: 8px 10px;
        font-size: 12px;
        line-height: 16px;
        border-radius: 6px;
    }
    .custom-checkbox .checkmark {
        width: 24px;
        height: 24px;
        border-radius: 4px;
    }
    .custom-checkbox .checkmark::after {
        left: 8px;
        top: 4px;
        width: 6px;
        height: 12px;
    }
    .upload-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .upload-box {
        border-radius: 6px;
        padding: 20px;
        height: 160px;
    }
    .uploadImage{
        height: 22px;
        width: 22px;
    }
    .mb-16{
        margin-bottom: 10px;
    }
    .fs-14 {
        font-size: 11px;
    }
    .fs-12 {
        font-size: 10px;
    }
    textarea{
        height: 88px;
    }
    .stepContainer {
        max-width: 180px;
    }
    .button2 {
        border-radius: 8px;
        height: 35px;
        padding: 0 12px;
        font-size: 12px;
    }
    .addGallery {
        display: inline-block;
        padding: 19px 16px;
        height: 80px;
    }
    .addGallery{
        height: unset;
    }
    .px-32 {
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 8px;
    }
    .image-preview img ,.image-preview {
        height: 160px;
        border-radius: 6px;
    }
    .image-preview img{
        max-height: 160px;
    }
    .delete-icon{
        display: block;
        padding: 5px 8px;
        font-size: 10px;
    }
    .dataTables_filter label {
        padding: 10px 12px !important;
        font-size: 12px !important;
        width: 366px;
        gap: 8px;
    }
    .dataTables_filter {
        top: -55px;
        right: 148px;
    }
  }
  @media (max-width: 991.98px) {
    .windowScreen {
      display: none !important;
    }
    .max300 {
        font-size: 28px;
        line-height: 1.2;
        font-weight: 600;
        max-width: 500px;
        padding: 0 16px;
        text-transform: capitalize;
      }
    .mobileFont {
      display: block;
      background-color: rgba(0, 0, 0, 0.718);
      color: white;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      min-height: 300px;
      width: 100%;
    }
    

}
