@CHARSET "utf-8";

h2 {
	font-size: 1.5em;
	margin-top: 0px;
	margin-bottom: 0px;
}

h2.noticeTitle {
	margin-top: 10px;
}

h3 {
	font-size: unset;
}

/* リンクボタンデザイン変更 */
a:not(.ui-corner-all) {
	position: relative;
	display: inline-block;
	padding: 0.5em 1.0em;
	text-decoration: none;
	color: #FFF;
	background: #8d5aa2; /*背景色*/
	border-bottom: solid 2px #8d5aa2; /*少し濃い目の色に*/
	border-radius: 4px; /*角の丸み*/
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 2px 2px
		rgba(0, 0, 0, 0.19);
	font-weight: bold;
}

a.contact {
	text-decoration: underline;
	background: none;
	border: none;
	color: -webkit-link;
	cursor: pointer;
	box-shadow: none;
	padding: unset;
	font-weight: unset;
	position: static;
	display: unset;
	border-radius: unset;
}

form {
	border: 0;
	padding: 5px 5px 5px 0;
	border-radius: 3px;
	/*margin: 0 0 20px;*/
}

input, select {
	margin: 5px;
	padding: 6px;
	font-size: 3vw;
}

footer {
	width: 100%;
	position: absolute;
	bottom: 0;
}

.wrapper {
	min-height: 98vh;
	position: relative; /*←相対位置*/
	padding-bottom: 30px; /*←footerの高さ*/
	box-sizing: border-box; /*←全て含めてmin-height:100vhに*/
}

.back {
	margin-left: 20px;
}

.bottom {
	width: 100%;
	position: absolute;
	bottom: 30px;
	margin-left: -20px;
}

.logout {
	color: #fff;
	background-color: #a47ab5;
	border-radius: 4px;
	border: none;
	-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
	box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
	text-decoration: none;
}

#page-top {
	display: block;
}

[type="submit"] {
	font-size: 5vw;
}

[name="exec"] {
	width: 85%;
}

[name="cancel"] {
	width: 85%;
}

[name="login"] {
	width: 85%;
}

[name="add"] {
	width: 82vw;
	margin-left: 20px;
}

/* appSettings画面 */
table.appSettings {
	min-width: 360px;
}

/* パスワード変更画面 */
.btnPwd {
	font-size: 3vw;
}

/* 混雑状況表示 */
.searchBar {
	margin-bottom: 30px;
	height: auto;
}

.searchBar a.reload {
	display: inline-block;
}

.searchBar #reload {
	display: none;
}

.updateLink {
	margin-left: 30px;
}

.statusIcon {
	width: 75px;
	height: 75px;
}

td.pollingPlaceName>a {
	width: 60%;
	min-width: 200px;
}

/* 本部メニュー */
div.menu {
	border: 1px solid #000;
}

div.menu>ul {
	list-style: none;
	margin-left: -40px;
}

div.menu ul>li {
	list-style: none;
	text-align: center;
}

div.menu li>a {
	width: 85%;
	margin-bottom: 5px;
	text-align: center;
}

div.submitBtn {
	padding-left: 10px;
	padding-right: 10px;
}

div.adjustment {
	margin-left: -20px;
}

.congestionHistory .statusIcon {
	width: 50px;
	height: 50px;
}

/* レスポンシブテーブル */
.responsiveTable {
	width: 80%;
	border: none;
	padding: 0px;
	margin-top: 0px;
}

.responsiveTable .thead {
	visibility: hidden;
	margin-top: -20px;
}

.responsiveTable thead {
	display: none;
}

.responsiveTable tr, .responsiveTable td {
	display: block;
	width: 100%;
	position: relative;
	padding: 0px;
}

.responsiveTable td:first-child:before {
	background: #f4e3fb;
	box-sizing: border-box;
	font-weight: bold;
	position: absolute;
	display: block;
	border: 1px solid black;
	margin-top: 0px;
	padding-left: 10px;
	font-size: 2.5vw;
	text-align: center;
	height: 42px;
	line-height: 40px;
	top: -41px;
}

.responsiveTable tr {
	margin-bottom: 40px;
	border: none;
}

.responsiveTable tr:last-child {
	margin-bottom: 15px;
}

.responsiveTable td {
	border: none;
	border-bottom: 1px solid black;
	border-left: 1px solid black;
	border-right: 1px solid black;
	padding: 10px;
}

.inputTable {
	box-sizing: border-box;
	border-collapse: collapse;
	width: 80%;
}

.inputTable th {
	border: none;
	text-align: center;
	padding: 4px 12px;
	display: block;
	width: auto;
	box-sizing: border-box;
}

.inputTable td {
	border: none;
	border-top: 1px solid #000;
	padding: 4px 12px;
	display: block;
	width: auto;
	box-sizing: border-box;
}

table.congestionHistory td:first-child:before {
	content: "更新時刻／混雑状況／備考／更新ユーザー";
}

table.congestion td:first-child:before {
	content: "混雑状況／備考";
}

table.congestionList td:first-child:before {
	content: "投票所名称／混雑状況／備考／更新時刻／更新ユーザー";
}

div.indexList>table.congestionList td:first-child:before {
	content: "投票所名称／混雑状況／備考／更新時刻";
}

table.contactTable td:first-child:before {
	content: "No.／操作／タイトル／詳細／通知・非通知";
}

/* 調整用CSS  */
@media screen and (min-width: 360px) {
	.responsiveTable td:first-child:before {
		width: 100.7%;
		left: -0.3%;
	}
}

@media screen and (min-width: 420px) {
	.responsiveTable td:first-child:before {
		width: 100.5%;
		left: -0.2%;
	}
}

@media screen and (min-width: 600px) {
	.responsiveTable td:first-child:before {
		width: 100.4%;
		left: -0.2%;
	}
}

@media screen and (min-width: 800px) {
	.responsiveTable td:first-child:before {
		width: 100.3%;
		left: -0.1%;
	}
}

@media screen and (min-width: 1230px) {
	.responsiveTable td:first-child:before {
		width: 100.2%;
		left: -0.1%;
	}
}

@media screen and (min-width: 360px) {
	table.congestionHistory td:first-child:before {
		font-size: 12px;
	}
	table.congestion td:first-child:before {
		font-size: 12px;
	}
	table.congestionList td:first-child:before {
		font-size: 10.5px;
	}
	table.contactTable td:first-child:before {
		font-size: 12px;
	}
}

@media screen and (min-width: 650px) {
	table.congestionHistory td:first-child:before {
		font-size: 1.8vw;
	}
	table.congestion td:first-child:before {
		font-size: 1.8vw;
	}
	table.congestionList td:first-child:before {
		font-size: 1.8vw;
	}
	table.contactTable td:first-child:before {
		font-size: 1.8vw;
	}
}

table.congestionList td.pollingPlaceName {
	text-align: center;
}

/* 混雑状況登録 */
table.congestion input[type="radio"] {
	display: none;
}

table.congestion input[type="radio"]:checked+label {
	background: orange;
}

table.congestion label {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	height: 100%;
	display: block;
	padding-bottom: 10px;
}

table.congestion .radio {
	width: 50px;
	height: 50px;
}

table.congestion .textarea {
	width: 99%;
	height: 150px;
	font-size: 20px
}

table.congestionHistory td.memo {
	word-break: break-all;
}

a.reload {
	cursor: pointer;
	position: relative;
	display: inline-block;
	background-color: rgba(255, 255, 255, .9);
	border: 2px solid #8d5aa2;
	color: #000;
	border-radius: 25px;
	white-space: nowrap;
	margin: 8px 0px 3px;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}

a.reload:hover {
	border: 2px solid #8d5aa2;
	background-color: #8d5aa2;
}

a.reload>svg {
	position: relative;
	top: 2px;
	margin-right: 3px;
}

a.reload>span {
	position: relative;
	top: -3px;
	font-weight: 200;
}

/* トグルボタン */
ul.ks-cboxtags {
	list-style: none;
	margin-top: 0px;
	margin-bottom: 10px;
	padding-left: 0px;
}

ul.ks-cboxtags li {
	display: inline-block;
}

ul.ks-cboxtags li label {
	display: inline-block;
	background-color: rgba(255, 255, 255, .9);
	border: 2px solid rgba(139, 139, 139, .3);
	color: #adadad;
	border-radius: 25px;
	white-space: nowrap;
	margin: 3px 0px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: all .2s;
	padding: 6px 10px;
}

ul.ks-cboxtags li label::before {
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 12px;
	padding: 2px 6px 2px 2px;
	transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked+label {
	border: 2px solid #8d5aa2;
	background-color: #8d5aa2;
	color: #fff;
	transition: all .2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
	position: absolute;
	opacity: 0;
}

ul.ks-cboxtags li input[type="checkbox"]:focus+label {
	border: 2px solid #8d5aa2;
}

/* 連絡事項 */
div.topButton {
	text-align: center;
	margin-left: 15px;
}

table.contactTable {
	margin-top: 50px;
	width: 80%;
}

table.contactTable .ope a {
	width: 10%;
}

/* 連絡項目追加 */
/* table.inputTable td { */
/*     margin: 2px; */
/* } */
table.inputTable td>input {
	padding: 6px;
}

table.inputTable td>textarea {
	margin: 0px;
}

table.inputTable .inputTitle {
	width: 98%;
	box-sizing: border-box;
	font-size: 20px;
}

table.inputTable .detail {
	width: 100%;
	font-size: 20px;
}

.outsideHourText {
	font-size: 2vw;
}

@-moz-document url-prefix(){
	a.contact {
	    color: -moz-hyperlinkText;
	}
}