@font-face {
		font-family: 'MarckScript';
		font-style: normal;
		font-weight: 400;
		src: url(../fonts/MarckScript-Regular.ttf);
}
.fancybox-content {
	padding: 30px 20px 20px 20px;
}
.fancybox-slide--html .fancybox-close-small {
    padding: 0px;
    right: 5px;
    top: 5px;
    height: 20px;
    width: 20px;
}
.back-block_header{
	padding:20px;
}
.back-block_content{
	padding:20px;
}
textarea.input_text {
	padding-top: 10px;
	padding-bottom: 10px;
}
.input_text{
	padding: 0 20px;
}

body.cloneReady{
	cursor: crosshair;
}
.ui-timepicker-wrapper {
	z-index: 100001!important;
}
a:hover{
	text-decoration:none;
}
small{
	font-weight: inherit;
}
.sec.dashboard_sec{
	min-height: calc(100vh - 133px);
}
.back-header{
	padding: 10px 20px;
    justify-content: center;
    background-image: url(../img/laserdent_logo_c.png);
    background-repeat: no-repeat;
    background-position-x: -130px;
}
.back-mainsec {
	padding: 20px;
}
.back-sidebar{
	margin-right: 20px;
}
header .logo img{
    height: 17px;
    scale:300%;
}

@media (max-width: 1035px) {
.back-header{
    justify-content: start;
    background-image: none;
}
}
.front_time_choice{
    overflow-y: auto;
    max-height: 224px;
}
    
.time_cell label sup {
	font-size: 0.8rem;
	color: #666;
}

.step_2{
	display:none;
}

.front_upper_errors {
	display:none;
    padding: 15px 30px;
    margin: 0 30px 30px 30px;
    background: #fee;
}

input[required].warn, select[required].warn {
	border:2px solid #f00;
}

input[readonly] {
	border-color:#aaa;
}

.logo_preview {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #999;
}
.logo_preview.logo_dark_on_light{
   background: #ddd;
}
.logo_preview.logo_light_on_dark{
   background: #333;
}
.front_validation {
	display:none;
}

.front_validation p {
	text-align: center;
	margin: 1rem 0;
}
.front_validation.upper_errors,
.front_validation.upper_success{
	display: block;
	padding:5px;
}
.front_validation.upper_errors{
	color:#962424;
	background:#ffdfdd;	
	margin-bottom:20px;
}
.front_validation.upper_success{
	background:#cdefe7;
	color:#104a3d;
}
.front_validation.upper_errors.login_errors,
.front_validation.upper_errors.device_errors,
.front_validation.upper_success.device_success{
	max-width:396px;
	margin-left: auto;
    margin-right: auto;
}

.fronpage_box_inner.admin{
	background: #fff;
}

.input_text:disabled{
	border-color:#999;
	color:#444;
}
textarea.input_text.h100{
	height:100px;
}
textarea.input_text.h100::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #c33;
  opacity: 1; /* Firefox */
}

textarea.input_text.h100:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #c33;
}

textarea.input_text.h100::-ms-input-placeholder { /* Microsoft Edge */
    color: #c33;
}
.status{
	font-size:16px;
	color:#999;
}
.time_ch + label {
	position: relative;
}
.time_ch + label .busy{
	bottom: 0;
    position: absolute;
    left: 0;
    background: rgb(0 0 0 / 20%);
    width: 100%;
    height: 0%;
}
.time_ch + label .free{
	position: absolute;
    top: 2px;
    right: 2px;
    font-size: 12px;
    line-height: 1;
    display:none;
}
.time_ch + label:hover .free{
	display:block;
}
.fa-reservnote {
    width: 60px;
    height: 56px;
    margin: 4px 40px 4px 4px;
    background: white;
    padding: 16px;
    text-align: center;
    font-size: 1.4rem;
}
.time_ch + label.pre_choice {
	/*border-color: #10b3a0;
    color: #10b3a0;*/
   background: #10b3a047;
}
.back-filters_box{
	justify-content: flex-start;
    gap: 10px;
}
.back-filters_box.usearch .ipc_search{  
	flex-shrink: 1;
	width:auto;
}   
li a.root{
	color:#bf3a3a;
}
.ip_label small.hint{
	color: grey;
    font-weight: normal;
    vertical-align: baseline;
}
.button.redish {
	background: #9a6060;
}
.button.redish:hover{
	background: #b37676;
}
a.restset {
	color:#000;
	font-size:1.1em;
}
a.restset.inactive {
	color: #888;
}
.logo_text{
	font-size:1.5em;
	font-weight: bold;
}
.logo_text_small{
	font-size:1em;
}
.add_worktime {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #888;
}

.front_footer_sec .container{
	width:auto;
}
.madein{
    display: inline-block;
    color: #a9a9a9;
    margin-right:0;
}

.front_footer_sec .dashboard_footer_contacts a{
	color:#515151;
}
.lang_box a{
	background: #666;
}
.lang_box a.current {
    color: #000;
    background: rgb(255 255 255 / 60%);
}
.lang_box a.current:hover{
	color:#000;
	background:#e6e6e6;
}

.lang_row .fa{
	/*display:none;*/
	color:#eee;
	cursor:pointer;
}
.lang_row:hover .fa{
	display:inline-block;
	color:#800;
}
.ip_label span.lang{
	color:#c00;
}
.langimg{
	height:14px;
	margin:0;
	margin-left:auto;
}
small.sys{
	color:#c00;
}
.reserv_name .fa{
	cursor:pointer;
}
.reserv_name .fa.note{
	color: #10b3a0;
}
.reserv_name .fa.note_internal{
	color: #c00;
}
.frontpage_box{
	background: rgb(255 255 255 / 60%);
}


.code {
	font-family: monospace;
	color:#222;
	background: #e2e2e2;
	padding:0 5px;
}
.hint{
	margin:5px;
	font-size:0.8em;
	color: #555;
}
.hint .rowhint{
	margin:5px 10px;
}
.back-menu > li.current {
	padding: 0 0 0 0px;
	background: transparent;
}
.back-menu > li.current a{
	color: #00a794;
}
.input_text.table_num{
	height: 30px;
	text-align:center;
}
.input_text.date{
	background-position: right 15px top 50%;
	padding-right:60px;
}

.zebra.print th,
.zebra.print td{
	border-width: 0 0 1px 0px;
	color:#2f2f2f;
}

/*RESERVATION POPUP */
.popup_box {
    position: fixed;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.popup_box.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    position: relative;
    display: inline-block;
    width: 500px;
    padding: 40px;
    background-color: #efefef;
    border-radius: 36px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    font-size: 18px;
    line-height: 28px;
    color: #151515;
    text-align: center;
    overflow: auto;
    z-index: 1006;
}

.popup .btn_close_popup {
    position: absolute;
    display: inline-block;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    text-align: center;
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.popup .btn_close_popup:hover {
    color: #32CD32;
}

.popup .btn_close_popup .fa {
    vertical-align: middle;
}

body.popup_open {
    overflow: hidden;
}

.print a{
    background: none;
    display: inline-block;
    padding: 0px 10px;
    font-size: 16px;
    color:#2f2f2f;
}


@media (max-width: 650px) {
.popup {
    width:90%;
}
}

@media print {
  .noPrint{
    display:none;
  }
}

.frontpage_sec{
    padding: 50px 0;
    margin-bottom: 30px;
}

.agreement {
    font-size: 0.9em;
    text-align: center;
    background: rgb(255 255 255 / 30%);
    padding: 20px 10px;
 }
.back-login_box{
	text-align: right;
}
@media (max-width: 739px) {
	.back-login_box a > span{
		display:none;
	}
}



/*footer*/
@media (min-width: 740px) {
	.madein img{
		height:80px;
		margin-top: -28px
	}
}
@media (max-width: 739px) {
	.sec.dashboard_sec{
		min-height: calc(100vh - 209px);
	}
}
@media (max-width: 669px) {
	.madein {
		margin-bottom:30px;
	}
	.dashboard_footer_contacts{
		width: 100%;
	    border-left: none;
	    padding-left: 0;
	    text-align: center;
	}
	.sec.dashboard_sec{
		min-height: calc(100vh - 283px);
	}
}

.tooltip .tooltip-inner{
	border:1px solid #000;
	background: #fff;
	color:#333;
	text-align: left;
}


.zebra tr.termin_tr td{
	padding:8px 10px;
}
.zebra tr.termin_tr.free td:first-child,
.zebra tr.termin_tr.free td{
	/*background: #0099141c;*/
}
.zebra tr.termin_tr.busy td:first-child,
.zebra tr.termin_tr.busy td{
	/*background: #ffe20017;*/
	background: #fbf8df;
}
.zebra tr.termin_tr.busy.toDel td{
    background: transparent;
    color:#aaa;
    font-style: italic;
}






.back-block.weekTable.today{
	border-color:#343a40;
}
.zebra.centered.weekTable th:first-child{
	text-align: center;
}
.zebra.centered.weekTable tr.termin_tr td:nth-child(odd) {
	width:70px;
} 

.init_no_show{
	display: none!important;
}

.scheduleContent .zebra tr:nth-child(odd) {
	background: none;
}

.scheduleViewControls > div {
	display: inline-block;
}
div.selectedPatient{
	border: 1px solid #3bb1a4;
	padding: 0 10px;
	min-height: 40px;
	line-height:40px;
	color: #08453e;
	background: #eaf5f5;
	cursor: pointer;
	position: relative;
	margin-bottom: 0;
}

.searchPatient{
	position:relative;
}
.searchPatient .selectedPatient{
	cursor:default;
}

.searchPatient .selectedPatient > i.clearSelectedPatient{
	position:absolute;
	top:0px;
	right:0px;
	cursor:pointer;
	padding:10px;
	background: #beddda;
}
.searchPatient .selectedPatient > i.toggleHiddenNotes{
	position: absolute;
    top: 0px;
    right: 39px;
    cursor: pointer;
    background: #f7c5c5;
    color: #600;
    padding: 10px;
}

.searchPatient .selectedPatientNotes{
	border-top: 1px solid #10b3a0;
}
.formContent .patientNote{
	line-height:20px;
	font-size:0.9em;
}

.searchPatient .input_text,
.scheduleViewControls .input_text{
	padding: 0 20px;
}
.input_text.ip_search{
	padding-left: 70px;
/*	width:340px;*/
}
form.usearch .input_text.ip_search{
	width:340px;
}
form.usearch div.ip_cell {
	width:auto;
}
.searchPatient .input_text.ip_search{
	width:100%;
}

@media (max-width: 600px) {
    form.usearch .input_text.ip_search{
        width: 100%;
    }
    form.usearch div.ip_cell {
        width: 100%;
    }
}

.formContent .loading,
.ip_cell.ipc_search .loading{
	position: absolute;
    top: 12px;
    right: 12px;
    height: 17px;
    display:none;
}

.ip_cell.ipc_search{
	position:relative;
	margin-bottom:0;
}

.ip_cell.ipc_search .searchResults{
	position:absolute;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
	z-index:1;
	display:none;
	width: 100%;
	max-height: 450px;
    overflow-y: auto;
}
.ip_cell.ipc_search .resultPatient{
	padding:10px 10px;
	border-bottom:1px solid #ddd;
	width: 100%;
	background: #edf7ef;
}
.ip_cell.ipc_search .resultPatient:hover{
	background:#c7efd9;
	cursor:pointer;
}
.ip_cell.ipc_search .resultPatient .resultPnr{
	color:#999;
	font-size:0.8em;
}

.scheduleViewControls .todayBtn {
	padding: 0 10px;
    background: transparent;
    border: 1px solid #2c2c2c;
    color: #2c2c2c;
}

.scheduleViewControls .scheduleViewSwitcher{
	padding: 0 20px;
}

.scheduleViewControls a.scheduleViewSwitcher ~ a.scheduleViewSwitcher{
	margin-left:-4px;
}

.scheduleContent .zebra th:not(:last-child):not(.nowrap):after{
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 44px;
    margin-top: -22px;
    background: #d3d3d3;
}
.scheduleContent .zebra td:not(:last-child):not(.nowrap):after{
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 30px;
    margin-top: -15px;
    background: #d3d3d3;
}

.scheduleContent .dayView .zebra tr.offDayTime,
.scheduleContent .dayView .zebra tr.OFF th,
.scheduleContent .weekView .zebra tr.offDayTime:not(.ON),
.scheduleContent .weekView .zebra tr.OFF th,
.scheduleContent .monthView .zebra .OFF{
	background: #c5c4c47a;
}
/*.scheduleContent .zebra tr.offTime{
	background: #fffad7;
}*/
.scheduleContent .zebra tr.offTime{
	background: #cfcfcf50;
}
.scheduleContent .zebra tr.free.onCall td,
.scheduleContent .zebra tr.onCall th{
	background: #fff28e70;
}
.scheduleContent .zebra tr.busy.extraVisit td{
/*	background: #fff28e50;  YELLOW*/
/*	background: #ffd38e50;  ORANGE */
}
.scheduleContent .zebra tr.busy.extraVisit td:first-child{
	font-weight:bold;
}

.scheduleContent .zebra tr.locked td:nth-child(2){
	color:#999;
	font-size: 0.8em;
}

.scheduleContent .zebra tr.visitActionExpected td {
    background: #ffbaba !important;
}

.scheduleContent .dayView .zebra tr.termin_tr td.visitMain,
.scheduleContent .weekView .zebra tr.termin_tr td.visitMain{
	position: relative;
	white-space:normal;
	overflow-wrap: break-word;
	word-wrap: break-word;

	-ms-word-break: break-all;
	word-break: break-word;

	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
  	hyphens: auto;
}

.scheduleContent .dayView .zebra tr.termin_tr td.visitMain span,
.scheduleContent .weekView .zebra tr.termin_tr td.visitMain span{
	color:#999;
	font-size:0.9em;
}
.scheduleContent .dayView .zebra tr.termin_tr td.visitMain .clonePrevious,
.scheduleContent .weekView .zebra tr.termin_tr td.visitMain .clonePrevious,
.scheduleContent .dayView .zebra tr.termin_tr td.visitMain .cloneVisit,
.scheduleContent .weekView .zebra tr.termin_tr td.visitMain .cloneVisit{
	position: absolute;
	top: 8px;
	right: 8px;
	color:#666;
	display:none;
}
.scheduleContent .dayView .zebra tr.termin_tr td.visitMain:hover .clonePrevious,
.scheduleContent .weekView .zebra tr.termin_tr td.visitMain:hover .clonePrevious,
.scheduleContent .dayView .zebra tr.termin_tr td.visitMain:hover .cloneVisit,
.scheduleContent .weekView .zebra tr.termin_tr td.visitMain:hover .cloneVisit{
	display:inline;
}
.scheduleContent .dayView .zebra tr.termin_tr td.visitMain sup,
.scheduleContent .weekView .zebra tr.termin_tr td.visitMain sup{
/*	color:#c00;*/
}
.visitMain .visitorName {
	display:inline-block;
}
.tooltip-inner hr{
	margin:3px;
	background:#600;
}
.tooltip-inner .pNotes{
	color:#600;
}
.scheduleContent .weekView .back-block.weekTable{
	display:inline-block;
	width: calc(14.28% - 4px);
}
.scheduleContent .weekView .back-block.weekTable.work1{ width: calc(100% - 868px);}
.scheduleContent .weekView .back-block.weekTable.work2{ width: calc(50% - 364px);}
.scheduleContent .weekView .back-block.weekTable.work3{ width: calc(33.33% - 196px);}
.scheduleContent .weekView .back-block.weekTable.work4{ width: calc(25% - 112px);}
.scheduleContent .weekView .back-block.weekTable.work5{ width: calc(20% - 62px);}
.scheduleContent .weekView .back-block.weekTable.work6{ width: calc(16.67% - 29px);}

.scheduleContent .weekView .back-block.weekTable.working_days0{
}
.scheduleContent .weekView .back-block.weekTable.working_days1{
}
.scheduleContent .weekView .back-block.weekTable.working_days2{
}
.scheduleContent .weekView .back-block.weekTable.working_days3{
}
.scheduleContent .weekView .back-block.weekTable.working_days4{
}
.scheduleContent .weekView .back-block.weekTable.working_days5{
	width: calc(20% - 62px);
}
.scheduleContent .weekView .back-block.weekTable.working_days6{
	width: calc((100/6)% - (140/6+6)px);
}
.scheduleContent .weekView .back-block.weekTable.working_days7{
}
.scheduleContent .weekView .back-block.weekTable.OFF:not(.ON){
	/*width: 10%;
	min-width:140px;*/
	width: 140px;
}
.scheduleContent .weekView .back-block.weekTable tr th{
	position:relative;
}

.scheduleContent .weekView .back-block.weekTable tr th .dayHint{
	position: absolute;
	top:3px;
	left:3px;
	width: 9px;
	height: 9px;	
}
.scheduleContent .dayView .back-block tr th .dayHint{
	width: 12px;
	height: 12px;
	display: inline-block;
	color: #fff;
	font-size:9px;
}	

.scheduleContent .dayView .back-block th span.dayLink,
.scheduleContent .weekView .back-block th span.dayLink{
	cursor:pointer;
}


.scheduleContent .monthView .zebra tr:hover td{
	border-bottom-color: #d3d3d3;
}

.scheduleContent .monthView .zebra tr td:hover{
	border-bottom: 1px solid #000;
}

.scheduleContent .monthView .zebra th {
	text-align: center;
	width:14%;
	
}
.scheduleContent .monthView .zebra th.OFF {
	
}
.scheduleContent .monthView .zebra td {
	padding:0;
}
.scheduleContent .monthView .zebra td.otherMonth{
	font-size:0.9em;
	color: #b3b3b3;
}
.scheduleContent .monthView .zebra td.ON.pastDay{
	background: #f3f3f3;
}


.scheduleContent .monthView .zebra td:not(:last-child):not(.nowrap):after{
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 104px;
    margin-top: -52px;
    background: #d3d3d3;
}

.scheduleContent .monthView .zebra td > div {
	min-height:110px;
	position:relative;
}
.scheduleContent .monthView .zebra td.ON > div.visits{
/*	background: #fff0c3;*/
}

.scheduleContent .monthView .zebra td div.dayNumber {
	position:absolute;
	top:3px;
	right:5px;
	font-weight: 500;
	cursor: pointer;
}
.scheduleContent .monthView .zebra td.today div.dayNumber{
	background: #666;
    color: #eee;
    padding: 1px 3px;
    border-radius: 2px;
}
.scheduleContent .monthView .zebra td div.busyStats {
    position: absolute;
    top: 77px;
    right: 0px;
}
.scheduleContent .monthView .zebra td div.busyStats > div{
    padding: 0px 10px;
    border-radius: 3px 0px 0 3px;
    border: 1px solid #ddd;
    border-width: 1px 0 1px 1px;
    color: #3bb1a4;
	height: 30px;
	line-height: 30px;    
}
.scheduleContent .monthView .zebra td.OFF div.busyStats > div{
    border: 1px solid #cdcdcd;
}

.scheduleContent .monthView .zebra td.pastDay div.busyStats > div{
	color: #cd8787;
    background: #e5e5e5;
}
.scheduleContent .monthView .zebra td.pastDay.OFF div.busyStats > div{
	background: #d7d7d7;
}
.scheduleContent .monthView .zebra td div.busyStats > div > small{
	font-size: 60%;
}

.scheduleContent .monthView .zebra td div.dayContent {
	text-align: left;
	font-size:0.8em;
}
.scheduleContent .monthView .zebra td div.dayContent .dayLine{
	padding:3px 24px 3px 5px;
}
.tooltip .dayLine.holiday,
.scheduleContent .monthView .zebra td div.dayContent .dayLine.holiday{
	font-weight:bold;
}
.tooltip .dayLine.holiday i,
.scheduleContent .monthView .zebra td div.dayContent .dayLine.holiday i{
	font-weight:normal;
	color:#900;
}
.scheduleContent .monthView .zebra td div.dayContent .dayLine.birthday{
	font-weight: bold;
}

.scheduleContent .monthView .zebra td div.dayContent .dayLine.birthday i{
	font-weight:normal;
	color:#3bb1a4;;
}

@media (max-width: 620px) {
	.scheduleContent .monthView .zebra td {
		padding:20px;
	}
	.scheduleContent .monthView .zebra td.OFF {
		padding:20px 1px;
	}
	.scheduleContent .monthView .zebra td:not(:last-child):not(.nowrap):after{
	    content: '';
	    position: absolute;
	    top: 50%;
	    right: 0;
	    width: 1px;
	    height: 52px;
	    margin-top: -26px;
	    background: #d3d3d3;
	}
}

@media (max-width: 1700px) {
.scheduleContent .table_box table {
	width:100%;
}
.scheduleContent .weekView {
	overflow-x:scroll;
    overflow-y:auto;
    width: 100%;
    height: auto;
    position:relative;
}
.scheduleContent .weekView .scroll{
	height:100%;
    padding:0px;
    width:auto;
    white-space:nowrap;
}

.scheduleContent .weekView .back-block.weekTable{
    /*width:300px;   
    width: 14.29% !important;
    */position:relative;
    display:inline-block;
}
}


#confirmModalScheduleEntry {
	max-width:600px;
	cursor:default;
}
#confirmModalScheduleEntry header h2 {
	display:flex;
	justify-content: space-between;
}
#confirmModalScheduleEntry header h2 a{
	color:#900;
}
#confirmModalScheduleEntry section.visitWarning.onCall{
	background: #fffad7;
}
#confirmModalScheduleEntry section.visitWarning.offTime{
	background: #fffad7;
}
#confirmModalScheduleEntry section.visitWarning.pastTime{
	background: #fffad7;
}
#confirmModalScheduleEntry section.visitWarning.offDay{
	background: #fff28d;
}
#confirmModalScheduleEntry section.visitWarning.diffDentist{
	background: #fff28d;
}
#confirmModalScheduleEntry section.visitWarning.lockedTime{
	display:flex;
	justify-content: space-between;
	background: #ffdada;
}
#confirmModalScheduleEntry section.visitWarning.lockedTime.init_no_show{
	display:none;
}
#confirmModalScheduleEntry section.visitWarning.lockedTime a{
	color:#900;
}

#confirmModalScheduleEntry .contacts_flex{
	display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#confirmModalScheduleEntry .visitContent {
	position: relative;
    padding: 5px 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #bbb;
}
#confirmModalScheduleEntry .visitContent a.goPatient{
	position: absolute;
	top:0px;
	right:0px;
	padding:0 15px;
	color: #72726f;
    background: #fff;
    border: 1px solid #777;
	
}

#confirmModalScheduleEntry .visitContent > div{
	margin: 10px 0;
	white-space:normal;
	overflow-wrap: break-word;
	word-wrap: break-word;

	-ms-word-break: break-all;
	word-break: break-word;

	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
  	hyphens: auto;
}
#confirmModalScheduleEntry .visitContent .visitLabel{
	display:inline-block;
	width:60px;
	color:#999;
	font-size: 0.9em;
}
#confirmModalScheduleEntry .visitContent .visitValue{
	display:inline-block;
	white-space:normal;
	overflow-wrap: break-word;
	word-wrap: break-word;

	-ms-word-break: break-all;
	word-break: break-word;

	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
  	hyphens: auto;
}
#confirmModalScheduleEntry .visitContent .visitName .visitValue{
	padding-right:40px;
}
#confirmModalScheduleEntry .noteHolder{
	margin-bottom:0;
}
#confirmModalScheduleEntry .noteHolder label{
	margin: 0;
	margin-top: 1rem;
	color:#a00;
}


#confirmModalScheduleEntry .noteHolder .notesHistory {
	margin-bottom:10px;
}
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry {
    padding:5px;
    background: #F2F2F2;
    margin-top: 2px;
    position:relative;
}
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry.toDelete{
	background: #ebd2d2;
}
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry.toDelete > i.confirmDeleteNote{
	display:block;
}
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry > i{
	position:absolute;
	right:5px;
	top:5px;
	cursor: pointer;
	display:none;
}
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry .noteTime{
	font-size:0.6em;
	font-style: italic;
	text-align: right;
	color:#999;
	background: #eee;
	position:absolute;
	right:25px;
	top:7px;
	display:none;
}
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry .noteContent{
	font-size:0.9em;
	display:inline;
}
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry:not(.toDelete):hover .noteTime,
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry.deleteEnabled:hover .deleteNote
{
	display:block;
}
#confirmModalScheduleEntry .noteHolder .notesHistory .noteEntry .noteContent .bullet{
	width:22px;
	text-align: center;
}

#confirmModalScheduleEntry textarea.input_text{
	height:56px;
}

#confirmModalScheduleEntry .confirm_popup_buttons{
	display: flex;
    justify-content: space-between;
}
#confirmModalScheduleEntry .confirm_popup_buttons .button{
	margin-bottom:0;
}

.button.smallBtn{
 	margin-bottom:0;
	padding: 0 15px;
	width: 50px;
}
.button.smallBtn.light{
	background: #eee;
    color: #666;
}
.button.smallBtn.light-red{
	background: #ffe4e4;
    color: #600;
}


@media (max-width: 620px) {
	#confirmModalScheduleEntry{
		max-width:auto;
	}
	#confirmModalScheduleEntry .button {
		padding:0 10px;
		
	}
	#confirmModalScheduleEntry textarea.input_text {
		height:150px;
	}
	
	.contacts_flex {
		-webkit-box-orient: vertical;
	    -webkit-box-direction: normal;
	    -ms-flex-direction: column;
	    flex-direction: column;
	}
	.contacts_flex .ip_cell.w49,
	.contacts_flex .ip_cell.w75 {
		width:100% !important;
	}
	
	#confirmModalScheduleEntry .back-block_header {
		padding: 10px 15px;
	}
	#confirmModalScheduleEntry section.visitWarning {
		padding: 10px 15px;
	}
	#confirmModalScheduleEntry section.back-block_content {
		padding: 10px 15px;
	}
}


.patientLabel{
	vertical-align:baseline;
	color:#999;
	display: block;
}
.patientWarn{
	background:#fff28d;
/*	background:#fffad7;*/
	color:#600;
}

.patientNotes{
    flex-grow: 2;
}

.patientNotes.hasHidden{
	border-left: 3px solid #c00;
}

.patientNote {
	border-bottom: 1px solid #aaa;
	position: relative;
	display:block;
	line-height: 1;
}
.patientNote.important {
	background: #ffd;
}
#confirmModalScheduleEntry .patientNote.schedule{
	background: #fff28d;
}


.patientNote.hidden {
	background: #ffe4e4;
    color: #600;
    display:none;
}
.patientNote i{
	width: 20px;
	text-align: center;
}
.patientNote i.deleteNote,
.patientNote i.editNote,
.patientNote i.confirmDeleteNote,
.patientNote i.confirmEditNote{
	position:absolute;
	right: 10px;
	top: 7px;
	display:none;	
	cursor: pointer;
}
.patientNote i.editNote{
    right: 40px;
}

.patientNote.deleteEnabled i.deleteNote,
.patientNote.deleteEnabled i.editNote{
	display:block!important;
}

.patientNote.deleteEnabled div.editNoteType{
	display: flex;
}

.patientNote.toDelete{
	background: #f9dddd50!important;
}
.patientNote.toDelete .deleteNote{
	display:none!important;
}
.patientNote.toDelete .confirmDeleteNote{
	display:block!important;
}

.patientNote.toEdit .editNote{
    display: none!important;
}
.patientNote.toEdit .confirmEditNote{
    display:block!important;
}
.patientNote.toEdit .noteEdit{
    display:block!important;
}

.patientNote .rd+label{
	display:inline-block;
	font-size:0.9em;
	color:#111;
	margin-right:20px;
    margin-top:10px;
	user-select: none; /* standard syntax */
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
}
.patientNote .rd+label:before{
	width:15px;
}

.confirmEditNote,
.confirmEditAlarm,
.confirmDeleteNote,
.confirmDeleteAlarm {
    border: 1px solid #000000;
    background: #32b1a5;
    height: 20px;
}

.alarmNote {
	border-bottom: 1px solid #aaa;
	position: relative;
	display:block;
}
.alarmNote .alarmEdit{
	display:none;
}
.alarmNote i{
	width: 20px;
	text-align: center;
}
.alarmNote i.deleteAlarm,
.alarmNote i.editAlarm,
.alarmNote i.confirmDeleteAlarm,
.alarmNote i.confirmEditAlarm{
	position:absolute;
	right: 10px;
	top: 7px;
	display:none;	
	cursor: pointer;
}
.alarmNote i.editAlarm {
	right: 40px;
}

.alarmNote.toDelete{
	background: #f9dddd50!important;
}
.alarmNote.toDelete .deleteAlarm{
	display:none!important;
}
.alarmNote.toDelete .confirmDeleteAlarm{
	display:block!important;
}
.alarmNote.changeEnabled i.deleteAlarm,
.alarmNote.changeEnabled i.editAlarm{
	display: block!important;
}

.alarmNote.toEdit .editAlarm{
	display: none!important;
}
.alarmNote.toEdit .confirmEditAlarm{
	display:block!important;
}
.alarmNote.toEdit .alarmEdit{
	display:block!important;
}

.patientTeethstat .jarQuarter{
	padding:5px;
	flex: 0 1 50%;
	margin-bottom:1px;
}
.patientTeethstat.viewBoth .jarQuarter .milkTeeth.topQ {
	margin-bottom:5px;
	padding-bottom:10px;
	border-bottom:1px solid #ddd;
}
.patientTeethstat.viewBoth .jarQuarter .milkTeeth.bottomQ {
	margin-top:5px;
	padding-top:10px;
	border-top:1px solid #ddd;
}
.patientTeethstat .jarQuarter.tQuarter1{
	border: 1px solid;
	border-width:0 1px 1px 0;
}
.patientTeethstat .jarQuarter.tQuarter1 > div{
	text-align:right;
	justify-content: flex-end;
}
.patientTeethstat .jarQuarter.tQuarter1 .side_middle{
	border-right-color: #17a2b8;
	border-bottom-color: #17a2b8;
}



.patientTeethstat .jarQuarter.tQuarter2{
	border: 1px solid;
	border-width:0 0px 1px 1px;
}
.patientTeethstat .jarQuarter.tQuarter2 > div{
	text-align:left;
	justify-content: flex-start;
}
.patientTeethstat .jarQuarter.tQuarter2 .side_middle{
	border-left-color: #17a2b8;
	border-bottom-color: #17a2b8;
}


.patientTeethstat .jarQuarter.tQuarter3{
	border: 1px solid;
	border-width:1px 0px 0px 1px;
}
.patientTeethstat .jarQuarter.tQuarter3 > div{
	text-align:left;
	justify-content: flex-start;
}

.patientTeethstat .jarQuarter.tQuarter3 .side_middle{
	border-left-color: #17a2b8;
	border-top-color: #17a2b8;
}


.patientTeethstat .jarQuarter.tQuarter4{
	border: 1px solid;
	border-width:1px 1px 0px 0;	
}
.patientTeethstat .jarQuarter.tQuarter4 > div{
	text-align:right;
	justify-content: flex-end;
}
.patientTeethstat .jarQuarter.tQuarter4 .side_middle{
	border-right-color: #17a2b8;
	border-top-color: #17a2b8;
}



.patientTeethstat .jarQuarter > div {
	display: flex;
    gap: 1px;
}
@media (max-width: 1185px) {
	.patientTeethstat.viewBoth .flexTeethHolder,
	.patientTeethstat.viewPermanent .flexTeethHolder{
		row-gap:20px;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter3,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter3{
		order:3;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4{
		order:4;
	}
}
@media (max-width: 658px) {
	.patientTeethstat.viewBoth .flexTeethHolder,
	.patientTeethstat.viewPermanent .flexTeethHolder{
		row-gap: 0;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter3,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter3{
		order:4;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter5,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter5{
		order:3;
	}
	
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth {
		flex-wrap: wrap-reverse;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter2 .permanentTeeth,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter2 .milkTeeth,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter2 .permanentTeeth {
		flex-wrap: wrap-reverse;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter3 .permanentTeeth,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter3 .milkTeeth,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter3 .permanentTeeth {
		flex-wrap: wrap;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth {
		flex-wrap: wrap;
	}
	
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .t11,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .t41,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t51,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t81,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .t11,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .t41{
		order:3
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .t12,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .t42,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t52,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t82,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .t12,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .t42{
		order:2
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .t13,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .t43,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t53,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t83,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .t13,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .t43{
		order:1
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .t14,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .t44,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t54,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t84,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .t14,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .t44{
		order:6
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .t15,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .t45,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t55,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t85,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .t15,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .t45{
		order:5
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .t16,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .t46,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .t16,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .t46{
		order:4
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .t17,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .t47,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .t17,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .t47{
		order:8
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .t18,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .t48,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .t18,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .t48{
		order:7
	}	
	
	
}

@media (max-width: 535px) {
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth{
		flex-wrap: wrap;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .permanentTeeth .tooth,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter1 .permanentTeeth .tooth{
		order: initial;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth{
		flex-wrap: wrap-reverse;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .permanentTeeth .tooth,
	.patientTeethstat.viewPermanent .jarQuarter.tQuarter4 .permanentTeeth .tooth{
		order: initial;
	}
	
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t51,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t81{
		order:2
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t52,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t82{
		order:1
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t53,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t83 {
		order:4
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t54,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t84{
		order:3
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .t55,
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .t85{
		order:5
	}
}	
	
@media (max-width: 795px) {
	.patientTeethstat.viewMilk .flexTeethHolder{
		row-gap:20px;
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter3{
		order:3;
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4{
		order:4;
	}
}
@media (max-width: 460px) {
	.patientTeethstat.viewMilk .flexTeethHolder{
		row-gap: 0;
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter3{
		order:4;
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter5{
		order:3;
	}
	
	.patientTeethstat.viewMilk .jarQuarter.tQuarter1 .milkTeeth {
		flex-wrap: wrap-reverse;
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter2 .milkTeeth {
		flex-wrap: wrap-reverse;
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter3 .milkTeeth {
		flex-wrap: wrap;
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4 .milkTeeth {
		flex-wrap: wrap;
	}
	
	.patientTeethstat.viewMilk .jarQuarter.tQuarter1 .milkTeeth .t51,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4 .milkTeeth .t81{
		order:2
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter1 .milkTeeth .t52,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4 .milkTeeth .t82{
		order:1
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter1 .milkTeeth .t53,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4 .milkTeeth .t83 {
		order:4
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter1 .milkTeeth .t54,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4 .milkTeeth .t84{
		order:3
	}
	.patientTeethstat.viewMilk .jarQuarter.tQuarter1 .milkTeeth .t55,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4 .milkTeeth .t85{
		order:5
	}
}

@media (max-width: 403px) {
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter1 .milkTeeth{
		flex-wrap: wrap;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter1 .milkTeeth .tooth,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter1 .milkTeeth .tooth{
		order: initial;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4 .milkTeeth{
		flex-wrap: wrap-reverse;
	}
	.patientTeethstat.viewBoth .jarQuarter.tQuarter4 .milkTeeth .tooth,
	.patientTeethstat.viewMilk .jarQuarter.tQuarter4 .milkTeeth .tooth{
		order: initial;
	}
}


@media (max-width: 750px) {
	/*.patientTeethstat .jarQuarter{
		max-width:240px;
	}*/
	/*.patientTeethstat .jarQuarter > div {
		flex-wrap: wrap-reverse;
	}*/
	/*.patientTeethstat .jarQuarter.tQuarter2 > div,
	.patientTeethstat .jarQuarter.tQuarter4 > div{
		flex-wrap: wrap-reverse;
	}*/
}
@media (max-width: 610px) {
	
}
    
/*.patientTeethstat .tooth{
	display:inline-block;
	margin-right:2px;
	margin-bottom:2px;
}*/
.patientTeethstat .tooth .toothIndex{
	font-size:11px;
	color: #999;
	padding-right:10px;
	padding-left: 10px;
	cursor: pointer;
}
.patientTeethstat .tooth .row{
	margin-left:0px;
	margin-right:0px;
	width:65px;
	height:62px;
	border:1px solid #999;
	text-align: center;
	
}
.patientTeethstat .tooth .row > div {
	height:20px;
/*	display:inline-block;*/
	
	padding:0;
	margin:0;
}
.patientTeethstat .tooth .side_middle{
	border:1px solid #ddd;
}

.patientTeethstat .tooth .input_tooth {
	border:0;
	background: none;
	margin:0;
	padding:0;
	text-align: center;
	width: 100%;
	max-width:21px;
	height: 100%;
	font-size:11px;
	text-transform: uppercase;
}
.patientTeethstat .tooth .input_tooth.marked {
	background-color: #fffcd7;
}

.patientTeethstat.viewMilk .permanentTeeth{
	display:none;
}
.patientTeethstat.viewPermanent .milkTeeth{
	display:none;
}

.zebra.zebra_packed th{
	border-bottom:2px solid #777;
}
.zebra.zebra_packed th,
.zebra.zebra_packed td{
	padding: 10px;
	font-size:14px;
}
.zebra.zebra_packed th:not(:last-child):not(.nowrap):after, 
.zebra.zebra_packed td:not(:last-child):not(.nowrap):after {	
	height: 32px;
    margin-top: -16px;
}
.zebra.zebra_packed tr:nth-child(odd) {
	background: #dddddd36
}

.zebra.zebra_packed tr.toDelete{
    background: #f9dddd50!important;
}
.zebra.zebra_packed tr.toEdit {
    background: #a9e5c250 !important;
}
.zebra.zebra_packed tr.toDelete .deleteTreatment{
	display:none!important;
}
.zebra.zebra_packed tr.toDelete .confirmDeleteTreatment{
	display:block!important;
}

input.treatmentDate{
	width:200px;
}
td.treatmentTdDate{
	position: relative;
}
td.treatmentTdDate .editTreatment,
td.treatmentTdDate .deleteTreatment,
td.treatmentTdDate .confirmDeleteTreatment{
	position:absolute;
	right:10px;
	top:10px;
	cursor: pointer;
	display: none;
}
td.treatmentTdDate i.editTreatment{
    right: 40px;
}

td.treatmentTdDate.deleteEnabled .editTreatment,
td.treatmentTdDate.deleteEnabled .deleteTreatment{
	display:block;
}

#confirmSpecialDayEntry{
	cursor: default
}
#confirmSpecialDayEntry .dayLine {
	padding: 5px;
	position: relative;
}
#confirmSpecialDayEntry .dayLine i{
	width: 20px;
	text-align: center;
}
#confirmSpecialDayEntry .dayLine .deleteSpecialDay ,
#confirmSpecialDayEntry .dayLine .confirmDeleteSpecialDay {
	position:absolute;
	top:10px;
	right:10px;
	color:#666;
	cursor: pointer;
	display:none
}
#confirmSpecialDayEntry .dayLine.deleteEnabled:hover i.deleteSpecialDay{
	display:block;
}

#confirmSpecialDayEntry .dayLine.toDelete{
	background: #f9dddd50!important;
}
#confirmSpecialDayEntry .dayLine.toDelete .deleteSpecialDay{
	display:none!important;
}
#confirmSpecialDayEntry .dayLine.toDelete .confirmDeleteSpecialDay{
	display:block!important;
}

#confirmSpecialDayEntry .specialdays_form > div {
	padding: 10px 0;
	max-width:500px;
}

#confirmSpecialDayEntry .specialdays_form #specialDateEnd {
	width:230px;
}

.rd.disabled + label,
.ch.disabled + label{
	color:#bbb;
}

.ch {
	display:none;
}
.ch + label {
    display: block;
    padding-left: 30px;
    cursor: pointer;
}

.ch:checked + label:before {
    content: '\f046';
}
.ch + label:before {
    content: '\f096';
    font-family: "FontAwesome";
    display: inline-block;
    width: 25px;
    margin-left: -30px;
}
#confirmSpecialDayEntry hr{
    margin: 10px 0;
    background: #ddd;
}
.datepicker{
	z-index: 200000 !important;
}

#confirmSpecialDayEntry .confirm_popup_buttons{
	display: flex;
    justify-content: space-between;
}
#confirmSpecialDayEntry .confirm_popup_buttons .button{
	margin-bottom:0;
}

#confirmModalScheduleEntry .visitEntry_errors p,
#confirmSpecialDayEntry .specialday_errors p{
	background: #f7e6e6;
    padding: 10px;
}

.back-sidebar:not(.opened) .back-menu > li > a > span{
	display:none;
}
.back-sidebar:not(.opened) {
	width:20px;
}
.back-sidebar .back-menu li i{
	position: relative;

}
.back-sidebar .back-menu li i div.alarmMenuPill{
    position: absolute;
    top: -7px;
    color: #f00;
    font-size: 10px;
    right: -4px;
    font-family: Metropolis, sans-serif;
    background: #fff;
    padding: 2px 3px 1px 2px;
    border: 1px solid #f00;
    border-radius: 7px;
}
.back-sidebar .back-menu li i div.alarmMenuPill.futureAlarmPill{
	color: #666;
	border-color:#666;
	background: #eee;
}
.back-sidebar .back-menu li.hiddenMenu:not(.current) {
	display: none;
}

.teethHelp,
.diagnosaHelp,
.treatmentsHelp {
	width: fit-content;
	margin-bottom:5px;
}
.diagnosaHelper,
.treatmentHelper,
.teethHelper{
	display: inline-block;
	margin:3px;
	background: #eee;
    padding: 5px 8px;
    cursor: pointer;
    font-size:1em;
    color:#888;
    position: relative;
}
.teethHelp {
	margin: 0 auto;
}
.teethHelper {
	padding:7px 10px;
	border-radius: 2px;
}
.diagnosaHelper .delDictEntry,
.treatmentHelper .delDictEntry,
.teethHelper .delDictEntry{
	color:#c00;
}

.teethStatDict{
	text-transform: uppercase;
}

.dictHelp.dictEditHidden input.dictAddEntry,
.dictHelp.dictEditHidden .delDictEntry{
	display:none;
}
.dictInput {
	width:auto;
	border-color:#eee;
}

.possiblePatientsBox {
    max-height:400px;
}

.possiblePatients tr.selected td{
	background: #0080001c
}
.possiblePatients td span.highlight{
    background: #ffeebd;
}


table.zebra.resultList a{
	color: #0f7368;
}
table.zebra.resultList a:hover{
	color: #3bc5b8;	
}
table.zebra.resultList tr.notActiveRow td{
	position:relative;
	color:#a88!important;
	font-style: italic;
	font-size: 0.9em;
}

table.zebra.resultList tr.notActiveRow td a{
	color:#a88!important;
}
table.zebra.resultList tr.lockedUserRow td{
	position:relative;
	color:#a33!important;
	font-style: italic;
}

table.zebra.resultList tr.lockedUserRow td a{
	color:#a33!important;
}

table.zebra.resultList tr.toDelete{
	background: #f9dddd50!important;
}
table.zebra.resultList tr.toDelete .deleteDentist{
	display:none!important;
}
table.zebra.resultList tr.toDelete .confirmDeleteDentist{
	display:block!important;
}

table.zebra.resultList tr.notActiveRow td .deleteDentist,
table.zebra.resultList tr.notActiveRow td .confirmDeleteDentist{
	position:absolute;
	right:15px;
	top:15px;
	color:#666;
	cursor: pointer;
	display: none;
}
table.zebra.resultList tr.notActiveRow td.deleteEnabled:hover .deleteDentist{
	display:block;
}

.topbar_dentist_box{
	display: flex;
    flex-grow: 2;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    background: #63636363;
/*    margin-right: 20px;*/
    white-space: nowrap;
    height: 40px;
}
.topbar_select {
    position: relative;
}
.topbar_select-selected {
	font-family: MarckScript;
    background: #63636363;
    padding: 0 20px;
    cursor: pointer;
    color: #29edda;
    font-size:2em;
    font-weight: 100;
    position:relative;
}
.topbar_select-selected span.badge{
	font-family: Metropolis, sans-serif;
    font-size: 12px;
    font-weight: normal;
    padding: 3px 6px 3px 5px;
    position: absolute;
    top: -10px;
    right: 0;
}

.topbar_select-dropdown {
    display: none;
	position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #636363;
    border-top: 1px solid #ccc;
    border-bottom: 3px solid #000000;
    z-index: 101;
    overflow-y: auto;
    max-height: 800px;
    color: #29edda;
    margin-top:10px;
}
.topbar_select-radio {
    display: none;
}
.topbar_select-radio + label {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    margin:0;
    position:relative
}
.topbar_select-radio + label:hover{
	background: #939393;
}

.topbar_select-radio + label span.badge{
    font-family: Metropolis, sans-serif;
    font-size: 12px;
    position: absolute;
    top: 3px;
    font-weight: normal;
    padding: 3px 6px 2px 5px;
}

@media (max-width: 1035px){
.open_menu, .close_menu {
    display: inline-block;
    margin-right:0;
}
}

b.noAge{
	color:#c00;
}

.patientMainData .birthDay{
	background: #f8e3ff;
}
.patientMainData .row{
	width:auto;
}
.patientMainData .rd + label{
	display:inline-block;
}
.patientMainData .rd + label:before{
	width: 15px;
}

.fa-birthday-cake:not(.notToday){
	color:#bf00ff;;
}
.egn_warn{
	background: #ffffe2;
}

.patientMainData form > .d-flex,
form.newPatient > .d-flex{
    gap:10px;
}
.patientMainData form > .d-flex > div:first-child,
form.newPatient > .d-flex > div:first-child{
    flex-shrink:0;
}


@media (max-width: 1035px) {
    .patientMainData form > .d-flex,
    form.newPatient > .d-flex{
        gap:10px;
        flex-wrap: wrap;
    }

    .patientMainData form .d-flex > .ip_cell,
    .patientMainData form .d-flex > .w40,
    .patientMainData form .d-flex > .w50{
        width:100% !important;
    }



    .patientMainData form > .d-flex > div:first-child,
    form.newPatient > .d-flex > div:first-child{
        flex-shrink:0;
    }
} 


.printCaption{ display:none}


@media print {
  body {
    visibility: hidden;
    float:none;
    position:relative;
    height:100%;
  }
  body .wrapper{
  	overflow: inherit;
  }
  #section-to-print {
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    border-width: 0px;
    font-family: Courier;
    font-weight: normal!important;
    font-size: 15px!important;
  }
  .zebra th {
  	border-bottom: 1px solid #999;
  	font-weight: normal!important;
  }
  .zebra th, .zebra td {
  	  padding:0px 3px 0 3px;
  	  font-size: 15px!important;
  	  line-height:1;
  	  width: min-content;
  	  color:#000;
  }
  .zebra td{
  	  border-bottom-width: 0;
  }
  .zebra tr th:last-child, .zebra tr td:last-child {
  		width: 100%;
  }
  .printCaption{
  	  display:block;
  	visibility: visible;
  	padding: 2px 5px;
  	color:#000;
  	font-style: italic;
  	border-bottom:1px solid #000;
  	font-size:14px;
  }
}


.noAgreement {
	color:#c00;
}

.workStateInfo i {
	cursor:pointer;
}
.workStateInfo i.addWorkInterval{
	
}
.specialWorkTime .inner{
	display:flex;
	flex-wrap:wrap;
	justify-content: flex-start;
	gap: 20px;
}
.specialWorkTime .inner:before {
	display:none;
}
.specialWorkTime .inner:after {
	display:none;
}
.specialWorkTime .inner label{
	display:block;
}

.specialWorkTime .input_text.time {
	width:120px;
	margin-bottom: 0;
}

.nikkiAmbNr {
	font-weight: normal;
	font-size: 0.8rem;
	font-style: italic;
}



.table_box{
	position:relative;
    overflow-x: auto;
}

.table_box .specialDay{
	position:absolute;
	top:0;
	left:0;
	width: 0;
	height: 0;
	border-bottom: 7px solid transparent;
    border-left: 7px solid #c00;
    border-top: 7px solid #c00;
    border-right: 7px solid transparent;
    z-index:100;
}
.table_box .specialDay.memoryNote{
	border-left: 7px solid #ff7707;
   	border-top: 7px solid #ff7707;
}

.badge{
	font-weight: normal;
}
tr.cancelledVisit td{
	font-style: italic;
	color:#c00;
}

table.resultList td span.patientLink {
	cursor: pointer;
}


@media (max-width: 1290px) {
	.zebra.weekTable th,
	.zebra.weekTable td{
		font-size:12px;
	}
	.zebra.weekTable th{
		padding: 10px;
	}
	
	.zebra.weekTable tr.termin_tr td{
		padding: 4px 5px;
	}
	
	.zebra.centered.weekTable tr.termin_tr td:first-child {
		width:40px !important;
		padding: 4px 2px;
	}

	
	.scheduleContent .weekView .back-block.weekTable{
		min-width:140px;
	}
	.scheduleContent .weekView .back-block.weekTable.work1{ width: calc(100% - 580px);}
	.scheduleContent .weekView .back-block.weekTable.work2{ width: calc(50% - 244px);}
	.scheduleContent .weekView .back-block.weekTable.work3{ width: calc(33.33% - 132px);}
	.scheduleContent .weekView .back-block.weekTable.work4{ width: calc(25% - 76px);}
	.scheduleContent .weekView .back-block.weekTable.work5{ width: calc(20% - 43px);}
	.scheduleContent .weekView .back-block.weekTable.work6{ width: calc(16.67% - 20px);}
	
	.scheduleContent .weekView .back-block.weekTable.OFF:not(.ON) {
		min-width: 92px;
		width:92px
	}
	
	.scheduleContent .weekView {
		overflow-x: auto;
	}
	
	.scheduleContent .zebra td:not(:last-child):not(.nowrap):after {
	    content: '';
	    position: absolute;
	    top: 50%;
	    right: 0;
	    width: 1px;
	    height: 20px;
	    margin-top: -10px;
	    background: #d3d3d3;
	}
	
	.scheduleContent .dayView .zebra tr.termin_tr td.visitMain .clonePrevious,
	.scheduleContent .weekView .zebra tr.termin_tr td.visitMain .clonePrevious,
	.scheduleContent .dayView .zebra tr.termin_tr td.visitMain .cloneVisit,
	.scheduleContent .weekView .zebra tr.termin_tr td.visitMain .cloneVisit{
		
		top: 4px;
		right: 4px;
		
	}
	
	.back-content{
		padding-right:0px;
	}
	
	.back-block{
		margin-bottom: 20px;
	}
	
	.table_box table{
		width: 1164px;
	}
	
	.table_box table.possiblePatients{
		width: 100%;
	}
}

table.dayViewTable {
	table-layout: auto;
}

@media (min-width: 600px) {
	table.dayViewTable td.fit{
		width: 1%;
		white-space: nowrap !important;
	}
	
	table.dayViewTable .visitComments{
		display:block!important;
		font-size: 0.9rem;
	}
}

.dictHelpEnable{
	cursor: pointer;
}

@media (min-width: 600px) {
table.fitColumns {
	table-layout: auto;
	width: 100% !important;
}

table.fitColumns td.fit {
	width: 1%;
	white-space:nowrap !important
}
}

.no_select {
	user-select: none; /* standard syntax */
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
}
.table_box table td {
	user-select: none; /* standard syntax */
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
}

.ch_switch.negative:checked + label:before {
	background: #ff7d7d;
}

.zebra tr.toDelete{
	background: #f9dddd50!important;
}
.zebra tr.toDelete .deleteUser{
	display:none!important;
}
.zebra tr.toDelete .confirmDeleteUser{
	display:block!important;
}

input.treatmentDate{
	width:200px;
}
.zebra tr td:last-child(){
	position: relative;
}
td .deleteUser,
td .confirmDeleteUser{
	position:absolute;
	right:10px;
	top:10px;
	color:#666;
	cursor: pointer;
	display: none;
}
td.deleteEnabled:hover .deleteUser{
	display:block;
}

.visitHistory .logVisitNote small {
    font-style: italic;
    color:#aaa;
}
.visitHistory .logVisitNote.deletedVisitNote {
    font-style: italic;
    color:#c66;
}
.visitHistory .logVisitNote.deletedVisitNote small.deletedDatetime{
    color:#c66;
}

.visitTime {
    position:relative;
}

.visitTime .visitTimeLog{
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 3px solid transparent;
    border-left: 3px solid #ccc;
    border-top: 3px solid #ccc;
    border-right: 3px solid transparent;
    z-index: 100;
}
i.ambulatorenList {
    color:#666;
}
a.ambulatorenList{
    padding: 0 15px;
    width: 50px;
    padding-top: 5px;
}
.back-block_header h2 {
    flex-grow:1;
}
    
.patientMainData .dictHelp {
    font-weight: normal;
}

.patientMainData .dictHelp .dictEntry{
    display:inline-block;
    background: #eee;
    padding: 3px 5px;
    font-size:0.9em;
    cursor: pointer;
}
.patientMainData .dictHelp.small{
    display:flex;
    justify-content: space-between;
}
.patientMainData .dictHelp.small .dictEntry{
    padding:1px 5px;
    font-size:0.9em;
}
.tooltip{
    z-index:1234567!important;
}


#newScheduleEntrySuccess .newScheduleEntryLabel{
    color:#999;
    display: inline-block;
    width:100px;
}
#newScheduleEntrySuccess .newScheduleEntryData{
    font-weight: bold;
}


a.prevPeriod,
a.nextPeriod {
    position:relative;
}
a.prevPeriod .emptyVisitsWarn,
a.nextPeriod .emptyVisitsWarn {
    position: absolute;
    top:2px;
    right:2px;
    width:6px;
    height:6px;
    border-radius: 3px;
    background-color:#c00;
}
a.prevPeriod .emptyVisitsWarn{
    right: auto;
    left:2px;
}