

/* TWO BIRDS */
.twobirds-small {
  width: 550px;
  height: auto;
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  margin: auto;
  /* margin-top: 50px; */
  margin-bottom: 100px;
  padding-bottom: 29px;
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.27);
}

.twobirds-small__header {
  width: 100%;
  color: white;
  background-color: #495678;
  padding: 8px 20px;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.6px;
  display: flex;
  justify-content: space-between;
}

.twobirds-small__header p {
  margin: auto;
  margin-left: 0;
}

.twobirds-small__header img {
  height: 52px;
}

.twobirds-small__row {
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  color: #495678;
}

/* .twobirds-small__row:after {
  content: '';
  display: block;
  width: 90%;
  border-bottom: 2px solid #475068;
  margin: auto;
  margin-top: 13px;
} */

.twobirds-small__row h4 {
  font-size: 20px;
  font-weight: 600;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 7px;
  letter-spacing: 0.5;

}

.twobirds-small__row__image {
  width: 50%;
  padding: 20px;
}

.twobirds-small__row__image img {
  width: 138px;
  margin: auto;
}

.twobirds-small__distances {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
}

.twobirds-small__distances div {
  width: 50%;
  font-size: 18px;
}

.twobirds-small__distances p:first-child {
  font-weight: 300;
  margin-bottom: 5px;
}

.twobirds-small__distances p:last-child {
  font-weight: bold;
}

.twobirds-small__button {
  margin: 15px 27px auto auto;
  height: 39px;
  width: 237px;
  background-color: #e0757d;
  padding: 11px 25px;
  color: white;
  border-radius: 3px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.8px;
  font-size: 16px;
  vertical-align: middle;
  line-height: 16px;
  cursor: pointer;
}

.twobirds-small__button:hover {
  opacity: 0.85;
}

.twobirds-small__button span {
  margin-right: 4px;
  font-weight: 600;
}


.wrapper {
  width: 100px; /* Set the size of the progress bar */
  height: 100px;
  position: absolute; /* Enable clipping */
  /* clip: rect(0px, 100px, 100px, 50px); /* Hide half of the progress bar */ */
}
/* Set the sizes of the elements that make up the progress bar */
.circle {
  width: 80px;
  height: 80px;
  border: 20px solid green;
  border-radius: 50px;
  position: absolute;
  /* clip: rect(0px, 50px, 100px, 0px); */
}

.wrap-test.red {
  width: 100px; /* Set the size of the progress bar */
  height: 100px;
  position: absolute;
  clip: rect(0px, 100px, 100px, 43px); /* Hide half of the progress bar */
}
.circle.red {
  clip: rect(0px, 50px, 100px, 0px);
  z-index: 1;
  border-color: #e0757d;
}
.circle.blue {
  border-color: #495678;
}

/* Using the data attributes for the animation selectors. */
/* Base settings for all animated elements */
div[data-anim~=base] {
  -webkit-animation-iteration-count: 1;  /* Only run once */
  -webkit-animation-fill-mode: forwards; /* Hold the last keyframe */
  -webkit-animation-timing-function:linear; /* Linear animation */
}

.wrapper[data-anim~=wrapper] {
  -webkit-animation-duration: 0.01s; /* Complete keyframes asap */
  -webkit-animation-delay: 3s; /* Wait half of the animation */
  /* -webkit-animation-name: close-wrapper; /* Keyframes name */ */
}

.circle[data-anim~=left] {
  -webkit-animation-duration: 6s; /* Full animation time */
  -webkit-animation-name: left-spin;
}

.circle[data-anim~=right] {
  -webkit-animation-duration: 3s; /* Half animation time */
  -webkit-animation-name: right-spin;
}
/* Rotate the right side of the progress bar from 0 to 180 degrees */
@-webkit-keyframes right-spin {
  from {
    -webkit-transform: rotate(360deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
/* Rotate the left side of the progress bar from 0 to 360 degrees */
@-webkit-keyframes left-spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(180deg);
  }
}
/* Set the wrapper clip to auto, effectively removing the clip */
@-webkit-keyframes close-wrapper {
  to {
    clip: rect(auto, auto, auto, auto);
  }
}










/* TWO BIRDS MODAL */
body.hide-scroll {
  overflow: hidden;
}

body {
  /* overflow: hidden; */
}


.twobirds__modal {
  position: fixed;
  top: 0;
  z-index: 4;
  display: none;
  height: 100%;
}

.twobirds__modal.is-open {
  display: block;
}

.twobirds__modal__background {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  background-color: #8091b6cf;
  z-index: 3;
}

.twobirds__container {
  width: 100vw;
  padding-top: 120px;
  max-height: 100vh;
  overflow-y: scroll;
  position: relative;
  z-index: 3;
}

.twobirds {
  margin: auto;
}

.twobirds__section {
  background: #ffffff;
  height: auto;
  /* height: 565px; */
  margin-bottom: 30px;
  padding: 30px 30px 25px 30px;
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.5);
}

.twobirds__section__column h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 36px;
  margin-bottom: 25px;
  color: #475068;
}

@media (min-width: 992px) {
  .twobirds__section__column h2 {
    width: 130%;
  }
}


.twobirds__main {
  display: flex;
  height: 565px;
}

.twobirds__main .twobirds__section__column:first-of-type {
  width: 64%;
  margin-right: 15px;
  display: flex;
  flex-flow: column;
  height: 100%;
  overflow: hidden;
}

.twobirds__main__image {
  margin: auto;
  object-fit: contain;
}

.twobirds__main .twobirds__section__column:first-of-type img {
  max-width: 100%;
}

.twobirds__main .twobirds__section__column:last-of-type {
  width: 33%;
  margin: 0 auto auto 15px;
  min-height: 100%;
  position: relative;
}

.twobirds__main .twobirds__row:not(.twobirds__main__price) {
  border-bottom: 1px solid #475068;
  font-size: 15px;
}

.twobirds__main .twobirds__row:first-of-type img {
  margin-left: auto;
  width: 122px;
}

.twobirds__main .twobirds__row:not(:first-of-type) {
  padding-top: 20px;
}

.twobirds__main .twobirds__row:not(:last-of-type):not(:first-of-type) {
  padding-bottom: 20px;
}

.twobirds__main__type {
  display: inline-block;
  background-color: #475068;
  padding: 4px 18px;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 300;
  text-align: center;
  margin-bottom: 20px;
}

.twobirds__row__details {
  margin-bottom: 6px;
}

.twobirds__row__details span:first-of-type {
  margin-right: 7px;
}

.twobirds__row__details span:last-of-type {
  margin-left: 3px;
}

.twobirds__row__details + p  {
  opacity: 0.75;
  color: grey;
  font-weight: 300;
  font-size: 15px;
}

.twobirds__main__price p {
  font-size: 22px;
  margin-bottom: 7px;
  font-weight: 300;
}

.twobirds__main__price p.twobirds__bold {
  font-size: 26px;
  font-weight: 600;
}

.twobirds__main__price span {
  font-size: 18px;
}

.twobirds__main .twobirds__row:last-child {
  margin-top: auto;
  bottom: 0;
  position: absolute;
  width: 100%;
}

.twobirds__main .twobirds__row:last-child img {
  width: 260px;
  max-width: 100%;
}



.twobirds__neighbourhood {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
}

.twobirds__neighbourhood h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
}

.twobirds__neighbourhood > h3 {
  color: #e0757d;
  border-bottom: 1px solid;
  padding-bottom: 13px;
}

.twobirds__neighbourhood__text {
  margin-top: 15px;
  margin-bottom: 80px;
}

.twobirds__neighbourhood__text h3 {
  font-weight: 400;
  margin-bottom: 15px;
  font-size: 22px;
}


.twobirds__distances {
  padding-bottom: 41px;
}

.twobirds__distances__nav {
  display: flex;
  border-bottom: 1px solid #e0757d;
  position: relative;
  margin-bottom: 38px;
}

.twobirds__distances__nav img {
  width: 150px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.twobirds__distances__nav input {
  display: none;
}

.twobirds__distances__nav label:hover {
  opacity: 0.85;
}

.twobirds__distances__nav label {
  padding: 0px 20px;
  cursor: pointer;
}

.twobirds__distances__nav  input:checked + label {
  font-weight: 700;
  border-bottom: 4px solid #e0757d;
  opacity: 1;
  cursor: default;
}

.twobirds__distances__content {
  display: flex;
  justify-content: space-around;
  padding-right: 80px;
}

.twobirds__distances__item {
  display: flex;
}

.twobirds__distances__item img {
  width: 60px;
  object-fit: contain;
  margin: auto;
  margin-right: 10px;
  max-height: 50px;
}

.twobirds__distances__details {

}

.twobirds__distances__details h6 {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 5px;
  font-family: 'Open Sans', sans-serif;
}

.twobirds__distances__details p {
  display: none;
  font-weight: 700;
  font-size: 20px;
  color: #e0757d;
}

.twobirds__distances__details p.twobirds__driving {
  display: block;
}


.twobirds__apartments {

}
.twobirds__apartments__header {
  display: flex;
  border-bottom: 1px solid #475068;
}
.twobirds__apartments__header h3 {
  font-family: 'Open Sans', sans-serif;
  line-height: 48px;
  font-size: 24px;
}
.twobirds__apartments__header img {
  width: 250px;
  margin: auto;
  margin-right: 0;
}
.twobirds__apartments table {
  margin-top: 20px;
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  padding-bottom: 20px;
}
.twobirds__apartments th {
  font-weight: 700;
  padding-bottom: 20px;
  text-align: left;
}

.twobirds__apartments td {
  padding-bottom: 15px;
}

.twobirds__apartments td a {
  color: #475068;
}

.twobirds__form {
  position: relative;
}

.twobirds__form h4 {
  font-size: 24px;
  font-weight: 400;
  line-height: 53px;
  font-family: 'Open Sans', sans-serif;
}

.twobirds__form__header {
  display: flex;
  border-bottom: 1px solid #475068;
  margin-bottom: 25px;
}

.twobirds__form__header img {
  width: 110px;
  margin-left: auto;
}

.twobirds__form__container {
  display: flex;
  margin-top: -15px;
  margin-bottom: 15px;
}

.twobirds__form form {
  display: flex;
  margin-top: 81px;
  width: 100%;
  margin-right: 15px;
}

.twobirds__form label {
  width: 100%;
  margin-right: 15px;
  font-family: 'Open Sans', sans-serif;
}

.twobirds__form input[type=text] {
  display: block;
  border: none;
  border-bottom: 1px solid;
  margin-top: 25px;
  width: 100%;
}

.twobirds__form input[type=submit] {
  float: right;
  margin: auto auto 0 15px;
  height: 39px;
  width: 237px;
  background-color: #e0757d;
  padding: 11px 25px;
  color: white;
  border-radius: 3px;
  border: none;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.8px;
  font-size: 16px;
  vertical-align: middle;
  line-height: 16px;
  cursor: pointer;
}

.twobirds__form__image {
  float: right;
}

.twobirds__form__image img {
  width: 150px;
}



/* Desktop */
@media (min-width: 769px) {
  .twobirds__mobile {
    display: none;
  }
}

/* Here it starts to get crowded */
@media (max-width: 992px) {
  .twobirds__container {
    padding-top: 70px;
  }

  .twobirds__distances__content {
    padding: 0;
    justify-content: space-between;
  }

  .twobirds__distances__item img {
    width: 50px;
    max-height: 44px;
  }

  .twobirds__distances__details h6, .twobirds__distances__details p {
    font-size: 16px;
  }

  .twobirds__form__container {
    margin-top: 10px;
  }
}



/* Mobile */
@media (max-width: 768px) {
  .twobirds__desktop {
    display: none;
  }
  .twobirds-small {
    max-width: 100%;
  }
  .twobirds-small__row {
    display: block;
    text-align: center;
  }
  .twobirds-small__row > div {
    margin: auto;
  }

  .twobirds-small__distances {
    width: auto;
  }

  .twobirds-small__distances div {
    margin-bottom: 15px;
  }

  .twobirds-small__button {
    margin: auto;
    margin-top: 15px;
  }



  /* MOdal */
  .twobirds__main {
    height: auto;
    display: block;
  }
  .twobirds__main .twobirds__section__column {
    width: 100%!important;
    margin: auto!important;
  }
  .twobirds__main .twobirds__section__column:last-of-type {
    margin-top: 15px;
  }
  .twobirds__main .twobirds__row:last-child {
    position: relative;
  }
  .twobirds__main .twobirds__row:last-child img {
    margin-left: auto;
  }
  .twobirds__row {
    position: relative;
  }
  .twobirds__row:not(:last-of-type) img {
    width: 95px;
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .twobirds__distances {
    padding-bottom: 20px;
  }

  .twobirds__distances__nav {
    justify-content: space-around;
  }

  .twobirds__distances__nav label {
    padding: 0 39.5px;
  }

  .twobirds__distances__content {
    flex-wrap: wrap;
  }

  .twobirds__distances__item {
    width: 50%;
    margin-bottom: 30px;
  }

  .twobirds__distances__details {
    margin-right: auto;
  }

  .twobirds__distances__item img {
    margin-left: 26px;
  }

  .twobirds__apartments th, .twobirds__apartments td {
    font-size: 14px;
  }

  .twobirds__form__container {
    position: relative;
  }

  .twobirds__form__image {
    position: absolute;
    right: 0;
    top: -15px;
  }

  .twobirds__form__image img {
    width: 105px;
  }

  .twobirds__form form {
    margin-right: 0;
  }

  /* .twobirds__form__container {
    display: block;
  }

  .twobirds__form__image {
    float: none;
    margin-top: 25px;
  }

  .twobirds__form__image img {
    margin: auto;
  } */


}


/* So basically, very smol */
@media (max-width: 576px) {
  .twobirds__distances__nav label {
    padding: 0;
  }
}
