BODY {
	width: 100%;
	height: 100SVH;
	overflow: hidden;
	background: #000;
}
:root {
  --but: #4b85cf;
  --yellow: #effc55;
  --yellow2: linear-gradient(45deg,  #ffd700 0%,#ffd700 50%,#e60000 50%,#ffd700 50%,#e60000 50%);
  --red: #e60000;
  --orange: #ff8c00;
  --gris: #222222;
  --green: #73d69d;
}
#duree, #start, #end, #mitemps {
	display: none;
}
header {
	background-image: url(../img/header.jpeg?1.0.0);
	/*background-size: cover;*/
	width: 100%;
	height: 120px;
	position: fixed;
	top: 0;
	left: 0;
}
header .bloc {
	margin: 10px;
	width: CALC(100% - 20px);
	height: 100px;
	border-radius: 10px;
	background: #000;
	opacity: 0.7;
	padding-top: 30px;
}
header .bloc .teams {
	float: left;
	width: 100%;
	color: #fff;
}
header .bloc .teams > DIV {
	float: left;
	text-align: center;
	text-transform: uppercase;
}
header .bloc .teams .team {
	width: CALC(50% - 40px);
	font-size: 14px;
	margin-top: 7px;
	letter-spacing: -1px;
	line-height: 14px;
}
header .bloc .teams .team SPAN {
	display: block;
}

.score, header .bloc .teams .score2 {
	width: 80px;	
}
.score {
	position: fixed;
	top: 25px;
	left: CALC(50% - 40px);
	z-index: 10;
}
.score > DIV SPAN {
	font-size: 20px;
	font-weight: bolder;
	color: #fff;
} 
.score .sc {
	border: 2px solid #fff;
	border-radius: 10px;
	background: var(--orange);;
	width: 80px;
	text-align: center;	
} 
.score #timer, .score .date {
	font-size: 12px;
	color:  #fff;
	text-align: center;	
} 
.score #timer {
	color: #ff8c00;
	font-weight: bolder;
}
.score .date {
	font-size: 11px;	
} 

.button {
	position: fixed;
	left: 0;
	top: 125px;
	width: 100%;
	margin: 5px 0;
}
.button div {
	background: var(--gris);
	border-radius: 10px;
	color: #fff;
	text-align: center;
	font-size: 12px;
	line-height: 30px;
	width: CALC(50% - 5px);
	float: left;
	cursor: pointer;
}
.button DIV:first-child {
	margin-right: 10px;
}
.button DIV.active {
	background: var(--orange);
}
#match, #compo {
	background: var(--gris);
	border-radius: 10px;
	color: #fff;
	position: fixed;
	left: 0;
	top: 130px;
	width: 100%;
	margin: 0;
	height: CALC(100SVH - 200px);
	padding: 20px 10px;
	list-style: none;
	overflow: hidden;
	overflow-Y: auto;
}
.ligne {
	font-size: 12px;
	position: relative;
	height: 20px;
	margin-bottom: 15px;
	color: #b2b2b2;
	text-transform: uppercase;
}
.compo .ligne {
	margin-bottom: 5px;
}
.ligne DIV:nth-child(2) {
	text-align: center;
	position: absolute;	
	line-height: 12px;
}
.ligne.dm DIV:nth-child(2) {
	width: 160px;
	left: CALC(50% - 80px);
}
.ligne.mt DIV:nth-child(2) {
	width: 110px;
	left: CALC(50% - 55px);
}
.ligne.ft DIV:nth-child(2) {
	width: 130px;
	left: CALC(50% - 65px);
}
.compo .ligne DIV:nth-child(2) {
	width: 80px;
	left: CALC(50% - 40px);
}
.ligne.dm DIV:first-child:before, .ligne.dm DIV:first-child:after {
	width: CALC(50% - 80px);
}
.ligne.mt DIV:first-child:before, .ligne.mt DIV:first-child:after {
	width: CALC(50% - 55px);
}
.ligne.ft DIV:first-child:before, .ligne.ft DIV:first-child:after {
	width: CALC(50% - 65px);
}
.compo .ligne DIV:first-child:before, .compo .ligne DIV:first-child:after {
	width: CALC(50% - 40px);
}
.ligne DIV:first-child:before, .ligne DIV:first-child:after {
	position: absolute;
	content: "";
	border-bottom: 1px solid #b2b2b2;
	width: CALC(50% - 60px);
	top: 6px;
}
.ligne DIV:first-child:before {
	left: 0
}
.ligne DIV:first-child:after {
	right: 0;
}

.evol {
	height: 30px;
	margin-bottom: 15px;	
	width: 100%;
	text-align: center;
	font-size: 11px;	
}
.evol DIV DIV {
	float: left;
}

.evol .nom, .evol .vide {
	width: cALC(50% - 30px);
}
.evol .nom {
	text-align: right;
	background: #081130;
	line-height: 13px;
	height: 30px;
}
.evol .but .nom, .evol .chgt .nom {
	height: 35px;
	line-height: 13px;
	padding-top: 5px;
}
.evol .chgt .nom em {
	color: #999999;
	font-style: normal;
	display: block;
}
.evol .nom SPAN {
	color: var(--but);
	font-weight: bolder;
	font-size: 11px;
	display: block;
}
.evol .home .nom SPAN {
	margin-right: 10px;
}
.evol .away .nom SPAN {
	margin-left: 10px;
}
.evol .but .nom {	
	border-top: 1px solid var(--but);	
	position: relative;
}
.evol .but .nom SUPP {
	position: absolute;
	top: 0;
	left: 12px;
	font-size: 6px;
	color: #fff;
	text-transform: uppercase;
}
.evol .but.home .nom SUPP {
	position: absolute;
	right: 12px;
}
.evol .jaune .nom {	
	border-top: 1px solid var(--yellow);
}
.evol .rouge .nom {	
	border-top: 1px solid var(--red);	
}
.evol .dbljaune .nom {	
	border-top: 1px solid transparent; /* épaisseur et type */
    border-image: repeating-linear-gradient(
        135deg,
        #e60000 0 50px,
        #effc55 50px 100px
    ) 1;
    border-image-slice: 1;
}
.evol .chgt .nom {	
	border-top: 1px solid var(--green);	
}
.evol .home .nom {
	text-align: right;
	padding-right: 10px;
}
.evol .away .nom {
	text-align: left;
	padding-left: 10px;
}
.evol .nom .i {
	font-size: 16px;	
	width: 30px;
	height: 20px;
	margin-top: 5px;
}
.evol .nom H5 {
	margin: 0;
	padding: 0;
	font-size: 11px;
	float: left;
	width: CALC(100% - 30px);
}
.evol .carte .nom H5 {
	margin-top: 8px;
}
.evol .nom P {
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
}
.evol .home .nom H5, .evol .home .nom P {
	float: right;
}
.evol .away .nom H5, .evol .away .nom P {
	float: left;
}
.evol .but .nom i {
	font-size: 14px;
	margin-top: -3px;
}
.evol .chgt .nom i {
	font-size: 10px;
	margin-top: 8px;
}
.evol .home .nom .i {	
	float: right;
}
.evol .away .nom .i {
	float: left;
}
.evol .home .nom SPAN {
	margin-left: 20px;
}
.evol .away .nom SPAN {
 	margin-right: 10px;
}

.evol .time {
	width: 60px;
	text-align: center;	
	font-size: 10px;
	position: relative;
	margin-top: 4px;
}
.evol .time SPAN {
	background: #343434;
	width: 35px;
	line-height: 20px;
	border-radius: 10px;
	padding: 3px 5px;
	display: inline-block;
	font-weight: bolder;
	font-size: 11px;
}
.evol .time SPAN:after {
    content: "'";
}
.evol .but .time SPAN {
	background: #fff;
	color: #343434;
}
.evol .time em {
	font-style: normal;
	font-size: 8px;    
}
.evol .home .time:after {
	border-bottom: 1px solid #555555;
	width: 12px;
	content: "";
	position: absolute;
	top: 12px;
	left: 0;
}
.evol .away .time:after {
	border-bottom: 1px solid #555555;
	width: 15px;
	content: "";
	position: absolute;
	top: 12px;
	right: 0;
}

i.yellow, i.yellow2, i.red {
	height: 15px;
	width: 10px;
	border-radius: 2px;
	margin-top: 3px;
}
i.yellow {
	background-color: var(--yellow);
}
i.yellow2 {
	background: linear-gradient(135deg,  #e60000 50%,#effc55 50%,#effc55 50%);
}
i.red {
	background-color: var(--red);
}


.compo .joueur {
	width: CALC(50% - 20px);
	float: left;
	margin: 0 10px;
	text-transform: uppercase;
	font-size: 10px;
}
.compo .joueur.right {
	text-align: right;
}

.compo DIV SPAN {
	display: inline-block;
}
.compo DIV SPAN.num {
	width: 20px;
	color: #9f9f9f;
}
.compo .rempll {
	color: #9f9f9f;
}
.compo .fa-turn-down {
	color: var(--red);
}
.compo .fa-turn-up {
	color: var(--green);
}
.rempl {
	width: 100SVW;
	text-transform: uppercase;
	font-size: 10px;
	margin-top: 10px;
	margin-bottom: 5px;
	float: left;
	margin-left: 10px;
	border-bottom: 1px solid #fff;
}
.compo i.yellow, .compo i.yellow2, .compo i.red {
	height: 10px;
	width: 10px;
	margin-top: 0;
}


.footer {
	height: 50px;
	line-height: 50px;
	position: fixed;
	bottom: 0;
	width: 100%;
	text-align: center;
	left: 0;
	background: #fff;
	border-top: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
}
.footer i { 
	cursor: pointer;
}
.footer .play {
	width: 100%;
	text-align: center;
	border-left: 1px solid #dedede;
	border-right: 1px solid #dedede;
}
.footer .play i {
	font-size: 20px;
}
.footer .home i, .footer .away i {
	font-size: 20px;
}
.footer .jaune i, .footer i.yellow {
	color: #ffd700;
}
.footer .rouge i, .footer i.red {
	color: red;
}
#timer2, #timfer3 {
	display: none;
}
.modal LABEL {
	display: inline-block;
	width: 120px;
	font-size: 11px;
}
/*.modal-footer .btn {
    width: 100px;
    height: 40px;
}
.modal-footer span {
	display: grid;
    align-content: center;
}
.modal-footer i {
	display: none;
    align-content: center;
    height: 30px;
}
.modal .btn-group {
	width: 100%;
}
.modal .btn-group BUTTON {
	width: 33%;
}*/


#cogg {
	position: fixed;
	z-index: 65;
	bottom: 90px;
	display: none;
	background: #fff;    
    width: 100%;
    left: 0%;
	padding: 10px;    
    height: 320px;
}
#cogg.visible {
    display: block;
}
#cogg BUTTON {
    border: 0;
    background: #6495ed;
    cursor: pointer;
	text-align: center;
	font-size: 12px; 
	border-radius: 10px;
    display: grid;
    align-content: center;
    height: 50px;
    margin-bottom: 10px;
    font-weight: bolder;
    width: 100%;
    
}
#cogg BUTTON:disabled {
    opacity: 0.2;
    background-color: #a5beec;
    cursor: none;
}
#cogg BUTTON:first-child {
    background-color: var(--orange);
    color: #fff;
}


/*#cogg DIV:last-child {
	margin: 0;
}
#cogg i {
	font-size: 20px;
	margin-top: 15px;
}*/
.btn.active {
	position: relative;
}
.btn.active:after {
	content: "\f560";
	font: var(--fa-font-solid);
	position: absolute;
	top: 7px;
	right: 10px;
	color: #000;
	background: #fff;
	border-radius: 50%;	
	padding: 5px;
	font-size: 12px;
}

.modal LABEL {
	font-weight: bolder;
}


footer {
	position: fixed;
	width: 100%;
	height: 60px;
	background: #fff;
	bottom: 0;
	left: 0;
	border-radius: 10px;
	overflow: hidden;
}
footer DIV {
	float: left;
	text-align: center;
	height: 60px;
}
footer .left, footer .right {
	width: CALC(50% - 30px);
	float: left;	
}
footer DIV > SPAN {
	width: CALC(100% / 3);
	float: left;	
	line-height: 18px;
	padding-top: 15px;
}
footer DIV > SPAN i {	
	color: var(--gris);
	font-size: 20px;
	display: block;
}
footer DIV SPAN SPAN {
	font-size: 9px;
	display: block;
	text-transform: uppercase;
	font-weight: bolder;
}
footer .center {
	width: 60px;
}
#gear {
	position: fixed;
	bottom: 20px;
	left: CALC(50% - 35px);
	width: 70px;
	height: 70px;
	line-height: 60px;
	text-align: center;
	background: #fff;
	border: 7px solid var(--gris);
	border-radius: 50%;	
	z-index: 235;
	font-size: 30px;
	color: var(--gris);
}
footer .chgt i, footer .chgt SPAN {
	color: var(--green);
}
footer .carte SPAN {
	color: #F0C419;
}
footer .but i, footer .but SPAN {
	color: var(--but);
	margin-top: 1px;
}
footer img {
	height: 21px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.modal-footer.trois {
    display: grid;
    grid-template-columns: 50px 1fr 1fr;
    gap: 2px;
}
#team .equipe DIV {
    display: grid;
    grid-template-columns: 20px 50px 1fr;
    margin-bottom: 2px;
    font-size: 11px;
    align-content: center;
    height: 30px;
}
#team .equipe INPUT {
    font-size: 11px;
}
#team .equipe SPAN {
    height: 30px;
    display: grid;
    align-content: center;
}
#team .modal-body {
    overflow: hidden;
    overflow-Y: auto;
    height: calc(100svh - 140px);
}

#newMatch .btn-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
#but .btn-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
#carte .btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.visible {
    display: block;
}


.modal-footer i {display: none}