/************* Таблица с товарами **************/

.ec_cart__table {
	display: flex;
	flex-direction: column;
}

.ec_cart__thead, .ec_cart__tbody {
	display: flex;
	flex-direction: column;
}

.ec_cart__thead {

}

.ec_cart__tbody {

}

.ec_cart__tr {
	display: flex;
	flex-flow: row nowrap;
	border-bottom: 2px solid;
}

.ec_cart__td, .cart-sum__content-item {
	padding: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ec_cart__td-remove {
	flex: 1;
}

.ec_cart__td-thumbnail {
	width: 100px;
}

.ec_cart__td-name {
	flex: 10 0 auto;
}

.ec_cart__td-price {
	flex: 3 0 auto;
}

.ec_cart__td-quantity {
	flex: 1 1 10%;
}

.ec_cart__td-subtotal {
	flex: 3 0 auto;
}

.ec_cart__tr-update {
	display: none;
}


/************* cart-form.php ec_cart-totals.php **************/
.cart-sum {
	display: flex;
	flex-direction: row;
	padding-top: 2em;
}

.cart-sum__content {
	display: flex;
	flex-direction: column;
/*	order: 2;*/
	width: 50%;
}

.cart-sum__content-item {
	width: 50%;
	padding: 0;
	padding-top: 1em;
	line-height: 42px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.cart-sum__tr {
	display: flex;
	flex-flow: row nowrap;
}

.quotation_wrapper {
	display: flex;
	order: 1;
	width: 50%;
}

.quotation__form {
	display: flex;
}

.quotation__form-container {
	display: flex;
	flex-direction: column;
}

.quotation__form-field {
	display: flex;
	padding-top: 1em;
}

.quotation__form-field > input {
	width: 100%;
	border-bottom: 2px solid;
}

.quotation__form__agreement {
	font-size: var(--h7);
	font-weight: 400;
}

.quotation__form__agreement > a {
	color: var(--green);
}

/************* form-checkout.php form-billing.php **************/

.checkout_form {
	display: flex;
	flex-flow: row wrap;
}

.checkout_form__bswrapper {
	display: flex;
	flex-direction: column;
	width: 50%;
}

.checkout_form__bscontainer {
	display: flex;
}

.checkout_form__bscontainer_wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.checkout_form__bscontainer_container {
	display: flex;
	flex-direction: column;
}

.checkout_form__headertxt {
	display: flex;
	justify-content: center;
}

.checkout-input {
	display: flex;
	flex-direction: column;
	padding-top: 1em;
}

.checkout-input > span {
	display: flex;
}

.checkout-input > span > input {
	width: 100%;
	border-bottom: 2px solid;
}

.hide {
	display: none;
}

.checkout_form__order_review {
	display: flex;
	flex-direction: column;
	padding-top: 2em;
	width: 100%;
}

.checkout_form__order_review-container {
	display: flex;
	flex-direction: column;
}

.quotation__form__agreement > div > p > a {
	color: var(--green);
}

.checkout_form__bscontainer-text {
	align-self: center;
}

/*** thankyou.php ***/

.woocommerce-order-overview {
	display: flex;
	flex-direction: row;
	width: 100%;
}

.woocommerce-order-overview__container {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.woocommerce-order-overview__tr {
	display: flex;
	flex-direction: row;
}

.woocommerce-order-overview__td {
	display: flex;
	width: 100%;
	justify-content: center;
}

.thankyou {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: var(--h3);
}

.thankyou > p {
	padding: 1em 0;
}

.thankyou > a.thankyou_cross_button {
	background: var(--dark-blue);
	padding: 10px 30px;
	color: var(--main-bg-color);
	font-size: var(--h3);
}

.thankyou > a.thankyou_cross_button:hover {
	background: var(--dark-blue-hov);
}


@media (max-width: 980px) {

.ec_cart__td-thumbnail {
	display: none;
}

}


@media (max-width: 600px) {

.checkout_form {
	flex-direction: column;
}

.checkout_form__bswrapper, .cart-sum__content {
	width: 100%;
}

.cart-sum__content {
	order: 1;
}

.checkout_form__bswrapper {
	padding-top: 1em;
	order: 2;
}

.checkout_form__order_review {
	order: 3;
}

.cart-sum__content-item {
	padding: 0;
}

}
