* {
	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: fixed;
	display: none;
	top: 60px !important;
	right: 5px !important;
	left: unset !important;
	color: #fff;
	font-size: 8px;
	padding: 0;
}

.tooltip1::before {
	border-color: transparent;
	background-color: transparent;
}

.tooltip_text {
	margin-top: -13px;
}

.action_icon:hover .tooltip1 {
  display: block;
}

.img_livescore {
	display:flex;
    color: #fff;
    font-size: 20px;
    font-style: italic;
    background-size: 100% 100%;
    height: 20px;
	align-items: center;
    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 {
  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: 50%;
  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 {
  color: #636363;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.modal-body {
	padding: 2px 16px;
	color: #000;
    background-color: #fff;
}

.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;
}

.event_date:disabled, .desc:disabled, .logo_img_url:disabled, .manager:disabled, .seq:disabled {
	border: none;
	outline: none;
	color: #0b0b0b;
	background-color: transparent;
	font-family: "roboto_medium";
	font-size: 16px;
	cursor: text;
	background-color: transparent;
	height: 30px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 100%;
	opacity: 1;
}

.event_date, .desc, .logo_img_url, .seq {
	width: 100%;
	text-align: center;
}

.permission_button {
	
}

.create_btn {
	width: 30px;
	height: 30px;
	margin-top:0;
	margin-left: 5px;
	background-image: url(../../img/icon/new_100.png);
	background-size: cover;
	cursor: pointer;
}

.create_btn:hover, .new_club_close_btn:hover, .create_club_btn:hover {
	opacity: 0.8;
}

.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 {
	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;
}

.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;
}

.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;
}

.inactive {
	display: none;
}

.inactive input, .inactive select, .inactive div {
	text-decoration: line-through;
}



.toggle-pill-color input[type="checkbox"] {
  display: none;
}
.toggle-pill-color input[type="checkbox"] + label {
  display: block;
  position: relative;
  width: 40px;
  height: 21px;
  margin-bottom: 20px;
  border-radius: 1em;
  background: #e84d4d;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-transition: background 0.1s ease-in-out;
  transition: background 0.1s ease-in-out;
  margin-left: 5px;
  margin-right: 5px;
}
.toggle-pill-color input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 1em;
  background: #fff;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 2px;
  top: 2px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.toggle-pill-color input[type="checkbox"]:checked + label {
  background: #47cf73;
}
.toggle-pill-color input[type="checkbox"]:checked + label:before {
  box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
  left: 22px;
}

.filter_container {
	display: flex;
}


@media screen and (max-width: 1065px) {
	.in_td {
		height: 16px;
		margin-left: 4px;
		display: block;
		max-width: 430px;
		width: 320px;
	}
}

@media screen and (max-width: 1000px) {
	body {
		margin: 3px;
	}
	
	.in_td {
		height: 16px;
		margin-left: 4px;
		display: block;
		max-width: 150px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 150px;
	}
	
	.td2 {
		width: 55px;
	}
}

@media screen and (max-width: 926px) {
	.in_td {
		width: 187px;
	}
		
	.img_livescore {
		margin-left: calc(50% - (211px + 50px) / 2) !important;
	}	
	
	.desc, .date {
		max-width: 102px !important;
	}
	
	.info, .manager {
		max-width: 100px !important;
	}
	
	.logo_col {
		max-width: 80px !important;
		min-width: 80px !important;
		width: 80px !important;
	}
	
	.td2 input, .td3 input, .td0 input {
	  max-width: 102px;
	  min-width: 100px !important;
	}
	
	.action_icon {
		width: 20px !important;
		height: 20px !important;		
	}
	
	.td3 {
	  max-width: 102px !important;
	  min-width: 100px !important;
	  width: 102px;
	}
	
	.td, .td2, .td3, .td0 {
	  min-width: 98px !important;
	}
}

@media screen and (max-width: 844px) {
	.in_td {
		width: 222px;
	}
	
	.td, .td2, .td3, .td0 {
	  display: table-cell;
	  border: 1px solid blue;
	  vertical-align: middle;
	  text-align: center;
	  border: 1px solid #dee2e6;
	  min-width: 129px;
	  max-width: 450px;
	}
}

@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: 122px;
	  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;
	}
}

@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: 90%;
	}
	
	.tooltip1, .tooltip2, .tooltip3, .tooltip4 {
	}
	
	.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;
	}
	
	.img_livescore {
		font-size: 13px;
		margin-left: 10px !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;
	}
}