/* Mimel beauty klinik */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
	/* 	Colors */
	--primary-color: 255, 132, 46;

	--black-color: 17, 17, 17;
	--gray-dark-color: 71, 70, 73;
	--gray-color: 130, 130, 130;
	--gray-light-color: 243, 241, 237;
	--white-color: 255, 255, 255;

	/* 	Layout  */
	--col-padding: 3rem;
	--menu-height: 8rem;
	--menu-height-scrolled: 8rem;
	--section-width: 150rem;

	/* 	Typography */
	--base-size: 1.5rem;

	/* 	Mobile nav */
	--activate-mobile-menu: 1090;
	--mobile-menu-height: 6rem;
	--mobile-menu-bg: var(--white-color);
	--menu-color: var(--black-color);
}

@media only screen and (max-width: 580px) {
	:root {
		--base-size: 1.5rem;
	}
}

/* Layout
========================================================================== */
.section-block {
	padding: 10rem 5rem;
}

/* Paddings */
.p-1 .section-block,
.p-1:not(.section-wrapper) {
	padding: 1rem;
}

.p-2 .section-block,
.p-2:not(.section-wrapper) {
	padding: 2rem;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
	padding-bottom: 0;
}

.pb-2 .section-block,
.pb-2:not(.section-wrapper) {
	padding-bottom: 2rem;
}

/* Margins */
.mb-1 {
	margin-bottom: 1rem;
}

.mb-3 {
	margin-bottom: 3rem;
}

/* Ovriga klasser */

@media only screen and (max-width: 1024px) {
	.section-block {
		padding: 8rem 3rem;
	}
}

@media only screen and (max-width: 580px) {
	.section-block {
		padding: 5rem 2rem;
	}
}

/* Text och typsnitt
========================================================================== */
body {
	font-family: "Epilogue", sans-serif;
}

/* Rubriker */
.section-title {
	padding-bottom: 3rem;
	font-size: 4.7rem;
	font-weight: 600;
	line-height: 1.2;
	font-family: "Roboto Slab", serif;
}

.small-title {
	padding-bottom: .3em;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.4;
	font-family: "Roboto Slab", serif;
}

/* Brodtext och lankar */
p,
li {
	color: rgb(var(--gray-dark-color));
}

/* Ovriga klasser */
.text-block {
	max-width: 70rem;
}

.text-block-center {
	max-width: 70rem;
	margin-left: auto;
	margin-right: auto;
}

.text-bold {
	font-weight: 700;
}

.text-center {
	text-align: center;
}

@media only screen and (max-width: 1200px) {

	/* Rubriker */
	.section-title {
		font-size: 3.8rem;
	}

	.small-title {
		font-size: 2.2rem;
	}
}

@media only screen and (max-width: 580px) {

	/* Rubriker */
	.section-title {
		font-size: 3rem;
	}

	.small-title {
		font-size: 2rem;
	}
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
	margin-top: 2rem;
}

.btn-wrapper.center {
	text-align: center;
}

/* Knappar */
.btn {
	min-width: 23rem;
	padding: 1.5rem 2rem;
	margin: 5px;
	font-size: 1.3rem;
	font-weight: 400;
	border-radius: 3rem;
	text-align: center;
	text-decoration: none;
	transition: all .4s ease;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.btn-primary-filled {
	color: rgb(var(--white-color));
	border: 2px solid rgb(var(--primary-color));
	background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover {
	color: rgb(var(--primary-color));
	border: 2px solid rgb(var(--primary-color));
	background-color: transparent;
}

.btn-white-border {
	color: rgb(var(--white-color));
	border: 2px solid rgb(var(--white-color));
	background-color: transparent;
}

.btn-white-border:hover {
	color: rgb(var(--white-color));
	border: 2px solid rgb(var(--primary-color));
	background-color: transparent;
}

/* Cirkelikon */
.circle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	padding: 0;
	margin: .5rem;
	font-size: 0;
	color: rgb(var(--white-color));
	text-decoration: none;
	border-radius: 50%;
	background-color: rgb(var(--primary-color));
	border: 2px solid rgb(var(--primary-color));
	transition: .3s ease;
}

.circle-icon:hover {
	color: rgb(var(--primary-color));
	background-color: transparent;
}

.circle-icon em:before,
.circle-icon i:before {
	font-size: var(--base-size);
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
	background-color: rgb(var(--primary-color));
}

.bg-gray-light {
	background-color: rgb(var(--gray-light-color));
}

.bg-purple-gradient {
	background: linear-gradient(145deg, rgba(246, 131, 253, 1) 0%, rgba(170, 29, 247, 1) 100%);
}

.bg-orange-gradient {
	background: linear-gradient(145deg, rgba(255, 190, 11, 1) 0%, rgba(255, 132, 46, 1) 100%);
}

.bg-red-gradient {
	background: linear-gradient(145deg, rgba(255, 124, 80, 1) 0%, rgba(238, 74, 98, 1) 100%);
}

.bg-blue-gradient {
	background: linear-gradient(145deg, rgba(95, 217, 252, 1) 0%, rgba(24, 141, 242, 1) 100%);
}

/* Text */
.text-primary {
	color: rgb(var(--primary-color));
}

.text-white {
	color: rgb(var(--white-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
	position: relative;
	overflow: hidden;
}

.bg-image-wrapper {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Bakgrundsbilder och videos
========================================================================== */

/* Parallax */
.parallax {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.parallax .section-block {
	min-height: 60rem;
}

/* Bilder */
.parallax-massage-head {
	background-image: url('/assets/images/mimelbeauty-parallax-2000px.jpg');
}

@media only screen and (hover:none) {
	.parallax {
		background-attachment: scroll;
		background-position: center center;
		max-height: 40rem;
	}
}

/* Cards
========================================================================== */
.cards-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.cards-wrapper:not(.w-100) {
	margin-left: -1rem;
	margin-right: -1rem;
}

/* Bredder */
.cards-wrapper.w-33 .card-item {
	width: calc((100% / 3) - 2rem);
	margin: 1rem;
}

.cards-wrapper.w-100 .card-item {
	width: 100%;
	margin: 1rem 0;
}

/* Card grow */
.cards-grow .card-item {
	display: flex;
	flex-direction: column;
}

.cards-grow .card-body {
	flex-grow: 1;
}

@media only screen and (max-width: 1050px) {

	/* Bredder */
	.cards-wrapper.w-33 .card-item {
		width: calc((100% / 2) - 2rem);
	}
}

@media only screen and (max-width: 750px) {
	.cards-wrapper:not(.w-100) {
		margin-left: 0;
		margin-right: 0;
	}

	/* Bredder */
	.cards-wrapper.w-33 .card-item {
		width: 100%;
		margin: 1rem 0;
	}
}

/* Card 3-1 */
.card-3-1 .card-item {
	box-shadow: 0 5px 10px rgb(var(--black-color), .1);
}

.card-3-1 .image-wrapper {
	height: 30rem;
}

.card-3-1 .plus-link {
	position: relative;
	display: block;
	font-size: var(--base-size);
	text-decoration: none;
}

.card-3-1 .plus-link::before,
.card-3-1 .plus-link::after {
	content: '';
	position: absolute;
	top: calc(50% - 1px);
	right: 2rem;
	width: 15px;
	height: 2px;
	background-color: rgb(var(--primary-color));
	transition: transform .4s ease;
}

.card-3-1 .plus-link::before {
	transform: rotate(90deg);
}

.card-3-1 .plus-link::after {
	transform: rotate(0deg);
}

.card-3-1 .plus-link.active::before {
	transform: rotate(135deg);
}

.card-3-1 .plus-link.active::after {
	transform: rotate(45deg);
}

/* Split wrapper
========================================================================== */
.split-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.split-wrapper.reverse {
	flex-direction: row-reverse;
}

.split-content {
	width: 50%;
	padding: 5rem;
}

.split-image {
	width: 50%;
}

/* Centrera content */
.split-wrapper .align-center {
	align-self: center;
}

@media screen and (max-width: 1300px) {
	.split-content {
		padding: 3rem;
	}
}

@media screen and (max-width: 1000px) {

	.split-wrapper,
	.split-wrapper.reverse {
		flex-direction: column;
		background: transparent;
	}

	.split-content {
		width: 100%;
		max-width: 70rem;
		padding: 0 0 3rem;
		background: transparent;
	}

	.split-image {
		width: 100%;
		min-height: 20rem;
	}

	/* Centrera content */
	.split-wrapper .align-center {
		align-self: flex-start;
	}
}

/* Modal som oppnas automatiskt
========================================================================== */
body:not(.EditMode) .section-auto-modal {
	display: none;
	z-index: 9;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(var(--black-color), .7);
}

body:not(.EditMode) .section-auto-modal .section-block {
	position: fixed;
	top: 50%;
	left: 50%;
	width: calc(100% - 4rem);
	max-width: 75rem;
	max-height: 75vh;
	border-radius: 2rem;
	overflow: auto;
	background: rgb(var(--white-color));
	transform: translate(-50%, -50%);
	padding: 5rem 3rem;
}

.section-auto-modal .section-title {
	font-size: 3rem;
}

.section-auto-modal .close-modal {
	position: absolute;
	top: 1rem;
	right: 2rem;
	font-size: 3rem;
	cursor: pointer;
}

@media only screen and (max-width: 580px) {
	.section-auto-modal .section-title {
		font-size: 2.3rem;
	}

	body:not(.EditMode) .section-auto-modal .section-block {
		padding: 3rem 2rem;
	}
}

/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
	display: none;
}

.popup-wrapper {
	z-index: 8;
	position: fixed;
	bottom: 3rem;
	right: 3rem;
}

/* Knappar */
.popup-button {
	position: relative;
	width: 5rem;
	height: 5rem;
	background: rgb(var(--primary-color));
	border-radius: 50%;
	box-shadow: 0 5px 10px rgb(var(--black-color), .1);
	cursor: pointer;
}

.popup-button i {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 2.8rem;
	transform: translate(-50%, -50%);
	transition: .3s ease;
	color: rgb(var(--white-color));
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
	transform: translate(-50%, -50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
	transform: translate(-50%, -50%) scale(0);
}

/* Innehall */
.popup-window {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	right: 0;
	bottom: 6rem;
	max-width: 45rem;
	max-height: calc(100vh - 12rem);
	padding: 4rem;
	margin: 0 2rem;
	background: rgb(var(--white-color));
	border-radius: 2rem;
	box-shadow: 0 5px 10px rgb(var(--black-color), .1);
	overflow: auto;
	transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
	opacity: 1;
	visibility: visible;
	display: block;
	bottom: 10rem;
}

.icon-close-popup {
	position: absolute;
	top: 2rem;
	right: 2rem;
	font-size: 2.5rem;
	cursor: pointer;
}

@media only screen and (max-width: 450px) {
	.popup-window {
		padding: 2rem 3rem 2rem 2rem;
	}

	.icon-close-popup {
		top: 1rem;
	}
}

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
	border-color: transparent;
	background-color: transparent;
}

header.scrolled {
	box-shadow: 0 5px 10px rgb(var(--black-color), .1);
}

/* Logo */
.header-logo {
	margin: 0 auto 0 0;
	transition: opacity .3s ease, visibility .3s ease;
}

.IndexPage header:not(.scrolled) .header-logo {
	opacity: 0;
	visibility: hidden;
}

/* Nav */
.TemplateMenu a {
	font-weight: 400;
	font-size: 1.3rem;
}

header:not(.scrolled, .mobile-menu) .TemplateMenu a {
	color: rgb(var(--white-color));
}

.TemplateMenu a:hover,
header:not(.scrolled, .mobile-menu) .TemplateMenu a:hover {
	color: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
	z-index: 9;
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0;
	margin: 0 0 0 2rem;
	list-style: none;
}

.header-cta-wrapper li {
	margin: 0 .5rem;
}

.header-cta-wrapper .btn {
	min-width: 17rem;
	padding: 1rem 2rem;
	line-height: 2rem;
	letter-spacing: 2px;
}

/* Mobilmeny */
.mobile-menu .TemplateMenu li {
	padding: 0 2rem;
	text-align: center;
}

@media only screen and (max-width: 580px) {

	/* CTA */
	.header-cta-wrapper {
		display: none;
	}
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(110vh - var(--menu-height));
	margin-top: calc(var(--menu-height) * -1);
	background-color: rgb(var(--black-color), .3);
}

.top-section .bg-image-wrapper img {
	object-position: center 85%;
}

.top-section .section-block {
	width: 100%;
}

.top-section .text-block {
	max-width: 60rem;
}

.top-section .logo {
	max-width: 35rem;
}

.top-section .section-title {
	font-size: 6.5rem;
	font-weight: 500;
}

.top-section a {
	text-decoration: none;
}

.top-section a:not(.btn):hover {
	text-decoration: underline;
}

.top-section .btn-primary-filled:hover {
	color: rgb(var(--white-color));
}

@media only screen and (max-width: 1200px) {
	.top-section .section-title {
		font-size: 4.5rem;
	}
}

@media only screen and (max-width: 580px) {
	.top-section .section-title {
		font-size: 3rem;
	}
}

/* Bildspel
========================================================================== */
.section-scroll {
	overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
	margin-bottom: 5rem;
}

/* Card item */
.scroll-wrapper.cards-wrapper .card-item {
	margin: 4rem 1rem;
	background-color: rgb(var(--white-color));
	box-shadow: 0 5px 10px rgb(var(--black-color), .1);
	transition: all .3s ease;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
	opacity: .5;
	transform: scale(.9);
}

.scroll-wrapper .card-item img {
	width: 100%;
	height: 50rem;
	object-fit: cover;
}

@media only screen and (max-width: 580px) {
	.scroll-wrapper .card-item img {
		height: 30rem;
	}
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero {
	display: flex;
	align-items: center;
	min-height: 50rem;
	padding-top: var(--menu-height);
	margin-top: calc(var(--menu-height) * -1);
	background-color: rgb(var(--black-color), .4);
}

.hero .section-block {
	width: 100%;
}

.hero .section-title {
	font-size: 6rem;
	color: rgb(var(--white-color));
}

@media only screen and (max-width: 1200px) {
	.hero .section-title {
		font-size: 4.5rem;
	}
}

@media only screen and (max-width: 580px) {
	.hero {
		min-height: 30rem;
	}

	.hero .section-title {
		font-size: 3rem;
	}
}

/* ==========================================================================
Undersida: Behandlingar
========================================================================== */
.split-text {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.split-text .btn-wrapper {
	margin-top: 0;
}

@media only screen and (max-width: 750px) {
	.split-text {
		flex-direction: column;
		align-items: flex-start;
	}

	.split-text.mb-3 {
		margin-bottom: 2rem;
	}

	.split-text .btn-wrapper {
		margin-top: 2rem;
	}
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
	padding: 0 5rem;
}

/* Footer top */
.footer-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 8rem 0 2rem;
}

.footer-menu {
	width: 25%;
	margin: 0 0 3rem;
}

.footer .small-title {
	padding: 0 0 1rem;
	color: rgb(var(--black-color));
	line-height: 1;
	font-size: 2.2rem;
	padding-bottom: 1.5rem;
}

.footer-submenu {
	padding: 0;
	margin: 0 0 3rem;
	list-style: none;
}

.footer-top p,
.footer-top a {
	text-decoration: none;
}

.footer-top a:hover {
	color: rgb(var(--primary-color));
	text-decoration: none;
}

/* Footer logo */
.footer .logo-item img {
	display: block;
	width: 25rem;
	max-width: 100%;
	height: auto;
}

/* Certification */
.footer .cert-img img {
	width: 12rem;
	height: auto;
}

/* Sociala medier */
.footer-socials {
	display: flex;
	align-items: center;
}

.footer-socials::before,
.footer-socials::after {
	position: relative;
	display: inline-block;
	content: '';
	flex: 1 1 0%;
	border-top: 1px solid rgb(var(--black-color));
}

.footer-socials::before {
	margin-right: 2rem;
}

.footer-socials::after {
	margin-left: 2rem;
}

/* Footer bottom */
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0 2rem;
}

.footer-bottom p,
.footer-bottom a {
	font-size: 1.3rem;
	line-height: 1.6;
	color: rgb(var(--gray-dark-color));
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.webbess-stamp img {
	width: 2.5rem;
	margin-left: 1rem;
	opacity: .6;
}

@media only screen and (max-width: 1200px) {
	.footer {
		padding: 0 3rem;
	}

	/* Footer top */
	.footer-menu {
		width: 33.333%;
	}
}

@media only screen and (max-width: 850px) {

	/* Footer top */
	.footer-menu,
	.footer-menu-large {
		width: 100%;
		text-align: center;
	}

	/* Footer logo */
	.footer .logo-item img {
		width: 20rem;
		margin: auto;
	}
}

@media only screen and (max-width: 580px) {
	.footer {
		padding: 2rem 0 2rem;
	}

	/* Footer top */
	.footer-top {
		padding: 5rem 0 0;
	}

	/* Footer bottom */
	.footer-bottom {
		flex-direction: column-reverse;
		text-align: center;
	}

	.webbess-stamp {
		margin: 0 auto 2rem;
	}
}