
#completed-button{
	position: absolute;
	bottom: 4px;
	left: 50%;
	margin-left: -210px;
	text-align: center;
	width: 420px;
	z-index: 13;
	background: rgba(25, 25, 24, 0.7);
	height: 40px;
	padding: 7px 0 0;
	border-radius: 10px 10px 0 0;
	box-shadow: 1px 1px 7px #000;
	font-size: 0;
}
#completed-button .d3-button{
	font-size: 18px;
}
#completed-letter{
	position: relative;
}
#google-bottom{
	position: relative;
	height: 100px;
	width: 850px;
	margin: 0 auto;
	text-align:center;
	max-width: 100%;
}

.GAS div.letter-samples{
	width: 33%;
	display: inline-block;
	position: relative;
}

.GAS div.letter-samples::before{
	content: ' ';
	display: block;
	padding-top: 125%;
}

div.letter-samples img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	image-rendering: -webkit-optimize-contrast;
	border: 5px solid #fff;
	cursor: pointer;
	transform: scale(1);
	transition: transform 0.3s;
	width: calc(100% - 10px);
}

.GAS h3.letter-samples-title{
	font-size: 25px;
	color: #fff;
	text-shadow: 1px 2px 3px #000;
}

#dialog{
	position: absolute;
	bottom: 10px;
	left: 50%;
	width: 840px;
	height: 300px;
	margin: 0 0 0 -420px;
	background: #CEE8EA;
	z-index: 9;
	box-shadow: 2px 2px 7px #000;
}

#dialog .close-button{
	position: absolute;
	top: 5px;
	right: 5px;
	background-image: url(/ded-moroz/images/close.png);
	width: 40px;
	height: 40px;
	cursor: pointer;
}

/*Buttons CSS*/
.buttons{
	text-align: center;
	margin: 10px 0 auto;
}
.buttons span {
	margin-right: 30px;
	width: 47px;
	height: 47px;
	display: inline-block;
	position: relative;
	line-height: 64px;
	background-color: #A5BFC1;
	border-radius: 32px;
	cursor: pointer;
}
.buttons span:active {
	top: 1px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eaeaea), to(#f6f6f6));
	background-image: -webkit-linear-gradient(top, #eaeaea, #f6f6f6);
	background-image: -moz-linear-gradient(top, #eaeaea, #f6f6f6); 
	background-image: -ms-linear-gradient(top, #eaeaea, #f6f6f6); 
	background-image: -o-linear-gradient(top, #eaeaea, #f6f6f6);
	background-image: linear-gradient(top, #eaeaea, #f6f6f6);
}
.buttons>span>img{
	padding:5px;
}

.buttons p {
    margin: 0;
}

#like-buttons{
	position: absolute;
	width: 420px;
	margin-left: -210px;
	left: 50%;
	top: -45px;
}

.send-frame-added #completed-letter, .send-frame-added #cards-promo, .send-frame-added #video-promo, .send-frame-added canvas{
	display: none;
}

/*buy form*/

.contact-form{
	max-width: 99%;
	position: relative;
}

.contact-form div.loading-progress{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #ffffffd6;
	background-image: url("/ded-moroz/images/loading.gif");
	background-size: 100% 100%;
	display: none;
}

.contact-form input[type="text"], .contact-form input[type="email"]{
	padding: 7px 0;
	text-indent: 5px;
	border: 1px solid #AAA;
	color: #333;
	box-shadow: rgba(0,0,0,0.1) 0px 0px 3px;
	width: 57%;
	margin: 5px 0 0 40%;
	vertical-align: middle;
	display: block;
}

.contact-form label {
	width: 35%;
	margin: 3px 0;
	float: left;
	display: block;
	padding: 4px 0;
	text-align: right;
	font-size: 14px;
	line-height: 17px;
}

div.form-submit{
	position: relative;
	height: 45px;
	margin-right: 10px;
	text-align: right;
}

div.form-submit .d3-button {
	margin-right: 5px;
	padding: 7px 15px;
}

.contact-form .captcha{
	display: block;
	width: 128px;
	height: 60px;
	margin: 3px 0;
	float: left;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: pointer;
	position: relative;
	z-index: 1;
}

.contact-form .captcha>img{
	display:none;
	margin: 5px;
	float: right;
}

.contact-form .captcha:hover>img{
	display:block;
}

.contact-form .captcha:active>img{
	display:none;
}

.contact-form .form-title{
	text-align: center;
	font-size: 18px;
	padding: 10px 15px;
	background: linear-gradient(90deg,#ffffff,#dfeaff 40%,#ffffff);
	max-width: 420px;
	min-width: 320px;
}

.contact-form .form-title span{
	color: #8F1402;
	font-size: 16px;
	text-transform: capitalize;
}

#buy-form-success .contact-form .form-title{
	max-width: 100%;
}

#button-gift{
	background-image: url(/ded-moroz/images/gift.png);
	background-repeat: no-repeat;
	background-position: 4px 4px;
	padding: 5px 5px 5px 25px;
}

span.button-gift{
	background-image: url(/ded-moroz/images/gift.png);
	background-repeat: no-repeat;
	background-position: 4px 4px;
	padding: 5px 5px 5px 25px;
}

div.button-login-info{
	background-image: url(/ded-moroz/images/favicon.ico);
	background-repeat: no-repeat;
	background-position: 4px 4px;
	padding: 5px 5px 5px 25px;
	margin-bottom: 3px;
}

#delivery-info ul{
	margin: 5px 20px;
}

#delivery-info ul li{
	margin: 10px 0;
}

.buy-button b, .buy-button iframe{
	vertical-align: middle;
}

.buy-button b{
	line-height: 36px;
	margin: 0 15px 0 0;
	color: #8F1402;
}

.buy-button div{
	max-width: 98%;
	width: 430px;
	padding: 0 13px;
	margin: 0 auto 7px;
}

#buy-form-success .buy-button div{
	max-width: 98%;
    width: 380px;
    padding: 8px 0;
    margin: 0 auto 7px;
}

#container{
	margin: 0;
}
#completed-letter img{
	max-width: 850px;
	height: auto;
	image-rendering: -webkit-optimize-contrast;
}
.example{
	font-size: 14px;
	line-height: 20px;
	margin: 14px auto;
}
.example span{
	color: #d01919;
}
.send-subject label{
	width: 400px;
	margin: 3px auto;
	float: none;
	text-align: center;
}
.send-subject input[type="text"], .send-subject input[type="email"]{
	width: 94%;
	margin: 0 auto 13px;
}

#waiting-info{
	font-size: 28px;
	position: absolute;
	top: 30%;
	left: 50%;
	font-weight: bold;
	margin-left: -150px;
	color: #fff;
	background: rgba(0,0,0,0.6);
	width: 320px;
	text-align: center;
	line-height: 45px;
}

.pay-info-text, .login-info-text{
	margin: 0 auto 10px;
	text-align: justify;
	padding: 0 13px;
	max-width: 525px;
}

.pay-info-text:empty, .login-info-text:empty{
	display: none;
}

.login-info-text{
	text-align: center;
	margin-top: 15px;
}

.promo_page_link{
	text-align: center;
}

.instagram-info{
	font-size: 16px;
	padding: 3px 4px;
	line-height: 20px;
}

.instagram-info .d3-button{
	margin: 13px 0 3px;
}

.no-select{
	-webkit-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@media (hover: hover) {
	div.letter-samples img:hover{
		/*transform: scale(1.05);*/
		filter: brightness(1.15);
		z-index: 1;
	}
}

@media (max-width: 1200px) {
	#like-buttons {
		width: 100%;
		margin-left: 0;
		left: 0;
		overflow: hidden;
	}
	#completed-button{
		left: 0;
		margin-left: 0;
		width: 100%;
		border-radius: 0;
		bottom: -35px;
	}
	#google-bottom {
		margin: 35px auto 0;
	}
	#completed-button .d3-button {
		font-size: 18px;
		width: 47%;
		padding: 5px 0;
		margin: 0 1%;
	}
	#completed-letter img {
		max-width: 100%;
	}
	.contact-form label {
		width: 100%;
		float: none;
		text-align: left;
	}
	.contact-form input[type="text"], .contact-form input[type="email"]{
		width: 100%;
		margin: 5px 0 0 0;
	}
	.pay-info-text{
		padding: 0;
		text-align: center;
	}
	.contact-form input[type="text"], .contact-form input[type="email"]{
		font-size: 16px;
	}
}

@media (max-width: 420px){
	.contact-form .form-title{
		min-width: auto;
	}
}

@media print{
	#container {
		display: none;
	}
}