@import 'screen.css';
@import 'font.css';
@import 'camera.css';

:root {
	--small-spinner: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAwIDEwMDAiPjxkZWZzPjxzdHlsZT4uYXJjIHtzdHJva2U6YmxhY2s7c3Ryb2tlLXdpZHRoOjEwMDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYXJjIiBkPSJNNTAgNTAwYzAsLTI0OSAyMDEsLTQ1MCA0NTAsLTQ1MCAyNDksMCA0NTAsMjAxIDQ1MCw0NTAiPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgYXR0cmlidXRlVHlwZT0iWE1MIiB0eXBlPSJyb3RhdGUiIGR1cj0iMXMiIGZyb209IjAgNTAwIDUwMCIgdG89IjM2MCA1MDAgNTAwIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz48L3BhdGg+PC9zdmc+");
	--wrong: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMDAgMzAwIj4KPGRlZnM+PHN0eWxlPioge3N0cm9rZTpyZWQ7c3Ryb2tlLXdpZHRoOjI1O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtmaWxsOm5vbmV9PC9zdHlsZT48L2RlZnM+CjxjaXJjbGUgY2xhc3M9ImZpbDAgc3RyMCIgY3g9IjE1MCIgY3k9IjE1MCIgcj0iMTM4Ii8+CjxsaW5lIGNsYXNzPSJmaWwwIHN0cjEiIHgxPSIyNDciIHkxPSIyNDciIHgyPSI1MyIgeTI9ICI1MyIgLz4KPC9zdmc+Cg==");
	--gold: #B38237;
}


#container {
	height: 100%;
	position: relative;
	overflow: hidden;
}

body.overlaid #container {
	filter: blur(5px);
}

#templates { display: none; }

.comment {
	list-style-type: square;
	display: list-item;
	margin: 0 1rem;
	color: #777;
	text-align: left;
}


a { color: var(--gold); }
a:hover { color: black; }
a:active { color: #777; }

em {
	font-family: GothamMedium;
	font-weight: normal;
	font-style: normal;
}

u {
	font-family: Icons;
	color: var(--gold);
	text-decoration: none;
}


.buttons {
	text-align: center;
}
.button {
	display: inline-block;
	box-sizing: border-box;
	vertical-align: middle;
	background: white;
	border: solid var(--gold) 1px;
	color: black;
	margin: 0.5rem;
	padding: calc( 0.5rem - 2px );
	text-align: center;
	line-height: 1rem;
	font-size: 1rem;
}
.button:hover {
	cursor: pointer;
	background: #D6D6D6;
}
.button--emphasis {
	color: white;
	background: rgb(212,158,76) linear-gradient(0deg, rgba(212,158,76,1) 0%, rgba(237,194,130,1) 100%);
}
.button--emphasis:hover {
	cursor: pointer;
	background: var(--gold);
}
.button--wide {
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.button[disabled] {
	background: white;
	color: #D6D6D6;
	border: solid #D6D6D6 1px;
	box-sizing: border-box;
	margin: 0.5rem;
	padding: 0.5rem;
	text-align: center;
}
.button[disabled]:hover {
	cursor: default;
	background: white;
}
.button[disabled].button--emphasis {
	background: #D6D6D6;
	color: white;
	border: solid #D6D6D6 1px;
	box-sizing: border-box;
	margin: 0.5rem;
	padding: 0.5rem;
	text-align: center;
}
.button[disabled].button--emphasis:hover {
	cursor: default;
	background: #D6D6D6;
}


.icon {
	color: var(--gold);
	text-decoration: none;
	box-sizing: border-box;
	font-family: GuerlainRegular;
	padding-top: 2rem;
	text-align: center;
	position: relative;
	width: 4rem;
	height: 3rem;
	font-size: 0.75rem;
	cursor: pointer;
}
@media (max-width: 450px) {
	.icon { font-size: 0.5rem; }
}
.icon::before {
	content: attr(data-face);
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 2rem;
	text-align: center;
	font-family: Icons;
	font-size: 2rem;
	width: 100%;
}
.icon:hover {
	color: black;
}
.icon:active {
	background-color: black;
	color: white;
}


.par { margin-top: 0.5rem; }

.title {
	font-family: GuerlainRegular;
	font-size: calc( 1vw + 0.75rem );
	text-align: center;
	margin: 1rem 0;
}
.text {
	text-align: justify;
	margin: 1rem 0;
}
div.column {
	margin-left: auto;
	margin-right: auto;
	max-width: 40rem;
}
table.column {
	width: 100%;
	max-width: 40rem;
	min-height: 100%;
	margin: 0 auto;
}
table.column td {
	width: 100%;
	vertical-align: middle;
	text-align: center;
	padding: 0.5rem 0;
}



.error {
        background-color: #CD3C14;
        color: white;
        position: fixed;
        width: 100%;
        padding: 1rem;
        left: 0;
        bottom: 0;
        text-align: center;
        display: none;
}
.error a { color: white; }
.warning {
        padding-left: 2.5rem;
        background: transparent url(/i/warning.png) no-repeat left center;
        line-height: 1rem;
        background-size: 2rem;
        font-family: Bold, HelvBold;
        display: inline-block;
}


.panel {
	display: none;
	position: fixed;
	background: rgba(0,0,0,0.6);
	top: 0; bottom: 0; left: 0; right: 0;
	padding: 2rem;
}
.panel__content {
	position: relative;
	width: 100%;
	max-width: 40rem;
	max-height: 100%;
	overflow-y: auto;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	background: white;
	padding: 1rem;
}
.website__content {
	position: absolute;
	top: 2rem; left: 2rem;
	width: calc( 100% - 4rem );
	height: calc( 100% - 4rem );
	background: white;
}

.panel { z-index: 1000; }
.booth__picture {
	position: absolute;
	left: 1rem; top: 5rem; right: 1rem; bottom: 5rem;
}
.booth__prev, .booth__next, a.panel__close, .booth__trash {
	position: absolute;
	display: block;
	text-decoration: none;
	width: 3rem; height: 3rem;
	cursor: pointer;
	box-sizing: border-box;
	border-radius: 50%;
	background-color: white;
	color: black;
	font-family: Icons;
	text-align: center;
	font-size: 3rem;
	line-height: 3rem;
}
.booth__prev:hover .booth__next:hover a.panel__close:hover .booth_trash:hover {
	background-color: #aaa;
}
.booth__trash { display: none; }
.booth__prev { bottom: 1rem; right: 55%; }
.booth__next { bottom: 1rem; left: 55%; }
.booth__trash { bottom: 1rem; left: 1rem; font-size: 1.8rem; }
a.panel__close { top: 1rem; right: 1rem; font-size: 1.8rem; }
#booth.booth--mine .booth__trash { display: block; }

.booth__picture img {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: contain;
}


/*****************/

.select {
	font-family: GothamBook;
	color: white;
	cursor: pointer;
	display: inline-block;
	background: rgb(212,158,76) linear-gradient(0deg, rgba(212,158,76,1) 0%, rgba(237,194,130,1) 100%);
	border: solid var(--gold) 1px;
	display: inline-block;
	font-size: 1rem;
	position: relative;
	box-sizing: border-box;
	padding: 0.5rem 1rem 0.5rem 2.5rem;
	width: 100%;
}
.options {
	color: black;
	position: absolute;
	left: 2rem;
	top: 0;
	background: white;
	box-sizing: border-box;
	border: solid var(--gold) 2px;
	width: calc( 100% - 2rem );
	display: none;
	overflow: hidden;
	height: 0;
	z-index: 1;
}
.select--unfolded .options {
	display: block;
	height: auto;
	transition: height 0.8s;
}
.option {
	display: block;
	position: relative;
	padding: 0.5rem 1rem 0.5rem 2.5rem;
}
.option:hover {
	color: white;
	background: var(--gold);
}
.option__icon {
	position: absolute;
	top: 0; left: 0;
	font-size: 2rem;
	font-family: Icons;
}
.select::before {
	content: 'D';
	position: absolute;
	top: 0; left: 0;
	font-size: 2rem;
	font-family: Icons;
}
.select.select--unfolded::before {
	content: '>';
}
.option--disabled {
	color: #ddd;
}
.option--selected {
	background: black;
	color: white;
}
.select__option { display: none; }
.select[data-value] .select__title {
	display: none;
}
.select[data-value] .select__option {
	display: inline;
}



.field__input {
	font-family: GothamBook;
	color: black;
	font-size: 1rem;
	box-sizing: border-box;
	border: solid var(--gold) 1px;
	padding: 0.5rem;
	background: #f0f0f0;
	background-size: 1rem auto;
}
.field__input::placeholder { color: #ccc; }
.shared .field__input {
	padding-left: 2rem;
	background: #f0f0f0 url(i/edit.png) no-repeat left 0.25rem center;
	background-size: 1rem auto;
}
.field__input[data-el_locked] {
	background: #f0f0ff url(i/lock.png) no-repeat left 0.25rem center;
	background-size: 1rem auto;
}
.field__input[data-el_acquiring] {
	background: #f0f0ff var(--small-spinner) no-repeat left 0.25rem center;
	background-size: 1rem auto;
}
.field__input[data-el_editing] {
	background: #f0f0ff url(i/editing.png) no-repeat left 0.25rem center;
	background-size: 1rem auto;
}
.field__input[disabled], .shared .field__input[disabled] {
	border: none;
	color: #777;
	background: #f0f0f0;
}
textarea.field__input {
	font-family: GothamBook;
	font-size: 1em;
	box-sizing: border-box;
	border: solid var(--gold) 1px;
	resize: none;
	background: white;
	min-height: 5em;
	background: #f0f0f0;
	padding: 0.5rem;
}
.field__textarea[disabled] {
	border: none;
	color: #777;
}
.field__input, .field__textarea { width: 100%; }

.field__lock {
	font-family: GothamLight;
	color: var(--gold);
	font-size: 0.6rem;
	transition: height 0.5s ease-in-out;
}
.field__lock:empty {
	height: 0;
}

.field__label {
	text-transform: uppercase;
	font-size: 0.7rem;
	margin-top: 0.5rem;
}
.field__photo {
	background-color: white;
	box-sizing: border-box;
	width: 95%;
	max-width: 20rem;
	cursor: pointer;
	padding: 0.5rem 0.5rem 1rem 0.5rem;
	margin: 1rem auto;
	text-align: center;
	transition: all 1s ease-out;
	border: solid #f0f0f0 1px;
}
.field__photo .camera__photo {
	margin-bottom: 1rem;
}
.field__photo:after {
	width: 100%;
	margin: 0.5rem 1rem;
	font-family: GothamMedium;
	content: attr(title);
}


.form {
	width: 100%;
	max-width: 25rem;
	margin: 0 auto;
}
.form .field__input {
	width: 100%;
}
.form .select {
	width: 100%;
}







body > #map { display: none; }
#map {
	position: relative;
	width: 100%;
	height: 100%;
}
#map.map--loading::after {
	content: '';
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	background: rgba(255,255,255,0.8) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAwIDEwMDAiPjxkZWZzPjxzdHlsZT4uYXJjIHtzdHJva2U6YmxhY2s7c3Ryb2tlLXdpZHRoOjEwMDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYXJjIiBkPSJNNTAgNTAwYzAsLTI0OSAyMDEsLTQ1MCA0NTAsLTQ1MCAyNDksMCA0NTAsMjAxIDQ1MCw0NTAiPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgYXR0cmlidXRlVHlwZT0iWE1MIiB0eXBlPSJyb3RhdGUiIGR1cj0iMXMiIGZyb209IjAgNTAwIDUwMCIgdG89IjM2MCA1MDAgNTAwIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz48L3BhdGg+PC9zdmc+") no-repeat center;
	background-size: 5rem;
}
@media (max-width: 540px) {
	.gm-style-cc {
		display: none !important;
	}
}
