/* Backend style, commom to every screen belonging to the backend module */

body {
}

#header {
	margin-top: 0;
}

#main {
	margin-left: 230px;
	margin-right: 20px;
	position: relative;
	z-index: 7;
}

#breadcrumb {
	font-size: 12px;
	margin-left: 240px;
	margin-bottom: 10px;
}

#sidebar {
	float: left;
	position: relative;
	width: 220px;
	margin-left: 10px;
	text-align: left;
}

#sidebarnav ul {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	line-height: 30px;
}

#sidebarnav li {
	font-size: 12px;
	margin: 0px;
	border-top: 1px solid #cccccc;
}

#sidebarnav li:first-child {
	border: 0;
}

#sidebarnav li ul li:first-child {
	background-image: url(/static/images/transparent-background-sub.png);
	background-repeat: repeat-x;
	background-position: left top;
}

#sidebarnav li a,
#sidebarnav li a:visited,
#sidebarnav li a:hover,
#sidebarnav li a:link {
	color: #575755;
	text-decoration: none;
	border: 0;
	margin-left: 15px;
	display: block;
	height: 30px;
	line-height: 30px;
}

#sidebarnav li ul li {
	border-top: 1px solid #cccccc;
}

#sidebarnav .slMenuItem_depth2 {
	background-color: #dedede;
}

#sidebarnav .slMenuItem_depth2 a,
#sidebarnav .slMenuItem_depth2 a:visited,
#sidebarnav .slMenuItem_depth2 a:hover,
#sidebarnav .slMenuItem_depth2 a:link {
	margin-left: 30px;
	color: #666;
}

#sidebarnav li.active > a {
	text-decoration: underline !important;
}

#sidebarnav .slMenuItem_depth3 {
	background-color: #999;
}

#sidebarnav .slMenuItem_depth3 a,
#sidebarnav .slMenuItem_depth3 a:visited,
#sidebarnav .slMenuItem_depth3 a:hover,
#sidebarnav .slMenuItem_depth3 a:link {
	margin-left: 45px;
	color: #ffffff;
}

#footer {
	text-align: center;
	margin-top: 20px;
}

#wrapper {
	min-height: 0 !important;
	margin-top: 0;
}

form .error,
.form .error {
	color: #bf3535;
}

form fieldset legend,
.form fieldset legend,
.view-wrapper fieldset legend {
	padding-left: 5px;
	padding-right: 5px;
}

form legend,
.form legend,
.view-wrapper fieldset legend {
	font-weight: bold;
}

.view-wrapper td.label,
.label {
	font-style: italic;
	padding-right: 20px;
}

form span.intro,
.form span.intro {
	display: block;
	font-size: 11px;
	margin-bottom: 5px;
}

form p.description,
.form p.description {
	color: #999;
	display: block;
	font-size: 11px;
	font-style: italic;
	margin-bottom: 2px;
}

form .fieldset-panel,
.form .fieldset-panel,
.view-wrapper .fieldset-panel {
	padding-bottom: 20px;
}

form .fieldset-left-panel,
.form .fieldset-left-panel,
.view-wrapper .fieldset-left-panel {
	float: left;
	width: 49%;
}

form .fieldset-right-panel,
.form .fieldset-right-panel,
.view-wrapper .fieldset-right-panel {
	float: right;
	width: 49%;
}

.view-wrapper.center {
	text-align: center;
}

.buttons.center {
	text-align: center;
	float: none;
}

form label,
.form label {
	display: block;
	font-size: 11px;
	font-weight: bold;
	margin: 5px 0 0 5px;
}

html body form input.error,
html body .form input.error,
html body form textarea.error,
html body .form textarea.error {
	background: #f8efef;
	border: 1px solid #ba2727;
}

html body form input.error:hover,
html body form textarea.error:hover,
html body .form input.error:hover,
html body .form textarea.error:hover {
	background: #f8efef;
	border: 1px dashed #ba2727;
}

form input[type='text'],
.form input[type='text'],
input[type='password'],
.form select,
form select {
	background: #fefefe;
	border: 1px solid #999;
	padding: 2px 0;
}

form input[type='checkbox'] {
	float: right;
	margin-top: -18px;
}

form input[type='text']:focus,
form input[type='text']:hover,
input[type='password']:hover,
input[type='password']:focus,
form textarea:hover,
.form input[type='text']:focus,
.form input[type='text']:hover,
.form textarea:hover {
	border: 1px solid #666;
}

form textarea,
.form textarea {
	background: #fefefe;
	border: 1px solid #666;
	font-size: 11px;
	height: 90px;
	padding: 5px 0;
	width: 100%;
}

form .buttons,
.form .buttons,
.buttons {
	float: right;
	margin: 15px 0 0;
	text-align: right;
}

.buttons.summary {
	margin: 37px;
}

form .buttons input {
	float: none;
}

form .buttons #reset {
	background-color: #aaa;
}

form .hint {
	font-style: italic;
}

.checkboxes input[type='checkbox'] {
	width: 20px;
	float: left;
	margin-top: 0px;
}
.checkboxes > label:not(:first-child) {
	width: 150px;
	float: none;
	margin-left: 190px;
}

fieldset ol.questions > li > span {
	font-weight: bold;
}

label.required:after {
	content: ' *';
}

ol.questions {
	margin-left: 50px !important;
}

ol.questions > li {
	margin-top: 10px;
}

#sending h2.active {
	background: transparent url('/static/images/icons/tick.png') no-repeat right top;
	padding-right: 20px;
}

#sending #send_events div.event_form {
	padding: 5px;
	margin-top: 10px;
	background-color: #20a7cd;
}

#send_now,
#send_postponed,
#send_events {
	padding: 10px;
	margin-top: 10px;
	background-color: #8c8c8c;
	color: #fff;
}

#send_now label,
#send_postponed label,
#send_events label {
	font-weight: normal;
}

#send_postponed .x-form-date-trigger {
	right: auto;
}

#send_postponed input.x-form-text {
	width: auto !important;
}

#send_filters {
	margin-top: 10px;
	color: #fff;
}

#send_filters #filters_label {
	border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
	-webkit-border-radius: 5px 0 0 5px;
	background-color: #8c8c8c;
	padding: 10px;
	width: 300px;
}

#send_filters #filters_results {
	border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
	-webkit-border-radius: 0 5px 5px 0;
	background-color: #20a7cd;
	padding: 10px;
	width: 70px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
	min-height: 19px;
}

#send_filters_users {
	font-size: 14px;
}

.user-information td {
	padding-right: 40px;
}

.history div.row_0,
.thread div.row_0,
.history div.row_1,
.thread div.row_1 {
	margin-top: 10px;
	padding: 5px;
}

.history div.row_0,
.thread div.row_0 {
	border: 1px solid #ccc;
	backgound-color: #fafafa;
}

.history div.row_1,
.thread div.row_1 {
	color: #fafafa;
	background-color: #8c8c8c;
}

.thread .input {
	margin-top: 10px;
}

.thread .time,
.tiptip_content {
	font-size: 10px !important;
}

.history {
	max-height: 570px;
	overflow: auto;
}

.thread .history {
	max-height: 200px;
}

.history h3,
.thread h3 {
	font-size: 14px !important;
	margin: 0;
	font-weight: bold;
	word-wrap: break-word;
	width: 400px;
}

.history hr {
	margin-top: 50px;
}

.thread #cancel {
	float: left !important;
}

form input.disabled,
form select.disabled {
	color: #666666;
	background-color: #bcbcbc;
}

.comment {
	word-wrap: break-word;
	width: 400px;
}

ul.tabs {
	border-bottom-color: #575755;
	border-bottom-style: none;
	display: block;
	height: 30px;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin-bottom: 0;
	margin-left: 5px;
	margin-right: -5px;
	margin-top: 0;
	padding: 0;
	vertical-align: baseline;
	margin-left: 240px;
	margin-bottom: -1px;
}

ul.tabs li.tab {
	background-color: #f0f0f0;
	border: 1px solid #ccc;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	display: list-item;
	float: left;
	height: 28px;
	margin: 0;
	padding: 0;
	position: relative;
	vertical-align: baseline;
	z-index: 999;
	line-height: 28px;
}

ul.tabs li.tab.active {
	border-bottom: 1px solid white;
	background-color: white;
}

ul.tabs li.tab a {
	padding-left: 5px;
	padding-right: 5px;
	border: 0;
}

ul.tabs li.tab.active a {
}

.summary-header {
	overflow: hidden;
}
.summary-header th {
	width: 250px;
	text-align: left;
}
.summary-header p {
	padding: 10px;
}

.summary-header table tbody tr td p {
	padding: 0;
}

#content dl.tools dt {
	float: left;
	width: 200px;
	border: 2px solid #0779b4;
	background: url(../images/button-blue.png) repeat top;
	background-size: 100%;
	color: white;
	font-size: 1.3em;
	font-family: Myriad Pro, Arial, Verdana, sans-serif;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	padding: 5px 20px;
	margin: 0 30px 0 0;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

#content dl.tools dd {
	height: 100px;
	font-size: 1.3em;
	color: grey;
}

#content dl.tools dt a,
#content dl.tools dt a:hover {
	background: none;
	color: white;
}

.bloc-left {
	float: left;
	width: 49%;
}
.bloc-right {
	float: right;
	width: 49%;
}

#deposit-label-form input[type='submit'] {
	margin: 0;
}

#deposit-label-form .button.red {
	color: white;
	padding: 7px 20px;
}

#submit-deposit-date {
	display: none;
	width: 290px;
}
#deposit-label-form #loader {
	margin-top: 2px;
}

.truncatedTextInlist {
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 90%;
	overflow: hidden;
	max-width: 170px;
}

.btn {
	float: left;
	height: 16px;
	width: 16px;
	margin-top: 5px;
	border: none;
	text-indent: 30px;
	color: transparent;
	cursor: pointer;
	background-color: transparent;
}
.edit-btn {
	background: transparent url('/static/images/icons/edit.png') 1px center no-repeat;
}
.label-btn {
	height: 2em;
	line-height: 2em;
	text-indent: 10px;
	display: inline-block;
}
a.btn-left {
	display: inline-block;
	padding-left: 20px;
	line-height: 1.5em;
	text-decoration: none;
}
a.btn-delete {
	background: url('/static/images/icons/delete.png') no-repeat scroll 1px center rgba(0, 0, 0, 0);
}

.listItem ul {
	list-style-position: inside;
	line-height: 30px;
}

.listItem li {
	font-size: 12px;
	margin: 10px;
	list-style-type: disc;
}

.exceptionPrice {
	background-color: #ff0;
}

.scrollExceptions {
	display: block;
	max-height: 250px;
	overflow-y: scroll;
}

form[name='backendtoolsxls'] #name {
	width: 200px;
	text-align: right;
}

#preinvoicing #stamps .stamp-unit-number input,
#preinvoicing #prestations .prestation-unit-number input {
	width: 40px;
}

#preinvoicing #stamps .stamp-unit-weight input {
	width: 30px;
}

#preinvoicing #stamps .stamp-unit-price input,
#preinvoicing #prestations .prestation-unit-price input {
	width: 45px;
}

#preinvoicing #prestations .prestation-total input,
#preinvoicing #stamps .stamp-total input {
	width: 72px;
}

#preinvoicing #prestations .prestation-building input,
#preinvoicing #stamps .stamp-building input {
	width: 50px;
}

.bootstrapFix.btn,
#pageDropDown {
	height: auto;
	width: auto;
	padding: 5px 10px;
	font-size: 1em;
	text-indent: 0;
	text-shadow: none;
}

input.react-datepicker-input {
	position: relative;
	display: inline-block;
}

.fade.in {
	display: block;
}

.lcca-office-checkbox {
	width: auto;
}

/* accounting-aged-balance */
.info-panel {
	border: 1px solid lightgray;
	border-radius: 5px;
	padding: 5px 10px;
	margin-bottom: 10px;
	width: 310px;
}

.info-panel-item {
	width: 300px;
}

.info-panel-label {
	display: inline-block;
	width: 125px;
	font-weight: bold;
	margin-right: 15px;
}

.info-panel-value {
	display: inline-block;
	width: 150px;
	margin-left: 5px;
}

/** Start Modal **/
.modal-html {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-html-header {
	padding: 16px 16px;
	background-color: #5cb85c;
}

.modal-html-header h2 {
	color: white;
}

.modal-html-body {
	padding: 16px;
}

.modal-html-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 80%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	animation-name: animatetop;
	animation-duration: 0.6s;
	margin: 15% auto;
}

@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}

.close {
	color: white;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover, .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
/** End Modal **/

/* UTILITY CLASSES */
.hidden {
	display:none;
}

.logo-syndic {
    display: block;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    clear: both;
    float: none !important;
}
