:root {
	--light-gray: #a4a4a1;
	--lighter-gray: #cccccc;
	--lightest-gray: #dddddd;
	--dark-gray: #43423d;
	--red: var(--bs-red);
	--darker-red: #b53b1f; 
	--light-blue: #daedf6;
	--medium-blue: var(--bs-gray-600);
	--darker-blue: #00516f;
	--light-tan: #e8e6d8;
}

p { line-height: 1.2; }

/*
html, body, div, span, applet, object, input, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, select, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    background-repeat: no-repeat;
    background-position: 0 0;
    line-height: 1.3;
}

h1,h2,h3,h4,h5 { line-height: 1.2; }

select {
	-webkit-appearance: menulist;
	-moz-appearance: menulist;
	appearance: menulist;
}
*/


.summary > * { width: 100%; }

.summary .item {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	padding: 0 0 1px 0;
	overflow: hidden;
	padding: 0 0 var(--space-m) 0;
	border-bottom: 1px var(--lighter-gray) solid;
}

.postlaunch .summary > .item > *:first-child { margin-top: 0; }

.summary .item + .item { margin: var(--space-m) 0 0 0; }

.summary .item .image-wrap {
	margin: 0 0 var(--space-s) 0;
	width: 35%;
	max-width: 150px;
}

.summary .item form { 
	margin-top: 0; 
	float: left; 
}

.summary .item .title,
.my-wishlist .item .title {
	font-weight: var(--font-bold);
	margin: 0 0 3px 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	/* Optional: for newer browsers */
	line-clamp: 3;
	box-orient: vertical;

	overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    text-transform: none;
}

.summary .author { 
	margin-top: 0; 
	color: var(--dark-gray);
	font-weight: 400;
}

.summary dl.fact-list { overflow: hidden; }

.summary dl.fact-list dt { font-weight: 400; }

.summary dl.fact-list dd .seller-info { 
	display: block;
	max-width: calc(100% - 100px);
}

.summary dl.fact-list dt.pricing,
.summary .price { font-weight: var(--font-bold); }

.summary .pricing .item-price { 
	font-size: 18px;
	padding-right: 3px;
	font-weight: var(--font-bold);
}

.summary dl.fact-list dt.pricing { padding-top: 4px; }

.summary dt.pricing { 
	float: left;
	clear: left;
	padding-right: 0.25em;
}

.summary dd.pricing .price-wrap { display: block; }

.summary .seller-rating .label,
.summary .seller-rating .star-ratings { 
	display: inline-block;
	display: inline-flex;
}

div.pricing { line-height: 1.5; }

.summary .collapse-control { 
	display: flex;
	align-items: center;
	font-size: inherit;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0 none;
}

.jq-ready .summary .collapse-control::after { 
	margin-top: 0;
	width: 13px;
}
	
.summary .collapse-control + div { border: 0 none !important; }

/* .summary .item .collapse-control + div { border-bottom: 1px #ccc solid; } */

.summary .item-description { 
	margin-bottom: 0;
	width: 100%;
}

.summary .item-title + .item-description { margin-top: var(--space-s); }

.hide { display: none; }

.hidden { display: none !important; }

.btn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] { margin-right: 15px; }

/*
.form-check { 
	display: flex;
	align-items: flex-start;
}

.form-check + .form-check { margin-top: var(--space-xs); }
*/

.form-check > input[type='radio'],
.form-check > input[type='checkbox'],
.form-check > .form-check-input {
	margin: 0;
	left: 0;
	top: 2px;
	position: absolute;
}

/* .form-check label { padding: 2px var(--space-xs) 2px 0; } */

/* .badge-info { background-color: var(--link-color) } */

label.required::after,
.label.required::after {
	content: '\002A';
	color: var(--red);
	display: inline-block;
	margin-left: 3px;
}

.line-add {
    font-size: 85%;
	color: var(--link-color)
	cursor: pointer;
	margin: 0 0 1em 0;
}

.line-add::before { content: '\005B\002B\005D\0020'; }

/* .form-group + .line-add { margin-top: -1rem; } */
/*
#header {
	position: absolute !important;
	left: 0;
	right: 0;
}

#header + .page-wrap { 
	padding-top: 155px;
	-webkit-transition: padding .4s ease, opacity .3s ease;
	-o-transition: padding .4s ease, opacity .3s ease;
	transition: padding .4s ease, opacity .3s ease;
}

#logo img { margin-left: -8px; }
*/

/*
.container, 
#header.full-header .container,
.container-fullwidth {
	padding-left: var(--space-m) !important;
	padding-right: var(--space-m) !important;
}

h4 > span:not(.nocolor):not(.badge) { color: inherit; }
*/

dt { 
	float: left;
	clear: left;
	margin: 0;
	padding: 4px 0.5em 0 0;
	text-transform: capitalize;
}

dt::after { content: "\003A"; }

dd { 
	margin: 0;
	padding: 4px 0 0 0;
}

.joined-form { 
	display: flex;
	align-items: stretch;
}

.joined-form * { margin: 0 !important; }

.joined-form > *:first-child,
.joined-form > .field-wrapper:first-of-type { flex: 1 0; }

.joined-form > .field-wrapper > input { 
	border-right-width: 0; 
	border: 1px solid var(--medium-blue);
	padding-left: var(--space-s);
}

.joined-form > *:last-child { flex: 0 0; }

.joined-form input { height: 100%; }

.field-wrapper > input { width: 100%; }

.range-separated {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.range-separated .form-control {
	flex: 1 1 auto;
	max-width: calc(50% - 30px);
}

.range-separated .range-separator {
	text-align: center;
	flex: 0 0 auto;
	max-width: 30px;
	width: 30px;
	font-size: 80%;
}

.important label { font-weight: var(--font-bold); }

.help-block:not(:empty) {
	font-size: 90%;
	font-style: italic;
	line-height: 1.2;
	margin: 3px 0 var(--space-s) 0;
}

/*
#paypal-complete h4,
*/

#checkout header.content-header { margin-bottom: var(--space-m); }
#checkout header.content-header  h1 { margin: 0; }

#checkout header.content-header .icon-wrap {
    padding: 0 0 0 45px;
	background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='37px' height='45.1px' viewBox='0 0 37 45.1' style='enable-background:new 0 0 37 45.1;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23CED4DA;stroke:%231A1A1A;stroke-width:3;stroke-miterlimit:10;%7D .st1%7Bfill:%231A1A1A;%7D .st2%7Bfill:none;stroke:%231A1A1A;stroke-width:3;stroke-miterlimit:10;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cpath class='st0' d='M18.5,43.5c0,0,17-6.5,17-20.5c0-2,0-21.5,0-21.5h-34c0,0,0,19.5,0,21.5C1.5,37,18.5,43.5,18.5,43.5z'/%3E%3Crect x='9.5' y='17.5' class='st1' width='18' height='13'/%3E%3Cpath class='st2' d='M14,19v-5.5C14,11,16,9,18.5,9s4.5,2,4.5,4.5V19H14z'/%3E%3C/svg%3E%0A");
    background-position: 0 3px;
    background-repeat: no-repeat;
    min-height: 48px;
}

#checkout .panel-heading h4,
#checkout .accordion-control,
#checkout .collapse-control { margin: 0; }

#checkout .paymentbox,
#checkout #guest-or-login,
#checkout .form-group.col:first-child,
#checkout #checkout-promos { margin-top: 15px; }

#checkout .summary .item {
	--image-width: 58px;
	--gap-width: var(--space-s);
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--gap-width);
	width: 100%;
	overflow: hidden;
	margin: 15px 0 0 0;
	padding: 0 0 var(--space-m) 0;
	border-bottom: 1px #cccccc solid;
	overflow: hidden;
}

#checkout .summary .item .image-wrap {
    margin: 0;
    width: auto;
    max-width: 150px;
    flex: 0 0 var(--image-width);
}

#checkout .summary .item {
    font-size: 85%;
    line-height: 1.1;
} 

#checkout .summary .item .text-wrap { flex: 2 1 calc(67% - var(--image-width) - var(--gap-width)); }

.error,
.warning {
    color: var(--red);
	font-size: 80%;
}

.img-warning {
    font-size: 80%;
    line-height: 1;
    text-align: center;
    margin-top: var(--space-xs);
    text-decoration: none;
}

/*
.summary.type-2 .image-wrap.no-photo .spacer, a.box-link .no-photo .spacer, .no-photo a, .book-details .no-photo .spacer {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #c2c2c2;
    color: #FFF;
    font-size: 14px;
    padding: 10%;}
*/

.summary .image.no-photo::after { padding: 0; }
    
/* .image.no-photo { 
	background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 100%;
} */

/* .content-hidden * { margin: 0; }

.content-hidden .open {
	width: 100%;
	position: absolute;
	bottom: 0;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
	cursor: pointer;
	z-index: 2;
	height: 1.25em;
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 80%);
}

.content-hidden .open span.control { 
	color: var(--medium-blue);
	background-color: #ffffff;
	position: absolute;
	bottom: 0;
	right: 0;
}

.content-hidden .open span.control { padding-left: var(--space-s); }

.content-hidden .open span:focus { color: var(--red); }

.content-hidden .open span.control::before { 
    display: inline-block;
	content: '\005B\002B\005D';
}

.content-hidden.active { 
	max-height: 700px !important;
	padding-bottom: 1.25em;
}

.content-hidden.active .open { background: transparent; }

.content-hidden.active .open .more-phrase { display: none; }

.content-hidden.active .open span.control::before { content: '\005B\2013\005D'; }

.summary .image.no-photo img { position: absolute !important; } */

.minor-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-xs) 15px;
	margin: var(--space-m) 0 0 0;
}

.minor-actions .sold { flex: 1 0 100%; }

#main-content a.icon { 
	display: flex;
	gap: var(--space-xs);
	align-items: center;
	text-decoration: none;
}

#main-content a.icon::before {
	content: '';
	display: inline-block;
	height: var(--space-m);
	width: var(--space-m);
	flex: 0 0 var(--space-m);
	margin: 0;
	background-repeat: no-repeat;
	background-position: center center;
}

#main-content a.icon.seller-question::before { background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16.5px' height='18.5px' viewBox='0 0 16.5 18.5' style='enable-background:new 0 0 16.5 18.5;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;stroke:%23315555;stroke-width:2.0;stroke-miterlimit:10;%7D .st1%7Bfill:%23315555;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cpath class='st0' d='M11.75,0.75h-7c-2.2,0-4,1.8-4,4v6c0,2.2,1.8,4,4,4h2.14c0.61,2,3.12,3,4.86,3c0,0-0.31-1.67-0.8-3h0.8 c2.2,0,4-1.8,4-4v-6C15.75,2.55,13.95,0.75,11.75,0.75z'/%3E%3Cg%3E%3Cpath class='st1' d='M9.21,5.72c0-0.47-0.34-0.65-0.73-0.65c-0.44,0-0.73,0.23-1.07,0.55L6.19,4.5c0.64-0.73,1.53-1.22,2.57-1.22 c1.43,0,2.57,0.65,2.57,2.29c0,1.56-1.9,1.98-1.77,3.41H7.62C7.36,7.28,9.21,6.55,9.21,5.72z M7.28,10.94 c0-0.75,0.55-1.35,1.3-1.35c0.75,0,1.3,0.6,1.3,1.35s-0.55,1.35-1.3,1.35C7.83,12.3,7.28,11.7,7.28,10.94z'/%3E%3C/g%3E%3C/svg%3E%0A"); }

#main-content a.icon.wishlist::before,
#main-content .href.icon.wishlist::before { background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' width='17' height='16.06' viewBox='0 0 17 16.06'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff;stroke:%23315555;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M8.5,15.06C4.66,10.82,1,8.12,1,4.97c0-2.9,2.09-3.97,3.6-3.97.9,0,2.83.38,3.9,3.41,1.08-3.04,3.04-3.4,3.91-3.4,1.73,0,3.6,1.24,3.6,3.96,0,3.12-3.5,5.67-7.5,10.09Z'/%3E%3C/svg%3E"); }

#main-content a.icon.wishlist.active::before,
#main-content .href.icon.wishlist.active::before { background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' width='17' height='16.06' viewBox='0 0 17 16.06'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23315555;stroke:%23315555;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M8.5,15.06C4.66,10.82,1,8.12,1,4.97c0-2.9,2.09-3.97,3.6-3.97.9,0,2.83.38,3.9,3.41,1.08-3.04,3.04-3.4,3.91-3.4,1.73,0,3.6,1.24,3.6,3.96,0,3.12-3.5,5.67-7.5,10.09Z'/%3E%3C/svg%3E"); }

#main-content a.icon.delete::before { background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' width='12.66' height='12.66' viewBox='0 0 12.66 12.66'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;stroke:%23315555;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2.5px;%7D%3C/style%3E%3C/defs%3E%3Cline class='cls-1' x1='1.25' y1='1.25' x2='11.41' y2='11.41'/%3E%3Cline class='cls-1' x1='1.25' y1='11.41' x2='11.41' y2='1.25'/%3E%3C/svg%3E"); }

#main-content a.icon.add-to-cart::before { background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Drop_shippers' xmlns='http://www.w3.org/2000/svg' width='20.5' height='18.59' viewBox='0 0 20.5 18.59'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bstroke-linejoin:round;stroke-width:1.75px;%7D.cls-1,.cls-2%7Bstroke-linecap:round;%7D.cls-1,.cls-2,.cls-3%7Bfill:none;stroke:%23315555;%7D.cls-2%7Bstroke-width:1.5px;%7D.cls-3%7Bstroke-width:1.54px;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M.88.88h2.54l3.76,13.44'/%3E%3Cpath class='cls-1' d='M4.39,3.09h15.24l-2.94,9.56H7.42'/%3E%3Ccircle class='cls-3' cx='7.43' cy='16.31' r='1.51'/%3E%3Ccircle class='cls-3' cx='15.56' cy='16.31' r='1.51'/%3E%3Cline class='cls-2' x1='9.58' y1='16.36' x2='13.39' y2='16.36'/%3E%3C/svg%3E%0A"); }

/* ul.payment_flipper > li > label { font-size: 18px !important; } */

#checkout .summary .title,
#checkout .item-price {  font-weight: var(--font-bold); }

/* #checkout .summary .title { font-size: 18px; } */

#checkout .item-price { font-size: 16px; }

#checkout .summary .item .pricing {
	--margin-left: calc((var(--image-width) + var(--gap-width)));
    flex: 1 1 !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    font-size: inherit;
	text-align: left !important;
	margin: 0 0 0 var(--margin-left) !important;
}

#checkout .summary .text-wrap > * { margin-bottom: 0; }

.image-wrap .image-label { font-size: 11px; }

ul.payment-options {
	display: flex;
	flex-wrap: wrap;
	flex: 0 0 100%;
	--pay-icon-gap: var(--space-xs);
	--pay-icon-offset: 12.5%;
	gap: var(--pay-icon-gap);
	margin: 0;
	padding: 0;
	cursor: pointer;
}

#page-footer ul.payment-options { 
	cursor: default;
	--pay-icon-gap: var(--space-s);
}

ul.payment-options li {
	background-image: url('images/payment-methods.svg');
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-color: var(--lighter-gray);
	position: relative;
	overflow: hidden;
	width: calc((100% - (6 * var(--pay-icon-gap))) / 7);
	max-width: 50px;
	min-width: 35px;	
	text-indent: -1000px;
	box-shadow: 0 0 0 1px var(--lighter-gray);
	border-radius: 4px;
	border: 0 none;
	padding: 0;
	margin: 0;
}

ul.payment-options li:after {
	content: '';
	float: left;
	padding-top: 60%;
}

.cc_icon.visa,
ul.payment-options li.visa { background-position: 0 0; }

.cc_icon.mastercard,
.cc_icon.mc,
ul.payment-options li.mastercard,
ul.payment-options li.mc{ background-position: var(--pay-icon-offset) 0; }

.cc_icon.amex,
ul.payment-options li.amex { background-position: calc(2 * var(--pay-icon-offset)) 0; }

.cc_icon.discover,
ul.payment-options li.discover { background-position: calc(3 * var(--pay-icon-offset)) 0; }

ul.payment-options li.paypal { background-position: calc(4 * var(--pay-icon-offset)) 0; }

ul.payment-options li.check { background-position: calc(5 * var(--pay-icon-offset)) 0; }

ul.payment-options li.googlepay { background-position: calc(6 * var(--pay-icon-offset)) 0; }

ul.payment-options li.applepay { background-position: calc(7 * var(--pay-icon-offset)) 0; }

ul.payment-options li.dankort { background-position: calc(8 * var(--pay-icon-offset)) 0; }

ul.payment-options li.disabled { opacity: 0.4; }

ul.payment-options li.disabled::before {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.5);
}

.disabled label,
.disabled input
input:disabled,
input:disabled + label {
	cursor: not-allowed;
	opacity: var(--bs-btn-disabled-opacity);
}

/* ul.payment-options li.check { background-position: -290px 0; } */

.actions-simple { margin: var(--space-s) 0 0 0; }

.actions-simple > a {
	background: transparent;
	text-indent: 0;
	margin: 0 var(--space-s) var(--space-xs) 0;
	display: inline-block;
}

.actions-simple a.remove { width: auto; height: auto; text-indent: 0; background: none; }

.actions-simple a.delete-item::before,
.actions-simple a.add-to-wishlist::before,
.actions-simple a.add-to-cart::before {
	content: '';
	display: inline-block;
	height: var(--space-m);
	width: var(--space-m);
	margin: 0 3px 0 0;
	vertical-align: bottom;
}

.actions-simple a.delete-item::before { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' stroke='%231ABC9C' stroke-width='2' viewBox='0 0 20 20' %3e%3cpath d='M3 3 l 14 14 M3 17 l 14-14'/%3e%3c/svg%3e"); }

.actions-simple a.add-to-wishlist::before { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' stroke='%231ABC9C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 20 20'%3e%3cpath d='M9.79,18.37C5.29,13.46,1,9.24,1,5.6C1,2.24,3.45,1,5.22,1c1.05,0,3.32,0.44,4.57,3.95 c1.27-3.52,3.57-3.94,4.58-3.94c2.03,0,4.22,1.44,4.22,4.59C18.58,9.21,14.48,13.25,9.79,18.37z'/%3e%3c/svg%3e"); }

.actions-simple a.add-to-cart::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.43 17.91'%3E%3Cstyle%3E .st0%7Bfill:none;stroke:%231ABC9C;stroke-width:1.5%7D %3C/style%3E%3Cpath class='st0' d='M0 .5h2.54L7 14.47h7.34'/%3E%3Cpath class='st0' d='M3.21 2.71h15.54l-2.94 9.56H6.25'/%3E%3Ccircle class='st0' cx='6.99' cy='15.94' r='1.47'/%3E%3Ccircle class='st0' cx='14.34' cy='15.94' r='1.47'/%3E%3C/svg%3E%0A"); }

.actions-simple .sold { margin: -10px 0 3px 0; }

.actions-simple .sold > * { margin: 0; }

#cart h2 { margin-bottom: 15px; }

#cart .summary .item .image-wrap { width: 60px; }

.cart-basics {
	text-align: center;
	margin-bottom: var(--space-m);
	padding: var(--space-m) 0 var(--space-m) 0;
    border-top: 1px #a4a4a1 solid;
    border-bottom: 1px #a4a4a1 solid;
}

.cart-basics .text { margin-bottom: var(--space-m); }

.cart-basics h1,
.cart-basics h2,
.cart-basics form { margin: 0; }

.cart-basics h4 { margin-top: 2px; }

.cart-details .summary .title {
    margin: 0 0 0 0 !important;
    font-size: 18px;
}

.cart-details .title a {
    text-decoration: none;
}

.cart-details .title a:hover {
    text-decoration: underline;
}

#cart .actions { text-align: center; }

#cart .order-summary .actions { margin-top: 25px; }

#cart .form-group.check-group { 
	display: flex; 
	flex-direction: column; 
	gap: var(--space-xs); 
}

.form-inline > select, 
.form-inline > input[type="text"], 
.form-inline > input[type="email"], 
.form-inline > input[type="number"], 
.form-inline > input[type="password"] { width: auto; }

#checkout .panel-collapse { padding-bottom: var(--space-m); }

.order-summary .form-check > input[type='radio'] { top: 2px; }

.order-summary .actions { margin-top: var(--space-xs); }

#checkout .paypal-button {
    max-width: 350px;
    margin: 0 auto -4px auto;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.btn-or {
	display: inline-block;
	padding: 0 8px 2px 8px;
	font-weight: var(--font-bold);
}

.cart-basics .keep-shopping,
.cart-basics .btn.primary,
.cart-basics .paypal-button,
.cart-basics .btn-or,
#total-box .btn.primary,
#total-box .paypal-button { margin: 8px auto 0 auto; }

.cart-basics .btn.primary,
.cart-basics .paypal-button,
#total-box .btn.primary,
#total-box .paypal-button
{ 
	display: block; 
	width: 100%;
	max-width: 250px;
	padding: 0;
	min-height: 45px;
	display: flex;
	align-items: center;
	white-space: normal;
	justify-content: center;
}


.customer-action { 
	background-color: var(--bs-gray-200);
	padding: var(--space-m) 15px;
}

.customer-action .accordion-group { 
	border-bottom: 2px #ffffff solid;
	margin-bottom: var(--space-s);
}

.customer-action .accordion-control { 
	font-weight: var(--font-bold);
	font-size: 16px;
	border-top: 1px #ffffff solid;
	padding: var(--space-s) 0;
	width: 100%;
	height: auto;
    line-height: 1.1;
}

.customer-action .accordion-control::before {
	display: block;
	float: right;
	content: '';
	margin-top: 6px;
	width: 0; 
	height: 0; 
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid var(--bs-gray-500);
	transform: rotateX(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.accordion-control.collapsed::before { transform: rotateX(180deg); }

/*
#cart .joined-form input[type='text'] { 
	border-color: var(--link-color)
}

#cart .joined-form input[type='submit'] { 
	background-color: var(--link-color)
	color: #ffffff;
}

#cart .joined-form.smaller input[type='text'],
#cart .joined-form.smaller input[type='submit'] { 
	width: auto;
	min-width: 70px;
}
*/

table.itemization {
	text-align: left;
	border: 0 none;
	width: 100%;
}

table.itemization tr { }

table.itemization td {
	padding: 2px 0;
	border: 0 none;
}

table.itemization td:first-child { padding-right: var(--space-s); }

table.itemization td:last-child { text-align: right; }

#checkout #s_address1,
#checkout #s_address2,
#checkout #s_country_name,
#checkout .shipping_phone_inline_block { display: block; }

.page-head .icon-wrap { 
	padding: 0 0 0 50px;
	background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='38.02px' height='44px' viewBox='0 0 30.24 35' style='enable-background:new 0 0 30.24 35;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D .st1%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cg%3E%3Cpath class='st0' d='M15.12,33.37C12.53,32.22,1.5,26.75,1.5,16.98V1.5h27.24v15.48C28.74,26.75,17.71,32.22,15.12,33.37z'/%3E%3Cpath class='st1' d='M27.24,3v13.97c0,8.26-8.97,13.25-12.12,14.75C11.97,30.22,3,25.24,3,16.97V3h12.12H27.24 M30.24,0H15.12H0 v16.97C0,29.19,15.12,35,15.12,35s15.12-5.81,15.12-18.03V0L30.24,0z'/%3E%3C/g%3E%3Cpath class='st1' d='M20.62,13v-2.14c0-3.03-2.46-5.49-5.49-5.49c-3.03,0-5.49,2.46-5.49,5.49V13H8.25v9.62h13.74V13H20.62z M12.37,10.86c0-1.51,1.23-2.75,2.75-2.75c1.51,0,2.75,1.23,2.75,2.75V13h-5.49V10.86z'/%3E%3C/svg%3E%0A");
	background-position: 0 var(--space-xs);
	background-repeat: no-repeat;
	min-height: 48px;
	margin: 0 0 var(--space-m) 0;
}

.page-head .icon-wrap h1 {
	margin: 0;
	padding: 0;
	line-height: 1;
}

#checkout .image-wrap .international .image-label span:nth-child(1) { top: 7%; }

#checkout .image-wrap .international .image-label span:nth-child(2) { bottom: 8%; }

#checkout .summary .item .seller,
.basic-info,
.basic-info .fact-list,
.item div.pricing { line-height: 1.5; }

#checkout .summary .actions > a {
	display: inline-block;
	margin: 0 var(--space-s) 0 0;
}

#checkout .panel-body > .form-group:first-child,
#checkout .panel-body > .form:first-child  { margin-top: var(--space-s); }

#checkout .currency-select-wrap > * { display: inline-block; }

#checkout .form-group.important label { font-weight: var(--font-bold); }

#checkout .coupon-description {
	font-size: 80%;
	font-style: italic;
}

/* ul.payment_flipper { 
	font-size: 13px !important;
	gap: var(--space-s) 30px !important;
}

ul.payment_flipper > li { 
	padding: 0 0 0 3px;
	margin: var(--space-s) 0 0 var(--space-xs);
	display: flex;
	align-items: flex-start
}

ul.payment_flipper > li > label { 
	padding: 0;
	margin: -2px 0 0 var(--space-xs);
} */

.form-group.label-left > label + .small { max-width: 130px; }

#checkout .form-inline {  }
	
#checkout .form-inline > * { margin: 0; }

#checkout .agreements { margin-top: var(--space-m); }

#checkout .checkout-total-wrapper {
	margin: var(--space-s) 0 var(--space-xs) 0;
	font-weight: var(--font-bold);
}

#checkout .checkout-total-wrapper .price { color: var(--secondary-color); }

#checkout .section-opener { 
	color: var(--link-color)
	cursor: pointer;
}

#checkout .section-opener .closed::after { content: '\0020\005B\002B\005D'; }

#checkout .section-opener .opened::after { content: '\0020\005B\2013\005D'; }

#checkout .guarantee {
	content:'\2713\00a0';
	color: var(--link-color)
}

#paypal-complete > *:first-child { margin-top: 0; }

#paypal-complete > *:last-child { margin-bottom: var(--space-m); }

#checkout .paypal-instruction {
	margin-top:	5px;
	text-align: center;
	font-style: italic;
}

.hidedetails { display: none; }

.hidedetails > *:first-child { margin-top: var(--space-s); }

.agreements .required,
.agreements .optional { 
	display: block;
	font-weight: var(--font-bold);
}

.agreements .required { color: var(--secondary-color); }
.agreements .optional { color: var(--link-color) }

.agreements .form-check label { margin-top: 0; }

label,
.label { font-size: 1.4rem; }

.customer-order h3 { margin: 0 0 var(--space-m) 0; }

.ship-bill-addresses h4 { margin: 0 0 var(--space-s) 0; }

ul.order-basic-info {
	margin: var(--space-s) 0 0 0;
	padding: 0 0 0 1em;
}

#checkout h4 { margin-bottom: var(--space-xs); }

#checkout .alert { padding: var(--space-s) 25px var(--space-s) 25px; }
#checkout .boxed { padding: var(--space-s) var(--space-m) var(--space-s) var(--space-m); }

#checkout .alert > *:first-child { margin-top: 0; }

#checkout .alert.warning { border: 1px var(--secondary-color) solid; }

#checkout table.itemization { 
	margin: 15px 0 15px 0;
	border: 1px #a4a4a1 solid;
	font-size: 110%;
	width: auto;
	min-width: 70%;
}

#checkout table.itemization tr:first-child td,
#checkout table.itemization tr:first-child[style*="display:none;"] + tr td { padding-top: 15px; }

/* #checkout table.itemization tr:last-child td {  } */

#checkout table.itemization td:first-child { padding-left: 15px; }

#checkout table.itemization td:last-child { padding-right: 15px; }

#cart table.itemization tr.total td,
#checkout table.itemization tr.total td { 
	font-weight: var(--font-bold);
	white-space: nowrap;
	padding-bottom: 15px;
}

#checkout table.itemization td.price { white-space: nowrap; }

#cart table.itemization .currency-changer,
#checkout table.itemization .currency-changer,
#checkout table.itemization .promo-applied {
	border-top: 1px #a4a4a1 solid;
	padding-top: var(--space-xs);
	padding-bottom: var(--space-xs);
	font-size: 80%;
	text-align: left !important;
}

#checkout table.itemization .promo-applied { background-color: #cccccc; }

table.itemization .promo-discount span { font-size: 80%; }

#checkout .form-check label + .badge { vertical-align: top; }

.donate-note h5 + .form-group { margin-top: var(--space-xs); }

#cart-sd-totals-panel + .panel { margin-top: var(--space-m); }

button.cart-overflow-control {
    display: flex;
	justify-content: space-between;
	align-items: center;
    width: 100%;
    font-size: 90%;
    line-height: 1.2;
    text-align: left;
    background-color: var(--lighter-green);
    padding: 2px 10px 3px 10px;
    color: #ffffff;
    border: 0 none;
    cursor: pointer;
    border-radius: 0;
    text-transform: none;
}

.cart-overflow-control::after {
	display: block;
	content: '';
	width: 15px;
	height: 8px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke-linejoin='miter' stroke='%23ffffff' stroke-width='2' viewBox='0 0 18 10'%3e%3cpath d='m1 9 8 -8 8 8'/%3e%3c/svg%3e"); 
	transform: rotateX(0deg);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

/* .jq-ready .accordion-control::before,
.jq-ready .collapse-control::after {
	display: block;
	content: '';
	width: 18px;
	height: 10px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke-linejoin='miter' stroke='%234b7c9b' stroke-width='2' viewBox='0 0 18 10'%3e%3cpath d='m1 9 8 -8 8 8'/%3e%3c/svg%3e"); 
	transform: rotateX(0deg);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
} */

/* .jq-ready .accordion-control.collapsed::before,
.jq-ready .collapse-control.closed::after, */
.cart-overflow-control.collapsed::after { transform: rotateX(180deg); }

#checkout #ship-note-control { margin-top: var(--space-s); }

.error-field { background-color: #ffffbc !important; }

input.error-field,
select.error-field,
textbox.error-field { border-color: var(--secondary-color); }

/*
td {
  border-top: 1px #CCC solid;
  padding: var(--space-xs);
  text-align: center;
}

thead td {
  color: #ffffff;
  background-color: #43423d;
  font-weight: var(--font-bold);
  font-size: 90%;
}
*/

/* checkout-6 (paypal) */
h4 + table.order { margin-top: var(--space-s); }

.ship-bill-addresses,
.tables-wrapper { margin-top: var(--space-m); }

.tables-wrapper { max-width: 769px; }

.customer-order { margin-top: var(--space-m); }

.customer-order table {
	width: 100%;
	margin: 0;
}

.customer-order table + table { margin-top: -1px; }

.customer-order td { 
	text-align: left;
	line-height: 1.2;
}

.customer-order .cost {
	width: 75px;
	text-align: right;
}

.customer-order .cost .price { white-space: nowrap; }

.customer-order .totals-label { text-align: right; }

.customer-order .title-author > strong,
.customer-order .description,
.customer-order .title-and-author { 
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Optional: for newer browsers */
  line-clamp: 4;
  box-orient: vertical;
}

.customer-order .description { font-size: 90%; }

.customer-order .note { 
	color: var(--link-color)
	font-style: italic;
}

.customer-order .description + .note,
table.gift-certificates { margin-top: var(--space-xs); }

.the-total { font-size: 110%; }

.the-total td { font-weight: var(--font-bold); }

.checkout-wrapper > .row > div,
.shipping-estimate { margin-bottom: var(--space-m); }

.donation-thanks img {
	float: right;
	margin: 0 0 var(--space-xs) 15px;
	max-width: 150px;
}

.social-media-promo {
	padding: var(--space-m) 15px;
	text-align: center;
	background-color: #F9F9F9;
	-webkit-box-shadow: 2px -1px 9px var(--space-xs) rgba(0,0,0,0.2);
	-moz-box-shadow: 2px -1px 9px var(--space-xs) rgba(0,0,0,0.2);
	box-shadow: 2px -1px 9px var(--space-xs) rgba(0,0,0,0.2);
}

.social-media-promo .bigger-icons > h4 {
	margin-top: 0;
	font-size: 24px;
	color: #00516f;
	text-shadow: -1px -1px 2px rgba(255,255,255,1), 0px 0px 2px rgba(255,255,255,1), 1px 1px 2px rgba(255,255,255,1), 2px 2px 2px rgba(255,255,255,1), 3px 3px 2px rgba(255,255,255,1) ;
}

.social-media-promo .social-share { display: block; }

.ad-wrap {
	background-color: #121212;
	text-align: center;
	margin-top: 30px;
}

.ad-wrap img { max-width: 100%; }

.trust-badge { 
	display: inline-block;
	padding: 8px var(--space-s) 8px 50px;
	background-color: #ffffff;
	margin: 15px 0 15px 0;
	background-position: var(--space-s) var(--space-s);
	background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='30.24px' height='35px' viewBox='0 0 30.24 35' style='enable-background:new 0 0 30.24 35;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D .st1%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cg%3E%3Cpath class='st0' d='M15.12,33.37C12.53,32.22,1.5,26.75,1.5,16.98V1.5h27.24v15.48C28.74,26.75,17.71,32.22,15.12,33.37z'/%3E%3Cpath class='st1' d='M27.24,3v13.97c0,8.26-8.97,13.25-12.12,14.75C11.97,30.22,3,25.24,3,16.97V3h12.12H27.24 M30.24,0H15.12H0 v16.97C0,29.19,15.12,35,15.12,35s15.12-5.81,15.12-18.03V0L30.24,0z'/%3E%3C/g%3E%3Cpath class='st1' d='M20.62,13v-2.14c0-3.03-2.46-5.49-5.49-5.49c-3.03,0-5.49,2.46-5.49,5.49V13H8.25v9.62h13.74V13H20.62z M12.37,10.86c0-1.51,1.23-2.75,2.75-2.75c1.51,0,2.75,1.23,2.75,2.75V13h-5.49V10.86z'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
}

.trust-badge h4 { 
	line-height: 1.1;
	margin: 0 !important;
	font-size: 18px;
    font-weight: var(--font-bold);
}

.flash {
	-moz-animation: flash 1s ease-out;
	-moz-animation-iteration-count: 1;
	-webkit-animation: flash 1s ease-out;
	animation-iteration-count: 1;
	-webkit-animation-iteration-count: 1;
	-ms-animation: flash 1s ease-out;
	-ms-animation-iteration-count: 1;
}

.no-photo {
	background-image: var(--logo);
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center center;
}

@-webkit-keyframes flash {
    0% { background-color: none; }
    50% { background-color: #fbf8b2; }
    100% { background-color: none; }
}

@-moz-keyframes flash {
    0% { background-color: none; }
    50% { background-color: #fbf8b2; }
    100% { background-color: none; }
}

@-ms-keyframes flash {
    0% { background-color: none; }
    50% { background-color: #fbf8b2; }
    100% { background-color: none; }
}

/*
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	border: 1px rgba(0,0,0,0.5) solid;
    padding: var(--space-xs) var(--space-s);
    background-color: #fff;
    color: #1a1a1a;
    border-radius: 0.25rem;
    height: auto;
    line-height: 1.1;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
*/

/* .customer-action .btn.type-1,
.btn.promo-apply {
	background-color: var(--bs-gray-700);
	color: var(--bs-secondary);
} */

.btn.bigger,
.btn.primary {
	font-size: 125%;
	padding: var(--space-xs) var(--space-m);
}

.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
	gap: var(--space-xs);
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: var(--font-bold);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.badge-info {
  color: #fff;
  background-color: #333;
  align-self: center;
}

/* .form-group { margin-bottom: var(--space-s); } */

p + .form-group { margin-top: var(--space-s); }

/*
.form-group input[type=text], 
.form-group input[type=password], 
.form-group input[type=email], 
.form-group input[type=date], 
.form-group input[type=tel], 
.form-group input[type=file], 
.form-group select,
.form-inline > :not(.sr-only, .speech, label) { height: 33px; }
*/

.form-group input[type=text], 
.form-group input[type=password], 
.form-group input[type=email], 
.form-group input[type=date], 
.form-group input[type=tel], 
.form-group input[type=file], 
.form-group select, 
.form-group textarea { 
	background-color: #fff;
	margin-bottom: 0;
	padding: 7px;
}

#checkout .customer-action input[type=text] { width: 100%; }

#checkout input[type=checkbox],
#checkout input[type='radio'] { 
	-webkit-appearance: auto;
	-moz-appearance: auto;
	appearance: auto;
}

.form-check {
    position: relative;
    padding-left: 2.3rem;
	margin: 0;
}

.form-check > input[type='radio'],
.form-check > input[type='checkbox'],
.form-check > .form-check-input {
	margin: 0;
    left: 0;
    top: 2px;
    position: absolute;
}


/* .payment_flipper input[type='radio'], */
.form-check > input[type='radio'],
.form-check > input[type='checkbox'],
.form-check > .form-check-input { 
	transform: scale(135%);
	transform-origin: 0 0;
}


.form-control,
.form-select { padding: var(--input-padding) !important; }

#checkout .form-group > label { font-weight: 300; }

#primary .form-control {
	display: block;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid var(--bs-border-color);
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#primary .form-select { padding: var(--input-padding) !important; }

.close {
    text-indent: -1000em;
    float: right;
    margin: 0;
    line-height: 1;
	color: #43423d;
	border: 1px #43433d solid;
	cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' stroke='%23000' stroke-width='2' viewBox='0 0 25 25' %3e%3cpath d='M5 5 l 15 15 M5 20 l 15-15'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	width: var(--space-m);
	height: var(--space-m);
}

.customer-action .alert-dismissible { background-color: #fff;}

.alert-dismissible .close {
    position: absolute;
    top: var(--space-xs);
    right: var(--space-xs);
    color: inherit;
}

ul.terms, 
ul.btn-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: var(--space-xs) 0 0 0;
    padding: 0 1px 0 0;
    gap: var(--space-xs) var(--space-s);
}

ul.terms li, 
ul.btn-list li {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
}

ul.btn-list li.smaller span.href, 
ul.btn-list li.smaller a {
    padding: 2px var(--space-s) 3px var(--space-s);
    text-transform: none;
}

ul.btn-list li a,
ul.btn-list li span.href {
    display: flex;
    align-items: center;
    padding: 6px var(--space-s) 7px var(--space-s);
    border: 1px var(--bs-border-color) solid;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-size: 90%;
    text-transform: uppercase;
    text-decoration: none !important;
    background-color: transparent;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

.terms-box { 
	flex: 1 0 100%;
	padding: 8px; 
	background-color: var(--bs-gray-200);
	margin: var(--space-s) 0 0 0;
}


.terms-box .terms { margin-top: 2px; }

.terms-box .form-check { padding-left: 2.25rem; }

.terms-box .form-check > input[type='checkbox'] { top: 0; }

@media (prefers-reduced-motion: reduce) {
  .form-control {  transition: none; }
}

.form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::-moz-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.modal-open {
  overflow: hidden;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}

.modal.show .modal-dialog {
  -webkit-transform: none;
  transform: none;
}

.modal-dialog-scrollable {
  display: -ms-flexbox;
  display: flex;
  max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.modal-header .close { padding: 1rem 1rem; }

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}

.modal-footer > :not(:first-child) {
  margin-left: .25rem;
}

.modal-footer > :not(:last-child) {
  margin-right: .25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.mobile dd.content-hidden { 
	max-height: 2.50em; 
}

.content-hidden {
	overflow: hidden;
	position: relative;
    -webkit-transition: all 500ms linear 0ms; /* For Safari 3.1 to 6.0 */
    transition: all 500ms linear 0ms;
	min-width: 150px;
}

@media (min-width: 375px) { /* iphone6, 7, 8 */
	.form-group.label-left {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}

	.form-group.label-left label {
		flex: 0 0 30%; /* no-grow no-shrink basis=30% */
		text-align: right;
		padding-right: 8px;
		margin: 0 1% 0 0;
		position: relative;
		max-width: 30%;
	}
	
	.form-group.label-left > label + div,
	.form-group.label-left input[type='text'],
	.form-group.label-left input[type='tel'],
	.form-group.label-left input[type='email'],
	.form-group.label-left input[type='password'],
	.form-group.label-left select,
	.form-group.label-left textarea { 
		flex: 1 1 69%;
		max-width: 69%;
		/* max-width: 350px; */
	}
	
	.form-group.label-left label.required::after,
	.form-group.label-left .label.required::after {
	    display: block;
	    margin-left: 0;
	    position: absolute;
	    right: 0;
	    top: 0;
	}
	
	.form-group.label-left.login,
	.form-group.label-left > .help-block,
	.form-group.label-left + .line-add { margin-left: 31%; }

	body#book-details .wishlist {
		float: right;
		margin-top: -1px;
	}

}

@media (min-width: 500px) {
	
	.cart-details { flex-wrap: nowrap; }
	
	.cart-details > section { width: auto; }
	
	/* 	.cart-details .summary { margin-right: var(--space-m); } */
}

@media (min-width: 576px) {
	#checkout .summary .item .pricing { 
		margin-left: 0 !important; 
	}
	.modal-dialog {
		max-width: 500px;
		margin: 1.75rem auto;
	}
	.modal-dialog-scrollable {
		max-height: calc(100% - 3.5rem);
	}
	.modal-dialog-scrollable .modal-content {
		max-height: calc(100vh - 3.5rem);
	}
	.modal-dialog-centered {
		min-height: calc(100% - 3.5rem);
	}
	.modal-dialog-centered::before {
		height: calc(100vh - 3.5rem);
	}
	.modal-sm {
		max-width: 300px;
	}
}

@media (min-width: 768px) {	
	.cart-basics {
		text-align: left;
	    overflow: hidden;
	    display: flex;
	    align-content: center;
	    justify-content: space-between;
	}
	
	.cart-basics .text { 
		float: left;
		margin: 0 15px 0 0;
		align-self: center;
	}

	.cart-basics .actions { 
		float: right;
		width: 235px;
		margin: 0 0 0 auto;
	}
    
	.cart-details .summary { 
		width: 53%;
		float: left;
	}
	
	.cart-details .order-summary {
		width: 44%;
		float: right;
		margin-top: 0;
	}

	.cart-details,
	section.summary { overflow: hidden; }

	.summary .item { flex-wrap: nowrap; }
	
	.summary .item .basic-info { 
		flex-basis: calc(100% - 75px);
		width: calc(100% - 75px);
		margin: 0 !important;
		flex-basis: auto;
		width: auto;
	}
	
	div.pricing { flex-basis: 115px; }
    
    div.pricing.big-number { flex-basis: 140px; }

	.cart-details > section { min-width: 300px; }

	#checkout .summary .item .pricing { 
		margin-left: var(--margin-left) !important; 
	}

	#checkout .summary .item .pricing.big-number { margin-left: 0; }

	#checkout .summary .item .pricing.big-number > span { font-size: 1.5rem; }

	#checkout .summary .item .pricing.big-number > span.price { font-size: 1.2rem; }

}

@media (min-width: 992px) {
	.modal-lg,
	.modal-xl { max-width: 800px; }

	#checkout .summary .item .pricing { 
		margin-left: 0 !important;
		text-align: center !important;
		flex: 0 0 !important;
	}

	.cart-details { gap: var(--space-l) !important; }
}

@media (min-width: 1200px) {
	.modal-xl { max-width: 1140px; }
}


/* @media (max-width: 991.98px) {
	#header + .page-wrap { padding-top: 110px; }
} */
