/* # event.fetistodon.com CSS */
@charset "utf-8";

/* ## Format */
html,body,figure,h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,img,a,textarea{
	margin:0;
	padding:0;
	border:0;
	font-family: sans-serif;
	font-size: 20px;
	font-weight: normal;
	color: #47585c;
	line-height: 1.8em;
}
body{
	-webkit-text-size-adjust: 100%;
}

/* ## Common */

/* ### Global Header */
.globalHeader {
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	border-bottom: 1px #47585c solid;
	position: fixed;
	top: 0;
	width: 100%;
	background: url("/icon_eye.png") no-repeat;
	background-size: 60px; 
	background-position: 10px 20px;
	background-color: #fff;
}
h1 {
	font-size: 25px;
	font-weight: bold;
	line-height: 30px;
	margin: 20px 0 20px 80px;
}
h1 a {
	font-size: 25px;
	font-weight: bold;
	line-height: 30px;
}
h1 .credit {
	font-size: 20px;
	font-weight: normal;
	display: inline-block;
}
.globalHeader p {
	margin: 20px 20px 20px 0;
}
.globalHeader a.globalNav {
	line-height: 62px;
	margin-left: 20px;
}

/* ### Global Footer */
footer {
	text-align: center;
	margin: 0 60px 60px;
}

/* ### Image Gallery */
#imgGallery .pageContents {
	display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	margin: 120px 10px 60px;
	list-style: none;
}
#imgGallery .pageContents a {
}
#imgGallery .pageContents a img {
  width: 200px;
  height: 200px;
	object-fit:cover;
	vertical-align:top;
}

/* ## Modal */
#cboxOverlay {
	opacity: 0.1 !important;
}
#colorbox {
	width: 100% !important;
	height: 100dvh !important;
	top: 0 !important;
	left: 0 !important;
	background: #fff !important;
	opacity: 1;
	position: fixed;
}
#colorbox #cboxWrapper {
	width: 100% !important;
	height: 100dvh !important;
}
#colorbox #cboxWrapper #cboxContent {
	width: 100% !important;
	background: #fff;
	margin: 0;
}
#colorbox #cboxWrapper #cboxContent #cboxLoadingOverlay {
	background: #fff;
}
#colorbox #cboxWrapper #cboxContent #cboxLoadingGraphic {
	background: #fff;
}
#colorbox #cboxWrapper #cboxContent #cboxLoadedContent {
	width: 100% !important;
	height: 100dvh !important;
	top: 0 !important;
	left: 0 !important;
	margin: 0;
	padding: 0;
	color: #47585c;
	background: #fff;
}
#colorbox #cboxWrapper #cboxContent #cboxLoadedContent img {
	max-width: 640px;
	max-height: 640px;
	vertical-align: top;
}
.imgArea {
	text-align: center;
	background: #444;
	margin-bottom: 40px;
}
.txtArea {
	padding: 0 40px;
	margin-bottom: 40px;
	list-style: none;
}
.txtArea li {
	margin-bottom: 20px;
}
#colorbox #cboxWrapper #cboxContent #cboxPrevious,
#colorbox #cboxWrapper #cboxContent #cboxNext,
#colorbox #cboxWrapper #cboxContent #cboxClose {
	display: none;
}
.txtArea p {
	margin-bottom: 20px;
}
.mdlNav {
	display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 10px;
	margin: 0 40px 40px;
	text-align: center;
	list-style: none;
	height: 30px;
}
.mdlNav li {
	background: #efefef;
}
.mdlNav a {
	display: inline-block;
	line-height: 30px;
	width: 100%;
	cursor: pointer;
}
@supports (-webkit-touch-callout: none) {
    .modal {
        height: -webkit-fill-available;
    }
}

/* ## How To */
#howto .pageContents {
	margin: 160px 40px 40px;
}
#howto .pageContents h2 {
	font-weight: bold;
	margin-bottom: 20px;
}
#howto .pageContents section {
	margin: 40px 0 40px;
}
#howto .pageContents p {
	margin-bottom: 20px;
	text-align: justify;
}
#howto .pageContents table {
	margin-bottom: 20px;
}
#howto .pageContents .format textarea {
	padding: 10px;
	width: 225px;
	height: 200px;
	border: 1px #47585c solid;
}
#howto .pageContents .format .arrow {
	margin: 10px;
}
#howto .pageContents .format .copyButton {
	margin: 0 10px;
	font-size: 0.8em;
	padding: 6px 2px;
	line-height: 0.5em;
}
#howto .pageContents ul {
	list-style: inside;
}
#howto .pageContents li {
	margin-bottom: 10px;
  text-indent:-1em;
  padding-left:1em;	
}
#howto .pageContents li:last-child {
	margin-bottom: 0;
}
