.clearfix::before, .clearfix::after {content:'';display:table;clear:both;}
.fleft {float:left;}
.fright {float:right;}
*{font-family:Arial,Helvetical,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}

.checkout {
	counter-reset: data;
	width: 1170px;
	padding: 0 15px;
	margin-left: auto;
	margin-right: auto;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
.checkout p {
	margin: 0;
}
h1.checkout__title {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 60px;
	color: #000;
}
.checkout__data {
	border-left: 1px solid #c5c5c5;
	margin-left: 23px;
	margin-bottom: 40px;
	width: calc(100% - 23px);
}
.checkdata {
	border: 0;
}
p.warning {
	color: #c81212;
}
h2.checkout__data-title {
	font-size: 14px;
	font-weight: 700;
	position: relative;
	top: -31px;
	margin-left: 23px;
	line-height: 24px;
	display: table;
	cursor: default;
	color: #8f8f8f;
}
.checkout__data--active .checkout__data-title {
	color: #000;
	cursor: pointer;
}
.checkout__data-title::before {
	counter-increment: data;
	content: counter(data);
	width: 24px;
	height: 24px;
	line-height: 24px;
	background-color: #8f8f8f;
	position: absolute;
	left: 0;
	top: calc(50% - 13px);
	margin-left: -36px;
	border-radius: 50%;
	text-align: center;
	color: #fff;
	font-size: 14px;
}
.checkout__data--success .checkout__data-title::before {
	content: '\2714';
}
.checkout__data--active .checkout__data-title::before,
.checkout__data--success .checkout__data-title::before {
	background-color: #5d6b9a;
}
.checkout__data-title_result {
	color: #444;
}
.checkout__form-contain {
	margin-top: -28px;
	margin-left: 23px;
	margin-bottom: 30px;
	width: calc(100% - 23px);
	position: relative;
}
.checkout__form-contain--leftcontain {
	max-width: 420px;
}
.checkout__form-contain--rightcontain {
	width: 100%;
	max-width: 460px;
	margin-right: 8.3%;
}
.checkout__form-contain--minoffset {
	margin-left: 0;
	margin-top: 30px;
	width: 100%;
}
.checkout__form-contain--full {
	max-width: 100%;
	position: relative;
	z-index: -1;
}
.checkoutcart .checkout__form-contain {
	margin-left: 0;
}
.checkout__data-box,
.checkout__form-contain--hidden,
.checkout__form-item--hidden {
	display: none;
}
.checkout__data-box--active {
	display: block;
}
.checkout__form-comment {
	width: 590px;
}
p.checkout__form-title {
	color: #000;
	font-size: 14px;
	height: 14px;
	line-height: 16px;
	font-weight: 700;
	margin-bottom: 29px;
	position: relative;
}
.checkout__form-item--field {
	position: relative;
	margin-top: 40px;
}
.checkout__form-item--radio,
.checkout__form-item--checkbox {
	position: relative;
	margin-top: 24px;
}
.checkout__form-contain--register .checkout__form-item--field {
	margin-top: 30px;
}
.checkout__form-text {
	color: #767676;
	font-size: 15px;
	line-height: 15px;
	font-weight: 700;
	position: absolute;
	top: 7px;
	left: 0;
	z-index: 0;
	
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}
.checkout__form-item--field .checkout__form-text:active,
.checkout__form-item--field .checkout__form-text--active {
	font-size: 12px;
	margin-top: -21px;
	color: #5d6b9a;
}
.checkout__form-item--radio .checkout__form-text,
.checkout__form-item--checkbox .checkout__form-text {
	position: relative;
	top: 0;
	color: #000;
	font-size: 14px;
	line-height: 14px;
	font-weight: 400;
	padding-left: 46px;
	display: inline-block;
}
.checkout__form-item--radio .checkout__form-text::before,
.checkout__form-item--checkbox .checkout__form-text::before {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid #aaa;
	border-radius: 2px;
	background-color: #fff;
	left: 0;
	top: calc(50% - 11px);
}
.checkout__form-item--radio .checkout__form-text:active::before,
.checkout__form-item--radio .checkout__form-text--active::before,
.checkout__form-item--checkbox .checkout__form-text:active::before,
.checkout__form-item--checkbox .checkout__form-text--active::before {
	content: '\2714';
	font-family: Arial;
	color: #fff;
	background-color: #5d6b9a;
	border: 2px solid #5d6b9a;
	text-align: center;
	line-height: 18px;
}
.checkout__form-item--field .checkout__form-text:active + input,
.checkout__form-item--field .checkout__form-text--active + input {
	border-bottom: 2px solid #5d6b9a;
}
.checkout__form-text_description {
	display: block;
	color: #aaa;
	font-size: 14px;
	margin-top: 5px;
}
.checkout__form-field {
	width: 100%;
	border: 0;
	border-bottom: 2px solid #e2e2e2;
	height: 31px;
	outline: 0;
	position: relative;
	z-index: 1;
	background-color: transparent;
	color: #8f8f8f;
}
.checkout__form-field {outline: none;}
.checkout__form-field:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 31px #fff !important;
    -webkit-text-fill-color: #8f8f8f !important;
    color: #8f8f8f !important;
}
.checkout__form-item--error .checkout__form-field {
	border-bottom: 2px solid #f2564d !important;
}
.checkout__form-radio,
.checkout__form-checkbox {
	display: none;
}
.checkout__form-textarea {
	border: 1px solid lightgrey;
	width: 100%;
	height: 125px;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #000;
	outline: none;
	resize: none;
	padding-left: 10px;
}
.checkout__form-error {
	position: absolute;
	right: 0;
	top: 0;
	width: 25px;
	height: 25px;
	border: 1px solid #f2564d;
	border-radius: 50%;
	text-align: center;
	line-height: 23px;
	color: #f2564d;
	font-size: 18px;
	font-family: fantasy, Arial;
	cursor: pointer;
	z-index: 5;
}
.checkout__form-error:hover {
	z-index: 7;
}
.checkout__form-error_text {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	background-color: #fff;
	color: #767676;
	font-size: 15px;
	padding: 10px 20px;
	width: 200px;
	box-shadow: 0 0 2px 0 #444;
	margin-left: 32px;
	margin-top: -15px;
}
.checkout__form-error_text::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 15px;
	margin-left: -16px;
	border: 10px solid transparent;
	border-right: 6px solid #fff;
	z-index: 1;
}
.checkout__form-error_text::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 15px;
	margin-left: -17px;
	border: 10px solid transparent;
	border-right: 6px solid #aaa;
}
.checkout__form-error:hover .checkout__form-error_text,
.checkout__form-error--active .checkout__form-error_text {
	display: block;
}
.checkout__form-button {
	height: 36px;
	line-height: 36px;
	background-color: #6f81bb;
	border-radius: 2px;
	color: white;
	font-size: 14px;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
	padding: 0 17px;
	margin-left: 20px;
	outline: none;
	display: block;
	text-decoration: none;
}
.checkout__form-button--back {
	background-color: lightgrey;
}
.checkout__form-button:hover {
	background-color: #5d6b9a;
}
.checkout__form-button--back:hover {
	background-color: #767676;
}
.checkout__form-item--confirm {
	position: absolute;
	right: 0;
	bottom: 0;
	margin-bottom: 4px;
}
.checkoutcart .checkout__form-item--confirm {
	position: relative;
	margin-bottom: 0;
	margin-top: 50px;
}

.checkout__table {
	border: 0;
	border-collapse: collapse;
	width: 100%;
}
.checkout__table tr {
	position: relative;
}
.checkout__table td {
	border-top: 1px solid lightgrey;
	border-bottom: 1px solid lightgrey;
	padding: 10px 15px;
	position: relative;
}
.checkout__table thead td {
	color: black;
	font-size: 12px;
}
.checkout__table thead td:first-child,
.checkout__table tbody td:first-child {
	border-left: 1px solid lightgrey;
}
.checkout__table thead td:last-child,
.checkout__table tbody td:last-child {
	border-right: 1px solid lightgrey;
}
.checkout__table tbody td {
	height: 70px;
}
.checkout__table tfoot td {
	border: 0;
	text-align: right;
	color: black;
	font-size: 12px;
}
.checkout__table tfoot td:last-child {
	text-align: left;
	font-size: 14px;
}
.checkout__table-thumb {
	width: 80px;
	text-align: center;
}
.checkout__table-thumb a {
	text-decoration: none;
}
.checkout__table-thumb img {
	width: 50px;
	height: 50px;
	display: block;
	border: 0;
}
.checkout__table-name a {
	color: black;
	font-size: 12px;
	line-height: 16px;
	text-decoration: none;
}
.checkout__table-name a:hover {
	text-decoration: underline;
}
.checkout__table-price,
.checkout__table-summ {
	color: black;
	font-size: 14px;
	line-height: 16px;
	width: 200px;
}
.checkout__table-price {
	width: 150px;
}
.checkout__table-quantity {
	width: 130px;
}
.checkout__table-quantity_minus,
.checkout__table-quantity_field,
.checkout__table-quantity_plus {
	width: 24px;
	height: 24px;
}
.checkout__table-quantity_minus,
.checkout__table-quantity_plus {
	background-color: #9c9c9c;
	border-radius: 2px;
	color: white;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	line-height: 24px;
	cursor: pointer;
	border: 0;
}
.checkout__table-quantity_minus:hover,
.checkout__table-quantity_plus:hover {
	background-color: #767676;
}
.checkout__table-quantity_field {
	margin-left: 8px;
	margin-right: 8px;
	border: 1px solid #9c9c9c;
	border-radius: 2px;
	color: black;
	font-size: 13px;
	text-align: center;
}
.checkout__table-delete {
	position: absolute;
    right: 0;
    width: 30px;
    height: 30px;
    top: calc(50% - 11px);
    margin-right: 15px;
    cursor: pointer;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
    border: 0;
    border-radius: 2px;
    padding: 0;
    background: transparent;
    color: red;
}

@media all and (max-width: 1200px) {
	.checkout {width:750px;}
	.checkout__form-contain {width:100%;padding-right:15px;max-width:100%;margin-right:0;float:left;}
	.checkout__form-contain--rightcontain {margin-top:0px;}
	.checkout__form-comment {width:455px;}
}
@media all and (max-width: 768px) {
	.checkout {width:100%;padding:0;}
	.checkout__data {margin-left:15px;}
	.checkout__form-item--customfield {margin-top:-40px;margin-bottom:40px;}
	p.checkout__form-title {height:auto;}

	.checkout__form-error_text {margin-left:-220px;}
	.checkout__form-error_text::before {margin-left: 100%;border-right: 0;border-left: 6px solid #fff;}
	.checkout__form-error_text::after {margin-left: calc(100% + 1px);border-right: 0;border-left: 6px solid #aaa;}

	.checkout__data-box--confirm {margin-left:-38px;}
	.checkout__table thead {display:none;}
	.checkout__table tbody {display:block;border-top:1px solid lightgrey;border-bottom:1px solid lightgrey;}
	.checkout__table tr {display:block;margin-top:-1px;}
	.checkout__table td {display:block;width:100%;height:auto;border:1px solid lightgrey;border-top:0;border-bottom:0;position:relative;padding-top:20px;}
	.checkout__table td::before {content: attr(data-label);position:absolute;left:0;top:0;margin-top:20px;margin-left:10px;font-size:12px;}
	.checkout__table tbody tr {border-top:1px solid lightgrey;border-bottom:1px solid lightgrey;}
	.checkout__table tbody td {text-align:center;height:auto;}
	tbody td.checkout__table-price, tbody td.checkout__table-quantity, tbody td.checkout__table-summ {text-align:right;padding-right:40px;}
	.checkout__table-name a {font-size:16px;line-height:20px;}
	.checkout__table-thumb img {margin-left:auto;margin-right:auto;width:80px;height:80px;}
	.checkout__table-quantity > div {margin-left:auto;display:table;}
	.checkout__table-delete {margin:0;}
	.checkout__table tfoot {display:block;margin-top:30px;}
	.checkout__table tfoot td {padding-top:10px;padding-right:40px;}
	.checkout__table tfoot td:first-child {display:none;}
	.checkout__table tfoot td:last-child {text-align:right;}
	.checkout__table tfoot td::before {margin-top:10px;max-width:200px;text-align:left;}
	.checkout__form-comment {width:100%;margin-top:30px;}
	.checkout__form-item--confirm {position:relative;margin-top:30px;margin-bottom:0;margin-left:auto;display:table;}

	.checkoutcart .checkout__form-button {font-size:0;}
	.checkoutcart .checkout__form-button::before {content:'Оформить';font-size:14px;}

	.checkout__form-item--confirm .checkout__form-button[name="confirm_button"] {font-size:0;}
	.checkout__form-item--confirm .checkout__form-button[name="confirm_button"]::before {content:'Подтвердить';font-size:14px;}

	.checkoutcart .checkout__form-button--back {font-size:0;}
	.checkoutcart .checkout__form-button--back::before {content:'Назад';font-size:14px;}
}