/** Core Styles **/

/** Fonts **/
@font-face {
    font-family: weddingChardonnay;
    src: url('/fonts/Wedding_Chardonnay.ttf');
}

/** Background **/  
body {
    background-color: #6c5b7e;
	font-family: 'Open Sans', sans-serif;
}

h1 {
	font-family: weddingChardonnay;
	font-size: 48pt;
	font-weight: normal;
	margin-top: 50px;
	margin-bottom: 20px;
	text-align: center;
	border-bottom: 1px solid #CCC;
}

a {
	color: #3082bf;
	text-decoration: none;
}

/*#header {
    height: 100vh;
    
    background-image: url('./images/header.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;
}

@media screen and (max-width: 500px) {
    #header {
        background-size: 200%;
        background-position-y: top;
        margin-top: 100px;
    }
}

@media screen and (min-width: 500px) and (max-width: 700px) {
    #header {
        background-size: 200%;
        background-position-y: center;
    }
}

@media screen and (min-width: 1400px) {
    #header {
        background-size: 100%;
        background-position-y: bottom;
    }
}*/

/*@media screen and (min-width: 750px) and (max-width: 1000px) {
    #header {
        background-size: 200%;
        background-position-y: center;
    }
}*/

/** Header **/    
#header {
    margin-bottom: 0px;
}
    
#header .hill {
    margin-top: 12%;
    width: 100%;
}

/** Memories **/
#header #memories {
    position: absolute;
    width: 100%;
}

/** Strings **/
#header #memories #strings {
    padding-left: 0px;
    margin-top: 0px;
}

#header #memories #strings > div {
    display: inline;
}

#header #memories #strings div .string {
    display: inline-block;
    width: 5px;
    background-color: white;
    box-shadow: 3px 4px 2px #50415B;
    vertical-align: top;
    animation: 3s ease-in ease-out infinite;
    animation-name: stringBreeze;
    transform-origin: top;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

@keyframes stringBreeze {
    from {
        transform: skew(0, 0);
    }
    
    25% {
        transform: skewX(0.5deg);
    }
    
    75% {
        transform: skewX(-0.5deg);
    }
    
    to {
        transform: skew(0, 0);
    }
}

@keyframes stringBreezeReverse {
    from {
        transform: skew(0, 0);
    }
    
    25% {
        transform: skewX(-0.5deg);
    }
    
    75% {
        transform: skewX(0.5deg);
    }
    
    to {
        transform: skew(0, 0);
    }
}

/** Strings Left **/
#header #memories #strings .left .string {
    margin-left: 12%;
}

#header #memories #strings .left .string:nth-child(2n) {
    animation-name: stringBreezeReverse;
}

#header #memories #strings .left .string:nth-child(1) {
    height: 400px;
    margin-left: 7%;
}

#header #memories #strings .left .string:nth-child(2) {
    height: 600px;
}

#header #memories #strings .left .string:nth-child(3) {
    height: 200px;
}

@media screen and (max-width: 600px) {
    #header #memories #strings .left .string:nth-child(3) {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    #header #memories #strings .left .string:nth-child(1) {
        display: none;
    }
}

@media screen and (max-width: 1500px) {
    #header #memories #strings .left .string:nth-child(1) {
        margin-left: 10%;
    }
    
    #header #memories #strings .left .string:nth-child(2) {
        display: none;
    }
    
    #header #memories #strings .left .string:nth-child(3) {
        margin-left: 15%;
    }
}

@media screen and (max-width: 1600px) {
    #header #memories #strings .left .string:nth-child(2) {
        height: 400px;
    }
}

/** Strings Right **/
#header #memories #strings .right {
    float: right;
    width: 50%;
    text-align: right;
}

#header #memories #strings .right .string {
    margin-right: 22%;
}

#header #memories #strings .right .string:nth-child(1) {
    height: 200px;
}

#header #memories #strings .right .string:nth-child(2) {
    height: 600px;
}

#header #memories #strings .right .string:nth-child(3) {
    height: 400px;
    margin-right: 12%;
}

@media screen and (max-width: 600px) {
    #header #memories #strings .right .string:nth-child(1) {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    #header #memories #strings .right .string:nth-child(3) {
        display: none;
    }
}

@media screen and (max-width: 1500px) {
    #header #memories #strings .right .string:nth-child(1) {
        margin-right: 30%;
    }
    
    #header #memories #strings .right .string:nth-child(2) {
        display: none;
    }
    
    #header #memories #strings .right .string:nth-child(3) {
        margin-right: 15%;
    }
}

@media screen and (max-width: 1600px) {
    #header #memories #strings .right .string:nth-child(2) {
        height: 400px;
    }
}

/** Photos **/
div.photo {
	padding-bottom: 22px;
    background-color: #FFF;
    box-shadow: 1px 1px 2px #50415B;
	display: inline-block;
}

div.photo .film {
    background-color: #444;
    margin: 4px 4px 4px 4px;
    display: inline-block;
    min-width: 125px;
    min-height: 125px;
	line-height: 0;
}

#header #memories #strings div .string .photo {
	position: absolute;
	margin-left: -66px;
	box-shadow: 3px 4px 4px #50415B;
}

#header #memories #strings div .string .photo .film .picture {
	opacity: 0;
}

@keyframes pictureFadeIn {
    from {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}

#header #memories #strings div .string .photo:nth-child(1) {
    margin-top: 7vh;
}

#header #memories #strings div .string .photo:nth-child(2) {
    margin-top: 35vh;
}

#header #memories #strings div .string .photo:nth-child(3) {
    margin-top: 60vh;
}

@media screen and (max-width: 1600px) {
    #header #memories #strings .left .string:nth-child(2) .photo:nth-child(3) {
        display: none;
    }
    
    #header #memories #strings .right .string:nth-child(2) .photo:nth-child(3) {
        display: none;
    }
}

#header #memories #strings div .string:nth-child(odd) .photo:nth-child(odd) {
    transform: rotate(-7deg);
}

#header #memories #strings div .string:nth-child(odd) .photo:nth-child(even) {
    transform: rotate(7deg);
}

#header #memories #strings div .string:nth-child(even) .photo:nth-child(odd) {
    transform: rotate(7deg);
}

#header #memories #strings div .string:nth-child(even) .photo:nth-child(even) {
    transform: rotate(-7deg);
}

/** Container **/
.container {
    background-color: #E2E2E2;
    margin-top: -10px;
    min-height: 500px;
    color: black;
	padding-bottom: 100px;
}

/** Navigation **/
.container .navigation {
    margin: 0;
}

.container .navigation div {
    display: inline-block;
}

.container .navigation > div > li {
    display: inline-block;
}

.container .navigation > div > li > a {
	color: #6c5b7e;
	text-decoration: none;
	border-bottom: none;
}

.container .navigation > div > li > a:hover {
	border-bottom: 2px solid #6c5b7e;
}

@media screen and (max-width: 660px) {
	.container .navigation div {
		margin: 0px !important;
		position: static !important;
		display: block;
		text-align: center;
		float: none !important;
	}
	
    .container .navigation div li {
		margin: 0 !important;
    }
	
	.container .navigation .left li, .container .navigation .right li {
		width: 100%;
		display: block;
	}
}

/** Navigation left **/
.container .navigation .left > li > a, .container .navigation .right > li > a {
    font-family: weddingChardonnay;
	font-size: 42pt;
}

.container .navigation .left > li:nth-child(1) {
    margin-left: 50px;
}

.container .navigation .left > li:nth-child(2) {
    margin-left: 100px;
}

/** Navigation center **/
.container .navigation .center {
    font-family: 'Open Sans', sans-serif;
	font-size: 42pt;
    position: absolute;
    left: 50%;
    margin-left: -140px;
    margin-top: -10px;
}

.container .navigation .center li:nth-child(odd) {
	font-size: 18pt;
	margin: 0 40px;
}

@media screen and (max-width: 1100px) {
    .container .navigation .center {
		margin-top: -60px;
    }
}

/** Navigation right **/
.container .navigation .right {
    float: right;
}

.container .navigation .right > li:nth-child(1) {
    margin-right: 100px;
}

.container .navigation .right > li:nth-child(2) {
    margin-right: 50px;
}

@media screen and (max-width: 760px) {
    .container .navigation .left li, .container .navigation .right li {
		display: block;
    }
}

/** Dropdown **/
ul.dropdown {
	display: none;
	position: absolute;
	background-color: #FFF;
	list-style-type: none;
	padding: 5px;
	border-radius: 9px;
}

.container .navigation > div > li:hover > ul.dropdown {
	display: block;
}

ul.dropdown li {
	font-family: 'Open Sans', sans-serif;
	font-size: 16pt;
	width: 150px;
}

ul.dropdown li:after {
	content: ' ';
	display: block;
	opacity: 0.2;
	width: 100%;
	height: 1px;
	background-color: #666;
	margin: 2px 0px;
}

ul.dropdown li:last-child:after {
	display: none;
}

ul.dropdown li a {
	color: #444;
}

/** Content **/
.content {
	padding: 30px 10% 0px 10%;
}

/** Index **/
.signature {
	font-family: weddingChardonnay;
	font-size: 48pt;
	line-height: 0;
	margin: 50px 0 0 0;
}

p {
	font-size: 18pt;
	text-align: center;
}

/** Weekend **/

/** Timeline **/
ul.timeline {
    list-style-type: none;
	border-left: 3px solid #000;
	margin-left: 20%;
	padding: 0 0 0 20px;
}

ul.timeline > li { 
	margin-bottom: 30px;
}

ul.timeline > li.date {
	font-family: weddingChardonnay;
	font-size: 48pt;
}

ul.timeline > li.event {
	font-family: 'Open Sans', sans-serif;
	font-size: 28pt;
}

ul.timeline > li.event > .time {
	position: absolute;
	margin-left: -190px;
	color: #333;
}

ul.timeline > li.event > .time > .period {
	color: #777;
}

ul.timeline > li.event > .name {
	font-weight: 800;
}

ul.timeline > li.event > .address {
	margin-left: 20px;
	color: #444;
}

ul.timeline > li.event > .location {
	font-size: 18pt;
	margin-top: 10px;
	background-color: #CCC;
	padding: 20px;
	border-radius: 9px;
}

ul.timeline > li.event > .location > .place {
	font-weight: bold;
}

@media screen and (max-width: 550px) {
	ul.timeline {
		border: 0px;
		margin-left: 0;
	}
    
	ul.timeline > li.date {
    	font-size: 36pt;
    }
	
	ul.timeline > li.event > .time {
		position: static !important;
		margin-left: 0 !important;
	}
	
	ul.timeline > li.event {
		font-size: 24pt;
	}
}

@media screen and (max-width: 750px) {
	ul.timeline {
		border: 0px;
	}
    
	ul.timeline > li.date {
    	font-size: 36pt;
    }
	
	ul.timeline > li.event > .time {
		font-size: 24pt;
		margin-left: -140px;
	}
	
	ul.timeline > li.event {
		font-size: 24pt;
	}
}

/** Newport **/

/** Accommodations Header **/
.accommodations {
	height: 300px;
	background-image: url('/images/accommodations/hojo.jpg');
	background-position: center 45%;
	background-size: cover;
	border-radius: 30px;
	overflow: hidden;
}

.accommodations > h1 {
	/*background-color: rgba(255, 255, 255, 0.7);*/
	padding: 20px 30px;
	margin: 0;
	font-family: weddingChardonnay;
	font-size: 48pt;
	font-weight: normal;
	color: #FFF;
	text-shadow: 0 0 10px #6c5b7e;
}

.hotel {
	display: flex;
	align-items: center;
	margin-top: 50px;
	clear: both;
}

.hotel .photo {
	margin-right: 50px;
	padding-bottom: 40px;
}

.hotel .photo .film .picture {
	max-height: 300px;
	max-width: 350px;
	height: 20vw;
	width: 22vw;
}

@media screen and (max-width: 1100px) {
	.hotel .photo {
		display: none;
	}
}

.hotel .information {
	display: flex;
	flex-wrap: wrap;
	align-content: start;
	align-items: baseline;
}

.hotel .information .name {
	font-family: weddingChardonnay;
	font-size: 48pt;
	color: #6c5b7e;
	margin-right: 20px;
}

.hotel .information .location {
	font-size: 18pt;
	color: #444;
}

.hotel .information .description {
	margin-top: 10px;
	overflow: wrap;
	background-color: #FFF;
	padding: 30px;
	border-radius: 30px;
	font-size: 16pt;
}

.hotel .information .description .callout {
	background-color: #DDD;
	padding: 15px;
	border-radius: 20px;
	margin-top: 20px;
	text-align: center;
}

.hotel .information .description .callout .number {
	font-size: 26pt;
	padding: 10px 0;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 65vw;
}

.hotel .information .description .callout .rate {
	font-size: 26pt;
	padding: 10px 0;
}

.hotel.right .information {
	justify-content: flex-end;
}

.hotel.right .information .name {
	margin: 0 0 0 20px;
}

.hotel.right .photo {
	margin: 0 0 0 40px;
}

.discoverNewport {
	width: 80%;
	height: 35vw;
}

/** Registry **/
.zola-registry-iframe, .discoverNewport {
	border-radius: 30px;
	margin-top: 50px;
}

/** RSVP **/
.guests {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.guestCard, .additionalCard {
	background-color: #FFF;
	border-radius: 6px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	padding: 10px;
	margin: 10px 20px;
	min-width: 200px;
}

.guestCard > div.top {
	padding: 10px;
	background-color: rgba(110, 91, 123, 0.8);
	color: #FFF;
	border-radius: 9px;
}

.guestCard .name {
	font-family: weddingChardonnay;
	font-size: 36pt;
	text-align: center;
	text-shadow: 2px 2px rgba(110, 91, 123, 0.8);
}

.guestCard .name > span {
	font-size: 20pt;
}

.switch {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	padding: 5px 15px;
	background-color: #EEE;
	border-radius: 6px;
	font-size: 11pt;
}

.switch.no {
	background-color: #F77770;
}

.switch.yes {
	background-color: #6BCD69;
}

.radio.invalid {
	border: 2px solid #F77770 !important;
}

.switch > span.no {
	color: #F77770;
}

.switch > span.yes {
	color: #6BCD69;
	margin-left: 15px;
}

.switch.yes > span.yes {
	color: #FFF;
}

.switch.yes > span.no {
	color: rgba(110, 91, 123, 0.8);
}

.switch.no > span.yes {
	color: rgba(110, 91, 123, 0.8);
}

.switch.no > span.no {
	color: #FFF;
}

.guestCard .food {
	margin-top: 15px;
}

.guestCard > i, .additionalCard i {
	position: absolute;
	margin-left: -35px;
	background-color: #FFF;
	border-radius: 3px;
	padding: 6px;
	box-shadow: -1px 0px 1px rgba(0,0,0,0.3);
	color: rgba(110, 91, 123, 0.5);
	width: 15px;
	text-align: center;
}

.guestCard .food > .options {
	border-radius: 6px;
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
}

.guestCard .food > .options > img {
	height: 35px;
	opacity: 0.3;
	padding: 10px;
}

.guestCard .food > .options > img.active {
	opacity: 1.0;
	background-color: #EEE;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
}

.guestCard .food > .explanation {
	height: 15px; 
	background-color: #EEE;
	border-radius: 6px;
	padding: 10px 5px;
	text-align: center;
	font-size: 10pt;
}

.guestCard .dietary {
	margin-top: 10px;
	text-align: center;
	padding:10px;
}

.guestCard div > textarea,input, .additionalCard > div textarea,input {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	background-color: rgba(110, 91, 123, 0.3);
	padding: 6px;
	border: 0px;
	border-bottom: 2px solid rgba(110, 91, 123, 0.8);
	border-radius: 9px;
	margin-top: 5px;
}

.additionalCard > .childcare textarea {
	margin-top: 32px;
}

.additionalCard {
	max-width: 300px;
}

.additionalCard div > p {
	font-size: 12pt;
	text-align: left;
	margin: 0;
}

.additionalCard p.title {
	font-size: 14pt;
	padding-bottom: 5px;
	margin-bottom: 10px;
	border-bottom: 1px solid #CCC;
}

.additionalCard select {
	width: 95%;
	height: 50px;
	margin: 10px;
}

.additionalCard .nearby {
	margin-top: 10px;
}

button.rsvp {
	margin-left: 50px;
	font-size: 20pt;
	background-color: #6E5B7B;
	border: 0;
	color: #EEE;
	padding: 10px;
	border-radius: 9px;
}

button.rsvp:hover {
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	background-color: #6E5B9B;
	color: #FFF;
}

button.rsvp:active {
	background-color: #6E7B9B;
}

button.rsvp[disabled] {
	background-color: #CCC;
}

input.invalid, textarea.invalid {
	border: 2px solid #F77770 !important;
}

/*span.green {
	color: green;
}

span.red {
	color: red;
}*/

/*.guestCard > div {
	text-align: left;
	display: flex;
	align-items: flex-start;
	font-size: 18pt;
	text-align: center;
}

.guestCard > div > * {
	margin: 0 auto;
}

.guestCard span.name {
	font-family: weddingChardonnay;
	font-size: 36pt;
	font-weight: bold;
	margin-right: 10px;
}*/
