/* Colors */
body.page-template-szoreg {
  --dark-yellow: #c6b4a4;
  --yellow: #f1eedf;
  --yellow2: #ddd2c8;
  --blue: #203566;
  --black: #291814;
}

/* Header */
#header23 .topbar {
  background: var(--dark-yellow);
}

#header23 .btn {
  color: var(--blue);
}

#header23 .btn2 {
  background: transparent;
}

#header23 .topbar .address {
  color: var(--black);
}

/* Main */
.container2 {
  max-width: 1370px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

#hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#hero::after {
  content: 'NOVODENT';
  position: absolute;
  font-size: 68px;
  line-height: 50px;
  bottom: 0;
  right: 0;
  text-transform: uppercase;
  color: #fff;
  font-family: 'Montserrat';
  font-weight: 700;
}

#hero .container {
  padding-top: 140px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 1010px;
}

#hero .title {
  margin-bottom: 54px;
}

#hero .title > * {
  color: var(--yellow1);
  font-size: 28px;
  line-height: 40px;
  font-weight: 700;
  font-family: 'Montserrat';
}

#hero .btn {
  background: var(--yellow);
  color: var(--blue);
}

#new {
  overflow: hidden;
  background: var(--yellow2);
}

#new .container2 {
  display: flex;
}

#new .left {
  width: 423px;
  min-width: 300px;
  z-index: 2;
  position: relative;
  overflow: hidden;
  background: var(--yellow2);
  flex-shrink: 0;
}

#new .left .inner {
  max-width: 340px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#new .right {
  flex-grow: 1;
  background-color: #fff;
  padding-top: 200px;
  padding-bottom: 200px;
  position: relative;
  z-index: 1;
}

#new .right::before {
  content: '';
  position: absolute;
  background-color: #fff;
  top: 0;
  bottom: 0;
  left: 100%;
  right: -100vw;
  pointer-events: none;
  z-index: -1;
}

#new .title {
  font-family: 'Montserrat';
  text-transform: uppercase;
}

#new .text {
  font-family: 'Montserrat';
}

#new .left .title {
  font-weight: 600;
  margin-bottom: 45px;
  font-size: 18px;
  position: relative;
}

#new .left .title::after {
  content: '';
  position: absolute;
  background: #3E3E3C;
  height: 1px;
  bottom: -15px;
  left: 0;
  right: -300px;
}

#new .left .text {
  font-size: 17px;
  text-transform: uppercase;
  padding-left: 37px;
}

#new .left .text p {
  margin-bottom: 50px;
}

#new .left .text:last-child p:last-child {
  margin-bottom: 0;
}

#new .right .title {
  padding-left: 71px;
  font-size: 32px;
  margin-bottom: 48px;
  position: relative;
  width: fit-content;
}

#new .right .title::after {
  content: '';
  position: absolute;
  background: #3E3E3C;
  height: 1px;
  bottom: -28px;
  left: 0;
  width: 372px;
}

#new .right .text {
  padding-left: 103px;
  font-size: 19px;
  max-width: 720px;
}

#new .right .text p {
  line-height: 26px;
  margin-bottom: 24px;
}

#new .right .text strong {
  font-weight: 500;
}

#new .right .images {
  display: flex;
}

#new .right img {
  max-height: 163px;
}

#new .mobileimg {
  display: none;
}

#form {
  background-color: var(--blue);
  padding-top: 87px;
  padding-bottom: 62px;
}

#form .container {
  text-align: center;
  color: #fff;
  max-width: 810px;
}

#form .title {
  text-transform: uppercase;
  font-size: 31px;
  font-family: 'Montserrat';
  margin-bottom: 20px;
  color: #fff;
}

#form .text p {
  font-weight: 500;
  font-family: 'Montserrat';
  font-size: 18px;
  color: #fff;
}

#form .wpcf7 {
  margin-top: 49px;
}

#form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 22px;
}

#form form p:nth-last-child(1),
#form form p:nth-last-child(2),
#form form p:nth-last-child(3),
#form form p:nth-last-child(4) {
  grid-column: 1 / 3;
}

#form .wpcf7-submit {
  max-width: 270px;
  margin-top: 5px;
  height: 50px;
  line-height: 50px;
  background-color: var(--yellow1);
  border: 2px solid var(--yellow1);
  color: var(--blue2);
  text-transform: uppercase;
  font-size: 18px;
  font-family: 'Montserrat';
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

#form .wpcf7-submit:hover {
  background-color: var(--blue2);
  color: var(--yellow1);
}

#form select,
#form input[type="email"],
#form input[type="tel"],
#form input[type="text"] {
  height: 55px;
  font-family: 'Montserrat';
}

#form textarea {
  height: 193px;
  font-family: 'Montserrat';
  padding-top: 10px;
}

#form .mtitle {
  display: none;
}

#reviews {
  padding: 50px 0;
}

#team,
#team .right {
  /* background: #f6f6fa; */
}

#team .left::before,
#team .left {
  background: var(--yellow2);
}

#team2 .right {
  padding-bottom: 100px;
}

.csapat-reszlet {
  /* background: var(--yellow2); */
}

.csapat-reszlet .container {
  /* background: #fff; */
}

.csapat-reszlet .inner {
  display: flex;
  padding-top: 74px;
  padding-bottom: 60px;
  padding-left: 37px;
  gap: 80px;
}

.csapat-reszlet .left {
  width: 70%;
  flex-grow: 1;
}

.csapat-reszlet .right {
  width: 42%;
  flex-grow: 1;
}

.csapat-reszlet .title {
  font-size: 32px;
  text-transform: uppercase;
  position: relative;
  font-family: 'Montserrat';
  margin-bottom: 45px;
  /* padding-left: 37px; */
}

.csapat-reszlet .title::after {
  content: '';
  position: absolute;
  background: #3E3E3C;
  height: 1px;
  bottom: -18px;
  left: -37px;
  width: 622px;
}

.csapat-reszlet .left {
  font-size: 16px;
  font-family: 'Montserrat';
}

.csapat-reszlet h2 {
  display: block;
  text-decoration: none;
  margin-bottom: 23px;
  font-weight: 700;
}

.csapat-reszlet ul {
  list-style: disc;
  list-style-type: none;
  line-height: 1.27;
}
.csapat-reszlet ul > li:before {
  content: "-";
  margin: 0 7px 0 2px;
}

.csapat-reszlet blockquote {
  background: #ece6e1;
  color: var(--blue);
  margin-top: 23px;
  width: fit-content;
}

.csapat-reszlet blockquote p {
  color: var(--blue);
}

#hours {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-transform: uppercase;
}

#hours .container {
  display: flex;
  justify-content: end;
  font-family: 'Montserrat';
}

#hours .title {
  color: #fff;
  text-transform: uppercase;
  position: relative;
  font-size: 33px;
  margin-bottom: 67px;
  padding-left: 38px;
  display: block;
  width: fit-content;
}

#hours .title::after {
  content: '';
  position: absolute;
  background: #fff;
  height: 1px;
  bottom: -20px;
  left: 0;
  right: -90px;
}

#hours .text {
  padding-left: 64px;
}

#hours .text p {
  color: #f1eedf;
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 1em;
}

#hours .text p:last-child {
  margin-bottom: 0;
}

#hours .inner {
  background-color: rgba(41, 24, 20, 0.5);
  overflow: hidden;
  padding: 74px 0 185px 0;
  margin-right: 76px;
  width: 590px;
  max-width: 100%;
}

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

  #new .right .text,
  #new .right .title {
    padding-left: 40px;
  }

  #new .left {
    flex-shrink: 1;
  }

  #new .left .inner {
    max-width: 100%;
  }
}

@media screen and (max-width: 992px) {
  #hero .container {
    justify-content: start;
    text-align: center;
    padding-top: 155px;
    min-height: 455px;
  }

  #hero .title > * {
    font-size: 19px;
    line-height: 29px;
  }

  #hero .btn {
    margin: 0 auto;
    padding: 0 22px;
  }

  #new .container2 {
    flex-direction: column-reverse;
  }

  #new .right {
    background-color: transparent;
    padding-top: 50px;
    padding-bottom: 0;
  }

  #new .left .text p {
    margin-bottom: 30px;
  }

  #new .right::before {
    left: -100vw;
  }

  #new .right .title {
    font-size: 24px;
    line-height: 33px;
    margin-bottom: 43px;
  }

  #new .right .text,
  #new .right .title {
    padding-left: 0;
  }

  #new .right .title::after {
    bottom: -18px;
    left: -100vw;
    width: auto;
    right: 200px;
  }

  #new .right .text {
    margin-bottom: 43px;
  }

  #new .right .text p {
    line-height: 28px;
  }

  #new .right .images {
    display: none;
  }

  #new .left {
    padding-top: 50px;
    overflow: visible;
    margin-bottom: 40px;
    background-color: transparent;
  }

  #new .left .text {
    padding-left: 25px;
  }

  #new .left .title::after {
    left: -100vw;
    bottom: -24px;
    right: 118px;
  }

  #new .mobileimg {
    display: block;
  }

  #new .mobileimg img {
    height: 225px;
    object-fit: cover;
    width: 100vw;
  }

  #form {
    padding-top: 65px;
    padding-bottom: 71px;
  }

  #form .title {
    display: none;
  }

  #form .mtitle {
    display: block;
    position: relative;
    text-transform: uppercase;
    font-family: 'Montserrat';
    color: #fff;
    font-size: 24px;
    text-align: left;
    margin-bottom: 44px;
  }

  #form .mtitle::after {
    content: '';
    position: absolute;
    left: -100vw;
    bottom: -16px;
    right: 118px;
    height: 1px;
    background: #fff;
  }

  #form .text {
    text-align: left;
  }

  #form .text p {
    font-size: 21px;
    line-height: 28px;
  }

  #form form {
    grid-template-columns: 1fr;
  }

  #form form p,
  #form form p {
    grid-column: unset !important;
  }

  #form .wpcf7 {
    margin-top: 26px;
  }

  #form textarea {
    height: 120px;
  }

  #form .wpcf7-submit {
    height: 43px;
    line-height: 40px;
    font-size: 14px;
    max-width: 220px;
  }

  .team .innerm .title {
    display: none;
  }

  .csapat-reszlet {
    overflow: hidden;
  }

  .csapat-reszlet .inner {
    padding: 0 0 40px 0;
  }

  .csapat-reszlet .right {
    display: none;
  }

  .csapat-reszlet .title {
    padding: 0;
    font-size: 24px;
    width: fit-content;
  }

  #team2 .right {
    padding-bottom: 50px;
  }

  #hours .container {
    padding: 0;
  }

  #hours .inner {
    margin: 119px 0 118px 0;
    padding: 47px 30px 114px 30px;
    width: 100%;
  }

  #hours .title {
    font-size: 24px;
    padding-left: 0;
    margin-bottom: 51px;
  }

  #hours .title::after {
    left: -100vw;
    right: -60px;
  }

  #hours .text {
    padding-left: 18px;
  }
}

@media screen and (max-width: 768px ) {
  #new .right .text p,
  #form .text p {
    font-size: 18px;
    line-height: 24px;
  }

  .team .swiper {
    margin-top: 50px;
  }

}