/* Birdsafe Store - Advanced Shipping Manager delivery countdown
   Custom presentation layer based on ASM's supplied selector structure. */

#asm-ajax,
#dc-error {
	display: none;
}

#delivery-countdown {
	display: none; /* ASM's script reveals the module when data is ready. */
	box-sizing: border-box;
	width: 100%;
	max-width: 470px;
	margin: 12px 0 0;
	padding: 14px 16px;
	color: #252525;
	background: #f7f7f5;
	border: 1px solid #deded9;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.4;
}

#delivery-countdown *,
#delivery-countdown *::before,
#delivery-countdown *::after {
	box-sizing: border-box;
}

#delivery-countdown span {
	vertical-align: initial;
}

#dc-truck {
	float: left;
	width: 44px;
	height: 36px;
	margin: 1px 8px 0 0;
}

#dc-trucker-helper {
	display: inline-block;
	height: 100%;
	vertical-align: top;
}

#dc-truck-img {
	display: block;
	max-width: 36px;
	max-height: 36px;
	vertical-align: top;
}

#dc-info {
	float: left;
	width: calc(100% - 52px);
}

#dc-top {
	display: block;
	margin-bottom: 2px;
	color: #111;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

#dc-bottom {
	display: block;
	color: #555;
	font-size: 13px;
	font-weight: 400;
}

#dc-ship {
	float: right;
	clear: both;
	margin-top: 8px;
	color: #555;
	font-size: 12px;
}

#dc-zip {
	color: #307962;
	cursor: pointer;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#dc-alt-zip-holder {
	display: none;
	clear: both;
	margin-top: 8px;
}

#dc-alt-zip {
	float: right;
	width: 125px;
	height: 38px;
	padding: 8px 10px;
	border: 1px solid #bdbdb8;
	border-right: 0;
	border-radius: 4px 0 0 4px;
	font: inherit;
	outline: none;
}

#dc-alt-zip:focus {
	border-color: #307962;
	box-shadow: 0 0 0 2px rgba(48, 121, 98, 0.16);
}

#dc-alt-zip-apply {
	float: right;
	height: 38px;
	padding: 8px 13px;
	color: #fff;
	background: #307962;
	border: 1px solid #307962;
	border-radius: 0 4px 4px 0;
	font-weight: 700;
	cursor: pointer;
}

#dc-alt-zip-apply:hover,
#dc-alt-zip-apply:focus {
	background: #245e4c;
}

.clear-both {
	clear: both;
}

#dc-details {
	display: inline-block;
	clear: both;
	margin-top: 9px;
	color: #307962;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#dc-details:hover,
#dc-details:focus {
	color: #245e4c;
}

#dc-details-info {
	display: none;
	position: relative;
}

#asm-calc-details,
#asm-inv-details {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
	width: min(360px, calc(100vw - 36px));
	margin: 9px 0 0;
	padding: 18px;
	background: #fff;
	border: 1px solid #cfcfca;
	border-radius: 4px;
	box-shadow: 0 12px 30px rgba(31, 31, 50, 0.18);
}

#asm-calc-details-close-holder,
#asm-inv-details-close-holder {
	position: relative;
}

#asm-calc-details-close,
#asm-inv-details-close {
	position: absolute;
	top: -2px;
	right: 1px;
	width: 24px;
	height: 24px;
	opacity: 0.55;
	cursor: pointer;
}

#asm-calc-details-close:hover,
#asm-calc-details-close:focus,
#asm-inv-details-close:hover,
#asm-inv-details-close:focus {
	opacity: 1;
}

#asm-calc-details-close::before,
#asm-calc-details-close::after,
#asm-inv-details-close::before,
#asm-inv-details-close::after {
	position: absolute;
	top: 2px;
	left: 11px;
	width: 2px;
	height: 19px;
	background: #333;
	content: "";
}

#asm-calc-details-close::before,
#asm-inv-details-close::before {
	transform: rotate(45deg);
}

#asm-calc-details-close::after,
#asm-inv-details-close::after {
	transform: rotate(-45deg);
}

#asm-calc-title-left,
#asm-calc-title-right {
	float: left;
	width: 50%;
	padding-right: 26px;
	color: #767676;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

#asm-calc-title-right {
	padding-right: 28px;
	text-align: right;
}

.asm-calc-method {
	clear: both;
	padding-top: 13px;
}

.asm-calc-method-top-left {
	float: left;
	width: calc(100% - 85px);
	color: #333;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.asm-calc-method-top-right {
	float: right;
	width: 85px;
	color: #0b7f42;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-align: right;
}

.asm-calc-method-bottom {
	float: left;
	width: 100%;
	margin-top: 2px;
	color: #555;
	font-size: 12px;
}

#asm-calc-message {
	clear: both;
	padding-top: 17px;
	color: #444;
	font-size: 12px;
	line-height: 1.45;
	text-align: center;
}

#asm-calc-msg-line,
#asm-inv-msg-line {
	clear: both;
	height: 1px;
	margin: 14px 0;
	background: #d6d6d1;
	border: 0;
}

#asm-calc-note,
#asm-inv-note {
	clear: both;
	color: #6d6d6d;
	font-size: 12px;
	line-height: 1.5;
}

#asm-inv-title {
	margin: 0 28px 10px 0;
	color: #307962;
	font-size: 14px;
	font-weight: 700;
}

#asm-inv-title-left,
#asm-inv-title-right {
	float: left;
	width: 50%;
	color: #767676;
	font-size: 11px;
	font-weight: 700;
}

#asm-inv-title-right {
	text-align: right;
}

.asm-inv-location {
	clear: both;
	padding-top: 12px;
}

.asm-inv-location-left {
	float: left;
	width: 65%;
	color: #333;
	font-size: 15px;
	font-weight: 700;
}

.asm-inv-location-right {
	float: right;
	width: 35%;
	color: #0b7f42;
	font-size: 15px;
	font-weight: 700;
	text-align: right;
}

@media (max-width: 767px) {
	#delivery-countdown {
		max-width: none;
		margin-top: 10px;
		padding: 12px 13px;
	}

	#dc-top {
		font-size: 15px;
	}

	#asm-calc-details,
	#asm-inv-details {
		position: relative;
		width: 100%;
		margin-top: 9px;
	}
}
#dc-estimate-note {
    clear: both;
    padding-top: 9px;
    color: #6d6d6d;
    font-size: 11px;
    line-height: 1.45;
}