@import url('https://fonts.googleapis.com/css2?family=Fjalla+One:wght@400;500;600;700');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700');

body {
	overflow: hidden; /* Hide scrollbars */
	font-family: 'Roboto', sans-serif;
	background-color: white;
}


#netta_postcards, #splash, #hide_fouc {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9001;
}

#hide_fouc {
	background-color: #565348;
	z-index: 9009;
}

/* the auto login page also needs to be hidden */
.page-id-78 {
	display: none;
}


#netta_postcards {
	background-color: white;
}

.form-section {
	width: 1212px;
	height: 635px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -606px;
	background-color: white;
	background-size: cover;
	padding: 40px;
}

#keyboard_container {
	width: 1212px;
	height: 635px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -606px;
}


#netta_postcards {
	background-color: white;
	/* background image is set inline, in the php */
	background-size: cover;
	background-position: center;
}

#netta_logo {
	position: absolute;
	width: 327px;
	height: 54px;
	top: 13px;
	left: 30px;
	-webkit-user-drag: none;
}

.netta-header {
	position: absolute;
	top: 21px;
	right: 39px;
	width: 767px;
	height: 107px;
}

#splash_pic {
	width: 1345px;
	height: 836px;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -672px;
	-webkit-user-drag: none;
}


.instructions {
	color: #DB4B4F;
	text-align: center;
	font-family: 'Fjalla One', sans-serif;
	font-size: 20px;
	font-weight: 400;
}

#section1 .instructions {
	margin-top: 84px;
}

.button-next, .button-back, #exit {
	cursor: pointer;
	color: transparent;
	-webkit-user-drag: none;
	background-size: cover;
	background-position: center;
}

.button-next {
	position: absolute;
	right: 10px;
	bottom: -80px;
	width: 217px;
	height: 66px;
}
.button-next.inactive {
	opacity: 0.6;
	cursor: not-allowed;
}
.button-back {
	position: absolute;
	left: 10px;
	bottom: -80px;
	width: 219px;
	height: 66px;
}

#exit {
	position: absolute;
	right: 10px;
	bottom: -80px;
	width: 284px;
	height: 93px;
}

.text-step {
	font: normal normal normal 39px/49px Fjalla One;
	letter-spacing: 1.48px;
	color: #FFFFFF;
	text-shadow: 0px 3px 6px #00000058;
	text-align: center;
	position: absolute;
	bottom: -80px;
	left: 0;
	right: 0;
}

input[type="text"],
input[type="text"]:focus,
input[type="email"],
input[type="email"]:focus,
textarea,
textarea:focus {
	background-color: #F9F9F9 !important;
	border-radius: 10px !important;
	border: none !important;
	outline: none !important;
	resize: none !important;
}






/************************** postcard selection */

#postcards_list {
	width: 100%;
	height: 100%;
}


#postcards_scrollbox {
	width: 1130px;
	height: 440px;
	position: absolute;
	top: 160px;
	left: 41px;
	overflow-y: scroll;
}

#postcards_scrollbox::-webkit-scrollbar {
	width: 18px;
}
#postcards_scrollbox::-webkit-scrollbar-track {
	background-color: #F4F4F4;
	border-radius: 100px;
}
#postcards_scrollbox::-webkit-scrollbar-thumb {
	background-color: #E6E6E6;
	border-radius: 100px;
}

.photo-thumb {
	position: relative;
	float: left;
	width: 237px;
	height: 207px;
	text-align: center;
	margin-right: 40px;
	margin-bottom: 28px;
	padding: 14px 20px;
	color: #436671;
}

.photo-thumb.selected {
	color: white;
}
.photo-thumb.selected .photo-pic img.selected { display: block; }


.photo-pic {
	background-size: cover;
	background-position: center;
	display: inline-block;
	width: 198px;
	height: 108px;
}

.photo-pic .selected { display: none; }

.photo-title, .photo-subtitle {
	margin: 0;
	font-weight: 500;
	line-height: 24px;
}
.photo-title {
	font-size: 26px;
	margin-top: 5px;
}
.photo-subtitle {
	font-size: 18px;
	margin-top: -5px;
}






/********************** preview lightbox */

#postcard_preview_lightbox {
	display: none;
	background: rgba(0, 0, 0, 0.8);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9002;
}

.lightbox-view {
	background-color: white;
	width: 795px;
	height: 677px;
	position: absolute;
	left: 50%;
	margin-left: -397px;
	margin-top: 32px;
}

.lightbox-pic {
	background-size: cover;
	background-position: center;
	width: 748px;
	height: 498px;
	position: absolute;
	left: 50%;
	margin-left: -374px;
	top: 76px;
	-webkit-user-drag: none;
}

.lightbox-title {
	position: absolute;
	top: 20px;
	left: 0;
	right: 0;
	text-align: center;
	color: #436671;
	font-weight: 800;
	font-size: 26px;
}

.lightbox-cancel {
	position: absolute;
	bottom: 20px;
	left: 23px;
	-webkit-user-drag: none;
}
.lightbox-select {
	position: absolute;
	bottom: 20px;
	right: 23px;
	-webkit-user-drag: none;
}
.lightbox-close {
	width: 31px;
	height: 31px;
	position: absolute;
	top: 8px;
	right: -51px;
	-webkit-user-drag: none;
}



/************************* postcard message */
#section2 {
	padding-top: 130px;
}


.character-limit {
	color: #F4AA45;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
}







/************************* names and email addresses */

.contact-info-block {
	width: 492px;
	margin: 90px 35px 20px 35px;
	position: relative;
	float: left;
}

.email-invalid {
	border: 1px solid #DB4B4F;
}



/************************* postcard preview, and success screen */
#final_postcard_preview_with_wrappers .instructions {
	transform: matrix(1, 0.07, -0.07, 1, 0, 0);
	position: absolute;
	width: 100%;
	top: 114px;
	left: 351px;
	font-size: 28px;
}

#final_postcard_preview, #sent_postcard {
	width: 1212px;
	height: 635px;
	position: absolute;
	top: 0;
	left: 0;
}

.postcard-front, .postcard-back {
	width: 641px;
	height: 403px;
	-webkit-box-shadow: 2px 2px 4px 0 rgba(0,0,0,0.38);
	box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.38);
	position: absolute;
	background-size: cover;
	background-position: center;
	padding: 80px 80px 20px 60px;
}

#final_postcard_preview .postcard-front {
	top: 183px;
	left: -40px;
	transform: rotate(-15deg);
}

#final_postcard_preview .postcard-back {
	transform: rotate(4deg);
	top: 150px;
	right: -40px;
}


#sent_postcard .postcard-front {
	top: 370px;
	left: -30px;
	transform: rotate(-15deg);
}

#sent_postcard .postcard-back {
	top: 130px;
	left: -35px;
	transform: rotate(4deg);
}



.postcard-back .section.name-email {
	width: 47%;
	position: relative;
	float: left;
}

.postcard-back .section-label {
	color: #41B8DE;
	font-family: 'Fjalla One', sans-serif;
}

.postcard-back .section.message {
	width: 100%;
	position: relative;
	float: left;
}





#final_postcard_preview_with_wrappers .postcard-wrapper-front {
	width: 735px;
	height: 566px;
	position: absolute;
	top: 92px;
	left: -62px;
}


#final_postcard_preview_with_wrappers .postcard-wrapper-front .postcard-front {
	transform: rotate(-15deg);
	left: 44px;
	top: 80px;
}



#final_postcard_preview_with_wrappers .postcard-wrapper-back {
	width: 678px;
	height: 458px;
	position: absolute;
	top: 146px;
	right: -70px;
}

#final_postcard_preview_with_wrappers .postcard-wrapper-back .postcard-back {
	transform: rotate(4deg);
	top: 24px;
	left: 16px;
}




#final_postcard_preview { display: none; }



#spinner {
	position: absolute;
	bottom: 10px;
	right: 20px;
	animation: rotation 2s;
	animation-timing-function: ease-in;
	animation-iteration-count: infinite;
	display: none;
}
@keyframes rotation {
	from { transform: rotate(0deg); }
	to { transform: rotate(359deg); }
}


#cf7_send_btn {
	display: none;
}



#send_card  {
	cursor: pointer;
	color: transparent;
	-webkit-user-drag: none;
	background-size: cover;
	background-position: center;
	position: absolute;
	right: 10px;
	bottom: -80px;
	width: 217px;
	height: 66px;
}

#send_card .wpcf7-submit, #send_card .wpcf7-submit:focus {
	background-color: transparent;
	border: 0;
	outline: 0;
	color: transparent;
	width: 217px;
	height: 66px;
}



.wpcf7-response-output { display:  none !important; }

#success_message {
	width: 450px;
	height: 500px;
	top: 150px;
	right: 100px;
	position: absolute;
	text-align: center;
	font-weight: 300;
}

#success_message img { display: inline-block; }

#success_message .success {
	color: #DB4B4F;
	font-size: 55px;
	line-height: 55px;
	font-family: 'Fjalla One', sans-serif;
	margin: 0;
}

#success_message .url {
	color: #41B8DE;
	font-size: 28px;
	font-weight: 600;
}


