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

	Theme Name: Vitalpet
	Text Domain: vitalpet
	Version: 1.0.0
	Template: sullivan
	Description: Site for Vitalpet
	Author: Mattias Ekendahl
	Author URI: https://developedbyme.com

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


/* -------------------------------------------------------------------------------- */
/*	X.	Structure
/* -------------------------------------------------------------------------------- */


main {
	display: block;
}

.full-size-react-componenent > div {
	width: 100%;
	height: 100%;
}


/* -------------------------------------------------------------------------------- */
/*	X.	Element Base
/* -------------------------------------------------------------------------------- */


/* Inputs ----------------------------------- */

button.bg-green,
.button.bg-green,
input[type="submit"].bg-green,
input[type="reset"].bg-green {
	background: #3c5b90;
}


/* -------------------------------------------------------------------------------- */
/*	X.	Helper Classes
/* -------------------------------------------------------------------------------- */


/* Copy Link --------------------------------- */

.copy-link:not(.copied) .after-copy,
.copy-link.copied .before-copy { 
	display: none; 
}

.copy-link .icon {
	height: 18px;
	position: relative;
	width: 18px;
}

.copy-link .checkmark-icon,
.copy-link .link-icon {
	display: block;
	position: absolute;
		left: 0;
		top: 0;
	transition: all .15s ease-in-out;
}

.copy-link .checkmark-icon {
	top: 2px;
}

.copy-link:not(.copied) .checkmark-icon,
.copy-link.copied .link-icon {
	opacity: 0;
	transform: scale( 0 );
}


/* Button With Icon ------------------------- */

.button-with-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.button-with-icon .icon + .text,
.button-with-icon .text + .icon {
	margin-left: 12px;
}

.button-with-icon .text {
	margin-top: 2px;
}

.button-with-icon svg {
	display: block;
}


/* Overlays ---------------------------------- */

.dark-overlay:before {
	background: rgba( 17, 17, 17, 0.35 );
}


/* Form Validation --------------------------- */

.field-error-message {
	display: none;
	font-size: 12px;
	margin-top: 8px;
}

.form-row.field-error-required-field .field-error-message-required-field { display: block; }

.form-row.field-error label {
	color: #E84747;
}

.form-row.field-error input,
.form-row.field-error textarea {
	border-color: #E84747;
}


/* Standard Button ------------------------------ */

.standard-button {
	box-sizing: border-box;
	color: #3c5b90;
	font-weight: bold;
	border: 3px solid #3c5b90;
	cursor: pointer;
}

.standard-button:hover {
	color: #FFFFFF;
	background-color: #3c5b90;
}

.standard-button-padding {
	padding: 20px 40px;
}


/* Promo Circle ------------------------------ */

.buy-promo-circle {
	box-sizing: border-box;
	padding: 20px;
	color: #FFFFFF;
	background-color: #3c5b90;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	border: 3px solid #3c5b90;
	cursor: pointer;
}

.buy-promo-circle:hover {
	color: #3c5b90;
	background-color: #FFFFFF;
}

.buy-promo-circle-divider {
	height: 1px;
	background-color: rgba(255, 255, 255, 0.5);
	margin: 30px auto;
	width: 40px;
}

.buy-promo-circle:hover .buy-promo-circle-divider {
	background-color: rgba(30, 155, 89, 0.5);
}

.buy-promo-circle .promo-text {
	font-family: 'Charis SIL', Georgia, serif;
	letter-spacing: -0.005em;
	line-height: 1.155;
	font-size: 32px;
}

.buy-promo-circle .buy-text {
	font-weight: bold;
}


/* Flexovital Product Name ------------------- */

.flexovital-product-name .flexovital { color: #3c5b90; }
.flexovital-product-name .product-name { 
	color: #9f1f63; 
	font-style: italic;
}


/* -------------------------------------------------------------------------------- */
/*	X.	Site Header
/* -------------------------------------------------------------------------------- */


.site-header .section-inner {
	padding: 20px 0;
}

.site-header .site-title {
	text-align: center;
}

.header-account {
	right: 0;
}

.header-inner .header-order-button {
	position: absolute;
		left: 0;
		top: 50%;
	transform: translateY( -50% );
}


/* -------------------------------------------------------------------------------- */
/*	X.	Header Modals
/* -------------------------------------------------------------------------------- */


/* Account Modal ----------------------------- */

.account-modal.logged-in a.referrals:before {
	background-image: url( ./assets/images/icons/referral-black.svg );
	background-size: 22px 16px;
}


/* -------------------------------------------------------------------------------- */
/*	X.	Site Navigation
/* -------------------------------------------------------------------------------- */


/* Mobile Menu ----------------------------- */

.mobile-menu-wrapper .header-order-button {
	display: block;
	margin: 20px auto 0 auto;
	width: calc( 100% - 10vw );
}


/* -------------------------------------------------------------------------------- */
/*	X.	Template: Referrals Page
/* -------------------------------------------------------------------------------- */

.subscriptions-referrals-title {
	font-size: 28px;
	margin: 0 0 25px 0;
}

.subscription-referrals {
	background: #F1F1F2;
	border-radius: 4px;
}

.subscription-referrals-inner {
	padding: 30px 25px;
}

.subscription-referrals + .subscription-referrals {
	margin-top: 25px;
}

.subscription-referrals-header {
	margin: 0 0 20px 0;
}

.subscription-referrals-title {
	font-family: Archivo, 'Helvetica Neue', Helvetica, sans-serif;
	font-size: 1.16em;
	font-weight: 500;
	margin: 0;
}

.subscription-referrals-title a:hover {
	text-decoration: none;
}

.subscription-referrals-title a:hover .subscription-product-name {
	text-decoration: underline;
}

.subscription-referrals-title .subscription-product-name + .subscription-id {
	font-size: 16px;
	font-weight: 400;
	margin-left: 10px;
}

.subscription-referrals-meta {
	display: flex;
	flex-wrap: wrap;
	font-size: 16px;
	margin: 10px 0 0;
}

.subscription-referrals-meta p + p {
	margin-left: 1rem;
}

/* Subscription Referrals Sharing ------------ */

.subscription-referrals-sharing-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: stretch;
	margin: -10px 0 0 -10px;
}

.subscription-referrals-sharing-inner button,
.subscription-referrals-sharing-inner .button {
	border-radius: 4px;
	flex-grow: 1;
	margin: 10px 0 0 10px;
	padding: 16px 25px;
	transition: background-color .15s linear;
	width: calc( 50% - 10px );
}

.subscription-referrals-sharing button:hover,
.subscription-referrals-sharing .button:hover {
	opacity: 1;
	background-color: #333;
}

.subscription-referrals-sharing button.copy-link.copied {
	background-color: #3c5b90;
}

.subscription-referrals-sharing svg {
	height: 18px;
	width: 18px;
}

.subscription-referrals-sharing .checkmark-icon svg {
	height: 14px;
}


/* Subscription Referrals Email Form --------- */

.toggle-subscription-referrals-email {
	background: #E1E1E5;
	border-radius: 0 0 4px 4px;
	color: inherit;
	justify-content: center;
	padding: 20px;
	transition: background-color .15s linear, border-radius .15s linear;
	width: 100%;
}

.toggle-subscription-referrals-email.active {
	border-radius: 0;
}

.toggle-subscription-referrals-email:hover {
	background-color: #D1D1D5;
	opacity: 1;
}

.toggle-subscription-referrals-email:not(.active) .icon-hide,
.toggle-subscription-referrals-email:not(.active) .text-hide,
.toggle-subscription-referrals-email.active .icon-show,
.toggle-subscription-referrals-email.active .text-show { display: none; }

.subscription-referrals-email-inner { display: none; }
.no-js .subscription-referrals-email-inner { display: block; }

.email-referral-form textarea { 
	height: 100px; 
}


/* -------------------------------------------------------------------------------- */
/*	X.	Template: Additional Checkout
/* -------------------------------------------------------------------------------- */

.template-extra-checkout #kco-wrapper {
	padding: 0;
}

.template-extra-checkout #kco-order-review,
.template-extra-checkout #kco-iframe {
	float: none;
	padding: 0;
	width: 100%;
}

.template-extra-checkout #kco-order-review table tr:last-child {
	border-bottom-width: 1px;
}

.template-extra-checkout #kco-order-review th:first-child,
.template-extra-checkout #kco-order-review td:first-child { padding-left: 0; }
.template-extra-checkout #kco-order-review th:last-child,
.template-extra-checkout #kco-order-review td:last-child { padding-right: 0; }

.template-extra-checkout #kco-order-review td.product-name {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.template-extra-checkout #kco-order-review td.product-name .quantity {
	width: 50px;
}

.template-extra-checkout #kco-order-review td.product-name .quantity input {
	margin: 0;
	padding: 10px 15px;
	width: 100%;
}

.template-extra-checkout #klarna-checkout-container {
	margin: 0 -12px;
}

.template-extra-checkout #site-content > .section-inner {
	max-width: 600px;
}

.template-extra-checkout.woocommerce-js #kco-order-review {
	display: none;
}

.template-extra-checkout article > header + .section-inner > p {
	line-height: 1.5;
	margin-bottom: 1.25em;
}

.template-extra-checkout article > header + .section-inner > p:last-of-type {
	margin-bottom: 0;
}

.template-extra-checkout article > header + .section-inner .woocommerce {
	margin-top: 40px;
}

/* Klarna Expander --------------------------- */

.klarna-expander-wrapper {
	margin-bottom: 40px;
}

body:not(.woocommerce-js) .klarna-expander-wrapper {
	display: none;
}

.klarna-expander,
.klarna-expander .icon {
	align-items: center;
	display: flex;
}

.klarna-expander {
	color: #3c5b90;
}

.klarna-expander:not(.active) .active-text,
.klarna-expander.active .inactive-text {
	display: none;
}

.klarna-expander .icon {
	margin-right: 8px;
}

.klarna-expander svg {
	height: 9px;
	transition: transform .15s linear;
	width: 16px;
}

.klarna-expander polygon {
	fill: currentColor;
}

.klarna-expander.active svg {
	transform: rotate( 180deg );
}


/* -------------------------------------------------------------------------------- */
/*	X.	Template: Cover Page
/* -------------------------------------------------------------------------------- */

.page-hero {
	text-shadow: 0 1px 5px rgba( 0, 0, 0, .5 );
}

.page-hero.layout-product-image .page-header {
	align-items: center;
	display: flex;
	justify-content: flex-start;
	max-width: 1040px;
	text-align: left;
}

.page-hero.layout-product-image img {
	display: block;
	margin-right: 5%;
	width: 45%;
}

.page-hero .buttons {
	align-items: center;
	display: flex;
	justify-content: flex-start;
	margin: 20px auto 0 auto;
}

.page-hero .buttons .button {
	display: block;
}

.page-hero .buttons .button + .button {
	margin-left: 15px;
}

.to-content span {
	color: #111;
	font-size: 15px;
	font-weight: 500;
	position: absolute;
		top: 80%;
		left: 50%;
	text-shadow: none;
	transform: translateX( -50% );
	white-space: nowrap;
}

.page-hero .background-video-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.page-hero .background-video {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.page-hero .video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.3);
}

@media ( max-width: 400px ) {
	.template-cover .page-title {
		font-size: 29px;
	}
}
@media ( max-width: 370px ) {
	.template-cover .page-title {
		font-size: 25px;
	}
}


/* -------------------------------------------------------------------------------- */
/*	X.	Entry Content
/* -------------------------------------------------------------------------------- */


ul.checkmarks {
	list-style: none;
}

ul.checkmarks li {
	position: relative;
}

ul.checkmarks li:before {
	background: url( ./assets/images/icons/checkmark-green.svg ) no-repeat center;
	background-size: contain;
	content: "";
	display: block;
	height: 1.3rem;
	position: absolute;
		right: calc( 100% + .9rem );
		top: 0;
	width: 1.3rem;
}


/* -------------------------------------------------------------------------------- */
/*	X.	Media Queries
/* -------------------------------------------------------------------------------- */


@media ( max-width: 1000px ) {


	/* Site Header --------------------------- */

	.header-inner .header-order-button {
		left: auto;
		right: 5%;
	}


}


@media ( max-width: 800px ) {
	.page-hero.layout-product-image {
		padding: 20px 0 60px 0;
	}

	/* Template: Cover Page ------------------ */

	.page-hero.layout-product-image .page-header {
		display: block;
		text-align: center;
	}

	.page-hero.layout-product-image img {
		margin: 0 auto 60px auto;
		max-width: 500px;
		width: 40%;
	}

	.page-hero .buttons {
		justify-content: center;
		margin-top: 30px;
	}

	.page-hero .buttons .button + .button {
		margin: 0 0 0 10px;
	}


}



@media ( max-width: 750px ) {


	/* Site Header --------------------------- */

	.header-inner .header-order-button {
		display: none;
	}


}


@media ( max-width: 600px ) {


	/* Template: Referrals Page -------------- */

	.subscriptions-referrals-title {
		font-size: 24px;
		margin: 0 0 20px 0;
	}

	.subscription-referrals + .subscription-referrals {
		margin-top: 20px;
	}

	.subscription-referrals-inner {
		padding: 20px;
	}

	.subscription-referrals-header {
		display: block;
	}

	.subscription-referrals-title {
		margin: 0 0 10px 0;
	}

	.subscription-referrals-meta {
		display: block;
		font-size: 14px;
	}

	.subscription-referrals-meta p + p {
		margin: 5px 0 0;
	}

	.subscription-referrals-sharing-inner button,
	.subscription-referrals-sharing-inner .button {
		width: 100%;
	}


	/* Template: Cover Page ------------------ */

	.page-hero .buttons {
		margin-top: 20px;
	}


}