html, body {
	height: 100%;
}

body {
	background-color: #fcfcfc;
	font-size: 13px;
	word-wrap: break-word;
}

@font-face{
	font-family:'Roboto-Bold';
	src:url('../fonts/Roboto-Bold.woff2') format('woff2'), url('../fonts/Roboto-Bold.ttf') format('truetype')
}

@font-face{
	font-family:'Roboto-Regular';
	src:url('../fonts/Roboto-Regular.woff2') format('woff2'), url('../fonts/Roboto-Regular.ttf') format('truetype')
}

#nav li.active{
	background-color: #485b6e;
}

.text_red{
	color: red;
}

.bold  {
	font-family:'Roboto-Bold';
}

label, .strong  {
	font-family:'Roboto-Bold';
	font-weight: normal;
	font-size: 17px;
}

.large_label {
	width: 100%;
}

.main_content {
	padding-top: 50px;
}

.tooltip-inner {
    white-space: pre-wrap;
    min-width: 80px;
}


/* Modals */
.modal{
	overflow:auto !important;
}
			
.btn, .modal-content {
	border-radius: 0;
}

.modal-body {
	padding-bottom: 5px;
}

.modal-footer {
	padding-top: 0;
	border-top: 0;
}

.close {
    opacity: 1;
    text-shadow: none;
}

.close:focus, .close:active, .close:hover {
    opacity: 0.8;
}
	

a {
	cursor: pointer;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.left {
	text-align : left;
}

.hidden_element {
	display: none;	
}

.warning {
	color: #F0AD4E;
}

.success {
	color: #5CB85C;
}

.inline_btn {
	display: inline;
}

.icon-flipped {
	transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	-ms-transform: scaleX(-1);
}

.dropdown_modal {
	border-radius: 0;
	margin-top: 14px;
}

/* NAVBAR */
.navbar {
	border-radius: 0px;
	background-position: center center;
	border-bottom: 1px solid #fff;
	margin-bottom: 0px;
}

.nav > li > a:focus, .nav > li > a:hover, .navbar-header > a:focus, .navbar-header > a:hover,
.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
	background-color: transparent;
	text-decoration: underline;
}

.nav .badge_anchor {
	display: inline-block;
}

.nav .badge {
	display: none;
	cursor: pointer;
	padding: 3px 7px;
	background-color: #f39c12 !important;
	border-radius: 10px;
	
	min-width: 10px;
	line-height: 1;
	text-align: center;
}

.nav .badge:hover, .nav .badge:focus {
	text-decoration: none !important;
	background-color: #ec971f !important;
}

.navbar-toggle {
    border-color: #fff;
    border-radius: 0;
}

.navbar-brand {
	padding-right: 0px;
}

.navbar-brand img {
	display: inline;
	margin-top: -10px;
	margin-right: 5px;
}

.navbar-brand i {
	margin-right: 5px;
	font-size: 15px;
}

.navbar-brand .caret {
	margin-left: 5px;
}

@media (max-width: 992px) {
	.nav .dropdown-menu {
		right: 0 !important;
		left: auto !important;	
	}
}
.nav .glyphicon {
	margin-right: 3px;
}
.nav .glyphicon-folder-open {
	margin-right: 5px;
}

.nav .caret {
	margin-left: 5px;
}

.navbar-toggle .icon-bar {
	background-color: transparent;
}

@media screen and (max-width: 768px) {
	.navbar-nav .open .dropdown-menu > li > a {
	  	color: #ffffff;
	  	font-size: 13px;
	}
	
	.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
		background-color: transparent;
		text-decoration: underline;
	}
}

.navbar-header .dropdown-menu {
	margin-top: 0;
	border-radius: 0;
}

.dropdown_param {
	right: 0;
	left: auto;
	border-radius: 0;
	margin-top: 0px;
}

.main_content h2 {
	font-size: 18px;
	font-family: Roboto-Bold;
}

.center_text {
	text-align:center;
}

.search_table {
	margin-top: 10px;
	margin-left: -15px;
	margin-right: -15px;
}



.search_table td, .search_table th {
	padding-right: 10px;
	padding-left: 10px;
}

.fixed {
	position: -webkit-sticky;
	position: sticky;
	z-index: 10;
} 

.thead_fixed, .thead_fixed tr th {
	position: -webkit-sticky;
	position: sticky;
	z-index: 500;
} 

.thead_fixed .fixed {
	z-index: 506;
}

.header_row {
	line-height: 32px;
	min-height: 32px;
}

.row_container .row:nth-child(even):not(.dropzone_previews){
	background-color: #eee;
}

.row_container .row {
	min-height: 36px;
	padding-top: 3px;
}

.row_container .row div, .row_container .row div p  {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.row_container .wrapped {
	white-space: normal !important;
}

.row_container .row .input-group-btn  {
	overflow: visible;
}

.form-control, .input-group-addon {
	border-radius : 0px;
}



.nav_2 {
	display:block;
	float:right;
}


.color_div {
	min-height: 25px;
	min-width:40px;
	text-align: center;
	border-radius: 5px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
	display: inline-block;
}


.alphabet .input_selection {
	cursor: pointer;
	display: inline;
}

.alphabet .input_selection input {
	cursor: pointer;
	vertical-align: bottom;
}

.alphabet .quick_search, .alphabet .action_param {
	max-width: 220px;
	width: calc(100% - 100px);
	display: inline;
	border: 1px solid #ccc;
	text-align: left;
	border-radius :0;
	vertical-align: middle;
}

.alphabet .quick_search:focus , .alphabet .action_param:focus {
	border-color: #66afe9;
	webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

#alphabet_more {
	white-space: normal !important;
}

.alphabet label {
	display: inline-block !important;
}

.alphabet hr {
	max-width: 400px;
}

@media screen and (max-width: 768px) {
	
	.navbar-nav li, nav_2 li {
		text-align:center;
	}
	
	.nav_2 { 
		float:none;
	}	
	
}

/* Modal add_client */ 

textarea {
	resize: vertical;
}

label {
	font-size: 13px;
}
	

.modal-body, .modal-header, .modal-footer {
	padding-left: 30px;
	padding-right: 30px;
}

span.has-error {
	border-bottom: 1px solid;
}
	
.has-error {
	border-color:#ff0000 !important;
}
.error_form {
	color:#ff0000;
	display:none;
	margin: 3px 0 3px;
}

.form-control-select {
	width: 100%;
	height: 34px;
}

.btn-color {
	width : 50px;
	height: 34px;
	background-color: #000;
}


.color-col {
	display: inline-block;
}

.color-option {
	width: 12px;
	height: 12px;
	border: 1px solid #fff;
	cursor: pointer;
}

.color-option:hover{
	border: 1px solid #000;
}

.color_picker, .icon_picker {
	z-index: 2;
	display: inline;
	position: fixed;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
	line-height: 0;
}



.subtype_container label{
	width: 100%;
}
.subtype_container {
	margin-left: 20px;
	color: #607D8B;
}

.spec_container {
	margin-left: 20px;
	color: #7f8c8d;
}

.panel-body .caret, .modal-body .caret {
	margin-bottom: 3px;
	margin-right: 5px;
}

.panel-body .collapsed .caret, .modal-body .collapsed .caret {
  border-left: 4px solid;
  border-right: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-right: 9px;
}







.modal input[type="checkbox"] {
	width: 20px;
}

.ui-slider {
	max-width: 260px;
	width: 100%;
}

.ui-slider-handle {
	width: 40px !important;
	height: 20px !important;
	margin-top: -2px !important;
    text-align: center;
}

.large_textarea {
	min-height: 100px;
}

.modal .input_selection {
	cursor: pointer;
	margin-right: 10px;
}

.modal .input_selection input {
	cursor: pointer;
	vertical-align: bottom;
	height: 17px;
}

.modal .act_type_btn {
	margin-bottom: 5px;
}

.modal .act_type_btn input {
	position: relative;
	margin-left: 3px;
}

.modal .map_displayer {
	width: 100%;
	display: block;
	height: 200px;
	max-width: 538px;
}

.modal .modal_more {
	display: none;
}

/* End Modal add_client */ 

/* Bouton Scroll to top */
#scroll_top_button {
	position:fixed;
	right: 10px;
	bottom:10px;
	display:none;
	opacity:.7;
	z-index:50;
	font-size:16px;
	padding: 4px 8px 2px 6px;
	border-radius:4px;
}
#scroll_top_button span {
	top:1px;
}
#scroll_top_button:hover {
   opacity: .8;
   cursor:pointer;
}

/* print */
@media print {
	a[href]:after {
		content: none !important;
	}
  
	.modal {
		display : none;
	}
	
	.nav{
		display : none;
	}
	
	.btn {
		display : none;
	}
	
	.alphabet {
		display: none !important;
	}
	
	.end_of_table {
		display: none;
	}
	
	body{
		font-size : 9px;
		font-family : sans-serif;
	}
	
	h2{
		font-size : 16px;
		font-family: Roboto-Bold;
	}
  
}
/* margin of the print page */
@page {
       size:  landscape;   /* auto is the initial value */
       margin: 15mm 5mm 15mm 5mm;  /* this affects the margin in the printer settings */
}



/** Date Picker **/
#ui-datepicker-div {
	z-index: 1052 !important;
}
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
.ui-timepicker-div .ui_tpicker_unit_hide{ display: none; }

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input { background: none; color: inherit; border: none; outline: none; border-bottom: solid 1px #555; width: 95%; }
.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus { border-bottom-color: #aaa; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }

/* Shortened version style */
.ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time, 
.ui-timepicker-div.ui-timepicker-oneLine dt { display: none; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; }
.ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd, 
.ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; }

.ui_tpicker_time_label, .ui_tpicker_time {
	display: none;
}

.ui_tpicker_hour, .ui_tpicker_minute {
	margin: 15px 30px 5px 60px !important;
}

.ui_tpicker_hour_label {
	margin-top: -4px !important;
	margin-bottom: 5px !important;
}

.ui-datepicker-notime {
	float: left !important;
}


#ui-datepicker-div, .ui-datepicker-header, .ui-slider, .ui-slider-handle, .ui-datepicker-buttonpane button {
	border-radius: 0;
}

.ui-state-hover {
	background-color: #ddd;
}

/** SPINNER LOADER **/
/** LOADER **/
@keyframes rotator {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes colors {
  0% {
    border-color: #4285F4;
  }
  25% {
    border-color: #DE3E35;
  }
  50% {
    border-color: #F7C223;
  }
  75% {
    border-color: #1B9A59;
  }
  100% {
    border-color: #4285F4;
  }
}

.spinner {
  position: relative;
  width: 45px;
  height: 45px;
  animation: rotator 1.56s linear infinite;
  overflow: hidden;
  margin: 10px auto;
}

.spinner-xs {
	width: 25px;
	height: 25px;
}


.spinner .color {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 6px solid #fff;
  border-radius: 100%;
  animation: colors 5.6s ease-in-out infinite;
}


.spinner-xs .color {
	border: 4px solid #fff;
}

.spinner .white {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 66%;
  background-color: #fff;
  transform: rotateZ(45deg);
}

/** END OF SPINNER **/




/** dropdown SUBMENU **/


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu-small {
	max-width: 250px;
}

.dropdown-menu-small > li > a {
		overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}


.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}




/* DROPZONE */

.dz-preview {
	margin: 0 !important;
	font-size: 13px;
}

.dz-thumbnail {
	width: 100%;
	border-radius: 10px;
	border: 1px solid #bdc3c7;
}

.dz-progress {
	width: 100% !important;
	color: blue !important;
	position: static !important;
	margin: 0 !important;
	opacity: 1 !important;
}
  
.dz-drag-hover {
	background-color: #ecf0f1;
}

.dz-error-message {
	position: unset !important;
	opacity: 1 !important;
	width: unset !important;
		
}

.dropzone .dz-preview .dz-error-message::after {
	display: none !important;
}

.dz-image, .dz-details, .dz-progress {
	display: inline-block !important;
}

.dz-details {
	opacity: 1 !important;
	position: unset !important;
	max-width: unset !important;
	min-width: unset !important;
}

.dropzone {
  border: 3px dashed #337ab7;
  height : 300px;
  font-size: 20px;
  overflow-y: auto;
  width: 100%;
}


.dz_image {
	 padding-top: 10%;
}

.dz_image img {
	position: absolute;
	display: block;
	max-width: 100%;
	max-height: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

.dz-message {
	margin-top: 80px;
}

.dropzone.unique {
	height: 150px;
}

.dropzone .fallback {
	margin-top: -15px;
	text-align: left;
}

.dropzone .fallback .form-group {
	margin-bottom: 0px;
}

.dropzone.unique .dz-message {
	margin-top: 20px !important;
}
