/* loading ajax div */
#loading {
    position: fixed;
    left: 46%;
    top: 40%;
    z-index: 10000;
    height: 31px;
    width: 31px;
    display: none;
}

.middlePartMain .page-item.active .page-link {
    font-family: "Open Sans";
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    background-color: #ef7900;
    border: 1px solid #ef7900;
}
.middlePartMain .page-link:hover {
    z-index: 2;
    color: #fff;
    text-decoration: none;
    background-color: #ef7900;
    border-color: #ef7900;
}
.middlePartMain .page-link {
    font-family: "Open Sans";
    font-size: 13px;
    color: #ef7900;
    font-weight: 600;
    background-color: transparent;
    border: 1px solid #ef7900;
}
.middlePartMain .dataTables_filter {
    color: #ef7900;
    float: right;
}
.middlePartMain .table-responsive {
    overflow-x: hidden !important;
}
.middlePartMain .pagination {
    float: right;
}
.error {
    color: red !important;
}
#commanModalforAll .modal-content {
    background: #fff;
    font-family: "Open Sans";
    font-size: 14px;
    color: #b8b8b8;
    font-weight: 600;
}
#commanModalforAll .modal-header {
    border-bottom: 1px solid #fff;
}
#commanModalforAll .modal-body {
    background: white;
}
#commanModalforAll .modal-footer {
    border-top: 1px solid #fff;
    background: white;
}

#guide_video_list_main {
    background-color: #fff;
    border-radius: 0 0 30px 30px;
    padding-bottom: 20px;
}

#guide_video_list .card:hover {
    cursor: pointer;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

#guide_video_list .video-thumbnail {
    position: relative;
    height: 240px;
    overflow: hidden;
}

#guide_video_list .card-body {
    background: rgba(185, 185, 185, 0.6);
    padding: 20px !important;
}
#guide_video_list .card-body .card-title {
    margin: 0px !important;
}

#guide_video_list .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Center the play icon */
#guide_video_list .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 99px;
    color: #ffffff6b;
    /* background: rgba(0, 0, 0, 0.6); */
    border-radius: 50%;
    padding: 10px;
}

#videoModal {
    z-index: 1060 !important;
}

/* Centered modal with 60% width and height */
#videoModal .modal-dialog-centered-size {
    width: 70%;
    height: 70%;
    max-width: 70%;
    max-height: 70%;
}

#videoModal .embed-responsive-item {
    background-color: black !important;
}

#videoModal .modal-content {
    height: 100%;
    border: none;
    border-radius: 0;
}
#videoModal .close-fullscreen {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 1050;
}



#guide_video_list_backend{
    display: block;
}

#guide_video_list_backend a img{
    margin-right: 10px;
    float: left;
}

#guide_video_list_backend a h6{
  color: white;
  font-size: 20px;
  float: left;
  margin-top: 7px;
}

#question_list_main .question_errors_main{
    display: inline-block;
    margin-left: 10px;
}

#question_list_main .question_errors_main:hover{
    cursor: pointer;
}

.rubric_showing_table {
    table-layout: auto; /* Default behavior for dynamic widths */
    width: 100%; /* Ensure the table spans its container */
    word-wrap: break-word; /* Break long words */
    white-space: normal; /* Allow normal wrapping of text */
}
/* Style for table cells */
.rubric_showing_table td, .rubric_showing_table th {
    text-align: center; /* Center align text (optional) */
    vertical-align: middle; /* Vertically center text */
    padding: 8px; /* Add some padding for readability */
}

/* coustom model */
/* Remove unwanted top space in modal */
.custom-center-model .modal-dialog-centered {
    margin-top: 0 !important; /* Override default top spacing */
    /* transform: translateY(10%) !important; Adjust modal to be slightly below the center */
}

/* Adjust header alignment and remove excessive padding */
.custom-center-model .modal-header {
    padding: 1rem 1.5rem !important; /* Adjust padding for better spacing */
    text-align: center; /* Center-align the title */
}

/* Ensure modal title is centered */
.custom-center-model .modal-title {
    margin: 0 auto; /* Center the title horizontally */
    font-weight: bold; /* Add emphasis to the title */
    color: #ffffff; /* Optional: Match the orange bar for text contrast */
}

/* Adjust the orange bar to look consistent */
.custom-center-model .modal-header {
    background-color: #f57c00; /* Match the orange header */
    color: #fff; /* White text for contrast */
    border-bottom: none; /* Remove border */
}

/* Remove body scroll when modal is active */
.modal {
    overflow-y: auto;
}

/* Optional: Increase modal shadow for better contrast */
.modal-content {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#special_instruction_main .textarea-row {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
#special_instruction_main .textarea-row .count {
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-weight: bold; */
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    height: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 15px;
}
#special_instruction_main .textarea-row .textarea-wrapper {
    flex: 1;
}

#inviteUserModel{
    z-index: 1060 !important;
    overflow-y: auto !important;
}

#deleteUserNoteModel{
    z-index: 1060 !important;
    overflow-y: auto !important;
}

.btn{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px !important;
}


.dropdown-menu {
    min-width: 170px; /* Adjust width to fit longer text */
}

.btn-outline-theme{
    /* background-color: #EF7900; */
    color: #EF7900;
    border-color: #EF7900;
    font-size: 16px;
    font-weight: 600;
}
.btn-outline-theme:hover{
    color: #fff;
    background-color: #EF7900;
    border-color: #EF7900;
}
.btn-success{
    font-size: 16px;
    font-weight: 600;
}
#question-bottom-bar .btn-grey{
    background-color: #5c5a5a;
    border-color: #5c5a5a;
    color: #fff;
    font-weight: 600;
}
#question-bottom-bar .btn-grey:hover{
    background-color: #5c5a5a;
    color: #fff;
}

.question-checkbox:hover{
    cursor: pointer;
}
