html {
  height: 100%;
}

body {
  margin: 0;
  left: 0;
  font-family: Roboto;
  font-size: 13px;
  color: #222;
  height: 100%;
}

.container {
    background: #fff;
    border: 1px solid #f0f0f0;
    /* background: #fff; /* rgba(0, 0, 0, 0.8) */
    /* border-radius: 10px; */
    /* border: 3px solid #fff; */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    overflow: visible !important;
    /* padding: 20px; */
    position: relative;
    top: 20px;
    width: 95%;
    float: left;
    margin-left: 20px;
    height: 110px;
    padding: 18px;
    /* right: -36%; */
    z-index: 2;
} /* Has to be at least one increment larger in value than the Google Maps iframe z-index */

#dialog-overlay {
	/* set it to fill the screen */
	width:100%;
	height:100%;
	/* transparency for different browsers */
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	background:#fff;
	/* make sure it appear behind the dialog box but above everything else */
	position:absolute;
	top:0; left:0;
	z-index:3000;
	/* hide it by default */
	display:none;
}

#dialog-box {

	border: 1px solid rgb(170, 170, 170);
	/* css3 drop shadow */
	-webkit-box-shadow: 0px 0px 7px rgba(150, 150, 150, 0.5);
	-moz-box-shadow: 0px 0px 7px rgba(150, 150, 150, 0.5);

	background:#fff;
	/* styling of the dialog box, i have a fixed dimension for this demo */
	width: 690px;

	/* make sure it has the highest z-index */
	position:absolute;
	z-index:5000;

	/* hide it by default */
	display:none;

	margin-bottom: 40px;
}

#dialog-box .dialog-content {
	/* style the content */
	text-align: left;
	padding: 10px;
	margin: 13px;
	color: #444;
}

#dialog-overlay-dos {
	/* set it to fill the screen */
	width:100%;
	height:100%;
	/* transparency for different browsers */
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	background:#fff;
	/* make sure it appear behind the dialog box but above everything else */
	position:absolute;
	top:0; left:0;
	z-index:3000;
	/* hide it by default */
	display:none;
}

#dialog-box-dos {

	border: 1px solid rgb(170, 170, 170);
	/* css3 drop shadow */
	-webkit-box-shadow: 0px 0px 7px rgba(150, 150, 150, 0.5);
	-moz-box-shadow: 0px 0px 7px rgba(150, 150, 150, 0.5);

	background:#fff;
	/* styling of the dialog box, i have a fixed dimension for this demo */
	width: 690px;

	/* make sure it has the highest z-index */
	position:absolute;
	z-index:5000;

	/* hide it by default */
	display:none;

	margin-bottom: 40px;
}

    #dialog-box-dos .dialog-content-dos {
        /* style the content */
        text-align: left;
        padding: 10px;
        margin: 13px;
        color: #444;
    }

.header_client {
  background-color: rgb(240,240,240);
  height: 48px;
  border-bottom: 1px solid rgb(230, 230, 230);
}

.logo_client {
  float: left;
  padding-top: 0px;
  padding-left: 18px;
}

.user_area_client {
  float: right;
  display: inline;
  padding-top: 16px;
  padding-right: 18px;
  font-size: 13px;
  color: #333;
}

.form2 {
  font-size: 14px;
  color: rgb(51, 51, 51);
  background: rgb(241, 241, 241);
  padding: 18px;
  width: 430px;
  border: 1px solid rgb(229, 229, 229);
}

.title2 {
  font-size: 20px;
  color: rgb(221, 75, 57);
  margin-bottom: 12px;
}

.label2 {
  color: #000;
  font-weight: bold;
  float: left;
  margin-top: 20px;
  margin-bottom: 6px;
  padding-left: 2px;
}

.label2_error {
  color: red;
  float: right;
  margin-top: 20px;
  margin-bottom: 6px;
  margin-right: 4px;
  display: none;
}

.input2 {
  padding: 8px;
  font-size: 13px;
  border: 1px solid rgb(220, 220, 220);
  color: rgb(51, 51, 51);
  width: 300px;
}

.main_table {
  width: 100%;
  text-align: left;
}

.main_table_th {
  padding: 10px;
  padding-left: 4px;
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  border-bottom: 1px solid rgb(230, 230, 230);
}

.main_table_td {
  padding: 10px;
  padding-left: 4px;
  font-size: 13px;
  color: #444;
  border-bottom: 1px solid rgb(230, 230, 230);
}

.main_table_tr {
}

.table_icon {
  height: 12px;
  cursor: pointer;
}

.table_header {
  height: 30px;
  border-bottom: 1px solid rgb(230, 230, 230);
}

.button_blue2 {
  height: 27px;
  line-height: 27px;
  min-width: 54px;
  width: 70px;
  color: #fff;
  font-weight: 100;
  padding-bottom: 0px;
  padding-top: 0px;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
  vertical-align: middle;
  border-radius: 2px;
  background: rgb(77, 144, 254);
  background-image: -webkit-linear-gradient(top, rgb(77, 144, 254), rgb(71, 135, 237));
  border: 1px solid rgb(48, 121, 237);
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  margin-right: 8px;
}

.detail_title {
  font-size: 16px;
  color: #222;
  text-transform: uppercase;
  font-weight: bold;
}

.section_header {
  height: 38px;
  border-bottom: 1px solid rgb(230, 230, 230);
  padding-left: 18px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.section_header_left {
  float: left;
}

.section_header_right {
  float: right;
  width: 59%;
  margin-right: 16px;
  text-align: right;
}

.page_title {
  font-size: 20px;
  color: #000;
  padding-top: 4px;
}

.usecase_box {
  width: 26%;
  float: left;
  border: 1px solid #e2e2e2;
  min-height: 200px;
  background: #fff;
  margin-right: 20px;
  padding: 28px;
  text-align: center;
}

.sample_div {
  margin-top: 30px;
  background: #f3f3f3;
  border-top: 1px solid #e8e8e8;
  padding-bottom: 40px;
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 14px;
  border-bottom: 1px solid #e8e8e8;
}

.button_red2 {
  height: 27px;
  line-height: 27px;
  min-width: 54px;
  width: 70px;
  color: #fff;
  padding-bottom: 0px;
  padding-top: 0px;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
  vertical-align: middle;
  border-radius: 2px;
  background: rgb(209, 72, 54);
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  margin-right: 8px;
}

.button_red_big {
  height: 50px;
  line-height: 48px;
  min-width: 54px;
  color: #fff;
  padding-bottom: 0px;
  padding-top: 0px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  vertical-align: middle;
  background: rgb(209, 72, 54);
  /* border: 1px solid ; */
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  margin-right: 8px;
}

.measurement-input-fixed {
  width: 60px;
  margin-right: 6px;
  border: 1px solid #999;
  padding: 4px;
  font-family: Roboto;
  font-size: 12px;
}

.measurement-container {
/*   float: left;
  width: 160px; */
}

.measurement-input {
  width: 60px;
  margin-right: 6px;
  border: 1px solid #999;
  padding: 4px;
  font-family: Roboto;
  font-size: 12px;
}

.measurement-measure {
  width: 60px;
  margin-right: 6px;
  border: 1px solid #999;
  padding: 4px;
  font-family: Roboto;
  font-size: 12px;
}

.measurement-input-both {
  width: 60px;
  margin-right: 6px;
  border: 1px solid #999;
  padding: 4px;
  font-family: Roboto;
  font-size: 12px;
}

.measurement-label {
  display: block;
  margin-bottom: 6px;
  margin-top: 12px;
  font-weight: bold;
}

.workspace_title {
  font-size: 14px;
  padding-top: 1px;
  font-weight: normal;
}

.table-header {
  border-bottom: 2px solid #888;
}

.table-line {
  height: 36px;
}

.table-line-cell {
  border-bottom: 1px solid #ccc;
}


/* MAterial design buttons */
.btn {
  position: relative;

  display: block;
/*   margin: 30px auto; */
  padding: 0;

  overflow: hidden;

  border-width: 0;
  outline: none;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);

  background-color: #1E88E5;

  color: #ecf0f1;

  transition: background-color .3s;
  cursor: pointer;
}

.btn:hover, .btn:focus {
  background-color: #1565C0;
}

.btn > * {
  position: relative;
}

.btn span {
  display: block;
  padding: 12px 24px;
}

.btn:before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  display: block;
  width: 0;
  padding-top: 0;

  border-radius: 100%;

  background-color: rgba(236, 240, 241, .3);

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.btn:active:before {
  width: 120%;
  padding-top: 120%;

  transition: width .2s ease-out, padding-top .2s ease-out;
}

/* Styles, not important */
*, *:before, *:after {
  box-sizing: border-box;
}


.btn.orange {
  background-color: #e67e22;
}

.btn.orange:hover, .btn.orange:focus {
  background-color: #d35400;
}

.btn.red {
  background-color: #e74c3c;
}

.btn.red:hover, .btn.red:focus {
  background-color: #c0392b;
}

.btn.gray {
  background-color: #a0a0a0;
}

.dicom-button {
  padding: 6px;
  display: inline-block;
  cursor: pointer;
}

.dicom-button img {
  height: 24px;
}

.dicom-button-active {
  background: #555;
}

remark-textarea {
  text-align: left;
}

textarea{
    resize: none;
    text-align: justify;
    white-space: pre-line;
    -moz-text-align-last: left;
    text-align-last: left;
}

/* Rename Directory styling */
.directory-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.directory-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.directory-item {
    padding: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.directory-item:last-child {
    border-bottom: none;
}

/* Checkbox and Label Alignment */
.directory-item label {
    display: flex;
    align-items: center;
}

.directory-item input[type="checkbox"] {
    margin-right: 10px;
}

/* No Directories Found Message */
.no-directories {
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Button Styling */
.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* Messages Styling */
.messages {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.message {
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* Success and Error Message Styles */
.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hamburger {
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
    position: relative;
    z-index: 1001;
}

.menu {
    display: none;
    position: absolute;
    top: 3rem;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu a {
    display: block;
    padding: 0.625rem 0.9375rem;
    color: #333;
    text-decoration: none;
}

.menu a:hover {
    background-color: #f0f0f0;
}

.menu.active {
    display: block;
}

.custom-select {
  position: relative; /* so that .options-list is positioned correctly */
  width: 95%;
  margin-bottom: 3px;
}

.custom-select .options-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #999;
  background-color: #fff;
  display: none;       /* hidden by default, shown on focus or click */
  z-index: 1000;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-select .options-list li {
  padding: 4px;
  cursor: pointer;
  list-style: none;
}

.custom-select .options-list li:hover {
  background-color: #eee;
}

.custom-select .search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid #999;
}

/* Announcements: SmartAdmin large alert cards */
#announcement-banners {
  margin: 1.5em;
}

#announcement-banners .announcement-alert + .announcement-alert {
  margin-top: 1em;
}

.announcement-alert {
  --announcement-accent: #2196F3;
  --announcement-bg: #e4f2fe;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 2.75rem 1.15rem 1.1rem;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.1);
  border-left-width: 4px;
  border-left-color: var(--announcement-accent);
  border-radius: 6px;
  background-color: var(--announcement-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.announcement-alert-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  line-height: 1;
  color: var(--announcement-accent);
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
  font-size: 1.75rem;
  font-weight: 400;
  overflow: visible;
  white-space: nowrap;
}

.announcement-alert-icon i {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--announcement-accent);
}

.announcement-alert-content {
  flex: 1 1 auto;
  min-width: 0;
}

.announcement-alert-heading {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.announcement-alert-heading strong {
  color: var(--announcement-accent);
  font-weight: 700;
}

.announcement-alert-body {
  font-size: 13px;
  line-height: 1.45;
  color: #6c757d;
}

.announcement-alert-cta {
  flex: 0 0 auto;
  margin-left: 0.5rem;
}

.announcement-cta {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--announcement-accent);
  background: var(--announcement-bg);
  color: var(--announcement-accent) !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.announcement-cta:hover {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.03);
}

.announcement-dismiss {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  color: var(--announcement-accent);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.75;
}

.announcement-dismiss:hover {
  opacity: 1;
}

.announcement-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  box-sizing: border-box;
}

.announcement-modal-dialog {
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 1.25rem 2.75rem 1.25rem 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.announcement-modal-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  margin-left: 0.5rem;
}

.announcement-modal-close {
  border: 1px solid var(--announcement-accent);
  background: var(--announcement-bg);
  color: var(--announcement-accent);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.announcement-modal-close:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* Maintenance: refined light card */
.announcement-alert-maintenance {
  border-top-color: rgba(33, 4, 76, 0.18);
  border-right-color: rgba(33, 4, 76, 0.18);
  border-bottom-color: rgba(33, 4, 76, 0.18);
  border-left-color: var(--announcement-accent);
  background: linear-gradient(135deg, #f5f1fa 0%, #ebe4f4 100%);
  box-shadow: 0 1px 4px rgba(33, 4, 76, 0.07);
}

.announcement-alert-maintenance .announcement-alert-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: rgba(33, 4, 76, 0.07);
  font-size: 1.2rem;
}

.announcement-alert-maintenance .announcement-alert-icon i {
  font-size: 1.2rem;
}

.announcement-alert-maintenance .announcement-alert-heading {
  margin-bottom: 0.4rem;
  font-size: 16px;
}

.announcement-alert-maintenance .announcement-alert-heading strong {
  font-weight: 600;
}

.announcement-alert-maintenance .announcement-alert-body {
  color: #4a3f5c;
  line-height: 1.55;
}

.announcement-alert-maintenance .announcement-dismiss {
  opacity: 0.6;
}

.announcement-alert-maintenance .announcement-dismiss:hover {
  opacity: 0.9;
}

.announcement-alert-maintenance .announcement-cta,
.announcement-alert-maintenance .announcement-modal-close {
  border-color: rgba(33, 4, 76, 0.35);
  background: rgba(33, 4, 76, 0.06);
  color: var(--announcement-accent) !important;
}

.announcement-alert-maintenance .announcement-cta:hover,
.announcement-alert-maintenance .announcement-modal-close:hover {
  background: rgba(33, 4, 76, 0.11);
}

.announcement-modal-dialog.announcement-alert-maintenance {
  box-shadow: 0 8px 28px rgba(33, 4, 76, 0.18);
}
