/*!
 * 
 */
* {
	font-family: verdana, sans-serif !important;
	color:#393939;
}

/* DASHBOARD TAB */
.sw-dashboard {
	background-repeat: no-repeat;
}
.sw-dashboard.en_GB {
	background-image: url("/images/ontex-logo-large.jpg") !important;
}
.sw-dashboard.es {
	background-image: url("/images/ontex-logo-large-es.jpg") !important;
}

/* HTML CONTENT STYLING */
.content-area {
	color: #494949;
	padding: 0 10px;
}
.content-area p {
	font-size: 13px !important;
	margin: 4px 0 0 0;
}
.content-area em {
	font-style: italic;
}
.content-area strong {
	font-weight: bold;
}
.content-area h1 {
	font-size: 20px !important;
}

/*LOADING MASK/SCREEN */
#loading-mask{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:20000;
	background-color:white;
}
#loading{
	position:absolute;
	left:45%;
	top:40%;
	padding:2px;
	z-index:20001;
	height:auto;
	width: 260px;
}
#loading a {
	color:#225588;
}
#loading .loading-indicator{
	background:white;
	color:#444;
	font:bold 18px tahoma,arial,helvetica;
	padding:10px;
	margin:0;
	height:auto;
}
#loading-msg {
	font: normal 10px arial,tahoma,sans-serif;
}

/*SEARCH WINDOW*/
div.synergy-window-search .x-splitbar-h {
	border-right:1px solid #ADBED6;
	border-left:1px solid #ADBED6;
}

/*FORM NOTIFICATION BOX*/
div.notification {
	background:#ffc url(/images/icons/information.png) no-repeat 2px 3px;
	border:1px solid #fc3;
	padding:4px;
	font-size:11px;
	font-family:tahoma,arial,helvetica,sans-serif;
	margin:0 0 5px 0;
}
div.notification span {
	margin-left:17px;
}
div.warning {
	background:#ffc url(/images/icons/error.png) no-repeat 2px 3px;
	background-color:#faa;
	border:1px solid #f00;
}

/*FORM ITEMS*/
.x-form-text-change-request {
	background-color: #FFD7AA;
	background-image: none !important;
}

fieldset.sw-fieldset-disabled {
	background-color: #E5E5E5 !important;
}
fieldset.sw-fieldset-disabled label {
	color: #E5E5E5 !important;
}
/* TOOLTIPS */
.x-tip-header-text a {
	text-decoration:none;
	color:#000;
}

/*CUSTOM TEMPLATE STYLING */
.search-item {
    font:normal 11px tahoma, arial, helvetica, sans-serif;
    padding:3px 10px 3px 10px;
    border:1px solid #fff;
    border-bottom:1px solid #eeeeee;
    white-space:normal;
    color:#555;
}
.search-item-1 {

}
.search-item-0 {
	color:#f00;
}
.search-item span.search-item-id {
    font-weight:bold;
    clear:none;
}
.search-item span.search-item-desc {
    font-weight:normal;
	font-style:italic;
    margin:0 0 5px 0;
    display:block;
    clear:none;
}

/*ICONS*/
.icon-search {background-image: url(/images/icons/magnifier.png) !important;}
.icon-search-address {background-image: url(/images/icons/find.png) !important;}
.icon-recent {background-image: url(/images/icons/page_back.png) !important;}
.icon-add {background-image: url(/images/icons/add.png) !important;}
.icon-edit {background-image: url(/images/icons/pencil.png) !important;}
.icon-distribution {background-image: url(/images/icons/magnifier.png) !important;}
.icon-useradmin {background-image: url(/images/icons/user_gray.png) !important;}
.icon-help {background-image: url(/images/icons/help.png) !important;}
.icon-patient {background-image: url(/images/icons/user_green.png) !important;}
.icon-patient-locked {background-image: url(/images/custom_icon/patient-locked.png) !important;}
.icon-patient-and-product {background-image: url(/images/custom_icon/patient-and-product.png) !important;}
.icon-patient-assessment {background-image: url(/images/custom_icon/patient-assessment.png) !important;}
.icon-patient-assessment-attend {background-image: url(/images/icons/tick.png) !important;}
.icon-patient-additional {background-image: url(/images/icons/vcard.png) !important;}
.icon-nurse {background-image: url(/images/custom_icon/nurse.png) !important;}
.icon-doctor {background-image: url(/images/icons/user_suit.png) !important;}
.icon-delivery {background-image: url(/images/icons/lorry.png) !important;}
.icon-delivery-failed {background-image: url(/images/icons/lorry_error.png) !important;}
.icon-delivery-note {background-image: url(/images/custom_icon/delivery-note.png) !important;}
.icon-delivery-tracking-number {background-image: url(/images/custom_icon/lorry_tracking.png) !important;}
.icon-delivery-date-and-patient {background-image: url(/images/custom_icon/patient-calendar.png) !important;}
.icon-deliverypoint {background-image: url(/images/icons/lorry.png) !important;}
.icon-deliverypoint-open {background-image: url(/images/icons/lorry_go.png) !important;}
.icon-surgery {background-image: url(/images/icons/building.png) !important;}
.icon-password {background-image: url(/images/icons/key.png) !important;}
.icon-user {background-image: url(/images/icons/user_gray.png) !important;}
.icon-report {background-image: url(/images/icons/report.png) !important;}
.icon-report-excel {background-image: url(/images/icons/page_excel.png) !important;}
.icon-report-generate {background-image: url(/images/icons/report_go.png) !important;}
.icon-run-EOD {background-image: url(/images/icons/lorry_start.png) !important;}
.icon-useradmin {background-image: url(/images/icons/user_gray.png) !important;}
.icon-collapsedpanel-help {background: url(/images/collapsed-help-label.png) no-repeat 2px 20px !important;}
.icon-about {background-image: url(/images/icons/information.png) !important;}
.icon-logout {background-image: url(/images/icons/key_stop.png) !important;}
.icon-save {background-image: url(/images/icons/disk.png) !important;}
.icon-save-grid {background-image: url(/images/icons/table_save.png) !important;}
.icon-bulk-update-grid {background-image: url(/images/icons/table_lightning.png) !important;}
.icon-undo {background-image: url(/images/icons/arrow_undo.png) !important;}
.icon-delete {background-image: url(/images/icons/delete.png) !important;}
.icon-open {background-image: url(/images/icons/door_open.png) !important;}
.icon-clearform {background-image: url(/images/icons/erase.png) !important;}
.icon-go {background-image: url(/images/icons/play_green.png) !important;}
.icon-message-send {background-image: url(/images/icons/email_go.png) !important;}
.icon-action-center {background-image: url(/images/icons_factory/asterisk_orange.png) !important;}
.icon-product {background-image: url(/images/custom_icon/pad-bag.png) !important;}
.icon-pad {background-image: url(/images/custom_icon/pad.png) !important;}
.icon-calculator {background-image: url(/images/icons/calculator.png) !important;}
.icon-carepathway {background-image: url(/images/icons/clipboard.png) !important;}
.icon-home {background-image: url(/images/icons/house.png) !important;}
.icon-cost {background-image: url(/images/icons/coins.png) !important;}
.icon-maintenance {background-image: url(/images/icons/wrench_orange.png) !important;}
.icon-manufacturing {background-image: url(/images/icons/cog.png) !important;}
.icon-folder {background-image: url(/images/icons/folder.png) !important;}
.icon-distribution {background-image: url(/images/icons/world.png) !important;}
.icon-history {background-image: url(/images/icons/clock.png) !important;}
.icon-notes {background-image: url(/images/icons/note.png) !important;}
.icon-letter {background-image: url(/images/icons/page_white_text.png) !important;}
.icon-letter-button {background-image: url(/images/icons/page_white_go.png) !important;}
.icon-audit {background-image: url(/images/custom_icon/audit.png) !important;}
.icon-grid-grouping {background-image: url(/images/icons/table_row.png) !important;}
.icon-grid-grouping-collapse {background-image: url(/images/icons/section_expanded.png) !important;}
.icon-grid-grouping-expand {background-image: url(/images/icons/section_collapsed.png) !important;}
.icon-grid-grouping-toggle {background-image: url(/images/custom_icon/section_toggle.png) !important;}
.icon-cancel {background-image: url(/images/icons/decline.png) !important;}
.icon-dashboard {background-image: url(/images/icons/house.png) !important;}
.icon-user-add {background-image: url(/images/icons/user_add.png) !important;}
.icon-user-edit {background-image: url(/images/icons/user_edit.png) !important;}
.icon-user-delete {background-image: url(/images/icons/user_delete.png) !important;}
.icon-renew {background-image: url(/images/icons/arrow_refresh.png) !important;}
.icon-data {background-image: url(/images/icons/database_refresh.png) !important;}
.icon-data-import {background-image: url(/images/icons/disk_upload.png) !important;}
.icon-data-export {background-image: url(/images/icons/disk_download.png) !important;}
.icon-validate {background-image: url(/images/icons/help.png) !important;}

/*CUSTOM COMPONENTS*/
/* ageRangeField */
.synergyweb-agerangefield-grid .x-panel-body {
	border:1px solid #B5B8C8 !important;
}

/* Ext.ToolTip */
.synergyweb-tooltip-rich ul {
    list-style-type: disc;
    margin-left: 15px;
}
.synergyweb-tooltip-rich em {
    font-style:italic !important;
}

/* contract Selector Combo */
.synergyweb-contractselector-combo-ct {
	margin-left:4px;
	margin-top:4px;	
}

/* Grid general additions */
.blue-row { background:#73B2D6 !important; }
.x-grid3-row-selected.blue-row { background: #4AA3D6 !important; }
.green-row { background:#62DF61 !important; }
.x-grid3-row-selected.green-row { background: #45C643 !important; }
.orange-row { background: #FFAE4F !important; }
.x-grid3-row-selected.orange-row { background: #ED8A1A !important; }
.red-row { background: #FC4444 !important; }
.x-grid3-row-selected.red-row { background: #E03131 !important; }

/* Distribution grid */
.synergyweb-grid-distribution .failed-deliveries {
	background-image: url(/images/custom_icon/lorry-failed.png) !important;
	background-repeat: no-repeat !important;
	background-position: 2px 2px !important;
}

.synergyweb-grid-distribution .x-grid3-cell-selected {
	border: 1px dashed #FFFA00 !important;
}
.synergyweb-grid-distribution .x-grid3-cell-selected div {

}
.synergyweb-grid-cell-green { background-color:green !important; }
.synergyweb-grid-cell-green-striped { 
	background-color:green !important;
	background-image:url('/images/grid-cell-bg-yellow.gif') !important;
	background-repeat:no-repeat !important;
}
.synergyweb-grid-cell-white-striped { 
	background-image: url('/images/grid-cell-bg-yellow.gif') !important;
	background-repeat: no-repeat !important;
	background-color: none !important;
}
.synergyweb-grid-cell-red { background-color:red !important; }
.synergyweb-grid-cell-black { background-color:black !important; }

/* Patients & Products Search Grouping grid */
.sw-grid-group-hd {
	height: 14px;
}
.sw-grid-group-hd-text {
	float: left;
	margin: 0 3px 0 0;
}
.sw-grid-group-hd-warnings {
	width: 16px; height: 13px;
	overflow: hidden;
	float: left;
}
.sw-grid-group-hd-conflicts {
	float: left;
	width: 16px;
	background-image: url(/images/icons/error.png);
	background-repeat: no-repeat;
	background-position: 0 -2px;
}

/* Care Pathways Window/Form */
.synergy-carepathway-form form.x-form {
	overflow:auto !important;
	padding:5px 25px 5px 5px;
	background-color:#DFE8F6;
}

/* Main Patient Form, including Spanish stuff */

.sw-box-text {
	font-size: 11px;
	margin: 0 0 5px 0;
}
.sw-box-productimage {
	width: 80px;
	height: 80px;
	margin: 0 10px 0 0;
	border: 2px solid #ccc;
}

.floatright {
    float: right;
}

.sw-quick-productsgrid .change-request .x-grid3-cell-inner {
	background-color: #FFD7AA;
}
.sw-quick-productsgrid .product-476507 {
	background-color: #99ccff !important;
}
.sw-quick-productsgrid .product-476523 {
	background-color: #ffff99 !important;
}
.sw-quick-productsgrid .product-477356 {
	background-color: #ccffcc !important;
}
/*.sw-quick-productsgrid .product-476507 {
	background-color: #fff !important;
}*/
.sw-quick-productsgrid .x-grid3-cell {
	background-position: 32px 2px;
	background-repeat: no-repeat;
}
.sw-quick-productsgrid .product-488619 {
	background-image: url(/images/products/product-488619.png);
}
.sw-quick-productsgrid .product-477331 {
	background-image: url(/images/products/product-477331.png);
}
.sw-quick-productsgrid .product-483008 {
	background-image: url(/images/products/product-483008.png);
}
.sw-quick-productsgrid .product-477372 {
	background-image: url(/images/products/product-477372.png);
}
.sw-quick-productsgrid .product-481788 {
	background-image: url(/images/products/product-481788.png);
}
.sw-quick-productsgrid .product-483040 {
	background-image: url(/images/products/product-483040.png);
}
.sw-quick-productsgrid .x-form-num-field {
    text-align: left;
}
.sw-quick-productsgrid .x-grid3-dirty-cell {
	background-image: none;
}.x-grid3-locked, .x-grid3-unlocked {
	overflow: hidden;
	position: absolute;
}
.x-grid3-locked {
	border-right: 1px solid #99BBE8;
}
.x-grid3-locked .x-grid3-scroller {
	overflow: hidden;
}
.x-grid3-locked .x-grid3-row {
	border-right: 0;
}
.x-grid3-scroll-spacer {
	height: 19px;
}
.x-grid3-unlocked .x-grid3-header-offset {
	padding-left: 0;
}
.x-grid3-unlocked .x-grid3-row {
	border-left: 0;
}
/*!
 * Ext JS Library 3.3.0
 * Copyright(c) 2006-2010 Ext JS, Inc.
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
/*
 * FileUploadField component styles
 */
.x-form-file-wrap {
    position: relative;
    height: 22px;
}
.x-form-file-wrap .x-form-file {
	position: absolute;
	right: 0;
	-moz-opacity: 0;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
    height: 22px;
}
.x-form-file-wrap .x-form-file-btn {
	position: absolute;
	right: 0;
	z-index: 1;
}
.x-form-file-wrap .x-form-file-text {
    position: absolute;
    left: 0;
    z-index: 3;
    color: #777;
}/* loading font looked rubbish so made it the same as the rest*/
.loading-indicator{font:12px tahoma,arial,helvetica,sans-serif; color:#666;}
#tbmain .ytb-text { font-size:14px; font-weight:bold; color:#15428B; margin-left: 2px;  }
/* IE7 (and below), form checkboxes are pushed out about 100px too far to the right, conditional fix */
.x-form-element { *padding-left:1px !important; }

/* http://extjs.com/forum/showthread.php?t=74597 */
.x-form-display-field{ padding-top: 3px; }
.x-form-field-wrap { position: static; }
.x-form-field-wrap .x-form-trigger { position: static; top: auto; vertical-align: middle; }
.x-form-field-wrap .x-form-twin-triggers .x-form-trigger { position: static; top: auto; vertical-align: middle; }

/*
 * grid overrides
 */
.x-grid3-cell-selected .x-grid3-cell-inner {
	padding:2px;
}
/* .x-list-body { height:100%; } *this fix now breaks scrollers*, listview elements won't vertically scroll without this fix */
 .x-fieldset .x-list-body { height:125px; }
 /* grid overrides for colouring rows */
.x-grid3-dirty-row{background:#FFFFA8;}
.x-grid3-new-row{background:#c8ffc8;}
/*.x-grid3-dirty-cell { background: none; } */
/*
 * combo overrides
 */
.x-combo-list-small {
	font-size:11px !important;
}
.x-small-editor {
	font-size:11px !important;
}

/* file upload field overrides */
.x-form-file-wrap {
	position: relative !important;
}