/*
 THEME NAME: Atrium
 AUTHOR: _dilanyan
 VERSION: 1.0
 */
/*FONTS*/
@font-face {
  font-family: 'Tahoma';
  font-display: swap;
  src: url('assets/fonts/Tahoma.svg#Tahoma') format('svg'), url('assets/fonts/Tahoma.ttf') format('truetype'), url('assets/fonts/Tahoma.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'tahoma';
  font-display: swap;
  src: url('assets/fonts/tahoma.eot');
  src: url('assets/fonts/tahoma.eot?#iefix') format('embedded-opentype'), url('assets/fonts/tahoma.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Tahoma-Bold';
  font-display: swap;
  src: url('assets/fonts/Tahoma-Bold.svg#Tahoma-Bold') format('svg'), url('assets/fonts/Tahoma-Bold.ttf') format('truetype'), url('assets/fonts/Tahoma-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'tahomabd';
  font-display: swap;
  src: url('assets/fonts/tahomabd.eot');
  src: url('assets/fonts/tahomabd.eot?#iefix') format('embedded-opentype'), url('assets/fonts/tahomabd.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
/*DEFAULT CSS*/
* {
  box-sizing: border-box;
  outline: none;
}
html:not([lang='hy-AM']) body {
  font-family: 'Montserrat', sans-serif;
}
html:not([lang='hy-AM']) body .font-bold,
html:not([lang='hy-AM']) body .main-nav li.current-menu-item,
html:not([lang='hy-AM']) body .main-nav li.current_page_parent a {
  font-weight: 600;
}
html[lang='ru-RU'] body .frm_error_style p {
  display: none;
}
html[lang='ru-RU'] body .frm_error_style:after {
  content: 'Этот запрос уже отправлен.';
}
html[lang='hy-AM'] body {
  font-family: 'Tahoma', 'tahoma', sans-serif;
}
html[lang='hy-AM'] body .font-bold,
html[lang='hy-AM'] body .main-nav li.current-menu-item a,
html[lang='hy-AM'] body .main-nav li.current_page_parent a {
  font-family: 'Tahoma-Bold', 'tahomabd', sans-serif;
}
html[lang='hy-AM'] body .text-uppercase {
  text-transform: none;
}
html[lang='hy-AM'] body .frm_error_style p {
  display: none;
}
html[lang='hy-AM'] body .frm_error_style:after {
  content: 'Տվյալ հարցումն արդեն ուղարկված է։';
}
body {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 131px 0 0;
  color: #000;
  font-size: 12px;
  line-height: 1.4;
}
body.modal-open {
  height: 100vh;
  overflow-y: hidden;
}
@media (max-width: 991px) {
  body {
    padding: 110px 0 0;
  }
}
@media (max-width: 767px) {
  body {
    padding: 80px 0 0;
  }
}
.modal-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.7);
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
}
.modal-bg.active {
  opacity: 1;
  visibility: visible;
}
main {
  margin: 45px 0 60px;
}
a {
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .container {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
.flex-container {
  display: flex;
}
.transition {
  transition: 0.25s;
}
.relative-parent {
  position: relative;
}
.absolute {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 999;
}
.text-center {
  text-align: center;
}
.text-uppercase {
  text-transform: uppercase;
}
[id*="nav-drop"]:not(.active) {
  display: none;
}
.grayscale {
  filter: grayscale(1);
}
.h2,
h2 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 24px;
}
.img-circle {
  border-radius: 50%;
}
.burger-line {
  display: block;
  width: 34px;
  height: 3px;
  background-color: #000;
}
@media (min-width: 1200px) {
  .page-template-contacts main,
  .page-template-about-us main,
  .page-template-services main {
    margin-top: 115px;
  }
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #fff;
  padding: 58px 0 18px;
  transition: 0.5s;
}
header .header-mask {
  z-index: 0;
}
@media (max-width: 991px) {
  header {
    padding: 38px 0 18px;
  }
}
header ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
header.hide-header {
  transform: translateY(-100%);
}
header.show-header {
  padding-top: 18px;
  box-shadow: 0 18px 30px #00000008;
}
header .header-items {
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 767px) {
  header #logo img {
    width: 190px;
  }
}
header #logo a {
  display: block;
}
header .main-nav {
  display: flex;
  font-size: 14px;
  line-height: 1;
}
header .main-nav > li {
  padding: 0 36px;
}
@media (max-width: 1199px) {
  header .main-nav > li {
    padding: 0 26px;
  }
}
header .main-nav > li:first-child {
  padding-left: 0;
}
header .main-nav > li:last-child {
  padding-right: 0;
}
header .main-nav > li a {
  color: #5c5c5c;
  transition: color 0.25s;
}
header .main-nav > li a.expanded img {
  transform: rotate(180deg);
}
@media (max-width: 991px) {
  header .main-nav > li a.expanded img {
    transform: rotate(0deg);
  }
}
header .main-nav > li.current-menu-item a,
header .main-nav > li.current_page_parent a,
header .main-nav > li:hover > a {
  color: #000;
}
header .main-nav > li.menu-item-has-children {
  position: relative;
}
header .main-nav > li[class*='wpml'] img {
  display: inline;
}
@media (max-width: 991px) {
  header .main-nav > li[class*='wpml'] img {
    transform: rotate(180deg);
  }
}
header .nav-drop {
  position: absolute;
  left: 36px;
  top: 100%;
  background-color: #fff;
}
@media (max-width: 1199px) {
  header .nav-drop {
    left: 26px;
  }
}
@media (max-width: 991px) {
  header .nav-drop {
    left: 0;
    top: unset;
    bottom: calc(100% - 32px);
    transform: rotate(180deg);
    padding: 0 20px;
  }
  header .nav-drop li {
    transform: rotate(180deg);
  }
}
header .nav-drop li:first-child {
  padding: 7px 0;
}
header .nav-drop li:hover a {
  color: #82B744;
}
header #menu-toggle span {
  margin-bottom: 8px;
}
header #menu-toggle span:last-child {
  margin-bottom: 0;
}
header .close-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 17px 0 57px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
header .close-menu span {
  transform: rotate(45deg);
}
header .close-menu span:last-child {
  transform: rotate(-45deg);
  margin-top: -3px;
}
@media (min-width: 992px) {
  header .close-menu,
  header #menu-toggle {
    display: none;
  }
}
@media (max-width: 991px) {
  .header-nav {
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    width: 286px;
    height: 100vh;
    padding: 38px 24px 40px 26px;
    transition: 0.5s;
    transform: translateX(100%);
  }
  .header-nav.active {
    transform: translateX(0);
  }
  .header-nav .main-nav {
    height: 100%;
    flex-direction: column;
    font-size: 18px;
  }
  .header-nav .main-nav > li {
    padding: 25px 20px;
  }
  .header-nav .main-nav > li:first-child {
    padding-left: 20px;
    padding-top: 0;
  }
  .header-nav .main-nav > li:last-child {
    padding-right: 20px;
    padding-bottom: 0;
  }
  .header-nav .main-nav > li.wpml-ls-item {
    padding-top: 32px;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
}
footer {
  margin-top: auto;
}
footer .flex-container {
  padding: 25px 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 991px) {
  footer .flex-container {
    padding: 15px;
  }
}
footer .flex-container .copyright-msg {
  font-size: 10px;
  margin: 0;
}
footer .social-links img {
  width: 22px;
}
.post-entry {
  overflow: hidden;
}
.post-entry .post-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px 20px;
  transition: 0.25s;
  transform: translateY(100%);
  z-index: 99;
}
.post-entry .post-content span {
  display: block;
  line-height: 1;
  margin-top: 5px;
}
.post-entry .post-content span:first-child {
  margin-top: 0;
}
.post-entry .post-content .title {
  font-size: 14px;
}
.post-entry.big-thumb .post-content {
  padding: 20px 35px;
}
.post-entry:hover .post-content {
  transform: translateY(0);
}
.posts {
  transition: 0.5s;
}
.posts.loading {
  opacity: 0.5;
}
.posts .post-collection {
  display: grid;
  grid-gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 991px) {
  .posts .post-collection {
    grid-gap: 25px;
    margin-bottom: 25px;
  }
}
@media (max-width: 767px) {
  .posts .post-collection {
    display: block;
  }
  .posts .post-collection .post-entry:not(:last-child) {
    margin-bottom: 25px;
  }
}
.posts .post-collection:last-child {
  margin-bottom: 0;
}
.posts .post-collection:nth-child(4n-7) {
  grid-template-areas: 'big-thumb big-thumb small-thumb-1' 'big-thumb big-thumb small-thumb-2';
}
.posts .post-collection:nth-child(4n-7) .post-entry {
  max-width: max-content;
}
.posts .post-collection:nth-child(4n-7) .post-entry:last-child {
  grid-area: small-thumb-2;
}
.posts .post-collection:nth-child(4n-7) .post-entry:nth-child(2) {
  grid-area: small-thumb-1;
}
.posts .post-collection:nth-child(4n-7) .post-entry.big-thumb {
  grid-area: big-thumb;
}
.posts .post-collection:nth-child(4n+3) {
  grid-template-areas: 'small-thumb-1 big-thumb big-thumb' 'small-thumb-2 big-thumb big-thumb';
}
.posts .post-collection:nth-child(4n+3) .post-entry:last-child {
  grid-area: big-thumb;
}
.posts .post-collection:nth-child(4n+3) .post-entry:nth-child(2) {
  grid-area: small-thumb-2;
}
.posts .post-collection:nth-child(4n+3) .post-entry:first-child {
  grid-area: small-thumb-1;
}
.posts .post-collection:nth-child(even) {
  grid-template-columns: repeat(3, 1fr);
}
.posts .post-collection .post-entry {
  max-width: fit-content;
  border-radius: 8px;
}
.posts .post-collection .post-entry img {
  width: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .posts .post-collection .post-entry.small-thumb {
    max-height: 208px;
  }
}
.categories {
  position: relative;
  padding: 0 17px 17px;
  margin-bottom: 45px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  overflow-x: scroll;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.categories::-webkit-scrollbar {
  display: none;
}
@media (max-width: 991px) {
  .categories {
    margin-bottom: 25px;
  }
}
.categories button {
  margin: 0 25px;
  line-height: 1;
  transition: 0.25s;
}
.categories button:first-child {
  margin-left: 0;
}
.categories button:last-child {
  margin-right: 0;
}
.categories button:hover,
.categories button.active {
  color: #639235;
}
@media (max-width: 767px) {
  .categories button {
    margin: 0 20px;
  }
}
.page-template-about-us [class$='-section']:not(.hero-section) {
  margin-top: 80px;
}
@media (max-width: 767px) {
  .page-template-about-us [class$='-section']:not(.hero-section) {
    margin-top: 60px;
  }
}
.page-template-about-us .hero-section {
  display: grid;
  grid-template-areas: 'image title' 'image content-start' 'image content-end';
  grid-column-gap: 50px;
}
@media (min-width: 992px) {
  .page-template-about-us .hero-section {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 991px) {
  .page-template-about-us .hero-section {
    grid-column-gap: 30px;
  }
}
@media (max-width: 767px) {
  .page-template-about-us .hero-section {
    grid-template-areas: 'title' 'content-start' 'image' 'content-end';
  }
}
.page-template-about-us .hero-section .image-row {
  grid-area: image;
}
@media (max-width: 767px) {
  .page-template-about-us .hero-section .image-row {
    margin: 0 -15px 12px;
  }
  .page-template-about-us .hero-section .image-row img {
    margin: 0 auto;
  }
}
.page-template-about-us .hero-section h1 {
  grid-area: title;
}
.page-template-about-us .hero-section .content-start {
  grid-area: content-start;
}
.page-template-about-us .hero-section .content-end {
  grid-area: content-end;
}
.page-template-about-us .hero-section p {
  margin-top: 0;
}
@media (max-width: 767px) {
  .page-template-about-us .team-members-section h2 {
    text-align: center;
    margin-bottom: 35px;
  }
}
.page-template-about-us .team-members-section .flex-container {
  justify-content: center;
  flex-wrap: wrap;
}
.page-template-about-us .team-members-section .member {
  padding: 0 15px;
  flex-basis: 33.33333333%;
  margin-top: 50px;
}
@media (max-width: 767px) {
  .page-template-about-us .team-members-section .member {
    flex-basis: 100%;
  }
  .page-template-about-us .team-members-section .member:first-child {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .page-template-about-us .team-members-section .member:nth-child(-n+3) {
    margin: 0;
  }
}
.page-template-about-us .team-members-section .member img {
  margin: 0 auto 18px;
}
.page-template-about-us .team-members-section .member span {
  display: block;
}
.page-template-about-us .team-members-section .member span.small {
  font-size: 11px;
  line-height: 1.6;
}
.page-template-about-us .team-members-section .member span.name {
  text-transform: uppercase;
}
.page-template-about-us .team-members-section .member span.position {
  margin-bottom: 18px;
}
.page-template-about-us .partners-clients-section .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(91px, 91px));
  grid-column-gap: 40px;
}
@media (max-width: 767px) {
  .page-template-about-us .partners-clients-section .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(69px, 69px));
    grid-column-gap: 20px;
  }
}
.page-template-about-us .partners-clients-section .description {
  margin-bottom: 20px;
}
.page-template-about-us .partners-clients-section .description p {
  margin: 0;
}
@media (min-width: 768px) {
  .page-template-about-us .partners-clients-section .description {
    max-width: 50%;
  }
}
.page-template-about-us .partners-clients-section a {
  display: block;
}
.page-template-about-us .partners-clients-section img {
  transition: 0.5s;
}
@media (max-width: 767px) {
  .page-template-about-us .partners-clients-section img {
    width: 69px;
  }
}
.page-template-about-us .partners-clients-section img:hover {
  filter: grayscale(0);
}
.page-template-about-us .partners-clients-section .partner-logo {
  margin: 20px 0 0 0;
}
@media (max-width: 767px) {
  .page-template-about-us .partners-clients-section .partner-logo {
    margin: 28px 0 0 0;
  }
}
.page-template-about-us .partners-clients-section .partner-logo:last-child {
  margin-right: 0;
}
.services-page .flex-container {
  justify-content: center;
  margin-top: 80px;
}
.services-page .flex-container:first-child {
  margin-top: 0;
}
.services-page .flex-container.row-reverse {
  flex-direction: row-reverse;
}
.services-page .flex-container .content,
.services-page .flex-container .image {
  flex-basis: 50%;
  padding: 0 15px;
}
.services-page .flex-container img {
  margin: 0 auto;
}
@media (max-width: 767px) {
  .services-page .flex-container {
    flex-wrap: wrap;
    margin-top: 40px;
  }
  .services-page .flex-container .content,
  .services-page .flex-container .image {
    flex-basis: 100%;
  }
  .services-page .flex-container .image {
    margin-bottom: 12px;
  }
  .services-page .flex-container .content h2 {
    margin-bottom: 18px;
    text-align: center;
  }
}
@media (max-width: 991px) {
  .contacts-page .flex-container {
    flex-wrap: wrap;
  }
}
.contacts-page .contact-info {
  flex-basis: 40%;
  font-size: 14px;
}
.contacts-page .contact-info h2 {
  margin-bottom: 12px;
}
.contacts-page .contact-info h2:not(:first-child) {
  margin-top: 134px;
}
@media (max-width: 991px) {
  .contacts-page .contact-info h2:not(:first-child) {
    margin-top: 25px;
  }
}
.contacts-page .contact-info h2.social-media-title {
  margin-bottom: 18px;
}
.contacts-page .contact-info a {
  color: inherit;
}
@media (max-width: 991px) {
  .contacts-page .contact-info {
    flex-basis: 100%;
    text-align: center;
  }
}
.contacts-page .form-map-container {
  flex-basis: 60%;
}
.contacts-page .form-map-container .contact-form {
  margin-top: 77px;
}
@media (max-width: 991px) {
  .contacts-page .form-map-container .contact-form {
    max-width: 750px;
    margin: 40px auto 0;
  }
}
.contacts-page .form-map-container .contact-form textarea,
.contacts-page .form-map-container .contact-form input {
  transition: 0.25s;
}
.contacts-page .form-map-container .contact-form .frm_form_field:not(:first-child) {
  margin-top: 30px;
}
.contacts-page .form-map-container .contact-form .frm_error {
  font-size: 10px;
  margin-top: 5px;
}
.contacts-page .form-map-container .contact-form .frm_error_style p,
.contacts-page .form-map-container .contact-form .frm_message p {
  margin: 0;
}
.contacts-page .form-map-container .contact-form .frm_submit button {
  min-width: 165px;
  margin-top: 42px;
  padding: 10px 50px;
  background-color: #272727;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  transition: 0.25s;
}
.contacts-page .form-map-container .contact-form .frm_submit button:hover {
  background-color: rgba(39, 39, 39, 0.8);
}
.contacts-page .form-map-container .location-map {
  width: 100%;
  height: 325px;
}
@media (max-width: 991px) {
  .contacts-page .form-map-container .location-map {
    margin-top: 40px;
  }
}
@media (max-width: 991px) {
  .contacts-page .form-map-container {
    flex-basis: 100%;
  }
  .contacts-page .form-map-container .map-container {
    margin: 0 -15px;
  }
}
.social-links {
  display: flex;
  align-items: center;
}
@media (max-width: 991px) {
  .social-links {
    justify-content: center;
  }
}
.social-links a {
  display: block;
  margin: 0 6px;
}
.social-links a:first-child {
  margin-left: 0;
}
.social-links a:last-child {
  margin-right: 0;
}
body.single-post .back-to-projects {
  padding: 0 5px 17px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
body.single-post .back-to-projects a {
  display: flex;
  color: inherit;
  align-items: center;
  line-height: 1;
}
body.single-post .back-to-projects a img {
  margin-right: 12px;
}
body.single-post .project {
  display: grid;
  grid-template-areas: 'featured-image project-info' 'secondary-images project-info';
  grid-column-gap: 40px;
  grid-template-columns: 2fr 1fr;
}
@media (max-width: 1199px) {
  body.single-post .project {
    grid-column-gap: 20px;
  }
}
@media (max-width: 991px) {
  body.single-post .project {
    grid-template-areas: 'title' 'featured-image' 'project-info' 'secondary-images';
    grid-template-columns: 1fr;
  }
}
@media (min-width: 992px) {
  body.single-post .project > .project-title {
    display: none;
  }
}
body.single-post .project .featured-image {
  grid-area: featured-image;
}
body.single-post .project .secondary-images {
  grid-area: secondary-images;
}
body.single-post .project .secondary-images a {
  margin-top: 30px;
}
@media (max-width: 991px) {
  body.single-post .project .secondary-images a {
    margin-top: 20px;
  }
}
body.single-post .project .secondary-images a,
body.single-post .project .featured-image {
  display: block;
}
body.single-post .project .secondary-images a img,
body.single-post .project .featured-image img {
  margin: 0 auto;
}
body.single-post .project .project-title {
  font-size: 18px;
  line-height: 22px;
  margin: 0 0 18px;
  font-weight: normal;
  grid-area: title;
}
@media (max-width: 991px) {
  body.single-post .project .project-title {
    margin: 0 0 24px;
  }
}
body.single-post .project .project-entry {
  grid-area: project-info;
}
@media (max-width: 991px) {
  body.single-post .project .project-entry {
    max-width: 750px;
    margin: 20px 0 0;
  }
  body.single-post .project .project-entry .project-title {
    display: none;
  }
}
body.single-post .project .project-entry span {
  display: block;
}
body.single-post .project .project-entry span.architects,
body.single-post .project .project-entry span.location {
  margin-bottom: 14px;
}
body.single-post .project .project-entry .post-content p:last-child {
  margin-bottom: 0;
}
body.single-post .project-gallery-slider {
  align-items: flex-end;
  margin-top: 30px;
}
body.single-post .project-gallery-slider .slider-button-container {
  cursor: pointer;
}
body.single-post .project-gallery-slider .prev-container {
  width: calc((100% - 1200px) / 2);
  margin-right: 30px;
}
@media (max-width: 1399px) {
  body.single-post .project-gallery-slider .prev-container {
    display: none;
  }
}
body.single-post .project-gallery-slider .next-container {
  width: calc((100% - 793.33px) - (100% - 1200px) / 2);
  margin-left: 30px;
}
@media (max-width: 1399px) {
  body.single-post .project-gallery-slider .next-container {
    display: none;
  }
}
body.single-post .project-gallery-slider .project-gallery {
  width: 733.33px;
}
@media (max-width: 1199px) {
  body.single-post .project-gallery-slider .project-gallery {
    width: 613.33px;
  }
}
@media (max-width: 991px) {
  body.single-post .project-gallery-slider .project-gallery {
    width: 100%;
  }
  body.single-post .project-gallery-slider .project-gallery .slick-slide img {
    margin: 0 auto;
  }
}
body.single-post .project-gallery-slider .project-gallery .mask {
  display: flex;
}
body.single-post .project-gallery-slider .project-gallery .mask p {
  margin: auto;
  color: #fff;
  font-size: 24px;
  text-align: center;
  line-height: 1;
}
@media (min-width: 992px) {
  body.single-post .project-gallery-slider .project-gallery .mask {
    display: none;
  }
}
body.single-post .project-gallery-slider .mask {
  background-color: rgba(9, 9, 9, 0.5);
}
body.single-post .project-gallery-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  cursor: pointer;
}
body.single-post .project-gallery-slider .slider-arrow.arrow-prev {
  right: 42px;
}
body.single-post .project-gallery-slider .slider-arrow.arrow-next {
  left: 42px;
}
body.single-post .project-gallery-slider .slider-button {
  height: 430px;
}
body.single-post .project-gallery-slider .slider-button img.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.single-post .project-gallery-slider .slider-button .slick-list,
body.single-post .project-gallery-slider .slider-button .slick-track {
  height: 100%;
}
body.single-post .project-gallery-slider .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  z-index: 99;
  cursor: pointer;
}
body.single-post .project-gallery-slider .slick-arrow.prev-arrow {
  left: 0;
}
body.single-post .project-gallery-slider .slick-arrow.next-arrow {
  right: 0;
}
@media (max-width: 767px) {
  .body-dim {
    display: block;
    background-color: #fff;
  }
}
@media (min-width: 768px) {
  .body-dim .mobile-carousel-container {
    display: none;
  }
}
.body-dim .mobile-carousel-container .mobile-carousel-header {
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.body-dim .mobile-carousel-container .mobile-carousel-header button {
  width: 34px;
  height: 34px;
}
.body-dim .mobile-carousel-container .close-carousel span {
  transform: rotate(45deg);
}
.body-dim .mobile-carousel-container .close-carousel span:last-child {
  transform: rotate(-45deg);
  margin-top: -3px;
}
.body-dim .mobile-carousel-container .carousel-counter {
  font-size: 14px;
}
.body-dim .mobile-carousel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 15px);
  transform: translateY(-50%);
}
.body-dim .mobile-carousel .slick-track {
  display: flex;
  align-items: center;
}
.body-dim .mobile-carousel img {
  max-height: calc(100vh - 100px);
  object-fit: contain;
}
.body-dim .gallery-images {
  margin: auto;
}
@media (max-width: 767px) {
  .body-dim .gallery-images {
    display: none;
  }
}
.body-dim .gallery-images .navigation {
  display: flex;
  justify-content: center;
  max-width: 100vw;
}
.body-dim .gallery-images .navigation .fancybox-image {
  margin: 0;
  max-width: 75vw;
  max-height: calc(100vh - 100px);
}
.body-dim .gallery-images .navigation button {
  width: 146px;
}
.body-dim .gallery-images .navigation button img {
  margin: 0 auto;
}
.body-dim .gallery-images .thumbs-container {
  max-width: 75vw;
  margin: 0 auto;
}
.body-dim .gallery-images .thumbs {
  display: flex;
  justify-content: center;
  max-width: 1100px;
  overflow-x: scroll;
  margin: 10px auto 0;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.body-dim .gallery-images .thumbs::-webkit-scrollbar {
  display: none;
}
.body-dim .gallery-images .thumbs[data-scroll="true"] {
  justify-content: left;
}
.body-dim .gallery-images .thumbs img {
  max-width: 75px;
  margin-right: 10px;
  cursor: pointer;
  object-fit: cover;
}
.body-dim .gallery-images .thumbs img:last-child {
  margin: 0;
}
.body-dim .gallery-images .thumbs img.active {
  border: 3px solid #82B744;
}
.related-posts {
  margin-top: 54px;
}
.related-posts .next-prev-posts {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 32px 0 54px;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 991px) {
  .related-posts .next-prev-posts {
    padding: 22px 0;
  }
}
@media (max-width: 767px) {
  .related-posts .next-prev-posts {
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
}
.related-posts .next-prev-posts .back-to-projects {
  padding: 0;
  margin: 0;
  border: none;
}
.related-posts .next-prev-posts a {
  color: inherit;
  line-height: 1;
}
.related-posts .next-prev-posts a.disabled {
  pointer-events: none;
  color: rgba(204, 203, 203, 0.5);
}
.related-posts .other-projects {
  margin: 24px 0;
}
@media (min-width: 768px) {
  .related-posts .other-projects {
    display: none;
  }
}
.related-posts .overflow-scroll {
  overflow-x: auto;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.related-posts .overflow-scroll::-webkit-scrollbar {
  display: none;
}
@media (max-width: 767px) {
  .related-posts .overflow-scroll .flex-container {
    width: max-content;
  }
}
.related-posts .post-entry {
  flex-basis: 33.33333333%;
  margin-right: 30px;
}
@media (max-width: 767px) {
  .related-posts .post-entry {
    margin-right: 20px;
    flex-basis: initial;
    width: 250px;
  }
}
.related-posts .post-entry:last-child {
  margin: 0;
}
.page-404 a {
  display: inline-flex;
  align-items: center;
  margin: 0 auto;
  color: inherit;
  line-height: 1;
}
.page-404 a img {
  margin-right: 12px;
}
