* {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	word-break: break-all;
}

body {
	font-size: 13px;
}

li {
	list-style: none;
}

div.header {
	background-color: #ed7700;
	margin: 0 0 20px 0;
}

div.toEntry {
	position: fixed;
	top: 0;
	left: 0;
	width: 50px;
	height: 50px;
	margin: 10px;
	color: #FFF;
	background-color: #ed7700;
}
div.toEntry div {
	width: 100%;
	height: 100%;
	display:flex;
	justify-content: center;
	align-items: center;
}
div.toEntry div img {
	width: 25px;
	height: 25px;
}

h1 {
	height: 72px;
	line-height: 72px;
	text-align: center;
	color: #fff;
	font-size: 20px;
}

.menu-btn {
	position: fixed;
	top: 10px;
	right: 10px;
	display: flex;
	height: 50px;
	width: 50px;
	justify-content: center;
	align-items: center;
	z-index: 90;
	background-color: #994d00;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
	content: '';
	display: block;
	height: 3px;
	width: 25px;
	border-radius: 3px;
	background-color: #ffffff;
	position: absolute;
}
.menu-btn span:before {
	bottom: 8px;
}
.menu-btn span:after {
	top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
	background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
	bottom: 0;
	transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
	top: 0;
	transform: rotate(-45deg);
}

.menu-content {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 80;
	background-color: #994d00;
}

.menu-content ul {
	padding: 70px 10px 0;
}

.menu-content ul li {
	border-bottom: solid 1px #ffffff;
	list-style: none;
}

.menu-content ul li a {
	display: block;
	width: 100%;
	font-size: 15px;
	box-sizing: border-box;
	color:#ffffff;
	text-decoration: none;
	padding: 9px 15px 10px 0;
	position: relative;
}
.menu-content ul li a::before {
	content: "";
	width: 7px;
	height: 7px;
	border-top: solid 2px #ffffff;
	border-right: solid 2px #ffffff;
	transform: rotate(45deg);
	position: absolute;
	right: 11px;
	top: 16px;
}

.menu-content {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 100%;
	z-index: 80;
	background-color: #994d00;
	transition: all 0.5s;
}

#menu-btn-check:checked ~ .menu-content {
	left: 0;
}

#menu-btn-check {
	display: none;
}

h3 {
	text-align: center;
}

a:link,
a:visited,
a:hover,
a:active {
	color: blue;
}

#login h3 {
	margin-bottom: 30px;
}


#login div.message {
	text-align: center;
	margin-bottom: 20px;
}

#login .login {
	//background-image: url('/public/assets/img/icon/Twitterlogo-white.png');
	background-size: 12%;
	background-position: 10px 50%;
	background-repeat: no-repeat;
	//padding: 8px 10px 8px 35px;
	padding: 8px 10px 8px 10px;
}

#login a,
#login a:visited {
	text-decoration: none;
}

div.loginData {
	text-align: center;
	color: #fff;
	font-size: 11px;
	margin: -45px 0 20px 0;
}

#loginForm {
	text-align: center;
	margin: 0 0 20px 0;
}

#loginForm input {
	width: 200px;
	margin: 10px 0 5px 0;
}

div.readmeTxt {
	display: flex;
	justify-content: center;
	padding: 10px;
}

div.readmeTxt div {
	width: 500px;
	padding: 20px 0;
}

#entryData div.entryDataHead {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 10px 0;
}

div.entryDataHead a,
div.entryDataHead a:visited {
	text-decoration: none;
	color: #fff;
}

#entryData div.entryDataHead div.btnCsv {
	margin: 0 10px;
	border-radius: 5px;
	font-size: 12px;
	padding: 3px 8px;
	color: #fff;
	background-color: #994d00;
	cursor: pointer;
}

#eventData div.remain span.red {
	color: #f00;
}

#eventData th,
#entryForm th,
#addEventForm th,
#editEventForm th,
#reportForm th {
	white-space: nowrap;
	font-size: 13px;
}

#event section,
#editEvent section {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
}

#addEvent section {
	margin-bottom: 30px;
}

#eventList ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#eventList ul li {
	position: relative;
	margin: 0 10px;
	border-width: 1px;
	border-color: #ccc;
	border-style: solid;
	padding: 10px 15px;
	margin-bottom: 30px;
	width: 20%;
	height: 300px;
}

#eventList ul li div.introduction {
	padding: 5px 0;
}

#eventList ul li div.lnk {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 15px 0;
	margin: 0 -15px;
}

#eventList ul li.empty {
	border: none;
}

div.eventName {
	font-size: 18px;
	font-weight: bold;
	display: flex;
	align-items: center;
}

div.ruleIMG img {
	max-width: 300px;
}

div.iconList {
	display: flex;
}

div.iconList div.icon {
	font-size: 10px;
	color: #fff;
	padding: 2px 3px;
	height: 15px;
	display: flex;
	border-radius: 3px;
	margin: 0 5px 0 0;
	line-height: 17px;
	font-weight: bold;
}

div.iconList div.icon_entry {
	background-color: #f00;
}

div.iconList div.icon_wait {
	background-color: #a0a;
}

div.iconList div.icon_now {
	background-color: #00f;
}

div.iconList div.icon_end {
	background-color: #aaa;
}


table {
	border-width: 1px;
	border-color: #ccc;
	border-style: solid solid none none;
}

table th,td {
	border-width: 1px;
	border-color: #ccc;
	border-style: none none solid solid;
	padding: 5px 10px;
}

table th {
	white-space: nowrap;
	background-color: #eee;
}

#entryData {
	
}

#entryData table {
	border-width: 1px;
	border-color: #ccc;
	border-style: solid solid none none;
}

#entryData table tr.self {
	background-color: #ff0;
}

#entryData table th,
#entryData table td {
	border-width: 1px;
	border-color: #ccc;
	border-style: none none solid solid;
	padding: 3px 5px;
	max-width: 130px;
}

#entryData span.comment {
	display: none;
}

table.entryTable td:nth-child(5) {
	text-align: center;
}

#addEventForm,
#editEventForm {
	display: flex;
	justify-content: center;
	margin-bottom: 0px;
}

input[type=text],
input[type=password] {
	padding: 5px 10px;
	border-width: 1px;
	border-color: #ccc;
	border-radius: 3px;
	border-style: solid;
	font-size: 14px;
	width: 65%;
}

input[name=correctionPer] {
	width: 80px;
}

.entryDate input[name=entryStart],
.entryDate input[name=entryEnd],
.eventDate input[name=eventStart],
.eventDate input[name=eventEnd],
.reportDate input[name=reportStart],
.reportDate input[name=reportEnd] {
	width: 100px;
	padding: 5px 5px;
	margin: 0 3px;
}

.entryDate input[name=entryStartTime],
.entryDate input[name=entryEndTime],
.eventDate input[name=eventStartTime],
.eventDate input[name=eventEndTime],
.reportDate input[name=reportStartTime],
.reportDate input[name=reportEndTime] {
	width: 50px;
	padding: 5px 5px;
	margin: 0 3px;
}


#addEvent input[type=checkbox],
#editEvent input[type=checkbox] {
	margin: 0 3px 0 0;
}

#addEvent label,
#editEvent label {
	margin: 0 12px 0 0;
}

#addEvent textarea,
#editEvent textarea {
	padding: 5px 5px;
	font-size: 14px;
	border-radius: 3px;
	border-style: solid;
	border-color: #ccc;
	width: 98%;
	height: 400px;
}

#addEvent textarea[name=introduction],
#editEvent textarea[name=introduction] {
	height: 120px;
}

div.options {
	display: flex;
	flex-wrap: wrap;
}
div.options div {
	white-space: nowrap;
	font-size: 10px;
	font-weight: bold;
	padding: 5px;
	background-color: #ccc;
	border-radius: 3px;
	margin: 0 2px 2px 2px;
}

#eventForm .imgPreview {
	display: inline;
}

#editLoginForm {
	width: 400px;
	margin: 0 auto;
	text-align: center;
}

#editLoginForm div {
	margin: 15px 0;
}

#editLoginTxt {
	margin: 0 auto 30px auto;
	text-align: center;
}

#editLoginForm div.btn {
	width: 100px;
	margin: 0 auto;
}

#reportLoginForm table {
	margin: 15px auto 25px auto;
}

#reportLoginForm table p {
	margin: 10px 0 0 0;
}

footer {
}

div.btmBtn {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}

div.btn {
	font-size: 13px;
	margin: 0 15px;
	border-radius: 8px;
	background-color: #663300;
	padding: 10px 10px;
	align-items: middle;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
}


div.del {
	background-color: #f00;
	display: none;
}

#login div.btn {
	display: flex;
	align-items: center;
	background-color: #00acee;
}

div.red {
	background-color: #f00;
}

div.gray {
	background-color: #aaa;
}

div.btn a:link,
div.btn a:visited {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

div.attention {
	text-align: center;
	color: #f00;
	padding: 5px 0px;
	font-size: 13px;
	font-weight: bold;
}

.modal,
.modal2 {
	display: none;
	width: 100%;
	height: 200vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9998;
}

.modal2 {
	z-index: 9999;
	display: none;
}

.modal-wrap {
	width: 100%;
	height: 50%;
	text-align: center;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
	white-space: nowrap;
}
.modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
.modal-bg {
	position: fixed;
	left: 0;
	top: 0;
	background: rgba(51, 51, 51, 0.8);
	width: 100%;
	height: 100%;
}

.modal2 .modal-bg {
	background-image: url('/public/assets/img/common/loading.svg');
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.modal-box {
	width: 100%;
	height: 100%;
	max-width: 300px;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	margin: 0 0 0 -70px;
}

#entryForm .modal-box,
#reportForm .modal-box,
#reportData .modal-box {
	max-width: 300px;
}

#reportData .modal-box {
	margin: 0 0 0 -48px;
}


.modal-box .inner {
	background: #fff;
	width: 355px;
	padding: 10px 10px;
	padding-bottom: 50px;

}

#imgModal .modal-box {
	max-width: 800px;
	text-align: center;
	margin: 0;
	padding: 80px 0 0 0;
}

#imgModal .inner {
	width: 350px;
	padding: 5px;
	margin: 0 auto;
}


.modal-box .inner p {
	margin: 0 0 20px 0;
	text-align: center;
}
.modal-box .inner > :first-child {
	margin-top: 0;
}

#entryForm table,
#reportForm table,
#reportData table {
	margin: 0 0 20px 0;
	width: 100%;
}

#entryForm .inner td,
#reportForm .inner td,
#reportData .inner td {
	text-align: left;
	white-space: nowrap;
}

#reportForm .inner td.orgComment,
#entryForm .inner td.comment,
#entryForm .inner td.resultComment {
	white-space: normal;
	word-wrap: break-word;
}

div.ruleBook {
	word-wrap: break-word;
}

#reportData .inner td {
	white-space: normal;
}

#entryData td.num {
	white-space: nowrap;
	text-align: right;
}

#entryForm td.name,
#reportForm td.name,
#reportData td.name {
	white-space: normal;
	text-align: left;
}

#entryData td.stsBtn {
	text-align: center;
	white-space: nowrap;
}


div.imgPreview {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding: 10px 0 0 0;
}

div.imgPreview img {
	margin-right: 5px;
	margin-bottom: 5px;
}

#entryForm,
#reportForm,
#reportData {
	padding: 0 0 0 0;
}

#reportData .inner {
	width: 354px;
	margin-left: -11px;
}

#entryForm [name=setting],
#entryForm [name=successCnt1],
#entryForm [name=successCnt2] {
	width: 18px;
	text-align: center;
}

#entryForm [name=per] {
	width: 60px;
}
#entryForm [name=gameCnt],
#entryForm [name=coinCnt],
#entryForm [name=average],
#entryForm [name=successPer],
#entryForm [name=result],
#entryForm [name=correction],
#reportForm [name=gameCnt],
#reportForm [name=coinCnt],
#reportForm [name=average],
#reportForm [name=successPer],
#reportForm [name=result],
#reportForm [name=correction] {
	width: 80px;
}

#entryForm textarea,
#reportForm textarea {
	width: 98%;
	height: 150px;
	padding: 5px;
	font-size: 14px;
}


#entryData input[name="setting"],
#entryData input[name="successCnt1"],
#entryData input[name="successCnt2"],
#reportForm input[name="successCnt1"],
#reportForm input[name="successCnt2"]
 {
	width: 18px;
}

#entryData input[name="machineName"] {
	width: 200px;
}

#entryData input[name="makerName"] {
	width: 100px;
}
#entryData input[name="gameCnt"],
#entryData input[name="result"] {
	width: 60px;
}

#entryData th,
#entryData td {
	font-size: 10px;
}

#editEvent #entryData {
	margin-bottom: 100px;
}

#entryData div.btn {
	padding: 5px 10px;
}

label {
	display: inline-block;
}

label div.btn {
	margin: 0 0 0 0;
}

div.ex {
	margin: 5px 0 0 0;
}

span.required {
	font-size: 12px;
}

input[type=file] {
	display: none;
	max-width: 200px;
}

#entryData th:nth-child(4),
#entryData td:nth-child(4),
#entryData td:nth-child(13),
#entryData td:nth-child(14),
#entryData td:nth-child(15),
#entryData td:nth-child(16),
#entryData td:nth-child(17),
#entryData td:nth-child(18),
#entryData td:nth-child(20),
#entryData td:nth-child(21),
#entryData td:nth-child(22) {
	display: none;
}

#entryData td span.unit {
	font-size: 10px;
}

#entryData div.btnList {
	display: flex;
	justify-content: center;
	margin: 5px 0 10px 0;
}

#entryData div.btnList div {
	margin: 0 10px;
	border-radius: 5px;
	font-size: 12px;
	padding: 3px 8px;
	color: #fff;
	background-color: #994d00;
	cursor: pointer;
} 

#entryData  table tr.flash {
	animation: flash 2s linear infinite;
	background:#FCC;
}

.ex {
	font-size: 10px;
}

#entryData  table div.rank {
	font-size: 9px;
}

div.imgPreview div {
	display: flex;
}

div.imgPreview div span {
	display: inline-block;
	width: 20px;
	height: 20px;
	z-index: 2;
}

div.imgPreview div span img.icon {
	width: 20px;
	height: 20px;
	z-index: 2;
}

div.imgPreview div img.photo {
	margin: 0 5px 5px -20px;
	z-index: 1;
	
}

div.searchEntry {
	text-align: center;
	padding: 10px 0;
}

div.searchEntry div.form {
	display: flex;
	justify-content: center;
	padding: 10px 0;
}

div.searchEntry input[type=text] {
	width: 150px;
}

div.searchEntry div.form div {
	height: 20px;
	padding: 5px 10px;
}

@keyframes flash {
	0%,100% {
	opacity: 1;
	}

	50% {
	opacity: 0.3;
	}
}

@media screen and (max-width:900px) {
#eventList ul li {
	position: relative;
	margin: 0 10px;
	border-width: 1px;
	border-color: #ccc;
	border-style: solid;
	padding: 10px 15px;
	margin-bottom: 30px;
	width: 30%;
	height: 300px;
}

}

@media screen and (max-width:480px) {

div.ruleIMG img {
	max-width: 235px;
}


.btnCsv {
	display: none;
}

#entryData th:nth-child(4),
#entryData th:nth-child(5),
#entryData th:nth-child(6),
#entryData th:nth-child(7),
#entryData th:nth-child(8),

#entryData td:nth-child(4),
#entryData td:nth-child(5),
#entryData td:nth-child(6),
#entryData td:nth-child(7),
#entryData td:nth-child(8) {
	display: none;
}

#eventList ul li {
	width: 80%;
	height: 260px;
}

#entryData table {
	font-size: 10px;
	font-weight: bold;
}

#entryData table th,
#entryData table td {
	max-width: 80px;
}

#entryData td span.unit {
	display: none;
}


input{ font-size:16px; }


div.btn {
	font-size: 10px;
	margin: 0px;
	padding: 3px 8px;
}

#reportForm input[type=file] {
	width: 100px;
}

}

#eventList ul li.noentry {
	text-align: center;
	border: 0;
}
