@import url(https://fonts.googleapis.com/css?family=Lato:400,300,700);



body, html {

	height: 100%;

	margin: 0;

	font-family: lato;

}



h2 {

	margin-bottom: 0px;

	margin-top: 25px;

	text-align: center;

	font-weight: 200;

	font-size: 19px;

	font-size: 1.2rem;



}



.container {

	height: 100%;

	-webkit-box-pack: center;

	-webkit-justify-content: center;

	-ms-flex-pack: center;

	justify-content: center;

	-webkit-box-align: center;

	-webkit-align-items: center;

	-ms-flex-align: center;

	align-items: center;

	display: -webkit-box;

	display: -webkit-flex;

	display: -ms-flexbox;

	display: flex;

	background: -webkit-linear-gradient(#c5e5e5, #ccddf9);

	background: linear-gradient(#f5f5f5, #f5f5f5); /* цвет глвного фона */

}



.dropdown-select.visible {

	display: block;

}



.dropdown {

	position: relative;

}



ul {

	margin: 0;

	padding: 0;

}



ul li {

	list-style: none;

	padding-left: 10px;

	cursor: pointer;

}



ul li:hover {

	background: rgba(255, 255, 255, 0.1);

}



.dropdown-select {

	position: absolute;

	background: #77aaee;

	text-align: left;

	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);

	border-bottom-right-radius: 5px;

	border-bottom-left-radius: 5px;

	width: 90%;

	left: 2px;

	line-height: 2em;

	margin-top: 2px;

	box-sizing: border-box;

}



.thin {

	font-weight: 400;

}



.small {

	font-size: 12px;

	font-size: .8rem;

}



.half-input-table {

	border-collapse: collapse;

	width: 100%;

}



.half-input-table td:first-of-type {

	border-right: 10px solid #4488dd;

	width: 50%;

}



.window {

	height: 540px;

	width: 800px;

	background: #fff;

	display: -webkit-box;

	display: -webkit-flex;

	display: -ms-flexbox;

	display: flex;

	box-shadow: 0px 15px 50px 10px rgba(0, 0, 0, 0.2);

	border-radius: 30px;

	z-index: 10;

}



.order-info {

	height: 100%;

	width: 50%;

	padding-left: 25px;

	padding-right: 25px;

	box-sizing: border-box;

	display: -webkit-box;

	display: -webkit-flex;

	display: -ms-flexbox;

	display: flex;

	-webkit-box-pack: center;

	-webkit-justify-content: center;

	-ms-flex-pack: center;

	justify-content: center;

	position: relative;

}



.price {

	bottom: 0px;

	position: absolute;

	right: 0px;

	color: #4488dd;

}



.order-table td:first-of-type {

	width: 25%;

}



.order-table {

	position: relative;

}



.line {

	height: 1px;

	width: 100%;

	margin-top: 10px;

	margin-bottom: 10px;

	background: #ddd;

}



.order-table td:last-of-type {

	vertical-align: top;

	padding-left: 25px;

}



.order-info-content {

	table-layout: fixed;

	text-align: center;

}



.order-info-content img.main-img {

	max-width: 100%;

	text-align: center;

	max-height: 350px;

}



.full-width {

	width: 100%;

}



.pay-btn {

	border: none;

	background: #22b877;

	line-height: 2em;

	border-radius: 10px;

	font-size: 19px;

	font-size: 1.2rem;

	color: #fff;

	cursor: pointer;

	position: absolute;

	bottom: 25px;

	width: calc(100% - 50px);

	-webkit-transition: all .2s ease;

	transition: all .2s ease;

	left: 50%;

	transform: translateX(-50%);

}



.pay-btn:hover {

	background: #50c878; /* цвет кнопки при наведении */

	color: #eee;

	-webkit-transition: all .2s ease;

	transition: all .2s ease;

}



.total {

	margin-top: 25px;

	font-size: 20px;

	font-size: 1.3rem;

	position: absolute;

	bottom: 30px;

	right: 27px;

	left: 35px;

}



.dense {

	line-height: 1.2em;

	font-size: 16px;

	font-size: 1rem;

}



.input-field {

	background: rgba(255, 255, 255, 0.1);

	margin-bottom: 10px;

	margin-top: 3px;

	line-height: 1.5em;

	font-size: 20px;

	font-size: 1.3rem;

	border: 1px solid #ccc;

	padding: 5px 10px 5px 10px;

	color: #333;

	box-sizing: border-box;

	width: 100%;

	margin-left: auto;

	margin-right: auto;

}



.credit-info {

	background: #fafafa;

	height: 100%;

	width: 50%;

	color: #333;

	-webkit-box-pack: center;

	-webkit-justify-content: center;

	-ms-flex-pack: center;

	justify-content: center;

	font-size: 14px;

	font-size: .9rem;

	display: -webkit-box;

	display: -webkit-flex;

	display: -ms-flexbox;

	display: flex;

	box-sizing: border-box;

	padding-left: 25px;

	padding-right: 25px;

	border-top-right-radius: 30px;

	border-bottom-right-radius: 30px;

	position: relative;

}



.dropdown-btn {

	background: rgba(255, 255, 255, 0.1);

	width: 100%;

	border-radius: 5px;

	text-align: center;

	line-height: 1.5em;

	cursor: pointer;

	position: relative;

	-webkit-transition: background .2s ease;

	transition: background .2s ease;

}



.dropdown-btn:after {

	content: '\25BE';

	right: 8px;

	position: absolute;

}



.dropdown-btn:hover {

	background: rgba(255, 255, 255, 0.2);

	-webkit-transition: background .2s ease;

	transition: background .2s ease;

}



.dropdown-select {

	display: none;

}



.credit-card-image {

	display: block;

	max-height: 80px;

	margin-left: auto;

	margin-right: auto;

	margin-top: 35px;

	margin-bottom: 15px;

}



.credit-info-content {

	margin-top: 25px;

	-webkit-flex-flow: column;

	-ms-flex-flow: column;

	flex-flow: column;

	display: -webkit-box;

	display: -webkit-flex;

	display: -ms-flexbox;

	display: flex;

	width: 100%;

}



.total-text {

	font-size: 12px;

	margin-bottom: 5px;

	text-align: justify;

}



label.error {

	clear: both;

	color: white;

	background: red;

	padding: 4px;

	position: relative;

	top: -6px;

	font-size: 12px;

}



.footer {

	position: absolute;

	bottom: 0;

	text-align: center;

	font-size: 16px;

	color: #333;

	left: 0;

	right: 0;

	background: #fafafa; /* цвет футера */

	padding: 15px;

}



.thank-text {

	background: #4488dd;

	border-radius: 30px;

	display: flex;

	align-items: center;

	justify-content: center;

	color: #fff;

	font-size: 16px;

	width: 100%;

}



.thank-text > div {

	text-align: center;

	padding: 30px;

}



@media all and (max-width: 600px) {

	body {

		background: -webkit-linear-gradient(#c5e5e5, #ccddf9);

		background: linear-gradient(#c9e5e9, #ccddf9);

	}



	.container {

		height: auto;

	}



	.window {

		width: 100%;

		height: 100%;

		display: block;

		border-radius: 0px;

	}



	.order-info {

		width: 100%;

		height: auto;

		padding-bottom: 100px;

		border-radius: 0px;

	}



	.credit-info {

		width: 100%;

		height: auto;

		padding-bottom: 100px;

		border-radius: 0px;

	}



	.pay-btn {

		border-radius: 0px;

	}



	.footer {

		position: static;

	}



	.thank-you .footer {

		position: absolute;

	}



	.thank-you .container {

		height: auto;

		position: absolute;

		left: 10px;

		right: 10px;

		top: 30%;

	}



	.thank-you .window {

		box-shadow: none;

		background: transparent;

	}

}



