/*
Author: Tom Kaufmann
Copyright 2021, All Rights Reserved.

*/

/* h1 with Dancing Script Font */
.ds {
  font-family: "Dancing Script", sans-serif!important; 
  color: var(--blue-mid)!important;
}

/* Top Title */
#top-title {
  padding-top: 140px;
}

/* Template Title */
#template-title {
  text-align: center;
}

#template-title h1 {
  padding-bottom: 5px;

}

#template-title .borderline {
  height: 1px;
  width: 80px;
  background: var(--gold-mid);
  margin: 0 auto;
  margin-bottom: 30px;
}



/* Text Center */
#text-center-n {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
#text-center-n p {
  padding-top: 50px;
}

/* Projects */
#projects {
  padding-top: 60px;
}

#projects .selector {
  padding-top: 25px;

}

#projects .selector ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

#projects .selector ul li {
  padding-right: 20px;
}

#projects .selector ul li {
  text-decoration: none;
  color: var(--gray-light);
  font-weight: var(--fw-light);
  transition: 0.2s;
}

#projects .selector ul li:hover {
  color: var(--blue-mid);
  cursor: pointer;
}

#projects .selector ul li.filtr-active {
  text-decoration: underline;
  color: var(--blue-mid);
  font-weight: var(--fw-medium);
}

#projects .items-wrapper {
  padding-top: 30px;
}

#projects .items-wrapper .items {
  list-style-type: none;
  padding: 0;
}

#projects .items-wrapper .item {
  padding: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}
/*
#projects .items-wrapper .item:nth-child(3n-1) {
  padding-right: 30px;
  padding-left: 30px;
}

#projects .items-wrapper .item:nth-child(3n+1) {
  padding-right: 30px;
}

#projects .items-wrapper .item:nth-child(3n) {
  padding-left: 30px;
}
*/



#projects .items-wrapper .items .item a {
  text-decoration: none;
  color: var(--gray-light);
  font-weight: var(--fw-light);
  transition: 0.2s;
}

#projects .items-wrapper .items .item .box {
  position: relative;
  width: 100%;
  height: 100%;
  background: #9a9a9a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 100%;
}

#projects .items-wrapper .items .item .box .wrapper {
opacity: 0;
position: absolute;
height: 100%;
width: 100%;
transition: 0.2s;
}

#projects .items-wrapper .items .item a:hover .box .wrapper {
  opacity: 1;
}

#projects .items-wrapper .items .item .box .wrapper .overlay {
position: absolute;
background: #f7f8f8;
opacity: 0.73;
width: 100%;
height: 100%;
top: 0;
z-index: 1;
}

#projects .items-wrapper .items .item .box .wrapper .content {
  z-index: 2;
  position: absolute;
  text-align: center;
  top: 50%;  /* position the top  edge of the element at the middle of the parent */
  left: 50%; /* position the left edge of the element at the middle of the parent */
  transform: translate(-50%, -50%)
  
}

#projects .items-wrapper .items .item .box .wrapper .content .title {
  background: #fff;
  padding-left: 5px;
  padding-right: 5px;
}


#projects .items-wrapper .items .item .box .wrapper .content .borderline {
  width: 95%;
  margin-left: 2.5%;
  height: 1px;
  background: var(--gold-mid);
  margin-top: 5px;
}

#projects .items-wrapper .items .item .box .wrapper .icon {
  position: absolute;
  width: 10px;
  height: 15px;
  bottom: 25px;
  right: 25px;
  background-image: url("/media/svg/arrow-right-solid.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}

@media screen and (max-width: 992px) {
  #projects .items-wrapper .item {
    padding: 10px!important;
  }
}


/* Overview Section - Call to Action */
#overview .text {
  padding-top: 60px;
  text-align: center;
}

#overview .text .borderline {
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 30px;
  width: 80px;
  height: 1px;
  background: var(--gold-mid);

}

#overview .bg-wrapper {
  width: 100%;
  min-height: 400px;
  margin-top: 70px;
  background-color: #7b7b7b;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#overview .bg-wrapper a{
  text-decoration: none;
}


#overview .bg-wrapper .item .button{
  text-align: center;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 30px;
  height: 60px;
  width: 260px;
  transition: 0.2s;
  background: rgb(206, 185, 145);
  background: rgba(206, 185, 145, 0.85);
}

#overview .bg-wrapper .item .button:hover {
  background: var(--gold-mid);
}

#overview .bg-wrapper .item .button h2 {
  margin: 0!important;
  color: white!important;
  width: 100%;
  height: 60px;
  line-height: 58px;
  transition: 0.2s;
  text-transform: uppercase!important;
}

#overview .bg-wrapper .item:nth-child(2) .button{
  background: var(--blue-mid)!important;
}

#overview .bg-wrapper .item:nth-child(2) .button:hover{
  background: var(--blue-dark)!important;
}

#overview .bg-wrapper .item:nth-child(2) .button h2 {
  color: var(--gold-mid)!important;
}

/* Image Swiper */

#swiper {
  padding-top: 110px;
}

#swiper .container {
  max-width: 75rem;
  width: 100%;
  padding-bottom: 50px;
  margin: 0 auto;
}


#swiper .container .swiper-container .swiper-wrapper .swiper-slide {
  width: auto; 
}

#swiper .container .swiper-container .swiper-wrapper .swiper-slide .card-image {
  background: #ffffff;
  border: none;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
  border-radius: 2px;
}
#swiper .container .swiper-container .swiper-wrapper .swiper-slide .card-image img {
  display: block;
  position: relative;
  left: 0;
  bottom: 0;
  width: auto;
  max-height: 350px;
  -o-object-fit: cover;
     object-fit: cover;
}
#swiper .container .swiper-container .swiper-pagination-bullet {
  opacity: 0.8;
  background: #252a32;
}
#swiper .container .swiper-container .swiper-pagination-bullet-active {
  background: #ffffff;
}
#swiper .container .swiper-container .swiper-button-next,
#swiper .container .swiper-container .swiper-button-prev {
  background-image: none;
  background-size: 0;
  background-repeat: no-repeat;
  background-position: 0;
  margin-top: -1rem;
}
#swiper .container .swiper-container .swiper-button-next .arrow-icon,
#swiper .container .swiper-container .swiper-button-prev .arrow-icon {
  font-size: 2rem;
  color: var(--gold-mid);
  transition: 0.2s;
}

#swiper .container .swiper-container .swiper-button-next:hover .arrow-icon,
#swiper .container .swiper-container .swiper-button-prev:hover .arrow-icon {
  color: var(--gold-light);
}

#swiper .container .credit {
  float: right;
  padding-top: 10px;
}

@media screen and (max-width: 500px) {
  #swiper .container .credit {
    float: left;
  }

}

#swiper .container .credit p {
  color: var(--gray-thin)!important;
  font-size: 0.8rem!important;
}

/* Project - Text Section */
#projects-text h1 {
  line-height: 1.2!important;
  font-weight: var(--fw-light)!important;
}

#projects-text h2 {
  margin: 0!important;
}

#projects-text p {
  padding-top: 50px;
  padding-bottom: 150px;
  font-weight: var(--fw-book)!important;
  color: var(--gray-ulight)!important;
}

/* Customer Carousel Section */

#customers {
  /*padding-top: 140px;*/
  padding-bottom: 200px;
}

#customers .carousel-inner .carousel-item {
  position: relative;
  height: 350px;
  width: 100%;
  
}
#customers .carousel-inner .carousel-item .background {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background:#abaaaa;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}


#customers .carousel-inner .carousel-item .quote{
  text-align: left;
  max-width: 60%;
  position: absolute;
  left: 30px;
  bottom: 20px;
  z-index: 2;
}




#customers .carousel-inner .carousel-item .quote p.quote-text{
  background: white;
  display:inline;
  line-height: 35px;
  font-size: 1.1rem!important;
  font-weight: var(--fw-book)!important;
  color: var(--gold-mid)!important;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
}

#customers .carousel-inner .carousel-item .quote .quote-name-wrapper {
  padding-top: 10px;
  display: block;
}

#customers .carousel-inner .carousel-item .quote p.quote-name{
  background: white;
  display:inline;
  line-height: 20px;
  font-size: 0.8rem!important;
  font-weight: var(--fw-book)!important;
  color: var(--gray-thin)!important;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 1px;
  padding-bottom: 1px;

}




#customers .carousel-indicators {
  padding-top: 50px;
  position: relative!important;
  z-index: 2!important;
  margin: 0!important;
}

#customers .carousel-indicators .col {
  box-sizing: unset!important;
  text-indent: 0px!important;
  width: 100%!important;
  height: 100%!important;
  margin: 0!important;
  background:none;
  border: 1px solid #efefef;
  border-radius: 1px;
  padding: 0;
  opacity: 1!important;
  transition: 0.2s;

}

#customers .carousel-indicators .col .box {
  padding-bottom: 100%;
  width: 100%;
  height: 100%;
}

#customers .carousel-indicators .col .box a {
  position: absolute;
  width: 100%;
  top: 50%;  /* position the top  edge of the element at the middle of the parent */
  left: 50%; /* position the left edge of the element at the middle of the parent */
  transform: translate(-50%, -50%);

}

#customers .carousel-indicators .col .box img{
  transition: 0.2s;
  width: 90%;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

#customers .carousel-indicators .col.active {
  background: #f7f5f5;
  border: 1px solid #f7f5f5;
}

#customers .carousel-indicators .col.active .box img {
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}

#customers .carousel-indicators .col:hover {
  background: #f7f5f5;
  border: 1px solid #f7f5f5;
}

#customers .carousel-indicators .col:hover .box img{
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}


@media screen and (min-width: 1200px) {
  #customers .carousel-indicators .col {
    margin-bottom: 45px!important;
  }
}

@media screen and (max-width: 1200px) {
  #customers .carousel-indicators .col {
    margin-bottom: 35px!important;
  }
}


@media screen and (max-width: 991px) {
  #customers .carousel-inner .carousel-item .quote{
    max-width: 90%;
  }
  #customers .carousel-indicators .col {
    margin-bottom: 25px!important;
  }
}

@media screen and (max-width: 767px) {
  #customers .carousel-inner .carousel-item .quote{
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
  }
  #customers .carousel-indicators .col {
    margin-bottom: 50px!important;
  }
}

@media screen and (max-width: 575px) {
  #customers .carousel-indicators .col {
    max-width: 200px;

  }
}

@media screen and (max-width: 439px) {
    #customers .carousel-indicators .col {
      max-width: 165px;
    }
}

@media screen and (max-width: 357px) {
  #customers .carousel-indicators .col {
    max-width: 100%;
  }
}

/* Text-Img Row Section */

#text-img-row .row .item img{
  width: 100%;
  height: auto;
  padding-bottom: 50px;
}

#text-img-row .row .item h2 {
  padding-bottom: 20px;
  text-transform: uppercase;
}

/* Text Left von Nord Section */
#text-left-vn {
  padding-top: 20px;
  text-align: left;
  padding-bottom: 50px;
}

#text-left-vn h2.ds {
  color: var(--gold-mid)!important;
}

/* Services Section */
#services {
  padding-top: 60px;
  padding-bottom: 200px;
}

#services h2.title {
  text-transform: uppercase;
  text-align: center;
}

#services .service {
  margin-top: 70px;
}

#services .service:nth-child(2n-1) {
  flex-direction: row-reverse;
}


#services .service .service-half {
  padding: 0!important;
}

#services .service:nth-child(2n) .service-half:nth-child(1) {
  padding-left: 15px!important;
}
#services .service:nth-child(2n) .service-half:nth-child(2) {
  padding-right: 15px!important;
}

#services .service:nth-child(2n-1) .service-half:nth-child(1) {
  padding-right: 15px!important;
}
#services .service:nth-child(2n-1) .service-half:nth-child(2) {
  padding-left: 15px!important;
}


#services .service .service-half .img-box {
  width: 100%;
  height: 100%;
  min-height: 350px;
  background-size: cover!important;
  background-repeat: no-repeat;
  background-position: center;
  background:#ababab
}

#services .service .service-half .content-box {
  background: var(--bg-gray);
  width: 100%;
  height: 100%;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 40px;
}

#services .service .service-half .content-box h2 {
  font-size: 2.0rem!important;
  color: var(--blue-mid)!important;
  font-weight: var(--fw-thin)!important;
  padding-bottom: 20px;
}

#services .service .service-half .content-box p {
  font-weight: var(--fw-book)!important;
}

#services .service .content-box .button-wrapper {
  width: fit-content;
  float: right;
  padding-top: 50px;
  padding-bottom: 60px;
}

#services .service:nth-child(2n-1) .content-box .button-wrapper {
  float: left;
}

#services .service .content-box .button-wrapper a {
  text-decoration: none;
  color: var(--gold-mid);
  transition: 0.2s;
}

#services .service .content-box .button-wrapper a:hover {
  color: var(--blue-mid);
}


#services .service .content-box .button-wrapper a .button {
  display: flex;
  align-items: center;
  transition: 0.2s;
}



#services .service.service:nth-child(2n) .content-box .button-wrapper a:hover .button {
  padding-right: 10px;
}

#services .service.service:nth-child(2n-1) .content-box .button-wrapper a:hover .button {
  padding-left: 10px;
}


#services .service .content-box .button-wrapper a .button span {
  padding-right: 15px;
}


#services .service .content-box .button-wrapper a .button .line {
  width: 70px;
  height: 1px;
  background: var(--gold-mid);
  transition: 0.2s;
}

#services .service .content-box .button-wrapper a:hover .button .line {
  width: 70px;
  height: 1px;
  background: var(--blue-mid);
}


@media screen and (max-width: 767px) {
  #services .service .service-half {
    padding-left: 15px!important;
    padding-right: 15px!important;
  }
  #services .service.service:nth-child(2n) .content-box .button-wrapper a:hover .button {
    padding-right: 10px;
  }
  
  #services .service.service:nth-child(2n-1) .content-box .button-wrapper a:hover .button {
    padding-right: 10px;
    padding-left: none;
  }
  #services .service:nth-child(2n-1) .content-box .button-wrapper {
    float: right;
  }
}


/* Parallax Top Image */

#parallax-top {
  /*padding-top: 110px;*/
  width: 100%;
  padding-top: 110px;
}
#parallax-top .parallax-window {
  height: 400px;
  background: transparent;

}

/* Service Description */
#service-desc {
  padding-top: 50px;
  text-align:center!important;
  padding-bottom: 30px;
}
#service-desc h2 {
  padding-bottom: 30px;
}




/* Design Process Section*/

.design-process-section {
  padding-bottom: 100px;
}

.design-process-section .nav  {
  flex-wrap: nowrap!important;
  justify-content: center!important;
  border-bottom: none!important;
}


.design-process-section .text-align-center {
  line-height: 25px;
  margin-bottom: 12px;
  transition: 0.2s;
}
.design-process-content {
  position: relative;
  padding: 0px;
  min-height: 400px;
  transition: 0.2s;
}

.design-process-content p{
  font-weight: var(--fw-book)!important;
}

.design-process-content .row {
  flex-direction: row-reverse;
}


@media screen and (min-width: 768px) {
  .design-process-content .row .text-box {
    padding-left: 30px;
  }
  .design-process-content .row .image-wrapper {
    padding-right: 30px;
  
  }
}



.design-process-content .row .text-box .content {
  padding-top: 50px;
  padding-bottom: 50px;
}

.design-process-content .row .image-wrapper {
  position: relative;

}

.design-process-content .row .image-wrapper .image-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover!important;
  background:#b5b5b5;
}

.design-process-content .row .image-wrapper h2.title {
  position: absolute;
  bottom: -20px;
  right: 10px;
  color: white!important;
  background: var(--gold-mid);
  font-size: 1.5rem!important;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px; 
}



.design-process-content .button-wrapper {
  max-width: fit-content;

}

.design-process-content .button-wrapper a {
  text-decoration: none!important;
  color: inherit;
}

.design-process-content .button-wrapper a .button {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 40px;
  padding-right: 40px;
  border: 2px solid var(--red-mid);
  color: var(--gray-text);
  transition: 0.2s;
  background: none;
}

.design-process-content .button-wrapper a .button:hover {
  background-color: var(--red-mid);
  color: white;
}

.design-process-content .prev, .design-process-content .next {
  display: none;
}




.process-model {
  list-style: none;
  flex-wrap: nowrap;
  padding: 0;
  position: relative;
  max-width: 800px;
  margin: 20px auto 26px;
  border: none;
  z-index: 0;
}
.process-model li::after {
  background: #e5e5e5 none repeat scroll 0 0;
  bottom: 0;
  content: "";
  display: block;
  height: 3px;
  margin: 0 auto;
  position: absolute;
  width: 15%;
  top: 33px;
  transform: translate(70px, 0px);
  z-index: -1;
  transition: 0.2s;
}
.process-model li.visited::after {
  background: var(--gold-mid);
}
.process-model li:last-child::after {
  width: 0;
}
.process-model li {
  display: inline-block;
  width: 18%;
  text-align: center;
  transition: 0.2s;
  float: none;
}
.nav-tabs.process-model > li.active > a, .nav-tabs.process-model > li.active > a:hover, .nav-tabs.process-model > li.active > a:focus, .process-model li a:hover, .process-model li a:focus {
  border: none;
  background: transparent;

}
.process-model li a {
  padding: 0;
  border: none;
  color: #8c8c8c;
  font-weight: var(--fw-light);
  text-decoration: none;
}

.process-model li a p {
  color: #8c8c8c!important;
  font-weight: var(--fw-book)!important;
  transition: 0.2s;
}

.process-model li a:hover p {
  color: var(--gold-mid)!important;

}



.process-model li.active p,
.process-model li.visited p {
  color: var(--gold-mid)!important;
}
.process-model li.active a,
.process-model li.active a:hover,
.process-model li.active a:focus,
.process-model li.visited a,
.process-model li.visited a:hover,
.process-model li.visited a:focus {
  color: var(--gold-mid);
}



.process-model li.active p,
.process-model li.visited p {
  font-weight: 600;
}


.process-model li i {
  display: flex;
  height: 68px;
  width: 68px;
  text-align: center;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #cfd1d0;
  line-height: 65px;
  font-size: 30px;
  border-radius: 50%;
  transition: 0.2s;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.process-model li a:hover i {
  border: 2px solid var(--gold-light);
}

.process-model li i .icon {
  width: 80%;
  height: 25px;

  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto;
  filter: brightness(0) saturate(100%) invert(97%) sepia(3%) saturate(104%) hue-rotate(97deg) brightness(90%) contrast(86%);
}

.process-model li.active i .icon, .process-model li.visited i .icon  {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(227deg) brightness(105%) contrast(101%);
}

.process-model li.active i, .process-model li.visited i  {
  background: var(--gold-mid);
  border-color: var(--gold-mid);
}
.process-model li p {
  font-size: 14px;
  margin-top: 11px;
}
.process-model.contact-us-tab li.visited a, .process-model.contact-us-tab li.visited p {
  color: #606060!important;
  font-weight: normal
}
.process-model.contact-us-tab li::after  {
  display: none; 
}
.process-model.contact-us-tab li.visited i {
  border-color: #e5e5e5; 
}

/* Design Process Carousel */

.design-process-section .design-process-carousel {
  width: 100%;
  min-height: 500px;
  padding-top: 50px;
  overflow: hidden!important;
}

.design-process-section .design-process-carousel .carousel-indicators {
  display: none;
  align-items: center;
  z-index: 2!important;
  bottom:unset!important;
  top: -60px!important;
}

.design-process-section .design-process-carousel .carousel .carousel-indicators li {
  width: 20px!important;
  height: 20px!important;
  border-radius: 100%!important;
  border: none!important;
  margin: 7px!important;
  background: var(--gold-mid)!important;

}

.design-process-section .design-process-carousel .carousel .carousel-indicators .active {
  
}

.design-process-carousel .carousel-control-next, .design-process-carousel .carousel-control-prev {
  display: none;
}


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

  .design-process-section .design-process-carousel {
    padding-top: 100px;
  }

  .design-process-section .design-process-carousel .carousel-indicators {
    display: flex;

  }
  .process-model {
    display: none!important;
  }

  .design-process-content .row{
    flex-direction: column-reverse;
  }

  .design-process-content .row .text-box {
    
  }
  
  .design-process-content .row .text-box .content {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .design-process-content .row .image-wrapper {
    position: relative;
  
  }
  
  .design-process-content .row .image-wrapper .image-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover!important;
    background:#b5b5b5;
  }
  
  .design-process-content .row .image-wrapper h2.title {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    color: white!important;
    background: var(--gold-mid);
    font-size: 1.5rem!important;

    padding-top: 10px;
    padding-bottom: 10px; 
  }

  .design-process-carousel .carousel-control-next, .design-process-carousel .carousel-control-prev {
    display: flex;
    height: fit-content;
    top: 278px;
    opacity: 1!important;
  }
  .design-process-carousel .carousel-control-next .carousel-control-next-icon, .design-process-carousel .carousel-control-prev .carousel-control-prev-icon {
    transition: 0.2s;
  }

  .design-process-carousel .carousel-control-next:hover .carousel-control-next-icon, .design-process-carousel .carousel-control-prev:hover .carousel-control-prev-icon {
    filter: brightness(0) saturate(100%) invert(14%) sepia(45%) saturate(1461%) hue-rotate(186deg) brightness(94%) contrast(95%);
  }
}



/* Flipable Cards Section */

#flip-card-section {
  padding-bottom: 100px;
}


/* .flip-card-container */
#flip-card-section .flip-card-container {
  width: 310px;
  height: 500px;
  margin: 40px auto;
  perspective: 1000px;
}

/* .flip-card */
#flip-card-section .flip-card {
  width: inherit;
  height: inherit;

  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: .6s .1s;
  transition: .6s .1s;
}

/* hover and focus-within states */
#flip-card-section .flip-card-container:hover .flip-card,
#flip-card-section .flip-card-container:focus-within .flip-card {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}


/* .card-... */
#flip-card-section .card-front,
#flip-card-section .card-back {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  background: var(--bg-white-dark);
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

/* .card-front */
#flip-card-section .card-front {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  z-index: 2;
}

/* .card-back */
#flip-card-section .card-back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  z-index: 1;
}

/* figure */
#flip-card-section figure {
  z-index: -1;
}

#flip-card-section .flip-card-container .card-front .bg-image {
  width: 100%;
  height: 250px;
  background: #9a9a9a;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#flip-card-section .flip-card-container .card-front h2 {
  position: absolute;
  top: 226px;
  width: fit-content;
  text-transform: uppercase;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  color: white!important;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: var(--blue-mid);
}

#flip-card-section .flip-card-container .card-front .content {
  padding-top: 40px;
  padding-left: 25px;
  padding-right: 25px;
}

#flip-card-section .flip-card-container .card-front .content .item {
  width: 100%;
  border-bottom: 1px solid #bababa;
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

#flip-card-section .flip-card-container .card-front .content .item p{
  margin: 0!important;
  font-weight: var(--fw-book)!important;
  padding-left: 15px;
  color: var(--blue-mid)!important;
}

#flip-card-section .flip-card-container .card-front .content .item i{
  color: var(--blue-mid)!important;
}

#flip-card-section .flip-card-container .card-front .content .item:last-child {
  border-bottom: none;
}

#flip-card-section .flip-card-container .card-back {
  text-align: center;
}

#flip-card-section .flip-card-container .card-back .content {
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 40px;
  height: 360px;
  overflow: hidden;
}

#flip-card-section .flip-card-container .card-back .title{
  font-size: 2.5rem;
  color: var(--blue-mid);
  padding-bottom: 30px;
}

#flip-card-section .flip-card-container .card-back p{
  color: #6d6d6d!important;
  font-weight: var(--fw-book)!important;
  font-size: var(--p-size-small)!important;
}

#flip-card-section .flip-card-container .card-back h3{
  height: 50px;
  color: var(--blue-mid)!important;
  font-size: 1.2rem!important;
  font-weight: var(--fw-book)!important;
}

#flip-card-section .flip-card-container .card-back .button-wrapper {
  width: fit-content;
  margin: 0 auto;
}

#flip-card-section .flip-card-container .card-back .button-wrapper a {
  text-decoration: none;
}

#flip-card-section .flip-card-container .card-back .button-wrapper a .button {
  border: 1px solid var(--blue-mid);
  width: 240px;
  height: 55px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  color: var(--blue-mid);
  transition: 0.2s;
}

#flip-card-section .flip-card-container .card-back .button-wrapper a:hover .button {
  color: white!important;
}



  /* Flip Card Styles */
  #flip-card-section .flip-card-container.flip-card-gray .card-front h2 {
    background: #434444;
  }
  #flip-card-section .flip-card-container.flip-card-gray .card-front .content .item p{
    color: #434444!important;
  }
  #flip-card-section .flip-card-container.flip-card-gray .card-front .content .item i{
    color: #434444!important;
  }
  #flip-card-section .flip-card-container.flip-card-gray .card-back .title {
    color: #434444!important;
  }
  #flip-card-section .flip-card-container.flip-card-gray .card-back h3{
    color: #434444!important;
  }
  #flip-card-section .flip-card-container.flip-card-gray .card-back .button-wrapper a .button {
    border: 1px solid #434444!important;
    color: #434444;
  }
  #flip-card-section .flip-card-container.flip-card-gray .card-back .button-wrapper a:hover .button {
    background: #434444;
  }


  #flip-card-section .flip-card-container.flip-card-blue .card-front h2 {
    background: var(--blue-mid);
  }
  #flip-card-section .flip-card-container.flip-card-blue .card-front .content .item p{
    color: var(--blue-mid)!important;
  }
  #flip-card-section .flip-card-container.flip-card-blue .card-front .content .item i{
    color: var(--blue-mid)!important;
  }
  #flip-card-section .flip-card-container.flip-card-blue .card-back .title {
    color: var(--blue-mid)!important;
  }
  #flip-card-section .flip-card-container.flip-card-blue .card-back h3{
    color: var(--blue-mid)!important;
  }
  #flip-card-section .flip-card-container.flip-card-blue .card-back .button-wrapper a .button {
    border: 1px solid var(--blue-mid)!important;
    color: var(--blue-mid);
  }
  #flip-card-section .flip-card-container.flip-card-blue .card-back .button-wrapper a:hover .button {
    background: var(--blue-mid);
  }


  #flip-card-section .flip-card-container.flip-card-gold .card-front h2 {
    background: var(--gold-mid);
  }
  #flip-card-section .flip-card-container.flip-card-gold .card-front .content .item p{
    color: var(--gold-mid)!important;
  }
  #flip-card-section .flip-card-container.flip-card-gold .card-front .content .item i{
    color: var(--gold-mid)!important;
  }
  #flip-card-section .flip-card-container.flip-card-gold .card-back .title {
    color: var(--gold-mid)!important;
  }
  #flip-card-section .flip-card-container.flip-card-gold .card-back h3{
    color: var(--gold-mid)!important;
  }
  #flip-card-section .flip-card-container.flip-card-gold .card-back .button-wrapper a .button {
    border: 1px solid var(--gold-mid)!important;
    color: var(--gold-mid);
  }
  #flip-card-section .flip-card-container.flip-card-gold .card-back .button-wrapper a:hover .button {
    background: var(--gold-mid);
  }

  #flip-card-section .flip-card-container.flip-card-gold .card-back .content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Team */

  #team {
    padding-bottom: 400px;
  }

  #team .bg {
    width: 100%;
    height: auto;
    background-size: contain;
    background-repeat: repeat-x;
    margin-top: 100px;
  }

  #team .bg:nth-child(2) {
    margin-top: 270px;
  }


  @media screen and (max-width: 991px) {
    #team .bg {
    background: none;
    background-image: none!important;
    }
    #team .bg:nth-child(2) {
      margin-top: 0px;
    }
    
    #team .bg .container {
      max-width: 100%!important;
    }

    #team .bg .container .images .item {
      margin-bottom: 300px;
    }

  }

  @media screen and (max-width: 767px) {
    #team .bg .container {
      max-width: 100%!important;
    }
    #team .mobile-hide {
      display: none!important;
    }
  }
  

  #team .bg .container .images .item {
    padding: 0!important;
    position: relative;
  }

  #team .bg .container .images .item h2.heading {
    position: absolute;
    text-align: center;
    width: 100%;
    top: -35px;
  }

  #team .bg .container .images .item img {
    width: 100%;
    height: auto;
  }

  #team .bg .container .images .item img.active {
    display: none;
  }

  #team .bg .container .images .item .img:hover img.default {
    display: none;
  }
  #team .bg .container .images .item .img:hover img.active {
    display: block;
  }

  #team .bg .container .images .item .content {
    position: absolute;
    width: 100%;
    height: 300px;
    bottom: -320px;
    text-align: center;
  }

  #team .bg .container .images .item .content h2.name {
    color: var(--gold-mid)!important;
    font-size: 1.5rem!important
  }

  #team .bg .container .images .item .content p.position {
    color: #5d5d5d!important;
    font-weight: var(--fw-light)!important;
  }

  #team .bg .container .images .item .content .cv a{
    font-size: 0.8rem!important;
    color: var(--gold-mid);
    border: 1px solid var(--gold-mid);
    width: fit-content;
    margin: 0 auto;
    padding: 5px;
    text-decoration: none;
    background: none;
    font-weight: var(--fw-medium);
    transition: 0.2s;
  }

  #team .bg .container .images .item .content .cv a:hover {
    color: white;
    background: var(--gold-mid);
  }

  #team .bg .container .images .item .content p.institution {
    color: #5d5d5d!important;
    font-weight: var(--fw-book)!important;
    font-size: 0.8rem!important;
    padding-top: 20px;
  }

  /* Contact Info Section */

  #contact-info .contact-row {
    margin-bottom: 50px;
  }

  #contact-info .contact-row .column {
    width: 100%;
    min-height: 350px;
    padding: 0;
  }

  #contact-info .contact-row .column.image-wrapper {
    background-color: #bfbfbf;
  }


  #contact-info .contact-row .column.image-wrapper .image {
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
  }

  #contact-info .contact-row .column.info-wrapper {
    background: var(--bg-gray);
    text-align: center;
  }

  #contact-info .contact-row .column.info-wrapper .address {
    height: 50%;
    overflow: hidden;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  #contact-info .contact-row .column.info-wrapper .address p {
    font-weight: var(--fw-book)!important;
    color: #434444!important;
  }

  #contact-info .contact-row .column.info-wrapper .address a {
    text-decoration: none!important;
    color: #434444!important;
    transition: 0.2s;
  }

  #contact-info .contact-row .column.info-wrapper .address a:hover {
    color: var(--gold-mid)!important;
  }


  #contact-info .contact-row .column.info-wrapper .borderline {
    margin: 0 auto;
    width: 100px;
    height: 1px;
    background: var(--blue-mid);
    margin-bottom: 20px;
  }

  #contact-info .contact-row .column.info-wrapper .contact {
    height: 40%;
    overflow: hidden;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  #contact-info .contact-row .column.info-wrapper .contact p {
    font-weight: var(--fw-book)!important;
    color: #434444!important;
  }

  #contact-info .contact-row .column.info-wrapper .contact a {
    text-decoration: none!important;
    color: #434444!important;
    transition: 0.2s;
  }

  #contact-info .contact-row .column.info-wrapper .contact a:hover {
    color: var(--gold-mid)!important;
  }

  #contact-info .contact-row .column.map-wrapper {
    background-color: #bfbfbf;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    position: relative;
    overflow: hidden;
  }

  #contact-info .contact-row .column.map-wrapper iframe {
    position: absolute;
    top: -34%;
    left: 0;
    right: 0;
    width: 100%;
    height: 170%;
  }

  @media screen and (max-width: 992px) {
    #contact-info .contact-row {
      margin-bottom: 100px;
    }
  }








