html {
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        display: inline-block;
        /*overflow-x: hidden;*/
}

body {
        height: 100%;
        width: 100%;
        margin: 0px;
        padding-bottom: 0px;
        background-color: #f8f9fa;
	background: repeating-linear-gradient(
	  70deg,
	  #e8e7e5,
	  #e8e7e5 1px,
	  #e5ded0 1px,
	  #e5ded0 2px
	);
        color: #343a40;
        font-family: "Helvetica Neue", Arial, sans-serif;
	font-family: 'Montserrat', sans-serif;
	font-family: 'Arvo', serif;
        border: 0px;
        box-sizing: border-box;
        /*overflow-x: hidden;*/
        /*display: inline-block;*/
}

header {
        position: fixed;
        top: 0px;
        width: 100%;
        height: 50px;
        /*background-color: #007bff;*/
        background-color: #d4dbe0;
	background: repeating-linear-gradient(
	  45deg,
	  #d4dbe0,
	  #d4dbe0 1px,
	  #e8f0ff 1px,
	  #e8f0ff 2px
	);
        color: black;
        line-height: 50px;
        vertical-align: middle;
        padding-left: 10px;
        box-sizing: border-box;
        z-index: 1;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        box-shadow: 0 4px 4px 0 rgba(51,62,72,0.13), 0 4px 4px 0 rgba(51, 62, 72, 0.13);
        /*overflow-x: hidden;*/
}
logo {
        position: absolute;
        box-sizing: border-box;
        height: 100%;
        width: 50px;
        left: 0px;
        padding-top: 5px;
        padding-left: 5px;
}
logo > img {
        box-sizing: border-box;
        height: 40px;
        width: 40px;
}

header_title {
        position: relative;
        box-sizing: border-box;
        left: 0px;
        padding-left: 50px;
        padding-left: 20px;
	font-family: 'Lobster', cursive;
	font-family: 'Montserrat', sans-serif;
	font-family: futura-pt, sans-serif;
	font-style: italic;
	font-weight: 300;
	z-index: 3;
}

menu_btn {
	display: none;
	width: 80px;
	float: right;
}
menu_btn:hover {
	cursor: pointer;
	color: #C9C9C9;	
}

header_list {
	--widescreen:yes;
	z-index: 3;
	overflow: hidden;
}
header_list_small {
	--widescreen:yes;
	z-index: 3;
	overflow: hidden;
	display: none;
	transition: 0.3s;
}
header_overlay {
	z-index: 2;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	display: none;
}

header_element {
        position: relative;
        box-sizing: border-box;
        padding-left: 10px;
	z-index: 3;
}
header_element::before {
	content: "|";
	padding-right: 5px;
}
@media screen and (max-width: 940px) {
	header_list {
		display: none;
		--widescreen:no;
	}
	header_list_small {
		--widescreen:no;
		width: 30%;
		display: inline-block;
		border-radius: 0px 0px 0px 5px;
	        box-shadow: 0 4px 4px 0 rgba(51,62,72,0.13), 0 4px 4px 0 rgba(51, 62, 72, 0.13);
		float: right;
	}
	header_element {
		background-color: #007bff;
		background: repeating-linear-gradient(
		  45deg,
		  #007bff,
		  #007bff 1px,
		  #3a99ff 1px,
		  #3a99ff 2px
		);
		opacity: 0.75;
		float: right;
		width: 100%;
		font-size: 1rem;
	}
	header_element::before {
		content: "";
	}
@media screen and (max-width: 600px) {
	header_element {
		font-size: 0.75rem;
	}
}
}

main {
        position: absolute;
        top: 0px;
        padding-top: 50px;
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        /*overflow-x: hidden;*/
}

h1 {
        width: 100%;
        font-size: 32px;
        font-weight: bold;
	color: #032775;
/*        margin: 10px;*/
        box-sizing: border-box;
        display: inline-block;
	text-align: center;
	font-family: 'Lobster', cursive;
	font-family: 'Montserrat', sans-serif;
	font-family: futura-pt, sans-serif;
	font-style: italic;
	font-weight: 300;
	letter-spacing: 5px;
}

h1.script {
        font-size: 40px;
	font-family: 'Parisienne', cursive;
}

h2 {
}

h3 {
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: bold;
}

div {
	height: 1500px;
	position: relative;
/*	padding-top: 5px;
	padding-left: 10px;
	padding-right: 10px;*/
}
div a.smooth {
	position: absolute;
	top: -50px;
}

#topimage {
	height: auto;
}

#page1 {
	height: 3000px;
	height: auto;
	min-height: 800px;
	padding: 10px;
}

#page2 {
	height: auto;
	min-height: 600px;
	padding-top: 10px;
	padding: 10px;
}

#page3 {
	height: auto;
	min-height: 800px;
	/*height: 2000px;*/
	padding: 10px;
}

#page4 {
	height: auto;
	min-height: 800px;
	padding: 10px;
}

hline {
	background-color: #FFCD41;
	background: repeating-linear-gradient(
	  45deg,
	  #ffcd41,
	  #ffcd41 1px,
	  #c49c2b 1px,
	  #c49c2b 2px
	);
	height: 10px;
	width: 90%;
	margin: auto;
	display: block;
}
hline2 {
	background-color: #FFCD41;
	background: repeating-linear-gradient(
	  45deg,
	  #ffcd41,
	  #ffcd41 1px,
	  #c49c2b 1px,
	  #c49c2b 2px
	);
	height: 5px;
	width: 90%;
	margin: auto;
	display: block;
}

form {
	margin: 0;
	padding: 0;
}

div.address_form {
	margin: auto;
	padding: 10px;
	padding-top: 20px;
	padding-bottom: 20px;
	height: auto;
	background-color: white;
	width: 90%;
	max-width: 600px;
	background-color: #20828f;
	background: repeating-linear-gradient(
	  45deg,
	  #ffcd41,
	  #ffcd41 1px,
	  #c49c2b 1px,
	  #c49c2b 2px
	);
        box-shadow: 0 4px 4px 0 rgba(51,62,72,0.13), 0 4px 4px 0 rgba(51, 62, 72, 0.13);
}
div.form_row {
	height: 40px;
	height: auto;
	margin-bottom: .625rem;
	display: flex;
}

div.input {
	margin: 0px;
	padding: 5px;
	height: 100%;
	min-width: 45px;
        display: inline-block;
	box-sizing: border-box;
	height: 2.75rem;
	background: repeating-linear-gradient(
	  -45deg,
	  #ffcd41,
	  #ffcd41 1px,
	  #c49c2b 1px,
	  #c49c2b 2px
	);
        box-shadow: 0 4px 4px 0 rgba(51,62,72,0.13), 0 4px 4px 0 rgba(51, 62, 72, 0.13);
}

input {
	border-radius: 4px;
	background-color: #f0f5fb;
	border: 0;
	font-size: 1.125rem;
	padding: 5px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	-webkit-appearance: none;
}

.w10 {
	width: 10%;
}
.w20 {
	width: 20%;
}
.w30 {
	width: 30%;
}
.w40 {
	width: 40%;
}
.w50 {
	width: 50%;
}
.w60 {
	width: 60%;
}
.w70 {
	width: 70%;
}
.w80 {
	width: 80%;
}
.w90 {
	width: 90%;
}
.w100 {
	width: 100%;
}

iframe {
	height: 1000px;
	width: 95%;
	border-style: none;
}

a {
	color: #F8F9FA;
	text-decoration: none;
	transition: 0.3s;
}
a:hover {
	color: #C9C9C9;
}
.dark {
	color: #032775;
}

button {
	padding: 5px;
	border-radius: 5px;
        box-shadow: 0 4px 4px 0 rgba(51,62,72,0.13), 0 4px 4px 0 rgba(51, 62, 72, 0.13);
}

.button {
	color: #032775;
	padding: 2px;
	border-radius: 4px;
	background: repeating-linear-gradient(
	  -45deg,
	  #ffcd41,
	  #ffcd41 1px,
	  #c49c2b 1px,
	  #c49c2b 2px
	);
        box-shadow: 0 4px 4px 0 rgba(51,62,72,0.13), 0 4px 4px 0 rgba(51, 62, 72, 0.13);

}

button:hover {
	cursor: pointer;
	color: #C9C9C9;	
}
.button:hover {
	cursor: pointer;
	color: #C9C9C9;	
}

.button.album {
	width: 80px;
	height: 20px;
	display: inline-block;
	padding: 10px;
}

#photopage {
	padding: 10px;
}

.big-button {
	font-size: 1.5em;
}

gallery_element {
	display: inline-block;
}

img {
	position: relative;
	width: 100%;
	z-index: -1;
}

img.reg_images {
	display: block;
}

schedule_element {
	min-height: 300px;
	width: 50%;
	margin: auto;
	padding-bottom: 10px;
	display: block;
	line-height: 2;
}
@media screen and (max-width: 800px) {
	schedule_element {
		width: 80%;
	}
	header_overlay {
		display: block;
	}
}

accomodation_element {
	height: auto;
	width: 50%;
	margin: auto;
	padding-bottom: 10px;
	display: block;
	line-height: 2;
}
@media screen and (max-width: 800px) {
	accomodation_element {
		width: 80%;
	}
}

registry_element {
	height: auto;
	width: 50%;
	margin: auto;
	padding-bottom: 10px;
	display: block;
	line-height: 2;
}
@media screen and (max-width: 800px) {
	registry_element {
		width: 80%;
	}
}

overlay {
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
}

overlay_content {
	display: block;
	margin: auto;
	margin-top: 250px;
	padding: 5px;
	width: 30%;
	min-width: 175px;
	background-color: blue;
	background: repeating-linear-gradient(
	  45deg,
	  #ffcd41,
	  #ffcd41 1px,
	  #c49c2b 1px,
	  #c49c2b 2px
	);
	opacity: 1;
	border-radius: 10px;
        box-shadow: 0 4px 4px 0 rgba(51,62,72,0.13), 0 4px 4px 0 rgba(51, 62, 72, 0.13);
}

overlay_content div.input{
	display: block;
	margin: auto;
	margin-bottom: 5px;
	background: repeating-linear-gradient(
	  -45deg,
	  #ffcd41,
	  #ffcd41 1px,
	  #c49c2b 1px,
	  #c49c2b 2px
	);
        box-shadow: 0 4px 4px 0 rgba(51,62,72,0.13), 0 4px 4px 0 rgba(51, 62, 72, 0.13);
	border-radius: 4px;
}
