/* GENERAL */
html {
	background: #f1f7f7 no-repeat center center;
	background-size: 105%;
	background-image: url('../images/banner.jpg');
	height: 100%;
	color: #333;
	font-family: sans-serif;
	font-size: 10px;
	line-height: 1.5;
}
* {
	box-sizing: border-box;
}
body {
	font-size: 1.6rem;
}
.inner {
	margin: 0 auto;
	max-width: 120rem;
}
.btn-terms-modal {
	color: #2172c3;
	text-decoration: none;
}
@media screen and (max-width:768px) {
	html {
		font-size: 8px;
	}
	main {
		padding-bottom: 5rem;
	}
}

/* FORMS */
.forms .col-2 div:first-child img {
	width: 100%;
	max-width: 700px;
}
.forms input[type=file],
.forms input[type=text],
.forms input[type=email],
.forms input[type=date],
.forms select,
.forms button {
	width: 100%;
	padding: 1rem;
	background: #c6cbd1;
	border: none;
	border-radius: 0.4rem;
	font-weight: 600;
	outline: 0;
}
.forms button {
	cursor: pointer;
	background: #3154a5;
	color: #fff;
}
.forms table {
	width: 100%;
}
.forms table td {
	padding: 0.5rem 1rem;
	font-size: 1.2rem;
}
.group-members-list td {
	padding: 0.5rem !important;
}
.forms label {
	display: block;
	margin-bottom: 0.2rem;
	font-weight: 600;
	color: #666;
}
.forms h2 {
	margin-top: 2rem;
	font-weight: 600;
}
.forms h2:first-child {
	margin-top: 0;
}
.forms .form-message-error,
.forms .form-message-success {
	margin: 0 1rem 1rem 1rem;
	padding: 1rem;
	border-radius: 0.5rem;
	color: #fff;
	line-height: 1.5;
}
.forms .form-message-error {
	background: #f00;
}
.forms .form-message-success {
	background: #0c0;
}
.forms .has-error label {
	color: #f00;
}
.forms .has-error input,
.forms .has-error select {
	background: #f00;
	color: #fff;
}
.forms .text-error {
	margin-top: 0.5rem;
	font-weight: 600;
	color: #f00;
}
.forms .guest-other-district,
.forms .group-other-district,
.forms .individual-other-district {
	display: none;
	margin-top: 0.5rem;
}
.forms .guest-other-club,
.forms .group-other-club,
.forms .individual-other-club {
	display: none;
}
.forms .guest-other-position,
.forms .group-other-position,
.forms .individual-other-position {
	display: none;
}
.forms tr.col2 td {
	width: 50%;
}
.forms .group-members-list td:first-child {
	vertical-align: middle;
	font-size: 1.6rem;
	font-weight: 600;
}
.forms .registration-fee,
.forms .total-group-members,
.individual-total-voucher-amount,
.group-total-voucher-amount {
	margin-top: 1rem;
	font-size: 2rem;
}
.forms label img {
	width: 12px !important;
}
@media screen and (max-width:768px) {
	.forms .col-2 div:first-child img {
		width: 320px;
	}
}
@media screen and (max-width:425px) {
	.forms table td,
	.forms tr.col2 td {
		display: block;
		width: 100% !important;
	}
}

/* MODAL */
.modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -155px;
	margin-top: -105px;
	width: 31rem;
	height: 25rem;
	z-index: 101;
	padding: 2rem 1rem;
	background: #fff;
	border-radius: 1rem;
	text-align: center;
	line-height: 1.1;
}
.how-to-pay-modal {
	display: none;
	position: fixed;
	top: 1px;
	left: 20%;
	width: 950px;
	height: 800px;
	z-index: 101;
	padding: 2rem 1rem;
	border-radius: 1rem;
	text-align: center;
	line-height: 1.1;
}
.how-to-pay-img {
	width: 800px;
}
.modal strong {
	font-weight: 600;
	font-size: 1.4rem;
}
.terms-modal {
	display: none;
	position: fixed;
	top: 0px;
	right: 2rem;
	bottom: 2rem;
	left: 2rem;
	z-index: 101;
	padding: 2rem 1rem;
	background: #fff;
	border-radius: 1rem;
	line-height: 1.2;
}
.terms-modal .content {
	display: block !important;
	position: absolute;
	top: 6rem;
	left: 2rem;
	right: 2rem;
	bottom: 5rem;
	overflow-y: scroll;
}
.terms-modal h2 {
	font-size: 2rem;
	font-weight: 600;
}
.terms-modal h3 {
	margin-top: 2rem;
	font-size: 1.8rem;
	font-weight: 600;
}
.terms-modal h3:first-child {
	margin-top: 0;
}
.terms-modal h4 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-weight: 600;
}
.terms-modal p {
	margin-bottom: 0.5rem;
	line-height: 1.5;
}
.terms-modal ul {
	margin-bottom: 1rem;
}
.terms-modal ul li {
	padding-left: 1rem;
	list-style: inside circle;
	line-height: 1.5;
}
.terms-modal ul li ul {
	padding-left: 1rem;
}
.terms-modal ul li ul li {
	list-style: inside disc;
}
.terms-modal a {
	position: absolute;
	bottom: 1.5rem;
	display: block;
	width: 100%;
	text-align: center;
}
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	background: rgba(0,0,0,0.8);
}
@media screen and (max-width:500px) {
	.terms-modal .content {
		top: 8rem;
	}
}

/* TAB CONTENTS */
.tab-contents-wrapper ul {
	overflow: hidden;
}
.tab-contents-wrapper ul li {
	float: left;
	margin-right: 1px;
}
.tab-contents-wrapper ul li a {
	display: block;
	padding: 1.5rem 2rem;
	background: #aaa;
	text-decoration: none;
	font-size: 1.4rem;
	font-weight: 600;
	color: #666;
	border-top-left-radius: 1rem;
	border-top-right-radius: 1rem;
	line-height: 1;
}
.tab-contents-wrapper ul li a:hover {
	background: #ccc;
}
.tab-contents-wrapper ul li a.active {
	background: #fff;
	color: #2172c3;
}
.tab-contents .content {
	display: none;
	padding: 2rem 1rem;
	background: #fff;
	border-radius: 1rem;
	color: #333;
	box-shadow: 0 0 1rem rgba(0,0,0,0.25);
}
.tab-contents .content.active {
	margin: 10px;
	display: block;
}
@media screen and (max-width:768px) {
	.tab-contents-wrapper {
		padding: 0 2rem;
	}
}

/* 2 COLUMNS */
.col-2 {
	overflow: hidden;
}
.col-2 > * {
	display: block;
	float: left;
	margin-bottom: 2rem;
}
.col-2 > div:first-child {
	width: 35%;
}
.col-2 > div:last-child {
	width: 65%;
}
.col-2 > *:nth-child(odd) {
	padding-right: 2rem;
}
.col-2 > *:nth-child(even) {
	padding-left: 2rem;
}
@media screen and (max-width:1024) {
	.how-to-pay-img {
		width: 100%;
	}
	.how-to-pay-modal {
		left: 0%;
	}
}
@media screen and (max-width:768px) {
	.col-2 > * {
		float: none;
		width: 100%;
	}
	.col-2 > div:first-child {
		width: 100%;
		text-align: center;
	}
	.col-2 > div:last-child {
		margin-top: 330px;
		width: 100%;
	}
	.col-2 > *:nth-child(odd) {
		padding-right: 0;
	}
	.col-2 > *:nth-child(even) {
		padding-left: 0;
	}
	.how-to-pay-img {
		width: 100%;
	}
}