* {
	box-sizing: border-box;
	border-collapse: collapse;
}

body {
	font-family: "roboto_medium";
}

@font-face {
	font-family: "lifecraft";
	src: url(../../font/LifeCraft_Font.ttf);
}

.tooltip1, .tooltip2, .tooltip3, .tooltip4 {
	width: calc(50% - 20px / 2);
	height: 30px;
	width: 90px;
	background-color: #72A159;
	border-radius: 5px;
	margin-bottom: 5px;
	position: absolute;
	display: none;
	top: -15px;
	left: 5px;
	color: #fff;
	font-size: 8px;
	padding: 0;
}

.tooltip3 {
	left: calc(50% - 90px / 2) !important;
}

.tooltip_text {
	margin-top: -15px;
}

.action_icon:hover .tooltip1 {
  display: block;
}

.tooltip1:before {
	content: "";
	position: relative;
	top: 30px;
	height: 10px;
	display: inline-block;
	left: 30%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #72A159 transparent transparent transparent;
}

.tooltip4:before {
	content: "";
	position: relative;
	top: 30px;
	height: 10px;
	display: inline-block;
	left: 30%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #72A159 transparent transparent transparent;
}

.tooltip3:before {
	content: "";
	position: relative;
	top: 30px;
	height: 10px;
	display: inline-block;
	left: 0;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #72A159 transparent transparent transparent;
}

.tooltip2:before {
	content: "";
	position: relative;
	top: 30px;
	height: 10px;
	display: inline-block;
	left: 0%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #72A159 transparent transparent transparent;
}

.img_livescore {
	display: flex;
    color: #fff;
    font-size: 20px;
    font-style: italic;
    background-size: 100% 100%;
    height: 18px;
    width: calc(50% + 68px);
    margin-left: calc(50% - 18px - 50px) !important;
}

.img_livescore sup {
	font-size: 30%;
}

@font-face {
	font-family: "roboto_medium";
	src: url(../../font/roboto/Roboto-Medium.ttf)
}

@font-face {
	font-family: "roboto_thin";
	src: url(../../font/roboto/Roboto-Thin.ttf);
}

.tbl {
	display: table;
	width: 100%;
	min-height: 75px;
}

.tr, .tr1 {
	display: table-row;
	border: 1px solid red;
	max-height: 75px;
	height: 75px;
}

.tr1 {
	height: 49px;
	background-color: #F5F5F5;
	color: #444 !important;
}

.tr1:hover, .tr:hover {
	background-color: rgba(0, 0, 0, 0.075);
}

.td, .td2, .td3, .td0 {
	display: table-cell;
	border: 1px solid blue;
	vertical-align: middle;
	text-align: center;
	border: 1px solid #dee2e6;
	min-width: 145px;
	max-width: 450px;
	position: relative;
}

.td a {
	text-decoration: none;
}

.td2 {
	width: 200px;
}

.td3 {
	width: 200px;
}

.logo {
	width: 50px;
	height: 50px;
	margin: auto;
	background-size: 100% 100%;
	border-radius: 50%;
}



h1 {
	margin-bottom: 10px;
	font-weight: normal;
}

.inactive_event {
	color: red;
}

.active_event {
	color: green;
}

.msg {
	margin: auto;
    width: 100%;
    text-align: center;
}

#uploadImgs, #finance, #tourSettings, .setting_modal {
  display: none;   /*Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* upload form*/
.modal-content {
  position: relative;
  background-color: #323232;
  border-radius: 6px;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 375px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  right: 7px;
  top: 0;
  position: absolute;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  text-align: center;
  color: #636363;
  margin-top: 0;
  margin-bottom: 0px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.modal-header h2 {
	font-weight: bold;
	font-family: "Roboto-Light";
	margin-top: 15px;
	margin-bottom: 0px;
}

.modal-body {
	padding: 2px 16px;
	color: #000;
}

.modal-body td {
    background-color: #fff;
    text-align: left !important;
    height: 30px;
}

.modal-body td input:disabled {
    color: #ccc;
    border: 1px solid #ccc;
    background-color: #bbb2b2;
}

.title_row td {
    height: 15px;
    font-size: 12px;
    font-family: "Roboto-Light";
    color: #999;
}

.modal-body input, .modal-body select {
    width: 100% !important;
	  border-radius: 3px;
	  border: 1px solid #ced4da;
	  height: calc(1.5em + 0.75rem - 11px);
	  padding-left: 5px;
  	  background-color: #fff;
}

.modal-body input[type=checkbox] {
	height: 12px !important;
	width: 12px !important;
}

.modal-result {
	min-height: 100px;
	max-height: 100px;
	overflow: auto;
	scrollbar-width: none;
	color: #fff;
	font-size: 13px;
	font-family: "roboto_thin";
	padding-left: 5px;
}

.modal-footer {
  padding: 2px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #5aadf5;
  width: 100%;
  color: #fff;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 0px solid;
  font-weight: bold;
  font-size: 20px;
}

.modal-footer:hover {
	background-color: rgba(6, 37, 129, 0.8);
	color: rgba(255,255,255,0.8);
}
/*end upload form*/

.action_icon {
	width: 26px;
	height: 26px;
	cursor: pointer;
}

.action_icon:hover {
	opacity: 0.7;
}

.err {
	color: red;
}

.info {
	color: green;
}

.tbl input:disabled, .tbl select:disabled {
	border: none;
	outline: none;
	color: #0b0b0b;
	background-color: transparent;
	font-family: "roboto_medium";
	font-size: 16px;
	cursor: text;
	background-color: transparent;
	height: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	opacity: 1;
}

.tbl input, .tbl select {
	text-align: center;
	width: 100%;
}

.new_club_close_btn {
	background-image: url(../../img/icon/cancel_black100.png);
	background-size: cover;
	cursor: pointer;
	width: 25px;
	height: 25px;
	position: absolute;
	top: 5px;
	right: 5px;
}

#ratings, #rankings, #R16, #QUARTER_FINAL, #SEMI_FINAL, #NONE {
	width: unset !important; 
	height: unset !important; 
	margin: 0 !important;
}

 .dropped_date_mask {
     position: fixed;
     width: 100vw;
     height: 100vh;
     top: 0;
     left: 0;
     background-color: rgba(0,0,0,0.5);
     z-index: 2;
     display: none;
 }
 
 .dropped_date_form {
     width: 300px;
     height:175px;
     position: fixed;
     top: calc(50% - 175px / 2);
     left: calc(50% - 150px);
     background-color: #Fff;
     border-radius: 5px;
 }
 
 .form_date_head {
     width: 300px;
     height: 30px;
     text-align: center;
 }
 
 .dropped_date_form button {
     width: 80%;
           height: 40px;		      
     margin-left: 10%;
     margin-top: 20px;
     background-color: #5aadf5;
     border: 0; 
     border-radius: 5px;
     color: #fff;
 }
	
#btn_conf_container {
	position: absolute;
	bottom: 17px;
}

.close2:hover, .close2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.close2 {
  float: right;
  font-size: 28px;
  font-weight: bold;
  right: 7px;
  top: 0;
  position: absolute;
}

@media screen and (max-width: 1065px) {
	.in_td {
		margin-left: 4px;
		display: block;
		max-width: 430px;
		width: 320px;
	}
}

@media screen and (max-width: 1000px) {
	body {
		margin: 3px;
	}
	
	.in_td {
		margin-left: 4px;
		display: block;
		max-width: 150px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 150px;
	}
	
	.td2 {
		width: 55px;
	}
}

.create_btn {
  width: 30px;
  height: 30px;
  margin-top: -4px;
  margin-left: 5px;
  background-image: url(../../img/icon/new_100.png);
  background-size: cover;
  cursor: pointer;
}

.create_club_mask {
position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.6);
	z-index: 2;
	display: none;
}

.create_club_form {
	position: absolute;
	width: 310px;
	height: 350px;
	top: calc(50% - 375px / 2);
	left: calc(50% - 310px / 2);
	background-color: #f6f6f6;
	border-radius: 10px;
	padding: 15px;
}

#new_event_date, #new_name, #new_desc, #new_manager, #tour_id {
	width: 80%;
	margin: 10%;
	margin-bottom: 0;
	margin-top: 0;
}

.input_caption {
	width: 80%;
	margin: 10%;
	margin-bottom: 5px;
	margin-top: 10px;
	font-size: 13px;
	color: #0b0b0b;
}

.create_club_btn {
	background-color: #28a745;
	color: #f6f6f6;
	border: none;
	width: 80%;
	height: 48px;
	font-size: 18px;
	font-weight: bold;
	border-radius: 5px;
	margin-top: 5px;
	margin-left: 10%;
	margin-right: 10%;
	cursor: pointer;
}
	
.tr, .tr input:disabled, .tr select:disabled {
	font-size: 12px;
}

.setting_tbl input {
	width: 50px;
}

#show_confirm {
	height: 312px !important;
	top: calc(50% - 156px) !important;
}
	
@media screen and (max-width: 926px) {
	.in_td {
		width: 187px;
	}
	
	.img_livescore {
		margin-left: calc(50% - (174px + 50px) / 2) !important;
	}
	
	.seq {
		width: 30px;
		min-width: 30px !important;
	}
	
	#seq {
		width: 30px;
		min-width: 30px !important;
	}
	
	#logo {
		width: 60px;
		min-width: 60px !important;
	}
	
	.logo_his {
		width: 60px;
		min-width: 60px !important;
	}
	
	.event {
		width: 60px;
		min-width: 60px !important;
	}
	
	#reg {
		min-width: 60px;
	}
	
	.reg {
		min-width: 60px !important;
	}
}

@media screen and (max-width: 844px) {
	.in_td {
		width: 222px;
	}
}

@media screen and (max-width: 800px) {
	.in_td {
		width: 208px;
	}
}  

@media screen and (max-width: 844px) {
	.td, .td2, .td3, .td0 {
	  display: table-cell;
	  border: 1px solid blue;
	  vertical-align: middle;
	  text-align: center;
	  border: 1px solid #dee2e6;
	  min-width: 85px;
	  max-width: 450px;
	}
}

@media screen and (max-width: 724px) {
	.in_td {
		width: 200px;
	}
	.td2 {
		width: 200px;
	}
	
	.in_td {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 300px;
		max-width: 200px;
		max-width: 300px;
	}
	.td1, .td2, .td3 {
		max-width: 250px;
	}
	
	.hide {
		display: none;
	}
}

@media screen and (max-width: 598px) {
	.in_td {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 133px;
	}
	.td1, .td2, .td3 {
		max-width: 450px;
	}
}

@media screen and (max-width: 428px) {
	.in_td {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 121px;
	}
	.hide {
		display: none;
	}
	
	.modal-content {
		width: 100%;
	}
	
	.tooltip1 {
		left: -10px !important;
	}
	
	.tooltip4:before {
		content: "";
		position: relative;
		top: 30px;
		height: 10px;
		display: inline-block;
		left: -25%;
		margin-left: -5px;
		border-width: 5px;
		border-style: solid;
		border-color: #72A159 transparent transparent transparent;
	}
	
	.hide_portrait {
		display: none !important;
	}
	
	.manager {
		min-width: 50px !important;
		width: 50px !important;
	}
	
	.event {
		width: 120px !important;
		min-width: 120px !important;
	}
	
	.actions {
		width: 95px !important;
		min-width: 95px !important;
	}
	
	.logo {
		width: 45px;
		height: 45px;
	}
	
	.rem {
		width: 60px;
		min-width: 60px !important;
	}
	
	.past_event {
		width: 140px;
		min-width: 140px !important;
	}
	
	.past_event .in_td {
		width: 95%;
	}
	
	#show_confirm {
		height: 347px !important;
	}
}

@media screen and (max-width: 390px) {
	.in_td {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 106px;
	}
}

@media screen and (max-width: 375px) {
	.in_td {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 102px;
	}
	
	.td {
		max-width: 100px !important;
	}
	.td, .td2, .td3, .td0 {
	  display: table-cell;
	  border: 1px solid blue;
	  vertical-align: middle;
	  text-align: center;
	  border: 1px solid #dee2e6;
	  min-width: 106px;
	  max-width: 450px;
	}
	.td0 {
		max-width: 3px;
		min-width: 50px;
	}
	
	.hide {
		display: none !important;
	}
}

@media screen and (max-width: 340px) {
	.action_icon {
		width: 20px;
		height: 20px;
	}
	
	.td, .td2, .td3, .td0 {
		min-width: 75px;
	}
}

@media screen and (max-width: 320px) {
	.in_td {
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
		width: 83px !important;
	}
	
	.td, .td2, .td3, .td0 {
	  display: table-cell;
	  border: 1px solid blue;
	  vertical-align: middle;
	  text-align: center;
	  border: 1px solid #dee2e6;
	  min-width: 75px;
	  max-width: 450px;
	}

}

@media screen and (max-width: 316px) {
	.in_td {
		width: 75px !important;
	}
	
	.td, .td2, .td3, .td0 {
	  display: table-cell;
	  border: 1px solid blue;
	  vertical-align: middle;
	  text-align: center;
	  border: 1px solid #dee2e6;
	  min-width: 75px;
	  max-width: 450px;
	}
}