body, html {
	height:100%;
	width:100%;
	margin:0px auto;
}

body {
	/*background:url(../images/gradient.jpg) repeat-x;*/
	background-color:#99d9ea;
	font-family:Arial, Helvetica, sans-serif;
	font-size:16px;
	color:#666666;
}

a, a:hover {
	font-family:Arial, Helvetica, sans-serif;
	font-size:1em;
	color:#005fa3;
	text-decoration:underline;
	display: inline-block;
	zoom:1;
	*display:inline;
    padding: 4px 0;
	vertical-align: middle;
}

a:hover {
	color:#000000;
}

img {
	border:0px;
}

input, select, textarea {
	font-family:Arial, Helvetica, sans-serif !important;
	font-size:12px  !important;
	color:#666666  !important;
}

div.jHtmlArea iframe > html > body {
	font-family:Arial, Helvetica, sans-serif !important;
	font-size:12px  !important;
	color:#666666  !important;
}

input.mini, select.mini, textarea.mini {
	font-size:10px;
}

form {
	margin:0px;
	padding:0px;
}

h2 {
	padding:8px 0px 15px;
	margin:0px;
}

/* Login Form */


/* Header */

#header {
	max-width:960px;
	width:100%;
	min-height:60px;
	margin:0px auto;
	border-bottom:4px solid #ffaec9;
	/*border-bottom:4px solid #AC0A7A;*/
	clear:both;
	margin-top:15px;
}

#logo {
    max-width: 300px;
    height: 60px;
    float: left;
    margin: 10px;
}

#header_options, #header_session {
	text-align:right;
	float:right;
	clear:right;
	margin-top:12px;
	margin-right: 10px;
}

/* Wrapper */

#wrapper {
	max-width:958px;
	width:100%;
	overflow:auto;
	margin:0px auto;
	border:1px solid #cfcfcf;
	border-top:none;
	position:relative;
}

/* Sidebar */

/*#sidebar {
	float:left;
	width:200px;
	margin:20px;
	position: relative;
	left: 0;
    top: 0;
}*/

#sidebar {
    float: left;
    max-width: 200px;
    width: 25%;
    margin: 20px;
    position: relative;
    left: 0;
    top: 0;
}

#sidebar ul {
	list-style:none;
	margin:0px;
	padding:0px;
}

#sidebar ul li ul {
	margin:5px 10px;
	padding:0px 10px;
	list-style-image:url(../images/arrow_black.gif);
}

#sidebar .menu div {
	background:url(../images/menu_bg.gif) no-repeat  left top;
	height:25px;
	line-height:25px;
	padding-left:15px;
}

/* Content */

/*#content {
    float: right;
    max-width: 100%;
    margin: 20px 2% 2% 0;
    background: #ececec;
}*/

#content {
    float: right;
    max-width: 650px;
    width: 65%;
    margin: 20px 2% 2% 0;
    background: transparent;
}

#content_border {
	margin:5px;
	border:1px solid #CCCCCC;
	background:#FFFFFF;
	padding:10px;
}

.heading_row{
	background:gray;
	color:white;
	font-weight:bold;
}

.tholder{
	padding:0 !important;
	margin:0;
}

.content_border_box {
    margin: 5px;
    border: 1px solid #CCCCCC;
    background: #FFFFFF;
    padding: 10px;
}

.pinfo{
	font-size: 16px;
    border: 2px solid gray;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

.pinfo th{
	font-size: 0.8em;
	border: 1px solid lightgray;
}

.pinfo td{
	font-size: 0.8em;
    border: 1px solid lightgray;
    border-collapse: collapse;
	padding:3px;
}

.pinfo td table{
	border: 1px solid lightgray;
    border-collapse: collapse;
	width:100%;
	margin-bottom: 15px;
}

.pinfo td table td, .pinfo td table th{ 
	font-size: 1em;
    border: 1px solid lightgray;
    border-collapse: collapse;
	padding:3px;
}

.pinfo strong{
	font-size: 1em;
}

.nopad{
	padding:0 !important;
} 

.details{
	padding:0;
	margin:0;
}

table#fetch_table {
    width: 100%;
}

/*table#fetch_table td{
	padding:5px;
	word-wrap: break-word;
	word-break: break-all;
	table-layout: fixed;
}*/

table#fetch_table td {
    padding: 5px;
    /*word-wrap: break-word;
    table-layout: fixed;
    -ms-word-break: break-all;
    word-break: break-all;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;*/
}

/* Footer */

#footer {
	width:960px;
	height:40px;
	margin:0px auto;
	clear:both;
}

/* Gallery */

.pic_element {
	width:200px;
	float:left;
	margin:5px 9px;
}

/* Listings */

#result_message {
	display:none;
	background:#ececec;
	height:30px;
	line-height:30px;
	padding:0px 8px;
	margin:8px 0px;
}

#add_new {
	height:55px;
	line-height:55px;
}

#fetch_table th {
	background:#dfecfd;
	height:27px;
	background:url(../images/table_header_bg.gif) repeat-x;
	font-weight:bold;
	text-align:left;
}

#fetch_table td {
	border-bottom:1px dotted #CCCCCC;
	height:25px;
}

#form_list span{
	font-size:11px;
}

#form_list a, #form_list a:hover {
	font-size:11px;
	display: block;
    margin: 5px 0;
}

.up, .down {
	cursor:pointer;
}

.save {
	margin:10px 0px 10px;
}

.leftHalfBox{
	width:47%;
	float:left;
	margin-right:1.75%;
}

fieldset{
	margin:10px auto;
}

.rightHalfBox{
	width:47%;
	float:left;
	margin-left:1.75%;
}


/* Forms */

form.edit-add dl, form.edit_add dl {
	margin:0px;
	padding:0px;
}

/*form.edit-add dl dt {
	clear:left;
	float:left;
	margin-top:6px;
	width:160px;
	font-weight:bold;
	padding:0px 0px 0px 6px;
}*/

form.edit-add dl dt, form.edit_add dl dt  {
    clear: both;
    float: none;
    margin-top: 11px;
	display:block;
    width: auto;
    font-weight: bold;
    padding: 0px 0px 0px 0px;
    margin-bottom: 5px;
}

/*form.edit-add dl dd {
	margin-bottom:6px;
	margin-left:170px;
}*/

form.edit-add dl dd, form.edit_add dl dd  {
	margin-bottom:6px;
	margin-left:0px;
	/*border-bottom:1px dotted #CCCCCC;*/
}

.form_header {
	padding-left:5px;
	line-height:27px;
	background:#dfecfd;
	height:27px;
	background:url(../images/table_header_bg.gif) repeat-x;
	font-weight:bold;
	text-align:left;
}

form.edit-add input[type="text"], form.edit-add input[type="password"],
form.edit_add input[type="text"], form.edit_add input[type="password"]{
	width:95%;
	padding:5px;
}

form.edit-add textarea, form.edit_add textarea {
	width:95%;
	height:100px;
}
form.edit-add .textarea, form.edit_add .textarea {
	min-height:300px;
	max-height:600px;
}

label.inputs {
    margin-top: 10px;
    display: block;
}

label.chklabel {
    display: inline-block;
	zoom:1;
	*display:inline;
    max-width: 80%;
    vertical-align: top;
}

/* Messages */

.subtitles_divider {
	clear:both;
	width:650px;
	height:27px;
	text-align:center;
	background:#dfecfd;
	background:url(../images/table_header_bg.gif) repeat-x;
	font-weight:bold;
	padding-left:5px;
	line-height:27px;
}

.warning_message {
	clear:both;
	width:645px;
	padding:10px 5px;
}

.standard_message {
	clear:both;
	width:645px;
	padding:10px 5px;
}

/* Pagination */

.pagination {
	text-align:right;
	padding:5px 0px;
}

a.paginate {
	color:#999;
}

a.paginate:hover {
	color:#666;
}

a.current {
	color:#666;
	font-weight:bold;
	cursor:default;
	text-decoration: none;
}

span.inactive {
	color:#999;
	cursor:default;
}

/* Misc Stuff */

.error {
	color:red;
}

.required {
	color:red;
	font-weight:bold;
}

.txt_small {
	font-size:11px;
}

/* Payment Details */

div.details_wrapper {
	width:630px;
	overflow:auto;
	font-size:11px;
	background:#DBF3D1;
}
div.details_wrapper h4 {
	margin:0px;
}
div.details_wrapper div {
	width:280px;
	padding:10px;
	float:left;
}
div.details_wrapper dl {
	margin:0px;
	padding:0px;
}
div.details_wrapper dl dt {
	clear:left;
	float:left;
	width:85px;
	min-height:14px;
}
div.details_wrapper dl dd {
	margin-left:95px;/*border-bottom:1px dotted #CCCCCC;*/
	min-height:14px;
}

/* Tooltip */
a.tooltip{color:#C00; font-weight:bold; cursor:help; text-decoration:none; font-size:15px}
a.tooltip:hover{color:#4d7307;}
a.tooltip span{display:none;}
a.tooltip:hover span{margin:5px; display:inline; text-decoration:none; font-family: Verdana, Arial, Helvetica, sans-serif; position:absolute; width:280px; border:1px solid #686868; background-color:#DBDBD8; color:#000000; text-align:left; padding:5px; font-size:11px; font-weight:normal; -moz-opacity:0.8; filter:alpha(opacity=80); khtml-opacity:0.8; opacity:0.8; -moz-border-radius:5px;}

.images {
	padding: 0;
}
.images li {
	position: relative;
	display: inline-block;
}
.images li img {
	cursor: pointer;
	max-width: 90px;
	max-height: 90px;
}
.images li input {
	border: 0;
	background-color: #eee;
}

.imageThumb {
	margin: 5px auto;
	max-width: 150px;
	max-height: 150px;
	text-align: center;
}

/*styles for repeat */
/*form input[type="submit"]:active {
	border:1px solid #ccc;
	background:#eee;
}*/

#addDelButtons {
	margin:20px auto;
}

.sepa{
	height:5px;
	background:gray;
	margin: 10px 0;
	clear:both;
}

#btnAdd, #btnDel, .moretime, .lesstime {
	color:#fff;
	padding:3px 18px 5px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	-moz-box-shadow:0 1px 2px rgba(000,000,000,0.5),inset 0 0 0 rgba(255,255,255,0.9);
	-webkit-box-shadow:0 1px 2px rgba(000,000,000,0.5),inset 0 0 0 rgba(255,255,255,0.9);
	box-shadow:0 1px 2px rgba(000,000,000,0.5),inset 0 0 0 rgba(255,255,255,0.9);
}

#btnAdd, .moretime {
	background:-moz-linear-gradient(top,#4281ff 0%,#004266);
	background:-webkit-gradient(linear,left top,left bottom,from(#4281ff),to(#004266));
	border:1px solid #1c4373;
	filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4281ff', endColorstr='#004266'); /* IE6 & IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4281ff', endColorstr='#004266')"; /* IE8 */
	color:white !important;
}

#btnDel, .lesstime {
	background:-moz-linear-gradient(top,#f04856 0%,#600);
	background:-webkit-gradient(linear,left top,left bottom,from(#f04856),to(#600));
	border:1px solid #731c20;
	filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#f04856', endColorstr='#600'); /* IE6 & IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#f04856', endColorstr='#600')"; /* IE8 */
	color:white !important;
}

.moretime, .lesstime{
	font-size: 1.5em !important;
}

button[disabled], input[disabled] {background:#d8dadd !important; color: #83868a !important;
	border:1px solid #b5b7bb !important; -moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	text-shadow: none !important;}

form input[type="submit"]:hover,form input[type="submit"]:focus, #btnAdd:hover, .moretime:hover {
	background:#004266;
	box-shadow: none;
}

#btnDel:hover, .lesstime:hover {
	background:#600;
	box-shadow: none;
}

a.bkbttn:link, a.bkbttn:visited{
	float:right;
	font-size: inherit;
	line-height: 25px;
	display:inline-block;
	zoom:1;
	*display:inline;
	color:white;
	text-decoration: none;
	padding:0 5px;
	
	background:-moz-linear-gradient(top,#4281ff 0%,#004266);
	background:-webkit-gradient(linear,left top,left bottom,from(#4281ff),to(#004266));
	border:1px solid #1c4373;
	filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4281ff', endColorstr='#004266'); /* IE6 & IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4281ff', endColorstr='#004266')"; /* IE8 */

}

.dose_time {
    width: auto !important;
    padding: 5px;
    display: inline-block;
}

.moreless{
	height: 2em;
    width: auto;
    vertical-align: middle;
}

.timeClonedInput {
    float: left;
    margin: 0 5px 5px 0;
    vertical-align: middle;
}

.addtimebuts{
	display:inline-block;
	zoom:1;
	*display:inline;
	white-space:nowrap;
	vertical-align:middle;
}

.clearElements{
	clear:both;
}

.clear{
	height:0;
	line-height:0;
	clear:both;
	visibility:hidden;
}

/*Filter List Styles*/
.filterlist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filterlist::after {
    content:' ';
	clear:both;
	height:0;
	line-height: 0;
	visibility: hidden;
}

.filterlist li {
    float: left;
    display: block;
    padding: 0;
    margin: 0 1% 10px 0;
}

.filterlist li:last-child::after {
    content:' ';
	clear:both;
	height:0;
	line-height: 0;
	visibility: hidden;
}

.filterlist input, .filterlist select, .filterlist textarea {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: inherit !important;
    color: #666666 !important;
    border: 1px solid #666666;
    border-radius: 5px;
    padding: 5px;
    display: inline-block;
    -webkit-appearance: none;
}

.filterlist input[type="text"], .filterlist input[type="password"], .filterlist input[type="email"], .filterlist input[type="tel"], .filterlist input[type="url"], .filterlist input[type="number"], .filterlist select, .filterlist textarea {
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    color: #666666 !important;
    border: 1px solid #666666;
    -o-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: inherit;
}

select {
    padding-right: 20px !important;
    background-image: url(../img/down-arrow.png);
    background-position: right center;
    background-repeat: no-repeat;
}

#filter_form input[type='submit'] {
    display: inline-block;
    -webkit-appearance: none;
    padding: 10px;
    min-width: 80px;
    text-align: center;
    color: white !important;
    background: red;
    margin-right: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: inherit;
    border: none;
}

#resetfilter {
    display: inline-block;
    -webkit-appearance: none;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    min-width: 80px;
    text-align: center;
    color: lightgray;
    background: gray;
    text-decoration: none;
	clear:left;
}
/*End Filter List Styles*/

select.patrel {
    width: 97%;
    margin-bottom: 5px;
}

.nowrap{
	white-space:nowrap;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 2px;
    width: 1.8em;
    height: 0.8em !important;
}

.delPhoto{
    display:inline-block;
    zoom:1;
    *display:inline;
    padding:5px;
    background:#008078;
    color:white;
    text-align:center;
    margin:10px auto;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    -ms-border-radius:5px;
    -o-border-radius:5px;
    border-radius:5px;
	cursor:pointer;
}

@media(max-width:767px){
	#sidebar {
		float: none;
		width: auto;
		margin: 20px;
		position: relative;
		left: auto;
		top: auto;
	}

	#content {
		float: none;
		max-width: 100%;
		width: 96%;
		margin: 20px 2%;
		background: transparent;
	}



	.healthTable td {
		width: 100%;
		display: block;
	}
}

@media(max-width:600px){
	body{
		font-size:14px; 
	}
	
	table#fetch_table td {
		padding: 5px;
		word-wrap: break-word;
		table-layout: fixed;
		-ms-word-break: break-all;
		word-break: break-all;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}
	
	.pinfo {
		font-size: 14px;
	}
}

@media(max-width:400px){
	body{
		font-size:12px;
	}
	
	.pinfo {
		font-size: 12px;
	}
}
