.AnnotationContentOverlay {
  max-width: 40%;
}
.AnnotationContentOverlay div::first-line {
 font-weight: 600;
 color: #005aaa;
 text-decoration: underline;
 font-size: 15px;
 text-transform: capitalize;
 line-height: 12px;
}
.AnnotationContentOverlay .author {
 font-weight: 700;
}
.AnnotationContentOverlay .contents,
.AnnotationContentOverlay .replies {
 margin-top: 5px;
 white-space: pre-wrap;
 font-weight: 900 !important;
}
.StatefulButton img {
 width: 35px;
}
.preview-comment {
 display: none !important;
}
.mention {
  color: blue !important;
}
.reply-content .preview-comment {
 display: block !important;
}
/*Hide Types and Colors from Filter Popup*/
.filter-options .filter:nth-child(2) , .filter-options .filter:nth-child(3),.filter-annot-clear {
 display: none !important;
}
/*Custom CSS*/

.versionHeader {
 display: flex;
 /* justify-content: space-around; */
 padding: -6px;
 font-size: 14px;
 font-weight: bold;
 margin: 10px 0px;
 width: 100%;
}
.col1Header {
 padding-left: 12px;
 width: 45%;
}
.FlyoutMenu {
 right: 18px;
 padding: 8px;
 width: 290px;
}
.FlyoutMenu .row {
 width: 100%;
 margin: 2px 0;
 justify-content: space-between;
 height: 34px;
 display: flex;
 align-items: center;
 padding-left: 14px;
 padding-right: 20px;
 cursor: pointer;
}
.version-data-row {
 padding: 0px 16px;
 color: black;
 font-weight: 200;
 font-size: 11px;
 max-height: 150px;
 overflow-y: auto;
 letter-spacing: 0px;
}
.bg_doc {
 background-color: #cfd2d5;
}
.versionData:hover {
 cursor: pointer;
 color: #005aaa;
}
.versionData {
 border-top: 1px solid #dddddde6;
 padding: 8px 2px;
}
.activeVersion {
 color: #005aaa;
 font-weight: bold;
}
.dropdown-content-version {
 position: absolute;
 background-color: #ffffff;
 width: 290px;
 padding: 5px;
 box-shadow: 1px 1px 4px 0px rgb(0 0 0 / 20%);
 z-index: 999;
 color: #005aaa;
 font-size: 12px;
 margin: 2px 0px;
}
.version-span:hover {
 cursor: pointer;
 text-decoration: underline;
}
.version-span {
 color: #fbfbfb;
 font-weight: 800;
 margin-right: 14px;
 margin-left: 7px;
 background-color: #005aaa;
 padding: 6px 18px;
 border-radius: 5px;
}
.version-content-row {
 padding: 8px 2px;
 margin: 4px;
 font-size: 13px;
 font-weight: 900;
 letter-spacing: 0px;
}
/*Custom highlight Filters*/
.tParent{
 height: 161px;
 overflow-y: scroll;
}
.apply-btn{
 color: #fff !important;
 background-color: #005aaa !important;
}
.cancel-btn{
 background-color: lightgray;
 margin-right: 1rem !important;
}
.mainParentClass{
 display: flex;
 cursor:pointer;
 margin-bottom: 0.3rem;
 align-items: center;
}
.mainParentClass input{
 width: 15px;
 height: 15px;
 margin-top: 4px;
 cursor: pointer;
}
.filterModal .CustomModal-container{
 width: 275px;
}
/*MultiView*/
.closeMultiView{
 background-color: #005aaa;
 color: #fff;
 border: 0px;
 border-radius: 5px;
 height: 27px;
 width: 27px;
 cursor: pointer;
}
.DocumentHeader .control-buttons .Button:last-child{
 display: none !important;
} 
.DropArea{
 display:  none !important;
}
.no-version-data{
 background-color: transparent !important;
 color: red;
 font-size: 14px;
 font-weight: 600;
 text-align: center;
 padding: 10px;
}
.translationModal .CustomModal-container .CustomModal-header p , .aiprompt .CustomModal-container .CustomModal-header p, .shareLinkModal  .CustomModal-container .CustomModal-header p, .tagManagementModal .CustomModal-container .CustomModal-header p{
 justify-content: center !important;
}
.translationModal .footer, .shareLinkModal .footer, .tagManagementModal .footer {
 justify-content: center !important;
}

.translationModal-options{
 border: 1px solid lightgray;
 border-radius: 5px;
 padding: 10px;
 width: auto;
 position: absolute;
 left: 0rem;
 background-color: #fff;
 top: calc(100% + -12px);
 max-height: 128px;
 overflow-y: auto;
}
.translationModal-options li{
 list-style: none;
 cursor: pointer;
 padding: 4px;
}
.translationModal-options li:hover{
 padding: 4px;
 border-radius: 3px;
 background-color: #d3d3d37d;
}
.translationModal-options input{
 cursor: pointer;
}
.disabled-button {
 cursor: not-allowed !important;
}
.aiPromptModal-body{
 background-color: #abb0c41f;
 padding: 0px !important;
 user-select: text !important;
}

.aiprompt .CustomModal-container{
overflow-y: visible;
margin-top: -90px;
width: 780px !important;
}

#aipromptdisplay{ 
 padding: 0px 5px;
 min-height: 0px;
 overflow-y: auto;
 max-height: 180px;
 margin-bottom: 1rem;
}

.aiPromptModal-header{
 padding: 0px !important;
}

.header-container{
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 16px;
 font-weight: 700;
 padding: 10px 16px 10px !important;
}
.air-prompt-options{
 display: flex !important;
 align-items: center !important;
}
.air-prompt-options input{
 width: 85%;
 padding: 7px 10px;
}

.exportAnnotationModal-body{
  background-color: #abb0c41f;
  padding: 0px !important;
  user-select: text !important;
 }
.exportprompt .CustomModal-container{
  overflow-y: visible;
  margin-top: -90px;
  width: 480px !important;
  }
#exportAnnotationText{ 
  padding: 0px 5px;
  min-height: 0px;
  overflow-y: auto;
  max-height: 180px;
  margin-bottom: 1rem;
  text-align: center;
 }
.exportAnnotationModal-header{
  padding: 0px !important;
 }
.export-header-container{
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 16px;
 font-weight: 700;
 padding: 10px 16px 10px !important;

}
.export-air-prompt-options {
  display: flex !important;
  align-items: center !important;
  flex-direction: column !important;
  gap: 1rem !important;
 }
 .export-air-prompt-options input{
  width: 100%;
  padding: 7px 10px;
 }
 
.bulb-image{
 width: 28px;
 cursor: pointer;
}
.bulbIcondisplay{
 position: relative;
}
.response-content{
 display: flex;
 align-items: center;
}
.selected-response-text{
 margin:0rem 0.5rem;
 font-weight: bold;
}
.copy-icon{
 width: 17px;
 cursor: pointer;
}
.ai-response{
 max-height: 180px;
 overflow-y: auto;
 user-select: text !important;
}
/*AI prompt loader*/
#prompt_loader {
 display: flex;
 justify-content: center;
 align-items: center;
 width: 100%;
 height: 100%;
 position: fixed;
 top: 0;
 left: 0;
 background-color: rgba(0, 0, 0, 0.5);
 z-index: 9999;
}

.loader-content {
 width: 50px;
 height: 50px;
 border: 5px solid #f3f3f3;
 border-top: 5px solid #3498db;
 border-radius: 50%;
 animation: spin 1s linear infinite;
}

@keyframes spin {
 0% {
   transform: rotate(0deg);
 }
 100% {
   transform: rotate(360deg);
 }
}
.main-container{
 position: relative;
 padding: 16px 16px 0px;
}
#generate_button{
 background-color: #005aaa;
 border: 0px;
 border-radius: 5px;
 color: #fff;
 padding: 7px;
 margin-left: .5rem;
 cursor: pointer;
}
.disable-generate-button {
 background-color: #005aaacf !important;
 cursor: not-allowed !important;
}

#cancel_button{
  border: 1px solid gray;
  border-radius: 5px;
  color: gray;
  padding: 5px 20px;
  margin-left: .5rem;
  cursor: pointer;
 }

.feedback-container{
 justify-content: end;
 display: none;
 align-items: center;
 margin: 6px 13px !important;
}
.back-icon{
 display: none;
}
.feedback-icon{
 margin-left: .5rem;
}
.feedback-icon.selected {
 cursor: not-allowed;
}
.feedback-icon.disabled {
 opacity: 0.5;
 cursor: not-allowed;
}
.feedback-icon{
 width: 38px;
 cursor: pointer;
}
.ai-loader {
 position: relative;
 width: 50px;
 height: 50px;
 margin: 0 auto 1rem;
}
.ai-loader:before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 50px;
 height: 50px;
 border-radius: 50%;
 animation-duration: 1s;
 animation-timing-function: linear;
 animation-iteration-count: infinite;
 border: 4px solid #005aaa;
 border-top-color: transparent;
 animation-name: loader-before;
}
@keyframes loader-before {
 0% {
   transform: rotate(0);
 }
 100% {
   transform: rotate(360deg);
 }
}
.ai-response table {
 width: 100%;
 border: 1px solid;
}
.ai-response table td {
 border: 1px solid;
 padding: 5px;
 text-align: left;
}
.ai-response table tr,
.ai-response table th {
 border: 1px solid;
 padding: 5px;
}
.copied{
 color: #005aaa;
 font-weight: 600;
}

.aiprompt .footer{
 padding: 0px !important;
}
.selected-response-text{
 max-height: 31px;
 overflow-y: scroll;
 min-height: 0px;
}
#prompt_query {
 position: relative;
}


.notes-panel-container .NotesPanel .normal-notes-container,
.notes-panel-container .NotesPanel .virtualized-notes-container {
  margin-bottom: 4rem !important;
}

.tooltiptext {
 visibility: hidden;
 width: 120px;
 background-color: #fff;
 color: #000;
 border: 1px solid gray;
 text-align: center;
 border-radius: 6px;
 padding: 5px 0;
 /* Position the tooltip */
 position: absolute;
 z-index: 1;
 margin-block:5px;
 bottom: -16px;
 left: 42px;
}

#prompt_query:hover + .tooltiptext {
 visibility: visible;
}

/*Input tooltip*/
#prompt_query , .bulb-image , .retry-icon{
 position: relative;
}

#prompt_query:hover + .tooltiptext {
 visibility: visible;
}
/*Prompt tooltip*/
.prompttooltip {
 visibility: hidden;
 width: 120px;
 background-color: #fff;
 color: #000;
 border: 1px solid gray;
 text-align: center;
 border-radius: 6px;
 padding: 5px 0;
 /* Position the tooltip */
 position: absolute;
 z-index: 1;
 margin-block:5px;
 bottom: -32px;
 left: 4px;
}

.bulb-image:hover + .prompttooltip {
 visibility: visible;
}
/*Retry Icon*/
.error-container{
 display: flex;
 justify-content: center;
 align-items: center;
}
.error-message{
 color: red;
 font-size: 14px;
 margin-right: 0.5rem;
}
.retry-icon{
 width: 24px;
 cursor: pointer;
}
/*Retry tooltip*/
.retrytooltip {
 visibility: hidden;
 width: 74px;
 background-color: #fff;
 color: #000;
 border: 1px solid gray;
 text-align: center;
 border-radius: 6px;
 padding: 5px 0;
 /* Position the tooltip */
 position: absolute;
 z-index: 1;
 margin-block:5px;
 bottom: -34px;
 left: 31rem;
}
.retry-icon:hover + .retrytooltip {
 visibility: visible;
}
.close-image , .back-icon{
 cursor: pointer;
}
/*Shake copy icon animation*/
.shake {
 animation: shake 0.5s infinite;
}

@keyframes shake {
 0% {
   transform: translateX(0);
 }
 25% {
   transform: translateX(-5px);
 }
 50% {
   transform: translateX(5px);
 }
 75% {
   transform: translateX(-5px);
 }
 100% {
   transform: translateX(0);
 }
}
.bottom-action-buttons{
 padding: 0px 16px 16px;
}
.copy-container{
 display: flex;
 align-items: center;
}
.copied-text{
  color: #005aaa !important;
  font-size: 12px;
}
.doc-comparison-button{
  text-decoration: underline;
  cursor: pointer;
  color: #005aaa;
}
/*Hide FilterAnnotModal*/
.FilterAnnotModal{
  display: none !important;
}
/* .translationModal .header-container{
  display: none;
} */
.footer .PageNavOverlay{
  top: -3.5rem !important;
}