/** GLOBAL HEADER **/
#site-navigation a {
    padding: 0.5em 1em !important;
}
.home header.site-header, .page-id-19 header.site-header, .page-id-247 header.site-header, .category header.site-header, .page-id-368 header.site-header, .page-id-1487 header.site-header, .page-id-1489 header.site-header, .page-id-1453 header.site-header, .page-id-1470 header.site-header, .page-id-1491 header.site-header {
    background: linear-gradient(to bottom,rgba(0,107,164,0.3),rgba(25,160,234,0));
    position: relative;
    z-index: 9;
}

/** GLOBAL FOOTER ***/
.footer-mobile-button {
    display: none;
}

.mobile-view {
    display: none;
}
.desktop-view {
    display: block;
}
/** About Page **/
.about-header-n {
    width: 100%;
    background: url(/wp-content/themes/twentysixteen/img/about-banner.jpg) no-repeat top center;
    min-height: 729px;
}
#about .grid .item.r {
}
#about .grid .item:nth-child(3) {
    margin-right: 0 !important;
}

.director-list {
    width: 100%;
}
.director-list ul {
    padding: 0;
    margin: 0;
}
.director-list ul li {
    width: 49%;
    display: inline-block;
    background-color: #ececec;
    border-radius: 18px;
    overflow: hidden;
    line-height: 22px;
    margin-left: 1%;
    margin-top: 10px;
    vertical-align: top;
}
.director-list ul li:nth-child(odd) {
    margin-left: 0;
}
.director-list ul li .dimage, .director-list ul li .ddesc {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.director-list ul li.di-right .dimage:before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(50% - 10px);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #ececec;
}

.director-list ul li.di-left .dimage:before {
    content: '';
    position: absolute;
    right: 0;
    top: calc(50% - 10px);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #ececec;
}
.director-list ul li .dimage img {
    width: 100%;
}
.director-list ul li .ddesc {
    padding: 15px 8px 0 8px;
}
.director-list ul li .ddesc .dtitle {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
    color: #2e2e2e;
}
.director-list ul li .ddesc .position {
    font-size: 18px;
    color: #3db7df;
    line-height: 1;
}

body.page-id-19 .director-list ul li .ddesc .dtitle {
    margin-top: 0;
    font-size: 22px;
    font-weight: bold;
    color: #2e2e2e;
}
body.page-id-19 .director-list ul li .ddesc .position {
    font-size: 22px;
    color: #3db7df;
    line-height: 1;
}
.director-list ul li .ddesc p {
    line-height: 1.2em;
    margin-top: 10px;
    font-size: 15px;
}
/*
.director-list ul li.di-left .ddesc:before {
    content: '';
    position: absolute;
    left: -13px;
    top: calc(50% - 10px);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #ececec;
}*/
.director-list ul li.di-right .dimage {
    float: right;
}
.director-list ul li.di-right .ddesc {
    padding: 15px 0 0 8px;
}
/*
.director-list ul li.di-right .ddesc:before {
    content: '';
    position: absolute;
    right: -19px;
    top: calc(50% - 10px);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #ececec;
}*/
#about .partner img {
    margin-top: 0 !important;
}
body.page-id-1491 #about .directors .list .item strong {
    font-size: 15px !important;
}

/** TECHNOLOGY PAGE **/
header.tech {
    min-height: 712px;
    width: 100%;
    background: url(/wp-content/themes/twentysixteen/img/img-tech-banner.jpg) no-repeat top center;
    padding-top: 125px;
    margin-bottom: 30px;
    background-size: auto 100%;
}
.margin0 {
    margin-top: 0 !important;
}
header.tech h1 {
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    line-height: 35px;
    margin-bottom: 20px;
}
header.tech .ctent {
    margin: 0 auto;
    max-width: 672px;
    font-size: 18px;
    text-align: center;
    color: #fff;
    z-index: 1;
    position: relative;
    line-height: 1.2em;
}
.char-mobile-view {
    display: none;
}
.section .img.right {
    float: right;
}

/** HOME PAGE **/
.h-d-banner {
    background: url(/wp-content/themes/twentysixteen/img/homebg.jpg) no-repeat;
    background-size: auto 100%;
    height: 100vh;
    padding-top: 100px;
    background-position: top center;
}
.h-d-banner h1 {
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5em            ;
    line-height: 40px;
}
.h-d-banner p {
    font-size: 22px;
    line-height: 1.27;
    color: #ffffff;
    max-width: 620px;
}
.m-d-banner {
    display: none;
}

/** Category Page **/
.cat-banner-m {
    display: none;
}
.ccta a {
    background: url(/wp-content/themes/twentysixteen/img/btn-play-yellow.png) no-repeat;
}
body.category .entry-content a {
    padding: 0.5em 1em;
    border-radius: 9px;
    border: solid 1px #4fbdd9;
    display: inline-block;
    box-shadow: none;
    color: #4fbdd9;
}

/** WPML TRANSLATION **/
.wpml-ls-slot-2.wpml-ls-current-language, 
.wpml-ls-slot-2.wpml-ls-current-language a, 
.wpml-ls-slot-2.wpml-ls-current-language a:visited, 
.wpml-ls-slot-2, .wpml-ls-slot-2 a, .wpml-ls-slot-2 a:visited{
    background:rgba(255,255,255,0.2);
}
.menu-item-wpml-ls-2-en a {
    border: 1px solid white;
    border-right: 0;
    -webkit-border-top-left-radius: 32px;
    -webkit-border-bottom-left-radius: 32px;
    -moz-border-radius-topleft: 32px;
    -moz-border-radius-bottomleft: 32px;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    padding: 0.5em 1em;

}
.menu-item-wpml-ls-2-jp a {
    border: 1px solid white;
    border-left: 0;
    -webkit-border-top-right-radius: 32px;
    -webkit-border-bottom-right-radius: 32px;
    -moz-border-radius-topright: 32px;
    -moz-border-radius-bottomright: 32px;
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
    padding: 0.5em 1em;
}
#menu-item-wpml-ls-2-cn a {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding-top: .5em;
    padding-bottom: .5em;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#menu-item-wpml-ls-2-cn a span {
    border-left: 1px solid white !important;
    border-right: 1px solid white;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.main-navigation .primary-menu > li#menu-item-wpml-ls-2-en{
    -webkit-border-top-left-radius: 32px;
    -webkit-border-bottom-left-radius: 32px;
    -moz-border-radius-topleft: 32px;
    -moz-border-radius-bottomleft: 32px;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}
.main-navigation .primary-menu li.menu-item-wpml-ls-2-jp {
    -webkit-border-top-right-radius: 32px;
    -webkit-border-bottom-right-radius: 32px;
    -moz-border-radius-topright: 32px;
    -moz-border-radius-bottomright: 32px;
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
}
#site-navigation li.wpml-ls-slot-2 a:focus, 
#site-navigation li.wpml-ls-slot-2 a:active, 
#site-navigation li.wpml-ls-slot-2 a:hover, 
#site-navigation .current-menu-item > li.wpml-ls-slot-2 a {
    color: #6cd5f8;
}
.wpml-ls-current-language a {
    font-weight: bold;
    display: list-item;
    list-style-type: disc;       
    list-style-position: inside;
    padding-left: 10px;
}
.wpml-ls-current-language a span {
    position: relative;
    left: -10px;    
     margin-right: -10px;
}
li#menu-item-wpml-ls-2-cn.wpml-ls-current-language a span {
    left: -34px;
    margin-right: -34px;
}
li#menu-item-wpml-ls-2-cn.wpml-ls-current-language a {
    padding-left: 8px !important;
}
.site-content {    
    margin: auto;
    margin-top: -71px;
}

body.page-id-1493 #about article p {
    line-height: 1.5;
}

/** Category Page **/
.social-button a img {
    display: inline-block;
    margin-top: -4px;
}
.social-button a {
    margin-bottom: 10px;
    margin-right: 10px;
}
.social-button a.messenger {
    
}
.social-button a.line {
    border: solid 1px #01c300 !important;
    color: #01c300 !important;
}
.social-button a.viber {
    border: solid 1px #7b519d !important;
    color: #7b519d !important;
}
.social-button a.chat {
    border: solid 1px #01c300 !important;
    color: #01c300 !important;
}
