﻿
  

/*
#s4-ribbonrow
{
	display:none !important;
}

#suiteBar
{
   display:none !important;
}


.ms-dialog .sidebar {
    display: none !important;
}


.ms-dialog .navbar{
    display: none !important;
}
*/

.row .btn-primary {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
}

.row #divCompanystatus,
.row .alert-danger {
  flex: 0 0 auto;
  width: auto !important;
  white-space: nowrap;
}

#DeltaPlaceHolderMain
{
	
	width:100% !important;
}


  .form-group {
    margin-bottom: 0.3rem !important;
}



 /* Custom select all button inside Select2 */
        .select-all-btn {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: #667eea;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 4px 8px;
            font-size: 12px;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s ease;
            font-weight: 500;
            right: 27px;
        }
        
        a:visited {
   color: var(--color-1c);
    background-color: var(--color-white);
    text-decoration: none;}



.tgl-side-menu {
       min-height: 500px !important;
}


.form-check input[type="checkbox"]:checked:disabled,
.form-check.aspNetDisabled input[type="checkbox"]:checked,
.form-check input[type="checkbox"].aspNetDisabled:checked {
    background-color: #007bff !important;
    border-color: #b5b5b5 !important;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
    font-family: 'MadaniArabic', sans-serif;
}

.form-check.aspNetDisabled input[type="checkbox"],
.form-check input[type="checkbox"].aspNetDisabled,
.form-check input[type="checkbox"]:disabled {
    border-color: #aaa;
    background-color: #eee;
    opacity: 0.6;
    cursor: not-allowed;
}

    .select2-container--default .select2-selection--multiple .select2-selection__clear {
     
        margin-right: 4px !important;
      
    }
    [dir="rtl"] .select2-container--default .select2-selection--multiple .select2-selection__clear {
     
        position:relative !important;
      
    }

      

    /* LTR (default) */
.select2-container .select-all-btn { right: 30px; }

/* RTL */
[dir="rtl"] .select2-container .select-all-btn { left: 30px; right: auto; }
.select2-container[dir="rtl"] .select-all-btn { left: 30px; right: auto; }




        .select-all-btn:hover {
            background: #5a6fd8;
            transform: translateY(-50%) scale(1.05);
        }

        .select-all-btn:active {
            transform: translateY(-50%) scale(0.95);
        }




.select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
}


/* Style disabled Select2 to match Bootstrap form-control disabled state */

/* Main container when disabled */
.select2-container--disabled .select2-selection {
  background-color: #f5f5f5 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  border-color: #ced4da !important;
}

/* Single select disabled */
.select2-container--disabled .select2-selection--single {
  background-color: #f5f5f5  !important;
  color: #6c757d !important;
}

/* Multiple select disabled */
.select2-container--disabled .select2-selection--multiple {
  background-color: #f5f5f5 !important;
  cursor: not-allowed !important;
}

/* Disabled text color */
.select2-container--disabled .select2-selection__rendered {
  color: #6c757d !important;
}

/* Remove the dropdown arrow interaction on disabled */
.select2-container--disabled .select2-selection__arrow {
  opacity: 0.5;
  cursor: not-allowed !important;
}

/* Multiple select tags when disabled */
.select2-container--disabled .select2-selection__choice {
  background-color: #f5f5f5 !important;
  border-color: #9ca3af !important;
  color: #6c757d !important;
}

/* Remove the X button on tags when disabled */
.select2-container--disabled .select2-selection__choice__remove {
  display: none !important;
}

/* Ensure hover states don't work when disabled */
.select2-container--disabled .select2-selection:hover {
  border-color: #ced4da !important;
}

/* Additional override for focus states */
.select2-container--disabled.select2-container--focus .select2-selection,
.select2-container--disabled.select2-container--open .select2-selection {
  border-color: #ced4da !important;
  box-shadow: none !important;
}



.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #f5f5f5  !important;
    border: 1px solid #e4e4e4 !important;
        }
.select2-selection__rendered {
    padding-top: 1px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057 !important;
    line-height: 1.5 !important;
    padding-left: 0 !important;
    padding-right: 3px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 0.75rem) !important;
   }





.form-check {
    padding-left: 0.01em !important;
 
}

.loader-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }
        
        .spinner {
            border: 5px solid #f3f3f3;
            border-top: 5px solid #3498db;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        
.ms-dialog .sidebar {
    display: none !important;
}


.ms-dialog .navbar{
    display: none !important;
}



.select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057 !important;
    line-height: 1.2 !important;
    padding-left: 0 !important;
    padding-right: 2px !important;
}



.ai-score-status-red
{
	
	color:var(--bs-red) !important;
}

.ai-score-status-orange
{
	
	color:var(--bs-yellow) !important;
}

.ai-score-status-green
{
	
	color:var(--bs-success) !important;
}



.progress-bar-red
{
	
	background-color:var(--bs-red) !important;
}


.progress-bar-orange
{
	
	background-color:var(--bs-yellow) !important;
}


.progress-bar-green
{
	
	background-color:var(--bs-success) !important;
}

.ai-score-badge-red
{
	
	background-color:var(--bs-red) !important;
}


.ai-score-badge-orange
{
	
	background-color:var(--bs-yellow) !important;
}

.ai-score-badge-green
{
	
	background-color:var(--bs-success) !important;
}



       .radioSpace label {
        margin-inline-start: 10px;
        font-size: var(--font-size-20);
        font-weight: bold;
    }
    .attachments-block
    {
        padding: 5px !important;
    margin-bottom: 5px !important;
    }
    .attachments-block img{
        width: unset !important;
    }
    label:has(> input.aspNetDisabled) {
    opacity: 0.5;
    cursor: not-allowed;
}


.attachments-block:has(input.aspNetDisabled) {
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    pointer-events: none; 
}
.attachments-block:has(+ .text-danger[style*="display: inline"]) {
    border-color: #dc3545 !important;
}


.ms-webpart-zone {
    display: inline !important;
}

.ms-webpart-cell-vertical {
    display: inline !important;
}

.ms-webpart-chrome-vertical {
    display: inline !important;
}


.page_enabled  {
    color: var(--color-40) !important;
    border-radius: 6px;
    width: 2vw;
    height: 2vw;
    padding: 0.2vw;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: inherit !important;
    font-size: var(--font-size-16);
    font-family: var(--font-medium);
}


.page_disabled  {
   
    border-radius: 6px  !important;
    width: 2vw;
    height: 2vw;
    padding: 0.2vw;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--font-size-16);
    font-family: var(--font-medium);
    color: var(--color-primary)  !important;
    background-color: #E6F2FF !important;
    border-color: #E6F2FF  !important;
}



.pagecontent {
 
    background-color: #F9FAFB;
   
}


.submenu-item {
    padding-right: 5px !important;
  
}

.circleRed {
    border-radius: 20% / 20% !important;
    border: none !important;
	margin-right: 50px !important;
}


.circleOrange  {
    border-radius: 20% / 20% !important;
    border: none !important;
	margin-right: 50px !important;
}


.circleYellow  {
    border-radius: 20% / 20% !important;
    border: none !important;
	margin-right: 50px !important;
}