:root {
	--live: #5592bd;
	--red: #e10000;
	--play: green;
	--check: red;
	--orange: #ff8800
}
.main-header {
	background: var(--orange);
	color: #fff;
	height: 50px;
	line-height: 50px;
	text-align: left;
	margin: 0;
	padding: 0;
}
.main-header i {
	color: #fff;
}
.container-fluid {
	padding: 0;
	margin: 0 0 0 0;
}


#tout {
	position: fixed;
	top: 50px;
	left: 0;
	overflow: hidden;
	height: CALC(100SVH - 100px);
	width: 100%;
	background: #fff;
}
.jour {
	font-weight: bolder;
	
}
.bloc {
	border-left: 1px solid #a8cbfd;
	border-right: 1px solid #a8cbfd;
	border-bottom: 1px solid #a8cbfd;
	padding: 5px 0 5px 10px;
	margin-left: 10px;
	margin-right: 10px;
	background: #fff;
	position: relative;
	height: 45px;
	line-height: 17px;	
}
.bloc.live {
	padding: 10px 0 10px 50px;
	height: 60px;
	margin-bottom: 20px;
	box-shadow: 0 0 2px 2px var(--live);
	line-height: 20px;
	border-radius: 6px;
}
.bloc.red {
	color: var(--red);
}
.bloc .circle {
	position: absolute;
	width: 35px;
	height: 35px;
	line-height: 42px;
	border-radius: 50%;
	left: 5px;
	top: 10px;
	text-align: center;
}
.bloc.play .circle {
	left: 5px;
	margin-top: -5px;
}

.bloc.red .circle {
	background: #ff7373;
	box-shadow: 0 0 2px 2px var(--red);
	top: 10px;
	width: 25px;
	height: 25px;
	line-height: 32px;
}
.bloc.live .circle i {
	color: var(--live);
	font-size: 20px;
}
.bloc.play .circle:before {
	font: var(--fa-font-solid);
 	 content: '\f04b';
 	 font-size: 20px;
 	 color: var(--orange); 	 
}
.bloc.play.active .circle:before {
	font: var(--fa-font-solid);
 	 content: '\f251';
 	 font-size: 20px;
 	 color: #fff;
}
.bloc.red .circle i {
	color: var(--red);
	font-size: 20px;
}


.bloc .bureau {
	float: left;
	width: 30px;
	position: relative;
	margin-right: 10px;
	text-align: center;
	margin-left: -10px;
}
.bloc .bureau:after {
	border-left: 1px solid #dedede;
	position: absolute;
	top: 5px;
	right: 0;
	height: 25px;
	content: "";
}
.bloc .bureau SPAN {
	display: block;
	margin-top: 10px;
	font-size: 11px;
}
.bloc .left {
	float: left;
	width: CALC(100% - 120px);
}
.bloc .agence {
	font-weight: bolder;
	font-size: 12px;
	text-transform: uppercase;
	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;  	
}
.bloc:not(.live, .play) .agence {
	padding-top: 10px;  
}
.bloc .date {
	font-size: 10px;	
}
.bloc .date SPAN {
	float: left;
}
.bloc .date .heure {
	float: right;
	padding-right: 10px;
}

.bloc .heure {
	float: left;
	width: 40px;
	text-align: center;
	line-height: 13px;
	margin-top: 5px;
}
.bloc .heure SPAN {
	display: block;
	font-size: 10px;
}

.bloc .clock {
	float: right;
	position: relative;
	width: 50px;
	font-size: 11px;
	text-align: center;
	padding-top: 10px;
}
.bloc .clock:before {
	position: absolute;
	content: "";
	border-left: 1px solid #dedede;
	height: 25px;
	top: 5px;
	left: 0;
}
.bloc.live .left, .bloc.play .left {
	width: CALC(100% - 90px);
}
.bloc.live .clock, .bloc.play .clock {
	margin-top: -5px;
	height: 60px;
	width: 80px;
	font-weight: bolder;
	font-size: 14px;
	padding-top: 20px;
	color: var(--live);
}
.bloc.live .clock:before {
	border-left: 1px solid var(--live);
	top: 15px;
}
.bloc.play .clock:before {
	border-left: 1px solid var(--orange);
	top: 12px;
}
.bloc.play.active .clock {
	color: #fff;
}
.bloc.play.active .clock:before {
	border-left: 1px solid #fff;
	top: 12px;
}
.bloc.red .clock:before {
	border-left: 1px solid var(--red);
}
.bloc .ligne {
	height: 60px;
	border-bottom: 1px solid #dedede;
}
.bloc.foot {
	margin-bottom: 20px;
	/*background: #a8cbfd;*/
	padding-top: 8px;
	text-align: left;
	font-size: 14px;
	color: #434f7a;
	font-weight: bolder;
	border: 1px solid #a8cbfd;
	border-top: 0;
	line-height: 16px;
	border-radius: 0 0 6px 6px;
}
.bloc.foot i {
	font-style: normal;
}
.bloc.foot SPAN {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
}

.bloc.jour {
	background: #a8cbfd;
	padding-top: 8px;
	text-align: left;
	font-size: 14px;
	color: #434f7a;
	font-weight: bolder;
	border: 1px solid #a8cbfd;
	line-height: 30px;
	border-radius: 6px 6px 0 0;

}
.j {
	margin-bottom: 20px;
}
.bloc.jour i {
	float: right;
	font-style: normal;
	padding-right: 10px;
}
.none {
	display: none;
}

.bloc.short {
    background:#dedede;
}

.footer {
	position: fixed;
	bottom: 0;
	left: 0;
	height: 50px;
	background: #fff;
	width: 100%;
	border-top: 1px solid #dedede;
}
.footer DIV {
	float: left;
	width: CALC(100% / 5);
	text-align: center;	
}
.footer DIV A {
	color: #000;
	display: block;
}
.footer .active a {
	color: #ff4500;
	font-weight: bolder;
}
.footer i, .footer SPAN {
	display: block;
}
.footer i {
	margin-top: 12px;
}
.footer SPAN {
	font-size: 9px;
	text-transform: uppercase;
}


.side-menu li {
	border-bottom: 1px solid #eaeaea;
	line-height: 35px;
	height: 35px;
	position: relative;
}
.side-menu LI A {
	color: #498ab8;
	padding-left: 10px;
	display: block;
	font-size: 12px;
}
.side-menu li:after {
	font: var(--fa-font-solid);
	content: "\f105";
	position: absolute;
	right: 10px;	
	top: 10px;
}
@media(max-width: 767px) {
	.app-sidebar {
		margin-top: 65px;
		height: CALC(100SVH - 115px);
		overflow: hidden;
		overflow-Y: auto;
	}
}

.main-header-left SPAN {
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bolder;
	margin-left: 20px;
}



.soc {
	height: CALC(100SVH - 125px);
	overflow: hidden;
	overflow-Y: auto;
	margin-top: 10px;
}
.agencee {
	border: 1px solid #dedede;
	margin: 10px 5px 0 5px;
	padding: 10px 10px;
	background: #fff;
	clear: both;
	float: left;
	width: CALC(100% - 10px);
	position: relative;
}
.agencee.active {
	background: #a8cbfd;
}
.agencee DIV {
	float: left;
}
.agencee i {
	float:  right;
	margin-top: 5px;
	margin-right: 20px;
}
.agencee.check:after {
	content: "\f4fc";
	font: var(--fa-font-solid);
	position: absolute;
	top: 13px;
	right: 10px;
	color: #000;
}

.float {
	float: left;
	width: 100%;
	margin-bottom: 10px;
}
.float #tot {
	background: #a8cbfd;
	width: CALC(100% - 75px);
	line-height: 50px;
	text-align: center;
	font-weight: bolder;	
	float: left;
}
.float #tot.all {
	width: 100%;
}
#stop {
	float: right;
	height: 50px;
	line-height: 50px;
	text-align: center;
	background: red;
	width: 75px;
	z-index: 200;
	color: #fff;
	font-weight: bolder;
	cursor: pointer;
}


.modal-dialog,
.modal-content {
	min-width: 900px;
	width: 900px;
	max-width: 900px;
	margin: 5svh auto;
	min-height: 90svh;
	height: 90svh;
	max-height: 90svh;	
	position: relative;
	border-radius: 10px;
}
.modal LABEL {
	font-weight: bolder;
	width: 100%;
	clear: left;
	font-size: 20px;
}
.modal .date {
	float: left;
	width: CALC(100% - 75px);
	border: 0;
	padding: 0;	
}

.modal INPUT[type=time] {
	float: left;
	width: 75px;
	border: 0;
	text-align: right;
	padding: 0;
}
input[type="time"]::-webkit-calendar-picker-indicator {
    background: none;
}
.modal-header {
	font-size: 16px;
	font-weight: bolder;
}
.modal-header i {
	font-size: 20px;
	margin-top: 5px;
	text-align: right;
}
.modal .btn-danger, .modal .btn-info {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
}
.modal .btn-info {
	display: none;
}


/*timer-----------------------------------------------*/
.timer {
	background: var(--orange);
	margin-top: -2px;
	margin-bottom: 50px;
	padding: 0 10px 0 10px;	
}
.timer.stop {
	padding-bottom: 10px;
}
.timer .time SPAN {
	display: block;
	width: 100%;
	color: #fff;
	text-align: center;
}
.timer .time SPAN:first-child {
	font-weight: bolder;
	font-size: 20px;
}
.timer .time SPAN:last-child {
	border-top: 1px solid #fff;
	font-size: 10px;
	text-transform: uppercase;
}
.timer SELECT {
	margin-bottom: 15px;
	border: 0;
	height: 30px;
}
.search {
	margin: 10px;
	position: relative;
	height: 30px;
}
.search i {
	position: absolute;
	left: 7px;
	top: 13px;
	color: #868686;
}
.search input {
	padding-left: 30px;
	border: 0;
}
.timer .live {
	background: #fff;
	margin-top: 15px;
	border: 0;
}
.timer .live .top {
	border: 1px solid #dedede;
	line-height: 30px;
	padding-left: 10px;
	color: var(--orange);
	font-weight: bolder;
	text-transform: uppercase;
	font-size: 11px;
}
.timer .live .top SPAN {
	float: right;
	text-align: right;
	padding-right: 10px;
}
.timer .live .agence {
	font-weight: bolder;
	font-size: 14px;
	padding-left: 10px;
	line-height: 40px;
}
.timer #live .button, .timer #live2 .button {
	line-height: 40px;
}
.timer #live .button DIV, .timer #live2 .button DIV {
	float: left;
	width: 50%;
	text-align: center;
	color: #fff;
	cursor: pointer;
}
.timer #live .button .pause {
	background: var(--orange);
}
.timer #live .button .reprendre, .timer #live2 .button .reprendre {
	background: #7ece00;
}
.timer #live .button .stop, .timer #live2 .button .stop {
	background: #ff4345;
}
.timer #live .button #but_2 {
	display: none;
}
.timer #live2 {
	display: none; 
}
#list {
	position: fixed;
	overflow: hidden;
	overflow-Y: auto;
	height: CALC(100SVH - 375px);
	width: 100%;
	top: 325px;
}

.bloc.play {
	padding: 5px 0 10px 60px;
	height: 50px;
	line-height: 10px;
}
#list .bloc {
	margin-bottom: 5px;
	border-radius: 0;
	border: 1px solid var(--orange);
	padding-left: 50px;
}
.bloc.active {	
	background: var(--orange);
	color: #fff;
}
.bloc.play .left .agence {
	margin-top: 0;
	line-height: 18px;
}

.sem {
	position: fixed;
	top: 105px;
	left: 0;
	border-top: 1px solid #fff;
	width: 100%;
	padding: 5px 10px;
	background: var(--orange);
	color: #fff;
	margin-top: -10px;
	z-index: 2222;
}
.sem SPAN {
	float: right;
	font-weight: bolder;
}
.index {
	background: #fff;
	height: CALC(100SVH - 178px);
	overflow: hidden;
	overflow-Y: auto;
	position: fixed;
	top: 128px;
	width: 100%;
}

.week {
	background: var(--orange);
	height: 50px;
	float: left;
	width: 100%;	
	margin-top: -5px;	
}
.week .center {
	width: CALC(100% - 60px);
	margin-top: 15px;
	float: left;
}
.week .center DIV {
	float: left;
	width: CALC(100% / 7);
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 6px;
}
.week .center DIV SPAN {
	display: block;	
}
.week .center DIV SPAN:first-child {
	font-size: 10px;
	padding-top: 2px;
}
.week .center DIV SPAN:last-child {
	font-size: 9px;
	margin-top: -5px;
}
.week .center .active {
	background: #ffaa4a;
	color: #000;
	font-weight: bolder;
}
.week .center .gris {
	color: #ffbe75;
	cursor: auto;
}
.week .center .active.gris {
	color: #fff;
}
.week .left, .week .right {
	width: 20px;	
	margin: 18px 5px 0 5px;		
	text-align: center;
	height: 28px;
	cursor: pointer;
	float: left;
}
.week i, .week i {
	color: #fff;
	font-size: 20px;	
}

.j {
	float: left;
	width: 100%;
}
.blocc {
	float: left;
	width: 100%;
	border-bottom: 1px solid #dedede;
	padding: 10px 0 10px 10px;
	background: #fff;
}
.blocc.live {
	background: #9dc0d9;
}
.blocc > DIV {
	float: left;
}
.blocc .bureau {
	float: left;
	width: 40px;
	position: relative;
	margin-right: 10px;
	text-align: center;
	margin-left: -10px;
}
.blocc .bureau:after, .blocc .heure:after {
	border-left: 1px solid #dedede;
	position: absolute;
	top: 5px;
	right: 0;
	height: 25px;
	content: "";
}
.blocc .bureau SPAN {
	display: block;
	margin-top: 10px;
	font-size: 11px;
}
.blocc .agence {
	width: CALC(100% - 150px);
	font-weight: bolder;
	font-size: 12px;
	text-transform: uppercase;
	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;  
  	margin-top: 10px;	
}
.blocc .heure {
	width: 50px;
	line-height: 13px;
	margin-top: 5px;
	position: relative;
	margin-right: 10px;
	text-align: center;
	margin-left: -10px;
}
.blocc .heure SPAN {
	display: block;
	font-size: 10px;
}

.blocc .clock {
	float: right;
	position: relative;
	width: 50px;
	font-size: 11px;
	text-align: center;
	padding-top: 10px;
}
.blocc .clock:before {
	position: absolute;
	content: "";
	border-left: 1px solid #dedede;
	height: 25px;
	top: 5px;
	left: 0;
}
.blocc.jour {
	clear: left;
	float: left;
}
.blocc.jour.first {
	margin-top: 0;
}
.blocc.jour i {
	float: right;
	padding-right: 10px;
	font-style: normal;
}


/*facture-----------------------------*/
.but {
	float: left;
	width: 100%;
	background: var(--orange);
	margin-top: -2px;
	padding-bottom: 5px;
}
.but INPUT {
	height: 40px;
	line-height: 40px;
	text-align: center;
	border: 0;
	background: #fff;
	width: CALC(100% - 110px);
	margin: 0 10px 5px 10px;
	float: left;
}
.but A {
	float: right;
	width: 80px;
	margin-right: 10px;
}
@media(max-width: 991px) {
	.but a {
		display: none;
	}
	.but INPUT {
		width: CALC(100% - 20px);
	}
}
.btnn {
	float: left;
	width: CALC(100% - 20px);
	margin: 10px;
}
.btnn DIV {
	width: CALC(100% / 3);
	float: left;
	background: var(--live);
	line-height: 30px;
	text-align: center;
	color: #fff;
	cursor: pointer;
	border-right: 1px solid #91b8d4;
	position: relative;
}
.btnn DIV:first-child {
	border-radius: 6px 0 0 6px;
}
.btnn DIV:last-child {
	border-radius: 0 6px 6px 0;
	border-right: 0;
}
.btnn .active::after {
	content: "\f560";
	font: var(--fa-font-solid);
	position: absolute;
	bottom: 5px;
	right: 5px;
	font-size: 9px;
}
.blocc.total {
	position: fixed;
	top: 145px;
	left: 0;
	height: 50px;
	background: var(--live);
	color: #fff;
}
.facture {
	position: fixed;
	top: 195px;
	left: 0;
	height: CALC(100SVH - 245px);
	overflow: hidden;
	overflow-Y: auto;
	width: 100%;
}
.agenceRadio .form-check {
	border-bottom: 1px solid #dedede;
	line-height: 35px;	
	cursor: pointer;
}
.agenceRadio .form-check:hover {
	background-color: #dedede;
}


#societes A {
	display: block;
	line-height: 40px;
	border-bottom: 1px solid #dedede;
	padding-left: 10px;
	color: #000;
}
#societes .modal-body {
	overflow: hidden;
	overflow-Y: auto;
	height: CALC(100SVH - 100px);
}


.nom {
	background: var(--orange);
	line-height: 40px;
	color: #fff;
	font-weight: bolder;
	text-transform: uppercase;
	text-align: center;
	margin-top: -2px;
}
.nom i {
	float: right;
	margin-right: 5px;
	margin-top: 10px;
	color: #fff;
}
#soc {
	position: fixed;
	top: 90px;
	left: 0;
	width: 100%;
	height: CALC(100SVH - 140px);
	overflow: hidden;
	overflow-Y: auto;
	padding-top: 10px;
	background: #fff;
}

.label {
	font-weight: bolder;
	margin-bottom: 40px;
	margin-left: 10px;
	margin-top: 10px;
	border-bottom: 1px solid #868686;
	width: CALC(100% - 20px);
}


.second {
	background: #fff;
	padding: 10px;
	float: left;
	width: 100%;
	margin-bottom: 10px;
}
.second DIV {
	float: left;
	width: CALC(50% - 10px);
	margin-bottom: 20px;
	border-bottom: 1px solid #000;
}
.second DIV:nth-child(odd) {
	margin-right: 20px;
}
.second DIV:nth-child(3) {
	clear: left;
	float: left;
}
.second input, .second SELECT {
	border: 0;	
	width: 100%;
	background: #fff;
	text-align: center;
}
.second .gr {
	width: CALC(100% - 100px);
}
.second .input {
	position: relative;
	margin-top: -2px;
	width: 60px;
	float: right;
}
.second .input SPAN {
	position: absolute;
	top: 0;
	right: 5px;
}
.first.second {
	display: none;
}
