
:root {
  --theme-color: #e2dbdf; /* #E1F0D8 */
  --theme-color-transparent: #e2dbdf00;
  --theme-font-family-emphasized: 'Pacifico', sans-serif;
}

body { background: #EFE0E4 !important; font-family: 'Open Sans', sans-serif !important; letter-spacing: 0 !important; }

.invite { background: var(--theme-background-color); color: #464646; position: relative; }

h2 { margin: 70px 0 16px; font-family: var(--theme-font-family-emphasized); font-size: 27px; text-align: var(--theme-text-align); }
p { margin: 16px 0; font-size: 17px; }
img { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; }

button { font-size: 18px; padding: 10px 10px; line-height: 20px; border: 1px solid #D5D5D5; border-radius: 8px; color: #464646; background: none; /*background-image: linear-gradient(#EEEEEE, #D8D8D8);*/ }
button[disabled] { color: #999; }

.block { position: relative; }

.stepper { margin-bottom: 16px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; }
.stepper label { font-size: 18px; line-height: 48px; align-self: stretch; }
.stepper button { padding-top: 4px; font-size: 37px; height: 50px; width: 47px; line-height: 30px; margin: 0 0 0 10px; vertical-align: middle; }
.stepper button.minus { }
.stepper input { margin: 0 0 0 10px; font-size: 24px; padding: 10px 10px; width: 50px; line-height: 20px; border: 1px solid #D5D5D5; border-radius: 8px; text-align: center; color: #222; background: #fff; vertical-align: middle; opacity: 1; }
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { /* display: none; <- Crashes Chrome on hover */ -webkit-appearance: none; margin: 0; /* <-- Apparently some margin are still there even though it's hidden */ }
input[type=number] { -moz-appearance:textfield; /* Firefox */ }

.toggle { margin-bottom: 16px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; }
.toggle label { font-size: 18px; line-height: 48px; align-self: stretch; }
.toggle button { font-size: 19px; height: 50px; line-height: 30px; vertical-align: middle; }
.toggle button.selected { font-weight: bold; }
.toggle .input button:first-child { border-radius: 8px 0 0 8px; }
.toggle .input button:last-child { border-radius: 0 8px 8px 0; }


textarea { margin: 10px 0; height: 90px; padding: 5px 10px; width: 100%; font-size: 18px; line-height: 1.5em; border: 1px solid #D5D5D5; border-radius: 8px; color: #464646; background: #fff; font-family: 'Open Sans', sans-serif !important; }

h2.first { margin-top: 40px; }

.day { white-space: nowrap; display: inline-block; margin-right: 9px; }
.date { letter-spacing: -1.5px; }

.countdown { transform: rotate(21deg); width: 83px; height: 83px; padding: 3px 0; margin-top: -30px; margin-left: -50px; float: right; border-radius: 100%; text-align: center; line-height: 26px; font-size: 14px; color: #656565; background: var(--theme-color); }
.countdown .number { margin: -4px 0 2px; font-size: 41px; color: #464646; font-family: var(--theme-font-family-emphasized); }

.timeline { list-style: none; font-size: 19px; margin: 40px 0 90px; padding: 0; position: relative; }
.timeline li { margin-bottom: 45px; padding-left: 125px; position: relative; }
.timeline .time { left: 0; position: absolute; }
.timeline .icon { left: 63px; top: -11px; width: 48px; height: 48px; display: block; position: absolute; border-radius: 100%;  background: var(--theme-color) no-repeat 50% 45%; background-size: 100%; }
.timeline small { margin: 2px 0 -16px; color: #797979; font-size: 14px; display: block; }
.timeline:before { content: ""; width: 8px; top: 0; bottom: -40px; margin: 0; left: 83px; padding: 0; display: block; position: absolute; background-image: linear-gradient(var(--theme-color) 92%, var(--theme-color-transparent) 100%); }

.timeline.large li { padding-left: 70px; }
.timeline.large:before { display: none; }
.timeline.large .time { position: static; clear: both; }
.timeline.large .icon { background: none no-repeat 50% 45%; background-size: contain; top: 0; left: -5px; width: 60px; height: 60px; border-radius: 0; }

.timeline .tent .icon { background-image: url(../images/Icons/Gathering.png); }
.timeline .rings .icon { background-image: url(../images/Icons/Ritual.png); }
.timeline .cheers .icon { background-image: url(../images/Icons/Reception.png); }
.timeline .dance .icon { background-image: url(../images/Icons/Party.png); }

.videoBlock {  width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; position: relative; }
.videoBlock video { width: 100%; height: auto; }
.videoBlock .textOverlay { bottom: 20px; left: 20px; right: 20px; z-index: 5; position: absolute; text-align: center; font-size: 3em; letter-spacing: 1; font-family: var(--theme-font-family-emphasized); color: #fff; text-shadow: 0 0 3px #000000cc; }

.iconItem { margin: 26px 0 26px 55px; position: relative; }
.iconItem:before { left: -35px; top: 4px; width: 40px; height: 40px; transform: translateX(-50%); position: absolute; display: block; content: ''; background: no-repeat 50% 45%; background-size: 100%; }
.iconItem button { margin: 10px 0 0; width: calc(100% - 2 * 30px); }
.iconItem.location:before { background-image: url(../images/Icons/Location.png); }
.iconItem.transport:before { background-image: url(../images/Icons/Transport.png); }

.contact { font-size: 18px; }
.contact a { margin: 0 0 15px; display: inline-block; clear: both; border-bottom: 1px dotted; color: inherit; text-decoration: none; }
.contact button { padding-left: 0; padding-right: 0; width: 100%; }

.rsvp { margin: 100px -16px 0; padding: 30px 16px 20px; border-top: 1px solid #A8A484; background: #FFF9C9; }
.rsvp h2 { margin-top: 0; }
.rsvp button { background-image: linear-gradient(#EEEEEE, #D8D8D8); }

/*.rsvp .MuiSnackbar-root { position: absolute !important; top: 21px !important; right: 16px !important; left: auto !important; bottom: auto !important; }*/
.rsvp .MuiSnackbarContent-message { font-size: 18px; }


.lds-ring { display: inline-block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; }
.lds-ring div { box-sizing: border-box; display: block; position: absolute; width: 51px; height: 51px; margin: 6px; border: 6px solid #C9DDBD; border-radius: 50%; animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; border-color: #C9DDBD transparent transparent transparent; }
.lds-ring div:nth-child(1) { animation-delay: -0.45s; }
.lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.lds-ring div:nth-child(3) { animation-delay: -0.15s; }
@keyframes lds-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



.tagline { z-index: 1; height: 576px; padding: 160px 180px 0; font-size: 190px; font-family: var(--theme-font-family-emphasized); line-height: 1.2; display: flex; text-align: center; vertical-align: middle; position: relative; }
.tagline { transition: 300ms all ease; opacity: 0; will-change: opacity; }
.tagline.show { opacity: 1; }
.tagline div { margin: auto; }

.preview { z-index: 1; transform: translate(-50%, -46%) scale(2.7); width: 442px; height: 811px; padding: 25px 33.5px; position: absolute; top: 50%; left: 50%; }
.preview .content { width: 375px; height: 812px; overflow: scroll; position: relative; border-radius: 38px; }
.preview .content .MuiContainer-root { width: 100%; box-sizing: border-box; margin-left: auto; margin-right: auto;  padding-left: 16px; padding-right: 16px; }
.preview .frame { width: 441.5px; height: 864.5px; z-index: 0; position: absolute; top: 0; left: 0; background: url(../images/phone.png) no-repeat 50% 50%; background-size: contain; }
.switchPreview { top: 0; right: 0; bottom: 0; left: 0; z-index: 0; position: absolute; }

.footer { z-index: 1; position: absolute; bottom: 0; left: 0; right: 0; height: 300px; background: #F6F6F6; -moz-box-shadow: 0px 9px 17px 1px #A1A1A1; -webkit-box-shadow: 0px 9px 17px 1px #A1A1A1; box-shadow: 0px 9px 17px 1px #A1A1A1; vertical-align: middle; display: flex; }
.footer > * { margin: auto; }
.footer .logo { float: left; margin-left: 100px; width: 237px; }
.footer .channels { float: right; margin-right: 100px; width: 634px; }
