body{
	background:#FFFFFF;
	font-family: 'Open Sans', sans-serif;
}
section{
	background:#FFFFFF;
	border-bottom: 4px solid #00cccc;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.05), 0px 20px 20px rgba(0, 0, 0, 0.05), 0px 30px 20px rgba(0, 0, 0, 0.05);
	margin:50px 0;
}
nav{
	background:#222;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.05), 0px 20px 20px rgba(0, 0, 0, 0.05), 0px 30px 20px rgba(0, 0, 0, 0.05);
	padding:40px 25px 25px;
	/*text-align: right;*/
}
nav a{
	color:#DDD;
	text-decoration: none;
	font-size:18pt;
	line-height:1.8;
}
@media only screen and (max-width: 1250px) {
	section{
		margin:0px;
	}
}
@media only screen and (max-width: 800px) {
	nav, section{
		box-shadow: 0px;
	}
	section{
		margin:0px;
	}
	nav {
		padding:12px;
	}
}
section{
	padding: 0px;
}
section > *:not(table):not(h1):not(form){
	margin:20px;
}
@media only screen and (max-width: 660px) {
	section > *:not(table):not(h1):not(form) {
		margin: 5px;
	}
}
main h1 {
	display: block;
	width: auto;
	padding: 20px;
	margin: 0 0 20px 0;
	background: #00cccc;
	color: #fff;
	text-transform: uppercase;
	font-size: 18px;
}

.grid {
	display: grid;
	grid-template-columns: auto 1fr 1fr 1fr 1fr;
	grid-gap: 1.2em 0.6em;
	grid-auto-flow: row;
	align-items: center;
}
.label {
	grid-column: 1 / 2;
	justify-self: end;
	align-self: start;
	margin: 0;
	font-weight: bold;
}

.data {
	grid-column: 2 / -1;
	margin: 0;
}
.grid input[type=submit], .right{
	grid-column: 5 / 6;
}
.grid input[type=radio]{
	border:5px solid #AAAAAA;
	border-radius:10px;
	/* background:#0DFF92; */
	-webkit-appearance: none;
	width:20px;
	height:20px;
	outline: none;
	margin-bottom:-4px;
}
.grid input[type=radio]:checked{
	border:5px solid #0DFF92;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), inset 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.grid input[type=radio]:checked + span{
	font-weight:bold;
	/* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4); */
}
.grid table{
	border-collapse: collapse;
}
.grid table, tr, td{
	padding:0;
	margin:0;
}
@media only screen and (max-width: 660px) {
	input[type=radio] + span{
		display:block;
		font-size: 14px;
	}
	/* .grid{
		grid-template-columns: 1fr 1fr 1fr 1fr;
		text-align: center;
	} */
	/* .label{
		grid-column: 1 / -1;
		justify-self: start;
	}
	.data{
		grid-column: 1 / -1;
		text-align:left;
	} */
	input[type=submit], .right {
		grid-column: 3 / 5;
	}
}

.photogrid{
	display: grid;
	grid-auto-flow: row;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	align-items: start;
	text-align: right;
}
.photogrid img{
	width:100%;
	display:block;
}
.photogrid div{
	position:relative;
	padding:0;margin:0;
	overflow:hidden;
	text-align: left;
}
.photogrid .inset{
	text-decoration: none;
	display:block;
	position:absolute;
	bottom:0;
	right:0;
	padding:8px;
	background:#fe5f55;
	border-top-left-radius: 20px;
	color:white;
}
.photogrid .add{
	align-self: stretch;
	background-color:#44AF69;
	display:flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color:white;
    font-weight:bold;
}
.photogrid .add [type=file] {
	cursor: inherit;
	display: block;
	font-size: 999px;
	filter: alpha(opacity=0);
	min-height: 100%;
	min-width: 100%;
	opacity: 0;
	position: absolute;
	right: 0;
	text-align: right;
	top: 0;
}

.modal {
	display: none;
	margin: auto auto;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	max-height: 80%;
	max-width: 600px;
	background-color: #fff;
	overscroll-behavior: contain;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2), 0px 10px 20px rgba(0, 0, 0, 0.1), 0px 20px 20px rgba(0, 0, 0, 0.1), 0px 30px 20px rgba(0, 0, 0, 0.1);
	color: #555;
}
.overlay {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #0001;
}

.open .overlay {
	display: block;
}
.open table.stores {
	filter: blur(4px);
}
@media only screen and (max-width: 660px) {
	.modal {
		margin: 0px;
		top: 12px;
		right: 12px;
		bottom: 12px;
		left: 12px;
		max-height: none;
		max-width: none;
		height: auto;
		border-radius: 15px;
		overflow: hidden;
	}
	.overlay {
		/* background: #000; */
	}
	.photogrid{
		grid-template-columns: 1fr 1fr 1fr;
	}
	.photogrid{
		grid-column: 1 / -1;
	}
}
.modal.open {
	display: grid;
	grid-template-rows: 50px auto 4px;
}
.modal__content {
	padding: 12px 35px;
	overscroll-behavior: contain;
	overflow-y: overlay;
	margin-right: 2px;
}
.modal__header {
	color: #fff;
	background: #559e83;
}
.modal__footer {
	border-bottom: 4px solid #559e83;
}
.noscroll {
	overflow: hidden;
}
.modal ::-webkit-scrollbar {
	width: 4px;
	background: transparent;
}
.modal ::-webkit-scrollbar-thumb {
	background: #0007;
	border-radius: 2px;
}
#progress .modal__content {
	font-size: 60px;
	text-align: center;
}
.hidden{
	display:none;
}