.dropdown-menu {
  border-radius: 10px;
}

.progress {
  border-radius: 10px;
  background-color: #eee;
}

/*/////////////////*/
html[dir=ltr] .crmEntityFormView .tab .tab-column {
  border: 1px solid #ddd;
  padding: 10px 10px 0px 10px !important;
  margin: 2px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

.crmEntityFormView .tab-title {
  border-bottom: unset; 
  font-weight: bold;
  font-size: 20px;
}

.crmEntityFormView .section-title {
  padding-left: 10px;
}

html[dir=ltr] .crmEntityFormView .tab .tab-column:first-child {
  padding-left: unset;
}

.btn {
  border-radius: 5px !important;
  padding: 8px 18px;
}

.btn-circle {
    padding: 6px 10px !important;
}

.btn-xs {
    padding:5px 14px;
}

.btn-xs .fa {
    margin-right: unset !important;
}

.actions .btn {
    padding: 5px 15px;
}

/*/////////////////*/
.page-header {
  padding-bottom:unset; 
  margin: 2px 0 1px;
  border-bottom: 0px; 
}

h1, .h1 {
  font-size: 30px;
  font-weight: bold;
}
/*///////////////// For Menu */ 
.list-group {
  display: flex;
  justify-content: space-between;
  list-style: none;
  width: 100%;
}

.list-group-item {
  flex: 1;
  text-align: center;
  border: 1px solid #ddd;
  white-space: nowrap;
}

.list-group-item:not(:last-child) {
  border-right: none;
} 

/* Alert */
.alert {
  padding: 8px;
  border-radius: 5px;
}

/* Controls */
.form-control {
  border-radius: 5px;
  border: 1px solid #ddd !important;
}

.readonly, span.status {
  background-color: #EBEDEB !important;
  padding-left: 10px !important;
  border: 1px solid #ddd !important;
  width: 100%;
  display: flex;
  border-radius: 5px;
}

input[type="radio"]:disabled,
input[type="text"]:disabled {
  border-radius: 5px;
  padding-left: 10px !important;
  background-color: #EBEDEB !important;
}

.text-muted {
  color: transparent;
}

.input-group-addon {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.crmEntityFormView fieldset {
  margin-bottom: unset;
}

h3, .h3 {
  font-size: 20px;
  font-weight: 500;
  padding-left: 5px;
}

.aspNetDisabled {
  height: 30px;
  margin-top: 4px;
}
/*------Hide Edit Popup-------*/
#yui-gen0_c {
    display: none !important;
}
/*------Fix radio button space----------*/
html[dir=ltr] .crmEntityFormView .cell .picklist input[type=radio] {
    margin: 2px 5px 5px 5px;
}
/*----------------*/
#mainContent .col-md-12 .entitylist .row .col-md-3 
    width: 15% !important;
}

#mainContent .col-md-12 .entitylist .row .col-md-9 {
    width: 85% !important;
}


.xrm-editable-html .xrm-attribute-value h2 {
    padding: 0px !important;
    margin: 0px 0px 20px 0px !important;
    font-size: 20px !important;
    font-weight: normal !important;
    color: #122a58 !important;
}


#mainContent .col-md-12 .entitylist .row div.entity-grid.entitylist .view-toolbar.grid-actions.clearfix div.pull-right.toolbar-actions button {
    font-size: 12px !important;
    height: 32px !important;
    min-height: 32px !important;
    font-size: 12px;
}


#mainContent .col-md-12 .entitylist .row div.entity-grid.entitylist .view-toolbar.grid-actions.clearfix div.pull-right.toolbar-actions input {
    font-size: 12px !important;
    height: 32px !important;
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #e3e6ec !important;
    padding-left: 10px !important;
}

#mainContent .col-md-12 .entitylist .row #entitylist-filters .entitylist-filter-option-group input {
    font-size: 12px !important;
    height: auto !important;
    min-height: 28px;
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #e3e6ec !important;
    padding-left: 10px !important;
}


#mainContent .col-md-12 .entitylist .row .btn-entitylist-filter-submit {
    margin-right: 6px;
}


#mainContent .col-md-12 .entitylist .row #entitylist-filters .entitylist-filter-option-group select {
    font-size: 12px !important;
    height: auto !important;
    min-height: 28px;
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #e3e6ec !important;
    padding-left: 10px !important;
}


#mainContent .col-md-12 .entitylist .row #entitylist-filters .entitylist-filter-option-group span.input-group-addon {
    height: 28px;
    min-width: 28px;
    padding: 0px;
}


#mainContent .col-md-12 .entitylist .row div.entity-grid.entitylist div#medicinalProductsALLTable_Info {
    margin-top: 0px;
    padding-top: 8px;
    white-space: nowrap;
    font-style: italic;
    color: #506d94 !important;
}


#mainContent .col-md-12 .entitylist .row div.entity-grid.entitylist .view-toolbar span.mpaDeleteIcon, #mainContent .col-md-12 .entitylist .row #entitylist-filters .entitylist-filter-option-group span.mpaDeleteIcon {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
}


#mainContent .col-md-12 .entitylist .row div.entity-grid.entitylist .view-toolbar span.mpaDeleteIcon span, #mainContent .col-md-12 .entitylist .row #entitylist-filters .entitylist-filter-option-group span.mpaDeleteIcon span {
        position: absolute;
        display: none;
        right: 3px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        color: #555;
        background-color: #eee;
        font: 13px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer;
        z-index: 99999999;
        font-size: 16px;
        font-weight: bold;
}


#mainContent .col-md-12 .entitylist .row div.entity-grid.entitylist .view-toolbar span.mpaDeleteIcon input, #mainContent .col-md-12 .entitylist .row #entitylist-filters .entitylist-filter-option-group span.mpaDeleteIcon input{
        padding-right: 18px;
        box-sizing: border-box;
}


#mainContent .col-md-12 .entitylist .row .col-md-3 {
        width: 90% !important;
}


#mainContent .col-md-12 .entitylist .row .col-md-9 {
        width: 90% !important;
}


#mainContent .col-md-12 .entitylist .row div.entity-grid.entitylist {
        margin-top: unset;
}


@media (min-width: 700px) and (max-width: 1499px) {
    .container {
        width: 85vw !important;
    }

    .ema-rside .container {
        width: 90% !important;
    }
}


@media (min-width: 1500px) and (max-width:8900px) {
    .container {
        width: 85vw !important;
    }

    .ema-rside .container {
        width: 90% !important;
    }
}

/* table header */
.entitylist .table-striped thead tr th {
    background-color: #F3F2F1;
}

/*----------Buttons-------*/
#mainContent .col-md-12 .entitylist .row .btn.btn-default {
	background-color: #3a5ee6 !important;
	border-color: #3a5ee6 !important;
	font-size: 12px;
	color: #fff
}
/*-----------Tables-----------*/

.table>thead>tr>th {
	border-bottom: 0px;
	color: #3a5ee6;
}

.table>thead>tr>th,
.table>thead>tr>td,
.table>tbody>tr>th,
.table>tbody>tr>td,
.table>tfoot>tr>th,
.table>tfoot>tr>td {
	border-top: 0px;
	word-break: break-all;
}
/*---------Pagination---------*/
body .pagination li a {
    padding: 6px 10px;
    border: none !important;
    height: 28px;
    line-height: 15px;
    font-weight: bold;
    color: #2962ed;
    border-radius: 4px !important;
    font-family: monospace;
}


body .pagination > .active > a, body .pagination > .active > a:focus, body .pagination > .active > a:hover {
    background-color: #FCF8E3 !important;
    color: #2962ed !important;
}

.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    /*border-color: #337ab7*/
    border: 1px solid #FFC425 !important;
}

body .pagination > li > a, body .pagination > li > span {
    background-color: transparent !important;
}


body .pagination > .disabled > span, body .pagination > .disabled > span:hover, body .pagination > .disabled > span:focus, body .pagination > .disabled > a, body .pagination > .disabled > a:hover, body .pagination > .disabled > a:focus {
    color: #c5c5c5 !important;
}


body .pagination > .paginate_button.previous a:before {
    content: "<"
}

.pagination, .view-pagination {
    line-height: 50px;
    float: right;
}
/*-------------- end ------------------*/
/*--------------On audit top menu------------------*/
#WebFormControl_ProgressIndicator li:not(.active) {
    cursor: pointer;
}
/*-------------- end ------------------*/
/*--------------Audit Nav Bar HOVER------------------*/
.list-group-item.incomplete:hover {
    background-color: #ddd;
}
/*-------------- end ------------------*/

.navbar-header {
    padding-top: 30px;
}

.navbar-static-top.navbar {
    max-height: 800px;
    padding-top: 30px;
}

#navbar .dropdown-menu {
    margin-top: unset;
}
/*******************Edit/Details dropdown menu**********************/
.dropdown-menu>li>a {
    padding: 7px 18px;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    padding: 7px 18px;
    border-radius: 5px;
}
.dropdown-menu>.active>a, 
.dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
   padding: 7px 18px;
}
/*---------- lookup button & lookup search button */
.btn-hg,
.launchentitylookup {
    padding: 6px 8px !important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    padding-left: 12px !important;
}
/*******************************/
.panel {
    border-radius: 10px;
}

/*********** for filter radio ************/
p.fRadio {
    width: 200px;
    word-wrap: break-word;
}

.expand-actions {
    margin: 10px 15px 0px 0px;
    cursor: pointer;
}

.collapse-box {
    top: -10px;
    position: relative;
}

.collapse-box-title {
    float: left;
    margin: 10px 0px 0px 10px;
    font-weight: bold;
    display: none;
}

.entitylist-search {
    margin-top: -10px;
}

.m-fa {
    padding: 10px;
}

.panel-noborder {
    margin-bottom: 21px;
    background-color: #fff;
    border: 0px solid transparent;
    background-color: #eee;
    height: 42px;
    border-radius: 10px;
}
/********* remvoe table wrap */
.table>tbody>tr>th, .table>tbody>tr>td, .table>tfoot>tr>th, .table>tfoot>tr>td {
    word-break: unset;
}
.table>thead>tr>th, .table>thead>tr>td {
    word-break: unset;
    vertical-align: middle;
}

.table>tbody>tr:hover {
    background-color: #f4f6f9 !important;
    cursor: pointer;
    z-index: 100;
}
/*************************/
.delement-ta {
    box-sizing: border-box;
    width: 100%;
}
/*************************/
.edit-row-tr {
    position: relative;
    display: inline-block;
}
/*************************/
.ov-action {
    display: flex;
    height: 50px;
    vertical-align: middle;
    justify-content: right;
}
.edit-all, .collapse-all {
    padding-right: 10px;
}
.ma-msg {
    position: relative;
    top: 30px;
    z-index: -10;
}
.error {
    color: red;
}
.success {
    color: green;
}
/*****************************/
.grid-actions {
    border-bottom: unset;
    padding-bottom: unset;
}
/****************/
.highlight-row {
    border-left: 4px solid blue !important;
}
.highlight-dirty-row {
    border-left: 4px solid #bbb;
}
.highlight-error-row {
    border-left: 4px solid red !important;
}
.form-control-error {
    border-color: red;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 108, 55, 0.6)
}
/****************/
.table-legend {
    font-size: 12px;
    padding: 0px 0px 10px 10px;

}

.table-legend-spacer {
    padding: 0px 5px 0px 3px;
}
/****************/
.fa-small {
    font-size: 12px;
}
/****************/
/* Style the placeholder text for all input and textarea elements */
input::placeholder,
textarea::placeholder {
    color: #aaa; /* Lighter color for placeholder text */
    opacity: 1; /* Ensure the color is fully applied */
    font-size: 12px;
}
/************** loading animation *************/
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The overlay that covers the screen */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Semi-transparent background; adjust opacity (0.5) as needed */
  background-color: rgba(0, 0, 0, 0.5);
  /* Ensure it stays on top of other elements */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
 
/* A simple loader made with CSS animations.*/
.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top: 6px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
 
/* Keyframes for the spinning animation */
@keyframes spin {
  0%  { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}
/************** loading ends *************/
li>div>label {
    max-width: 400px;
    padding-right: 30px;
}
/*********************/
/* Basic styling for the textarea pop-up */
#taPopup {
    display: none;
    position: fixed;
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 30%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /*padding: 10px 15px 15px 15px;*/
    z-index: 1100;
}
#taPopupHeader {
    background-color: #ddd;
    padding: 5px 15px 8px 15px;
    cursor: move;
}
#taPopupContent {
    padding: 10px 15px 5px 15px;
    height: calc(100% - 40px); /* Adjust height to account for header */
    box-sizing: border-box;
}
#taPopup textarea {
    width: 100%;
    height: 92%;
}

#taOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#taLargeTextarea {
    resize: none
}

#taDisplayArea {
    height: 88%;            /* or whatever suits your layout */
    overflow-y: auto;         /* shows vertical scrollbar when needed */
    padding: 5px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    margin-bottom: 10px;
}
/*******************Confirmation dialog **/
.cfm-close {
    float: right;
    cursor: pointer;
}
/******** Used in Auditor portal - Standard Training Products/RTO Operational ***********/ 
.table-container {
  max-height: 700px;
  overflow-y: auto;
}

.sticky-table {
  border-collapse: collapse;
  width: 100%;
}

.sticky-table th {
  position: sticky;
  top: 0;
  z-index: 2; /* Keeps header on top of scrolling content */
}
/*************** End ***************/
div.ck-content {
    pointer-events: none !important;
}
/*Freeze Top Header*/
.audtor-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; 
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.15); /* light shadow for dark background */
  color: white; /* ensures text remains visible */
}
/* Prevent content from sliding underneath the fixed header */
body {
  padding-top: 85px; 
}