html {
  scroll-behavior: smooth;
}

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
ticon{
  width: 15px;
  cursor: pointer;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:after, blockquote:before, q:after, q:before {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-results-button, input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type=search] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

audio, canvas, video {
  display: inline-block;
  max-width: 100%;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a:focus {
  outline: thin dotted;
}

a:active, a:hover {
  outline: 0;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

figure {
  margin: 0;
}

form {
  margin: 0;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: .35em .625em .75em;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button, input, select, textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
}

button, input {
  line-height: normal;
}

button, select {
  text-transform: none;
}

button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

input[type=checkbox], input[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

header .inner-container {
  background: rgba(255, 255, 255, 0.3);
  padding: 10px; /* Adjust to match the border width */
  height: 100%;
}

.headerTable{
  width: 500px;
  height: 220px;
  object-fit: cover;
  object-position: 100% 10%;
  --s: 10px; /* control the size */
  padding: var(--s);
  border: calc(2 * var(--s)) solid #0000;
  outline: 1px solid #ffffff;
  outline-offset: calc(-1 * var(--s));
  background: conic-gradient(from 90deg at 1px 1px,#0000 25%,#000 0);
  /*
  background-image: url("../assets/ordinacija/1.jpg");
  */
  margin-inline: auto;
  font-family: "Arial Narrow";
  z-index: 1;
  font-size: 22px;
  color: #4E231A;
}

.mobileMore{
  display: none;
}

.heroMobile{
  display: none;
}

.heroBig{
  display: block;
}

.gallery{
  margin: 2% 2% 2% 3%;
  padding: 2%;
  background: white;
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.background-aviso{
  margin: 2% 2% 2% 3%;
  padding: 2%;
  background: white;
  border-radius: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content2 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 700px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation-name: modalopen;
  animation-duration: 0.4s;
}

@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}

.carousel-img {
  width: 100%;
  height: auto;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #000;
}
.prev-btn {
  left: 20px;
  vertical-align: middle;
}
.next-btn {
  right: 20px;
  vertical-align: middle;
}

button, html, input, select, textarea {
  color: #222;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: .2em 0;
  background: #ccc;
  color: #000;
  padding: .2em 0;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: '';
  clear: both;
  height: 0;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


.visuallyHidden:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0);
  overflow: hidden;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 125%;
  background: #f7f7f7;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #333;
  position: relative;
}

a {
  text-decoration: none;
  color: white;
}

section {
  padding: 80px 0;
}

.outerWrapper {
  width: calc(100% - 90px);
  margin-left: 90px;
  overflow: hidden;
}

.innerWrapper {
  padding: 0 33px;
  max-width: 1140px;
  margin: 0 auto;
}

.sectionContainer {
  background-color: white;
  border-radius: 50px;
  padding: 48px;
}

.sectionHead {
  margin-bottom: 50px;
}

.sectionHead span {
  padding-bottom: 20px;
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  position: relative;
  padding-left: 80px;
  letter-spacing: 1px;
}

.sectionHead span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 50px;
  height: 1px;
  background: #333;
}

.sectionHead h2 {
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 1.6rem;
}

.techStack {
  color: #8444df;
}

.menuButton {
  cursor: pointer;
  position: fixed;
  height: 30px;
  width: 35px;
  padding: 10px;
  top: 35px;
  right: 25px;
  z-index: 20;
  display: none;
}

.menuButton:focus {
  border: 2px solid #4E231A;
}

.menuButton .linesContainer {
  position: relative;
}

.menuButton .linesContainer span, .menuButton .linesContainer span:before, .menuButton .linesContainer span:after {
  border-radius: 5px;
  width: 25px;
  height: 2px;
  background-color: black;
  position: absolute;
  display: block;
  content: '';
}

.menuButton .linesContainer span {
  top: 3px;
  left: -6px;
}

.menuButton .linesContainer span:before {
  top: -10px;
}

.menuButton .linesContainer span:after {
  bottom: -10px;
}

.sideMenu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 105px;
  height: 100vh;
  background-color: #4E231A;
  position: fixed;
  color: white;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  z-index: 10;
}

.sideMenu p {
  text-align: center;
  padding: 30px 15px;
  font-size: 3rem;
  letter-spacing: 1px;
  font-weight: 300;
  background-color: #4E231A;
}

.sideMenu nav {
  padding: 26px;
}

.sideMenu nav a {
  padding: 13px 17px;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 1.3rem;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
  border-radius: 6px;
  width: 100%;
  position: relative;
}

.sideMenu nav a span {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 2px;
  -webkit-transition-duration: 0.2s;
          transition-duration: 0.2s;
  position: absolute;
  left: 55px;
  top: 18px;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.sideMenu nav a:hover, .sideMenu nav a:focus {
  background-color: #f3c4a5;
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
          box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.sideMenu .scrollDown {
  height: 50px;
  position: relative;
  left: 35px;
}

.sideMenu .scrollDown .lni-arrow-down {
  line-height: 1.2;
  font-size: 2rem;
}

.sideMenu .scrollDown .scrollDownText {
  font-size: 0.75rem;
  position: absolute;
  top: 10px;
  left: 30px;
  font-weight: 300;
}

.sideMenu .logo{
  width: 60%;
  margin-inline: auto;
  margin-top: 20px;
}

/*Filter styles*/
.saturate { filter: saturate(0); }
.grayscale { filter: grayscale(100%); }
.contrast { filter: contrast(160%); }
.brightness { filter: brightness(1000%); }
.blur { filter: blur(3px); }
.invert { filter: invert(100%); }
.sepia { filter: sepia(100%); }
.huerotate { filter: hue-rotate(180deg); }
.rss.opacity { filter: opacity(50%); }

.hoverMenu {
  width: 220px;
}

.menuShow {
  display: block;
}

.menuHide {
  display: none;
}

.sideMenuHide {
  left: -300px;
}

.sideMenuShow {
  left: 0;
}

header {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  background-image: url("../Mimi dental clinic-20231028T193750Z-001/Mimi dental clinic/IMG-20231018-WA0006.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 35%; /* Adjust the X and Y offset */
  /* Other styles for the header element */
  position: relative; /* Ensure the header is positioned relative for the overlay */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5); /* Add a shadow under the header */

}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 248, 247, 0.21); /* Adjust the color and opacity for the overlay */
  backdrop-filter: blur(2px); /* Apply a 10px blur to the overlay */
  z-index: 0;
  /* You can also use a gradient for a more stylish overlay */
}

/* Other styles for the header content can go here */


header .heroImageContainer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
  padding: 0 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  position: relative;
}

header .heroImageContainer img {
  /*border-radius: 50%;
  margin: 0 auto;
  height: 350px;
  -webkit-box-shadow: 12px 0 #d9c8f1, 24px 0 #e2d6f3, 36px 0 #ece6f5;
          box-shadow: 12px 0 #d9c8f1, 24px 0 #e2d6f3, 36px 0 #ece6f5;
  overflow: hidden;*/
  width: 400px;
  height: 500px;
  object-fit: cover;
  object-position: 100% 10%;
  --s: 10px; /* control the size */
  padding: var(--s);
  border: calc(2*var(--s)) solid #0000;
  outline: 1px solid #ffffff;
  outline-offset: calc(-1*var(--s));
  background: conic-gradient(from 90deg at 1px 1px,#0000 25%,#000 0);
}

header .heroDescription {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
  padding-left: 7%;
  width: 100%;
  z-index: 1;
}

header .heroDescription .greeting {
  letter-spacing: 1px;
  font-size: 1rem;
  line-height: 1.2;
}

header .heroDescription h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin: 24px 0;
  color: white;
}

header .heroDescription h1 span {
  color: white;
}

header .heroDescription .smallBio {
  letter-spacing: 1px;
  /*
  color: #5F6F81;
  */
  font-size: 1rem;
  min-width: 250px;
  line-height: 1.4;
  color: white;
}

header .heroDescription .smallBio span {
  color: #4E231A;
  font-size: 1.1rem;
}

header .heroDescription .socialsResume {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 30px;
}

header .heroDescription .socialsResume .resumeLink {
  background-color: #4E231A;
  padding: 15px 35px;
  border-radius: 40px;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 300;
  display: inline-block;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

header .heroDescription .socialsResume .resumeLink:hover {
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
          box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

header .heroDescription .socialsResume .resumeLink:focus {
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.socialsList {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 50px;
}

.socialsList li {
  margin: 0 10px;
}

.socialsList li a {
  padding: 9px 10px;
  background-color: white;
  border-radius: 6px;
  color: #4E231A;
  border: 1px solid #eee;
  -webkit-box-shadow: 0px 4px 6px rgba(134, 151, 168, 0.1);
          box-shadow: 0px 4px 6px rgba(134, 151, 168, 0.1);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  display: inline-block;
}

.socialsList li a:hover {
  -webkit-box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
          box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

.socialsList li a:focus {
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.aboutContainer p {
  line-height: 1.2;
}

.aboutContainer p span {
  color: #cd7d6b;
}

.skillsContainer {
  text-align: center;
  font-size: 0.7rem;
}

.skillsGrid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(80px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  grid-column-gap: 50px;
  grid-row-gap: 50px;
}

.skillsGrid li {
  background-color: white;
  padding: 10px;
  border-radius: 15px;
  width: 80px;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  -webkit-box-shadow: 0px 4px 8px rgba(134, 151, 168, 0.1);
          box-shadow: 0px 4px 8px rgba(134, 151, 168, 0.1);
  border: 1px solid #eee;
}

.skillsGrid li p {
  margin-top: 10px;
}

.skillsGrid li img {
  width: 35px;
  height: 35px;
}

.workBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 30px;
  margin-top: 40px;
  border-radius: 15px;
  -webkit-box-shadow: 0px 14px 28px rgba(134, 151, 168, 0.08);
          box-shadow: 0px 14px 28px rgba(134, 151, 168, 0.08);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  border: 1px solid #eee;
}

.workBox:first-child {
  margin-top: 0;
}

.workBox .workImageContainer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 350px;
          flex: 0 0 350px;
  border-radius: 10px;
  height: auto;
  background: white;
  transition: border-color 0.3s ease; /* Add transition for smooth effect */
}

.workBox .workImageContainer:hover {
  border: 1.5px solid #cd7d6b; /* Change 'blue' to the desired color */
}

.workBox .workImageContainer img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.workBox .workDescribeContainer {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 calc(100% - 350px);
          flex: 0 1 calc(100% - 350px);
  margin-left: 25px;
}

.workBox .workDescribeContainer h3 {
  letter-spacing: 1px;
  color: #4E231A;
}

.workBox .workDescribeContainer ul {
  list-style: disc inside;
  font-size: 0.9rem;
  line-height: 1.3;
  letter-spacing: 1px;
  margin-top: 20px;
}

.workBox .workDescribeContainer ul li:not(:first-child) {
  margin-top: 10px;
}

.workBox .workDescribeContainer p {
  font-size: 1rem;
  margin-top: 20px;
}

.workBox .workDescribeContainer h4 {
  font-size: 1rem;
  margin-top: 7px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.workBox .workDescribeContainer h4 span {
  color: #8444df;
  display: inline-block;
  padding: 0 5px;
}

.workBox .workDescribeContainer .workLinks {
  margin-top: 50px;
}

.workBox .workDescribeContainer .workLinks a {
  font-size: 1.1rem;
  margin-right: 20px;
  color: #8444df;
  display: inline-block;
  text-decoration: underline;
}

.workBox .workDescribeContainer .workLinks a:focus {
  border: 2px solid #8444df;
}


.slider-wrapper {
  margin: 1rem;
  position: relative;
  overflow: hidden;
}

.slides-container {
  height: calc(100vh - 2rem);
  width: 100%;
  display: flex;
  overflow: scroll;
  scroll-behavior: smooth;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slide-arrow {
  position: absolute;
  display: flex;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 4rem;
  background-color: white;
  border: none;
  width: 2rem;
  font-size: 3rem;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 100ms;
}

.slide-arrow:hover,
.slide-arrow:focus {
  opacity: 1;
}

#slide-arrow-prev {
  left: 0;
  padding-left: 0.25rem;
  border-radius: 0 2rem 2rem 0;
}

#slide-arrow-next {
  right: 0;
  padding-left: 0.75rem;
  border-radius: 2rem 0 0 2rem;
}

.slide {
  width: 100%;
  height: 100%;
  flex: 1 0 100%;
}

.slide:nth-child(1) {
  background-color: #49b293;
}

.slide:nth-child(2) {
  background-color: #b03532;
}

.slide:nth-child(3) {
  background-color: #6a478f;
  margin: 0;
}

.slide:nth-child(4) {
  background-color: #da6f2b;
}


.contactContainer h3 {
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.contactContainer .contactForm {
  margin-top: 48px;
}

.contactTypes {
  /*display: -webkit-box;
  display: -ms-flexbox;
  display: flex;*/
  text-align: center;
}

.contactTypes .flexContainer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
  width: 100%!important;
}

.contactTypes .flexContainer:first-child {
  padding: 0 15px 0 0;
}

.contactTypes .flexContainer:last-child {
  padding: 0 0 0 15px;
}

.contactTypes .flexContainer .typeBox {
  -webkit-box-shadow: 0px 4px 8px rgba(134, 151, 168, 0.1);
          box-shadow: 0px 4px 8px rgba(134, 151, 168, 0.1);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  border: 1px solid #eee;
  padding: 24px;
  border-radius: 15px;
  width: 100%!important;
}

.contactTypes .flexContainer .typeBox i {
  display: inline-block;
  padding: 18px;
  background: #f7f7f7;
  border-radius: 7px;
  font-size: 1.7rem;
  margin-bottom: 25px;
}

.contactTypes .flexContainer .typeBox .lni-calendar {
  color: #1267d0;
  background-color: #E7EFFA;
}

.contactTypes .flexContainer .typeBox .lni-envelope {
  color: #82c690;
  background-color: #F3F9F4;
}

.contactTypes .flexContainer .typeBox a {
  display: block;
  margin-bottom: 15px;
  color: #333;
  text-decoration: underline;
  font-size: 1rem;
}

.contactTypes .flexContainer .typeBox a:focus {
  border: 2px solid #4E231A;
}

.contactTypes .flexContainer .typeBox p {
  font-size: 0.8rem;
  color: #5F6F81;
}

.contactFormContainer {
  margin-top: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.contactFormContainer form {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;
  -webkit-column-gap: 25px;
          column-gap: 25px;
  margin-bottom: 35px;
}

.contactFormContainer form input,
.contactFormContainer form textarea {
  border: 1px solid #eee;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  padding: 11px 20px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  width: 100%;
}

.contactFormContainer form input:focus,
.contactFormContainer form textarea:focus {
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contactFormContainer form textarea {
  resize: none;
}

.contactFormContainer form ::-webkit-input-placeholder {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #6c757d;
  opacity: 1;
  font-family: 'Poppins', sans-serif;
}

.contactFormContainer form :-ms-input-placeholder {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #6c757d;
  opacity: 1;
  font-family: 'Poppins', sans-serif;
}

.contactFormContainer form ::-ms-input-placeholder {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #6c757d;
  opacity: 1;
  font-family: 'Poppins', sans-serif;
}

.contactFormContainer form ::placeholder {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #6c757d;
  opacity: 1;
  font-family: 'Poppins', sans-serif;
}

.contactFormContainer form .subjectInput,
.contactFormContainer form .messageInput {
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-column: 1 /3;
}


.contactFormContainer button {
  padding: 14px 40px;
  font-size: 0.9rem;
  border: none;
  background-color: #4E231A;
  color: white;
  letter-spacing: 1px;
  border-radius: 40px;
  width: 140px;
  margin: 0 auto;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.contactFormContainer button:focus {
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contactFormContainer button:hover {
  -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
}

.contactFormContainer h3 {
  text-align: left;
}

.contactPhoneContainer {
  margin-top: 48px; 
  text-align: left;
}

.contactPhoneContainer #phone1 {
  display: inline-flex; 
  padding-right: 15px;

}
.contactPhoneContainer #phone2 {
  padding-right: 15px;
/*  text-decoration: underline;*/
}

/*.contactPhoneContainer #phone3 {
  text-decoration: underline;
}*/

@media (max-width: 640px) {
  .contactPhoneContainer #phone1 {
    display: block;
    margin-bottom: 10px;
  }
  
  
}

/*footer {
  padding: 20px;
  background-color: white;
}

footer p {
  width: 80%;
  margin: 0 auto;
  color: #333;
  font-size: 1rem;
  text-align: center;
}*/

.image-grid {
  display: flex;
}

.leftSide, .rightSide{
  width: 20%;
}


.middle{
  width: 60%;
}

.image-grid .column {
  flex: 1;
  text-align: center;
}

.leftSide img, .rightSide img {
  width: 80%;
  height: 150px;
  margin: 5px;
  cursor: pointer;
  object-fit: cover;
  border-radius: 5px; /* Adding rounded corners */
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Adding a shadow effect */
  transition: transform 0.3s ease; /* Adding a transition for a lifting effect */
}

.middle img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  margin: 5px;
  cursor: pointer;
  border-radius: 2px; /* Adding rounded corners */
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Adding a shadow effect */
  transition: transform 0.7s ease; /* Adding a transition for a lifting effect */
}

.middle {
  margin-top: auto;
  margin-bottom: auto;
}

.leftSide img:hover,  .rightSide img:hover{
  transform: scale(1.3, 1.3);
}

/**********************/
/*   MAX WIDTH 1040PX */
/**********************/
@media (max-width: 1040px) {

  header {
    background-image: url("../Mimi dental clinic-20231028T193750Z-001/bg2.jpg");
    /* background-repeat: no-repeat;
     background-size: cover;
     background-position: 0 35%; !* Adjust the X and Y offset *!*/
  }
  header::before{
    position: absolute;
    z-index: 0;
    background-color: rgba(255, 248, 247, 0); /* Adjust the color and opacity for the overlay */
    backdrop-filter: blur(0px); /* Apply a 10px blur to the overlay */
  }

  header .heroDescription .smallBio span{
    /*
    text-shadow: 1px 1px 1px #4E231A;
    */
    color: #333!important;
  }
  
  .contactFormContainer form {
    -ms-grid-columns: (1fr)[1];
        grid-template-columns: repeat(1, 1fr);
  }
  .contactFormContainer form .subjectInput,
  .contactFormContainer form .messageInput {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 /2;
  }
}

/**********************/
/*   MIN WIDTH 991PX  */
/**********************/
@media (min-width: 991px) {


  
  .navItemName {
    display: none;
  }
  .sideMenu:hover {
    width: 220px;
  }
  .sideMenu:hover .navItemName {
    display: block;
  }
}

/**********************/
/*   MAX WIDTH 990PX  */
/**********************/
@media (max-width: 900px) {
  .outerWrapper {
    width: 100%;
    margin-left: 0;
  }
  .sideMenu {
    width: 220px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .sideMenu nav {
    margin-top: 40px;
  }
  .menuButton {
    display: block;
  }
  header {
    display: block;
    padding: 80px 0;
    height: auto;
  }

  header::before {              
    z-index: 0;
    /* You can also use a gradient for a more stylish overlay */
  }
  
  header .headerTable{
    margin-top: 20px;
    width: 80%;
    /*
    font-size: 15px;
    */
    font-size: 0.9375rem;
    height: 170px;
  }
  
  /*header table {
    width: 80%!important;
  }*/
  
  #tableTitle{
    text-align: center;
  }

  header .heroDescription {
    text-align: center;
    margin-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
  }
  
  header .heroDescription .socialsResume {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  header .heroDescription h1 {
    color: #4E231A;
  }

  header .heroDescription h1 span {
    color: #4E231A;
  }
  
  header .heroDescription .smallBio span {
    color: white;
    font-size: 1.1rem;
  }
  
  .socialsList {
    margin-left: 10px;
  }
  
}

/**********************/
/*   MIN WIDTH 768PX  */
/**********************/
@media (min-width: 768px) {
  .skillsGrid li:hover {
    -webkit-box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  }
  .workBox:hover {
    -webkit-box-shadow: 5px 14px 28px rgba(134, 151, 168, 0.2);
            box-shadow: 5px 14px 28px rgba(134, 151, 168, 0.2);
  }
  .contactTypes .flexContainer .typeBox:hover {
    -webkit-box-shadow: 0px 14px 28px rgba(134, 151, 168, 0.08);
            box-shadow: 0px 14px 28px rgba(134, 151, 168, 0.08);
  }
}

/**********************/
/*   MAX WIDTH 767PX  */
/**********************/
@media (max-width: 767px) {
  
  .innerWrapper {
    padding: 0 15px;
  }
  header .heroImageContainer img {
    width: 250px;
    height: 250px;
  }
  .sectionContainer {
    background-color: transparent;
    padding: 0;
  }
  .aboutContainer {
    line-height: 1.3;
    font-size: 0.8rem;
    text-align: justify;
  }
  .workBox {
    display: block;
    padding: 0;
  }
  .workBox .workImageContainer {
    max-width: 500px;
    margin: 0 auto;
  }
  .workBox .workDescribeContainer {
    margin-left: 0;
    margin-top: 20px;
    padding: 20px;
  }
  .workBox .workDescribeContainer p{
    font-size: 0.9rem;
    text-align: justify;
    line-height: 1.2;
  }
  .workBox .workDescribeContainer .workLinks {
    margin-top: 25px;
  }
  .skillsGrid {
    row-gap: 15px;
    -webkit-column-gap: 15px;
            column-gap: 15px;
  }
  .contactTypes {
    display: block;
  }
  .contactTypes .flexContainer {
    max-width: 100%;
  }
  .contactTypes .flexContainer:first-child {
    padding: 0;
  }
  .contactTypes .flexContainer:last-child {
    padding: 0;
  }
  .contactTypes .flexContainer .typeBox:first-child {
    margin-bottom: 15px;
  }

  .image-grid {
    display: flex;
    flex-direction: column; /* Change the flex-direction to column for mobile view */
  }

  .column {
    flex: 1;
    text-align: center;
  }

  .leftSide, .rightSide{
    width: 100%;
  }
  
  .middle{
    width: 100%;
  }

  .leftSide img, .rightSide img {
    width: 18%;
    height: 100px;
    margin-inline: auto;
  }

  .middle img {
    width: 100%;
    max-height: 600px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-inline: auto;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
  
  

}

/**********************/
/*   MAX WIDTH 545PX  */
/**********************/

@media (max-width: 545px) {
  
  .leftSide img, .rightSide img {
    width: 17%;
    height: 50px;
    margin-inline: auto;
  }

  .middle img {
    width: 100%;
    max-height: 410px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-inline: auto;
  }

  .heroMobile{
    display: block!important;
  }

  .heroBig{
    display: none!important;
  }
  
}

/**********************/
/*   MAX WIDTH 400PX  */
/**********************/
@media (max-width: 400px) {
  header {
    padding: 40px 0;
  }
  header .heroDescription .socialsResume {
    display: block;
  }
  /*header .heroImageContainer img {
    -webkit-box-shadow: 12px 0 #d9c8f1;
            box-shadow: 12px 0 #d9c8f1;
  }*/

  header .headerTable{
    font-size: 0.8rem;
    height: 200px;
  }
  
  .headerTable .inner-container{
    background: rgba(255, 255, 255, 0.4);
  }

  .socialsList {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-left: 0;
    margin-top: 30px;
  }
  .contactFormContainer form input,
  .contactFormContainer form textarea {
    max-width: 380px;
  }

  .bigHours {
    display: none;
  }

  .mobileHours{
    display: inherit!important;
    font-size: 14px;
  }
  
  .mobileMore{
    display: block;
    font-size: 14px;
  }
  
  header .headerTable .mobileHoursTd {
    vertical-align: middle;
  }

  header .headerTable td {
    padding-bottom: 3px;
  }

  
}



/*LOADING PAGE*/

/*#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4E231A; !* Or any background *!
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}*/

.spinner {
  border: 8px solid #f3f3f3; /* Light gray */
  border-top: 8px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4E231A;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loading-gif {
  width: 100px; /* adjust size as needed */
  height: auto;
}



/*PHONES DROPBOX*/

.phone-dropdown {
  position: relative;
  display: inline-block;
}

.phone-toggle {
  cursor: pointer;
  padding: 5px;
}

.phone-box {
  display: none;
  position: absolute;
  bottom: -95px; /* adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 100;
  white-space: nowrap;
}

/* Tooltip arrow (the tail of the speech bubble) */
.phone-box::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 8px 10px 8px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

/* Optional: shadow for arrow */
.phone-box::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 9px 11px 9px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  z-index: -1;
}

.phone-dropdown:hover .phone-box,
.phone-dropdown:focus-within .phone-box {
  display: block;
}

.phone-box a {
  display: block;
  color: #333;
  text-decoration: none;
  margin-bottom: 4px;
}

.phone-box a:hover {
  text-decoration: underline;
}


/* Footer Styles */
.site-footer {
  background-color: white; /* bg-gray-800 */
  color: #6b7280; /* text-gray-300 */
  padding-top: 3rem; /* pt-12 */
  padding-bottom: 1.5rem; /* pb-6 */
}

.footer-container {
  /*
  max-width: 1280px; !* Standard container max-width *!
  */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem; /* px-6 */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem; /* gap-8 */
  margin-bottom: 2rem; /* mb-8 */
  margin-left: 2%;
  margin-right: 2%;
}

/* Responsive Grid Columns */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Footer Column Content */
.footer-column .clinic-logo {
  margin-bottom: 1rem; /* mb-4 */
  border-radius: 0.25rem; /* rounded */
}

.footer-column p {
  margin-bottom: 1rem; /* mb-4 */
  font-size: 0.875rem; /* text-sm */
  line-height: 1.6;
}

.footer-socials {
  display: flex;
}
.footer-socials a {
  margin-right: 1rem; /* space-x-4 */
  color: #9ca3af; /* text-gray-400 */
  transition: color 0.3s ease;
}
.footer-socials a:hover {
  color: #ffffff; /* hover:text-white */
}
.footer-socials i {
  font-size: 1.25rem; /* fa-lg */
}

.footer-heading {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  color: #4E231A; /* text-white */
  margin-bottom: 1rem; /* mb-4 */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem; /* text-sm */
}
.footer-links li {
  margin-bottom: 0.5rem; /* space-y-2 */
}
.footer-links a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #4E231A; /* hover:text-white */
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem; /* text-sm */
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem; /* space-y-3 */
}
.footer-contact-list i {
  width: 1.25rem; /* w-5 */
  margin-top: 0.25rem; /* mt-1 */
  color: #9ca3af; /* text-gray-400 */
}
.footer-contact-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-contact-list a:hover {
  color: #4E231A; 
}

/* Bottom Sections */
.footer-separator {
  border-top: 1px solid #374151; /* border-t border-gray-700 */
  padding-top: 1.5rem; /* pt-6 */
  margin-top: 2rem; /* mt-8 */
  margin-left: 2%;
  margin-right: 2%;
}

.footer-seo-text {
  font-size: 0.75rem; /* text-xs */
  color: #6b7280; /* text-gray-500 */
  line-height: 1.5;
}
.footer-seo-text strong {
  color:#4E231A;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem; /* text-xs */
  color: #6b7280; /* text-gray-500 */
  margin-top: 1.5rem; /* mt-6 */
  padding-top: 1.5rem; /* pt-6 */
  border-top: 1px solid #374151; /* border-t border-gray-700 */
  margin-left: 2%;
  margin-right: 2%;
}

.footer-copyright {
  margin-bottom: 1rem; /* mb-4 */
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
  .footer-copyright {
    margin-bottom: 0;
  }

  #left_footer_column {
    text-align: left;
    padding-right: 70px!important;
  }
}

.footer-creator {
  display: flex;
  align-items: center;
}
.footer-creator span {
  margin-right: 0.5rem; /* mr-2 */
}
.footer-creator a {
  color: inherit;
  transition: color 0.3s ease;
}
.footer-creator a:hover {
  color: #4E231A; /* hover:text-white */
}
.footer-creator svg {
  width: 6rem; /* w-24 */
  height: auto;
}



@media (max-width: 640px) {
  .footer-container {
    text-align: center!important;
  }

  #left_footer_column {
    text-align: center; 
    padding-right: 0px;
  }

  .footer-contact-list li {
    display: block;
  }
  
}



/*CONSENT FORM*/

/* --- STYLES FOR THE PRIVACY SECTION --- */

@media (min-width: 640px) {

  .form-group.grid-span-2 {
    grid-column: 1 / 3;
  }
}

.privacy-consent-container {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-align: left; /* Center the container's content */
}

.privacy-checkbox-line {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; /* Center the checkbox and its label */
  margin-bottom: 1rem;
}

#privacy-checkbox {
  width: auto; /* Override default width */
  margin-right: 0.75rem;
  accent-color: #007bff; /* Style the check color */
  cursor: pointer;
}

.privacy-checkbox-line label {
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
}

.privacy-checkbox-line a {
  color: #007bff;
  text-decoration: none;
}

.privacy-checkbox-line a:hover {
  text-decoration: underline;
}

.privacy-legal-text {
  font-size: 0.75rem;
  color: #777;
  background-color: #f0f0f0;
  padding: 0.75rem;
  border-radius: 4px;
  line-height: 1.5;
  text-align: left; /* Keep legal text left-aligned for readability */
}

.privacy-legal-text p {
  margin: 0 0 0.5rem 0;
}
.privacy-legal-text strong {
  color: #333;
}
/* --- END OF PRIVACY STYLES --- */


/*COOKIES*/


:root {
  --cookie-banner-bg: rgba(255, 255, 255, 0.8);
  --cookie-text-color: #4E231A;
  --cookie-button-bg: #4E231A;
  --cookie-button-hover-bg: #653f3b;
  --cookie-link-color: #4b5563;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--cookie-banner-bg);
  color: var(--cookie-text-color);
  padding: 1.5rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  font-family: sans-serif;
}

.cookie-consent-banner.active {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--cookie-link-color);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.cookie-accept-all {
  background-color: var(--cookie-button-bg);
  color: white;
}
.cookie-accept-all:hover {
  background-color: var(--cookie-button-hover-bg);
}

.cookie-configure {
  background-color: #4b5563;
  color: white;
}
.cookie-configure:hover {
  background-color: #374151;
}

/* Modal Styles */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}

.cookie-modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  color: #333;
}

.cookie-modal-content h3 {
  margin-top: 0;
}

.cookie-category {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-category-header label {
  font-weight: bold;
}

.cookie-category p {
  font-size: 0.7rem;
  color: #6b7280;
  margin: 0.5rem 0 0 0;
}

/* Toggle Switch CSS */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 28px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--cookie-button-bg);
}
input:disabled + .slider {
  background-color: #9ca3af;
  cursor: not-allowed;
}
input:checked + .slider:before {
  transform: translateX(22px);
}

.cookie-modal-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}