/*
-----------------------------------------------
Grey Box Method - Layout CSS
----------------------------------------------- */

body {
	background: #F0EBE2;
	border-top: 0px solid #0a4076;
	color: #333;
	font-size: 11px;
	padding: 0 0 40px;
}


/* anchors
----------------------------------------------- */
a {
	color: #000;
	/*font-weight:bold;*/
	text-decoration: underline;
}
a:hover {
	color:#333;
}


/* 960 grid system container background
----------------------------------------------- */
.container_12,
.container_16 {
	background:#fff;
}


/* headings
----------------------------------------------- */
h1, h2, h3, h4, h5, h6 {line-height:1.2em; margin-bottom:.3em;}
h2 {margin-top:1em;}
h5 {font-size:1.2em;}
h6 {font-size:1em; text-transform:uppercase;}


h1 a {
	font-weight:normal;
}


/* main header
----------------------------------------------- */
#main_header {
	font-weight:normal;
	text-align:left;
	background:#0068A8 url('../../images/kindlustusest_orion_header_original.gif?ver=1.1');
	margin-bottom:0;
	height: 38px;
	background-size: 960px 89px;
    background-repeat: no-repeat;
}

/* page heading
----------------------------------------------- */
h2#page-heading {
	font-weight:normal;
	padding: .5em 0 .5em 0;
	margin:0 0 10px 0;
	border-bottom:1px solid #ccc;
}


/* boxes
----------------------------------------------- */
.box {
	background:#ddd;
	margin-bottom:20px;
	padding:10px 10px 1px 10px;
}
.box h2 {
	font-size:1em;
	font-weight:normal;
	text-transform:uppercase;
	color:#fff;
	background:#333;
	margin:-10px -10px 0 -10px;
	padding:6px 12px;
}
.box h2 span.box_header_link {
	float:right;
}
.box h2 a,
.box h2 a.visible {
	color:#fff;
	/*background:#333 url("../img/switch_minus.gif") 97% 50% no-repeat;*/
	display:block;
	padding:6px 12px;
	margin:-6px -12px;
	border:none;
}
.grid_4 .box h2 a {
	background-position: 97% 50%;
}
.grid_5 .box h2 a {
	background-position: 98% 50%;
}
.grid_12 .box h2 a {
	background-position: 99% 50%;
}


.box h2 a.hidden,
.box h2 a.hidden:hover {
	background-image: url("../img/switch_plus.gif");
}
.box h2 a:hover {
	background-color:#111;
}
.block {
	padding-top:10px;
}
div.menu {
	padding:0;
}
div.menu h2 {
	margin:0;
}
div.menu .block {
	padding-top:0;
}


/* paragraphs, quotes and lists
----------------------------------------------- */
p {
	margin-bottom:1em;
}
blockquote {
	font-family: Georgia, 'Times New Roman', serif;
	font-size:1.2em;
	padding-left:1em;
	border-left:4px solid #ccc;
}
blockquote cite {
	font-size:.9em;
}
ul, ol {
	padding-top:0;
}


/* menus
----------------------------------------------- */
ul.menu {
	list-style:none;
	border-top:1px solid #bbb;
}
ul.menu li {
	margin:0;
}
ul.menu li a {
	display:block;
	padding:4px 10px;
	border-bottom:1px solid #ccc;
}
ul.menu li a:hover {
	background:#eee;
}
ul.menu li a:active {
	background:#ccc;
}


/* submenus
----------------------------------------------- */
ul.menu ul {
	list-style:none;
	margin:0;
}
ul.menu ul li a {
	padding-left:30px;
}


/* section menus
----------------------------------------------- */
ul.section {
	border-top:0;
	margin-bottom:0;
}
ul.section li {
	text-transform:uppercase;
}
ul.section li a {
	background:#bbb;
}
ul.section li a:hover {
	background:#aaa;
}
ul.section li a:active {
	color:#fff;
	background:#666;
}
ul.section li li a {
	background:#ddd;
	border-bottom:1px solid #eee;
}
ul.section li li a:hover {
	background:#ccc;
}
ul.section li li a:active {
	color:#000;
	background:#fff;
}
ul.section ul li {
	text-transform:none;
}
ul.section ul.current li a {
	background:#eee;
	border-bottom:1px solid #fff;
}
ul.section ul.current li a:hover {
	background:#ddd;
}
ul.section ul.current li a:active {
	background:#fff;
}
ul.section li a.current {
	color:#fff;
	background:#666;
}
ul.section li a.current:hover {
	background:#555;
}
ul.section li a.current:active {
	background:#444;
}
ul.section li a.active {
	background:#fff;
	cursor:default;
}
ul.section li.current > a.active,
ul.section li.current > a.active:hover {
	color:#fff;
	background:#666;
	cursor:default;
}


/* table
----------------------------------------------- */
table {
	width:100%;
	border:1px solid #bbb;
	margin-bottom:10px;
}
col.colC {
	width:8em;
}
th, td {
	padding:.2em 1em;
	text-align:left;
}
thead th {
	border-bottom:2px solid #888;
	background:#bbb;
	padding:.4em 1em .2em;
}
thead th.table-head {
	font-size:1em;
	font-weight:normal;
	text-transform:uppercase;
	color:#fff;
	background:#555;
	border:1px solid #555;
}
tbody th,
tbody td {
	border-top:1px solid #bbb;
	border-bottom:1px solid #bbb;
	background:#eee;
}
tbody tr.odd th,
tbody tr.odd td {
	background:#fff;
}
tfoot th,
tfoot td {
	border-top:2px solid #666;
	background:#eee;
}
tfoot tr.total th,
tfoot tr.total td {
	border-top:6px double #666;
}
tfoot tr.total th {
	text-transform:uppercase;
}
th.currency,
td.currency {
	text-align:right;
}


/* transparent table
*/

table.transparent {
	border:0px;
}

table.transparent thead th {
	border:0px;
	background: none;
}
table.transparent thead th.table-head {
	color:black;
	background: none;
	border:0px;
}
table.transparent tbody th,
table.transparent tbody td {
	border:0px;
	background: none;
}
table.transparent tbody tr.odd th,
table.transparent tbody tr.odd td {
	background: none;
}
table.transparent tfoot th,
table.transparent tfoot td {
	border:0px;
	background: none;
}
table.transparent tfoot tr.total th,
table.transparent tfoot tr.total td {
	border:0px;
}


/* forms
----------------------------------------------- */
form {
	overflow:hidden;
}
fieldset {
	border:1px solid #bbb;
	padding:10px;
	position:relative;
	background:#e9e9e9;
	margin-bottom:10px;
}
legend {
	font-size:1.1em;
	padding:.4em .8em;
	background:#fff;
	border:1px solid #bbb;
}
fieldset.login p {
	margin-bottom:1em;
	margin-top:0pt;
}
fieldset p label,
fieldset p input,
fieldset p select,
fieldset p textarea {
	width:98%;
}

fieldset p label.medium,
fieldset p input.medium,
fieldset p select.medium,
fieldset p textarea.medium {
	width:48%;
}

fieldset p label.small,
fieldset p input.small,
fieldset p select.small,
fieldset p textarea.small {
	width:15%;
}

fieldset p span {
	width:95%;
	min-width:95%;
	float:left;
}

fieldset p input.checkbox,
fieldset p input.radio {
	width:5%;
}

fieldset.login p label {
	float:left;
	line-height:2em;
	margin-right:3%;
	text-align:right;
	width:32%;
}
fieldset.login p input {
	width:60%;
}
fieldset.login input.button {
	margin-left:35%;
}

#tabs fieldset {
	background-color: white;
	border: none;
	margin: 0px;
	padding: 0px;
}

form p.notice {
	font-weight:bold;
}
input.search.text {
	width:66%;
}
input.search.button {
	width:28%;
	margin-left:2%;
}


/* articles
----------------------------------------------- */
.articles {
	padding:0;
}
.articles h2 {
	margin:0;
}
#articles {
	padding-top:0;
}
.article {
	border-top:1px solid #666;
	padding-top:.5em;
}
.box .article {
	border-top:3px solid #fff;
	padding:13px 10px 0 10px;
}
.article h2 {
	font-size:2em;
	font-weight:normal;
	text-transform:none;
	color:#333;
	background:transparent;
	padding:0;
	margin:0;
	border:none;
}
.article h3 {
	margin-bottom:.2em;
	font-size:1.6em;
}
.box .first {
	border-top:none;
}
.article h4 {
	font-size:1.2em;
	text-transform:uppercase;
	margin-bottom:.5em;
}
.article a.image {
	float:left; 
	margin:3px 10px 3px 0; 
	padding:4px;
	border:1px solid #bbb;
	background:#fff;
}
.article a.image:hover {
	border:1px solid #666;
}
.article a.image img {
	float:left; 
}
.article p.meta {
	color:#666;
	border-top:1px dotted #999;
	border-bottom:1px dotted #999;
	padding:.3em 0;
	margin-bottom:.8em;
}


/* site information
----------------------------------------------- */
#site_info .box {
	background:none repeat scroll 0 0 #FFFFFF;
	border-top:1px solid #CCCCCC;
	color:gray;
	margin:10px 0;
	padding: 10px 0 0 0;
}
#site_info a {
	color:#fff;
}
#site_info a:hover {
	color:#000;
}


/* AJAX sliding shelf
----------------------------------------------- */
#loading {float:right; margin-right:14px; margin-top:-2px;}
.block {padding-bottom:1px;}


/* Accordian
----------------------------------------------- */
.toggler {
	color: #222;
	margin: 0;
	padding: 2px 5px;
	background: #eee;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-top: 1px solid #f5f5f5;
	border-left: 1px solid #f5f5f5;
	font-size:1.1em;
	font-weight: normal;
}
.element h4 {
	margin: 0;
	padding:4px;
	line-height:1.2em;
}
.element p {
	margin: 0;
	padding: 4px;
}
.float-right {
	padding:10px 20px;
	float:right;
}

#accordian-block {
	padding-bottom:10px;
}


/* Mootools Kwicks
----------------------------------------------- */
#kwick-box { 
	padding:0;
	overflow:hidden;
}
#kwick-box h2 { 
	margin:0;
}
#kwick {
	position: relative;
}
#kwick .kwicks {
	display: block;
	background: #999;
	height: 120px;
	list-style:none;
	margin:0;
	overflow:hidden;
}
#kwick li {
	float: left;
	margin:0;
	padding:0;
}
#kwick .kwick {
	display: block;
	cursor: pointer;
	overflow: hidden;
	height: 100px;
	width: 215px;
	padding: 10px;
	background: #fff;
}
#kwick .kwick span {
	color:#fff;
}
#kwick .one {
	background: #666;
}
#kwick .two {
	background: #777;
}
#kwick .three {
	background: #888;
}
#kwick .four {
	background: #999;
}

/* Notices
---------------------------------------------------------------------*/

.alert, .notice, .success, .info {
	border:2px solid #DDDDDD;
	margin-bottom:1em;
	padding:0.8em;
}

.alert {
	background:none repeat scroll 0 0 #FBE3E4;
	border-color:#FBC2C4;
	color:#8A1F11;
}

.notice {
	background:none repeat scroll 0 0 #FFF6BF;
	border-color:#FFD324;
	color:#514721;
}

.info {
	background:none repeat scroll 0 0 #D5EDF8;
	border-color:#92CAE4;
	color:#205791;
}

.success {
	background:none repeat scroll 0 0 #E6EFC2;
	border-color:#C6D880;
	color:#264409;
}


/* Dashboard
---------------------------------------------------------------------*/
.dashboard_reminders .info {
	font-size: 14px;
}

.dashboard_reminders .info strong {
	margin-right: 5px;
}

.dashboard_reminders .info a {
	color: #000;
	/*font-weight:bold;*/
	text-decoration: underline;
}

.dashboard_reminders .info img {
	float:right;
}

.dashboard_reminders p.text_container {
	margin: 5px 0px 0px 5px;
}


/* Datatables
---------------------------------------------------------------------*/

.datatable {
	clear: both;
	margin-top: 5px;
}

.dataTables_length {
	width: 40%;
	float: left;
}

.dataTables_filter {
	width: 50%;
	float: right;
	text-align: right;
}

.dataTables_info {
	width: 60%;
	float: left;
}

.dataTables_paginate {
	/*width: 44px;*/
	* width: 50px;
	float: right;
	text-align: right;
}

.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
	height: 19px;
	width: 16px;
	margin-left: 5px;
	float: left;
}


.paginate_button.previous.disabled {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url('../../images/fugue_icons/document-page-previous-disabled.png');
	text-indent: -9999px;
	overflow: hidden;
}

.paginate_button.previous {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url('../../images/fugue_icons/blue-document-page-previous.png');
	text-indent: -9999px;
	overflow: hidden;
}

.paginate_button.disabled.next {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url('../../images/fugue_icons/document-page-next-disabled.png');
	text-indent: -9999px;
	overflow: hidden;
}

.paginate_button.next {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url('../../images/fugue_icons/blue-document-page-next.png');
	text-indent: -9999px;
	overflow: hidden;
}

.paginate_disabled_previous,  {
	background-image: url('../../images/fugue_icons/document-page-previous-disabled.png');
}

.paginate_enabled_previous {
	background-image: url('../../images/fugue_icons/blue-document-page-previous.png');
}

.paginate_disabled_next {
	background-image: url('../../images/fugue_icons/document-page-next-disabled.png');
}

.paginate_enabled_next {
	background-image: url('../../images/fugue_icons/blue-document-page-next.png');
}

.sorting_asc {
	background: url('../../images/fugue_icons/sort-asc.png') no-repeat center right #888888;
}

.sorting_desc {
	background: url('../../images/fugue_icons/sort-desc.png') no-repeat center right #888888;
}

.dataTables_processing {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 250px;
	height: 30px;
	margin-left: -125px;
	margin-top: -15px;
	padding: 14px 0 2px 0;
	border: 1px solid #ddd;
	text-align: center;
	color: #999;
	font-size: 14px;
	background-color: white;
}

/* Buttons
---------------------------------------------------------------------*/

.btn {
	display: inline-block;
	padding: 5px 10px;
	color: #777 !important;
	text-decoration: none;
	font-weight: bold;
	font-size: 11px;
	font-family: Tahoma, Arial, sans-serif;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	text-shadow: 0 1px 1px rgba(255,255,255,0.9);
	position: relative;
	cursor: pointer;
	border:1px solid #ccc !important;
	background:#fff url("../../images/btn-overlay.png") repeat-x !important;
}

.btn:hover, .btn:focus, .btn:active {
	outline:medium none;
	border:1px solid #329ECC !important;
	opacity:0.9;
	-khtml-opacity: .9;
	-moz-opacity: 0.9;
	-moz-box-shadow:0 0 5px rgba(82, 168, 236, 0.5);
	-webkit-box-shadow: 0 0 5px rgba(82, 168, 236, 0.5);
	box-shadow: 0 0 5px rgba(82, 168, 236, 0.5);
}

.btn-green {
	color: #fff !important;
	text-shadow: 0 1px 1px rgba(0,0,0,0.25);
	border:1px solid #749217 !important;
	background-color: #6AB620 !important;
}
.btn-green:hover, .btn-green:focus, .btn-green:active {
	-moz-box-shadow:0 0 5px rgba(116, 146, 23, 0.9);
	-webkit-box-shadow: 0 0 5px rgba(116, 146, 23, 0.9);
	box-shadow: 0 0 5px rgba(116, 146, 23, 0.9);
	border:1px solid #749217 !important;
}

.btn-blue {
	color: #fff !important;
	text-shadow: 0 1px 1px rgba(0,0,0,0.25);
	border:1px solid #2D69AC !important;
	background-color: #3C6ED1 !important;
}
.btn-blue:hover, .btn-blue:focus, .btn-blue:active {
	-moz-box-shadow:0 0 5px rgba(71, 131, 243, 0.9);
	-webkit-box-shadow:0 0 5px rgba(71, 131, 243, 0.9);
	box-shadow: 0 0 5px rgba(71, 131, 243, 0.9);
	border:1px solid #2D69AC !important;
}

.btn-red {
	color: #fff !important;
	text-shadow: 0 1px 1px rgba(0,0,0,0.25);
	border:1px solid #AE2B2B !important;
	background-color: #D22A2A !important;
}
.btn-red:hover, .btn-red:focus, .btn-red:active {
	-moz-box-shadow:0 0 5px rgba(174, 43, 43, 0.9);
	-webkit-box-shadow:0 0 5px rgba(174, 43, 43, 0.9);
	box-shadow: 0 0 5px rgba(174, 43, 43, 0.9);
	border:1px solid #AE2B2B !important;
}

.btn-special {
	font-size:110%;
	width: 210px;
}

fieldset .btn {
	margin-right: 4px;
}

/*a.btn {
	padding: 6px 10px 7px 10px;
}*/

.btn {
	padding: 6px 10px 7px 10px;
}

#search_button.btn {
	padding: 4px 10px 3px 10px;
}




/* Main Search and header
---------------------------------------------------------------------*/
      
#search_container {
	padding: 6px 10px;
	float: right;
}

#search_type {
	width: 180px;
}

#header_info {
	margin: 0px 6px 2px 0px;
	color:#fff;
}

#header_info a,
#header_info a:hover,
#header_info a:active {
	color:#fff;
}

#search_container a.btn {
	padding:4px 10px;
}

.search_input {
	padding: 2px 1px 1px;
}



#nonfinished_invoices {
	background-color:#FF3C00;
	color:white;
	margin:5px;
	padding:3px 8px;
	text-decoration:none;
}

#multiinvoice_message {
	display:none;
}


/* Clients menu
---------------------------------------------------------------------*/

ul#client_menu.nav {
	background: #089ACB;
	margin-bottom: 10px;
}

ul#client_menu.nav li a {
	background: #089ACB;
}

ul#client_menu.nav li.active_item a {
	background-color: #3FB5DA;
}


/* Others
---------------------------------------------------------------------*/

.no_underline {
	text-decoration: none;
}

.hidden {
	display: none;
}

.ui-datepicker
{
   z-index: 32767;
}


label.error {
	color:#d00;
	text-transform:none;
	margin-left:0px;
}

input.error {
	border: 1px solid #d00;
	color:#d00;
}

em { 
	font-weight: bold; 
	vertical-align: top; 
	color: orange;
}

#wait {
	display: none;
	height: 18px;
	position: fixed;
	left: 50%;
	margin-left: -70px;
	top: 0px;
	white-space: nowrap;
	z-index: 1001;
	background: #FFC129;
	border-bottom-left-radius: 5px 5px;
	border-bottom-right-radius: 5px 5px;
	color: black;
	font-weight: bold;
	padding: 5px 8px 3px 8px;
}

.special_settings {
	display: none;
}

td input.selected_price {
	background-color: #E52B00;
	color: white;
	border:1px solid gray;
}

.hightlighted_row {
	background-color: #C1DEFC !important;
}

input:read-only {
	background-color: rgb(235, 235, 228);
	cursor:not-allowed;
}

.text-right {
	text-align: right;
}