/* Tandläkare David Izgin AB */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,600;0,700;1,400;1,700&display=swap');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
	/* 	Layout  */
	--col-padding: 3rem;
	--menu-height: 8rem;
	--menu-height-scrolled: 8rem;
	--section-width: 130rem;

	/* 	Colors */
	--primary-color: 0, 66, 141;
	--primary-dark-color: 0, 48, 102;
	--secondary-color: 54, 186, 250;
	--secondary-dark-color: 45, 151, 204;

	--accent-blue-color: 237, 248, 255;

	--black-color: 0, 0, 0;
	--gray-dark-color: 75, 75, 75;
	--gray-light-color: 230, 230, 230;
	--white-color: 255, 255, 255;

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

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

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

.mw-1000 .section-block-wrapper {
	max-width: 100rem;
}

/* Paddings */
.p-2 {
	padding: 2rem;
}

.py-0 .section-block {
	padding-top: 0;
	padding-bottom: 0;
}

/* Margins */
.mr-1 {
	margin-right:1rem;
}

.mt-3 {
	margin-top: 3rem;
}

.mt-5 {
	margin-top: 5rem;
}

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

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

/* Text och typsnitt
========================================================================== */
body {
	font-family: 'Public Sans', sans-serif;
}

/* Rubriker */
.text-label {
	font-size: 1.4rem;
	font-weight: 600;
	text-transform: uppercase;
	padding-bottom: 1em;
}

.section-title {
	font-size: 4rem;
	font-weight: 700;
	line-height: 1.2;
	padding-bottom: .5em;
}

.small-title {
	font-size: 2.5rem;
	font-weight: 300;
	line-height: 1.4;
	padding-bottom: .7em;
}

.text-title {
	font-size: var(--base-size);
	font-weight: 700;
	line-height: 1.4;
	padding-bottom: .7em;
}

.ingress {
	font-size: calc(var(--base-size) * 1.2);
	font-weight: 700;
}

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

a {
	font-size: inherit;
	font-weight: 400;
	text-decoration: underline;
	color: var(--primary-color);
}

a:hover {
	text-decoration: none;
}

/* 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) {
	.section-title {
		font-size: 3.8rem;
	}

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

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

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

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

.btn-wrapper.center {
	justify-content: center;
}

/* Knappar */
.btn, 
.ContactSubmit {
	min-width: 20rem;
	padding: 1.4rem 2rem;
	font-size: 1.4rem;
	font-weight: 600;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
	border: none;
	transition: all .4s ease;
	cursor: pointer;
}

.btn-secondary-filled, 
.ContactSubmit {
	color: rgb(var(--white-color));
	background-color: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover, 
.ContactSubmit:hover, 
.ContactSubmit:focus {
	background-color: rgb(var(--secondary-dark-color));
	color: rgb(var(--white-color));
}

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

.btn-white-border:hover {
	color: rgb(var(--white-color));
	background-color: rgb(var(--white-color), .3);
	border: 0.1rem solid rgb(var(--white-color));
}
/* Blink btn */
.blink-btn {
    background-color: rgb(var(--secondary-color));
    -webkit-animation: blinking 2.8s infinite;
    -moz-animation: blinking 2.8s infinite;
    -ms-animation: blinking 2.8s infinite;
    animation: blinking 2.8s infinite;
    transition: background-color 0.3s ease;
}

.blink-btn:hover {
    background-color: rgb(var(--secondary-dark-color));
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
    box-shadow: 0 0 0 0 transparent;
}

@-webkit-keyframes blinking {
    0% {
        background-color: rgb(var(--secondary-color));
    }

    50% {
        background-color: rgb(var(--secondary-color), .5);
    }

    100% {
        background-color: rgb(var(--secondary-color));
    }
}

@-moz-keyframes blinking {
    0% {
        background-color: rgb(var(--secondary-color));
    }

    50% {
        background-color: rgb(var(--secondary-color), .5);
    }

    100% {
        background-color: rgb(var(--secondary-color));
    }
}

@-ms-keyframes blinking {
    0% {
        background-color: rgb(var(--secondary-color));
    }

    50% {
        background-color: rgb(var(--secondary-color), .5);
    }

    100% {
        background-color: rgb(var(--secondary-color));
    }
}

@keyframes blinking {
    0% {
        background-color: rgb(var(--secondary-color));
    }

    50% {
        background-color: rgb(var(--secondary-color), .5);
    }

    100% {
        background-color: rgb(var(--secondary-color));
    }
}
/* Arrow link */
.arrow-link {
	font-size: var(--base-size);
	padding-right: 1rem;
	color: rgb(var(--gray-dark-color));
}

.arrow-link::after {
	content: ' \f105';
	display: inline-block;
	margin-left: 1rem;
	font-weight: 400;
	font-family: 'Font Awesome 5 Pro';
	transition: transform .4s ease;
}

.arrow-link:hover::after {
	transform: translateX(1rem);
	transition: transform .4s ease;
}

@media only screen and (max-width: 480px) {
	.btn {
		display: block;
		width: 100%;
	}
}

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

.bg-accent {
	background-color: rgb(var(--accent-blue-color));
}

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
	position: relative;
	overflow: hidden;
}

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

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

.card-item {
	text-decoration: none;
}

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

.cards-wrapper.w-25 .card-item {
	width: calc((100% / 4))
}

@media only screen and (max-width: 1050px) {
	.cards-wrapper.w-33 .card-item {
		width: calc((100% / 3) - 2rem);
	}
}

@media only screen and (max-width: 875px) {
	.cards-wrapper.w-33 .card-item {
		width: calc((100% / 2) - 2rem);
		margin: 1rem;
	}
} 

@media only screen and (max-width: 580px) {
	.cards-wrapper.w-33 .card-item {
		width: 100%;
		margin: 1rem 0;
	}
} 

@media only screen and (max-width: 1255px) {
	.cards-wrapper.w-25 .card-item {
		width: calc((100% / 2))
	}
}

@media only screen and (max-width: 685px) {
	.cards-wrapper.w-25 .card-item {
		width: 100%;
		margin: 1rem 0;
	}
}

/* Cards 1 */
.cards-1 .card-item {
	position: relative;
	border-radius: 2px;
	padding: 2rem;
	background-color: rgb(var(--white-color));
	border-bottom: 3px solid rgb(var(--primary-color));
	box-shadow: 0 1rem 2rem rgb(var(--primary-color), .1);
}

.cards-1 p {
	font-size: 1.4rem;
}

/* Cards 2 */
.cards-2 .card-item {
	padding: 3rem;
	text-align: center;
	background-color: rgb(var(--secondary-color), .2);
	transition: all .3s ease;
}

.cards-2 .card-item:nth-child(even) {
	background-color: rgb(var(--secondary-color), .1);
}

.cards-2 .card-header {
	margin: 0 0 2rem;
}

.cards-2 .card-header i {
	font-size: 4rem;
}

.cards-2 p:not(.small-title) {
	padding: 0;
}

.cards-2 a.card-item:hover {
	background-color: rgb(var(--secondary-color));
}

.cards-2 a.card-item:hover * {
	color: rgb(var(--white-color));
}

@media only screen and (max-width: 685px) {
	.cards-wrapper.w-25.cards-2 .card-item {
		width: 100%;
		margin:0;
	}
}

/* Cards 7 */
.cards-7 .card-item {
	background-color: rgb(var(--white-color));
	border-bottom: 3px solid rgb(var(--primary-color));
	box-shadow: 0 1rem 2rem rgb(var(--primary-color), .1);
}

.cards-7 .text-wrapper {
    padding: 2rem;
}

/* 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;
}

/* Paddings */
.split-wrapper .pl-0 {
	padding-left: 0;
}

.split-wrapper .py-0 {
	padding-top: 0;
	padding-bottom: 0;
}

/* Bredder */
.split-wrapper .w-30 {
	width: 30%;
}

.split-wrapper .w-70 {
	width: 70%;
}

@media screen and (max-width: 1000px) {
	.split-content {
		width: 100%;
	}

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

@media screen and (max-width: 580px) {
	.split-wrapper {
		background: transparent;
	}

	.split-content {
		padding: 0 0 3rem 0;
	}

	.split-content.bg {
		padding: 4rem 0;
	}
}

/* Header / Navigation
========================================================================== */

/* Logo */
.header-logo {
	margin: 0 auto 0 0;
}

.mobile-menu .header-logo img {
	padding: 1.5rem 0;
}

/* Nav */
.TemplateMenu a {
	font-weight: 600;
	font-size: 1.4rem;
	color: rgb(var(--black-color));
}

.TemplateMenu>li>a:hover {
	color: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
	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: unset;
	padding: 1rem 2rem;
	line-height: 1;
}

/* Mobilmeny */
@media only screen and (max-width: 580px) {
	.header-cta-wrapper .btn {
		min-width: unset;
		padding: 0.7rem 1.5rem;
	}
}

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

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	align-items: flex-end;
	min-height: 60vh;
	background-color: rgb(var(--black-color), .2);
}

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

.top-section .section-title {
	font-size: 5rem;
	font-weight: 400;
	color: rgb(var(--white-color));
}

.top-section p {
	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;
	}
}

/* Sektion Behandlingar
========================================================================== */
.services {
	border-radius: 3px;
	padding: 3rem;
	background-color: rgb(var(--accent-blue-color));
}

@media only screen and (max-width: 580px) {
	.services {
		border-radius: 3px;
		padding: 0rem;
		background-color: rgb(var(--white-color));
	}
}

/* Section pa kliniken
========================================================================== */
.section-scroll {
    overflow: hidden;
}

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

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}


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

/* Hero
========================================================================== */
.hero .section-block {
	padding-top: 15rem;
}

.hero .section-title {
	font-size: 5rem;
	font-weight: 400;
	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 .section-title {
		font-size: 3rem;
	}
}

/* ==========================================================================
Undersida: Behandlingar
========================================================================== */

/* Sektion Pristavla (.section-price)
========================================================================== */
.table {
	width: 100%;
	border-radius: 2px;
	background-color: rgb(var(--white-color));
	border-bottom: 3px solid rgb(var(--primary-color));
	box-shadow: 0 1rem 2rem rgb(var(--primary-color), .1);
}

.row {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid rgb(var(--gray-light-color));
	padding: 0 1rem;
}

.table-heading {
	position: -webkit-sticky;
	position: sticky;
	top: var(--menu-height);
}

.mobile-menu + main .table-heading {
	top: var(--mobile-menu-height);
}

.table-heading .cell {
	color: rgb(var(--white-color));
}

.cell {
	width: calc(100% / 4);
	font-size: 1.4rem;
	padding: 1rem;
	text-align: right;
}

.cell:first-child {
	text-align: left;
}

@media only screen and (max-width: 750px) {
	.table-heading {
			display: none;
	}

	.row {
		padding-bottom: 1rem;
	}

	.cell {
		width: 50%;
		text-align: left;
	}

	.cell:first-child,
	.cell:last-child {
		width: 100%;
	}

	.cell:before {
			content: attr(data-title);
			display: block;
			font-size: 1.2rem;
			font-weight: 600;
			color: rgb(var(--gray-dark-color));
			text-transform: uppercase;
			margin-bottom: 5px;
	}
}


/* ==========================================================================
Undersida: Kontakt
========================================================================== */
/* Bekraftelseruta */
.ContactSentMessage {
    padding: 1rem 1rem 1rem 7rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
    background-color: rgba(var(--primary-color), .2);
}

.ContactSentMessage p {
    padding: 0;
}

/* Sektion Kontaktuppgifter (.section-contact)
========================================================================== */
.section-contact {
	--col-padding: 1rem;
}

.section-contact .text-block {
	background-color: rgb(var(--gray-light-color));
	padding: 2rem;
	border-radius: 1rem;
}

/* Kontaktuppgifter */
.section-contact .cards-wrapper {
	gap: 2rem;
	margin: 2rem 0 0;
}

.section-contact .cards-wrapper .card-item {
	background-color: rgb(var(--gray-light-color));
	width: 100%;
	margin: 0;
	padding: 0;
	flex: 1 1 30rem;
	border-radius: 1rem;
	transition: all 0.3s ease;
	text-align: left;
}

.section-contact .card-item .text-wrapper {
	padding: 2rem;
}

.section-contact .card-item .small-title {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1.6rem;
	font-weight: 400;
	padding: 0 0 0.5rem;
	margin: 0 0 1rem;
	border-bottom: 1px dotted rgb(var(--primary-color));
}

.section-contact .card-item .small-title i {
	margin: 0 0.5rem 0 0;
}

.section-contact .card-item p {
	font-size: 1.6rem;
	line-height: 1.5;
}

.section-contact a.card-item:hover {
	background-color: rgb(var(--primary-color));
}

.section-contact a.card-item:hover * {
	color: rgb(var(--white-color));
	border-color: rgb(var(--white-color), 0.6);
}

/* Kontaktformular */
.section-contact .Contact {
	background-color: rgb(var(--gray-light-color));
	padding: 2rem;
	border-radius: 1rem;
}

.section-contact .Contact input,
.section-contact .Contact textarea {
	border-radius: 5px;
}

.section-contact .Contact p {
	position: relative;
	display: inline-block;
	font-size: 1.4rem;
	padding: 0 0 5px;
	line-height: 1;
}

@media only screen and (max-width: 980px) {
	.section-contact .col-1 {
			margin-top: 2rem;
	}
}

/* Sektion Karta
========================================================================== */
.section-map {
	font-size: 0;
}

.section-map iframe {
	height: 40rem;
	border-radius: 3px;
	border: 1px solid rgb(var(--gray-light-color));
	border-bottom: 3px solid rgb(var(--primary-color));
	box-shadow: 0 1rem 2rem rgb(var(--primary-color), .1);
}

@media only screen and (max-width: 800px) {
	.section-map iframe {
			height: 20rem;
	}
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
	background-color: rgb(var(--primary-color));
	padding: 0 5rem;
}

/* Banner */
.footer-banner {
	background: rgb(var(--primary-dark-color));
	padding: 1rem;
	border-radius: 0 0 5px 5px;
}

.footer-banner p {
	padding: 0;
	color: rgb(var(--white-color));
}

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

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

.footer-menu-large {
	width: 30%;
}

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

.footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-top li,
.footer-top p,
.footer-top a {
	color: rgb(var(--white-color));
}


/* Partners */
.partners {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 1rem;
}

.partner-logo {
	height: 3.5rem;
	border-radius: 8px;
	border: 1px solid rgb(var(--white-color));
	padding: 7px;
	margin: 0 1rem 1rem 0;
}

.partner-logo img {
	height: 100%;
}

/* Footer bottom */
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 2rem 0;
	border-top: 1px solid rgb(var(--white-color), .5);
}

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

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

.webbess-stamp img {
	width: 2.5rem;
	margin-left: 1rem;
	filter: invert();
}

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

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

	.footer-menu-large {
		width: 100%;
	}

	.footer-menu-large p {
		max-width: 55rem;
	}
}

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

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

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