/* World Map Offices */

.world-map-offices {
    position: relative;
}

.world-map-offices .world-office {
    position: absolute;
    padding-bottom: 20px;
    min-width: 7px;
    min-height: 7px;
    z-index: 1;
}

.world-map-offices .world-office:hover {
    z-index: 2;
}

.world-map-offices .world-office::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #4e4646;
    border-radius: 50%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-top: 0;
    cursor: pointer;
    z-index: 1;
}

.world-map-offices .world-office:hover::before,
.world-map-offices .world-office.selected::before {
    box-shadow: 0 0 0 4px #fe6060;
    -webkit-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}

.world-map-offices .office-details {
    color: #7b7b7b;
    font-size: 12px;
    font-weight: 600;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    position: relative;
    left: -3999px;
    -webkit-transition: opacity .3s ease-in, visibility .3s ease-in;
    transition: opacity .3s ease-in, visibility .3s ease-in;
    position: absolute;
    top: -140px;
    padding-bottom: 30px;
}

.world-map-offices .world-office:hover .office-details,
.world-map-offices .world-office.selected .office-details {
    opacity: 1;
    visibility: visible;
    left: -118px;
}

.world-map-offices .office-details::before {
    content: '';
    position: absolute;
    left: 120px;
    bottom: 18px;
    border-top: 12px solid #FFF;
    border-right: 12px solid rgba(0, 0, 0, 0);
}

.world-map-offices .office-content {
    padding: 7px 25px 0;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    max-height: 80px;
    background: #fff;
    border-radius: 0 2px 2px 0;
    overflow-y: visible;
}

.world-map-offices .office-content h5 {
    color: #1a1c25;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    margin: 5px 0 7px;
}

.world-map-offices .office-content p {
    font-size: 0.9rem;
}

.world-map-offices .office-content p:last-child {
    margin-bottom: 0;
}

.world-map-offices .office-details>a {
    float: left;
}

.world-map-offices .office-details>a img {
    border-radius: 2px 0 0 2px;
}


/* World Map Trigger Links */

.world-map-triggers {
    max-width: 400px;
    margin-bottom: 150px;
    overflow: hidden;
}

ul.world-map-triggers[data-columns] li {
    display: inline-block;
    float: left;
    margin-left: 20px;
}

ul.world-map-triggers[data-columns="3"] li {
    width: -webkit-calc(33.3333% - 20px);
    width: calc(33.3333% - 20px);
}

.world-map-triggers .office-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.4;
    padding: 5px 15px;
    margin-bottom: 5px;
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 3px;
}

.world-map-triggers .office-name.selected,
.world-map-triggers .office-name:hover {
    border-color: #f0d228;
}


/* Fake Loading */

.fake-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1;
    pointer-events: none;
    -webkit-animation: fake-loading .4s ease-in 2s 1 normal forwards;
    animation: fake-loading .4s ease-in 2s 1 normal forwards;
}

.fake-loading.fl--nobg {
    background: none;
}

.fake-loading.loading-1s {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.fake-loading.loading-2s {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.fake-loading.loading-4s {
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

.fake-loading.loading-8s {
    -webkit-animation-delay: 8s;
    animation-delay: 8s;
}

.fake-loading.loading-10s {
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}

.fake-loading:after {
    content: '';
    border: 2px solid rgba(205, 33, 34, 0.16);
    border-top-color: #cd2122;
    border-right-color: #cd2122;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    -webkit-animation: fake-loading-circle .5s infinite linear;
    animation: fake-loading-circle .5s infinite linear;
}

@-webkit-keyframes fake-loading {
    0% {
        visibility: visible;
        opacity: 1;
    }
    100% {
        visibility: hidden;
        opacity: 0;
    }
}

@keyframes fake-loading {
    0% {
        visibility: visible;
        opacity: 1;
    }
    100% {
        visibility: hidden;
        opacity: 0;
    }
}

@-webkit-keyframes fake-loading-circle {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes fake-loading-circle {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.aw-zoom {
    position: relative;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
}

.aw-zoom:hover {
    z-index: 2;
    -webkit-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    transform: scale(1.5);
}


/* Style the Image Used to Trigger the Modal */

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}


/* Modal Content (Image) */

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}


/* Caption of Modal Image (Image Text) - Same Width as the Image */

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}


/* Add Animation - Zoom in the Modal */

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}


/* The Close Button */

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}