﻿/* Breakpoints
// ========================================================================== */
/* 320px */
/* 480px */
/* 599px */
/* 600px */
/* 768px */
/* 967px */
/* 960px */
/* 1400px */
/* Colors 
// ========================================================================== */
/* Convert px to ems
// ========================================================================== */
/* Mixins
// ========================================================================== */
/* Media Query Watcher
// ========================================================================== */
#getActiveMQ-watcher {
  font-family: "break-0";
}
@media (min-width: 20em) {
  #getActiveMQ-watcher {
    font-family: "break-1";
  }
}
@media (min-width: 30em) {
  #getActiveMQ-watcher {
    font-family: "break-2";
  }
}
@media (min-width: 37.5em) {
  #getActiveMQ-watcher {
    font-family: "break-3";
  }
}
@media (min-width: 48em) {
  #getActiveMQ-watcher {
    font-family: "break-4";
  }
}
@media (min-width: 60em) {
  #getActiveMQ-watcher {
    font-family: "break-5";
  }
}

/* =Map Pin Animation
// ========================================================================== */
@-webkit-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
}
@-moz-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
}
@keyframes pulsate {
  0% {
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
}
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes bounceInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
    transform: translateY(-2000px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  80% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes bounceInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
    -ms-transform: translateY(-2000px);
    transform: translateY(-2000px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
  }
  80% {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

/* =Places Map
// ========================================================================== */
#places-map {
  background: #fff;
  padding: 0;
  position: relative;
}

#places-map h1 {
  font-size: 1.3125em;
  margin-top: 0.9523809524em;
  text-align: center;
}
@media (min-width: 37.5em) {
  #places-map h1 {
    font-size: 2.1875em;
    margin-top: 0.9428571429em;
  }
}
#places-map .wu-logo {
  display: none;
  height: 3.875em;
  width: 11.3125em;
}
@media (min-width: 60em) {
  #places-map .wu-logo {
    background: url(https://jeffbridgforth.com/codepen/wu-logo.jpg) no-repeat;
    display: block;
    position: absolute;
    bottom: 1.875em;
    left: 2em;
  }
}
@media (min-width: 87.5em) {
  #places-map .wu-logo {
    left: 50%;
    margin-left: -43.75em;
  }
}
#places-map img {
  height: 450%;
  position: relative;
  width: 100%;
  z-index: 1;
}
.secondary-page #places-map .content {
  margin: 0;
  position: relative;
}
@media (min-width: 60em) {
  .secondary-page #places-map .content {
    margin: 0 auto;
  }
}
#places-map .map {
  position: relative;
  max-width: 56.4375em;
  margin-left: auto;
  margin-right: auto;
}
#places-map .map-pins {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
}
#places-map .map-location-marker {
  background: url("../images/map-pin.png") no-repeat;
  cursor: pointer;
  position: absolute;
  height: 30px;
  margin-top: -1.875em;
  margin-left: -0.7857142857em;
  width: 30px;
  z-index: 99;
}
@media (min-width: 48em) {
  .js #places-map .map-location-marker {
    visibility: hidden;
  }
  .js #places-map .map-location-marker.bounceInDown {
    visibility: visible;
  }
}
#places-map .marker-san-francisco {
  left: 29%;
  top: 45%;
}
@media (max-width: 37.4375em) {
  #places-map .marker-san-francisco {
    left: 6%;
    top: 32%;
  }
}
#places-map .marker-denver {
  left: 45%;
  top: 39%;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}
#places-map .marker-furance-camera {
  left: 24.5%;
  bottom: 33.5%;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
#places-map .marker-dubai {
  left: 64%;
  top: 42%;
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
#places-map .marker-burner {
  left: 40.5%;
  top: 57%;
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
#places-map .marker-peterborough {
  left: 57.5%;
  top: 32%;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
#places-map .marker-vilnius {
  left: 36%;
  top: 18%;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
#places-map .marker-vilnius1 {
  left: 52%;
  top: 18%;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
#places-map .marker-vilnius3 {
  left: 52%;
  top: 18%;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
#places-map .marker-vilnius4 {
  left: 52%;
  top: 18%;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
#places-map .marker-singapore {
  left: 79%;
  bottom: 42%;
  -webkit-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
#places-map .marker-manila {
  left: 84.5%;
  top: 48%;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}
#places-map .marker-sydney {
  bottom: 14%;
  right: 7.5%;
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}
#places-map .map-location-marker:after {
  -webkit-animation: pulsate 2s ease-in-out infinite;
  -moz-animation: pulsate 2s ease-in-out infinite;
  animation: pulsate 2s ease-in-out infinite;
  background: transparent;
  border: 3px solid #fff;
  border-radius: 30px;
  content: "";
  display: block;
  height: 20px;
  left: 2px;
  opacity: 0;
  position: absolute;
  top: 2px;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  transition: all 0.25s linear;
  width: 20px;
  z-index: 2;
}

#page-places {
  position: relative;
}

#map-info {
  background: #010a39;
  color: #fff;
  position: absolute;
  top: -1.5625em;
  left: 32%;
  margin-left: -7.8125em;
  padding: 1.125em;
  width: 15.625em;
  z-index: 100;
}
#map-info .close-btn {
  background: url(http://jeffbridgforth.com/codepen//close-btn.png) no-repeat;
  cursor: pointer;
  display: block;
  height: 0.6875em;
  width: 0.6875em;
  position: absolute;
  right: 1.125em;
  top: 1.125em;
}
@media (min-width: 30em) {
  #map-info {
    top: 34%;
    margin-top: -8.875em;
    /*  left: 49%;  */
  }
}
@media (min-width: 60em) {
  #map-info {
    margin-left: -8.875em;
    width: 13em;
  }
}
@media (min-width: 48em) {
  #map-info {
    margin-left: 0;
    margin-top: 0;
  }
  #map-info:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 16px 13px 0;
    border-color: transparent #000 transparent transparent;
    position: absolute;
    left: -16px;
  }
  #map-info.san-francisco {
    left: 33%;
    top: 33%;
  }
  #map-info.san-francisco1 {
    left: 33%;
    top: 37%;
  }
  #map-info.san-francisco2 {
    left: 33%;
    top: 36%;
  }
  #map-info.denver1 {
    left: 49%;
    top: 27%;
  }
  #map-info.denver {
    left: 49%;
    top: 32%;
  }
  #map-info.denver2 {
    left: 49%;
    top: 30%;
  }
  #map-info.furance-camera {
    left: 28%;
    bottom: 100px;
    top: auto;
  }
  #map-info.furance-camera1 {
    left: 29%;
    bottom: 180px;
    top: auto;
  }
  #map-info.furance-camera2 {
    left: 29%;
    bottom: 144px;
    top: auto;
  }
  #map-info.furance-camera:before {
    top: 20px;
  }
  #map-info.burner {
    bottom: 38%;
    left: 45%;
    top: auto;
  }
  #map-info.burner1 {
    bottom: 38%;
    left: 44%;
    top: auto;
  }
  #map-info.burner1 {
    bottom: 36%;
    left: 45%;
    top: auto;
  }
  #map-info.burner :before {
    top: 45px;
  }
  #map-info.peterborough {
    top: 20%;
    left: 61%;
  }
  #map-info.peterborough1 {
    top: 25%;
    left: 61%;
  }
  #map-info.peterborough2 {
    top: 24%;
    left: 61%;
  }
  #map-info.peterborough3 {
    top: 23%;
    left: 61%;
  }
  #map-info.millgearboxes {
    top: 59%;
    left: 28%;
  }
  #map-info.ballmillliners {
    top: 37%;
    left: 33%;
  }
  #map-info.bolts {
    top: 31%;
    left: 49%;
  }
  #map-info.girthgears {
    top: 49%;
    left: 45%;
  }
  #map-info.grindingballs {
    top: 10%;
    left: 56%;
  }
  #map-info.vilnius {
    top: 6%;
    left: 40%;
  }
  #map-info.vilnius1 {
    top: 11%;
    left: 56%;
  }
  #map-info.vilnius3 {
    top: 9%;
    left: 56%;
  }

  #map-info.dubai {
    top: 30%;
    left: 68%;
  }
  #map-info.dubai1 {
    top: 34%;
    left: 68%;
  }
  #map-info.dubai2 {
    top: 33%;
    left: 68%;
  }
  #map-info.singapore {
    left: auto;
    top: auto;
    /*bottom: 0%;*/
    bottom: 35%;
    right: 24%;
  }
  #map-info.singapore:before {
    border-width: 13px 0 13px 16px;
    border-color: transparent transparent transparent #000;
    left: auto;
    right: -16px;
    /*  top: 55px;*/
    top: 10px;
  }
  #map-info.manila {
    left: auto;
    top: auto;
    bottom: 1.75%;
    right: 18.5%;
  }
  #map-info.manila:before {
    border-width: 13px 0 13px 16px;
    border-color: transparent transparent transparent #000;
    left: auto;
    right: -16px;
  }
  #map-info.sydney {
    left: auto;
    top: auto;
    right: 11.5%;
    bottom: 0;
  }
  #map-info.sydney:before {
    border-width: 13px 0 13px 16px;
    border-color: transparent transparent transparent #000;
    left: auto;
    right: -16px;
    bottom: 50px;
  }
}
#map-info h1 {
  float: left;
  font-size: 1.375em;
  line-height: 1;
  margin-bottom: 0.7272727273em;
  margin-top: 0;
}
#map-info a {
  color: #ffdf1c;
  display: block;
  font-size: 0.75em;
  float: right;
  margin-right: 2.5em;
  display: none;
  margin-top: 0.6666666667em;
  text-decoration: underline;
}
#map-info img {
  height: auto;
  max-width: 100%;
}

#places-map .map-location-marker img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  opacity: 1;
  margin: auto;
  position: absolute;
  left: -20px;
  top: -20px;
  border-radius: 4px;
  z-index: 9;
  filter: grayscale(100%);
}

#places-map .map-location-marker img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

#Mechanical.tabcontent,
#Electrical.tabcontent,
#Instruments.tabcontent,
.tabcontent {
  padding-block: 50px;
}
