/**
 * Global styles
 */
body {
  background: url("../img/body-background.png") repeat;
  color: #1A1A1A;
  font-family : Verdana, Geneva, sans-serif;
  font-size: 0.75rem;
}

a {
  color: #999999;
  text-decoration: none;
}

a:focus {
  outline: 1px dashed #999999;
}

a:hover {
  text-decoration: underline;
}

.column {
  float: left;
}

a.button {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow:  1px 6px 4px 2px rgba(0, 0, 0, 0.4);
  box-shadow:  1px 6px 4px 2px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  display: block;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 14px;
  line-height: 18px;
  padding: 4px 6px;
  text-align: center;
  text-transform: uppercase;
}

a.button:focus {
  outline: 1px dashed #FFFFFF;
}

h1 {
  font-family: Antic, Geneva, sans-serif;
  font-size: 24px;
  font-weight: normal;
  line-height: 29px;
  margin: 12px 0 20px;
}

.marginContent{
	margin-left: 138px; width: 732px
}

h2 {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 18px;
  font-weight: normal;
  margin: 15px 0 15px;
}

h3 {
  color: #1A1A1A;
  font-family: Antic, Geneva, sans-serif;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 10px;
}

h4 {
  color: #1A1A1A;
  font-family: Antic, Geneva, sans-serif;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 10px;
}

p {
  line-height: 1.5em;
  margin: 4px 0 12px;
}

p.subtitle {
  font-family: Antic, Geneva, sans-serif;
  font-size: 14px;
  line-height: 18px;
}

/* Local tasks */
ul#local-tasks {
  font-family: Arial;
  font-size: 12px;
  line-height: 14px;
  padding-top: 3px;
}

ul#local-tasks li {
  display: -moz-inline-stack;
  display: inline-block;
  margin-right: 22px;
  padding: 0 12px 3px;
  position: relative;
}

ul#local-tasks li.last {
  margin-right: 0;
}

.cxtMenu-panel {
  background-color: #F2F2F2;
  -webkit-box-shadow: 5px 1px 10px 1px rgba(0, 0, 0, 0.7);
  box-shadow: 5px 1px 10px 1px rgba(0, 0, 0, 0.7);  
  display: none;
  left: 0;
  padding: 12px 12px;
  position: absolute;
  top: 17px;
  z-index: 100;
}

.cxtMenuItem:hover .cxtMenu-panel,
.cxtMenu li:hover .cxtMenu-panel,
.cxtMenu li .cxtMenu-sticky-panel {
  display: block;
}

.local-tasks .cxtMenu-panel li {
  display: block;
  margin: 2px 0 12px;
  padding: 0;
  position: static;
}

.cxtMenu-panel a.local-action {
  background-position: 0 center;
  background-repeat: no-repeat;
  display: block;
  padding: 8px 32px 8px 32px;
}

.cxtMenu-panel a.save-button {
  background-image: url("../img/icons/save.png");
}

.cxtMenu-panel a.save-as-button {
  background-image: url("../img/icons/save-as.png");
}

.cxtMenu-panel a.save-pdf-button {
  background-image: url("../img/icons/save-pdf.png");
}

.cxtMenu-panel a.save-template-button {
  background-image: url("../img/icons/save-template.png");
}

.cxtMenu-panel a.print-button {
  background-image: url("../img/icons/print.png");
}

.cxtMenu-panel a.print-preview-button {
  background-image: url("../img/icons/print-preview.png");
}

.cxtMenu-panel a.send-fax-button {
  background-image: url("../img/icons/send-fax.png");
}

.cxtMenu-panel a.send-email-button {
  background-image: url("../img/icons/send-email.png");
}

.cxtMenu-panel a.send-mail-button {
  background-image: url("../img/icons/send-mail.png");
}

.cxtMenu-panel a.process-validate-button {
  background-image: url("../img/icons/process-validate.png");
}

.cxtMenu-panel a.process-payment-button {
  background-image: url("../img/icons/process-payment.png");
}

.cxtMenu-panel a.checked {
  background-image: url("../img/icons/list_checked.png");
}

.cxtMenu-panel a.unchecked {
  background-image: url("../img/icons/list_unchecked.png");
}

/* Forms */
.form-item label {
  display: block;
  font-weight: normal;
  margin-bottom: 2px;
}

.form-item.inline label,
.form-item.inline .form-element {
  display: inline;
}

.form-item{
	margin-bottom: 0px
}
 
.form-item input[type=text],
.form-item textarea,
.form-item input[type=password],
.form-item select
{
	margin-bottom: 5px;
}

.form-item  input[type=text].wide,
.form-item  textarea.wide,
.form-item  input[type=password].wide,
.form-item  select.wide
{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;  
	width: 100%;
	margin-bottom: 5px;
}

input.form-submit {
  border: 0 none;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: #FFFFFF;
  cursor: pointer;
  display: -moz-inline-stack;
  display: inline-block;
  margin: 5px 0;
  padding: 2px 60px;
  text-align: center;
  text-transform: uppercase;
}

.form-buttons {
  text-align: center;
}

/* Buttons */
.buttons a {
  background-color: #FFFFFF;
  color: #063563;
  display: -moz-inline-stack;
  display: inline-block;
  padding: 0 10px;
}

.buttons a:focus {
  outline: 1px dashed #063563;
}

/* Pager */
.pager {
  text-align: center;
}

.pager a {
  color: #4D4D4D;
}

.pager a:focus {
  color: #4D4D4D;
}

.pager span.current {
  color: #000000;
}

/* Dashboard */
#dashboard {
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
}

#dashboard h1#page-title {
  background-color: #F2F2F2;
  font-size: 18px;
  line-height: 22px;
  margin: 0;
  padding: 8px 16px 3px;
  text-transform: uppercase;
}

#dashboard-content {
  min-height: 20px;
  padding: 4px 15px 40px;
  position: relative;
}

#dashboard-content table.dashboard-table {
  width: 100%;
}

#dashboard-content table.dashboard-table th,
#dashboard-content table.dashboard-table td {
  border-color: #333333;
  border-style: none solid solid;
  border-width: 0 1px 1px;
  font-weight: normal;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

#dashboard-content table.dashboard-table th.first,
#dashboard-content table.dashboard-table td.first {
  border-left-style: none;
  padding-left: 0;
}

#dashboard-content table.dashboard-table th.last,
#dashboard-content table.dashboard-table td.last {
  border-right-style: none!important;
}

#dashboard-content table.dashboard-table th.no-border,
#dashboard-content table.dashboard-table td.no-border {
  border: 0 none;
}

/**
 * Form elements
 */
.shadowed {
  -webkit-box-shadow:  1px 6px 4px 2px rgba(0, 0, 0, 0.4);
  box-shadow:  1px 6px 4px 2px rgba(0, 0, 0, 0.4);
}

textarea,
select,
input[type=text],
input[type=password] {
  border: 1px solid #666666;
  padding: 2px 4px;
}

.form-item {
	margin: 2px 0 10px;
}

.err{
	color: red;
}

.errField{
	border: 1px solid red !important;
}

.number {
  text-align: right;
}

/**
 * Structure
 */
.region-wrapper {
	margin: 0 1rem;
}

#header {
	position: relative;
  background-color: #FFFFFF;
}

#header-top {
  background-color: #FFFFFF;
  border-bottom: 1px solid #DEDEDE;
  height: 22px;
}

#header-bottom {
  background-color: #FFFFFF;
}

#header-bottom .region-wrapper {
	position: relative;
	padding: 39px 0 35px;
}

#logo{
  display: block;
  width: 31%;
  min-width: 260px; 
}

#main {
  padding-top: 1rem;
  position: relative;
}

#main-inner {
  background-color: #FFFFFF;
  -webkit-border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
  padding: 8px 8px 0; 
}

#footer {
  background-color: #FFFFFF;
  padding-bottom: 20px;
}

/**
 * Top bar
 */
#top-bar{
	float: right;
	margin-top: 4px;
	color: #333333;
  	cursor: default;
	text-decoration: none;
}

#top-bar > *{
	margin-right: 15px;
}

/**
 * Secondary menu
 */
#secondary-menu {
	position: absolute;
	bottom: 20px;
	right: 0;
	font-size: 11px;
	text-transform: uppercase;
}

#secondary-menu ul.menu li {
  display: -moz-inline-stack;
  display: inline-block;
  margin-left: 40px;
}

#secondary-menu ul.menu li a {
  color: #333333;
}

#secondary-menu ul.menu li a:focus {
  outline: 1px dashed #333333;
}

#secondary-menu ul.menu li a.active {
  color: #000000;
  cursor: default;
  text-decoration: none;
}

/**
 * Column layout
 */

#content .column-center {
  margin: 0 358px 0 138px;
}

/**
 * Footer menu
 */
#footer-menu {
  background-color: #242424;
  font-family: Tahoma, Geneva, sans-serif;
  padding: 7px 50px 7px 10px;
  text-align: center;
}

#footer-menu a, #footer-menu li {
  color: #CCCCCC;
}

#footer-menu a:focus {
  outline: 1px dashed #CCCCCC;
}

#footer-menu ul.menu li {
  display: inline;
  padding: 0 34px;
}

#footer-menu a.active {
  color: #FFFFFF;
  cursor: default;
  text-decoration: none;
}

/**
 * Copyright
 */
#copyright {
  font-size: 11px;
  margin: 8px 0 10px;
  text-align: center;
}


/**
 * Ajax indicators
 */
.ajax-indicator img.on{
	display: none;
}

table.checkTable{
	margin: 3em 0em;
}

table.checkTable td{
	text-align: center;
	text-align: -webkit-center;
	padding: 0.9em;
}

table.checkTable .rowHeader{
	text-align: left;
	font-weight: normal;
}

.checkTable tr{
	
}

body.options #highlight {
  background: url("../img/pictures/options.jpg") no-repeat 0 0;
  color: #FFFFFF;
  height: 159px;
  padding: 180px 388px 0 168px;
  width: 452px;
}

/**
 * Generic pop-up form
 */
form.popup h2{
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: bold;
}

/**
 * Person selection cell
 */
.personCell{
	position: relative	
}

.personEditBts{
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: none
}

#personSearchResults{
  padding: 0;
}

#personSearchResults li{
  padding: 0.9em;
}

#personSearchResults li:hover{
  background-color: #B9BCCD;
}

/**
 * For editing table values.
 */
 .edited{
 	padding: 0;
 	background-color: white;
 }
 
.edited input, .edited textarea{
	box-sizing: border-box;
	-moz-box-sizing:border-box; /* Firefox */
	border: 0;
	margin: 0;
	width: 100%;
	text-align: inherit;
}

#message-subject{
	margin-top: 4px
}

#tarif{
	display: none;
}

#navigation
{
  display: none;
}


/* Large tablet 880px */
@media screen and (min-width: 55em) {
	.region-wrapper {
		margin: 0 auto;
		max-width: 64rem;
	}
	
	#main {
	  padding-top: 30px;
	}
}

/* Desktop Medium 1100px */
@media screen and (min-width: 68.75em) {

}
