.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;
  padding-left: 10px !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;
    padding: 6px 3px 6px 10px;
}


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;
}

.subgrid .pagination .active > a {
  padding: 6px 10px 6px 10px !important;
}
/*-------------- 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:focus, .dropdown-menu>li>a:hover {
    padding: 7px 18px;
    border-radius: 5px;
}
/*---------- 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;
}
/*//////////// ADDED FROM AUDITOR /////////////////////////////////*/
/*******************************/
.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>thead>tr>th, .table>thead>tr>td, .table>tbody>tr>th, .table>tbody>tr>td, .table>tfoot>tr>th, .table>tfoot>tr>td {
  word-break: unset;
}

.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 {
  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;
}
.highlight-dirty-row {
  border-left: 4px solid #bbb;
}
.highlight-error-row {
  border-left: 4px solid red;
}
.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: 40%;
  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;
}
/*********************/
  /* Style for the scroll-to-top icon */
  .sticky-div {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ddd;
    color: #337AB7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    z-index: 9999;
    opacity: 0.5;
  }
  /************/
  .tooltip-cell {
    padding: 0px 30px 0px 30px;
  }
  /********* edit attachment info */
  .att-Info {
    padding-left: 20px;
    padding-right: 20px;
    color: red;
  }
  /* RTO Portal - Application Form Styles*/
  .list-spacer {
    margin-left: 20px;
  }
  p.item-sub {
    padding-left: 10px;
  }

  .tbl-list-container {
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-color: #e7ecf1;
}
/* Tooltip alignment */
.tooltip-inner {
    text-align: left;
}
/*Freeze Top Header*/
.rto-header {
  position: fixed;
  top: -10px;
  left: -10px;
  width: 100%;
  z-index: 1000; 
  background: #e9edef; 
}
.rto-header-shadow {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* subtle shadow for clarity */
}
/* Prevent content from sliding underneath the fixed header */
body {
  padding-top: 165px !important; 
}
/* Application Form - Resource Hub */
.mt-list-container {
  padding: unset !important;
}
.mt-list-item
{
    list-style: none;
    border-bottom: 1px solid;
    border-color: #e7ecf1;
    padding: 25px 15px 35px 15px !important;
    min-height: 45px;
}
/********/
.unclickable {
  pointer-events: none;
  opacity: 0.5; /* Optional: visually indicate it's inactive */
}

/* Below styles are using for TAC 2015/2025 tabs*/
  .af-tabs {
      display: flex;
      align-items: flex-start;
      overflow: hidden;
      border-bottom: 0px solid #bdbdbd;
      background: #f5f5f5;
      width: auto;
  }
  .af-tab {
      padding: 14px 32px;
      text-align: center;
      background: #e0e0e0;
      cursor: pointer;
      transition: background 0.2s;
      border: none;
      outline: none;
      font-size: 14px;
      position: relative;
      min-width: 80px;
      border-right: 1px solid #eee;
  }
  .af-tab.active {
      background: #46166b;
      color: #fff;
      border-bottom: 4px solid #ffc425;
  }
  .af-tab-content {
      display: none;
      background: #fff;
      padding: 14px;
      border-left: 1px solid #e7ecf1;
      border-right: 1px solid #e7ecf1;
      border-bottom: 1px solid #e7ecf1;
  }
  .af-tab-content.active {
      display: block;
  }

  .af-tab-subtitle {
    text-align: center;
    position: absolute;
    transform: translate(110%, 0%);
  }
  /********/