/* fixes for Bootstrap 4 */
@import url("fixed_bs4.css");

.container-fluid{
	margin-left: 1em;
	margin-right: 1em;
}

h4 {
	margin-top: 0.1em;
	margin-bottom: -0.5em;
}

.panel-heading{
	height: 2.5em;
}

.favorites_nav{
	line-height: 0.8em;
	/*max-height: 14em;*/
	overflow-x:hidden;
	overflow-y:auto; 
	/*margin-left: -3em;*/
	margin-bottom: -1em;
	
}

@media only screen and (min-height: 650px) {
	/* For desktop: */
	.list {
		max-height: 8vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 690px) {
	/* For desktop: */
	.list {
		max-height: 10vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 730px) {
	/* For desktop: */
	.list {
		max-height: 12vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 770px) {
	/* For desktop: */
	.list {
		max-height: 14vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 810px) {
	/* For desktop: */
	.list {
		max-height: 16vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 830px) {
	/* For desktop: */
	.list {
		max-height: 19vh;
		overflow-y:auto;
	}
}


@media only screen and (min-height: 850px) {
	/* For desktop: */
	.list {
		max-height: 22vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 890px) {
	/* For desktop: */
	.list {
		max-height: 25vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 930px) {
	/* For desktop: */
	.list {
		max-height: 28vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 970px) {
	/* For desktop: */
	.list {
		max-height: 31vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1010px) {
	/* For desktop: */
	.list {
		max-height: 34vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1050px) {
	/* For desktop: */
	.list {
		max-height: 37vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1090px) {
	/* For desktop: */
	.list {
		max-height: 40vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1130px) {
	/* For desktop: */
	.list {
		max-height: 42vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1170px) {
	/* For desktop: */
	.list {
		max-height: 44vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1210px) {
	/* For desktop: */
	.list {
		max-height: 45vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1250px) {
	/* For desktop: */
	.list {
		max-height: 47vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1290px) {
	/* For desktop: */
	.list {
		max-height: 48vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1330px) {
	/* For desktop: */
	.list {
		max-height: 49vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1370px) {
	/* For desktop: */
	.list {
		max-height: 50vh;
		overflow-y:auto;
	}
}

@media only screen and (min-height: 1410px) {
	/* For desktop: */
	.list {
		max-height: 52vh;
		overflow-y:auto;
	}
}

body.modal-open {
	overflow: hidden;
}
	
body{
	overflow: auto;
	/*background-color: white;*/
	background-color: #e6e7e8;
	color: black;
	font-family: Roboto;
}
/*
a .glyphicon{
	color: #e6e7e8;
}
*/
.scroll_group{
	height: 45em;
	overflow: auto;
}

.morris-hover{position:absolute;z-index:1000;}
.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}
.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;}
.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;}

.panel{
	margin: 0.4em;
	/*margin-top: 1em;
	margin-bottom: 1em;*/
}

.table {
	border-color: black;
}

.graph{
	margin-left: -1.5em;
	margin-right: -0.5em;
	margin-top: 2em;
}

/* show the move cursor as the user moves the mouse over the panel header.*/
/*
#draggablePanelList .panel-heading {
    cursor: move;
}
*/
.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 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.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:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.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;}

.scrollable-menu {
	height: auto;
	max-height: 10em;
	overflow-x: hidden;
}
	
.liste_contacts{
	overflow-x:auto;
	overflow-y:auto;
	position: absolute;
    top: 170px; /* Header Height */
    bottom: 50px; /* Footer Height */
    width: 100%;
}

.scroll_action {
	height: 8em;
	/*height: 110px;*/
    width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}
	
.scroll_infos {
	height: 12.50em;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_renta_commandes {
	height: 20.375em;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_renta_stats {
	height: 20.375em;
	/*
	min-height: 10em;
	max-height: 22em;
	*/
	overflow-x: auto;
	overflow-y: auto;
}

.renta_graph{
	height: 90%;
	margin-left: -1.5em;
	margin-right: -0.5em;
	margin-top: 2em;
}

.scroll_personnel {
	height: 12.50em;
	/*
	min-height: 10em;
	max-height: 15em;
	*/
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_phases {
	height: 12.50em;
	/*
	min-height: 10em;
	max-height: 15em;
	*/
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_toolbar {
	min-height: 2em;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_contacts {
	height: 21.375em;
	/*
	min-height: 10em;
	max-height: 15em;
	*/
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_heures_km {
	height: 43.5em;
	/*
	min-height: 10em;
	max-height: 22em;
	*/
	/*width: 100%;*/
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_total_height {
	height: 53em;
	/*
	min-height: 10em;
	max-height: 22em;
	*/
	/*width: 100%;*/
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_stats {
	height: 29em;
	/*
	min-height: 10em;
	max-height: 22em;
	*/
	/*width: 100%;*/
	overflow-x: auto;
	overflow-y: auto;	  
}

.img_stats {
	height: 15em;
}

.scroll_listes {
	min-height: 5em;
	max-height: 12em;
    width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}
	
.scroll_plans {
	min-height: 5em;
	max-height: 28em;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}
	
.scroll_plans_indices {
	min-height: 5em;
	max-height: 28em;
    width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_plans_strakon {
	min-height: 5em;
	max-height: 15em;
	/*width: 50%;*/
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_acomptes {
	height: 20.375em;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_actions_dispatch {
	height: 14.375em;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_dispatch_receipients {
	height: 40.375em;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}

.scroll_demandes {
	height: 12.50em;
	overflow-x: auto;
	overflow-y: auto;	  
}

.tec{
	background-color: #f5f5f5;
}
	
#map {
	/*min-height: 10em;
	max-height: 16em;*/
	/*height:25em;*/
	height: 40em;
    /*width: 100%;
	margin: 0;
    padding: 0;
	border: 1px solid black;*/
}

.no_scroll_demandes {
	height: 12.50em;
	overflow-x: hidden;
	overflow-y: hidden;	  
}

.thead > .tr, .tbody{
    display:block;}

    
.scroll_autorisations{
	/*width: 200px;*/
 	height: 7.5em;
	overflow-y: scroll;
	overflow-x: hidden;
}

.td1_aut {
	width:6em;
	
}

.td2_aut {
	width:15em;
	
}

.td3_aut {
	width:5em;
	
}

.td4_aut {
	width:15em;
	
}

.td5_aut {
	width:10em;
	
}

.td6_aut {
	width:2em;
	
}

.scroll_tasks {
	/*height: 27.375em;*/
	height: 29.5em;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;	  
}
/*
.rotate {
	transform: rotate(-90deg);
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
*/
/*fix for navbar*/
/*
@media (max-width: 1150px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}
*/