@font-face {
  font-family: 'Chartwell';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/ChartwellTextWebPro.eot');
  src: url('fonts/ChartwellTextWebPro.eot?#iefix') format('embedded-opentype'),
       url('fonts/ChartwellTextWebPro.ttf') format('truetype');
}

a {
	cursor: pointer !important;
}

h1 ul.dropdown-menu {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

ul.dropdown-menu a.active {
	font-weight: bold;
}

body {
	background-color: #090f12;
}
	
h1, h2, h3 {
	font-family: "Chartwell";
	font-weight: normal;
}

div.footer {
	margin-top: 20px;
	min-height: 140px;
	background-color: #383839;
	box-shadow: 0px 1px 15px rgba(64,64,64,0.6)
}
div.jumbotron {
	background-color: transparent;
}

div.jumbotron li {
	font-size: 21px;
}

.modal-backdrop.in {
	opacity: 0.63 !important;
}

.btn, .alert, .progress, .form-control, .ui-corner-all {
	border-radius: 0px !important;
}

.alert {
	margin-bottom: 10px;
}

.modal-content {
	/*border-radius: 0px;
	padding: 0px 20px;*/
	border-radius: 5px;
}

.modal-dialog {
	margin: 80px auto 5px auto !important;
}

.btn-primary {
	background-color: #005fab;
}

.required {
	color: red;
}

a.glyphicon:hover {
	text-decoration: none;
}

a.action.glyphicon {
	font-size: 12px;
	color: white;
	background-color: #337ab7;
	padding: 6px;
	vertical-align: middle;
	text-decoration: none;
	border-radius: 30px;
}

ul.nav a.action.glyphicon {
    font-size: 12px;
    color: #337ab7;
    background-color: white;
    padding: 4px;
    vertical-align: baseline;
    text-decoration: none;
    border-radius: 30px;
}

.nav-tabs > li.add-trailer {
    min-height: 42px;
} 

.nav-tabs>li.add-trailer>a:hover, .nav-tabs>li.add-trailer>a:hover {
	border-color: transparent;
	background: none;
}

.nav-tabs>li.add-trailer a.glyphicon {
    color: white;
    background-color: #337ab7;
    border-radius: 30px;
    padding: 6px;
    margin-top: 8px;
    text-align: center;
    vertical-align: bottom;
    font-size: 12px;
    line-height: 1;
    margin-left: 10px;
}

table.table td.prompt-input {
	vertical-align: middle;
}

div.modal-dialog.wide {
	width: 780px;
}

.empty {
	text-transform: uppercase;
    font-size: 12px;
    color: #666;
    padding: 20px 5px;
}

.empty-sm {
	color: #666;
}

table td.empty table th.empty {
	border-bottom: 1px solid #ddd;	
}

div.scroll {
	padding: 60px 0px;
	margin-top: -50px;
	overflow: auto;
	clear: both;
}

.accordeon {
	margin-left: 5px;
}

.accordeon-title a {
	display: block;
	padding-left: 20px;
	min-height: 13px;
	cursor: pointer;
}

.accordeon.closed .accordeon-title a { background: url("images/accordeon-closed.png") no-repeat left center; }
.accordeon .accordeon-title a { background: url("images/accordeon-opened.png") no-repeat left center; }

.accordeon .accordeon-pane {
	margin-top: -2px;
	margin-left: 5px;
	margin-bottom: 25px;
	font-size: 12px;
	padding-left: 15px;
	border-left: 1px dotted #888;
	overflow: hidden;
}

.accordeon-pane label { font-weight: normal; }

span.color-indicator {
    display: block;
    height: 6px;
    vertical-align: middle;
    width: 100%;
}

hr.separator {
	display: block;
	margin: 8px 0px;
	padding: 0;
	height: 12px;
	background: url('images/hrcross.png');
	border: none;
}

hr.separator.large {
	margin: 15px 0px;
}

hr.separator.xxl {
	margin: 40px 0px 30px 0px;
}

div#global-map {
	position: fixed !important;
	height: auto !important;
	width: 100%;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px; 
	z-index: 1;
}

div#global-map div.leaflet-control-zoom {
	margin-top: 50px;
}

ul.share-pills li {
	margin-right: 5px;
	margin-bottom: 10px;
	background: #f4f4f4;
	border-radius: 5px;
}

/*** Layers & overlays **/
.overlay {
	position: fixed;
	overflow: hidden;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3000; 
}

.overlay.notification {
	z-index: 10000;
	background: rgba(0, 0, 0, 0.5);
}

.event {
    width: 550px;
    min-height: 220px;
    position: absolute;
    left: 50%;
    margin-top: 180px;
    margin-left: -275px;
    border: 1px solid #222;
    padding: 20px 50px 50px 50px;
    background: white;
    font-size: 16px;
    color: #444;
}

.overlay h1.first, 
	.overlay h2.first, 
	.overlay h3.first,
	.overlay h4.first {
	margin-top: 0px;
}

.overlay .layer {
	box-shadow: 0 2px 15px rgba(64,64,64,.6);
	background: white;
	z-index: 150;
	position: absolute;
	overflow: hidden;
	display: block;
}

.layer .container {
	padding: 0px;
	width: 100%;
	overflow: auto;
	height: calc(100% - 55px);
}

.layer .container .inner-container {
	padding: 20px 30px;
}

.layer-footer {
	text-align: right;
	padding-top: 15px;
	border-top: 1px solid #eee;
}

.layer-footer input,
		.layer-footer button {
	margin-left: 10px;
}

.layer.auth {
	width: 600px !important;
	max-width: 95%;
	top: 35%;
	left: 50%;
	margin-top: -150px;
	margin-left: -300px;
}

.layer.installation {
	top: 55px;
	bottom: 40px;
	left: 8.3%;
	right: 8.3%;
}

.layer.default {
	top: 50px;
	bottom: 40px;
	left: 3%;
	right: 3%;
}

.layer.small {
	width: 700px !important;
	max-width: 95%;
	top: 120px;
	left: 50%;
	transform: translateX(-50%);
}

.layer.medium {
	width: 800px !important;
	max-width: 95%;
	top: 120px;
	left: 50%;
	transform: translateX(-50%);
	max-height: calc(100% - 200px);
}

.layer.info {
	width: 800px !important;
	max-width: 95%;
	top: 120px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 95px;
}

.layer.project {
	width: 800px !important;
	max-width: 95%;
	top: 120px;
	bottom: 95px;
	left: 50%;
	transform: translateX(-50%);
}

.layer.list {
	width: 1200px !important;
	max-width: 95%;
	top: 120px;
	bottom: 95px;
	left: 50%;
	transform: translateX(-50%);
}

.sub-header {
    background-color: #FF5900;
    padding: 5px 18px;
    height: 54px;
}

.sub-header a.action.glyphicon {
	background-color: white;
	color: #FF5900;
}

.sub-header h1 {
	color: white;
	margin-bottom: 3px;
	margin-top: 8px;
	font-size: 30px;
}

.sub-header a.close {
	display: block;
	padding-top: 10px;
}

.sub-header button.close,
	.sub-header a.close,
	.side-pane a.close {
	float: right;
	opacity: 1;
	color: white;
	height: 40px;
	vertical-align: middle;
}

.side-pane a.close {
	color: black;
	font-size: 40px;
}

div.location-place-button button {
	margin: 10px;
	margin-top: 0;
}

.side-pane a.action.glyphicon:first-child {
	margin-left: 5px;
}
.side-pane a.action.glyphicon {
	margin-top: -5px !important;
}

.optimization {
	width: 700px !important;
	top: 120px;
	left: 50%;
	bottom: auto;
	margin-left: -350px;
}

body.no-scrolling {
	overflow: hidden;
}

dl.dl-horizontal.parameters {
	margin-bottom: 5px;
}

dl.dl-horizontal.parameters dd {
	margin-left: 120px;
}

dl.dl-horizontal.parameters dt {
	text-align: left;
	width: 90px;
	margin-bottom: 10px;
}

dl.dl-horizontal.parameters dt label {
	font-weight: bold;
}

dl.dl-horizontal.advanced-params {
	margin-top: 5px;
	margin-bottom: 5px;
}

dl.dl-horizontal.advanced-params dd {
	margin-left: 120px;
}

dl.dl-horizontal.advanced-params dt {
	width: 110px;
	text-align: left;
	margin-bottom: 10px;
}

dl.dl-horizontal.advanced-params dt input[type=text]{
	width: 110px;
}

div.side-pane {
	position: absolute;
	width: 450px;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1001; 
	background-color: white;
	padding: 40px 20px 20px 20px;
	border-left: 5px double #aaa;
	overflow: auto;
}

div.side-pane.location dl.dl-horizontal dt {
	text-align: left;
	width: 170px;
	margin-bottom: 8px;
}
div.side-pane.location dl.dl-horizontal dd {
	margin-left: 190px;
}

div.side-pane.location {
	background-repeat: no-repeat;
	background-position: -70px -50px;
}

div.side-pane.location.hub {
	background-image: url('images/marker-hub-bg.png');
}

div.side-pane.location.source {
	background-image: url('images/marker-source-bg.png');
}

div.side-pane.location.site {
	background-image: url('images/marker-site-bg.png');
}

div.side-pane form label {
	margin-bottom: 3px;
	color: #444;
	font-size: 11px;
	text-transform: uppercase;
}
div.side-pane form label span.unit {
	text-transform: none;
}

div.side-pane form .form-control {
	height: 30px;
	padding: 3px 12px;
	font-size: 12px;
}

div.side-pane form .form-group {
	margin-bottom: 6px;
}

div.side-pane fieldset legend {
	padding-top: 20px;
	margin-bottom: 8px;
}

div.side-pane.help {
	padding-top: 240px;
	background-image: url('images/help-locations-bg.png');
	background-repeat: no-repeat;
}

p.headline {
	font-size: 16px;
    color: #656565;
    text-align: justify;
}

.header nav .container-fluid {
	width: 100%;
	margin-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
    box-shadow: 0 2px 10px rgba(64,64,64,.6);
    background-color: #222;
    opacity: 0.95;
    position: fixed;
    top: 0px;
    z-index: 4000;
    min-height: 40px;
}

.form-inline label {
	padding-right: 10px;
}

.header .navbar-default .navbar-nav > .active > a,
		.navbar-default .navbar-nav > .active > a:focus,
		.navbar-default .navbar-nav > .active > a:hover {
	color: white;
	background: transparent;
}

.header .navbar-nav > li > a {
    color: #ccc;
    padding: 10px 20px;
}

.header .navbar-nav > li > a:hover {
	background: #333 !important;
}

.header .navbar-nav > li.dropdown > a {
    color: #ccc;
    font-size: 15px;
    background: transparent;
}

.header .navbar-nav > li.dropdown > a.dropdown-toggle {
	background: transparent;
}

.header .navbar-nav > li.dropdown > a.dropdown-toggle:hover,
.header .navbar-nav > li.dropdown > a.dropdown-toggle[aria-expanded="true"] {
	background: #333;
	color: #ccc;
}

.header .navbar-nav > li > a.disabled:hover {
    background: transparent !important;
    color: #888 !important;
    cursor: default !important;
}

.header .navbar-nav > li.dropdown > a.disabled {
    color: #888;
}

.header .navbar-nav > li.dropdown > ul.dropdown-menu {
	border-top: 1px solid #fff3;
	background: #333;
}

.header .navbar-nav ul.dropdown-menu > li a {
	color: #ccc;
}

.header .navbar-nav ul.dropdown-menu > li a.disabled {
	color: #5a5a5a;	
}

.header .navbar-nav ul.dropdown-menu > li a.disabled:hover, 
.header .navbar-nav ul.dropdown-menu > li a.disabled:focus {
	background: transparent;
	cursor: default !important;
	color: #5a5a5a;
}

.header .navbar-nav ul.dropdown-menu > li a:hover {
	color: #333;
}

.header .navbar-nav ul.dropdown-menu li.divider {
	background: #fff3;
}


.header .nav > li > a:focus,
		.header .nav > li > a:hover,
		.header .nav > li > a:active,
		.header .nav > li.active a {
    text-decoration: none;
    background: transparent;
    color: white;
}

.header .navbar {
	text-align: center;
	background: none;
	margin-bottom: 0px;
	border: none;
	min-height: auto;
}

.header .container {
	padding-left: 0px;
}

.header .container-fluid {
	padding-left: 0px;
}

.header .shadow {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: black;
	opacity: 0.6;
	z-index: 5000;
}

.header .main-nav-bar {
	z-index: 5005;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0px;
	width: 300px;
	padding: 10px;
	background: white;
	box-shadow: 0 0px 10px rgba(64,64,64,.6);
}

.main-nav-bar h2 {
	margin: 0px 0px 0px 10px;
}

.main-nav-bar h2 span {
	font-size: 26px;
	color: #666;
	position: relative;
	top: 7px;
	left: 8px;
}

.main-nav-bar button {
    float: right;
    border: none;
    background: transparent;
    font-size: 16px;
    padding: 6px;
    color: #888;
    margin-top: 18px;
}

.main-nav-bar.ng-enter {
	margin-left: -300px;
	transition: 0.2s ease-in-out all;
}

.main-nav-bar.ng-enter-active {
	margin-left: 0px;
}

.main-nav-bar.ng-leave {
	transition: 0.2s ease-in-out all;
	margin-left: 0px; 
}

.main-nav-bar.ng-leave-active {
	margin-left: -300px;
}

.main-nav-bar li {
    list-style-type: none;
    display: block;
    margin: 13px 30px;
    padding: 0;
    font-size: 15px;
    color: #333;
}

.main-nav-bar li a {
    color: #666;
}

.main-nav-bar li a:hover {
    color: #337ab7;
    text-decoration: none;
}

.main-nav-bar ul {
    margin: 0;
    padding: 0;
}

ul.dropdown-menu {
	z-index: 3200;
}

span.project-type, span.project-cargo {

}

.project-cartouche a {
	font-size: 15px;
	color: #FF5900;
}

.project-cartouche {
    border: 1px solid #C7DCDC;
    margin: 8px 0px;
    padding: 10px 10px;
    background: #F8FFFF;
}

.project-cartouche .actions {
	float: right;
}

.project-cartouche.new input, .project-cartouche.edit input {
	width: 100%;
	color: #ff5900;
}

.project-cartouche .actions a.glyphicon {
   	font-size: 12px;
    border: 2px solid #B5D0D0;
    color: #86A9A9;
    padding: 5px;
    vertical-align: middle;
    text-decoration: none;
    border-radius: 30px;
    background: white;
    margin-top: -4px;
}

.project-cartouche h5 {
    margin: 0;
    margin-left: 26px;
    font-size: 16px;
}

.project-cartouche span {
    font-size: 12px;
    color: #666;
}

div.leaflet-control.edit-location {
	margin-top: 15px;
}

div.leaflet-control.layers-options {
	margin-top: 5px;
	background: white;
}

div.leaflet-control.layers-options .checkbox {
	margin: 8px 0px;
}

div.leaflet-control.layers-options .checkbox.route {
	margin: 10px 0px;
}

div.leaflet-control.layers-options .checkbox span {
	border-bottom: 3px solid;
}

div.leaflet-control.layers-options .layers {
	padding: 15px;
}

div.leaflet-control.layers-options .layers hr {
	padding: 0px 0px;
	margin: 0;
}

div.leaflet-control a.active {
	background-color: #e0e0e0 !important;
}

div.indicators.violated span {
	color: red;
}

div.indicators span {
	padding: 3px 0px;
	font-size: 13px;
	display: inline-block;
}

div.indicators > span:not(:first-child)::before {
    content: '|';
    font-size: 13px;
    padding-right: 8px;
    padding-left: 8px;
}

div.indicators {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 2px 5px 2px 5px;
}

.badge.error {
	background: red;
	cursor: pointer;
}

/** Slider **/


slider {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 4px;
	margin: 35px 0 15px 0;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

slider .sl-wrapper {
	position: relative;
	margin: 0px 16px;
}

slider .sl-bar {
	left: 0;
	z-index: 1;
	width: 100%;
	height: 4px;
	background: #d8e0f3;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	position: absolute;
	display: inline-block;
	white-space: nowrap;
}

slider .sl-pointer {
	top: -14px;
	z-index: 3;
	width: 32px;
	height: 32px;
	margin-left: -16px;
	cursor: pointer;
	background-color: #0db9f0;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	position: relative;
	text-align: center;
	display: block;
}


slider .sl-pointer .pointer-value {
	position: absolute;
	top: -19px;
	transform: translate(-50%, 0);
}

slider .sl-pointer:after {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 8px;
	height: 8px;
	background: #ffffff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	content: '';
}


slider .sl-pointer:hover:after {
	background-color: #ffffff;
}

slider .sl-pointer.sl-active:after {
	background-color: #451aff;
}

slider .sl-ticks {
	position: absolute;
	top: -3px;
	left: 0;
	width: 100%;
	height: 0;
	margin: 0;
	list-style: none;
	box-sizing: border-box;
}

slider .sl-ticks .tick {
	width: 10px;
	height: 10px;
	margin-left: -5px;
	text-align: center;
	cursor: pointer;
	background: #d8e0f3;
	border-radius: 50%;
	position: absolute;
}

slider .sl-ticks .tick .tick-value {
	position: absolute;
	display: inline-block;
	top: -30px;
	transform: translate(-50%, 0);
}

ul.dropdown-menu li.search-box {
    padding: 3px 15px 10px 15px;
    border-bottom: 1px solid grey;
    margin-bottom: 5px;
}

ul.dropdown-menu li.more-elements {
	padding: 3px 20px;
    border-top: 1px solid grey;
}

ul.dropdown-menu li label {
	padding: 3px 20px;
	font-weight: normal;
}

ul.dropdown-menu li.submit {
	padding: 3px 20px;
}

input.ng-invalid.ng-dirty, input.ng-invalid.ng-touched {
	border: 1px solid red !important;
}

input.ng-invalid:focus {
	box-shadow: inset 0 1px 1px rgba(255,0,0, .075), 0 0 8px rgba(255,0,0,.6);
}


table.table td pre {
	padding: 3px;
	margin: 0;
}

.log.alert-info { background-color: transparent; }
.log.alert-success { background-color: transparent; }
.log.alert-warning { background-color: transparent; }
.log.alert-danger { background-color: transparent; }

.framedoc {
	position: absolute;
	width: 100%;
	height: calc(100% - 40px);
}

.framedoc iframe {
	border: 0;
	width: 100%;
	height: 100%;
}

iframe.shim {
	width: 300px;
	height: 100%;
	background-color: transparent;
	border: 0;
}

table thead span.sortable {
	cursor: pointer;
}

table thead span.sortable::after {
    content: "\e150";
    font-family: 'Glyphicons Halflings';
    margin-left: 5px;
    font-size: 11px;
    font-weight: normal;
    color: #888;
}

table thead span.sortable.ascend-text::after, 
	table thead span.sortable.descend-text::after,
	table thead span.sortable.ascend-number::after,
	table thead span.sortable.descend-number::after {
    color: #FF5900;
    font-size: 12px;
}

table thead span.sortable.ascend-text::after { content: "\e151"; }
table thead span.sortable.descend-text::after { content: "\e152"; }
table thead span.sortable.ascend-number::after { content: "\e155"; }
table thead span.sortable.descend-number::after { content: "\e156"; }

.filter {
	border: 1px solid #72a3cd;
	margin-bottom: 10px;
}

.filter .search-icon {
	font-family: 'Glyphicons Halflings';
	display: inline-block;
	padding: 10px 12px;
	border-right: 1px solid #72a3cd;
	background: #eee;
	color: #23527c;
}

.filter input {
	width: calc(100% - 45px);
    margin: 0;
    padding: 6px 4px;
    border: none;
}

.filter input:focus {
	outline: none;
}

.on-top {
	position: relative;
	z-index: 100;
}

.indicators, .indicators-color {
	color: #2f4aaa;
}

.trailer-exclusion-list {
	margin-left: 10px;
}
.trailer-exclusion-list .checkbox {
	margin: 0;
}
.trailer-exclusion-list .checkbox label {
	line-height: 20px;
}

.btn.btn-optimize {
    position: absolute;
    bottom: 4vw;
    right: 4vw;
    font-size: 30px;
    z-index: 100;
    background: #222;
    padding: 4px 5px 0px 5px;
    box-shadow: 0 2px 5px rgba(64,64,64,.6);
    cursor: pointer !important;
    width: 60px;
    border-radius: 100% !important;
    line-height: 54px;
}

a.btn.btn-optimize, a.btn.btn-optimize:active, a.btn.btn-optimize:hover, a.btn.btn-optimize:focus {
	text-decoration: none !important;
	color: white;
}

.btn-optimize:hover, .btn-optimize:focus, .btn-optimize:active {
    color: white;
    text-decoration: none;
    background: rgb(51, 51, 51);
}

/** ENGIE COLORS */
.sub-header { background-color: #00AAFF !important; }
.sub-header a.action.glyphicon { color: #00AAFF !important; }