/* Order Details Header */
.yith-ctpw-front .woocommerce-thankyou-order-received, .elementor-element .woocommerce-thankyou-order-received {
	text-align: left;
	color: #444;
	font-weight: bold;

}
.yith-ctpw-front .woocommerce-thankyou-order-received.align-left, .elementor-element .woocommerce-thankyou-order-received.align-left, .woocommerce-thankyou-order-details.align-left li { text-align: left;}
.yith-ctpw-front .woocommerce-thankyou-order-received.align-center, .elementor-element .woocommerce-thankyou-order-received.align-center, .woocommerce-thankyou-order-details.align-center li { text-align: center;}
.yith-ctpw-front .woocommerce-thankyou-order-received.align-right, .elementor-element .woocommerce-thankyou-order-received.align-right, .woocommerce-thankyou-order-details.align-right li { text-align: right;}
.yith-ctpw-front .order_details, .elementor-element .order_details {
	list-style: none;
	text-align: center;
}

.yith-ctpw-front ul.order_details li, .elementor-element ul.order_details li {
	float: none !important;
	display: inline-block;
	padding: 5px;
}

.yith-ctpw-front .order_details li:nth-child(even), .elementor-element .order_details li:nth-child(even) {
	background-color: #F5F5F5
}

.yith-ctpw-front h2.order_details_title, .yith-ctpw-front h2.woocommerce-order-downloads__title, .yith-ctpw-front .billig_address_title h3, .yith-ctpw-front .shipping_address_title h3,
.elementor-element h2.order_details_title, .elementor-element h2.customer_details, .elementor-element .billig_address_title h3, .elementor-element .shipping_address_title h3 {
	text-align: center;
	text-transform: uppercase;
}

.yith-ctpw-front ul.order_details, .elementor-element ul.order_details { padding: 0; }
.yith-ctpw-front ul.order_details.multiline li, .elementor-element ul.order_details.multiline li {
  display: block;
  background-color: transparent;
  margin: 0;
  padding: 2px 0;
}
.yith-ctpw-front ul.order_details .yctpw_label, .elementor-element ul.order_details .yctpw_label { font-weight: bold; }

/* customer details */
.yith-ctpw-front ul.customer_details, .elementor-element ul.customer_details {
	text-align: center;
}

.yith-ctpw-front .customer_details li, .elementor-element .customer_details li {
	display: inline-block;
	padding: 0 5px 0 0;
	margin-right: 5px;
	border: 1px solid #d1d1d1;
}

.yith-ctpw-front .customer_details li p, .elementor-element .customer_details li p {
	background-color: whitesmoke;
	display: inline-block;
	margin: 0;
	margin-right: 2px;
	padding: 0 2px;
}

.yith-ctpw-front .customer_details, .elementor-element .customer_details {
	list-style: none;
}

.yith-ctpw-front .col2-set.addresses > div, .elementor-element .col2-set.addresses > div {
	width: 50%;
	float: left;
	max-width: 50%;
}

/* TABS */

.yith-ctpw-tabs {
	width: 100%;
}

/**
 * Tabs navigation
 */
.yith-ctpw-tabs-nav {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.yith-ctpw-tabs .yctpw-icons {
	display: table-cell;
  }

.yith-ctpw-tabs-nav a {
	text-decoration: none;
}

.yith-ctpw-tabs-nav a:focus {
	outline: none;
}

.yith-ctpw-tabs-nav__link {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	padding: 12px;
	text-align: center;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
	border-bottom: 2px solid #e3e3e3;
	background-color: white;
	color: #a8a8a8;
}

#yith-ctpw-social-box .yith-ctpw-tabs-nav__link {
	box-shadow: none;
}

.yith-ctpw-tabs-nav a:visited {
	color: #fff;
}

.yith-ctpw-tabs-nav__link:last-child {
	margin-right: 0;
}


.yith-ctpw-tabs-nav__link i,
.yith-ctpw-tabs-nav__link span {
	margin: 0;
	padding: 0;
	line-height: 1;
}



.yith-ctpw-tabs-nav__link span {
	display: none;
}

.yith-ctpw-tabs-nav__link span {
	display: table-cell;
	vertical-align: middle;
	padding-right: 5px;
}

.yith-ctpw-tabs-nav__link span img {
	width: 20px !important;
	margin-top: 3px;
	box-shadow: none !important;
}

/**
 * Tab
 */
.yith-ctpw-tab {
	display: none;
	min-height: 200px;
	width: 100%;
}

.yith-ctpw-tab.is-active {
	display: block;
}

.yith-ctpw-tab__content {
	padding: 1.5rem 0 0 0;
}

/**
 * Tabs no-js fallback
 */
.yith-ctpw-tabs.no-js .yith-ctpw-tabs-nav {
	display: none;
}

.yith-ctpw-tabs.no-js .yith-ctpw-tab {
	display: block;
	margin-bottom: 1.5rem;
}

.yith-ctpw-tabs.no-js .yith-ctpw-tab:last-child {
	margin-bottom: 0;
}

/* tabs content products */
#yith-ctpw-tab_sharing_product {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
  }

#yith-ctpw-tab_sharing_product div {
	float: left;
}

.yith-ctpw-tab_sharing_product_thumb {
	width: 20%;
}

.yith-ctpw-tab_sharing_product_info {
	width: 80%;
	padding-left: 15px;
	box-sizing: border-box;
}

.yith-ctpw-tab_sharing_product_info p {
	margin: 0;
	text-align: left;
}

.yith-ctpw-tab_sharing_product_info p.ctpw_title {
	font-weight: bold;
}

/* Socials Box */
#yith-ctpw-social-box {
	margin-bottom: 10px;
}

.yith-ctwp-social_nav_container {
	text-align: center;
}

.yith-ctwp-social_navigation_message {
	display: inline-block;
	padding: 5px;
}

.yith-ctwp-social_nav_container span {
	width: 12px;
	height: 12px;
	display: inline-block;

	border-radius: 50%;
	margin-right: 5px;
	cursor: pointer;
  }
  
p.yith-ctwp-social_navigation {
	padding: 5px;
	margin: 0 !important;
	display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	line-height: 100%;
}

p.yith-ctwp-social_navigation:hover {
	box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
}

.yith-ctwp-social-slider_container { display: none; }

#ctpw_share_btn { border: 0; float: right; padding: 0.8em 1.5em 0.7em; }

.yith-ctpw-tab_sharing_product_info input, .yith-ctpw-tab_sharing_product_info textarea {
	width: 100%;
	border: 2px solid #e3e3e3;
	padding: 10px 20px;
	border-radius: 0;
	font-weight: bold;
	color: #444;
	box-sizing: border-box;
	margin-bottom: 5px;
}

.yith-ctpw-tab_sharing_product_info textarea {
	font-weight: normal;
	min-height: 120px;
	resize: none;
	margin-top: 20px;
}


#twit_c_counter {
	text-align: right;
	width: 90%;
}

.ctpw_twitter .ctpw_excerpt {
	min-height: 170px;
	margin-top: 0;
	height: auto;
}


#ctpw_upsells {
	margin-top: 25px;
}

/* mobile */
@media all and (min-width: 720px) {
	.yith-ctpw-tabs-nav__link i {
		margin-bottom: 12px;
	}
}

@media all and (max-width: 767px) {
	.yith-ctpw-tab_sharing_product_thumb, .yith-ctpw-tab_sharing_product_info {
		width: 100%;
	}

	#yith-ctpw-social-box .yith-ctpw-tabs-nav { flex-direction: column; }
	#yith-ctpw-social-box #yith-ctpw-tab_sharing_product { flex-direction: column; }
	#yith-ctpw-social-box .yith-ctpw-tab_sharing_product_thumb { text-align: center; }
	#yith-ctpw-social-box .yith-ctpw-tab_sharing_product_info { padding-left: 0; }
	#yith-ctpw-social-box .yith-ctpw-tab_sharing_product_info .ctpw_excerpt { margin-top: 5px; }
	#ctpw_share_btn { margin-right: 0;}	
}

/* products shortcode */
/* 2 columns*/
@media only screen
and (min-width: 769px) {

	.yith-ctpw-front .woocommerce.columns-2 ul li.product {
		width: 45%;
		margin-right: 2%;
	}

	.yith-ctpw-front .woocommerce.columns-2 ul li.product:nth-child(2n+1) {
		clear: left;
	}

	/* 3 columns*/
	.yith-ctpw-front .woocommerce.columns-3 ul li.product {
		width: 30%;
		margin-right: 2%;
	}

	.yith-ctpw-front .woocommerce.columns-3 ul li.product:nth-child(3n+1) {
		clear: left;
	}

	/* 5 columns */
	.yith-ctpw-front .woocommerce.columns-5 ul li.product {
		width: 18%;
		margin-right: 2%;
		overflow: hidden;
	}

	.yith-ctpw-front .woocommerce.columns-5 ul li.product:nth-child(5n+1) {
		clear: left;
	}

	.yith-ctpw-front .woocommerce.columns-5 ul.products li.first {
		clear: none;
	}

	/* 5 columns */
	.yith-ctpw-front .woocommerce.columns-6 ul li.product {
		width: 14.5%;
		margin-right: 2%;
		overflow: hidden;
	}

	.yith-ctpw-front .woocommerce.columns-6 ul li.product:nth-child(6n+1) {
		clear: left;
	}

	.yith-ctpw-front .woocommerce.columns-6 ul.products li.first {
		clear: none;
	}

}
.yctpw_order_review_more { text-align: center; }
/* order table details */
#yctpw_order_details.align-left *, .yith-ctpw-front .woocommerce-thankyou-order-details.align-left > .order_details_title { text-align: left; }
#yctpw_order_details.align-center *, .yith-ctpw-front .woocommerce-thankyou-order-details.align-center > .order_details_title { text-align: center; }
#yctpw_order_details.align-right *, .yith-ctpw-front .woocommerce-thankyou-order-details.align-right > .order_details_title { text-align: right; }
#yctpw_order_details.align-justified .order_details thead th:first-of-type, #yctpw_order_details.align-justified .order_details tfoot th, #yctpw_order_details.align-justified .order_details td:first-of-type {
	text-align: left;
}
 
 #yctpw_order_details.align-justified .order_details thead th:last-of-type, #yctpw_order_details.align-justified .order_details td:last-of-type {
	text-align: right;
}

.yith_ctpw_thumb img { max-width: 70px; }
#yctpw_order_details .product-name > * {
	display: inline-block;
	vertical-align: middle;
}
#yctpw_order_details table.order_details {
	width: 100%;
	border: none;
	border-collapse: collapse;
}
  
#yctpw_order_details table.order_details tr, #yctpw_order_details table.order_details th, #yctpw_order_details table.order_details td { border: none; }
#yctpw_order_details table.order_details tfoot { border-top: 1px solid #cccccc; }
#yctpw_order_details .product-name a.yith_ctpw_thumb { margin-right: 10px; }

body.woocommerce-order-received.theme-yith-proteo #yctpw_order_details table.shop_table tfoot tr:last-of-type {
  color:var(--proteo-base_font_color, #404040);
  font-weight: normal;
}
#yctpw_order_details table.shop_table tfoot tr.order_total {
    font-weight: bold !important;
}
body.woocommerce-order-received.theme-yith-proteo #yctpw_order_details table.shop_table tfoot tr.order_total {
  color:  var(--proteo-main_color_shade, #448a85);
}


/* customer details */
#yctpw_customer_details.align-left > * { text-align: left; }
#yctpw_customer_details.align-center > * { text-align: center; }
#yctpw_customer_details.align-right > * { text-align: right; }
#yctpw_customer_details address p { margin: 0; font-style: normal; }
#yctpw_customer_details { margin-top: 0; }
#yctpw_customer_details.layout-compact .shipping_address p {
	margin: 0;
	padding: 0;
}

/* upsells */
#ctpw_upsells.align-left > h2 { text-align: left; }
#ctpw_upsells.align-center > h2 { text-align: center; }
#ctpw_upsells.align-right > h2 { text-align: right; }


/* social box */

#yith-ctpw-social-box.align-left > h2 { text-align: left; }
#yith-ctpw-social-box.align-center > h2 { text-align: center; }
#yith-ctpw-social-box.align-right > h2 { text-align: right; }

.yctpw-csb p { margin: 0; }
.yctpw-csb p:last-child { padding-top: 0; }

/* coupon box */
#yctpw_coupon_box {
	padding: 20px;
	background-color: #fafafa;
	border: 3px dashed #ccc;
	text-align: center;
	margin: 10px 10px;
  }
  
#yctpw_coupon_box .yctpw_coupon_title {
	margin: 0;
  }
  
#yctpw_coupon_box .yctpw_coupon_code {
	 border: 3px dashed #ccc;
	display: inline-block;
	padding: 10px 30px;
	background-color: white;
}

.theme-yith-proteo .col2-set .woocommerce-column--shipping-address {
	padding-left: 10px;
}
  
.theme-yith-proteo .col2-set .woocommerce-column--billing-address {
	padding-right: 10px;
}
  
.theme-yith-proteo .wp-block-column.yctpw-csb { margin-left: 0 !important; }

#yith_ctwp_pdf_button { padding: 10px; }
#yith_ctwp_pdf_button { border: none; }