/* 
-----------------------------------
	MISC
-----------------------------------
*/

body {
	/*overflow: hidden; */
}

#main-wrapper {
	box-shadow: none;
	margin-left:0;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

#main-wrapper.open-left {
	margin-left:32%;
}

#main-content {
	margin-right:0 !important;
}

#main-content > .row {
	margin-right:0;
}

.row.bordered-divided > div[class*="col-"] + div[class*="col-"]  {
	border-left:1px solid #e7e7e7;
}

.row.row-cols-padding-reduced > div[class*="col-"]:first-child {
	padding-right:5px;
}

.row.row-cols-padding-reduced > div[class*="col-"] + div[class*="col-"] {
	padding-right:5px;
	padding-left:5px;
}

.row.row-cols-padding-reduced > div[class*="col-"]:last-child {
	padding-right:15px !important;
}

/* 
-----------------------------------
	ALERT OLD IE
-----------------------------------
*/

.alert-old-ie {
	display:none;
}

/* 
-----------------------------------
	PRELOADER
-----------------------------------
*/	

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0065A2;
	z-index: 10000;
}

#preloader .inner {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -15px 0 0 -65px;
	border-radius:50px;
	padding:10px 20px;
	background:#074A8B;
	color:#fff;
}

#preloader .inner i {
	font-size:30px;
	vertical-align:middle;
	margin-right:5px;
}

/* 
-----------------------------------
	NAV
-----------------------------------
*/

.nav-bar-icons > li > a > i {
	background:#fff;
	padding:7px;
	border-radius:20px;
	box-shadow:-1px -1px 0 rgba(0,0,0,0.1);
	margin-right:9px;
}

/* 
-----------------------------------
	DROPDOWN
-----------------------------------
*/

.dropdown-set-1 {
	min-width: 200px;
	padding:0;
}

.dropdown-menu.dropdown-set-1 > li {
	padding: 6px 10px;
}

.dropdown-menu.dropdown-set-1 > li:not(.dropdown-header) + li:not(.dropdown-header) {
	padding-top:0;
}


.dropdown-set-1 li.dropdown-header {
	color: #394263;
	background-color: #f9fafc;
	border-top: 1px solid #eaedf1;
	border-bottom: 1px solid #eaedf1;
	font-size:100%;
	padding: 8px 20px;
	color:#7A7A7A;
}


.dropdown-menu.dropdown-set-1 > li > a {
	border-radius: 3px;
	padding: 6px 10px;
	transition: background-position 0.2s , color 0.2s;
}

.dropdown-menu.dropdown-set-1 > li i {
	line-height:1.3;
}

.dropdown-menu.dropdown-set-1 .divider {
	margin: 2px 0;
	padding: 0 !important;
	background-color: #f0f0f0;
}

.navbar .dropdown-menu > .substances > a {
	color:#c68122;
	background-image: linear-gradient(to right, transparent 50%, #c68122 50%);
}

.navbar .dropdown-menu > .pesticides > a {
	color:#c68122;
	background-image: linear-gradient(to right, transparent 50%, #c68122 50%);
}

.navbar .dropdown-menu > .substances > a:hover {
	background-color:transparent;
	background-color:#c68122\9;
	color:#fff;
}

.navbar .dropdown-menu > .pesticides > a:hover {
	background-color:transparent;
	background-color:#c68122\9;
	color:#fff;
}


/* 
-----------------------------------
	PAGE HEADER
-----------------------------------
*/

.page-header-substances,
.page-header-pesticides {
	margin-top:10px;
}


.page-header-substances > * {
	color:#c68122;
}

.page-header-pesticides > * {
	color:#c68122;
}

.page-header-pesticides.btn-pesticides,
.page-header-substances .btn-substances  {
	margin-bottom:15px;
}

.page-header-pesticides.btn-pesticides + .btn-pesticides {
	margin-left:24px;
}


/* 
-----------------------------------
	BTN
-----------------------------------
*/

.btn-substances ,
.btn-pesticides  {
	background-color:#c68122;
	color:#fff;
	padding-left:15px;
	padding-right:15px;
	font-size:110%
}

.btn-pesticides {
	background-color:#c68122;
}

.btn-substances.btn-sm,
.btn-pesticides.btn-sm {
	font-size:85%;
}

.btn-substances i,
.btn-pesticides i {
	font-size:120%;
}

.btn-substances.btn-sm i,
.btn-pesticides.btn-sm i {
	font-size:100%;
}

.btn-substances:hover {
	background-color:#c68122;
	color:#E1EFF3;
}

.btn-pesticides:hover {
	background-color:#c68122;
	color:#E7DACB;
}

.btn .divider:after {
	content:"";
	border-radius:10px 10px 10px 10px;
	width:2px;
	display:inline-block;
	background-color:#fff;
	opacity:0.3;
	height:21px;
	margin:0 11px;
	vertical-align:middle;
}

.btn-substances .divider:after,
.btn-pesticides.divider:after  {
	height:34px;
	margin:0 15px;
}

.btn-sm .divider:after {
	height:19px;
	margin:0 10px;
}

.btn-display-mrls {
	padding-top:16px;
	padding-bottom:16px;
	font-size:120%;
	text-align:left;
	white-space:normal;
	line-height:2em;
}

.btn-display-mrls i {
	margin-left:5px;
}

.btn-plants {
	background-color:#c68122;
	color:#fff;
}


.btn-plants:hover {
	background-color:#c68122;
	text-decoration:none;
	color:#fff;
}




/* 
-----------------------------------
	LABEL
-----------------------------------
*/

.label-substances {
	background-color: #c68122;
	font-weight:normal;
}

.label-pesticides {
	background-color: #c68122;
	font-weight:normal;
}

.label-circle {
	border-radius:100px;
	padding: .5em .9em .6em;
	font-size:100%;
	margin-right:5px;
}

.btn .label-circle {
	margin-top:5px;
	margin-bottom:5px;
}

.btn-success .label-circle {
	background-color:#fff;
	color:#c68122;
}


/* 
-----------------------------------
	LIST
-----------------------------------
*/

td .list-ticket {
	margin-bottom:0;
	font-size:90%;
	text-align:justify;
}

.list-ticket {
	padding-left:1px;
	border-left:2px solid #c68122;
	list-style:none;
}

.list-ticket li {
	padding-left:0;
	margin-bottom:5px;
	position:relative;
}

.list-ticket li:before {
	/*content: "•";*/
	color: #c68122;
	position:absolute;
	font-size:15px;
	/*left:34px;*/
	top:-2px;
}

	


/* 
-----------------------------------
	PANEL
-----------------------------------
*/

.panel-default {
	border-color:#e7e7e7;
}

.panel-active-substances {
    border-top:0px solid #e7e7e7;
	border-color:#C68122;
}
.panel-active-substances .panel-box {
    color:#FFFFFF;
	background-color:#C68122;
	padding-left:15px;
	padding-top:5px;
	padding-bottom:5px;
    border-bottom:1px solid #e7e7e7;
}

.panel-active-substances .panel-heading {
	padding-left:15px;
	padding-bottom:5px;
    border-top:1px solid #e7e7e7;
    border-bottom:1px solid #e7e7e7;
}

.panel-substances,
.panel-pesticides {
	border-radius:0;
	border-top:2px solid #C68122;
}

.panel-pesticides {
	border-top:2px solid #C68122;
}

.dataTables_wrapper .panel-substances,
.dataTables_wrapper .panel-pesticides {
	margin-top:10px;
}


/* 
-----------------------------------
	TABLE
-----------------------------------
*/

.table.table-mrls {
}

.table.table-mrls caption {
	margin-top:-21px;
	padding-bottom:2px;
}

.table.table-mrls th:nth-child(n+3), .table.table-mrls td:nth-child(n+3) {
	text-align:center;
}

.table.table-mrls thead th:nth-child(n+3),
.table.table-mrls tfoot td:nth-child(n+3) {
	background-color:#F1DCC5;
	border-color:#E4C8A9;
	color:#A37F58;
}

.table.table-mrls th:nth-child(2) {
	border-right:1px solid #C9A987 !important;
}

.table.table-mrls th:nth-child(n+3) a {
	color:#A37F58;
}

.table.table-treeview .level-1 td.td-treeview  {
	padding-left:31px;
}

.table.table-treeview .level-2 td.td-treeview  {
	padding-left:55px;
}

.table.table-treeview .level-3 td.td-treeview {
	padding-left:79px;
}

.table.table-treeview .level-4 td.td-treeview {
	padding-left:103px;
}

.table.table-treeview .level-disabled td.td-treeview  {
	padding-left:5px !important;
}

.table.table-treeview .level-1 td:nth-child(2):before,
.table.table-treeview .level-2 td:nth-child(2):before,
.table.table-treeview .level-3 td:nth-child(2):before {
	content:"";
	display:inline-block;
	width:10px;
	height:29px;
	margin:-19px 10px 0 -20px;
	vertical-align:top;
	/*border-left:1px dotted #ccc;*/
	/*border-bottom:1px dotted #bbb;*/
}

.table.table-treeview .root + .level-1 td:nth-child(2):before,
.table.table-treeview .level-2 + .level-1 td:nth-child(2):before,
.table.table-treeview .level-1 + .level-2 td:nth-child(2):before,
.table.table-treeview .level-2 + .level-3 td:nth-child(2):before,
.table.table-treeview .level-3 + .level-2 td:nth-child(2):before {
	height:17px;
	margin-top:-6px;
}

.table.table-treeview .level-disabled td:nth-child(2):before {
	display:none !important;
}

.table.table-treeview .root .glyphicon {
	margin-right:7px;
}

.table .tool-tip {
	cursor:help;
}

.table.table-treeview td .label {
	padding: 1px 5px;
	margin-right:7px;
	margin-left:-3px;
	top:-1px;
	position:relative;
}

.table.table-treeview td .label:empty {
	padding: 0 7px;
	display:inline;
	margin-left:0px;
}


.table.table-treeview .level-disabled .label {
	margin-left:0;
	display:none !important;
}

.display-table-justified table {
	margin:0;
	border-top:1px solid #ddd;
}

.display-table-justified .display-table-cell + .display-table-cell {
	border-left:1px solid #ddd;
}

.display-table-justified td:not(:last-child) {
	border-right:1px solid #ddd;
}

.table.table-select-row tbody tr td:first-child {
	white-space:nowrap;
}

.table.table-select-row tbody tr:not(.row-group):hover,
.table.table-select-row tbody tr:not(.row-group):hover * {
	cursor:pointer;
}

.table.table-select-row tbody tr.disabled:hover,
.table.table-select-row tbody tr.disabled:hover * {
	cursor:not-allowed;
}

.table.table-select-row tbody tr label {
	font-weight:normal;
}

	/* 
	-----------------------------------
		TABLE DETAILS
	-----------------------------------
	*/
	
	.modal-dialog #modal > .table-bordered {
		border:0;
		margin-bottom:0;
	}
	
	.modal-dialog .table-details th,
	.modal-dialog .table-details td {
		padding-left:15px;
		padding-right:15px;
	}
	
	.table-details .history th {
		padding-left:22px;
	}
		


/* 
-----------------------------------
	DATATABLE
-----------------------------------
*/

.panel .dataTables_scrollHead .dataTable {
	margin-top:0 !important;
}

table.dataTable thead th {
    position: relative;
    background-image: none !important;
	vertical-align: middle;
}
 
table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
    display: inline-block;
    font-family: FontAwesome;
	float:right;
}

.dataTables_scrollBody table.dataTable thead th.sorting:after,
.dataTables_scrollBody table.dataTable thead th.sorting_asc:after,
.dataTables_scrollBody table.dataTable thead th.sorting_desc:after {
	display:none;
}

table.dataTable thead th.sorting:after {
    content: "\f0dc";
    color: #ddd;
    font-size: 0.8em;
    padding-top: 0.3em;
}

table.dataTable thead th.sorting_asc:after {
    content: "\f0de";
}

table.dataTable thead th.sorting_desc:after {
    content: "\f0dd";
}

.table-substances thead th.sorting_asc:after,
.table-substances thead th.sorting_desc:after {
    color:#42B1D1;
}

.table-pesticides thead th.sorting_asc:after,
.table-pesticides thead th.sorting_desc:after {
    color:#D16442;
}

table.dataTable tbody .row-group {
	font-weight:bold;
	color:#BBB;
}

table.dataTable tbody .row-group td {
	border-bottom-width:2px !important;
}

table.dataTable tbody .group-item td:first-child {
	padding-left:10px;
}

.table-substances td a {
    color:#42B1D1;
}

.table-pesticides td a {
    color:#D16442;
}

.table-substances td a:hover,
.table-pesticides td a:hover {
    color:#777;
}

.dataTables_filter {
	display:inline-block;
}

div.dataTables_filter label {
	float:none;
}

div.dataTables_filter label .form-control {
	min-width: 300px;
}

.display-table div.dataTables_filter  label .form-control {
	min-width:120px;
	width:120px;
}

.dataTables_wrapper .display-table {
	width:100%;
}

.col-lg-5 > div.dataTables_filter {
	width:100%;
	min-width:100%;
}

.col-lg-5 > div.dataTables_filter label {
	width:100%;
	min-width:100%;
}

.col-lg-4 > div.dataTables_filter  label .form-control {
	width:100%;
	min-width:100%;
}

.dataTables_wrapper .toolbar .btn + .btn {
	margin-left:10px;
}

.dataTables_wrapper .step-title {
	margin:10px 0;
	vertical-align: top;
	text-align: left;
}

.list-items-selected .label {
	display:block;
	padding:7px 10px;
	text-align:left;
	cursor:pointer;
	white-space:normal;
}

.list-items-selected .label:hover {
	background-color:#777;
}

.list-items-selected .label + .label {
	margin-top:2px;
}

.list-items-selected .label i {
	float:right;
	cursor:pointer;
	font-size:150%;
	margin-top:-3px;
}



/* 
-----------------------------------
	PAGINATION
-----------------------------------
*/


.pagination li.disabled a {
	opacity:0.6;
}

.pagination-substances>li:not(.disabled)>a,
.pagination-substances>li:not(.disabled)>span {
	color: #42B1D1;
}

.pagination-pesticides>li:not(.disabled)>a,
.pagination-pesticides>li:not(.disabled)>span {
    color:#D16442;
}

.pagination-substances>.active>a,
.pagination-substances>.active>span,
.pagination-substances>.active>a:hover,
.pagination-substances>.active>span:hover,
.pagination-substances>.active>a:focus,
.pagination-substances>.active>span:focus {
	background-color: #42B1D1;
	border-color: #42B1D1;
	color:#fff !important;
}

.pagination-pesticides>.active>a,
.pagination-pesticides>.active>span,
.pagination-pesticides>.active>a:hover,
.pagination-pesticides>.active>span:hover,
.pagination-pesticides>.active>a:focus,
.pagination-pesticides>.active>span:focus {
	background-color: #D16442;
	border-color: #D16442;
	color:#fff !important;
}

/* 
-----------------------------------
	PAGER
-----------------------------------
*/

.pager.historic a {
	background-color:#F1DCC5;
	border-color:#E4C8A9;
	color:#A37F58;
	white-space:nowrap;
	border-width:0;
	border-bottom-width:1px;
}

.pager.historic .title span {
	background-color:#E4C8A9;
	border-color:#E4C8A9;
	color:#A37F58;
	font-weight:bold;
}

.pager.historic li.disabled a {
	opacity:0.4;
}

.pager.historic a:hover {
	background-color:#E4C8A9;
	color:#A37F58;
}

.pager.historic li.disabled a:hover {
	background-color:#F1DCC5;
	color:#A37F58;
}

.pager.historic .pager-next a:after,
.pager.historic .pager-previous a:before {
	content:'';
	font-size: 0;
	line-height: 0;
	width: 0;
	margin-left:5px;
	vertical-align:middle;
	border-left: 10px solid #A37F58;
	border-top: 5px solid transparent; 
	border-bottom: 5px solid transparent;
}

.pager.historic .pager-previous a:before {
	border-left:0;
	margin-left:-5px;
	margin-right:5px;
	border-right: 10px solid #A37F58;
}

/* 
-----------------------------------
	FILTER CRITERIA
-----------------------------------
*/

	.filter-criteria {
		position:fixed;
		left:-32%;
		top:0;
		z-index:10;
		height:100%;
		width:32%;
		
		-webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
	}
	
	.filter-criteria.open-left {
		left:0;	
	}
	
	.filter-criteria .panel {
		height:100%;
		border-radius:0;
		border:0;
		background-color: #505050;
	}
	
	.filter-criteria .panel-heading {
		border-radius:0;
		border:0;
		color: #fff;
		background-color: #474747;
	}
	
	.filter-criteria .panel-body {
		overflow-y:visible;
		overflow: auto;
		height: 95%;
	}
	
	.filter-criteria .form-group-sm select[multiple] {
		height:auto;
	}
	
	.filter-criteria .close {
		color:#fff;
		opacity: .7;
		font-size:130%;
		background:rgba(0,0,0,0.3);
		padding:9px 15px 9px 15px;
	}
	
	.filter-criteria .close:hover {
		opacity: 1;
	}
	
	.filter-criteria .panel label {
		font-weight:normal;
		color:#fff;
	}
	
	.filter-criteria .panel label a {
		color:#66BCEC;
	}
	
	.filter-criteria .form-control {
		border:0;
	}
	
	.filter-criteria .form-horizontal-left .control-label .glyphicon {
		color: rgba(255,255,255,0.2);
	}
	
/* 
-----------------------------------
	HELP ELEMENTS
-----------------------------------
*/

.help-overlap.help-element {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	background: rgba(0, 101, 162,0.7);
	cursor:pointer;
	color:#fff;
}

.help-rectangle.help-element {
	position: absolute;
	z-index: 10000;
	border: 5px solid white;
	cursor:pointer;
	border-radius:5px;
}


.help-message {
	position: absolute;
	font-size:220%;
}

.help-message * {
	font-family: 'Kalam', cursive;
	text-shadow:1px 1px rgba(0,0,0,0.3);
}


.help-message ul {
	padding-left:24px;
}

.help-element.pos-bottom .help-message {
	top:100%;
	margin-top:90px;
}

.help-element.pos-bottom  i {
	position: absolute;
	top:100%;
	margin-top:20px;
	margin-left:-10px;
	font-size:400%;
	left:50%;
}
	
/* 
-----------------------------------
	MEDIA QUERY
-----------------------------------
*/

@media print {    
  a[href]:after {
    display:none;
  }
}	

@media (min-width: 480px) {
	body {
		padding-top: 0;
		padding-bottom: 0;
	}
	.container {
		width: auto;
	}
	
	#main-wrapper {
		border-radius:0;
	}
}

@media (max-width: 1300px) {	
	.open-left .dataTables_wrapper .toolbar .btn .btn-title,
	.open-left .dataTables_wrapper .toolbar .btn .divider:after {
		display:none;
	}
}

@media (max-width: 1169px) {

	#main-wrapper.open-left {
		margin-left: 39%;
	}

	.filter-criteria {
		left: -39%;
		width: 39%;
	}

	.open-left .pagination > li > a,
	.open-left.pagination > li > span {
		padding-left: 10px;
		padding-right: 10px;
	}

	div.dataTables_filter label .form-control {
		min-width: 230px;
	}

	.open-left .dataTables_filter {
		margin-left: -130px;
	}
}

@media (max-width: 991px) {	
	
	#main-wrapper.open-left {
		margin-left:45%;
	}
	
	.filter-criteria {
		left:-45%;
		width:45%;
	}
}

@media (max-width: 767px) {
	
	.language-selector-close, .language-selector-open {
		position: absolute !important;
		top: 1px !important;
		right: 1px !important;
	}
	
	#services {
		display:block !important;
	}

	.navbar .dropdown-menu > .substances > a:hover {
		background-color:#42B1D1 !important;
		color:#fff !important;
	}
	
	.navbar .dropdown-menu > .pesticides > a:hover {
		background-color:#D16442 !important;
		color:#fff !important;
	}
	
	.pager, .pagination {
		display:table;
		width:100%;
		float:none !important;
	}
	
	.pager li, .pagination li {
		display:table-cell;
		padding:0 1px;
	}
	
	.pagination li a,
	.pagination li span,
	.pager li a,
	.pager li span {
		width:100%;
		text-align:center;
		padding: 5px 7px;
	}
	
	.table caption {
		text-align:left;
	}
	
	.dataTables_paginate {
		float:none !important;
	}
	
	.dataTables_filter {
		float:none;
	}
	
	.open-left .dataTables_filter {
		margin-left: 0;
	}
	
	.dataTables_filter input {
		display:inline-block;
	}
}

@media (max-width: 479px) {
	
	.toolbar .btn {
		display:block;
		width:100%;
		margin:5px 0 !important;
	}

}

.form-inline .ui-select-container {
    display: inline-block;
    vertical-align: middle;
    width: auto;
}

/* Show green border when stuff has been typed in, and its valid */
.ng-valid[required], .ng-valid.required  {
  border-left: 5px solid #42A948;
}

/* Show red border when stuff has been typed in, but its invalid */
.ng-invalid:not(form)  {
  border-left: 5px solid #a94442;
}
