@import "font-awesome.min.css";

div,span,a,li,ul,ol{/*outline:1px solid red;*/}
/*********************** Prescription area ***************/
.ui-widget-overlay{
	opacity:0.7;
}
.ui-menu-item {
    list-style-image: none !important;
    list-style-type:none;
    list-style: none;
}
.prescription-autocomplete-box, .ui-menu, .ui-menu-item ul, .ui-menu-item {
    direction: ltr;
    text-align: left;
}

.ui-menu-item-wrapper {
    direction: rtl;
    text-align: left;
}

.presc {
    text-transform: capitalize;
    width: 95%;
    min-height: 375px;
    margin: 12px auto 50px auto;
    /* padding:3px 5px 10px 10px; */
    background: #fff;
    position: relative;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1);
    perspective: 100px;
}

.submitrow.pharmacy {
    background-color: initial;
    height: 60px;
    margin-top: 25px;
    background-color: rgba(172, 224, 158, 0.26);
}
.presc > .prescbody span, .presc div, .presc ol, .presc li{
	direction:ltr;
	text-align:left;
	line-height: 20px;
	font-family: times new roman;
	font-size: 15px;
	white-space:normal;
}

.presc > .prescheader{
	background: url(images/rx.png) no-repeat 5px 7px;
	position:relative;
	padding-left:60px;
	padding-top:13px;
	background-color:rgba(0,0,0,.2);
}

.presc > .prescheader div{
	font-family:'IRANSans-Light';
	/* font-size:95%; */
	/* display:inline-block; */
}
.presc > .prescheader div.doctor-info{
	display:block;
	direction:rtl;
	background-color:#ccc;
	text-align:center;
}
.presc > .prescheader div.doctor-info div.doctor-name{
	text-align:center;
	font-weight:bold;
	/* font-size:120%; */
	/* line-height:40px; */
}

.presc > .prescheader div.patient-info{
	display:block;
	text-align:right;
	direction:rtl;
	background-color:#888;
}
.presc > .prescheader div.patient-info div{
	display:inline-block;
	color:white;
	margin:5px;
	direction:rtl;
}
.presc > .prescheader div.patient-info span{
	font-weight:bold;
	margin:0px 5px;
}



.presc > .prescfooter div{
	font-family:courier;
	display:inline-block;
	float:right;
	font-size:90%;	
	text-align:right;
	direction:rtl;
}

.presc > .prescfooter span{
	font-weight:bold;
}
.presc > .prescfooter div.doctor-address{
	width:70%;
}
.presc > .prescfooter div.doctor-tel
{
	width:30%;
}

@media only screen{
.presc > .prescfooter{
 	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 
				0 8px 0 -3px #f6f6f6, 
				0 9px 1px -3px rgba(0, 0, 0, 0.2), 
				0 16px 0 -6px #f6f6f6, 
				0 17px 2px -6px rgba(0, 0, 0, 0.2);
 	content: '';
 	background-color:#fff;
 	/* position: absolute; */
 	right: -2px;
 	bottom: 0;
 	left: -2px;
 	transform:rotateX(1deg);
 	overflow: hidden;
 	color: #777;
 	padding: 10px 15px;
 	text-align: right;
 	direction:rtl;
}
}

.presc div.qrcode{
	margin-top:-13px;
	float:left;
	width:50px;
	height:50px;
}
.presc div.qrcode img{
	width:100%;
	height:100%;
}


.presc > .prescfooter div.barcode{
	/* margin-top:-13px; */
	float:left;
	width:150px;
	height:50px;
}
.presc > .prescfooter div.barcode img{
	width:100%;
	height:100%;
}

.submitrow .dispensed{
	cursor:not-allowed;
}

@media print{
	body{
		background-color:#fff !important;
		margin:0px;
		padding:0px;

	}

	.presc {
		box-shadow:none;
		border:1px solid gray;
		margin:1px;
		padding:0px;
	}
	.presc .prescheader{
		height:80px;
	}
	.presc .prescheader div.patient-info, .presc .prescheader div.patient-info span{
		margin:0px;	
		padding:0px;
	}
	.presc .prescheader, .presc .prescheader div{
		font-size:10px;
		padding-top:0px;
		line-height:10px;
	}
	.qrcode{
		margin-top:0px !important;
		background-color:#000;
		display:inline-block;
		z-index:100;
	}
	.barcode{
		padding:10px;
		float:left;
	}

	.presc > .prescfooter{
		box-shadow:none;
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		color: #777;
		padding: 10px 15px 60px 15px;
		height: 60px;
		background-color:#ddd;
	}
	.presc .prescbody span{
		font-size:12px;
		line-height:1em;
		width:auto;
		display:inline-block;
	}
	
	.submitrow{
		display:none;
	}
}
div.ajax_timeout_warning{
	position:fixed;
	top:0px;
	left:0px;
	right:0px;
	background-color:#ffffcb;
	border:1px solid red;
	padding:5px;
	color:red; 
	z-index:101;
}
/****************************** menu items *****/

.ui-menu-item .probability {
    display: inline;
    float: right;
    font-size: 80%;
}
.presc .presc-item {
    margin: 10px;
    position: relative;
    line-height: 30px;
    border-radius: 5px;
}

.presc .presc-item.focus, .presc .presc-item:hover{
    box-shadow: 1px 1px 1px 1px gray;
}
.presc .presc-item-order-sig input{
    /* display:block;  */
    width: 80% !important;
    font-size: 90%;
    direction: rtl !important;
    text-align: left;
}
.presc .presc-item-order-sig{
	margin:0px 10px;
        direction: rtl !important;
}
.presc .presc-item-dosage-form{
	margin-right:10px;
}
.presc .presc-item-drug-name{
	font-weight:bold;
}
.presc .presc-item-drug-unit{
	margin-left:5px;
	text-style:italic;
}

.presc .presc-item-order-amount input{
	width:30px;
	padding:0px 5px;
}
.presc .presc-item-order-amount{
	margin: 0px 25px;
	padding:0px 5px;
}

.presc .presc-icon-bar{
	display:none;
	float:right;
	position:absolute;
	right:0;
	bottom:0;
}

.presc .presc-item.focus> .presc-icon-bar, .presc .presc-item:hover > .presc-icon-bar{
	display:inline;
}

.presc > .prescbody{
	height:auto;
	min-height:160px;
	padding: 0 0 50px 18px;
}
.presc > .prescbody h1.error{
	margin:0;
	color:red;
	font-family: 'IRANSans-Light';
	padding:50px;
	font-size:25px;'
}

/*************** menu items *******************/
.ui-menu,.ui-menu li{
	direction:rtl;
}
.ui-menu .ui-menu-item:nth-child(odd){
	background-color:#ddffee;
}
.ui-menu .ui-menu-item:nth-child(even){ 
	background-color:#ccffdd;
}
.ui-menu .ui-state-disabled .presc-item-dosage-form{
	color:#FFF;
}
	
.ui-menu .ui-state-active .presc-item-dosage-form{
	color:gold;
}
.ui-menu .presc-item-dosage-form{
	font-size:11px;
	font-family:tahoma;
	color:#888888;
	font-style:italic;
}
.ui-menu .ui-state-active .presc-item-drug-name{
	color:yellow;
}

.ui-menu .presc-item-drug-name{
	font-size:18px;
	font-family:Arial;
	color:#FF2200;
}	


.ui-menu .presc-item-unit{
	font-size:8px;
	font-weight:bold;
	color:red;
}

.ui-menu .presc-item-description{
	font-size:11px;
	font-family:Arial;
	color:#002288;
	display:block;
	text-align:right;
	padding:4px;
}
.ui-menu .presc-item-atc-code{
	font-size:11px;
	font-family:Arial;
	font-weight:bold;
	color:#002200;
	text-align:right;
	padding:1px;
}

.ui-menu .menuitem-orderset{
	background-image:url('images/bullets-black.png');
	background-position: 6px center;
	background-repeat:no-repeat;
	padding-left: 24px;
}

.ui-menu .menuitem-2col{
	z-index: 201;
	width: 50%;
	display: block;
	position: absolute;
	right: 0;
	font-size: 10px;
	background-color:#fedcba !important;
	box-shadow:2px 2px 1px 0px;
}

.ui-menu .menuitem-notification,
.ui-menu .menuitem-guideline{
	background-color:#fedcba !important;
	background-repeat: no-repeat;
	padding-left: 35px;
	overflow: hidden;
	color:black;
	text-align: left;
	direction: rtl;
	border:none;
	margin:1px;
}

.ui-menu .menuitem-guideline{
	background-image: url(images/file_pdf_32.png);
}
.ui-menu .menuitem-notification{
	background-image: url(images/icon_alert_32.png);
}
	
.ui-menu .menuitem-notification:hover{
	color:red;
	border-bottom:2px solid red;
}
.ui-menu .menuitem-guideline:hover{
	color:red;
	border-bottom:2px solid red;
}

.ui-menu li.duplicate, .ui-menu li.duplicate span{
	background-color: #444 !important;
	color:#fff !important;;
}

.ui-menu .orderset-item-count{ 
	font-weight: bold;
	margin-left:3px;
	display:inline-block;
}
.ui-menu .presc-item-farsi-name{
	/*width:90%;*/
	display: inline-block;
}

    .ui-menu .ui-state-active{
        opacity:1 !important;
    }
.ui-menu .ui-state-active{
	border:none;
	margin:0px;
}
 .ui-menu{
	 text-transform: capitalize;
	 /*max-height:300px;*/
	 overflow-y:auto;
	 overflow-x:hide;
	 box-shadow: 1px 1px 1px 1px black;	
}

.placeholder {
    position: absolute;
    text-align: left;
    direction: ltr;
    left: 0px;
    top: 0px;
    z-index: 0;
    color: orange;
    font-weight: bold;
    font-size: 90%;
    margin: 8px 6px;
    padding: 0px 6px;
    text-transform: capitalize;
    opacity: 1;
    border: 1px solid red;
    background: yellow;
}

.btn_open_favorites_list, 
.btn_open_orderset_list{
	 float:left;
 }
.btn_add_orderset,
.btn_edit_orderset{
	/* position:absolute; */
	/* left:0px; */
	/* bottom:0px; */
} 
.btn_remove_favorite{
	position: absolute;
	right: 0;
	bottom: 0;
}

/************************** PATIENT-LIST : COLOR-LED *******************/
.color-LED{
	margin: 11px 5px 0px 3px;
	width: 25px;
	height: 25px;
	display:inline-block;
	border-radius:50%;
	box-shadow: inset 0px 0px 8px 5px #fff,       1px 1px 1px 1px black;
	float: right;
	/* background-color: white; */
}


.admitstatus-canceled .color-LED{
	background-color:#FF0000;
}
.admitstatus-dispensed .color-LED{
	background-color:#CCCCCC;
}
.admitstatus-epsent .color-LED{
	background-color:#00FF00;
}
.admitstatus-waiting .color-LED{
	background-color:#FFFF00;
}
.admitstatus-epsent.notice{
	border-bottom:2px solid red;
}
/************************** PATIENT-LIST : BIME *******************/
.bime{
	content:'';
	width: 50px;
	height: 50px;
	display:inline-block;
	float: right;
}
.bime-tamin .bime{
	background-image:url(images/bime_tamin_small.png);
}

.bime-khadamat .bime{
	background-image:url(images/bime_khadamat_small.png);
}

.prescsearchbox {
    font-size: 120%;
    padding: 3px 3px 3px 10px;
    text-transform: capitalize;
}

.fullpage{
	position: absolute;
	top:0;
	right:0;
	z-index: 100;
	left:0;
	margin: 6px !important;
	box-shadow: 0 0 30px 3px;
	padding:0 0 80px 0;
	border:0;
}

.patient-photo {
	width:50px;
	height:50px;
	display:inline-block;
	float:left;
	/* margin:-5px; */
	border-radius: 50%;
	box-shadow: 2px 2px 4px 0px;
}
.patient-photo img{
	border-radius:50%;
}


.default-patient-photo{
	background-image:url(images/default_patient_photo.png);
	background-repeat:no-repeat;
}

.default-patient-photo-male{
	background-position:0px 0px;
}
.default-patient-photo-female{
	background-position:-50px 0px;
}

.pharmacy-comment{
	font-size:12px;
	text-align:center;	
}
.pharmacy-comment textarea{
	width:70%;
	display:block;
	margin:0px auto;
}
.pharmacy-comment button{
	font-family:IRANSans-Light;
	margin:0px auto;
}


.hx_watermark{
	color:rgba(50,50,50,0.2);
	transform: rotate(45deg);
	/* outline: 5px dotted darkblue; */
	position:absolute;
	right:0px;
	top: 40%;
	line-height: 70px !important;
	z-index:200;
	font-weight:bold;
	font-family:BZar !important;
	font-size:60px !important;
	margin: 10px;
	/* border: 1px solid red; */
	padding: 10px;
}


@media (max-width:600px){
	.ui-menu .menuitem-2col{
		position:initial;
		width:auto;
		background-color:red;
		display:block;
	}
}


#msgBody{
	direction:rtl;
	padding:5px;
	font-size:120%;
	
}