/* We hide the main navigation during the checkout process -  */
ml-topnav, 
#main-footer {
	display: none !important;
}

/* Woocommerce Layout override  */
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
	width: 100% !important;
}

/* Logged in users should not be able to change email */
.logged-in .woocommerce .woocommerce-billing-fields #billing_email_field {
	display: none;
}

/* Country should not be visible will be chosend based on env */
.woocommerce .woocommerce-billing-fields #billing_country_field,
.woocommerce-page .woocommerce-billing-fields #billing_country_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_country_field,
.woocommerce .woocommerce-billing-fields__field-wrapper #billing_country_field,
.woocommerce-page .woocommerce-billing-fields__field-wrapper #billing_country_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_country_field {
	display: none;
}


/* Trustindex widget */
.woocommerce-page .ti-certificate {
	margin-top: 56px;
}

/* Product page | parent funnel checkout process */
.subscription-details {
	font-size: small;
}
.pre-text-container {
	font-family: 'bryant-web';
	font-size: var(--rem-base);
	display: flex;
	align-items: center;
	font-weight: bold;
	color: #343A60;
	padding-left: 13px;
}

.pre-text-container h5 {
	padding: 0;
	font-weight: 600;
}

label.pre-text {
	display: flex !important;
	flex-flow: row nowrap;
	align-items: center;
	margin-bottom: 16px;
	font-weight: 600;
}
span.pre-text-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	padding:0 16px;
	height: 24px;
	min-width: 42px;
	width: auto;
	background-color: #35AC82;
	color: #fff;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 600;
}

/* Parent Funnel - Product overview  */
#product-info .country-us span.pre-text-icon::before {
  content: "To";
}

#product-info .country-se span.pre-text-icon::before {
  content: "Till";
}

/* Parent Funnel Checkout */
.country-us.page-checkout-start span.pre-text-icon::before {
  content: "From";
}

.country-se.page-checkout-start span.pre-text-icon::before {
  content: "From";
}

/* Student Funnel Checkout */
.country-us.page-checkout-subscribe span.pre-text-icon::before {
  content: "Sign Up";
}

.country-se.page-checkout-subscribe span.pre-text-icon::before {
  content: "Nytt Konto";
}


/* Hide recurring fields */
.woocommerce .woocommerce-checkout-review-order-table .recurring-totals,
.woocommerce .woocommerce-checkout-review-order-table .cart-subtotal {
	display: none;
}


/* Woocommerce Form overrides */
.woocommerce form.checkout.woocommerce-checkout {
	margin-top: 2em;
}

.woocommerce form.checkout.woocommerce-checkout .form-row select {
	height: 50px;
	min-height: 50px;
	font-size: 100%;
}

.woocommerce form.checkout.woocommerce-checkout .select2-container--default .select2-selection {
	height: 50px;
}

.woocommerce form.checkout.woocommerce-checkout .select2-container--default .select2-selection .select2-selection__rendered {
	height: 100%;
	line-height: 50px;
}

.woocommerce form.checkout.woocommerce-checkout .select2-container--default .select2-selection .select2-selection__arrow {
	top: 13px;
}

.woocommerce form.checkout.woocommerce-checkout #customer_details {
	margin-bottom: 2em;
}

.woocommerce-checkout #payment .wc_payment_method.payment_method_bambora > label > img {
	background-color: #fff;
	padding: 10px;
	border-radius: 5px;
	width: 75px;
}

.woocommerce form.login {
	margin: 0;
	padding: 0;
	border: none;
}

.wc-social-login {
	padding-bottom: 1em;
}

.woocommerce-message.ml-wc-login-warning,
.ml-wc-login-warning {
	background-color: lightyellow;
	border-top: 3px solid gold;
	color: #515151;
}

.woocommerce-message.ml-wc-login-warning:before,
.ml-wc-login-warning:before {
	color: gold;
	content: '\e016';
}

.woocommerce-message.ml-wc-login-warning span,
.ml-wc-login-warning span {
	font-weight: 600;
	clear: both;
}

.woocommerce-info.ml.ml-msg-content-country,
.woocommerce-info.ml.ml-msg-patron-gift {
	margin-top: var(--gutter-margin-xs) !important;
	margin-bottom: var(--gutter-margin-xs) !important;
}

/* order review - cart item */
#order-review-container .recipient-email-wrapper,
#order-review-container a.wcf-remove-product.cartflows-icon.cartflows-circle-cross {
	display: none;
}

/* Order review */
#order-review-container {
	display: block;
	background-color: #fff;
	border-radius: 8px;
	padding: 33px;
}

#order-review-wrap {
	margin-bottom: 100px;
}

.ml-order-review-wrap {
	margin-bottom: 16px;
}

/* Fix to make sure trustindex tooltip is not below anything else */
.ti-trust-badge:hover .ti-tooltip {
	z-index: 10000 !important;
}

.ml-order-review-wrap:not(.show) {
	position: relative;
	border-radius: 5px;
}

#left-checkout-info .ml-order-review-wrap .head-section {
	display: none;
}

.ml-order-review-wrap:not(.show) {
	min-height: 100px;
}

.wcf-embed-checkout-form .ml-order-review-wrap {
	background-color: var(--ml-background-view);
	margin-bottom: var(--gutter-margin-xs);
}

.ml-order-review-wrap .head-section {
	display: flex;
	position: relative;
	height: 75px;
	min-height: 100px;
	padding-top: 30px;
	padding-bottom: 30px;
	cursor: pointer;
}

.ml-order-review-wrap .btn-collapse {
	border: none;
	color: var(--ml-text-color);
	position: absolute;
	right: 20px;
	top: 30px;
	font-size: 20px;
	display: none;
	transition-property: transform;
	transition-duration: 300ms;
	transition-timing-function: ease;
}

.wcf-embed-checkout-form .ml-order-review-wrap .btn-collapse {
	display: block;
}

.ml-order-review-wrap.show .btn-collapse {
	transform: rotate(45deg);
}

.ml-order-review-wrap .head-section:hover .btn-collapse i,
.ml-order-review-wrap .btn-collapse:hover i {
	color: var(--ml-primary-color);
}

.ml-order-review-wrap .order-review-wrap-heading {
	display: none;
}

.ml .ml-order-review-wrap .ml-wc-login-warning {
	top: var(--gutter-margin-xs);
}

.ml-coupon-wrap {
	display: flex;
	flex-direction: column;
	border-radius: 5px;
	background: var(--ml-background-view);
	width: 100%;
	margin: auto;
}

.ml-coupon-wrap .ml-btn-show-coupon-form {
	padding: 0 33px;
	min-height: 64px;
}

.ml-coupon-wrap .ml-collapsible, 
.ml-coupon-wrap .wcf-custom-coupon-field {
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
}

.ml-coupon-wrap .ml-btn-show-coupon-form {
	width: 100%;
	display: flex;
	justify-content: flex-start;
}

.wcf-embed-checkout-form .ml-coupon-wrap .wcf-hide-field label,
.wcf-embed-checkout-form .ml-coupon-wrap .wcf-hide-field span {
	display: block !important;
}

/* Dark theme */

.ml-theme-dark .entry-content .woocommerce-checkout-payment,
.ml-theme-dark .woocommerce-checkout #payment {
	background-color: transparent;
}
