﻿:root {
   /* Colors: */
   --unnamed-color-ffffff: #FFFFFF;
   --green-900: #000C08;
   --product-light-orange-700: #D34022;
   --product-light-orange-200: #FCE2CD;
   --product-orange-100: #FEF7F5;
   --product-light-orange-400: #F6A869;
   --product-orange-800: #3B1710;
   --product-orange-300: #F6AD9F;
   --product-navy-600: #001B3E;
   --info-blue-100: #F2FAFD;
   --info-blue-200: #BFE5F4;
   --green-400: #40997B;
   --green-300: #80BBA7;
   --green-200: #BFDDD3;
   --mitra-blue-900: #00050B;
   --green-500: #00774E;
   --mitra-blue-400: #408DDE;
   --product-navy-100: #F2F4F6;
   --product-green-200: #C5EBC2;
   --product-green-300: #8CD786;
   --product-green-400: #53C34A;
   --product-green-500: #19AF0D;
   --product-purple-600: #4A2268;
   --product-purple-700: #311644;
   --product-blue-600: #088FA5;
   --product-light-orange-800: #3D230E;
   --product-light-orange-100: #FEF9F5;
   --product-light-orange-900: #180D05;
   --product-orange-200: #FAD6CF;
   --product-purple-500: #632D8A;
   --product-purple-400: #8A62A8;
   --info-blue-500: #0099D2;
   --product-navy-400: #405B7E;
   --product-navy-900: #000408;
   --product-navy-800: #000915;
   --product-navy-700: #001229;
   --product-orange-600: #B2442F;
   --product-orange-400: #F2846F;
   --product-light-orange-600: #B66829;
   --red-300: #E69093;
   --product-blue-200: #C2EFF6;
   --product-blue-100: #F3FCFD;
   --product-navy-200: #BFC8D4;
   --product-purple-100: #F7F4F9;
   --mitra-blue-600: #004D9E;
   --red-600: #9A181D;
   --red-800: #33080A;
   --red-100: #FCF4F4;
   --red-200: #F2C7C9;
   --product-light-orange-500: #F38A37;
   --product-navy-300: #8092A9;
   --product-purple-300: #B196C4;
   --mitra-blue-700: #003368;
   --product-orange-500: #ED5B3E;
   --cool-gray-900: #07080A;
   --red-400: #DA585D;
   --product-navy-500: #002453;
   --product-light-orange-300: #F9C49B;
   --cool-gray-400: #ABBDCF;
   --cool-gray-300: #C7D3DF;
   --red-500: #CD2026;
   --cool-gray-100: #F9FAFC;
   --info-blue-300: #80CCE8;
   --info-blue-400: #40B3DE;
   --info-blue-600: #00739E;
   --info-blue-700: #004C68;
   --yellow-600: #BF7317;
   --yellow-500: #FF991F;
   --yellow-400: #FFB357;
   --yellow-300: #FFCC8F;
   --yellow-200: #FFE5C7;
   --cool-gray-600: #6B7D8F;
   --cool-gray-200: #E3E9EF;
   --mitra-blue-100: #F2F7FD;
   --mitra-blue-200: #BFD9F4;
   --mitra-blue-300: #80B3E8;
   --mitra-blue-500: #0067D2;
   --cool-gray-500: #8FA7BF;
   --cool-gray-700: #47535F;
   --mitra-blue-800: #001A35;
   --cool-gray-800: #242A30;
   /* Font/text values */
   --unnamed-font-family-poppins: Poppins;
   --unnamed-font-style-normal: normal;
   --unnamed-font-weight-normal: normal;
   --unnamed-font-weight-medium: medium;
   --unnamed-font-size-18: 18px;
   --unnamed-font-size-20: 20px;
   --unnamed-character-spacing-0: 0px;
   --unnamed-line-spacing-28: 28px;
   --unnamed-line-spacing-36: 36px;
}

/* Character Styles */
.unnamed-character-style-1 {
   font-family: var(--unnamed-font-family-poppins);
   font-style: var(--unnamed-font-style-normal);
   font-weight: var(--unnamed-font-weight-medium);
   font-size: var(--unnamed-font-size-18);
   line-height: var(--unnamed-line-spacing-36);
   letter-spacing: var(--unnamed-character-spacing-0);
   color: var(--unnamed-color-ffffff);
}

.unnamed-character-style-2 {
   font-family: var(--unnamed-font-family-poppins);
   font-style: var(--unnamed-font-style-normal);
   font-weight: var(--unnamed-font-weight-medium);
   font-size: var(--unnamed-font-size-18);
   line-height: var(--unnamed-line-spacing-28);
   letter-spacing: var(--unnamed-character-spacing-0);
   color: var(--unnamed-color-ffffff);
}

.unnamed-character-style-3 {
   font-family: var(--unnamed-font-family-poppins);
   font-style: var(--unnamed-font-style-normal);
   font-weight: var(--unnamed-font-weight-medium);
   font-size: var(--unnamed-font-size-20);
   line-height: var(--unnamed-line-spacing-36);
   letter-spacing: var(--unnamed-character-spacing-0);
   color: var(--mitra-blue-800);
}

.unnamed-character-style-4 {
   font-family: var(--unnamed-font-family-poppins);
   font-style: var(--unnamed-font-style-normal);
   font-weight: var(--unnamed-font-weight-normal);
   font-size: var(--unnamed-font-size-18);
   line-height: var(--unnamed-line-spacing-28);
   letter-spacing: var(--unnamed-character-spacing-0);
   color: var(--cool-gray-400);
}

/* tree view */
#treeViewHolderTitle .mainItems {
   font-weight: bold;
   font-size: medium;
   color: #22529E;
   white-space: normal;
   display: inline-block;
   zoom: 1;
}

.treeViewNode {
   font: var(--unnamed-font-style-normal) normal var(--unnamed-font-weight-medium) var(--unnamed-font-size-20)/var(--unnamed-line-spacing-36) var(--unnamed-font-family-poppins);
   color: var(--mitra-blue-800);
   font-weight: 600;
   width: 100%;
}

.treeViewLeafNode {
   font: var(--unnamed-font-style-normal) normal var(--unnamed-font-weight-medium) var(--unnamed-font-size-20)/var(--unnamed-line-spacing-36) var(--unnamed-font-family-poppins);
   letter-spacing: var(--unnamed-character-spacing-0);
   color: var(--mitra-blue-800);
   font-weight: 600;
   cursor: pointer;
}

#myLibraryTreeView_tvDocLib table {
}

.cursor-pointer {
   cursor: pointer;
}

#treeViewHolder {
   margin-top: 20px;
   margin-left: 4px;
}

#gridviewHolder {
   margin-right: -10px;
}

#myLibraryTreeView_tvDocLib table td:nth-last-child(3) a {
   padding-right: 5px;
   display: block;
}

#myLibraryTreeView_tvDocLib table td:nth-last-child(2) a {
   padding-right: 10px;
   display: block;
}

#myLibraryTreeView_tvDocLib table td {
   min-width: 23px;
}

   #myLibraryTreeView_tvDocLib table td:last-child {
      padding-right: 10px;
   }

   #myLibraryTreeView_tvDocLib table td:first-child {
      padding-left: 23px;
      min-width: 46px;
   }

#treeViewHolderTree > a:first-of-type(0) {
   display: none;
}

.documentLibraryDocumentTypeHeader {
   width: 20px;
}

.ph-mylibrary-content {
   min-height: calc(100vh - 355px);
}

.ph-hover-external-link {
   color: var(--cool-gray-700) !important;
   text-decoration: none !important;
   font-size: 20px !important;
   padding-left: 0.75rem !important;
   font-weight: normal !important;
}

.treeViewHolderButtons .treeViewListDocImage {
   background: url(../../Images/NewUI/file-description.svg) no-repeat;
   height: 28px;
   width: 34px;
}

.treeViewHolderButtons .tvCollapseBtn {
   /*background: url(../../Images/NewUI/square-minus.svg) no-repeat;*/
   height: 24px;
   width: 24px;
   cursor: pointer;
}

.treeViewHolderButtons .tvExpandBtn {
   /*background: url(../../Images/NewUI/square-plus.svg) no-repeat;*/
   height: 24px;
   width: 24px;
   cursor: pointer;
}

.treeCollapseImage {
   /*background: url(../../Images/NewUI/collapase_Icon.svg) no-repeat;*/
   height: 28px;
   width: 34px;
}

.treeExpandImage {
   /*background: url(../../Images/NewUI/expand_Icon.svg) no-repeat;*/
   height: 28px;
   width: 34px;
}


.tvTitle {
   color: var(--mitra-blue-500);
   font-size: var(--unnamed-font-size-18);
   font-weight: 600;
   text-wrap: nowrap;
   white-space: nowrap;
   padding-right: 6px;
}
.text-wrap-nowrap {
   margin-bottom: 0px;
   text-wrap: nowrap;
   white-space: nowrap;
}
#treeViewHolderTitleButtons {
   margin-top: 5px;
}

#myLibraryTreeView_tvDocLib {
   margin-top: -10px;
}

#treeViewHolderTree table {
   height: 45px;
   border-left: 2px solid #FFFFFF;
   border-width: 2px!important;
}

.treeViewNodeText {
   color: var(--mitra-blue-500);
   text-align: left;
   letter-spacing: 0px;
   opacity: 1;
   font-size: var(--font-size-18);
   text-wrap: nowrap;
   white-space: nowrap;
}

.treeViewDivNode {
   margin-top: 5px;
   line-height: 30px;
}

.treeViewSearchDocImage {
   background: url(../../Images/NewUI/Search_Document.svg) no-repeat;
   height: 28px;
   width: 34px;
}

.treeViewPubHistoryImage {
   background: url(../../Images/NewUI/Publication_History.svg) no-repeat;
   height: 24px;
   width: 34px;
}

.treeViewCompletedCoursesImage {
    background: url(../../Images/NewUI/test_questionnaire_completed.svg) no-repeat;
    background-size: contain;
    height: 24px;
    width: 34px;
}

#txtSearch {
   border-radius: 0 4px 4px 0;
   Font-family: Poppins; 
   font-size: 16px!important; 
   font-weight: 500;
   color: #001A35;
}

#txtSearch:focus, #txtSearch:hover {
   /*we need to work on this while workin on search functinality*/
   border-left: none;
   z-index: 0;
}

.search-text-field-icon {
   position: absolute;
   top: 8px;
   right: 12px;
}

.form-check-label {
   color: #001A35;
   font-family: Poppins;
   font-weight: 500;
   font-size:16px;
}

#searchButtonlnk {
   font-weight:600;
   font-family:Poppins;
   font-size:16px;
}

#searchSelectedFolderOnlyChkBox {
   width: 20px;
   height: 20px;
   margin-top: 2px;
   margin-bottom: 3px;
}

#searchSelectedFolderOnlyChkBox:focus-visible {
   border: 2px solid var(--mitra-blue-400) !important;
}
#checkBoxSelected:focus-visible, #searchSelected:focus-visible {
   outline: revert;
}

.ph-date-picker:focus, .ph-date-picker:hover{
   /*we need to work on this while workin on search functinality*/
   border-right: none !important;
   z-index: 0;
}

.ui-datepicker {
   width: 18rem;
   height: 17rem;
   border: none !important;
   box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
}

.ui-datepicker-calendar .ui-state-active {
   font-weight: bold !important;
}

.datePickerRange, .datePickContainer, .datePickerKeepTogether {
   display: inline-block;
   zoom: 1;
   padding-left: 2px;
}

#myLibraryGrid_imbExportPublicationHistory:hover, #myLibraryGrid_imbExportPublicationHistory:focus {
   border: 0 !important;
}

.pubHistoryFilterControlHolderSection{
   width: 20%;
}

.datePickerRange{
   width: 60%;
}

/* classification model css start*/
html body #selectButtons .selectButton {
   width: 40px;
   height: 40px;
   border: none;
   background-repeat: no-repeat;
   background-position: 50% 50%;
   cursor: pointer;
   float: left;
   margin: 10px;
   z-index: 2;
}

#selectButtons #addSelected {
   background-image: url(../../Images/NewUI/Classifications/arrow-left.svg) !important;
}

   #selectButtons #addSelected.disable {
      background-image: url(../../Images/NewUI/Classifications/arrow-left-gray.svg) !important;
      cursor: not-allowed;
   }

#selectButtons #removeSelected {
   background-image: url(../../Images/NewUI/Classifications/arrow-right.svg) !important;
}

   #selectButtons #removeSelected.disable {
      background-image: url(../../Images/NewUI/Classifications/arrow-right-gray.svg) !important;
      cursor: not-allowed;
   }

.custom-checkbox-class input[type="checkbox"] {
   margin-right: 0.75rem;
   margin-top: 0.75rem;
   width: 16px;
   height: 16px;
   border: 1px solid var(--cool-gray-700) !important;
   border-radius: 0.25em;
   -webkit-appearance: none;
}
.custom-checkbox-class input[type="checkbox"]:checked {
   -webkit-appearance: checkbox;
   -moz-appearance: initial;
   appearance: revert;
}

#checkBoxSelected, #searchSelected {
   width: 16px;
   height: 16px;
   opacity: 1;
   border: 1px solid var(--cool-gray-700) !important;
}
.custom-checkbox-class label {
   bottom: 2px;
   position: relative;
   cursor: pointer;
}

@-moz-document url-prefix() {
   .custom-checkbox-class label {
      bottom: 3px;
      position: relative;
   }

   .model-classification-descripiton {
      position: relative;
   }

   .classication-grid-title-col {
      bottom: 1px;
      position: relative;
   }

   #checkBoxSelected, #searchSelected {
      width: 18px;
      height: 18px;
      border: 2px solid #9da3a8 !important;
      border-radius: .25em;
   }

   .custom-checkbox-class input[type="checkbox"] {
      width: 18px;
      height: 18px;
      border: 2px solid #9da3a8 !important;
      border-radius: .25em;
   }
}

.slick-sort-indicator-desc {
   background-image: url(../../images/NewUI/sort-down.png) !important;
}

.slick-sort-indicator-asc {
   background-image: url(../../images/NewUI/sort-up.png) !important;
}

.slick-sort-indicator {
   display: inline-block;
   background-repeat: no-repeat;
   position: relative;
   top: 1px;
   height: 23px;
   width: 18px;
   background-size: contain;
}


#selectedIndicator, #availableIndicator {
   background-color:transparent;
   border:none;
}

i.fa.fa-ellipsis-h.ph-dropdown-caret-icon {
   top: 6px;
   padding: 2px 7px 0 7px;
   border-radius: 7px;
   font-size: 20px;
   right: -4px;
   border: 1px solid var(--cool-gray-800);
   color: var(--cool-gray-800);
}

   i.fa.fa-ellipsis-h.ph-dropdown-caret-icon:hover {
      border: 1px solid var(--mitra-blue-500);
      color: var(--mitra-blue-500);
   }

#selectButtons {
   position: absolute;
   top: 30%;
}
#searchByDocClassification {
   padding-right: 40px;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

#searchByDocClassification:hover {
   cursor: pointer;
}

.model-classification-descripiton {
   font-size: 16px;
   font-weight: normal;
   color: var(--mitra-blue-800);
   padding-right: 10px;
}

.reset-font {
   font-size: 18px;
}

.classification-cancelbutton {
   margin-left: 16px !important;
}

.classification-box {
   height: calc(100vh - 70vh);
   display: grid;
   overflow: auto;
   border: 1px solid #CFD4D9;
   border-radius: 5px;
   padding-right: 0px;
}

.classication-grid-title {
   overflow: auto;
   margin-top: 1px;
   bottom: 2px;
   position: relative;
}

.classification-grid {
   height: 29.6vh;
   display: block;
   overflow: auto;
   width: 100%;
   text-wrap: nowrap;
   white-space: nowrap;
}

input[type="checkbox"]:disabled {
   cursor: not-allowed; /* Change cursor to "not-allowed" */
   background-color: var(--cool-gray-400) !important;
}

#modalClassificationsList .form-check-input[type="checkbox"]:checked {
   -webkit-appearance: checkbox;
   -moz-appearance: initial;
   appearance: revert;
}

/* classification model css end*/
/*other browsers except mozilla*/
#searchByDocDescription::-webkit-input-placeholder, #searchByDocName::-webkit-input-placeholder,
#searchByDocSource::-webkit-input-placeholder,
#txtStartDate::-webkit-input-placeholder, #txtEndDate::-webkit-input-placeholder, #searchByDocClassification::-webkit-input-placeholder {
   color: transparent;
}
/*mozilla placeholder*/
#searchByDocDescription::-moz-placeholder, #searchByDocName::-moz-placeholder,
#searchByDocSource::-moz-placeholder,
#txtStartDate::-moz-placeholder, #txtEndDate::-moz-placeholder, #searchByDocClassification::-moz-placeholder {
   color: transparent;
}

#myLibraryGrid_grdSearchDocs li.ph-file-icon, #myLibraryGrid_grdDocumentLibrary li.ph-file-icon {
   padding-right: 10px;
}

.myLibraryGrid-Collapse {
   flex-grow: 1; /* Takes remaining space */
   min-width: 0; /* Ensures it shrinks properly */
}

.ph-mylibrary-content-sidebar-Collapse {
   flex: 0 0 3%;
   overflow-x: hidden;
}

#treeViewHolderInner-Collapse {
   justify-content: center;
   align-items: center;
}

.HideContent {
   display: none;
}

.ShowContent {
   display: block;
}

.document-container {
   display: flex;
   /* No explicit width: .ph-mylibrary-content is a Bootstrap .row that spans its parent via
      negative side margins, which only works with width:auto. Forcing a width (100vw overflowed
      the viewport and clipped the grid's scrollbar; 100% left a gap because the negative margins
      still shifted the row) breaks that — let the row size naturally, as it does when expanded. */
}

.collapseIcons {
   padding-left: 10px;
   margin-bottom: 25px;
}

.collapseContent {
   margin-left: 0px;
}

.tvSearchDocCollapsePadding {
   padding-top: 8px !important;
   padding-bottom: 2px !important;
}

.tvPublicationCollapsePadding {
   padding-top: 9px !important;
   padding-bottom: 9px !important;
}

.tvDocumentsCollapsePadding {
   padding-bottom: 9px !important;
}

.tvDocumentLibraryCollapse {
   margin-bottom: -20px;
   margin-top: -12px;
}

#treeViewHolderInner #libCollapseTitle {
   margin-bottom: 12px;
   margin-left: -3px;
}

#treeViewHolderInner-Collapse #libCollapseTitle {
   margin-left: -3px;
}


.treeViewHolder-Alignment {
   display: flex;
   justify-content: center;
   align-items: center;
   margin-left: -9px!important;
}
.collapseIconsPubHistory {
   padding-left: 10px;
}

.highlight-keyword {
   background-color: #FCE2CD;
}

.excerpt-content:empty {
   display: none;
}

.excerpt-content:not(:empty)::before {
   content: '"..';
}
.excerpt-content:not(:empty)::after {
   content: '.."';
}
*:has(> .excerpt-content) {
   background-color: #F9FAFC;
}
#txtCollapse {
   font-size: 18px !important;
   margin-left: 35px !important;
   margin-top: -28px !important;
}
.collapseImg {
   margin-bottom: 9px !important;
}
.showPubHistoryIcon {
   margin-top: -5px !important;
}

/* Completed Courses thumbnail card grid */
.ph-completed-courses-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
   gap: 28px;
   align-items: start;
   padding: 28px 32px;
   box-sizing: border-box;
}

.ph-course-card {
   background: #FFFFFF;
   border: 1px solid #E3E9EF;
   border-radius: 6px;
   box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
   overflow: hidden;
   display: flex;
   flex-direction: column;
}

.ph-course-card-thumb {
   position: relative;
   padding-top: 56.25%; /* 16:9 aspect ratio */
   background: var(--cool-gray-200);
   overflow: hidden;
}

.ph-course-card-thumb-inner {
   position: absolute;
   inset: 0;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}

.ph-course-card-score-badge {
   position: absolute;
   top: 10px;
   right: 10px;
   background: #C0DED4;
   color: #00593a;
   font-size: 12px;
   font-weight: 600;
   padding: 3px 10px;
   border-radius: 6px;
}

.ph-course-card-body {
   padding: 14px 16px 12px;
   display: flex;
   flex-direction: column;
   gap: 6px;
   flex: 1;
}

.ph-course-card-title {
   font-size: 16px;
   font-weight: 600;
   color: var(--mitra-blue-500);
   line-height: 21px;
}

.ph-course-card-footer {
   display: flex;
   align-items: center;
   justify-content: space-between;
   border-top: 1px solid var(--cool-gray-200);
   padding-top: 10px;
   margin-top: 4px;
}

.ph-course-card-date {
   font-size: 13px;
   color: var(--cool-gray-700);
}

.ph-course-card-cert {
   display: flex;
   align-items: center;
   gap: 5px;
   font-size: 13px;
   font-weight: 600;
   color: var(--mitra-blue-500);
   text-decoration: none;
}

.ph-course-card-cert:hover {
   text-decoration: underline;
}