*,*:after,*:before{
  box-sizing: border-box;
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  color: black;
}

a:hover {
  text-decoration: none;
  color: #00CED8da;
  transition: border 0.0s linear, color 0.0s linear;
}

.logopart a {
  color: inherit !important;
}

img { 
    max-width: 100%;
}

html{
    height: 100%;
}

body, html {
overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 14px;
    background-color: white;
    margin: 0;
    font-style: normal;
    font-weight: 400;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    font-family: "Open Sans", sans-serif;
    line-height: 1.5;
    animation: fadeInAnimation ease 1s;
}
  
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

h2 {
  font-size: 22px;
  font-weight: normal;
}

#header{
  z-index: 1000;
  font-family: "Open Sans", sans-serif;
  position: fixed;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-top: 2px solid white;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.05), 0 2px 4px 0 rgba(0, 0, 0, 0.10);
}

.navigation {
  float: right;
}

.hamburgermenu{
  display: block;
  width: 37px;
  cursor: pointer;
}

.navigation ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation ul li{
  font-size: 17px;
  font-weight: 400;
  float: left;
  margin-left: 5px;
  position: relative;
  letter-spacing: 1px;
}

.navigation ul li a {
  font-size: 17px;
  color: black;
  display: block;
  line-height: 1.4;
  text-decoration: none;
  padding: 5px 10px;
  transition: all 0.1s; 
}

.navigation ul li:hover > a{
  color: #00CED8da;
}

.navigation ul li:hover > i{ 
  color: #00CED8da; 
}

.headercontainer{
  max-width: 1350px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footercontainer{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footercontainer a:hover{
color: silver !important;
}
  
@media screen and (min-width: 901px){
  .hamburgermenu,
  #mobilemenu{  
    display: none;
  }  
}

@media screen and (max-width: 900px){
  .minibutton{
    margin-top: 10px !important;
    max-width: 130px;
  }
  .hamburgermenu{ 
    z-index: 250;
    color: #fff;
    font-size: 0px !important;
    display: block;
    position: relative;
    line-height: 1 !important;
  } 
  .navigation {
    transition: all 0.4s ease-out;
    transform: translateX(-170%);
    background: #11a9dc;
    position: fixed;
    top: 60px;
    z-index: 99;
    overflow: auto;
    width: 230px;
    min-height: 100vh;
    min-height: 100lvh;
    padding: 0;
    left: 0;
  }
  .navigation ul li {
    float: none;
    margin-left: 1px !important;
    padding: 0 !important;
  }
  .navigation ul li a {
    display: block;
    color: #fff;
    padding: 15px 12px;
  }
  .navigation > ul > li:hover > a{
    background: #00CED8da;
    color: white;
  } 
  .hem{
    margin-top: 6px;
  }
  .minibutton{
    left: 10px;
    text-align: center;
    vertical-align: middle;
    border-radius: 1px;
    letter-spacing: 2px;
    border: 2px solid #ffffff !important;
  }
  .minibutton:hover {
    border: 1px solid #00CED8da;
    color: #00CED8da;
    cursor: pointer;
  }
  .navigation ul ul{
    position: static;
    pointer-events: auto;
    opacity: 1;
    height: 0;
    overflow: hidden;
  }
  #mobilemenu{
    opacity: 0;
    position: fixed;
    width: 0;
    height: 0;
    margin: 0;
  }
  #mobilemenu:checked + .navigation{
    transform: translateX(0%);
  }
}

.logopart{
    text-decoration: none;
    color: #1E90FF;
    font-size: 24px;
    font-weight: 500 !important; 
    font-family: "Open Sans", sans-serif;
}

.minibutton {
  right: -7px;
  color: #00CED8da;
  padding: 2px 6px;
  white-space: nowrap;
  min-width: 144px;
  text-align: center;
  vertical-align: middle;
  align-content: center;
  border-radius: 1px;
  letter-spacing: 2px;
  border: 1px solid #00CED8da;
  transition: all 0.1s linear;
}

.minibutton:hover {
  background-color: white;
  color: #00CED8da;
  cursor: pointer;
}

ul li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  margin-top: 1.3rem;
  left: 0;
  background-color: white;
  min-width: 194px;
  box-shadow: 0 0 0 0 rgba(0,0,0,0.0);
  z-index: 1;
  color: #00CED8da; 
  background: white;   
  transform: scaleY(0);    
  transform-origin: top;
  transition: transform 0.3s ease;
}

ul li:hover > ul,
ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
  margin-right: 35px;
  color: #00CED8da; 
  transform: scaleY(1);
}

ul li ul li {
  clear: both;
  width: 100%;
}

.hem li a:hover {
  color: #00CED8da !important;
}

.menubutton {
  width: 39px;
  height: 21px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.menubutton span {
  position: relative;
  display: block;
  width: 100%;
  height: 3px !important;
  min-height: 0 !important;
  background: #00CED8da;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.menubutton span::before,
.menubutton span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00CED8da;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}
.menubutton span::before {
  transform: translateY(-9px);
}
.menubutton span::after {
  transform: translateY(9px);
}

.menubutton.active span {
  background: transparent;
}

.menubutton.active span::before {
  transform: rotate(-45deg);
}
.menubutton.active span::after {
  transform: rotate(45deg);
}

@media screen and (max-width: 217px){
  .navigation {
    top: 90px;
  }
}

.glantan{
  color: #00CED8da;
  font-family: "Open Sans", sans-serif !important;
}

.black {
color:#36454F !important;
}

.whole_footer{
    background: #666;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-family: "Open Sans", sans-serif !important;
    box-sizing: border-box;
    padding: 60px 10px;
    margin-top: 100px; 
}

.footer-left,
.footer-center,
.footer-right {
	display: inline-block;
	vertical-align: top;
  width: 33%;
}

.footer-center {
  gap: 2px;
  display: flex;
  flex-direction: column;
}

.whole_footer h5{
	color: #ffffff;
	font-size: 33px;
	margin: 0;
}

.whole_footer h5 span{
    font-size: 27px;
	  color: #00CED8da;
    font-weight: normal;
}

.footer-links{
	color: #ffffff;
	margin: 20px 0 12px 0;
	padding: 0;
}

.footer-links a{
	display:inline-block;
	line-height: 1.8;
  font-weight:400;
	text-decoration: none;
	color:  inherit;
}

.footer-copyright{
	color: silver;
	font-size: 13px;
	font-weight: normal;
	margin: 0;
}

.footer-center p{
	display: inline-block;
	color: #ffffff;
  font-weight:400;
	vertical-align: middle;
	margin:0;
}

.footer-center p a{
	color: white;
	text-decoration: none;
}

.footer-center p span{
	display:block;
	line-height:1.7;
	font-weight: normal;
}

.footer-links .link-1:before {
  content: none;
}

.footer-links a:before {
  line-height: 1;
  content: "|";
  font-weight: 300;
  font-size: 19px;
  left: 0;
  color: #fff;
  display: inline-block;
  padding-right: 5px;
}

.socialmedia{
  font-size: 16px;
  font-weight: normal;
	color: #CACACA;
	margin: 0;
  line-height: 1.4;
}

.socialmedia span{
	display: block;
	color: #ffffff !important;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
}

.footer-icons{
	margin-top: 20px;
}

@media (max-width: 950px) {    
  .whole_footer h5 span{
    font-size: 20px;
	  color: #00CED8da;
  }
  .whole_footer{
    font-size: 16px;
	  color: #00CED8da;
  }
  .footer-logo {
    width: 35px;
    height: 35px;
  }
  .footer-copyright{
    font-size: 16px;
  }
  .whole_footer h5{
    color: #ffffff;
    font-size: 16px;
    margin: 0;
  }
  .footer-center p span{
    font-weight: normal;
    font-size: 16px;
  }
  .footer-links a:before {
    content: "|";
    font-size: 16px;
  }
  .socialmedia {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
  }
  .socialmedia span{
	  font-size: 16px;
    font-weight: normal;
  }
  .location {
    width: 29px;
    height: 29px;
    padding-bottom: 5px;
  }
  .phone {
    width: 25px;
    height: 25px;
    padding-bottom: 4px;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    font-size: 16px;
  }
  .footer-right{
	  text-align: center;
	}
}

.selected{  
  color: #00CED8da;  
}

.movedown {
    position: relative;
    top: 3px;
}

@media (max-width: 430px) {
  .whole_footer h5 span{
    font-size: 16px;
	  color: #00CED8da;
  }
  .whole_footer{
    font-size: 16px;
	  color: #00CED8da;
  }
  .footer-copyright{
    font-size: 16px;
  }
  .whole_footer h5{
	  color: #ffffff;
	  font-size: 16px;
	  margin: 0;
  }
  .footer-center p span{
    font-weight: normal;
    font-size: 16px;
  }
  .footer-links a:before {
    content: "|";
    font-size: 16px;
  }
  .socialmedia {
    font-size: 16px;
    font-weight: normal;
  }
  .socialmedia span {
    font-size: 16px;
    line-height: 0.8;
  }
  .location {
    width: 22px;
    height: 22px;
    padding-bottom: 7px;     
  }
  .phone {
    width: 22px;
    height: 22px;
    padding-bottom: 6px;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    font-size: 16px;
  }
  .footer-right{
    text-align: center;
  }
}

@media (max-width: 1200px) {
  .footercontainer{
    display: block;
  }
  .footer-logo {
    width: 34px;
    height: 34px;
  }
  .whole_footer h5 span{
    font-size: 16px;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
  }
  .footer-center{
    margin-top: 50px;
  }    
  .footer-icons{
    margin-top: 50px;
  }
  .socialmedia,
  .socialmedia span{
  display: none;
  }

  .location {
    width: 28px;
    height: 28px;
    padding-bottom: 0;     
  }
  .phone {
    width: 27px;
    height: 27px;
    padding-bottom: 3px;
  }
}

.icon{
  width: 34px;
  height: 34px;
  margin: 5px;
  transition: all 0.4s cubic-bezier(.36,1.9,.35,.75);
}

.icon:hover {
  transform: translateY(-7px);
}

.hero, .hero2, .hero3, .hero4, .hero5, .hero6, .hero7, .hero8, .hero9, .hero10, .hero11 {
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  min-height: 100svh;
}


.hero { background-image: url("../images/team-2.webp"); }
.hero2 { background-image: url("../images/vantrum.webp"); }
.hero3 { background-image: url("../images/rum1.webp"); }
.hero4 { background-image: url("../images/priser2.webp"); }
.hero5 { background-image: url("../images/allmantandvard3.webp"); }
.hero6 { background-image: url("../images/akuttandvard2.webp"); }
.hero7 { background-image: url("../images/rootcanal5.webp"); }
.hero8 { background-image: url("../images/aesthetic2.webp"); }
.hero9 { background-image: url("../images/protes1.webp"); }
.hero10 { background-image: url("../images/vark-i-muskler1.webp"); }
.hero11 { background-image: url("../images/about.svg"); }


@media screen and (max-width: 768px) {
  .hero2 {
    background-position: 58% 55%; 
  }
}

@media screen and (max-width: 768px) {
  .hero {
    background-image: url("../images/team-2b.webp"); 
    background-position: center top;
  }
}

.hero .introtext2 {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero .glassbutton {
  display: inline-block;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  padding: 1rem 1.6rem; 
  font-size: 1.1rem;
  color: #111;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero .glassbutton:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: #00CED8da;
  color: #00CED8da;
}

.tagline {
  color: white;
  font-weight: normal;
  font-size: 38px;
  letter-spacing: 2px;
  margin-left: 4px;
  margin-right: 4px;
}

.tagline2 {
  padding-top: 18px;
  color: white;
  font-size: 18px;
  letter-spacing: 2px;
}

@media only screen and (max-width:1024px){
  .tagline {
  color: white;
  font-weight: normal;
    font-size: 28px;
}
    
    .tagline2 {
    padding-top: 16px;
  color: white;
    font-size: 14px;
        }
}

@media only screen and (max-width:385px){
  .tagline {
  color: white;
  font-weight: normal;
    font-size: 22px !important;
}}

@media only screen and (max-width:320px){
  .tagline {
  color: white;
  font-weight: normal;
    font-size: 20px !important;
}}


@media screen and (max-width: 900px){
   .tagline {
display: inline-block;
  color: white;
  font-weight: normal;
    font-size: 24px;
}
    
    .tagline2 {
    padding-top: 12px;
  color: white;
    font-size: 14px;
}
}

.banner {
  margin-top: 45px;
  background-color: #75C0FF;
  background-image: url("../images/splint3.webp");
  background-size: cover;
  height: 320px;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center; 
}

.parallax {
  color: #FFFFFF;
  text-align: right;
  letter-spacing: 2px;
}

.parallax_text{
  color: #FFFFFF;
  text-align: right;
  width: 30%;
  float: right;
  font-weight: lighter;
  line-height: 23px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}

.button {
  width: 178px;
  margin: 50px auto auto auto;
  padding: 18px 10px;
  text-align: center;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: 2px;
  border: 2px solid white;
  color: white;
  transition: border 0.1s linear, color 0.1s linear;
}

.button a {
  transition: border 0.1s linear, color 0.1s linear;
}

.button a,
.button a:link,
.button a:visited,
.button a:active {
  color: white;
}

.button:hover {
  color: #00CED8da !important;
  border-color: #00CED8da;
  cursor: pointer;
}

.button:hover a {
  color: #00CED8da;
}

.home {
  position: relative;
  top: 2px;
  right: 4px;
}

.pros{
  text-align: center;
}

.pros h1{
  font-weight: normal;
  display: inline-block;
  text-transform: uppercase;
  font-size: 19px;
  padding-bottom: 15px;
  margin-bottom: 20px;
  margin-right: 15px;
  margin-left: 15px;
}

h1:after{
  margin-top: 20px;
  margin-bottom: 0px;
  content: '';
  display: block;
  position: relative;
  width: 30%;
  border-bottom: 2px solid #00CED8da;
  margin-left: 35%;
}

.bigcontainer{
  text-align: center;
  max-width: 1500px;
  margin: auto;
  overflow: hidden;
  padding-top: 0px;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
}

.pro{
  color: black;
  display: inline-block;
  width: calc(100% / 3.333);
  margin-bottom: 0px;
  padding-top: 35px;
  padding-bottom: 35px;
  box-sizing: border-box;
  min-height: 100%;
  margin: 0 auto;
}

.pro h2{
  padding: 3px 0;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}

.pro p{
  color: black;
  font-size: 16px;
  font-weight: 400 !important;
  margin: 7px 25px 0 25px;
}

@media screen and (max-width: 900px) {
  .pro{
    align-items: center;
    width: 100%;
    padding: 20px 0;
    margin: 0;
  }

  .pros h1{
    font-size: 18px;
    padding-bottom: 15px;
  }
  .pro p{
    margin: 7px 20px 0 20px;
  }
}

.clock {
  background: white;
  padding-bottom: 7px;
}
.piggy {
  background: white;
  padding-top: 3px;
}
.calendar {
  background: white;
  padding-bottom: 8px;
}
.warranty {
  background: white;
  padding-bottom: 3px;
}
.cracked_tooth {
  background: white;
  padding-bottom: 7px;
}

@media (max-width: 950px) {
    .parallax {
    text-align: center;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    width: 100%;
    font-size: 23px;
  }
  .parallax_text {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    width: 100%;
      margin-top: 12px;
    margin-right: 0px;
    margin-bottom: 0px;
    float: none;
    text-align: center;
    }
    }
 
 
@media (max-width: 430px) {   
    .parallax {
    text-align: center;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    width: 100%;
    font-size: 23px;
  }
    
  .parallax_text {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    width: 100%;
    margin-top: 12px;
    margin-right: 0px;
    margin-bottom: 0px;
    float: none;
    text-align: center;
  }
}
    
    
@media (min-width: 401px) and (max-width: 880px) {
    
  .parallax {
    text-align: center;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    width: 100%;
    font-size: 23px;
  }
  .parallax_text {  
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
      margin-top: 11px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    float: none;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .bigcontainer{
   display: inline-block;
   padding-left: 25px;
   padding-right: 25px;
  }
  .pro{
    margin: auto;
  }     
}

@media (min-width: 501px) and (max-width: 900px) {
  .pro{
    max-width: 540px;
  }
  .pros h1{
    font-size: 18px;
    padding-bottom: 17px;
  }
}

.aboutcontainer {
  margin-bottom: 0px !important;
  align-content: center;
  display: flex;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
}

.aboutcontainer2 {
  margin-bottom: 40px;
  align-content: center;
  display: flex;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
}
    
.about_center {
  letter-spacing: normal;
  max-width: 100%;
  flex: 1;
  color: black;
  font-size: 18px;
  font-weight: 400;
  margin-top: 15px;
  margin-left: 15px;
  padding-right: 15px;
  margin-bottom: 15px;
}

.about_center h2{
  font-weight: normal;
  font-size: 21px;
}

@media (max-width: 950px) {
  .about_center {
    font-size: 16px;
    margin: 0 25px;
  } 
  .about_center h2{
    font-size: 18px;
  }
}

.teamcontainer{
  padding-bottom: 0;
  padding-top: 0;
  align-content: center;
  display: flex;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.teamcontainer2{
  padding-top: 30px;
  align-content: center;
  display: flex;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.column1 {
  position: relative;
  width: 38%;
  padding: 0 5px;
  margin-bottom: 10px;
}

.teamcontainer h2,
.teamcontainer2 h2{
  line-height: 0.5;
  font-weight: 600;
  font-size: 20px;
}

.name-title {
  text-align: center;
  padding: 0;
}

.pics{
  width: 40vw;
  height: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.container{
  background-color: white;
  margin-top: 80px;
}

.container p{ 
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

.row {
  border: 4px solid #00CED8da;
  border-radius: 30px;
  margin: 0 150px;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}
.column3{
  flex: 50%;
  text-align: center;
}
.column3 img{
  width: 550px;
  height: auto;
}
.column4 {
  flex: 50%;
  text-align: left;
}
.column4 ol{
  margin-top: 20px;
}
.column4 h2{
  margin-bottom: 35px;
  font-size: 23px;
  font-weight: normal;
}

@media screen and (max-width: 900px){
  .row {
    border: 3px solid #00CED8da;
    border-radius: 40px;
    margin: 20px;
    display: block;
  }
  .column3 img{
    width: 280px;
    height: auto;
  }
  .column4{
    padding-top: 25px;
  }
  .column4 ol{
    margin-top: 10px;
  }
  .column4 h2{
    margin: 15px 0 25px 0;
    font-size: 18px;
    font-weight: normal;
  } 
}

@media screen and (max-width: 550px){
  .column1 img{
    width: 100% !important;
    height: auto;
  }
}

@media (max-width: 430px) {
  .column1 {
    margin-bottom: 70px;
    width: 100% !important;
  }
}
     
@media screen and (max-width: 890px){
  .column1 {
    width: 100% !important;
    padding: 0 15px;
    margin-bottom: 70px;
  }
  .pics{
    height: auto;
    width: 100%;
  }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    justify-content: center;
    gap: 20px;
}

.grid-container1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: auto;
}

.card .grid-item{
  display: flex;
flex-grow: 1;
}

.grid-item1, .grid-item2, .grid-item3, .grid-item4, .grid-item5, .grid-item6 {
  background-position: center;
  background-size: cover;
  height: 400px;
  width: 100%;
  border: 1px solid white;
  padding: 0;
  font-size: 30px;
  text-align: center;
}

.grid-item1 { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url("../images/allmäntandvard.webp"); }
.grid-item2 { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url("../images/akuttandvard.webp"); }
.grid-item3 { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url("../images/rootcanal1.webp"); }
.grid-item4 { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url("../images/aesthetic1.webp"); }
.grid-item5 { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url("../images/protes3.webp"); }
.grid-item6 { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url("../images/ont-i-tmj.webp"); }

.introtext2 {
   position: relative;
   text-align: center;
   top: 45%;
}

.introtext3 {
   position: relative;
   text-align: center;
   top: 27%;
}

.introtext {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    padding-top: 20px;
    justify-content: flex-start; 
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0px;
}

.tagline4 {
  color: white;
  font-weight: normal;
  font-size: calc(16px + 1.3vw);
  letter-spacing: 2px;
  margin-left: 10px;
  margin-right: 10px;
  text-shadow: 1.5px 1.5px 1.5px rgba(0, 0, 0, 1); 
 }   

.tagline3 {
  display: inline-block; 
  padding: 25px;
  color: white;
  font-size: calc(16px + 0.2vw);
  letter-spacing: 2px;
  border: 1px solid white;
  max-width: 500px;
  max-height: 150px;
  text-shadow: 1.5px 1.5px 1.5px rgba(0, 0, 0, 1); 
background-color: rgba(0, 206, 216, 0.38);
}

.tagline3:hover{
  border: 1px solid white;
  color: white;
  cursor: pointer;
}

.grid-item1 h2, .grid-item2 h2, .grid-item3 h2, .grid-item4 h2, .grid-item5 h2, .grid-item6 h2 {
	transition: transform 0.25s;
	transform: translate3d(0,15px,0);    
}

.grid-item1:hover h2, .grid-item2:hover h2, .grid-item3:hover h2, .grid-item4:hover h2, .grid-item5:hover h2, .grid-item6:hover h2 {
	transform: translate3d(0,-35px,0);    
}

.grid-item1 p, .grid-item2 p, .grid-item3 p, .grid-item4 p, .grid-item5 p, .grid-item6 p {
	opacity: 0;
	transition: opacity 0.25s, transform 0.25s;
	transform: translate3d(0,35px,0) scale(1.2);  
}

.grid-item1:hover p, .grid-item2:hover p, .grid-item3:hover p, .grid-item4:hover p, .grid-item5:hover p, .grid-item6:hover p {
	opacity: 1;
	transform: translate3d(0,-25px,0) scale(1);  
    margin: 0 15px;
}

@media (max-width: 795px) {
  .introtext3 {
    height: 100%;
    top: 39%;
  }
 }

@media (max-width: 795px) {
  .introtext {
    height: 100%;
    top: 38%;
  }
    
  .grid-item1 h2, .grid-item2 h2, .grid-item3 h2, .grid-item4 h2, .grid-item5 h2, .grid-item6 h2,
  .grid-item1:hover h2, .grid-item2:hover h2, .grid-item3:hover h2, .grid-item4:hover h2, .grid-item5:hover h2, .grid-item6:hover h2 {
    color: white;
    font-weight: normal;
    font-size: 30px;
    letter-spacing: 2px;
    margin: 0 10px;
    transition: none;
    transform: none; 
  }
  .grid-item1 p, .grid-item2 p, .grid-item3 p, .grid-item4 p, .grid-item5 p, .grid-item6 p,
  .grid-item1:hover p, .grid-item2:hover p, .grid-item3:hover p, .grid-item4:hover p, .grid-item5:hover p, .grid-item6:hover p {
    padding: 0;
    margin: 0;
    visibility: hidden;
    font-size: 0;
    transition: none;
    transform: none; 
  }
} 

@media (max-width: 1300px) {
  .grid-container, .grid-container1 {
    display: grid;
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
  }
}

.booking-page {
  padding: 100px 1rem 20px 1rem;
}

.booking-page2 {
  padding: 0 1rem 20px 1rem;
}

.booking-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.booking-left,
.booking-right {
  flex: 1 1 45%;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.4);
}

.booking-left h2,
.booking-right h2 {
  margin-top: 0;
  font-size: 1.7rem;
  color: #333;
}

.booking-left p,
.booking-right p {
  font-size: 16px !important;
  color: #555;
  margin: 0.5rem 0;
}

.bokatid {
  padding-bottom: 6px;
}

.bokatid2 {
  padding-bottom: 16px;
}

.opening-hours {
  margin-top: 2rem;
  border-top: 2px solid #eee;
  padding-top: 2rem;
}

.opening-hours h3 {
  font-size: 16px;
  color: black;
  margin: 0 0 0.8rem 0;
  font-weight: 600;
}

.opening-hours p {
  color: black;
  margin: 0.3rem 0;
  line-height: 1.6;
}

.opening-hours p em {
  font-style: italic;
  color: #666;
}

.directions-section {
  padding: 40px 2rem 0px 2rem;
}


.directions-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.directions-section h2 {
  margin-bottom: 30px;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  text-align: left;
}

.direction-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.direction-item h3 {
  margin-top: 0;
  border-bottom: 2px solid #00CED8da;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.direction-item p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 950px) {
  .booking-container {
    flex-direction: column;
  }
  .booking-left,
  .booking-right {
    flex: 1 1 100%;
  }
}

.margincontainer{
  margin: 40px 2px 0 2px;
}

.paper{
padding-top: 50px;
padding-left: 50px;
padding-bottom: 5px;
padding-right: 50px;
max-width: 800px;
box-shadow: 0px 0px 5px 0.1px lightgray;
margin: 14px auto;
background-color: white;
font-size: 16px !important;
}

.info ol li p {
  margin-top: 5px;
  margin-bottom: 15px;
}

@media (max-width: 900px) {
.paper{
padding-right: 25px;
padding-left: 25px;
}
}

.table_of_contents{
font-size: 18px;
}
.table_of_contents2{
font-size: 18px;
margin-bottom: 12px;
}

.paper p{
display: block;
margin-block-start: 2em;
margin-block-end: 2em;
margin-inline-start: 0px;
margin-inline-end: 0px;
margin-top: 20px;
margin-bottom: 20px;
}

.toc{
  border: 1px solid #28282B;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.toc img:hover{
  cursor: pointer;
}
.left{
  float: left;
  width: calc(100% - 20px);
}
.arrow_down{
  margin-top: -3px;
}
.collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}
.rotated img{
  transform: rotateX(180deg);
  transition: 0.25s ease-out;
}
.toc img{
  transition: transform 0.25s ease-out;
}

.note{
  background-color: #F0E68C;
  padding: 15px 35px;
  margin: 40px 0;
}

.info h2{
  font-size: 21px;
  font-weight: normal;
}

h3{
  font-size: 18px;
  font-weight: normal;
  margin-top: 40px;
}

h4{
  font-size: 17px;
  font-weight: normal;
  margin-top: 25px;
}

.table_of_contents a:link,
.table_of_contents a:visited,
.table_of_contents2 a:link,
.table_of_contents2 a:visited {
  color: black;
}

.intro{
  margin: 10px 0 50px 0;
}

.yep{
  font-size: 19px;
  font-weight: normal;
}

.for_image{
  margin-bottom: 15px;
}

.custom{
  padding: 1.3em;
}

.Title{
padding-top: 10px;
 text-align: center;
 padding-bottom: 10px;
}  
    
.Title h1{
  display: inline-block;
  font-weight: normal;
  font-size: 28px;
  margin-top: 0px;
}


h2.parallax {
  color: white;   
  font-size: 30px;    
  font-weight: normal;  
  text-align: center; 
  text-shadow: 1.5px 1.5px 1.5px rgba(0, 0, 0, 1); 
  padding: 20px;
  line-height: 1.6; 
}

@media (max-width: 900px) {
h2.parallax {
  color: white;   
  font-size: 24px;    
  font-weight: normal;  
  text-align: center; 
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); 
  line-height: 1.6; 
}
}

.price-page-container {
    max-width: 1200px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

.price-table-section {
 margin-left: 18px;
 margin-right: 18px;
 margin-top: 25px;
}

.smoltext {
color: black;
margin-bottom: 20px;
}

.price-table-section h2,
.treatment-examples-section h2 {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #00CED8da; 
    padding-bottom: 0.5rem;
}

.treatment-examples-section{
 margin-left: 15px;
 margin-right: 15px;
}

.price-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.price-table-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
    transition: background-color 0.1s ease-in-out;
}
.price-table-row:last-child {
    border-bottom: none;
    margin-bottom: 0px;
}
.price-table-row:hover {
    background-color: #d3d3d3;
}

.price-table-header {
    background-color: #f7f7f7;
    font-weight: bold;
    color: #444;
}

.price-table-header:hover {
    background-color: #f7f7f7;
    color: #444;
}


.price-table-header .price-col {
    padding: 0.8rem 0.75rem;
}

.price-col {
    padding: 0.75rem;
    line-height: 1.5;
}

.col-code {
    flex-basis: 15%;
    min-width: 70px;
    color: #666;
}

.col-name {
    flex-basis: 45%;
    flex-grow: 1;
}

.col-price {
    flex-basis: 15%;
    min-width: 100px; 
    text-align: right; 
}

.price-tier2-header, .price-tier2 {
    color: #CD8400;
}
.price-tier3-header, .price-tier3 {
    color: #D62400;
}

.treatment-examples-section {
    margin-bottom: 2rem;
}

.treatment-package {
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

.package-title {
    padding: 1rem 1.5rem;
    margin: 0;
    cursor: pointer; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.package-toggle-icon {
    font-size: 1.7em;
    color: #00CED8da;
    font-weight: bold;
    padding-left: 8px;
}

.package-details {
    padding: 1.5rem;
    line-height: 1.5;
}

.package-item {
    margin-bottom: 0.5rem;
}
.item-price {
    font-weight: 500; 
}

.package-total-cost {
    margin: 1rem 0;
    font-size: 1.1em;
    font-weight: bold;
    border-top: 1px dashed #ccc;
    padding-top: 0.8rem;
}

.package-info {
    font-size: 0.9em;
    color: #666;
    margin-top: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .price-table-section {
        overflow-x: auto;
    }
    .price-table {
        min-width: 700px;
    }
    .col-price {
        min-width: 80px; 
    }
}

.package-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-out, padding 0.6s ease-out;
    padding: 0 1.5rem;
}

.package-details.visible {
    max-height: 1000px;
    padding: 1.5rem;
}

.package-title.active {
 background-color: #e9e9e9;
}

.some_space{
  margin-top: 1px !important; 
  font-size: 10px;
}

.faq-section {
    padding-top: 40px !important;
   }
  
.faq-containerx {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-top: 20px;
}

.faq-containerx h2{
    text-align: center !important;
    margin-bottom: 40px;
}

.info {
padding-bottom: 50px;
}

.faq-section1 {
    padding-top: 0px;
    
}
.faq-section h2 {
    text-align: left;
    margin-bottom: 40px;
    margin-top: 0px !important;
}

.faq-item {
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 1.4rem;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

.faq-question {
    padding: 1rem 1.5rem;
    margin: 0;
    cursor: pointer; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.faq-question h4 {
    margin: 0;
    flex-grow: 1;
    padding: 0;
}

.faq-toggle-icon {
    font-size: 1.7em;
    color: #00CED8da;
    font-weight: bold;
    transition: transform 0.4s ease-in;
    padding-left: 8px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 1.5rem;
    line-height: 1.5;
}

.faq-answer p:first-child {
    margin-top: 0px !important;
}

.faq-answer.visible {
    max-height: 1000px;
    padding: 1.5rem;
}

.faq-question.active {
    background-color: #f0f0f0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


#map {
  height: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: 1em 0 1.5em 0;
  z-index: 0;
}

a.directions {
  display: inline-block;
  padding: 10px 16px;
  margin-bottom: 10px;
  background: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s ease;
  font-size: 14px;
}

a.directions.apple {
  background: #444;
}

a.directions:hover {
  background: #0056b3;
}

a.directions.apple:hover {
  background: #222;
}

.space {
  margin-top: 40px !important;
  padding-top: 0px !important;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    justify-content: center;
    gap: 20px; 
}

.blog-wrapper {
    width: 100%;
    max-width: 1290px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    box-sizing: border-box;
    margin-top: 65px;
}

.card {
display: flex;
flex-direction: column;
overflow: hidden;
  box-sizing: border-box;
  border-radius: 33px;
  box-shadow: -4px 4px 12px 0.1px rgba(0,0,0,0.2);
  position: relative;
  transition: all 0.25s cubic-bezier(.8,1.5,.8,1);
}

.card a {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none;
    color: white;
}

@media (max-width: 929px) {
  .card {
    margin: 0 10px 10px 10px;
      }
      
    .grid-container {
  gap: 8px !important;

  }
}

@media (max-width: 597px) {
  .card {
  margin: 10px !important;
  }
}

@media (max-width: 450px) {
  .card {
  margin: 4px !important;
  }
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: -3px 3px 4px 0.1px rgba(0,0,0,0.25);
}

.grid-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    min-height: 430px;
    border-radius: 30px;
    background-image: linear-gradient(to top, rgba(0, 80, 100, 0.9), rgba(0, 80, 100, 0.1)), linear-gradient(to bottom right, #00CED8da, #00b4c0);
    background-color: #20B2AA;
    padding: 27px;
    text-align: left;
    box-sizing: border-box;
}

.bigtext {
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    letter-spacing: 1px;
    text-align: left;
    margin-top: 0;
} 

.subject {
    font-size: 0.9em;
    color: white;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 6px 10px;
    width: fit-content;
    margin-bottom: 15px;
}

.date {
    font-size: 0.9em;
    color: white;
    text-align: right;
    opacity: 0.9;
   margin-top: auto; 
  padding-top: 1px;
}

.blogtext {
    font-size: 14px;
    color: white;
    text-align: left;
    line-height: 1.6em;
    margin-top: 0;
}

.team-section {
    margin-top: 45px;
    background-color: #f8f9fa;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.team-section h2 {
    margin-bottom: 60px;
    line-height: 0px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-content: center;
}

.team-member {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: center;
}

.team-member .pics {
    width: 420px;
    height: 430px;
    border-radius: 20%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member .name-title {
    margin-top: 0;
}

.team-member h3 {
    margin: 0 0 2px 0;
    font-size: 19px;
}

.team-member .title {
    margin-top: 0;
    font-weight: bold;
    margin-bottom: 0;
    color: #555;
    line-height: 1.5;
}

.team-member .bio {
    margin-top: 10px;
    text-align: left;
    color: #333;
    line-height: 1.7;
}

.faq-answer p {
    font-size: 16px;
}



.search-wrapper {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
    text-align: center;
}


#searchInput {
    width: 85%;
    max-width: 1200px; 
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid;
    border-radius: 25px; 
    box-sizing: border-box;
    outline: none;
    border-color: #00CED8da;
}

#searchInput::placeholder {
    color: #999;
}

#searchInput:focus {
    box-shadow: 0 0 8px rgba(0, 206, 216, 1);
    outline: none;
}

.no-results {
    text-align: center;
    padding: 2em;
    font-style: italic;
    color: #555;
}

ol {
  padding-left: 0px;
  list-style-position: inside;
}

ul {
  list-style-type: disc;
  padding-left: 15px;
}

.marginstuff{
margin-top: 60px !important;
margin-right: 15px;
margin-left: 15px;
}


.info-accordion {
    border: 1px dashed gray;
    border-radius: 8px;
    margin-top: 40px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.info-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.info-accordion-header:hover {
    background-color: #f0f0f0;
}

.info-accordion-header h2 {
    margin: 0;
    font-size: 1.1em;
    padding: 0;
}

.info-toggle-icon {
    font-size: 26px;
    font-weight: 300;
    color: #00CED8da;
    transition: transform 0.3s ease-out;
    padding-left: 15px;
}

.info-accordion-header.active .info-toggle-icon {
    transform: rotate(45deg);
}

.info-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-in-out;
    background-color: #ffffff;
}

.info-accordion-content.visible {
    grid-template-rows: 1fr;
    border-top: 1px solid #e0e0e0;
}

.info-accordion-inner {
    overflow: hidden;
    padding: 0 20px;
    transition: padding 0.5s ease-in-out;
}

.info-accordion-content.visible .info-accordion-inner {
    padding: 20px 20px 25px 20px;
}

.info-accordion-inner ul {
    margin-bottom: 0;
}



.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
}

.scroll-down span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin: -10px;
  animation: scroll 2s infinite;
}

.scroll-down span:nth-child(2) {
  animation-delay: .2s;
}
.scroll-down span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-20px, -20px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(20px, 20px);
  }
}