/*Testimonials Pages Only*/
body {
    background: -webkit-radial-gradient(75% 50%,rgb(52, 188, 247),#0DA6E8,#0271B6 );
}
#inner-wrapper {
    background: url(../img/grid-blue.png) center center repeat;
}

#map-wrapper {
    background: url(../img/map-japan-greena3.png) center 81px no-repeat;
    position: absolute;
    min-height: 832px;
}

#map-wrapper.animated {
    z-index: 0!important;
}

.admin-bar #map-wrapper {
    top: 46px;
}

.map-sides {
    max-width: 22px;
    width: 22px;
}

.map-quote {
    background: url(../img/map-quote.png) top center no-repeat;
    background-size: 18px!important;
    width: 24px;
    height: 18px;
    position: absolute;
    opacity: 0;
    visibility: hidden;
}
.map-message {
    display:none;
}

.map-location{
    width:90px;
    z-index:498;
    height:80px;
    position:absolute;
    margin-left:-35px;
    margin-top:-68px;
    cursor:pointer;
    overflow:hidden;
    opacity:0;
    visibility:hidden;
}

.map-marker-small.hidden { opacity:0; visibility:hidden;display: none;}
.map-location-thumbnail,
.map-location-name {
    display:none;
    z-index:1001;
}

.message-block { display:none; }
.map-location-messages.animated,.message-block.animated { display:block;}

.map-marker {
    width: 20px;
    height: 22px;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    display:none;
}
.map-marker.animated {
    display:block;
}

#map-messages {
    color: #ffffff;
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 14px;
    font-family: Georgia, "Times New Roman",Times, serif;
    line-height: 19px;
}
.map-location-messages {
    opacity: 0;
    visibility: hidden;
    display: none;
}
.map-marker-small {
    width:20px;
    z-index: 1;
    height:22px;
    background:url('../img/map-markers.png') center -8px no-repeat;
}
.map-marker-big {
    width:43px;
    height:63px;
    z-index: 0;
    opacity:0;
    visibility:hidden;
    margin-top:-40px;
    margin-left:-12px;
    background:url('../img/map-marker-big.png') no-repeat;
}

#map-messages-block {
    z-index:497;
    padding: 0 1rem;
    height: 100%;
    opacity:0;
    visibility: hidden;
}

#map-left-arrow {
    background:url('../img/map-left-arrow.png') top center no-repeat;
}

#map-right-arrow {
    background:url('../img/map-right-arrow.png') top center no-repeat;
}

#map-right-arrow, #map-left-arrow {
    width: 24px;
    height: 22px;
    background-size: 18px;
    background-position: 4px 4px;
    z-index:999;
    margin-top: 58px;
    opacity:0;
    visibility:hidden;
    cursor:pointer;
    /* padding: 8px; */
}

#map-right-arrow{
    margin-top: 32px;
}

.map-location-spacer {
    height:55px;
    z-index: 1;
    width:87px;
    background:transparent;
    display:none!important;
}

.map-location-title {
    bottom: 0;
    left: 2px;
    top: 57px;
    width: 86px;
    height: 21px;
    text-indent: -999px;
    background: #0000007a;
    font-size: 12px;
    padding-top: 2px;
    opacity: 0;
    visibility: hidden;
    display: none;
}
.map-location-title.animated {
    display:block;
    text-indent:0;
}

#map-messages-title {
    z-index:497;
    margin-top:80px;
    background:url('../img/messages-from-our-staff-new.png') no-repeat;
    cursor:pointer;
    opacity:0;
    visiblity:hidden;
}
#map-messages-title.animated {
    width:540px;
    height:54px;
}
.staff-message,
#map-messages {
    /* font-size: .95rem; */
    /* line-height: 18px; */
    letter-spacing: .02em;
    font-family: Georgia, "Times New Roman",Times, serif;
    text-align: justify;
}

.map-location-thumb {
    border: 2px solid white;
}
.message-block .staff-meta {
    height: 148px;
}
.message-block .image-wrap {
    /* height: 157px; */
    width: 135px;
    float: left;
}
.staff-image {
    margin-top: 31px;
}
.staff-image {
    width: 120px;
    /* height: 130px; */
    background: url(../img/map-thumbnail-bg.png) no-repeat;
    overflow: hidden;
    z-index: 0;
}
.message-block .info-wrap {
    width: calc(100% - 135px);
    float: left;
}
.message-block .staff-message a.link-title {
    color: #fff;
    text-transform: none;
}
.staff-title {
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: .05em;
}
.staff-location {
    letter-spacing: .05em;
    font-weight: bold;
    font-size: 16px;
}
.staff-title {
    margin-top:10px;
    font-weight:bold;
    color:white;
    font-size:16px;
    letter-spacing: .05em;
}
.staff-image img {
    margin-top: 14px;
    width: 111px;
    height: 111px;
}

#career-opportunities-white {
    z-index: 999;
    width: 274px;
    height: 38px;
    margin:auto;
    padding: 13px 0 0 32px;
    background: transparent url(../img/career-opportunities-bg.png) no-repeat;
}


.staff-video .video-wrapper {
    border: 1px solid #19538F;
    background: rgba(0,138,225,1);
    margin: 0;
    padding: 6px 5px 6px;
}

.wp-video {
    width:100%!important;
    height:auto;
}
.staff-video .video-wrapper {
    width: 412px!important;
    max-width:412px!important;
    min-width:412px!important;
    height: 313px!important;
    max-height: 313px!important;
    min-height: 313px!important;
    cursor:pointer;

}

.staff-video .wp-video .mejs-container:not(.mejs-container-fullscreen){
    width: 400px!important;
    max-width:400px!important;
    min-width:400px!important;
    height: 300px!important;
    max-height: 300px!important;
    min-height: 300px!important;
    cursor:pointer;

}
.staff-video .video-wrapper * {
    max-width:100%!important;
    max-height:100%!important;
}

.video-wrapper video { display:none;}
.mejs-controls .mejs-button BUTTON:focus{
    outline: solid 0px #006699!important;
}

.mejs-container, .mejs-embed, .mejs-embed body, .mejs-container .mejs-controls,.mejs-controls{
    background:transparent;
    background-color:transparent!important;
}

.staff-video .video-wrapper {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.video-wrapper .video-inner{
    width: 400px!important;
    max-width: 400px!important;
    min-width: 400px!important;
    height: 300px!important;
    max-height: 300px!important;
    min-height: 300px!important;
    background:#000;
}

.mejs-overlay { width:400px!important;height:300px!important;}

.mejs-controls DIV.mejs-time-rail,
.mejs-controls .mejs-time-rail A{
    width: 100%!important;
    max-width: 388px!important;
    height: 19px;
    margin: 0;
    padding-top: 0;
}

.location-messages.animated .video-wrapper { display:block;}


@media only screen and (max-width: 767px) and (min-width: 480px){
    .map-sides {
        width: 20px;
    }
}

@media only screen and (max-width: 767px) and (min-width: 480px){
    .staff-title {
        margin-top: 0;
        font-size: 13px;
    }
    .staff-location {
        font-size: 13px;
    }
    .message-block .image-wrap {
        /* height: 100px; */
        width: 95px;
        float: left;
    }
    .message-block .info-wrap {
        width: calc(100% - 95px);
    }
    .staff-image {
        width: 84px;
        /* height: 92px; */
        background-size: 85px!important;
        margin-top: 12px;
    }
    .staff-image img {
        margin-top: 11px!important;
        width: 81px!important;
        height: 81px!important;
    }
}

@media only screen and (max-width: 991px) and (min-width: 768px){
    .map-quote {
        background-size: 20px!important;
        width: 20px;
        height: 20px;
    }
    #map-right-arrow, #map-left-arrow {
        margin-top: 50px;
        width: 24px;
        height: 24px;
        background-size: 18px!important;
    }
    #map-right-arrow {
        margin-top: 28px;
    }
    .message-block {
        margin: 0;
    }
    .staff-message p {
        margin-bottom: .5rem;
    }
    .staff-title {
        margin-top: 7px;
        font-size: 15px;
        letter-spacing: .04em;
    }
    .staff-location {
        letter-spacing: .02em;
        width: 275px;
        font-weight: bold;
        font-size: 15px;
    }
    .staff-image {
        background-size: 110px;
        width: 110px;
        /* height: 123px; */
    }
    .staff-image img {
        margin-top: 14px;
        width: 105px;
        height: 104px;
    }
}

@media only screen and (max-width: 767px) and (min-width: 480px){
    .mejs-controls DIV.mejs-time-rail, .mejs-controls .mejs-time-rail A {
        width: 100%!important;
        max-width: 320px!important;
    }
}

@media only screen and (max-width: 959px) and (min-width: 768px) {
    .message-block .image-wrap {
        /* height: 136px; */
        width: 120px;
    }
}

@media only screen and (max-width: 767px){
    #map-wrapper {
        background: transparent!important;
    }
    .map-marker { display: none}
    .staff-video .video-wrapper {
        width: 352px!important;
        max-width: 352px!important;
        min-width: 352px!important;
        height: 268px!important;
        max-height: 268px!important;
        min-height: 268px!important;
    }

    .video-wrapper .video-inner, .staff-video .wp-video .mejs-container:not(.mejs-container-fullscreen) {
        width: 340px!important;
        max-width: 340px!important;
        min-width: 340px!important;
        height: 255px!important;
        max-height: 255px!important;
        min-height: 255px!important;
    }
}
@media only screen and (max-width: 479px){
    .message-block .image-wrap {
        height: 80px;
        width: 71px;
    }
    .message-block .info-wrap {
        width: calc(100% - 71px);
        float: left;
    }
    .staff-title, .staff-location {
        font-size: 11px;
        line-height: 14px;
    }
    .staff-image {
        margin-top: 12px;
        width: 70px;
        height: 70px;
        background-size: 62px!important;
    }
    .staff-image img {
        margin-top: 8px!important;
        width: 59px!important;
        height: 59px!important;
    }
    .staff-video .video-wrapper {
        width: 232px!important;
        max-width: 232px!important;
        min-width: 232px!important;
        height: 177px!important;
        max-height: 177px!important;
        min-height: 177px!important;
    }
    .video-wrapper .video-inner, .staff-video .wp-video .mejs-container:not(.mejs-container-fullscreen) {
        width: 220px!important;
        max-width: 220px!important;
        min-width: 220px!important;
        height: 165px!important;
        max-height: 165px!important;
        min-height: 165px!important;
    }
    #map-messages-block {
        min-height: 240px;
    }
}

@media (min-width: 768px) {
    .admin-bar #map-wrapper {
        top: 32px;
    }
    #career-opportunities-white {
        top: -64px;
        margin-left: 322px;
    }
    #map-messages-block {
        min-height: 646px;
    }
}
@media only screen and (min-width: 992px) {
    #career-opportunities-white {
        margin-left: 440px;
        top: -88px;
    }
    .staff-message, #map-messages {
        /* font-size: 14px; */
        /* line-height: 17px; */
    }
}

@media only screen and (min-width: 1024px) {
    .map-quote {
        background-size: 24px!important;
        width: 24px;
        height: 24px;
    }
    #map-right-arrow, #map-left-arrow {
        width: 28px;
        height: 24px;
        background-size: 22px!important;
    }
}

@media only screen and (min-width: 1200px) {
    #career-opportunities-white {
        margin-left: 560px;
        top: -115px;
    }
    .staff-message, #map-messages {
        /* font-size: 15px; */
        /* line-height: 19px; */
        /* letter-spacing: .05em; */
    }
}
@media only screen and (min-width: 1366px) {
    #career-opportunities-white {
        margin-left: 680px;
    }
}
@media only screen and (min-width: 1600px) {
    #career-opportunities-white {
        margin-left: 780px;
    }
}