/*
 * mcms_invite_1.css
 *
 * Styles for invite 1 Layout
 *
 */

 /* IMPLEMENTER: These responsive styles are for #shell on Layouts site; remove them! */

 @media (max-width:999px) {
 	#shell { width: 100vw; }
 	#shell-wrap { width: 90% !important; }
 }

/* IMPLEMENTER: Remove above styles for #shell element */

.header-image {
	width: 100%;
	padding-top: 40%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
	position: relative;
}

.header-image .page-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-25%) translateX(-50%);
	font-size: 2em;
	font-weight: 600;
	margin-top: 0;
	padding-top: 0;
	line-height: 1;
	width: 90%;
}

@media (min-width: 48em) {
	.header-image .page-title {
		width: 80%;
		font-size: 3em;
	}
}

/* WYSIWYG CONTAINER */

#invite1 .wysiwyg-content {
	width: 100%;
	display: block;
	margin: 4em 0;
}

#invite1 .wysiwyg-content p {
	font-size: 1.25em;
}

/* SHARE LINKS */

#invite1 .user-instructions {
	text-align: center;
	display: block;
	font-weight: 600;
	font-size: 24px;
}

#invite1 #share-links .links-container {
	display: block;
	width: 100%;
	margin: 3em auto;
}

@media (min-width: 56em) {
	#invite1 #share-links .links-container {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		margin: 3em auto;
	}
}

#invite1 #share-links .share-item {
	width: 100%;
	display: block;
	margin-right: 0;
	text-align: center;
	margin-bottom: 1em;
}

#invite1 #share-links .share-item:after {
	content: '';
	display: block;
	width: 100%;
	clear: both;
	height: 1em;
}

@media (min-width: 36em) {
	#invite1 #share-links .share-item {
		width: 100%;
		text-align: left;
		margin-bottom: 0;
		margin-right: 0;
	}
}

@media (min-width: 56em) {
	#invite1 #share-links .share-item {
		width: 31.533333333%;
		margin-right: 2.7%;
		text-align: center;
		margin-bottom: 1em;
	}

	#invite1 #share-links .share-item:after {
		display: none;
	}

	#invite1 #share-links .share-item:nth-child(3n) {
		margin-right: 0;
	}
}

#invite1 #share-links .share-item .invite-thumbnail-link {
	width: 100%;
	display: block;
	float: none;
	padding-top: 51.2820513%;
	margin-bottom: 1em;
	background-color: #333;
	box-shadow: 0 0 0 0 #5d7b9d; /* Use site's link color */
	opacity: 1.0;
	transition: all .2s ease-in-out;
	transform: rotate(0deg);
	-moz-transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-webkit-backface-visibility: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	box-sizing: border-box;
}

@media (min-width: 36em) {
	#invite1 #share-links .share-item .invite-thumbnail-link {
		width: 45%;
		float: left;
		padding-top: 23.076923085%;
		margin-right: 5%;
		margin-bottom: 1em;
	}
}


@media (min-width: 56em) {
	#invite1 #share-links .share-item .invite-thumbnail-link {
		width: 100%;
		float: none;
		padding-top: 51.2820513%;
		margin-right: 0;
	}
}

#invite1 #share-links .share-item .invite-thumbnail-link:hover {
	opacity: .95;
	animation: shimmy .65s infinite;
	animation-delay: 0s;
	animation-timing-function: linear;
	box-shadow: 0 0 0 7px #5d7b9d; /* Use site's link color */
}

#invite1 #share-links .share-item h6 {
	margin-bottom: .25em;
	display: block;
}

#invite1 #share-links .share-item p.subtitle {
	font-size: 1.166666667em;
	line-height: 1.3;
	display: block;
}

@keyframes shimmy {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(.7deg); }
  75% { transform: rotate(-.65deg);}
  100% { transform: rotate(0deg);}
}

/* SHARE OPTIONS / BUTTONS */

#invite1 #share-options {
	display: none;
}

#invite1 #share-options .button-container {
	display: flex;
	width: 80%;
	margin: 3em auto;
	flex-wrap: wrap;
}

#invite1 #share-options .button-container .share-button {
	width: 50%;
	margin: 0;
	display: block;
	background-color: #fafafa;
	border: 2px solid #f2f2f2;
	padding: 1.25em 0;
	text-align: center;
	font-weight: 600;
	font-size: 1em;
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	box-sizing: border-box;
}

@media (min-width: 24em) {
	#invite1 #share-options .button-container .share-button {
		font-size: 1.25em;
	}
}

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

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

/* 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: 60%;
	margin: 3em auto;
}

#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;
	font-size: 1.25em;
}

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

#invite1 #invite-form {
	width: 100%;
	text-align: left;
	display: none;
}

#invite1 #invite-form .warning {
	margin: .25em 0 1em;
	display: none;
}

#invite1 #invite-form label {
	width: 100%;
	display: block;
	text-align: left;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 5px;
}

#invite1 #invite-form input, #invite1 #invite-form textarea {
	width: 100%;
	display: block;
	font-size: 1em;
	margin-bottom: 1em;
	box-sizing: border-box;
	padding: .5em;
	border: 1px solid #f2f2f2;
}

#invite1 #invite-form #loading {
	width: 110px;
	margin: 1em 0;
	height: 40px;
	display: none;
	/* Update the URL below */
	background-image: url('../_img/preloader.svg');
	background-position: center center;
	background-color: transparent;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

#invite1 #invite-form input[type='submit'] {
	padding: .75em 2em;
	line-height: 1;
	text-align: center;
	width: 110px;
	height: 40px;
	display: block;
	margin: 1em 0;
	font-size: 1.25em;
	font-weight: 600;
	transition: background-color .25s ease-in-out;
	-moz-transition: background-color .25s ease-in-out;
	-webkit-transition: background-color .25s ease-in-out;
	border-radius: 4px;
	box-sizing: border-box;
}

#invite1 #invite-form.preloader input[type='submit'] {
	display: none;
}

#invite1 #invite-form.preloader #loading {
	display: block;
}

#invite1 #invite-form input[type='submit']:hover {
	cursor: pointer;
}

/* 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: 60%;
	margin: 3em auto;
}

#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;
	font-size: 1.25em;
}

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

#invite1 #ig-option #ig-preview .image-download {
	padding: .75em 2em;
	text-align: center;
	display: block;
	width: 100%;
	max-width: 220px;
	line-height: 1.3;
	font-size: 1em;
	font-weight: 600;
	transition: background-color .25s ease-in-out;
	-moz-transition: background-color .25s ease-in-out;
	-webkit-transition: background-color .25s ease-in-out;
	margin: 0 auto;
	box-sizing: border-box;
	border-radius: 4px;
	line-height: 1;
}

@media (min-width:24em) {
	#invite1 #ig-option #ig-preview .image-download {
		font-size: 1.25em;
	}
}

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

/* START OVER LINK */

#start-over {
	width: 150px;
	display: none;
	margin: 2em auto;
	color: rgba(60,60,60,0.4);
	font-weight: 800;
	font-size: 1.25em;
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	text-align: center;
}

#start-over > span {
	font-size: 1.75em;
	vertical-align: -6px;
}

/* STYLES FOR COLOR PICKER / OVERRIDE.CSS */

/* White Text Color */
.header-image .page-title,
#invite1 #share-options .button-container .share-button.active,
#invite1 #invite-form input[type='submit'],
#invite1 #ig-option #ig-preview .image-download {
	color: #fafafa;
}

/* Link Color */
#invite1 #share-options .button-container .share-button,
#start-over:hover,
#invite1 #invite-form .warning {
	color: #5d7b9d;
}

/* Link Color - Background */
#invite1 #share-options .button-container .share-button.active,
#invite1 #invite-form input[type='submit'],
#invite1 #ig-option #ig-preview .image-download {
	background-color: #5d7b9d;
}

/* Link Color - Border */
#invite1 #share-options .button-container .share-button.active,
#invite1 #share-options .button-container .share-button:hover {
	border-color: #5d7b9d;
}

/* "Brighter" Link Color - Background */

#invite1 #invite-form input[type='submit']:hover,
#invite1 #ig-option #ig-preview .image-download:hover {
	background-color: #5995d8;
}

/* Body Font */

#invite1 #invite-form input, #invite1 #invite-form textarea {
	font-family: proxima-nova-1,proxima-nova-2,sans-serif;
}

iframe.form {
	width: 100%;
}
