/*
 * index.css
 * Eric Kuhnert
 * 2024-04-24
 *
 */
 
 html, body {
 	padding: 0;
 	margin: 0;
 }

 body {
 	background: rgb(230,230,255);
	background: linear-gradient(90deg, rgba(230,240,255,0) 0%, rgba(230,240,255,1) 33%, rgba(230,240,255,1) 66%, rgba(230,240,255,0) 100%);
 }

 body.allowed {
 	background: rgb(240,255,230);
	background: linear-gradient(90deg, rgba(240,255,230,0) 0%, rgba(240,255,230,1) 33%, rgba(240,255,230,1) 66%, rgba(240,255,230,0) 100%);
 }

 #page {
 	display: block;
 	height: 100%;
 	position: relative;
 	width: 1024px;
 	margin: 0 auto;
 }
  
 [type=submit] {
  	cursor: pointer;
  	opacity: .4;
  	transition: opacity ease 400ms;
 }
 
 [type=submit]:hover {
  	opacity: 1;
 }
 
  [type=submit][name=logout] {
  	text-align: right;
  }
  
 /* Language nav */

 #page nav {
 	border-bottom: 1px solid rgba(0, 0, 0, .5);
 	padding: 12px 0 12px 0;
 }
 
 #page nav ul {
 	display: block;
 	margin: 0;
 	padding: 0;
 	list-style-type: none;
 }

 #page nav ul li {
 	display: inline-block;
 }

 #page nav ul li + li {
 	margin-left: 5px;
 }
 
 #page nav ul li a {
 	border: 1px solid rgba(0, 0, 0, .5);
 	border-radius: 8px;
 	color: rgba(0, 0, 0, 1);
 	display: inline-block;
 	font: normal 16px/32px "Source Serif", sans-serif;
 	opacity: .5;
 	outline: none;
 	padding: 0 8px 0 8px;
 	text-decoration: none;
 	text-transform: uppercase;
 }
 
 #page nav ul li.selected a {
 	opacity: 1;
 }


 /* Content */
 
 #content .keyvisual { 
 	display: block;
	background: transparent url("../pic/home-bg.svg") no-repeat center center;
	background-size: contain;
	min-height: 200px;
	position: relative;
	height: 600px;
	width: 100%;
 }

 #content h1 {
 	font: 600 22px/48px "Source Serif",sans-serif;
 }

 #content h1.script {
 	font: 600 36px/48px "Windsong",sans-serif;
 }

 #content h2 {
 	font: lighter 22px/48px "Source Serif",sans-serif;
 }

 #content p + h2,
 #content ul + h2 {
 	margin-top: 32px;
 }

 #content h3 {
 	font: 600 17px/32px "Source Serif",sans-serif;
 } 
 
 #content p {
 	font: normal 17px/32px "Source Serif",sans-serif;
 }

 #content ul {
 	font: normal 17px/32px "Source Serif",sans-serif;
 	padding: 0 0 0 20px;
 }

 #content ul li {
 	font: normal 17px/32px "Source Serif",sans-serif;
 	padding-left: 0px;
 }
 
 #content p.intro {
 	font: lighter 21px/48px "Source Serif",sans-serif;
 }
 
 .goto-rsvp {
 	color: inherit;
 	display: inline-block;
 	font: 600 27px/48px "Windsong",sans-serif;
 	margin: 24px 0 24px 0;
 	text-decoration: underline;
 }
 
 #content .separator {
 	background: transparent url("../pic/zapfino-glyph.svg") no-repeat center center;
 	background-size: contain;
 	height: 48px;
 	margin: 32px 0 32px 0;
 	width: 100%;
 }
 
 #content .block {
 	background: rgba(255, 255, 255, .33);
 	border-bottom: 1px solid rgba(0, 0, 0, .5);
 	border-top: 1px solid rgba(0, 0, 0, .5);
 	margin: 120px 0 0x 0;
 	padding: 24px 0px 48px 0px;
 }
 
 #content .block + .block {
 	border-top: none;
 	margin-top: 0;
 }
 
  #content .block.dark {
 	background: rgba(0, 0, 0, .33);
 	color: rgb(255, 255, 255);
 	padding-left: 24px;
 	padding-right: 24px;
 	text-shadow: 1px 1px 4px rgba(0, 0, 0, .2);
 }
 
 #content a {
 }
 
 #content a.button {
 	background: transparent;
 	border: 1px solid rgba(0, 0, 0, .6);
 	border-radius: 7px;
 	color: inherit;
 	display: inline-block;
 	font: normal 17px/50px "Source Serif",sans-serif;
 	min-width: 240px;
 	padding: 0 12px 0 12px;
 	text-align: center;
 	transition: background ease 400ms, color ease 400ms, border ease 400ms, box-shadow ease 400ms;
 	text-decoration: none;
 	text-transform: uppercase;
 }
 
 #content a.button:hover {
 	background: rgba(255, 255, 255, .33);
 	border: 1px solid rgba(0, 0, 0, .8);
 	color: rgb(0, 0, 0);
 	box-shadow: 0px 1px 24px rgba(0, 0, 0, .15);
 }
 
 #content .dark a.button {
 	border: 1px solid rgba(255, 255, 255, .8);
 }

 #content .dark a.button:hover {
 	background: rgba(0, 0, 0, .15);
 	border: 1px solid rgba(255, 255, 255, .9);
 	color: inherit;
 }

 /* Auth form */
 
 #form_pp {
 	border: 1px solid rgba(0, 0, 0, .5);
 	border-radius: 8px; 	
 	height: 50px;
 	margin: 0px auto;
 	overflow: hidden;
 	padding: 0;
 	position: relative;
 	width: 300px;
 }
 
 #form_pp [name=pp] {
	background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.6) 100%);
 	border: none;
 	font: normal 16px/50px "Source Serif", sans-serif;
 	left: 0;
 	outline: none;
 	padding: 0 12px 0 12px;
 	position: absolute;
 	width: calc( 100% - 24px );
	opacity: .6;
  	transition: opacity ease 400ms;
 } 
 
  #form_pp [name=pp]:focus {
	opacity: 1;
  }
 
 #form_pp [name=pps] {
 	background: transparent url( '../pic/login-icon.svg' ) no-repeat center center;
 	background-size: contain;
 	border: none;
 	font: normal 16px/50px sans-serif;
 	left: calc( 100% - 50px );
 	outline: none;
 	padding: 0 6px 0 6px;
 	position: absolute;
 	width: 50px;
 }  
 
 /* Logout */
 
 #form_logout {
 	display: block;
 	height: 32px;
 	left: calc(100% - 32px);
 	position: absolute;
 	top: 12px;
 	width: 32px;
 }
 
 #form_logout input {
 	background: transparent;
 	border: none;
 	display: block;
 	font: normal 16px/32px sans-serif;
 	height: 100%;
 	width: 100%;
 }
 
  #footer {
  	color: rgba(0, 0, 0, .5);
 	font: normal 16px/50px "Source Serif", sans-serif;
  	height: 130px;
  	margin-top: 80px;
  }
 
 /* debug */
 
 .debug_info {
	background: rgba(0, 0, 0, .86);
 	border: 1px solid rgba(200, 200, 200, .5);
 	color: rgb(200, 200, 200);
 	font-size: 12px;
 	height: 150px;
 	padding: 6px;
 	top: calc(100% - 170px);
 	position: absolute;
 	width: calc(100% - 40px);
 	overflow: scroll;
 }
 
 

@media all and (max-width: 1100px) and (min-width: 830px) {

	#page {
		width: 800px;
	}
} 

@media all and (max-width: 829px) and (min-width: 550px) {

	#page {
		width: 500px;
	}
} 

@media all and (max-width: 549px) {

	#page {
		width: 305px;
	}
	
	#page h2 br {
		display: none;
	}	
} 