/* .tooltip{
    font-size: inherit;
    opacity: 1;
} */

/* =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 {
    padding: 4rem 0 4rem;
    position: relative;
}

#places-map img {
    height: auto;
    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: 28px;
    margin-top: -28px;
    margin-left: -11px;
    width: 24px;
    z-index: 3;
}

@media (min-width: 48em) {
    .js #places-map .map-location-marker {
        visibility: hidden;
    }

    .js #places-map .map-location-marker.bounceInDown {
        visibility: visible;
    }
}

#places-map .marker-srilanka {
    left: 71%;
    bottom: 38%;
}

@media (max-width: 37.4375em) {
    #places-map .marker-srilanka {
        left: 65%;
        bottom: 32%;
    }
}

#places-map .marker-bangladesh {
    left: 73%;
    bottom: 47%;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

#places-map .marker-vietnam {
    left: 78.5%;
    bottom: 41%;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

#places-map .marker-nepal {
    left: 71%;
    bottom: 50%;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#places-map .marker-malaysia {
    left: 77%;
    bottom: 37%;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

#places-map .marker-thailand {
    left: 76%;
    bottom: 43.5%;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

#places-map .marker-italy {    
    left: 51%;
    top: 42%;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

#places-map .marker-uk {
    left: 47%;
    top: 36%;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

#places-map .marker-greece {
    left: 53.5%;
    top: 44%;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

#places-map .marker-slovakia {
    left: 52.5%;
    top: 38.5%;
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

#places-map .marker-cyprus {
    left: 57%;
    top: 47%;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

#places-map .marker-saudi {
    left: 60%;
    top: 54%;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
}

#places-map .marker-uae {
    left: 63%;
    top: 53%;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
}

#places-map .marker-kuwait {
    left: 61%;
    top: 50%;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
}

#places-map .marker-usa {
    left: 20%;
    top: 45%;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
}

#places-map .marker-new-zeland {
    right: 5%;
    bottom: 4%;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
}

#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: 5px solid #fff;
    border-radius: 30px;
    content: "";
    display: block;
    height: 31px;
    top: -4px;
    left: -4px;
    opacity: 0;
    position: absolute;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    transition: all 0.25s linear;
    width: 31px;
    z-index: 2;
}

#page-places {
    position: relative;
}

#map-info {
    background: #000;
    color: #fff;
    position: absolute;
    top: -1.5625em;
    left: 50%;
    margin-left: -7.8125em;
    padding: 1.125em;
    width: 15.625em;
    z-index: 10;
}

#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: 50%;
        margin-top: -8.875em;
    }
}

@media (min-width: 60em) {
    #map-info {
        margin-left: -8.875em;
        width: 17.75em;
    }
}

@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.srilanka {
        left: 76%;
        bottom: 32%;
    }

    #map-info.bangladesh {
        left: 67%;
        bottom: 40%;
    }

    #map-info.vietnam {
        left: 32.5%;
        bottom: 0;
        top: auto;
    }

    #map-info.vietnam:before {
        top: 152px;
    }

    #map-info.nepal {
        bottom: 5%;
        left: 20%;
        top: auto;
    }

    #map-info.nepal:before {
        top: 45px;
    }

    #map-info.malaysia {
        top: 12.5%;
        left: 48%;
    }

    #map-info.thailand {
        top: 10.5%;
        left: 54.5%;
    }

    #map-info.uk {
        top: 35%;
        left: 66.5%;
    }

    #map-info.italy {
        left: auto;
        top: auto;
        bottom: 0%;
        right: 24%;
    }

    #map-info.italy:before {
        border-width: 13px 0 13px 16px;
        border-color: transparent transparent transparent #000;
        left: auto;
        right: -16px;
        top: 55px;
    }

    #map-info.greece {
        left: auto;
        top: auto;
        bottom: 1.75%;
        right: 18.5%;
    }

    #map-info.greece:before {
        border-width: 13px 0 13px 16px;
        border-color: transparent transparent transparent #000;
        left: auto;
        right: -16px;
    }

    #map-info.slovakia {
        left: auto;
        top: auto;
        right: 11.5%;
        bottom: 0;
    }

    #map-info.slovakia: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;
    margin-top: 0.6666666667em;
    text-decoration: underline;
}

#map-info img {
    height: auto;
    max-width: 100%;
}