
/*
 Theme Name:   Oliver Sites Theme
 Description:  Oliver Sites Theme Frontend CSS
 Author:       OliverGermany
 Template:     woodmart
 Version:      1.0.0
*/

/*--------------------------------------------------------*/

/* Allign Primary Color on Thank you Page*/
.woocommerce-thankyou-order-received {
	border: 2px dashed var(--wd-primary-color) !important;
	color: var(--wd-primary-color) !important;
}

/* Order Delivery Date - Thank you*/
.add_to_calendar-content {
	position: static !important;
}

.woocommerce-order-details {
	display: grid;
}

.woocommerce-order-details__title, .add_to_calendar, section.woocommerce-order-details > p:nth-child(4), section.woocommerce-order-details > p:nth-child(5) {
	text-align: center;
}

section.woocommerce-order-details > p:nth-child(5) {
	border-style: dotted;
	border-bottom-width: 2px;
	border-color: var(--wd-primary-color) !important;
	padding-bottom: 5px;
}

.woocommerce-order-details__title {
	border-style: dotted;
	border-top-width: 2px;
	border-color: var(--wd-primary-color) !important;
	padding-top: 5px;
}

#calendar-toggle {
	background-color: var(--wd-primary-color) !important;
	margin-bottom: 25px;
}

.woocommerce-order-details .responsive-table {
	order: 2;
}

/* Make Woo Shipping Methods look nice */
#shipping_method {
	margin-left: -50px;
	text-align: -webkit-right;
}

#shipping_method label {
	background-color: #f7f7f7;
	color: inherit;
	padding: 5px;
	right: 4px;
	letter-spacing: -.1px;
	border-radius: var(--btn-shop-brd-radius);
	margin-right: -10px;
	max-width: 350px;
}

#shipping_method input.shipping_method {
	top: 9px !important;
}

.shipping-calculator-button {
	margin-left: -10px;
}

/* Add-on (Delivery Date - Redesign of Checkout */
.orddd-checkout-fields {
	margin: 0 0 35px 0;
	background-color: var(--wd-primary-color);
	padding: 25px;
}

#e_deliverydate_0, #orddd_locations_0, #orddd_locations_0_field > span > span, .input-text.hasDatepicker {
	background-color: #fff !important;
}

.orddd_field_note {
	font-size: 14px !important;
	display: block;
	color: white;
	margin-top: 5px;
}

#e_deliverydate_0_field > label, #orddd_locations_0_field > label {
	font-size: 16px !important;
	font-weight: 600;
	text-transform: uppercase;
	color: white;
}

/* Overwrite CookieYes Banner Colors with Global Main Color  */
.cky-app-wrap .cky-app-nav-bar {
	top: auto !important;
	left: auto !important;
}

.cky-app-wrap .cky-card-header-actions {
	justify-content: center !important;
}

.cky-btn-revisit-wrapper {
	background: var(--wd-primary-color) !important;
}

.cky-btn-accept {
	background: var(--wd-primary-color) !important;
	color: #fff;
	border: 2px solid var(--wd-primary-color) !important;
}

.cky-btn.cky-btn-reject {
	color: var(--wd-primary-color) !important;
	background: transparent;
	border: 2px solid;
	border-color: var(--wd-primary-color) !important;
}

.cky-btn.cky-btn-customize {
	color: var(--wd-primary-color) !important;
	background: transparent;
	border: 2px solid;
	border-color: var(--wd-primary-color) !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit img {
	height: 20px !important;
}

.cky-btn-revisit-wrapper {
	width: 35px !important;
	height: 35px !important;
}

.cky-btn-preferences {
	color: var(--wd-primary-color) !important;
	border: 2px solid var(--wd-primary-color) !important;
}

.cky-show-desc-btn {
	color: var(--wd-primary-color) !important;
}

/* Allign Colors on Checkout to Theme-Main-Color  */
.woocommerce-thankyou-order-received {
	margin-bottom: 30px;
	padding: 3%;
	width: 100%;
	border: 2px dashed var(--wd-primary-color) !important;
	border-radius: var(--wd-brd-radius);
	color: #7a9c59;
	text-align: center;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.4;
}

/* 1000px and smaller screen sizes */
@media (max-width:800px) {
	/* CookieYes Mobile */
	.cky-revisit-bottom-left {
		bottom: 12px !important;
		left: 5px !important;
	}
	
	.cky-btn-revisit-wrapper {
		width: 30px !important;
		height: 30px !important;
	}
	
	.cky-btn-revisit-wrapper .cky-btn-revisit img {
		height: 15px !important;
	}
	
	/* Make Woo Shipping methods look nice for mobile */
	#shipping_method {
		margin-left: 0px !important;
	}
	
	/* Shop Layout on Mobile */
	.woocommerce-breadcrumb a {
		display: none !important;
	}
	
	.woocommerce-result-count {
		letter-spacing: -.4px !important;
	}
}
