/* SHARE LINKS */
#invite1 .user-instructions { text-align: center; display: block; }

#invite1 #share-links .links-container { width: 100%; margin: 2rem auto -2em; }

#invite1 #share-links .share-item { margin-bottom: 2rem; }

#invite1 #share-links .share-item .invite-thumbnail-link { display: block; position: relative; float: none; padding-top: 51.2820513%; margin-bottom: 1rem; background-size: cover; background-repeat: no-repeat; background-position: center; box-sizing: border-box; box-sizing: border-box; text-decoration: none !important; transition: all 0.2s ease-in-out; border-radius: .5rem; box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2); }

#invite1 #share-links .share-item .invite-thumbnail-link:after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; right: 0; opacity: 0; visibility: hidden; border-radius: .5rem; transition: all 0.2s ease-in-out; }

@media (hover: hover) { #invite1 #share-links .share-item .invite-thumbnail-link:hover:after { opacity: 1; visibility: visible; } }

#invite1 #share-links .share-item p.subtitle { display: block; margin-bottom: 0; }

@keyframes shimmy { 0% { transform: rotate(0deg); }
  25% { transform: rotate(0.7deg); }
  75% { transform: rotate(-0.65deg); }
  100% { transform: rotate(0deg); } }

/* SHARE OPTIONS / BUTTONS */
#invite1 #share-options { display: none; }

#invite1 #share-options .button-container { display: flex; width: 100%; margin: 2rem auto; flex-wrap: wrap; max-width: 1000px; }

@media (min-width: 768px) { #invite1 #share-options .button-container { margin-top: 3rem; } }

#invite1 #share-options .button-container .share-button { width: 220px; margin: 0 auto .5rem; display: block; box-sizing: border-box; padding-left: 0 !important; padding-right: 0 !important; }

@media (min-width: 48em) { #invite1 #share-options .button-container .share-button { width: 22%; margin: 0 1.25% 1rem; min-width: 205px; } }

#invite1 #share-options .button-container .share-button > span { padding-right: 2px; vertical-align: -2px; }

/* Special tweaks for Layouts site to get better icon alignment; replace with theme icons */
#invite1 #share-options .button-container .share-button > .social_instagram { vertical-align: -1px; }

#invite1 #share-options .button-container .share-button > .icon_mail_alt { vertical-align: 1px; }

/* EMAIL FORM CONTENT */
#invite1 #email-option { display: none; width: 100%; margin: 3rem auto; }

@media (min-width: 992px) { #invite1 #email-option { width: 60%; } }

#invite1 #email-option #email-preview { text-align: center; width: 100%; }

#invite1 #email-option #email-preview h6 { margin-bottom: .25em; }

#invite1 #email-option #email-preview .subtitle { margin-bottom: .75em; }

#invite1 #email-option #email-preview > img { width: 100%; height: auto; margin-bottom: 2rem; margin-top: .5rem; }

#invite1 #invite-form { width: 100%; display: none; padding-top: 2rem; }

@media (min-width: 768px) { #invite1 #invite-form { padding-top: 4rem; } }

#invite1 #invite-form .text input, #invite1 #invite-form textarea, #invite1 #invite-form .email input { width: 100%; }

#invite1 #invite-form .warning { margin: .25rem 0 1rem; display: none; font-style: italic; }

#invite1 #invite-form #submitInvite:focus { border: 0; outline: 0; }

/* FORM EMBED (FMS) OPTION */
#invite1 #email-option #form-embed { width: 100%; height: auto; display: none; }

#invite1 #email-option #form-embed iframe { /* assuming that iframe embed has a 95% width (?) - adjust as needed */ margin-left: 2.5%; }

/* INSTAGRAM OPTION */
#invite1 #ig-option { display: none; width: 100%; margin: 3rem auto; }

@media (min-width: 992px) { #invite1 #ig-option { width: 60%; } }

#invite1 #ig-option #ig-preview { text-align: center; width: 100%; }

#invite1 #ig-option #ig-preview h6 { margin-bottom: .25em; }

#invite1 #ig-option #ig-preview .subtitle { margin-bottom: .75em; }

#invite1 #ig-option #ig-preview > img { width: 100%; height: auto; margin-bottom: 2rem; margin-top: .5rem; }

#invite1 #ig-option #ig-preview .image-download { text-align: center; display: block; width: 100%; max-width: 400px; margin: 0 auto; box-sizing: border-box; }

#invite1 #ig-option #ig-preview .image-download:hover { cursor: pointer; }

/* START OVER LINK */
#start-over { width: 220px; display: none; margin: 2rem auto 0; text-align: center; }

iframe.form { width: 100%; }
