body {
	margin: 0px;
	background: #fff;
	font-family: "Open Sans",Arial,"Helvetica Neue",Helvetica,sans-serif;
}

/* .round_container {
	position: relative;
	display: flex;
	width: 100%;
	height: 150px;
	top: 15px;
	justify-content: center;
	align-items: center;
} */

.bgr {
    background-image: url(../img/bgr/stadium4.jpg);
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.round_container {
  position: relative;
  display: flex;
  width: calc(100% - 100px);
  height: 70px;
  top: 15px;
  justify-content: center;
  align-items: center;
}

@font-face {
	font-family: "roboto_bold";
	src: url(../../font/roboto/Roboto-Bold.ttf);
}

@font-face {
	font-family: "rg_text";
	src: url(../../font/rg_text_regular.02fbf36.otf);
}

@font-face {
	font-family: "rg_text_bold";
	src: url(../../font/rg_text_bold.f947896.otf);
}

.first_round, .second_round, .third_round, .fourth_round, .Quarterfinals, .Semifinals, .Final {
	width: 12.1%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-right: 10px;
}

.caption {
	position: absolute;
	color: #01503d;
	width: 12.1%;
	text-align: center;
	font-size: 50px;
}

.inactive_round {
	color: #c9c9c9;
}

.round_item1 {
	width: 100%;
	height: 25%;
	margin-bottom: 5px;
}

.round_item1b {
	width: 100%;
	height: 25%;
}

.round_item2 {
	height: 49%;
	margin-bottom: 5px;
}

.round_item2b {
	height: 49%;
}

.round_item3 {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.round_item1, .round_item3, .round_item2, .round_item1b, .round_item2b {
	/* background-color: #d8d8d8;
	position: relative;
	z-index: 10;
	opacity: 0.8; */
	background-color: #fdca0b;
	position: relative;
	z-index: 10;
	opacity: 0.6;
}

/* .round_item1:hover, .round_item3:hover, .round_item2:hover, .round_item1b:hover, .round_item2b:hover {
	background-color: #639080;
}

.round_item1:active, .round_item3:active, .round_item2:active, .round_item1b:active, .round_item2b:active {
	background-color: #639080;
} */

.round_item1:hover, .round_item3:hover, .round_item2:hover, .round_item1b:hover, .round_item2b:hover {
	background-color: #fa0800;
}

.round_item1:active, .round_item3:active, .round_item2:active, .round_item1b:active, .round_item2b:active {
	background-color: #fa0800;
}

.heading {
	position: absolute;
	top: 0;
	margin-top: 0;
}

.creat_delete_container {
	height: 60px;
	width: 100%;
	display: flex;
	justify-content: center;
}

.creat_btn, .delete_btn, .back_btn {
	width: 50px;
	height: 50px;
	background-size: 100% 100%;
	cursor: pointer;
	position: relative;
	z-index: 10;
	width: 50px;
	height: 50px;
	background-size: 100% 100%;
	margin-top: 20px;
}

.delete_btn {
	background-image: url("../img/icon/delete-50.png");
}
.creat_btn {
	background-image: url("../img/icon/add-50.png");
	margin-right: 10px;
}

.back_btn {
	background-image: url("../img/icon/back-black-arrow-50.png");
	margin-right: 10px;
}

:root {
	/*match group height*/
	--MGH: 300px;
	/*sub match group width (without border)*/ 
	--SMW: 400px;
	/*match_gap*/ 
	  --MG: 20px;
	/*round_gap*/  
	--RG: 20px;
	/*round margin top*/
	--RMT: 30px;
}

* {
	box-sizing: border-box;
}

.test {
	border: 1px solid;
}

.red {
	border: 1px solid;
}

.green {
	border: 1px solid;
}

.group_four {
	display: flex;
	justify-content: center;
	height: calc(var(--MGH) * 2 + var(--MG) * 2);
	margin-top: -20px;
}

.round0 {
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	width: calc(var(--SMW) + var(--RG));
	height: calc(var(--MGH) * 3 + var(--MG) * 3);	
	margin-top: 70px;
}

.round1 {
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	width: calc(var(--SMW) + var(--RG));
	height: calc(var(--MGH) * 3 + var(--MG) * 3);	
	margin-top: 70px;
}

.round2 {
	position: relative;
	float: left;
	display: flex;
	align-items: center;
	flex-direction: column;
	width: calc(var(--SMW) + var(--RG));
	height: calc(var(--MGH) * 3 + var(--MG) * 3);
	/*left: calc(var(--SMW) + var(--RG));*/
}

.round3 {
	position: relative;
	float: left;
	display: flex;
	align-items: center;
	flex-direction: column;
	width: calc(var(--SMW) + var(--RG) + var(--RG));
	height: calc(var(--MGH) * 3 + var(--MG) * 3);
	/*left: calc((var(--SMW) + var(--RG)) * 2);*/
}

.match_group {		
	display: flex;
	width: calc(var(--SMW) + var(--RG));
	height: var(--MGH);
	margin-bottom: var(--MG);
}

.match_group2 {		
	position: absolute;
	left: calc(var(--RG));
	display: flex;
	width: calc(var(--SMW));
	height: var(--MGH);
	margin-bottom: var(--MG);
}

.sub_mg {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: var(--SMW);
}

.match1, .match2 {		
	background-color: #fff;
	border: 1px solid #f4f4f4;
	box-shadow: 0 0 30px 0 hsla(0,0%,89%,.5);
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 0px;
  	padding-right: 0px;
	height: calc(var(--MGH) * 0.45);
	width: 100%;
	display: flex;
	flex-direction: column;
	font-family: "rg_text";
	border-radius: 7px;
}

.match1 {
	margin-bottom: calc(var(--MGH) * 0.1);	
}

.match1_round2 {
	top: calc(var(--MGH) / 2 * 0.55 + 169px / 2.45);
}

.match2_round2 {
	top: calc(var(--MGH) / 2 * 2.55 + (var(--MGH) * 0.1) + 169px / 2.48);
}

.match1_round2, .match2_round2 {	
	position: absolute;	
	background-color: #fff;
	box-shadow: 0 0 30px 0 hsla(0,0%,89%,.5);
	border: 1px solid #f4f4f4;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 0;
	padding-right: 0;
	height: calc(var(--MGH) * 0.45);
	width: 100%;
	font-family: "rg_text";
	border-radius: 7px;
}

.match1_round3, .match2_round3 {		
	background-color: #fff;
	box-shadow: 0 0 30px 0 hsla(0,0%,89%,.5);
	border: 1px solid #f4f4f4;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 12px;
	padding-right: 12px;
	height: calc(var(--MGH) * 0.45);
	width: var(--SMW);
	left: calc(var(--RG) + var(--RG));
	position: absolute;
	top: calc(var(--MGH) / 2 * 1.55 + var(--MG) / 2 + 169px / 2.45 - 5px);
	font-family: "rg_text";
	border-radius: 7px;
}

.match2_round3 {	
	top: calc(var(--MGH) / 2 * 1.55 + var(--MG) / 2 + 169px / 2.45 - 5px + 135px + 20px);
	width: calc(var(--SMW) * 90 / 100);
	left: 20px;
	background-color: #939292;
}
.p1 {
	border-bottom: 1px solid #e8e8e8;
}

.p1, .p2 {
	display: flex;
	height: 50%;
	width: 100%;
	align-items: center;
	font-family: "rg_text";
	color: #242424;
	font-size: 16px;
	color: #9f9f9f;
}

.match2_round3 .p1, .match2_round3 .p2 {
	color: #fff;
}
.match2_round3 .score_value {
	margin-right: -30px;
}

.match2_round3 .winner, .match2_round3 .winner .score_value {
	color: #1bdf4c;
	display: flex;
}

.match2_round3 .winner .score_value sup {
  margin-left: 4px;
}

.match2_round3 .winner .score_value {
	margin-left: 6px;
}



.name_container {
	display: flex;
	align-items: center;
	width: 80%;
	height: 100%;
	margin-top: 15px;
}

.name_container2 {
	display: flex;
	align-items: center;
	width: 80%;
	height: 100%;
	margin-top: 23px;
}

.winner {
	font-family: "rg_text_bold";
	color: #01503d;
}

.winner2::before {
	content: "✔";/*&#10004;*/
	color: #00503c;
	margin-top: 0px;
	margin-left: -11px;
}

.champion, .third_place {
	font-family: "rg_text_bold";
	color: #01503d;
	position: relative;
}

.champion::before, .third_place::before {
	content: "\1F3C6";
	color: #00503c;
	margin-top: -7px;
	margin-left: -40px;
	font-size: 30px;
}

.third_place::before {
	content: "\1F949";
	font-size: 21px;
	margin-left: 0 !important;
	position: absolute;
	left: -28px;
}

.match2_round3 .name {
	padding-top: 12px !important;
	width: calc(100% - 70px);
}	

.match2_round3 .ranking {
  padding-top: 12px;
}

.match2_round3 .portrait2 {
   width: 24px;
   height: 32px;  
   margin-top: 8px;
}

.match2_round3 .portrait {
   width: 45px;
   margin-left: -10px;
}

.portrait {
	width: 65px;
	height: 80%;
	margin-top: -25px;
	display: flex;
	align-items: center;
	padding-left: 10px;
	position: relative;
}

.portrait2 {
	width: 27px;
	height: 36px;
	background-image: url(../../club/img/player/head/PlayerImage.png);
	background-position: center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

.portrait_right {
	position: absolute;
}

.portrait_right {
  	left: 30px;
}

.ranking {
	padding-top: 14px;
	width: 20px;
	height: 100%;
}

.name {
	width: calc(100% - 70px - 20px - 4px);
	height: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 4px;
}

.name2 {
	width: calc(100% - 70px - 20px - 4px);
	height: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 4px;
}

.name_item {
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 5px;
}

.score {
	width: 20%;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.score_value {
	text-align: center;
	min-height: 20px;
	width: 100%;
}

.right_b {
	position:relative;
	top: calc(var(--MGH) * 0.45 / 2);
	right: 0px;
	width: var(--RG);
	height: calc(var(--MGH) * 0.45 + var(--MGH) * 0.1);
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
}

.left_b {
	position: absolute;
	top: calc(70px + var(--MGH) / 2);
	width: calc(var(--RG));
	height: calc(var(--MGH) + var(--MG));
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	left: 0;
}

.left_b2 {
	position:absolute;
	top: calc(var(--MGH) / 2 + 169px / 2.45);
	width: calc(var(--RG));
	height: calc(var(--MGH) + var(--MG));
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	left: 0;
}

.left_b3 {
	position:absolute;
	height: 1px;
	border-top: 1px solid #e1e1e1;
	width: calc(var(--RG));
	left: var(--RG);
	top: calc(var(--MGH) + var(--MG) / 2 + 169px / 2.45 - 1px);
}

.return_btn, .next_btn {
	position: fixed;
	top: calc((100% - 200px) / 2 + 200px / 2);
	cursor: pointer;	
	width: 50px;
	height: 50px;
	background-size: 100% 100%;
	z-index: 11;
}

.return_btn {
	left: 0;
	background-image: url("../img/icon/back2-100.png");
}

.next_btn {
	right: 0;
	background-image: url("../img/icon/forward2-100.png");
}

.double #third_place_match .portrait {
	margin-left: 0;
}

.double #third_place_match .name {
	padding-top: 0 !important;
}

.double #third_place_match .ranking {
	margin-left: 10px;
}

#third_place_match .name_container {
	width: 59% !important;
}

#third_place_match .score {
	width: 50% !important;
}

#third_place_match .score {
	width: 50% !important;
}

@media screen and (max-width: calc(420px * 2 + 440px + 1px)) {
	.round3 {
		display: none;
	}
}

@media screen and (max-width: 1024px) {
	.round2 {
		left: -34px;
	}
}

@media screen and (max-width: 1000px) {
	.round_container {
		height: 50px;
		top: 5px;
		width: calc(76px * 3 + 10px * 2);
		float: left;
	}
	
	.first_round, .second_round, .third_round, .fourth_round, .Quarterfinals, .Semifinals, .Final {
	  width: 33.1%;
	}
	
	.creat_delete_container {
	  height: 60px;
	  width: calc(90px * 3 + 10px * 3);
	  display: flex;
	  justify-content: center;
	  align-items: center
	}
	
	.creat_btn, .delete_btn, .back_btn {
	  margin-top: 0px;
	}
	
	.group_four {
		margin-top: 0;
	}
	
	.caption {
		/* position: absolute;
		width: 45px;
		text-align: center;
		font-size: calc(100vw * 50 / 1000); */
		position: absolute;
		color: #0800fa;
		width: 100%;
		text-align: center;
		font-size: 50px;
	}
	
	.round1 {
		top: -40px;
	}
	
	.round_heading {
		margin-bottom: 5px;
	}
	
	.round_item1 {
		margin-bottom: 2px;
	}

	.round_item2 {
		margin-bottom: 2px;
	}
	
	.round2 {
		display: none;
	}

	.match2_round3 {
	  top: calc(var(--MGH) / 2 * 1.55 + var(--MG) / 2 + 169px / 2.45 - 5px + 135px + 20px);
	  left: calc(50% - (var(--SWM) * 2 / 3) / 2);
	  top: 200px;
	}
}

@media screen and (max-width: calc(420px * 2 - 1px)) {
	.round2 {
		display: none;
	}
	
	.fourth_round {
		display: none;
	}
}

@media screen and (max-width: 1087px) {
	
	.sub_mg {
		width: 100%;
	}
	
	.match_group {
	  width: 90%;
	}
	
	.match_group2 {
	  width: 90%;
	}
	
	.match_group {
	  width: 90%;
	}
	
	.round2 {
		width: 100%;
	}
	
	.round3 {
		width: 100%;
	}
	
}

@media screen and (max-width: 926px) {
	.match1_round2 {
		width: 100%;
		left: calc(50% - (100% - 35px * 2) / 2 - 12px);
		top: 20px;
	}
	
	.match2_round2 {
		width: 100%;
		left: calc(50% - (100% - 35px * 2) / 2 - 12px);
		top: calc(20px + calc(var(--MGH) * 0.45) + 10px);
	}
	
	.match1_round3 {
		width: 90%;
		left: calc(5%);
		top: calc(20px + (var(--MGH) * 0.45) / 6);
	}
	.fourth_round {
		display: none;
	}
	
	.caption {
		width: 76px;
	}
	
	.match2_round3 .winner .score_value {
		margin-right: -5px;
	}
	
	.match_group {
		width: 90% !important;
	}
	
		 
	 .round2_selected .match_group2 {
	  top: 30px !important;
	}
	
	.match_group2 {
	  left: calc(var(--RG) + 16px);
	}
	
	.round0 {
		width: 100% !important;  
		margin-top: 30px !important;
	}
	
	.p1, .p2 {
	  height: 61.5px !important;
	}
}

@media screen and (max-width: 724px) {
	.round_container {
		/*left: calc(10% / 2);*/
		height: 37px;
		margin-top: 7px;
	}
	
	.header {
		margin-top: 7px;
	}
	
	.first_round, .second_round, .third_round, .fourth_round, .Quarterfinals, .Semifinals, .Final {
	  width: 33.1%;
	}
	
	.group_four {
		margin-top: -3px;
	}
	
	.round1 {
		width: 100%;
	}
	
	.match_group .winner .score_value {
	  margin-left: -9px;
	}
	
	.match2_round3 .winner .score_value {
	  margin-left: 7px;
	}
	
	.match1_round3 .winner .score_value {
	  margin-left: 10px;
	}
	
	.match1_round2 .winner .score_value, .match2_round2 .winner .score_value {
	  margin-left: -9px;
	}
}
@media screen and (max-width: 428px) {
	.match1_round3 {
		left: calc(50% - (100% - 20px * 2) / 2);
		top: calc(40px + (var(--MGH) * 0.45) / 2);
	}
	
	.match1_round2 {
		left: calc(50% - (100% - 35px * 2) / 2 - 20px);
		top: 40px;
	}
	
	.match2_round2 {
		left: calc(50% - (100% - 35px * 2) / 2 - 20px);
		top: calc(40px + calc(var(--MGH) * 0.45) + 40px);
	}
	
	.round2 {
		align-items: center;
	}
	
	.caption {
		width: calc(100% / 7 - 10px / 6);
		font-size: 25px;
	}

	.match2_round3 {
	  top: calc(var(--MGH) / 2 * 1.55 + var(--MG) / 2 + 169px / 2.45 - 5px + 135px + 20px);
	  left: calc(50% - (var(--SWM) * 2 / 3) / 2);
	  top: 270px;
	}
	
	.champion::before, .third_place::before {    
	  margin-left: -25px;
	  /*margin-left: -18px;*/
	  font-size: 20px;
	}	
	
	.match1_round3 .winner .score_value {
	  margin-left: -4px;
	}
	
	
}

@media screen and (max-width: 425px) {
	.sub_mg {
		width: calc(var(--SMW) * 4 / 5);
	}
	
	.match_group {
	  width: calc(var(--SMW) * 4 / 5 + var(--RG));
	}
	
	.score_value {
	  margin-left: 0 !important; 
	  margin-right: 0 !important;
	}
	
	.round3 .name {
  		width: calc(100% - 70px - 20px - 4px - 28px);
	}
	
	.name_item {
	  height: 20px;
	  white-space: nowrap;
	}
	
	.match1_round3, .match2_round3 {
	  padding-left: 6px;
      padding-right: 6px;
    }
    
    .p1, .p2 {
  		font-size: 14px !important;
    }
    
    .round1 {
    	top: unset;
    	margin-top: unset;
    }
    
    .match_group2 {
	   top: 10px !important;
	}
	
	.round3_selected .match1_round3 {
	   top: 10px !important;
	}
	
	 .round3_selected .match2_round3 {
	   top: calc(10px + (var(--MGH) * 0.45) + 30px) !important;
	 }
}

@media screen and (max-width: 375px) {
	.round_container {
		width: calc(var(--SMW) * 4 / 5 + var(--RG) - 50px);
		left: calc(50% - (var(--SMW) * 4 / 5 + var(--RG)) / 2 );
	}
	
	.first_round, .second_round, .third_round, .fourth_round, .Quarterfinals, .Semifinals, .Final {
	  width: calc(100% / 7);
	}
}

@media screen and (max-width: 331px) {
	.sub_mg {
		width: calc(var(--SMW) * 2 / 3);
	}
	
	.match_group {
	  width: calc(var(--SMW) * 2 / 3 + var(--RG));
	}
	
	.round_container {
		width: calc(var(--SMW) * 4 / 5 + var(--RG) - 50px * 1.5);
		left: calc(50% - (var(--SMW) * 4 / 5 + var(--RG))/2 - 33px);
		float: right;
	}
	
}