﻿.nowrap       { white-space: nowrap; }

/* visually hide legend text but keep it for screen-readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; /* preserve */
  border: 0;
}

/* lay out radios and dropdown inline */
.processing-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* package the dropdown with its label */
.packaging {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 2rem; /* indent to group with radios */
}

/* hide by default; will unhide in JS */
.packaging[aria-hidden="true"] {
  display: none;
}

.packaging[aria-hidden="false"] {
  display: flex;
}

/* optional: tighten up spacing around each radio label */
.processing-options > label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}


.radio-container {
  margin: 10px auto;
  padding: 5px;
  /* this will “clear” the floated content so the container grows to fit */
  overflow: auto;
}

.rawdrug-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5em;       /* nice vertical spacing */
}

.rawdrug-radio-group label {
  /* make the whole line clickable, stack nicely, and remove bold */
  display: block;
  cursor: pointer;
  font-weight: normal;
}

#tablettInfo {
  /* ensure it sits below the radios with a bit of breathing room */
  margin-top: 1em;
}



/* Base disabled styling */
textarea[disabled],
textarea.disabled-field[disabled] {
  background-color: #f0f0f0 !important;   /* light gray */
  color: #888888 !important;              /* medium gray text */
  border: 1px solid #cccccc !important;   /* light gray border */
  opacity: 1 !important;                  /* no extra dimming */
  cursor: not-allowed !important;         /* show “no‐entry” cursor */
  box-shadow: none !important;            /* remove any focus rings */
}

/* Prevent any hover/focus/active overrides */
textarea[disabled]:hover,
textarea[disabled]:focus,
textarea[disabled]:active,
textarea.disabled-field[disabled]:hover,
textarea.disabled-field[disabled]:focus,
textarea.disabled-field[disabled]:active {
  /* re-apply exactly the same styles */
  background-color: #f0f0f0 !important;
  color: #888888 !important;
  border: 1px solid #cccccc !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}


.mui-style-checkbox {
        position: relative;
        width: 12px;
        height: 12px;
        margin-right: 4px;
        cursor: pointer;
        vertical-align: middle;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 1px solid rgba(0, 0, 0, 0.54);
        border-radius: 2px;
        transition: background-color 0.3s, border-color 0.3s;
    }

    .mui-style-checkbox:checked {
        background-color: #1976d2;
        border-color: #1976d2;
    }

    .mui-style-checkbox:checked::after {
        content: "";
        position: absolute;
        left: 3px;
        top: 1px;
        width: 3px;
        height: 6px;
        border: solid white;
        border-width: 0 1.5px 1.5px 0;
        transform: rotate(45deg);
    }

    .mui-style-checkbox:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.25);
    }

    .mui-style-label {
        font-family: "Roboto", "Helvetica", "Arial", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        color: rgba(0, 0, 0, 0.87);
        padding-left: 2px;
        vertical-align: middle;
    }


.message-button-style {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FCD31D;
    color: black;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.message-button-style:hover {
    background-color: #FAD11B; /* A darker yellow on hover */
    color: black;
}



.k-widget.k-tooltip {
    background-color: white;
}


.k-tooltip-content {
    background-color: white;
    color: black;
    border: 1px solid #f0f0f0;   
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);  
    padding: 10px 12px;  
    border-radius: 6px;   
    max-width: 300px;
}

.footer {
    flex-shrink: 0; 
    height: 20px; /* adjust as needed based on your footer's content */
    background-color: #ffffff;  /* a light grey background, modify as desired */
    width: 100%;
    text-align: center;
}

.bensky-column-background {
    background-color: #FFFFEA;
}


.open-menu {
        min-width: 40px;
        margin-bottom: 2px;
        padding-left: 5px !important;
        padding-right: 5px !important; 
        border-radius: 5px;
    }

input:disabled {
    filter: grayscale(1); /* Change this to match your desired 'disabled' appearance */
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 34px;
    border-radius: 17px; /* half of the height */
    overflow: hidden; /* to apply border-radius for child elements */
}

.toggle-switch input[type="radio"] {
    display: none;
}

.toggle-switch input[type="radio"]:checked + label {
    background-color: #1873E8;
    box-shadow: none;
}

.toggle-switch label {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: #ddd;
    text-align: center;
    line-height: 34px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    color: black;
}

.toggle-switch #part + label {
    left: 0;
}

.toggle-switch #ml + label {
    right: 0;
}

.custom-tooltip {
    position: absolute;
    background-color: red; /* Changed from #333 to red */
    color: white; /* Text color */
    padding: 10px; /* Inner spacing */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); /* Optional: Add a little shadow for a 3D effect */
    z-index: 9999; /* Make sure the tooltip appears on top of other elements */
}


.checkbox-label {
    font-weight: normal !important;
}

.title-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: calc(50 * 8.5px);
  min-width: calc(50 * 8.5px); /* Minimum width */
}

.textarea-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.textarea {
  display: block;
  position: relative;
  color: #657786;
  background: #fff;
  font-size: 0.9em;
  font-family: inherit;
  text-align: left;
  border: 0.125em solid #657786;
  border-radius: 0.333em;
  outline: none;
  padding: 0.6em 2em 0.6em 0.6em;
  min-height: calc(4 * 1.5em); /* rows * line height */
  width: 100%;
  max-width: calc(50 * 8.5px);
  min-width: calc(50 * 8.5px); /* Minimum width */
  overflow-y: auto;
  overflow-x: hidden;
  word-break: break-word;
  box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
}

.align-right {
  margin-left: auto; /* Ensures the button is pushed to the right */
}

.counter {
  /*display: none;*/
  color: #8e9daa;
  font-size: 0.8125em;
  position: absolute;
  bottom: 0.5em;
  right: 2.5em;
}
.counter_show {
  display: block;
}

/*em {
  font-style: normal;
  background: #f6c0d1;
}*/

.btnX {
  display: block;
  align-self: flex-end;
  margin-top: 1em;
  padding: 0.625em 2.5em;
  border-radius: 18.75em;
  border: none;
  background: #247065;
  color: #E5D8C8;
  font-size: 0.8em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btnX:hover {
  background: #1e5d54;
}
.btnX--disable {
  cursor: not-allowed;
  background: #8e9daa;
}
.btnX--disable:hover {
  background: #8e9daa;
}

.counter-radial {
  transform: rotate(-90deg);
  position: absolute;
  bottom: 0.25em;
  right: 0.6em;
}
.counter-radial-circle {
  fill: none;
  stroke-width: 1;
}

.underlay {
  stroke: #b9c3cb;
}

.progress {
  color: #1da1f2;
  stroke-width: 2;
  transition: 0.2s stroke-width ease-in-out;
}

/* colors */
.safe {
  color: #1da1f2;
}

.warn {
  color: #ffad1f;
}

.danger {
  color: #e0245e;
}

.tragedy {
  stroke-width: 2;
  animation: blink 0.4s ease-out;
}

/* OLD*/



.dosagecontainer {
    display: flex;
  }


.preview-title {
    font-size: 1.5em;
    margin-top: 20px;
  }

  .preview-text {
    margin-top: 10px;
  }

  .center-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.upload-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .file-label {
        margin-bottom: 10px;
        font-weight: bold;
    }

    .upload-button {
        background-color: #007bff;
        color: #fff;
        border: none;
        padding: 6px 12px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .upload-button:hover {
        background-color: #0056b3;
    }

.messagePreviewArea {
    margin-top: 20px;
    width: 900px;
    border: 1px solid lightgrey;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
}
textarea.custom-textarea-title {
    display: block;
    width: 100%;
    height: calc(2 * 1.5em); /* Set the height based on the line-height and number of rows */
    padding: 8px;
    line-height: 1.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    overflow: auto;
  }

textarea.custom-textarea-link {
    display: block;
    width: 100%;
    height: calc(2 * 1.5em); /* Set the height based on the line-height and number of rows */
    padding: 8px;
    line-height: 1.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    overflow: auto;
  }
textarea.custom-textarea-link:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }

  textarea.custom-textarea-title:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }

  textarea.custom-textarea-text {
    display: block;
    width: 100%;
    height: calc(8 * 1.5em); /* Set the height based on the line-height and number of rows */
    padding: 8px;
    line-height: 1.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    overflow: auto;
  }

  textarea.custom-textarea-text:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }
  .left-div {
    flex: 1;
    max-width: 840px;
    margin-right: 15px;
  }
   .right-div {
    flex: 1;
  }

.radio-group {
    display: flex;
    flex-direction: column;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.radio-option input[type="radio"] {
    margin-right: 5px;
    margin-top: 2px;
}


.placeHolderText {
    color: lightgray;
    font-style: italic;
}

.dosageResult {
    margin-top: 10px;
    margin-bottom: 10px;
}


[contenteditable="true"].single-line {
    white-space: nowrap;
    width:200px;
    overflow: hidden;
}
[contenteditable="true"].single-line br {
    display:none;

}
[contenteditable="true"].single-line * {
    display:inline;
    white-space:nowrap;
}


/*h1 {
    font-size:28px;
    color:#999;
}

h3 {
    margin:0 0 5px;
    font-size:16px;
    color:#999;
}*/

fieldset {
    display:inline-block;
    vertical-align:top;
    border:1px #ccc solid;
}

legend {color:#999;}

#contentBox {
    display:inline-block;
    padding-top: 10px;
    padding-left: 10px;
    height:30px;
    background:#fff;
    border:1px solid #cdcdcd;
    margin-top: 10px;
    width: 460px;
    word-break: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word; 
}

.dragover {
    border:1px #333 solid !important;
}

#placeholderBox {
    display:inline-block;
    padding:20px;
    width:150px;
    background:#eee;
    vertical-align:top;
}

.btnEditable1 {
    display:inline-block;
    margin:0 1px 1px 0;
    background: #CDAD00;
    color:#000;
    cursor:move;
    text-align:center;
    cursor: move !important;
}

.btnEditable2 {
    display:inline-block;
    margin:0 1px 1px 0;
    background:#ffd700;
    color:#000;
    cursor:move;
    text-align:center;
    cursor: move !important;
}

.btnEditable3 {
    display:inline-block;
    margin:0 1px 1px 0;
    background:#FFEC8B;
    color:#000;
    cursor:move;
    text-align:center;
    cursor: move !important;
}

.success {font-size:11px; color:green;}

.bugs {
    display:inline-block;
    margin-right:10px;
    width:350px;
    vertical-align:top;
    font-size:11px;
    color:#999;
}

.bugs ul {
    margin-top:0;
    font-size:11px;
    color:#999;
    line-height:16px;
}


//
.buttonDisabled{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

.maintenanceBar{
    width: 100%;
    background-color: red;
    padding: 5px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: xx-large;
}

.minibutton {
    border: 1px;
    border-style: outset;
    padding: 5px;
}

.minibutton:hover {
    background-color: lightgray;
}

.s{
 border: 1px solid #ccc;
 border-radius: 15px;  
 }

* {
			box-sizing: border-box;
}

 #emergencyReason-list ul li:nth-of-type(odd) {
    background: #E6E6E6;
 }

.validationText {
    margin-top: 10px;
}

.bold {
    font-weight: bold;
}

.normal {
    font-weight: normal;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.k-menu .k-link.k-state-active, .k-menu .k-state-hover > .k-link
{
    background-color: #ffffff;
}

.k-menu .k-item>.k-link {
    line-height: 1;
}


.k-textbox > input, .k-autocomplete .k-input, .k-multiselect-wrap {
     border-radius: 0; 
}

.k-grid td.k-state-selected:hover, .k-grid tr.k-state-selected:hover td {
     background-color: darkgrey; 
}

.k-grid td.k-state-selected, .k-grid tr.k-state-selected td {
     background-color: darkgrey; 
}

.k-autocomplete .k-input, .k-dropdown-wrap .k-input, .k-numeric-wrap .k-input, .k-picker-wrap .k-input, .k-selectbox .k-input, .k-textbox>input {
    height: 40px; 
    line-height: 1.94em;
    padding: 0;
    text-indent: .8em;
    border: 0;
    margin: 0;
}

.k-input {
    height: 40px;
}

.k-select {
    height: 40px;
}

.shadow {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.k-i-plus .k-update . k-cancel{
    visibility: hidden;
}

.k-window-title {
    position: absolute;
    left: .44em;
    right: .44em;
    overflow: hidden;
    cursor: default;
    text-overflow: ellipsis;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
}

.acArtNr {
            padding-left: 5px;
            width: 60px;
        }

        .acPharma {
            padding-left: 5px;
            width: 140px;
        }

        .acPinYin {
            padding-left: 5px;
            width: 140px;
        }

        .acChinese {
            padding-left: 5px;
            width: 140px;
        }

        .acArtNrHeader {
            width: 60px;
        }

        .acPharmaHeader {
            width: 140px;
        }

        .acPinYinHeader {
            width: 140px;
        }

        .acChineseHeader {
            width: 140px;
        }

#fixedbutton {
    position: fixed;
    bottom: 200px;
    right: 0px; 
}

.k-dropdown-wrap .k-select, .k-picker-wrap .k-select, .k-numeric-wrap .k-select, .k-datetimepicker .k-select + .k-select, .k-list-container.k-state-border-right {
    border: none;
    
}

.k-picker-wrap {
    cursor: pointer;
}

.k-edit-form-container {
    height: 180px;
}

.k-menu .k-image, .k-menu .k-item>.k-link>.k-icon, .k-menu .k-sprite {
    margin: 0;
    vertical-align: middle;
}

.k-grid-update {
    width: 180px;
    height: 40px;
    left: 0;
    position: absolute;

    font-family: sans-serif;
	font-size: 16px;
	border-radius: 2px !important;
	border: 1px solid #dddddd !important;
	cursor: pointer;
	margin-bottom: 10px;
	min-width: 180px;
	height: 40px;
    margin-right: 10px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;     
    text-align: center;
    background-color: #FFDF38 !important;
}

.k-grid-update:hover {
	background-color: #FFD500 !important;
}

.k-grid-cancel {
    width: 180px;
    height: 40px;
    right: 0;
    position: absolute;

    font-family: sans-serif;
	font-size: 16px;
	border-radius: 2px !important;
	border: 1px solid #dddddd;
	cursor: pointer;
	margin-bottom: 10px;
	min-width: 180px;
	height: 40px;
    margin-right: 10px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;     
    text-align: center;
    background-color: #e6e6e6;
}

.k-grid-cancel:hover {
	background-color: #d9d9d9;
}

.orderMenuTitle {
    font-weight: bold;
    font-size: 16px;
}

#menu .k-menu .k-item>.k-link {
    padding-left: 0;
}

.rightSpace10 {
    margin-right: 10px !important;
}

.bottomSpace15 {
    margin-bottom: 15px !important;
}

.rightSpace5 {
    margin-right: 5px;
}

button {
			font-family: sans-serif;
			font-size: 16px;
			border-radius: 2px;
			border: 1px solid #dddddd;
			cursor: pointer;
			margin-right: 10px;
			margin-bottom: 10px;
			min-width: 180px;
			height: 40px;
		}

.menuIcon {
    margin-right: 10px;
    height: 38px;
    width: 38px;
}

.bottom-column
{
    float: none;
    display: table-cell;
    vertical-align: bottom;
}

@media (min-width: 768px ) {
  .row {
      position: relative;
  }

  .bottom-align-text {
    position: absolute;
    bottom: 0;
    right: 0;
  }
}


.windowTitle {
    font-weight: bold;
    margin-bottom: 20px;
}

#autoComplete .k-autocomplete{
 width: 860px;
}



.k-multiselect .k-button {
    color: #333333;
    border-color: #f2f2f2;
    background-color: #ffffff;
}

.formRow {
    margin-bottom: 10px;
}

.btn:active, .btn.active {
  background-image: none;
  -webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
  outline: 0 none;
}

.a:active, .a.active {
  background-image: none;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.125) inset;
  outline: 0 none;
}

.k-link:link, .k-link:visited, .k-nav-current.k-state-hover .k-link {
    color: #ffffff;
}

.k-link .k-state-focused.k-state-selected {
    box-shadow: none;
}

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

.cw-form-label {
    float: left;
    clear: both;
    width: 140px;
    padding: .4em 0 1em;
    margin-left: 0;
    text-align: left;
}

.menuBigLink {
    font-size: 16px;
    text-decoration: none;
    margin-right: 30px;
}

.menuSmallLink {
    font-size: 14px;
    text-decoration: none;
    margin-right: 30px;
}

.greyButton-small {
    background-color: #EEE;;
    line-height: 40px;
    min-width: 50px;
    text-align: center;
    border: 1px solid #DDD;
    border-radius: 2px;
    padding: 0;
    margin-left: 2px;
    font-size: 16px;
}

.whiteButton-small {
    background-color: #EEE;;
    line-height: 40px;
    min-width: 50px;
    text-align: center;
    border: 1px solid #DDD;
    border-radius: 2px;
    padding: 0;
    margin-left: 2px;
    font-size: 16px;
}

.patientAddButton {
    margin-top: 20px;
    margin-bottom: 30px;
}

.yellowButton, .greyButton, .whiteButton {
    font-family: sans-serif;
	font-size: 16px;
	border-radius: 2px;
	border: 1px solid #dddddd;
	cursor: pointer;
	margin-bottom: 10px;
	min-width: 180px;
	height: 40px;
    margin-right: 10px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    
    
    text-align: center;

}

.yellowButton:hover, .greyButton:hover, .whiteButton:hover {
			border-color: #cccccc;
}

.yellowButton {
	background-color: #FFDF38;
}

.yellowButton:hover {
	background-color: #FFD500;
}

.greyButton {
	background-color: #e6e6e6;
}
.greyButton:hover {
	background-color: #d9d9d9;
}

.greyButton[disabled]:hover {
    cursor: default;
    background-color: #e6e6e6;
    border-radius: 2px;
	border: 1px solid #dddddd;
}

.whiteButton {
	background-color: #FFF;
}

.whiteButton:hover {
	background-color: #F2F2F2;
}

.k-dropdown .k-input {
    margin-top: 5px;
}

.k-dropdown-wrap .k-select, .k-numeric-wrap .k-select, .k-picker-wrap .k-select {
    margin-top: 5px;
}

.smallYellowButton {
    background-color: #FFDF38;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #DDD;
    line-height: 40px;
    text-align: center;
    border-radius: 0px;
    font-size: 16px;
}

.cw-input {
    min-width: 380px;
    min-height: 40px;
    border: 1px solid #CCC;
    background-color: white;
    padding-left: 0;
}

.cw-input-address {
    min-width: 435px;
    min-height: 40px;
    border: 1px solid #CCC;
    background-color: white;
    padding-left: 5px;
}

input.k-textbox {
    padding: 2px .3em;
    padding-top: 2px;
    padding-right: 0.3em;
    padding-bottom: 2px;
    padding-left: 0;
}

textarea.k-textbox {
    padding-left: 10px;
}


.k-footer-template {
    height: 60px;
}

.orderfooter {
    margin-top: 50px;
}

.k-grid-header .k-header {
    height: 40px;
    vertical-align: middle;
    font-weight: bold;
    font-size: 16px;
    background-color: #EFEFEF;
    padding: 0;
}

.k-grid-header-wrap {
    font-weight: bold;
}

.k-grid-header th.k-header {
    vertical-align: middle;
    font-weight: bold;
    border-style: none;
    font-size: 14px;
}

.k-grid-header th.k-header>.k-link {
    display: block;
    min-height: 18px;
    line-height: 18px;
    margin: -.5em -.6em -.4em 0;
    padding: .5em .6em .4em 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    font-size: 16px;
}

.k-grid td {
    /* border-style: solid; */
    border-width: 0 0 0 0;
    padding: .4em .6em;
    overflow: hidden;
    line-height: 1.6em;
    vertical-align: middle;
    text-overflow: ellipsis;
}

.k-grid-content {
    font-size: 14px;
}

#guideButton {
    position: fixed;
    bottom: 0;
    right: 0;
  }

.linkbutton {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #000000;
    min-width: 160px;

    font-family: sans-serif;
	font-size: 16px;
	border-radius: 2px !important;
	border: 1px solid #dddddd !important;
	cursor: pointer;
	margin-bottom: 10px;
    margin-right: 10px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;     
    background-color: #FFDF38 !important;
}

.linkbutton:hover {
    background-color: #FFD500 !important;
    color: #000000;
}


.col-centered{
float: none;
margin: 0 auto;
}



.k-grid tr td {
    border-width: 0 0 0 0; 
}

.k-grid-header {
    border-style: none;
    font-weight: bold;
    
}

.k-pager-wrap {
    background-color: white;
}

div#tabstrip li.k-item.k-state-default {
    background-color:#dddddd;
    font-weight: normal;
}

div#tabstrip li.k-item.k-state-default.k-tab-on-top.k-state-active {
    border-top-width: 2px;
    background-color: #ffffff !important;
    font-weight: bold;
}

/*div#calculatortabstrip li.k-item.k-state-default {
    background-color:#dddddd;
    font-weight: normal;
}

div#calculatortabstrip li.k-item.k-state-default.k-tab-on-top.k-state-active {
    background-color:#ffcd00 !important;
    font-weight: bold;
}*/

#autoComplete-list .k-state-focused {
    border-color: #ffcd00;
    background-color: #ffcd00;
}

#autoCompletePatient-list .k-state-focused {
    border-color: #ffcd00;
    background-color: #ffcd00;
}

#newPatient_title-list .k-state-focused {
    border-color: #ffcd00;
    background-color: #ffcd00;
}

#newAdditionalAddress_title-list .k-state-focused {
    border-color: #ffcd00;
    background-color: #ffcd00;
}


.calculatorarea {
    padding-bottom: 5px;
}

.k-panelbar > .k-header{
    font-size: 18px;
}

.k-menu .k-link
{
       width: 95px;
    height: 68px;
    text-align: center;
}

.k-grid {
    border-radius: 0;
}

.k-window-titlebar {
    border-radius: 0;
}


.k-menu .k-state-hover:hover
{
    color: #ffffff;
}

.k-menu .k-link .k-state-hover:hover
{
	color: #ffffff;
}

.k-panelbar .k-state-focused.k-state-selected {
    box-shadow: none;
}

.k-panelbar .k-block, .k-draghandle, .k-header, .k-header {
    background-color: #dddddd;
}

.mycontent-left {
    border-right: 1px solid #cccccc;
    padding-left: 10px;
}

.col-full-height {
    display: table-cell;
    float: none;
    height: 100%;
    align-items: stretch;
}

.order-menu {
    margin: 0;
}

.menu-height {
    height: 100%;
	position: absolute;
    width: 300px;

}

/*.k-grid tr.k-state-selected:hover td, .k-grid tr:hover .k-state-selected {
    background-color: #ffcd00;
}*/

/*.shoppingCartPanelHeader .k-panelbar .k-header .k-link{ /*.k-panelbar>.k-item>.k-link*/
/*background-color: yellow;
}*/

.k-overlay {
    opacity: 0.6;
}

.nocollapseicon .k-panelbar .k-panelbar-expand,
.k-panelbar .k-panelbar-collapse {
    visibility: collapse;
    background-color: red;
}

.k-panelbar .k-panelbar-expand,
.k-panelbar .k-panelbar-collapse {
    right: auto;
    left: 2px;
}


#crumbs {
    text-align: center;
}

.crubs2 {
    padding-left: 2px;
    padding-right: 2px;
}

.crubsrow {
    margin-right: 0px;
}

.crumbs a:hover {
    color: #000000;
    text-decoration: underline;
}

.crumbs a {
    width: 100%;
    float: left;
    height: 40px;
    background: white;
    border-bottom-width: 2px;
    border-bottom-color: #ffcd00; 
    border-bottom-style: solid;
    text-align: center;
    font-size: 14px;
    padding: 10px 10px 0 80px;
    position: relative;
    margin: 0 0px 0 0;
    font-size: 18px;
    text-decoration: none;
    color: #000000;
}

    /*.crumbs a:after {
        content: "";
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 20px solid #ffcd00;
        position: absolute;
        right: -20px;
        top: 0;
        z-index: 1;
    }*/

    /*.crumbs a:before {
        content: "";
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 20px solid red;
        position: absolute;
        left: 0;
        top: 0;
    }*/

.crumbsinactive a {
    width: 100%;
    display: block;
    float: left;
    height: 40px;
    background: white;
    font-size: 14px;
    border-bottom-color: #EBEBEB;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    text-align: center;
    padding: 10px 10px 0 80px;
    position: relative;
    margin: 0 0px 0 0;
    font-size: 18px;
    text-decoration: none;
    color: #EBEBEB;
}

    /*.crumbsinactive a:after {
        content: "";
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 20px solid #EBEBEB;
        position: absolute;
        right: -20px;
        top: 0;
        z-index: 1;
    }

    .crumbsinactive a:before {
        content: "";
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 20px solid #ffffff;
        position: absolute;
        left: 0;
        top: 0;
    }*/


.applyCalculatorButtonArea {
    margin-top: 50px;
    padding-left: 25px;
}

/*.k-button .k-i-edit {
    background-position: 0 0 ;
    background-image:url(../images/18x18/icon_bearbeiten.png) !important;
}*/

body {
    padding-bottom: 20px;
    background-image: url(../images/bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #f9f9f9;
}

a {
    color: black;
    text-decoration: none;
}



h2 {
    font-size: 28px;
}

h1 {
    font-size: 14pt;
}

    a:hover {
        color: #ffcd00;
            text-decoration: none;
    }

.rightButton {
    margin-left: 5px;
}

.optionsButton {
    margin-right: 10px;
    background-image: url('../../images/16/gearwheel.png');
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    width: 28px;
}

.downButton {
    margin-right: 5px;
    background-image: url('../../images/18x18/icon_ab.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.upButton {
    margin-right: 5px;
    background-image: url('../../images/18x18/icon_auf.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.deleteButton {
    background-image: url('../../images/18x18/icon_loeschen.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.stornoButton {
    background-image: url('../../images/18x18/icon_stornieren.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.stornoButtonInactive {
    background-image: url('../../images/18x18/icon_stornieren_inactive.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.documentButton {
    background-image: url('../../images/40x40/pdf.png');
    background-size: 40px 40px;
    background-position: center;
    background-repeat: no-repeat;
}

.formulaButton {
    /*background-image: url('../../images/18x18/icon_loeschen.png');*/
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.viewButton {
    background-image: url('../../images/18x18/icon_ansicht.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.viewBrief {
    background-image: url('../../images/18x18/icon_brief.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.templateButton {
    background-image: url('../../images/18x18/icon_vorlagen.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.copyButton {
    background-image: url('../../images/18x18/icon_oeffnen.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.restoreButton {
    background-image: url('../../images/18x18/icon_zurueck.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.editButton {
    background-image: url('../../images/18x18/icon_bearbeiten.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.historyButton {
    background-image: url('../../images/18x18/icon_archiv.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.exportButton {
    background-image: url('../../images/18x18/icon_export.png');
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

span.k-delete {
    background: url('../../images/18x18/icon_loeschen.png') center center !important;
}

span.k-icon.k-delete {
    /*background-position: 0 0 ;*/
   background-image: url('../../images/18x18/icon_loeschen.png') !important;
   background-size: 18px 18px !important;
    background-position: center;
    background-repeat: no-repeat;
}

span.k-edit
{
   background: url('../../images/18x18/icon_bearbeiten.png') center center !important;
}

span.k-icon.k-edit
{
   /*background-position: 0 0 ;*/
   background-image: url('../../images/18x18/icon_bearbeiten.png') !important;
   background-size: 18px 18px !important;
    background-position: center;
    background-repeat: no-repeat;
}

/* centres the image */
.k-grid .k-button-icontext .k-icon {
    margin: 0;
    vertical-align: middle;
    align-content: center;
        
}
/* changes default width of the button */
.k-grid tbody .k-button {
    min-width: 42px;
    width: 42px;
    height: 42px;
}

.k-button-icontext {
    padding-left: 12px;
    padding-top: 8px;
}




.k-edit:hover
{
   background-position: 0 0 ;
   background-image: url('../../images/18x18/icon_bearbeiten.png') !important;
   background-size: 18px 18px !important;
    background-position: center;
    background-repeat: no-repeat;
}

.k-primary {
    color: #000000;
    border-color: #FFE73F;
    background-image: none;
    background-position: 50% 50%;
    background-color: #FFE73F;
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .k-primary:hover {
        color: #000000;
        border-color: #FFE73F;
        background-image: none;
        background-color: #FFE73F;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.k-edit-form-container .k-edit-buttons {
    clear: both;
    text-align: right;
    border-width: 1px 0 0;
    border-style: none; 
    position: relative;
    bottom: -1em;
    padding: .6em;
}

.optionalButton {
    background-color: white;
    line-height: 40px;
    min-width: 40px;
    text-align: center;
    border: 1px solid #DDD;
    border-radius: 2px;
    padding: 0;
    margin-left: 2px;
    font-size: 16px;
}

.optionalEmptyButton {
    background-color: white;
    line-height: 40px;
    min-width: 40px;
    text-align: center;
    border: 0px;
    padding: 0;
}

.k-grid-header {
    padding: 0 !important;
}

.k-grid-footer {
    padding: 0 !important;
}

.k-grid-content {
    overflow-x: scroll !important;
}

.scview>.k-grid-content {
    overflow-x: hidden !important;
}

.k-grid-content {
    overflow: hidden;
}


    .k-grid-content tr td {
        overflow: visible;
    }

.k-link:link, .k-link:visited, .k-nav-current.k-state-hover .k-link {
    color: black;
    font-size: smaller;
}

.k-menu .k-item > .k-link {
    color: black;
    font-size: smaller;
    padding: 0px;
    padding-right: 0px;
    height: 70px;
}

.pricearea {
    margin-left: 52px;
    margin-right: 20px;
}


.panelspan {
    padding-top: 5px;
    padding-bottom: 5px;
}

.k-popup .k-list .k-state-focused {
    border-radius: 0;
    box-shadow: none;
}

.k-window div.k-window-content {
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 20px;
}

.k-panelbar > li.k-state-default > .k-link {
    padding-top: 5px;
    padding-bottom: 5px;
}

.k-panelbar > .k-item > .k-link {
    padding-top: 5px;
    padding-bottom: 5px;
}

.k-panelbar > .k-header {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 18px;
}

.messagearea {
    padding-right: 25px !important;
    padding-top: 30px;
    padding-bottom: 30px;
}

.k-tabstrip .k-content {
    overflow: hidden;
}

.k-content {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.orderbutton {
    margin-left: 20px;
    box-shadow: 1px 1px 2px #000000;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #E0E0E0;
    height: 40px;
}

.k-widget.k-menu {
    background-color: #ffffff;
    border-color: #ffffff;
    border-bottom-color: #cccccc;
    border-bottom-style: solid;
    border-radius: 0;
}

.k-menu .k-item, .k-widget.k-menu-horizontal > .k-item {
    border-width: 0 0 0 0;
    
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: #ffffff;
    text-decoration: none;
    background-color: #ffcd00;
}

.k-draghandle.k-state-selected:hover, .k-ghost-splitbar-horizontal, .k-ghost-splitbar-vertical, .k-list > .k-state-highlight, .k-list > .k-state-selected, .k-marquee-color, .k-panel > .k-state-selected, .k-scheduler .k-scheduler-toolbar .k-state-selected, .k-scheduler .k-today.k-state-selected, .k-state-selected:link, .k-state-selected:visited {
    color: #fff;
    background-color: #ffcd00;
    border-color: #ffcd00;
}

.k-autocomplete.k-state-focused, .k-dropdown-wrap.k-state-focused, .k-multiselect.k-header.k-state-focused, .k-numeric-wrap.k-state-focused, .k-picker-wrap.k-state-focused, .k-textbox:focus {
    background-color: #fff;
    background-image: none;
    background-position: 50% 50%;
    border-color: #ffcd00;
    -webkit-box-shadow: 0 0 0px 0 #ffcd00;
    box-shadow: 0 0 0px 0 #ffcd00;
}

.k-tabstrip:focus {
    -webkit-box-shadow: 0 0 0px 0 #FFFFFF;
    box-shadow: 0 0 0px 0 #FFFFFF;
}

.centertext {
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.k-state-selected, .k-panelbar > li > .k-link.k-state-selected {
    color: #000;
}

.noticebutton {
    margin-top: 5px;
    margin-bottom: 5px;
}

.centerimage {
    margin: 0 auto;
    horiz-align: center;
}

.k-grid > .k-state-selected {
    background-color: #ffcd00;
}

    .k-panelbar > li.k-state-default > .k-link.k-state-selected, .k-panelbar > li > .k-state-selected, .k-state-selected > .k-link {
        color: #000;
    }

.k-tabstrip-items .k-state-default .k-link {
    color: #333333;
}

.k-tabstrip-items .k-state-active .k-link {
    color: #333;
}

.k-state-focused.k-state-selected {
    box-shadow: inset 0 0 10px 3px #f5f5f5;
}

.navbar-inverse {
    background-color: #ffffff;
    border-color: #ffffff;
}

.navbar-inverse:hover {
    background-color: #ffffff;
    border-color: #ffffff;
}

.navbar:hover {
    background-color: #ffffff;
    border-color: #cccccc;
}

.navbar {
    height: 72px;
    border-bottom-style: solid;
    border-bottom-color: #cccccc
}

.tempCalculatorWeight {
    float: right;
}

.navbar-inverse .navbar-nav > li > a {
    color: #000000;
    font-weight: bold;
}

.navbar-inverse .navbar-brand {
    color: #000000;
    text-decoration: none;
}

.navbar-brand > a {
    text-decoration: none;
}

.k-edit-label {
    margin-right: 2%;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */


.rowWithSpace {
    margin-top: 2px;
    margin-bottom: 2px;
}

.rowSpaceBelow {
    margin-bottom: 10px;
}

.tenFromLeft {
    margin-left: 2px;
}

.windowRow {
    margin-left: 0;
    padding-right: 50px;
}

.formRow {
    margin-left: 0;
}

.spaceBefore {
    margin-top: 30px;
}

.k-pager-wrap > .k-link, .k-pager-numbers .k-link, .k-pager-numbers .k-state-selected {
    border-radius: 0;
    background-color: white;
    height: 30px;
}

.k-pager-wrap > .k-pager-numbers .k-state-selected{
    border-radius: 0;
    height: 30px;
    font-weight: bold;
    border-color: grey;
    box-shadow: none;
    margin-right: 0px;
    padding-right: 0px;
}

.workarea {
    background-color: rgba(255, 255, 255, 0.8);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 10px;
    margin-top: 125px;
    border: 1px solid lightgray;
}

.workarea-startscreen {
    background-color: rgba(255, 255, 255, 0.0);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 10px;
    margin-top: 125px;
}

.startscreenbox {
    background-color: rgba(255, 255, 255, 1.0);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 10px;
    height: 100%;
    border: 1px solid lightgray;
}

.specific-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 100%;
    height: 100%; /* Ensure the container takes the full height of its parent */
    gap: 10px; /* Adds spacing between elements */
    box-sizing: border-box; /* Ensures padding/border does not exceed 100% height */
}

.specific-container .startscreenbox_30 {
    padding: 30px 30px 10px;
    border: 1px solid lightgray;
    background-color: rgba(255, 255, 255, 1.0);
    box-sizing: border-box; /* Ensures padding is part of the height calculation */
    flex: 0; /* Takes only the space it needs */
}

.specific-container .startscreenbox_70 {
    padding: 30px 30px 10px;
    border: 1px solid lightgray;
    background-color: rgba(255, 255, 255, 1.0);
    box-sizing: border-box;
    flex: 1; /* Fills the remaining space */
}





.loginarea {
    margin: 0 auto;
    background-color: rgba(255, 255, 255,1);
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 30px;
    border: 1px solid lightgray;
    width: 480px;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}



.k-numeric-wrap.k-state-default {
    height: 40px !important;
}

/*.k-numeric-wrap .k-link:last-child {
    position: absolute;
    bottom: 0;
    margin-left: 7px;
}*/

.boldText {
    font-weight: bold;
}

.messageText {
    width: 600px;
    height: 100px !important;
    margin-bottom: 30px;
}

.k-menu .k-item > .k-link {
    color: gray;
    font-size: smaller;
    border-left-color: lightgray;
    border-left-width: 1px;
    border-left-style: solid;
}

.lastMenu {
    border-right-style: solid;
    border-right-color: lightgrey;
    border-right-width: 1px;
}

.actions-column {
    padding-right: 10px !important;
}

.k-autocomplete, .k-block, .k-button, .k-calendar .k-link, .k-calendar td, .k-calendar-container, .k-colorpicker, .k-combobox, .k-datepicker, .k-datetimepicker, .k-drag-clue, .k-dropdown, .k-dropdown-wrap, .k-editor-inline, .k-grid .k-filter-options, .k-grouping-header .k-group-indicator, .k-inline-block, .k-list-container, .k-multiselect, .k-notification, .k-numeric-wrap, .k-numerictextbox, .k-picker-wrap, .k-slider-selection, .k-slider-track, .k-split-button, .k-textbox, .k-tile, .k-timepicker, .k-tooltip, .k-touch-scrollbar, .k-treeview .k-in, .k-upload, .k-window, .k-window-action, .k-window-titleless .k-window-content {
    border-radius: 0px;
}

.k-numerictextbox .k-input {
    height: 34px !important;//Could be set at any height 
}

.cwbutton {
    box-shadow: 1px 1px 2px #000000;
    padding-top: 2px;
    padding-bottom: 2px;
    height: 40px;
}

.manditorybutton {
    background-color: #FFE73F;
    padding-top: 2px;
    padding-bottom: 2px;
    height: 40px;
    vertical-align: middle;
    display: table-cell;
}

.k-dropdown .k-dropdown-wrap{
    height: 40px;
    border: 1px solid #CCC;
}

.summary {
}     

.messageSelector {
    padding-top: 8px!important;
}     

.alignright {
    margin-right: 0px !important;
}     



input::-webkit-input-placeholder { /* WebKit browsers */
    color: #999;
    padding-left: 0;
}

input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #999;
    padding-left: 0;
}

input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #999;
    padding-left: 0;
}

input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #999;
    padding-left: 0;
}

.k-window-titlebar, .k-block > .k-header, .k-tabstrip-items .k-item, .k-panelbar .k-tabstrip-items .k-item, .k-tabstrip-items .k-link, .k-calendar-container.k-state-border-down, .k-list-container.k-state-border-down, .k-autocomplete.k-state-border-down, .k-multiselect.k-state-border-down, .k-dropdown-wrap.k-state-border-down, .k-picker-wrap.k-state-border-down, .k-numeric-wrap.k-state-border-down {
     border-radius: 0; 
     background-color: white;
     border-bottom-style: none;
}

.printlinkbutton {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #000000;
    min-width: 160px;
    height: 40px;
    font-family: sans-serif;
	font-size: 16px;
	border-radius: 2px !important;
	border: 1px solid #dddddd !important;
	cursor: pointer;
	margin-bottom: 10px;
    margin-right: 10px;
    padding: 0;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    horiz-align: center; 
    background-color: #FFDF38 !important;
}

.printlinkbutton:hover {
    background-color: #FFD500 !important;
    color: #000000;
}



#footer { position: fixed; bottom: 0; height: 30px; background: #000; width: 100%; text-align: center; color : #fff;}

@media (min-width: 124px) {
     .container {
        max-width: 1200px;
    }

    .body-content {
    padding-left: 0px;
    padding-right: 0px;
}

    @media (min-width: 1px) {
    .col-md-2 {
        padding-right: 5px;   
    }
}

    @media (min-width: 1025px) {
    .col-md-2 {
        padding-right: 15px;   
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }

    .body-content {
    padding-left: 15px;
    padding-right: 15px;
}
}

