@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --color--green: #a0a621;
}

.fixed-footer-mobile, .fixed-footer-desktop {
  text-align: center;
  width: 100%;
  color: var(--color--green);
  position: fixed;
  line-height: 25px;
  background-color: white;
  bottom: 0;
  z-index: 9999;
  font-weight: 100;
  font-size: 12px;
  border-top: solid 1px #eee;
  padding: 20px 20px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.sidebar-open .fixed-footer-desktop {
  -ms-transform: translate(300px, 0);
  -webkit-transform: translate(300px, 0);
  transform: translate(300px, 0);
}

.swiper-container .nav-arrow {
  top: calc(50% - 94px);
}

#content {
  height: calc(100% - 66px);
}

.fixed-footer-mobile {
  padding: 10px 10px;
}

.fixed-footer-desktop {
  display: block;
}

.fixed-footer-mobile {
  display: none;
}

@media (max-width: 991px) {
  .fixed-footer-desktop {
    display: none;
  }

  .fixed-footer-mobile {
    display: block;
  }
}

article.personal-profile > div {
  height: 260px;
}

.filter-dropdown .selected {
  height: 50px;
  overflow: hidden;
}

.filter-dropdown {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 312px;
  margin: 0;
  word-break: break-all;
}

.filter-dropdown.architect-filter {
  z-index: 4;
}

.filter {
  padding-right: 680px !important;
}

@media (max-width: 1399px) {
  .page-template-template-portfolio #heading h1 {
    min-height: 102px;
  }

  .filter {
    padding-right: 350px !important;
  }

  .filter-dropdown {
    word-break: break-all;
    top: auto;
  }

  .filter-dropdown.architect-filter {
    z-index: 4;
  }
}

@media (max-width: 991px) {
  .page-template-template-portfolio #heading h1 {
    min-height: 32px;
  }

  .filter-dropdown.architect-filter {
  }

  .filter {
    padding-right: 20px !important;
  }

  .filter-dropdown, .filter-dropdown.architect-filter {
    width: 100%;
    position: relative;
    right: 0;
    top: 0;
    text-align: left;
  }
}

.grid-services {
  display: grid;
  grid-gap: 24px;
  @media screen and (min-width: 720px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (min-width: 1600px) {
    grid-template-columns: 3fr 2fr 3fr 2fr;
  }
}

.grid-services__service {
  padding: 42px 30px 88px;
  background-color: white;
}

body h1,
body #heading h1 {
  text-transform: uppercase;
  color: #333333;
  letter-spacing: 4px;
}

body h2,
body #heading h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.page-template-template-services #heading {
  margin-top: 24px;
}

.page-template-template-services h2 {
  margin-top: 24px;
  text-wrap: balance;
}

body .grid-services__service img {
  display: block;
  object-position: left center;
  object-fit: contain;
  width: 84px;
  height: 84px;
  margin-bottom: 42px;
}

body .grid-services__service h2 {
  margin-top: 0;
  margin-bottom: 22px;
  font-size: 22px;
  line-height: 1.2;
}

body .grid-services__service ul {
  margin-left: 12px;
  font-size: 14px;
  line-height: 1.75;
}

/** THIS WAS IN WP BACKEND CSS */
#sidebar-button {
  background: url("/wp-content/uploads/2015/12/burger.svg") no-repeat;
}

#portfolio-close {
  background: url("/wp-content/uploads/2015/12/exit.svg");
}

.fullscreen-slider .nav-right {
  background-image: url("/wp-content/themes/atrium/images/arrow-right.svg") !important;
}

.fullscreen-slider .nav-left {
  background-image: url("/wp-content/themes/atrium/images/arrow-left.svg") !important;
  width: 80px;
  height: 80px;
  margin: 20px;
}

/** END THIS WAS IN WP BACKEND CSS */


body.page-template-template-homepage {
  height: auto;
  background-color: #F2F2F2;
}

body.page-template-template-homepage #main-wrapper {
  height: auto;
}

body.page-template-template-homepage #content {
  height: calc(100dvh - 66px);
}


.home-arch-grid {
  display: grid;
  margin-top: 48px;
  padding-bottom: 5%;
  @media screen and (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-arch-grid__item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/2;
  @media screen and (min-width: 1024px) {
    aspect-ratio: 640/840;
  }
}

.home-arch-grid__item:nth-child(2) {
  @media screen and (min-width: 1024px) {
    top: -7.5%;
  }
}

.home-arch-grid__item:nth-child(3) {
  @media screen and (min-width: 1024px) {
    top: 7.5%;
  }
}

.home-arch-grid__item img {
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.home-arch-grid__item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(51, 51, 51, 0.69);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-arch-grid__item-overlay p {
  margin-bottom: 0;
  font-size: 24px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.home-arch-grid__item:hover .home-arch-grid__item-overlay {
  opacity: 1;
}

.home-content-bottom {
  margin-top: 48px;
  padding-bottom: 256px;
}

.home-content-bottom h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 32px;
  background-color: var(--color--green);
  border: 2px solid var(--color--green);
  color: white;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: .2s linear;
  letter-spacing: 2px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  @media screen and (min-width: 767px) {
    padding: 12px 64px;
    font-size: 16px;
  }
}

.button:hover {
  background-color: transparent;
  color: var(--color--green);
}

.architecture-type-filters .button {
  padding-left: 32px;
  padding-right: 32px;
}

.architecture-type-filters .button.active {
  background-color: transparent;
  color: var(--color--green);
}

.architecture-type-filters {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  @media screen and (max-width: 1200px) {
    margin-top: 24px;
  }
  @media screen and (max-width: 620px) {
    display: grid;
  }
}

.underline-link {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  transition: .2s linear;
}

.underline-link:after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color--green);
  transition: .2s linear;
}

.underline-link:hover:after {
  height: 4px;
}

.home-content-bottom .home-arch-link {
  display: flex;
  justify-content: flex-end;
}

.home-arch-intro p {
  margin-bottom: 48px;
}

.swiper h3 {
  text-wrap: balance;
}

.home-arch-interieur {
  display: grid;
  gap: 36px;
  padding-top: 36px;
  padding-right: 36px;
  padding-left: 36px;
  @media screen and (min-width: 1024px) {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    place-items: center;
    padding-right: 80px;
    padding-left: 80px;
  }
}

.home-arch-interieur__img-wrapper {
  aspect-ratio: 1/1;
  position: relative;
  height: 100%;
  width: 100%;
  @media screen and (min-width: 1920px) {
    aspect-ratio: 3/2;
  }
}

.home-arch-interieur__img-wrapper img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.home-arch-interieur p {
  margin-bottom: 48px;
}

.home-arch-interieur__card {
  padding: 36px;
  background-color: white;
  @media screen and (min-width: 1024px) {
    padding: 72px;
  }
}

.about-cards {
  display: grid;
  gap: 24px;
  @media screen and (min-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-cards__card {
  background-color: white;
  padding: 24px;
}

body.page-template-template-team h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.2;
}

body.page-template-template-team h3 {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color--green);
}

body.page-template-template-team #heading header h2 {
  opacity: 1;
  margin-left: 0;
  color: var(--color--green);
  text-transform: none;
  letter-spacing: normal;
}

body.page-template-template-team #heading header h2:before {
  content: none;
}

body.page-template-template-team #heading header p {
  text-transform: none;
}

.team-intro {
  display: grid;
  gap: 48px;
  padding-left: 40px;
  padding-right: 40px;
  font-size: 18px;
  @media screen and (min-width: 1024px) {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    place-items: center;
    padding: 0;
  }
}

.team-intro__img-wrapper {
  aspect-ratio: 950/430;
  position: relative;
  height: 100%;
  width: 100%;
}

.team-intro__img-wrapper img {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.team-intro__texts-wrapper {
  @media screen and (min-width: 1024px) {
    padding-right: 80px;
    padding-left: 25px;
  }
}

#nav-arrows {
  z-index: 1;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: none;
  width: 100%;
  height: 100%;
}

#nav-arrows > *.hidden {
  display: block !important;
}

#nav-arrows a {
  transform: scale(1.5);
}

.about-cards__card p:not(:last-child) {
  margin-bottom: 1rem;
}

.about-cards__card strong {
  font-weight: 700;
}

.page-template-template-portfolio .swiper-container {
  background-color: white;
}

.page-template-template-portfolio  .project-slider-image {
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.filter {
  padding-right: 0 !important;
}

.home .swiper-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

a:focus {
  color: currentColor;
  text-decoration: inherit;
}

.portfolio-title {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  @media screen and (max-width: 1120px) {
    flex-direction: column;
    gap: 0;
  }
}

.portfolio-select-filters {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 18px;
  @media screen and (max-width: 1120px) {
    margin-top: 0;
    justify-content: stretch;
  }
  @media screen and (max-width: 620px) {
    margin-top: 18px;
    display: grid;
  }
}