/*  --------------------------------------------------------------------------  */
/*  -------------------------------- For wide screen browsers (wider than 1024) */
/*  --------------------------------------------------------------------------  */

html, body {
  height: 100%;
}

body {
    background: #f4f4f4;
    font: 400 13pt 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    color: #272727;
    letter-spacing: -0.5px;
}

a {
    color: #39478c; 
    text-decoration: none; 
    outline: 0;
    }
a:hover {
    color: #090f2a;
    text-decoration: none;
    }
a img  {
    border: none;
}

.clear {
    clear: both;
}

h1 {
    margin: 0;
    padding: 40px 0 40px;
    font: 300 30pt/90% 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    letter-spacing: 0; 
    text-transform: uppercase;
    }
h1 span {
    display: block;
    font-size: 15pt;
    font-weight: 600;
    text-transform: initial;
    letter-spacing: -0.5px; 
}

h2 {
    margin: 0;
    padding: 25px 0 7px;
    font: normal 25pt 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    letter-spacing: -1.5px; 
}

h3 {
    margin: 0;
    padding: 20px 0 7px;
    font: normal 18pt 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    }

h4 {
    margin: 0;
    padding: 25px 0 7px;
    font: bold 15pt 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
}

p {
    margin: 15px 0 15px;
    line-height: 160%;
    text-align: left;
    }
p.emphasis {
    display: block;
    margin: 0 0 14px;
    font: 300 17pt/150% 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif !important;
}

ol {
    margin: 0 0 0 18px;
    }
ul li, ol li{
    margin: 7px 0 7px;
    line-height: 28px;
    text-align: left;
}


#container {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 100%;
    min-height: 100%;
}

.content {
    margin: auto;
    width: 1248px;
}

/*  ----------------------------------------------- HEADER  */


/*  -- Banner */

header {
    padding: 0;
    height: 320px;
    background: #fff url('../images/bg-banner.jpg') no-repeat top;
}

header .content{
    position: relative;
}


/*  -- Logo */

a#logo {
    position: absolute;
    left: 0;
    top: 40px;
    display: block;
    width: 321px;
    height: 97px;
    background: url('../images/bg-logo.png') no-repeat top;
    z-index: 400;
    }
a#logo:hover{
    background-position: bottom;
    }

/*  -- FLAGS */

#translate {
    position: absolute;
    right: 0;
    top: 0;
    float: right;
    padding: 7px 7px 2px;
    background: #eee;
    z-index: 400;
}
.flag-chi{
    display: inline-block;
    width: 50px;
    height: 30px;
    background: url('../images/flag-chi.png') no-repeat bottom;
    cursor: default;
}
.flag-eng{
    display: inline-block;
    width: 50px;
    height: 30px;
    background: url('../images/flag-eng.png') no-repeat top;
}


/*  -- MENU */

nav {    
    position: absolute;
    right: 0;
    top: 60px;
    margin: 0;
    height: 62px;
}

ul#menu {
    width: 100%;
    height: 62px;
    text-align: right;
    }
ul#menu ul {
    list-style: none;
    width: 246px;
    }
ul#menu li {
    display: inline-block;
    margin: 0;
    height: 40px;
    }
ul#menu a {
    display: block;
    padding: 0 10px;
    width: 100%;
    font-size: 13pt;
    letter-spacing: 0.5px;    
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    *zoom: 1;
    }
ul#menu li a:hover {
    color: #000; 
}

    
.pg-home ul#menu li.btn-home,
.pg-about ul#menu li.btn-about,
.pg-project ul#menu li.btn-project,
.pg-team ul#menu li.btn-team,
.pg-news ul#menu li.btn-news,
.pg-contact ul#menu li.btn-contact {
    border-bottom: 4px solid #adada5;
}


/*  -- BODY */

#body {
    flex: 1;
    }
#body .content {
    padding: 50px 0;
}

#body ul li {
    margin: 0 0 5px;
    padding: 0 0 0 18px;
    background: url('../images/bullet.gif') no-repeat 0 7px;
}


/*  -- FOOTER  */

footer{
    padding: 30px 0 0;
    background-color: #efefef;    
}

ul#footermenu {
    float: left;
    margin: 0;
    text-align: left;
    }
ul#footermenu li {
    display: inline-block;
    padding: 0;
    }
ul#footermenu a {
    padding: 10px;
    width: 100%;
    font-size: 13pt;
    letter-spacing: -0.5px;    
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    }
ul#footermenu li a:hover {
    color: #000; 
}

.pg-home ul#footermenu li a.btn-home,
.pg-about ul#footermenu li a.btn-about,
.pg-project ul#footermenu li a.btn-project,
.pg-team ul#footermenu li a.btn-team,
.pg-news ul#footermenu li a.btn-news,
.pg-contact ul#footermenu li a.btn-contact {
    color: #999;
    cursor: default;
}

ul#footermenu li.webdesign:before {
    padding-right: 3px;
    content: "|"
    }
ul#footermenu li.copyright:before {
    padding-right: 12px;
    content: "|"
}


a#footerlogo {
    float: right;
    display: block;
    width: 242px;
    height: 46px;
    background: url('../images/bg-footerlogo.png') no-repeat top;
    }
a#footerlogo:hover {
    background-position: bottom;
}


.disclaimer {
    margin: 20px 0 0;
    padding: 20px;
    font-size: 10pt;
    background: rgba(0,0,0,0.1);
    text-align: center;
}



/*  -- CONTENT ----------  */


/*  -- home  */


.homeleft {
    float: left;
    width: 40%;
}

.homeright {
    float: right;
    width: 55%;
    }
.homeright h4 {
    padding: 0;
}

article.homesnippet {
    padding: 0 0 20px 120px;
    background-repeat: no-repeat;
    background-position: left top;
    }
article.vision {
    background-image: url('../images/bg-homesnippet-vision.png');
    }
article.strategy {
    background-image: url('../images/bg-homesnippet-strategy.png');
}


/*  -- team  */

.team{
    position: relative;
    margin: 0 0 30px;
    padding: 30px;
    background: #fff;
}
.team .triangle{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 31px 31px;
    border-color: transparent transparent #f4f4f4 transparent;
}

.team .imgholder{
    position: relative;
    float: left;
    width: 30%;
    }
.team img{
    float: left;
    }


.team .imgholder .triangle{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 61px 61px;
    border-color: transparent transparent #fff transparent;
    }
.team .linkedin{
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 61px;
    height: 61px;
    background: url('../images/bg-linkedin.png') no-repeat top;
    }
.team .linkedin:hover{
    background-position: bottom;
    }
.team article{
    float: right;
    width: 65%;
    }
.team article h2{
    padding: 0;
    }
.team article h3{
    padding: 0 0 10px;
    text-transform: uppercase;
}


/*  -- news  */

.newsarticle{
    position: relative;
    margin: 0 0 30px;
    padding: 0;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 20px;
}
.article-thumb {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.newsarticle article {
    padding: 0 25px 55px 10px;
}
a.readmore {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-block;
    padding: 5px 20px;
    background-color: #39478c; 
    color: #fff;
    font-size: 80%;
    }
a.readmore:hover {
    background-color: #090f2a;
    color: #fff;
}

.newsdetail {
    display: grid;
    grid-template-columns: 25% auto;
    grid-gap: 50px;
}
.newsdetail h1 {
    text-transform: initial;
    padding-top: 0;
    line-height: 120%;
}

.newsdetail article {
    padding: 50px;
    background: #fff;
}


/* Contact */

.contactleft{
    float: left;
    width: 343px;
    text-align: right;
}

form.basicform{
    position: relative;
    margin: 0 0 3px;
    padding: 20px;
    background-color: #e6e4df;
    -webkit-border-radius: 3px;
    border-radius: 3px; 
    }
form.basicform span{
    position: absolute;
    top: -15px;
    right: 0;
    font-size: 8pt;
    }
form.basicform h3{
    padding: 0;
    text-align: left;
    }
form.basicform p{
    line-height: 13pt;
    }
form.basicform label{
    display: block;
    text-align: left;
    }
form.basicform .textfield{
    display: block;
    margin: 0 0 3px;
    padding: 10px;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; 
    background: #fff;
    border: none;
    font: 600 11pt 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    color: #333;
    -webkit-border-radius: 3px;
    border-radius: 3px; 
    }
form.basicform .textarea{
    min-height: 100px;
    }
.g-recaptcha{
    margin: 10px 0 0;
    float: right;
    }
form.basicform .submit{
    display: inline-block;
    float: right;
    margin: 10px 0 0;
    padding: 7px 17px;
    background-color: #39478c;
    border: 0;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    -webkit-border-radius: 3px;
    border-radius: 3px; 
    }
form.basicform .submit:hover{
    color: #fff;
    background-color: #090f2a;
}

.formconfirmation{
    margin: 0;
    padding: 20px 25px;
    width: 100%;
    color: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;  
    }
.formconfirmation h3{
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: left;
    }
.formconfirmation p{
    margin: 5px 0;
    line-height: 20px;
    }
.formconfirmation a{
    color: #fff;
}

.fc-fail{
    background: #a21c25;
    }
.fc-win{
    background: #39478c;
}

#ValidatedForm label{
    display: block;
    margin: 10px 0 0;
    }
#ValidatedForm label input{
    margin: 0 7px 5px 0;
}
#ValidatedForm label.error{
    display: block;
    margin: 0 0 10px 10px;
    width: auto;
    color: red;
    }
                
table.contacts{
    float: right;
    width: calc(100% - 383px);
    }
table.contacts td{
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
    }
table.contacts td.map{
    padding: 15px 0 10px;
    border-bottom: none;
    }
table.contacts td.map iframe{
    float: left;
    margin: 0;
    width: 100%;
    height: 420px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}


/* Our Story */

.ourstoryleft{
    float: left;
    width: 40%;
}

.ourstoryright{
    float: right;
    width: calc(60% - 30px);
    }
.ourstoryright h2{
    padding-top: 0;
    }
.ourstoryright ul li{
    margin: 0 0 10px;
    padding: 0 0 0 20px;
    line-height: 24px;
    background: url('../images/bullet.gif') no-repeat 0 4px;
}


/* Project */

.projectleft{
    float: left;
    width: calc(100% - 380px);
}

table.projectstats{
    width: 100%;
}
table.projectstats th{
    padding: 10px;
    border-bottom: 1px solid #ccc;
    font-size: 9pt;
    letter-spacing: 0;
    background: #888;
    color: #fff;
    font-weight: normal;
}

table.projectstats th.thhead{
    font-size: 11pt;
    font-weight: normal;
    text-transform: uppercase;
    background: #777
}

table.projectstats td{
    padding: 10px;
    border-bottom: 1px solid #ccc;
    font-size: 9pt;
    letter-spacing: 0;
}

table.projectstats td.vert{
    vertical-align: middle;
    border-bottom: 2px solid #ccc;  
}

table.projectstats tr.subtotal td{
    font-weight: bold;
    background: #eee;
}
table.projectstats tr.total td{
    font-weight: bold;
    background: #ddd;
}

table.projectstats tr.inferred td{
    border-bottom: 2px solid #ccc;    
}

.tablefooter{
    margin: 10px 0;
}

.tablefooter h5, .tablefooter p{
    font-size: 9pt;
}

img.mineoption1{
    margin: 0 20px 0 0;
}

.projectright{
    float: right;
    width: 300px;
}

a.download{
    display: block;
    margin: 10px 0;
    padding: 0 20px;
    line-height: 60px;
    background: #ddd url('../images/bg-download.png') no-repeat right top;
}
a.download:hover{
    background-color: #ccc; 
}



/* YouTube Embed */

.mediacontainer {
    margin: 0 0 10px;
    }

.videoWrapper {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    }
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 5px solid #ccc;

}








