/* -------------------------------------
  ADDED for new version (since 2013-01-29)
  -------------------------------------*/
input[type='checkbox'] {
	float: left;
	margin-right: 5px !important; /* TODO: reorder CSS in layout/main.php */
}

#search_advanced_container {
	padding: 10px 0;
	display: none;
}

div.actions {
	float: right;
}

a.button.add {
	width: 16px;
	height: 16px;
	background: transparent url(../images/add.png) no-repeat center center;
	display: block;
	float: left;
}

a.button.remove {
	width: 16px;
	height: 16px;
	background: transparent url(../images/remove.png) no-repeat center center;
	display: block;
	float: left;
}

a.button.more {
	width: 16px;
	height: 16px;
	background: transparent url(../images/more.png) no-repeat center center;
	display: block;	
}

a.button.delete {
	width: 16px;
	height: 16px;
	background: transparent url(../images/delete.png) no-repeat center center;
	display: block;	
}


#order table th label, 
#order table th strong,
#order table th,
#formFields table th label, 
#formFields table th strong,
#formFields table th, 
#search_fields table th label, 
#search_fields table th strong,
#search_fields table th {
	font-size: 12px;
	font-weight: bold;
	vertical-align: middle;
	text-align: center;
}

#order table input,
#order table select,  
#order table label,
#formFields table input,
#formFields table select,  
#formFields table label,
#search_fields table input,
#search_fields table select,  
#search_fields table label {
	width: 100%;
	margin: 0;
	padding: 0;
}

#search_fields table .champ {
	width: 200px;
}

#order table .ordre,
#search_fields table .view_separator_id, 
#search_fields table .ordre {
	width: 75px;
}

#search_fields table .view_Style {
	width: 50px;
}

td.empty, 
.empty {
	background: #ffebe8;
	border: 1px solid #dd3c10;
}

#formFields table .nom {
	width: 150px;
}

#formFields table .formLabel {
	width: 250px;
}

a.ui-icon {
	cursor: pointer;
}

#formFields .ordre input {
	margin-right: -20px;
	position: relative;
	z-index: 0;
	padding-top: 1px;
}

/*
#formFields a.ui-icon {
	float: right;
	position: relative;
	z-index: 1;
	margin-top: 2px;
}
*/

#order .ui-state-highlight,
#search_fields .ui-state-highlight, 
#formFields .ui-state-highlight {
	height: 35px;
}

.ui-sortable-helper {
	-moz-transform: rotate(-1deg);
	-webkit-transform: rotate(-1deg);
	-o-transform: rotate(-1deg);
	-ms-transform: rotate(-1deg);
	transform: rotate(-1deg);

	-webkit-border-radius: 4px;
    border-radius: 4px;

	height: 35px;
	background: #FFFFFF;
	border: 1px dashed #1F6A2C;
}

div.error {
	color: #000000;
	background: #F4DCDC;
	border: 1px solid #CE2325;
	padding: 5px;
}

span.highlight {
	background: #FBFF11;
}

.cart {
	display: none;
}

div.print {
	display: block;
	float: right;
	text-align: right;
}

a.print {
	color: #000000;
	text-decoration: none;
	font: normal normal 12px/18px Helvetica, Arial, sans-serif;
}

input#searchValue {
	padding: 5px 5px 5px 30px;
	background: #FFFFFF url(../images/search.png) no-repeat 5px center;
	display: block;
	width: 100%;
	height: 100%;
	
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.infos.search .actions {
	float: left;
	width: 5%;
}

.infos.search .content {
	float: none;
	margin-left: 5%;
	width: 95%;
}

.infos.search label {
	margin: 0;
	width: auto;
	display: inline;
	float: none;
	font-weight: bold;
}

div.searchitems {
	margin-left: 20px;
}

.quickSearch {
	padding: 0;
	margin: 5px 0 15px 0;
}

.quickSearch .button {
	width: 100% !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.loadingImage {
	position: absolute;
	display: none;
}

.searchTime {
	margin-top: 20px;
	font-size: 10px;
	line-height: 14px;
}

/* -------------------------------------
  SiteModele
  -------------------------------------*/
#formFields .actions {
	float: none;
	margin: 10px 0 15px 0; 
}

#formFields .actions a.action {
	float: left;
	text-decoration: none;
	width: 32px;
	height: 32px;
	display: block;
	margin: 0 5px 10px 0;

	border: 1px solid #000000;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;	
}

#formFields .actions a.action:hover {
	opacity: 0.8;
	filter:alpha(opacity=80);

	border: 1px solid #1F6A2C;
}

#formFields .actions a.action-columns-3 {
	background: transparent url(../images/columns.three.png) no-repeat center center;
}

#formFields .actions a.action-columns-2 {
	background: transparent url(../images/columns.two.png) no-repeat center center;
}

#formFields .actions a.action-updatefields {
	background: transparent url(../images/refresh.png) no-repeat center center;
}

#formFields .msg-container {
	margin: 15px 0;
	min-height: 1px;
}

#formFields .msg {
	margin: 0;
}


#structure {
	border: 1px solid #CCCCCC;
}

#structure a.button {
	padding: 1px;
	margin: 3px 0 0 0;
	float: none;
}

#structure #head {
	background: #C3D9FF;
	font-weight: bold;
	padding: 5px;
}

#structure #head .column {
	text-align: center;
}

#structure #head label {
	font-size: 12px;
	line-height: 18px;
}

#structure #head label {
	vertical-align: middle;
}

#structure label {
	display: inline;
	float: none;
}

#structure .lines label {
	display: none;
}

#structure .line {
	border-bottom: 1px solid #cccccc;
	padding: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
#structure .column.ordre {
	width: 5%;
}

.infos .line {
	margin: 0 0 10px 0;
}

.infos .line label {
	font-weight: bold;
	float: none;
	display: inline;
	width: auto;
	margin-top: 0;
}

.infos .line > label,
.infos .line > div, 
.infos .line.displayLeft > div, 
.infos .line.displayLeft > label {
	display: inline;
}

.infos .line.displayNone > label {
	display: none;
}

.infos .line.displayRight > div {
	float: left;
}

.infos .line.displayTop > label, 
.infos .line.displayTop > div {
	display: block;
}

.infos .line.displayRight > label:before {
	content: " ";
}

.infos .line.separatorTop {
	border-top: 1px solid #dddddd;
	padding-top: 1px;
}

.infos .line.separatorBottom {
	border-bottom: 1px solid #dddddd;
	padding-bottom: 1px;
	margin-bottom: 1px;
}

.infos .line .columns, 
#structure .columns {
	margin: 0 1% 0 0;
	min-height: 50px;
	border: 1px dashed #1F6A2C;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	padding: 5px;
}

.infos .line .columns {
	border: none;
	padding: 0;
}

.infos .line .columns.col2,
#structure .columns.col2 {
	width: 49%;
}

.infos .line .columns.col3,
#structure .columns.col3 {
	width: 32%;
}

.infos .line .columns.alpha, 
#structure .columns.alpha {
	margin-left: 0;
}

.infos .line .columns.omega,
#structure .columns.omega {
	margin-right: 0;
}

/*elements dans une colonne*/
#structure .columns .line > .the-columns > .column {
	display: none;
}
#structure .columns .line > .the-columns > .column:nth-child(2) {
	display: block;
	width: 100%;
	margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
#structure .columnsLine .line {
	border: 1px solid #CCCCCC;
	border-top: none;
}
#structure .columnsLine .line:first-child {
	border-top: 1px solid #CCCCCC;
}
#structure .columnsLine .line > .column { /*premier element(ordre)*/
	width: 15%;
}
#structure .columnsLine .line > .the-columns { /*premier element(ordre)*/
	padding-left: 16%;
}


#structure .column.nom {
	width: 23%;
}
#structure .column.formLabel {
	width: 32%;
}
#structure .column.more, 
#structure .column.recherche,
#structure .column.afficher,
#structure .column.afficher_vide {
	width: 12%;
}

#structure .line .column input {
	width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	height: auto; 
}

#structure #head .column label {
	display: inline;
	width: auto;
	margin: 0;
}

#structure .column {
	overflow: hidden;
	margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	margin-right: 1%;
}

#structure .column:last-child, 
[class*="column"] + [class*="column"]:last-child {
    margin-right: 0;
}

.autres_options {
	display: none;
}

.fancybox-inner .line .column {
	display: block;
	float: none !important;
	text-align: left;
	margin: 0 0 10px 0;
}

.fancybox-inner .line .column label {
	display: inline;
	font-weight: bold;
}

.fancybox-inner .line > .column:first-child {
	display: none;
}

.fancybox-inner .autres_options {
	display: block;
}

div.flash-error, div.flash-notice, div.flash-success {
	margin-top: 15px;
}

div.flash-error .title-alert, 
div.flash-notice .title-alert, 
div.flash-success .title-alert {
	font-style: italic;
	font-weight: bold;
}


div#sub_menu .sidebarTitle a, 
.sidebarTitle {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 19px;
}

div#sub_menu .sidebarTitle a {	
	color: #555555;
	margin-right: 0;
	padding: 0;
	text-decoration: none;
}

.the-columns {
	display: block !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	width: 100%;
	float: none !important; /*override fondation*/
	padding-left: 6%;
}

.line .the-columns input {
	margin: 0;
}

.line .placeholder {
	display: none;
}

.fancybox-inner input, 
.fancybox-inner select {
	margin: 0;
	display: block;
}

.fancybox-inner input[type='checkbox'] {
	float: left;
	margin-right: 5px;
}

.coolfieldset table,
.search table {
	margin: 0;
}

/* -------------------------------------
  Timepicker
  -------------------------------------*/
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }

.list-view table {
	margin: 0;
}