@import url("fonts/fonts.css");

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 100%;
  max-width: 1024px;
  max-height: 700px;
  margin: 0 auto;

}

.cd-container:after {
  content: "";
  display: table;
  clear: both;
}

.cd-img-replace {
  /* replace text with background images */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

/* -------------------------------- 

Main components 

-------------------------------- */


.cd-product {
  text-align: center;
}

.cd-product-wrapper {
  display: inline-block;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  min-height: 667px;
}

.cd-product-wrapper>img {
  display: block;
}

.cd-single-point {
  position: absolute;
  border-radius: 50%;
  list-style: none;
}

.cd-single-point>a {
  position: relative;
  z-index: 2;
  display: block;
  width: 35px;
  height: 35px;
  border-radius: inherit;
  background: #363b65;
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.cd-single-point>a:after,
.cd-single-point>a:before {
  /* rotating plus icon */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background-color: #ffffff;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

.cd-single-point>a:after {
  height: 3px;
  width: 20px;
}

.cd-single-point>a:before {
  height: 20px;
  width: 3px;
}

.cd-single-point:after {
  /* this is used to create the pulse animation */
  content: '';
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: inherit;
  background-color: transparent;
  -webkit-animation: cd-pulse 2s infinite;
  -moz-animation: cd-pulse 2s infinite;
  animation: cd-pulse 2s infinite;
}

.cd-single-point:nth-of-type(1) {
  top: 55%;
  left: 32%;
}

.cd-single-point:nth-of-type(2) {
  top: 75%;
  left: 48.5%;
}

.cd-single-point:nth-of-type(3) {
  top: 55%;
  left: 62%;
}


.cd-single-point.is-open>a {
  background-color: #e4b9c5;
}

.cd-single-point.is-open>a::after,
.cd-single-point.is-open>a::before {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -o-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  transform: translateX(-50%) translateY(-50%) rotate(135deg);
}

.cd-single-point.is-open::after {
  /* remove pulse effect */
  display: none;
}

.cd-single-point.is-open .cd-more-info {
  visibility: visible;
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s, -webkit-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s, -moz-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s, transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
}

.cd-single-point.visited>a {
  background-color: #363b65;
}

.cd-single-point.visited::after {
  /* pulse effect no more active on visited elements */
  display: none;
}


@media screen and (min-width: 991px) and (max-width: 1200px) {
  .cd-single-point:nth-of-type(1) {
    top: 65%;
    left: 32%;
  }

  .cd-single-point:nth-of-type(2) {
    top: 90%;
    left: 48.5%;
  }

  .cd-single-point:nth-of-type(3) {
    top: 65%;
    left: 62%;
  }
}


@media only screen and (min-width: 600px) {
  .cd-single-point>a {
    width: 40px;
    height: 40px;
  }

  .cd-single-point.is-open .cd-more-info.cd-left {
    right: 120%;
  }

  .cd-single-point.is-open .cd-more-info.cd-right {
    left: 120%;
  }

  .cd-single-point.is-open .cd-more-info.cd-top {
    bottom: 120%;

  }

  .cd-single-point.is-open .cd-more-info.cd-bottom {
    top: 120%;
  }

  .col-xs-12 {
    width: 50%;
  }

}





@media only screen and (max-width: 991px) {
  .cd-single-point:nth-of-type(1) {
    top: 55%;
    left: 25%;
  }

  .cd-single-point:nth-of-type(2) {
    top: 85%;
    left: 46%;
  }

  .cd-single-point:nth-of-type(3) {
    top: 55%;
    left: 69%;
  }

}

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

  .cd-container {
    /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
    width: 100%;
    max-height: 550px;
    margin: 0 auto;
  }

  .cd-product-wrapper {

    min-height: 250px;
  }

  .cd-single-point:nth-of-type(1) {
    top: 55%;
    left: 15%;
  }

  .cd-single-point:nth-of-type(2) {
    top: 83%;
    left: 45%;
  }

  .cd-single-point:nth-of-type(3) {
    top: 55%;
    left: 75%;
  }

  .cd-single-point>a:after {
    height: 2px;
    width: 12px;
  }

  .cd-single-point>a:before {
    height: 12px;
    width: 2px;
  }


}


@-webkit-keyframes cd-pulse {
  0% {
    -webkit-transform: scale(1);
    box-shadow: inset 0 0 1px 1px rgb(19, 97, 158);
  }

  50% {
    box-shadow: inset 0 0 1px 1px rgb(19, 97, 158);
  }

  100% {
    -webkit-transform: scale(1.6);
    box-shadow: inset 0 0 1px 1px rgb(19, 97, 158);
  }
}

@-moz-keyframes cd-pulse {
  0% {
    -moz-transform: scale(1);
    box-shadow: inset 0 0 1px 1px rgb(19, 97, 158);
  }

  50% {
    box-shadow: inset 0 0 1px 1px rgb(255, 255, 255);
  }

  100% {
    -moz-transform: scale(1.6);
    box-shadow: inset 0 0 1px 1px rgb(255, 255, 255);
  }
}

@keyframes cd-pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    box-shadow: inset 0 0 1px 1px rgb(255, 255, 255);
  }

  50% {
    box-shadow: inset 0 0 1px 1px rgb(255, 255, 255);
  }

  100% {
    -webkit-transform: scale(1.6);
    -moz-transform: scale(1.6);
    -ms-transform: scale(1.6);
    -o-transform: scale(1.6);
    transform: scale(1.6);
    box-shadow: inset 0 0 1px 1px rgb(255, 255, 255);
  }
}

.cd-single-point .cd-more-info {
  position: fixed;
  top: 15%;
  left: 0;
  right: 0;
  z-index: 99999;
  width: 90%;
  height: auto;
  min-height: auto;
  margin: 0 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
  line-height: 1.5;
  background-color: #ffffff;
  padding: 2em 1em;
  visibility: hidden;
  opacity: 0;
  border: 1px solid black;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s, -webkit-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s, -moz-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s, transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
}

.cd-single-point .cd-more-info::before {
  /* triangle next to the interest point description - hidden on mobile */
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  display: none;
  border: 8px solid transparent;
  z-index: 2;
}

.cd-single-point .cd-more-info:after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  display: none;
  border: 9px solid transparent;
  z-index: 1;
}

.cd-single-point .cd-more-info h4 {
  color: #6b6da8;
  font-family: 'Gotham Bold', Arial, Helvetica, sans-serif;
  text-align: left;
  font-size: 15px;
  margin-bottom: 0;
}

.cd-single-point .cd-more-info p {
  color: #000;
  font-family: 'Gotham Book', Arial, Helvetica, sans-serif;
  text-align: left;
  font-size: 13px;
  margin-bottom: 0;
}

/* close the interest point description - only on mobile */
.cd-close-info {
  position: fixed;
  top: 0;
  right: 0;
  height: 44px;
  width: 44px;
}

.cd-close-info:after,
.cd-close-info:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -o-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  background-color: #000;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

.cd-close-info::after {
  height: 2px;
  width: 16px;
}

.cd-close-info::before {
  height: 16px;
  width: 2px;
}


@media only screen and (min-width: 600px) {
  .cd-single-point .cd-more-info {
    position: absolute;
    width: 100%;
    width: 380px;
    height: auto;
    padding: 20px;
    overflow-y: visible;
    line-height: 1.4;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }

  .cd-single-point .cd-more-info:after,
  .cd-single-point .cd-more-info::before {
    display: block;
  }

  .cd-single-point .cd-more-info.cd-left,
  .cd-single-point .cd-more-info.cd-right {
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .cd-single-point .cd-more-info.cd-left::before,
  .cd-single-point .cd-more-info.cd-left::after,
  .cd-single-point .cd-more-info.cd-right::before,
  .cd-single-point .cd-more-info.cd-right::after {
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .cd-single-point .cd-more-info.cd-left {
    right: 160%;
    left: auto;
  }

  .cd-single-point .cd-more-info.cd-left::before {
    border-left-color: white;
    left: 100%;
  }

  .cd-single-point .cd-more-info.cd-right {
    left: 160%;
  }

  .cd-single-point .cd-more-info.cd-right::before {
    border-right-color: white;
    right: 100%;
  }

  .cd-single-point .cd-more-info.cd-right::after {
    border-right-color: black;
    right: 100%;
  }

  .cd-single-point .cd-more-info.cd-top,
  .cd-single-point .cd-more-info.cd-bottom {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .cd-single-point .cd-more-info.cd-top::after,
  .cd-single-point .cd-more-info.cd-top::before,
  .cd-single-point .cd-more-info.cd-bottom::after,
  .cd-single-point .cd-more-info.cd-bottom::before {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .cd-single-point .cd-more-info.cd-top {
    bottom: 160%;
    top: auto;
  }

  .cd-single-point .cd-more-info.cd-top::before {
    border-top-color: white;
    top: 100%;
  }

  .cd-single-point .cd-more-info.cd-bottom {
    top: 160%;
  }

  .cd-single-point .cd-more-info.cd-bottom::before {
    border-bottom-color: white;
    bottom: 100%;
  }

  .cd-single-point .cd-more-info.cd-bottom::after {
    border-bottom-color: black;
    bottom: 100%;
  }

  .cd-single-point .cd-more-info h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 0;
    margin-top: 5px;
  }

  .cd-single-point .cd-more-info.cd-top:after {
    border-top-color: black;
    top: 100%;
  }


}