/* Screen-Styling */

* {
	border: 0px;
	padding: 0px;
	margin: 0px;	
}

body {
	font-family: "Adobe Garamond Pro", Garamond, Verdana, sans-serif;
	font-size: 14px;
	background-color: rgb(249,244,222);
	color: #281e0c;
}

#main-box {
	width: 832px;
	margin: 0px auto;
}

#search-box {
	float: right;
	margin-right: 0px;
}

#main-box-content {
	width: 800px;
	margin: 0px 0px 0px 32px;
}

#main-box-content p {
	margin: 10px 0px 20px 0px;
}

#main-box-content h1 {
	margin: 10px 0px 20px 0px;
}

#main-box-top-block {
	width: 832px;
	height: 0px;
	background-color: #fff0c1;
	margin: 0px auto;
}

#main-box-bottom-block {
	position: fixed;
	bottom: 0px;
	width: 100%;
	height: 7px;
	background-color: #fff0c1;
	background-image: url(../images/bg_footer.gif);
	background-repeat: repeat-x;
}

#fuss-bild {
	position: fixed;
	margin-left: -416px;
	left: 50%;
	bottom: 12px;
}

#fuss-text {
	background-color: rgb(249,244,222);
	color: #de8505;
	
	text-align: center;
	
	width: 832px;
	padding-top: 8px;
	padding-bottom: 12px;
	
	font-size: 12px;
	display: block;
	position: fixed;
	margin-left: -416px;
	
	left: 50%;
	bottom: 7px;
}
#fuss-text a {
	text-decoration: none;
	color: #de8505;
}

#ueberschrift-name-box {

}

#patient-name-box {

}
	
#legende-box {

}
	
#oberkiefer-box {

}
	
#unterkiefer-box {

}
	
#status-box {

}

.zahn-box {

}

.zahn-box img {
	display: block;
}

.zahn-img:hover,
.status-image:hover {
	cursor: pointer;
}

/* Formular-Elemente */
input[type=text],
input[type=password],
textarea {
	border: 1px solid gray;
	padding: 3px;
}

input[type=text] {
	height:18px;
}

input[type=submit],
input[type=button],
input[type=reset] {
	font-family: Georgia, Verdanan, sans-serif !important;
	font-size: 13px;
	padding: 6px;
	background: #eee3d3;
	color: #716652;
	cursor: pointer;
}

input[type=submit]:hover,
input[type=button]:hover,
input[type=reset]:hover {
	background: #ddc6a7;
}

input[disabled],
input[disabled]:hover {
	color: gray;
}

#bewertungen input[type=submit],
#bewertungen input[type=button],
#bewertungen input[type=reset],
#submit-new-patient,
#submit-edit-patient,
#submit-delete-patient,
#submit-abbort-edit-patient {
	font-size: 14px;
	font-weight: bold;
}

.submit-button-box {
	margin-left: 0px;
}

/* Content-Elemente */
h1,h2,h3,h4,h5,h6 {
	color: #281e0c;
}

h2 a {
	text-decoration: none;
}

/* Misc */
a[href] {
	color: #281e0c;
}

a[href]:hover {
	color: #c88950;
}

#dialog {
	display: none;
}

area {
	cursor: pointer;
}

td {
	text-align: center;
	width: auto;
	margin: 0px;
	padding: 0px;
}

td img {
	display: block;
}

#ui-datepicker-div {
	top: 4px;
	background: white !important;
	border: 1px solid gray;
}

.reset-status-box {
	display:none;
}

.clear {
	clear: both;
}


/* Weitere Zähne zu behandeln-Box */
.additional-status-box {
	margin-left: 0px;
	padding: 10px 0px;
	display: block;
	width: 100%;
}
.additional-status-box input[type=text] {
	width: 20px;
	margin: 5px 5px 5px 0px;
	text-align: center;
}
.krone_teilkrone_row,
.schlechte_prognose_row {
/* 	width: 55px; */
	width: 50px;
	height: 30px;
	float: left;
}
.krone_teilkrone_row input[readonly],
.schlechte_prognose_row input[readonly]{
	background: rgb(223,150,47);
	color: white;
	border: none;
}
hr {
	border: none;
	height: 0px;
	border-top: 1px solid #ddc6a8;
}
.vertical-line {
	background: #ddc6a8;
	display: inline-block;
	width: 1px;
	text-align: center;
	height: 123px;
	margin-left: 19px;
	margin-right: 19px;
}

.status-img {
	position: relative;
	left: -62px;
}
.legende {
	display: flex;
	margin:1rem 0;
}

.legende-first,
.legende-second,
.legende-third {
	display: flex;
	align-items: center;
	margin-right: 1rem;
}

.legende-first:before {
	content: '';
	height: 1rem;
	width: 1rem;
	display: inline-block;
	background-color: rgb(231,86,86);
	margin-right: 0.5rem;
}

.legende-second:before {
	content: '';
	height: 1rem;
	width: 1rem;
	display: inline-block;
	background-color: rgb(254,204,0);
	margin-right: 0.5rem;
}

.legende-third:before {
	content: '';
	height: 1rem;
	width: 1rem;
	display: inline-block;
	background-color: rgb(69,161,42);
	margin-right: 0.5rem;
}