/* whole file */
*{
    padding: 0;
    margin: 0;
}
body{
    font-family: Lato,"Helvetica Neue", Helvetica, Arial, sans-serif;
    padding-top:50px;
}
/* navigation bar */
nav{
    width:100%;
    height:50px;
    border:1px;
    background-color: #222;
    position:fixed;
    top:0;
    z-index:1;
}
ul{
    list-style-type: none;
}
a{
    text-decoration: none;
}
div.nav-container{
    width:1140px;
    height:100%;
    margin:auto;
}
@media screen and (max-width:1200px) {
    div.nav-container{
        width:940px;
    }
}
@media screen and (max-width:992px){
    div.nav-container{
        width:720px;
    }
}
@media screen and (min-width:768px){
    div.main-menu{
        float:right;
    }
    div.main-menu > ul > li{
        float:left;
        position:relative;
    }
    div.main-menu > ul > li > a{
        color: #999999;
        display: block;
        height:20px;
        padding:15px;
        font-size: 14px;
        text-decoration: none;
    }
    button.menu-button{
        display:none;
    }
}
/* mobile navigation bar */
@media screen and (max-width:767.5px){
    /* menu button */
    button.menu-button{
        float: right;
        width:44px;
        height:32px;
        background-color: transparent;
        border-style: solid;
        border-width: 1px;
        border-radius: 5px;
        margin-top:8px;
        margin-bottom: 8px;
        margin-right:15px;
    }
    div.icon-bar{
        left:8px;
        width: 25px;
        height:1.5px;
        background-color: white;
        margin: 6px 8px;
    }
    /* mobile menu */
    div.nav-container{
        width:100%;
    }
    div.main-menu{
        display:none;
        position: absolute;
        top:50px;
        width:100%;
        background-color: #222;
        max-height:339px;
        overflow:auto;
    }
    div.main-menu > ul > li{
        width:100%;
    }
    div.main-menu > ul > li > a,div.main-menu > ul > li > button{
        box-sizing: border-box;
        width:100%;
        padding: 10px 15px;
        color: #999999;
        font-size: 14px;
        line-height: 20px;
        text-align: left;
    }
    div.main-menu > ul > li > a{
        display: block;
        text-decoration: none;
    }
    div.main-menu > ul > li > button{
        background-color: transparent;
        border: none;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    }
}
/* navigation bar logo */
div.nav-logo{
    height:50px;
    float:left;
    position: relative;
}
div.nav-logo a{
    display:block;
    position:absolute;
    top:9px;
    margin:4px 10px;
    height:25px;
    width:124px;
    background-image: url("../images/logo.png");
}
/* dropdown content */
@media screen and (min-width:768px){
    ul.dropdown-content{
        display:none;
        position: absolute;
        top:50px;
        left:0px;
        padding: 5px 1px;
        border: 1px;
        background-color: #fff;
        border-color: rgba(0,0,0,0.15);
        border-style: solid;
    }
    ul.dropdown-content li{
        height:26px;
    }
    div.main-menu > ul > li:hover{
        background-color: #080808;
    }
    ul.dropdown-content li a{
        white-space: nowrap;
        color: #333;
        font-size: 14px;
        display: block;
        height:18px;
        padding: 4px 20px;
    }
    div.main-menu > ul > li:hover .dropdown-content{
        display:block;
        animation: grow-down 200ms ease-in-out;
        transform-origin: top center;
    }
    .dropdown-content li:hover{
        background-color: #f5f5f5;
    }
}
@media screen and (max-width:767.5px){
    div.dropdown-animation{
        animation: grow-down 300ms ease-in-out;
        transform-origin: top center;
    }
    div.collapse-animation{
        animation: collapsed 300ms ease-in-out;
        transform-origin: top center;
    }
    ul.dropdown-content{
        display: none;
    }
    ul.dropdown-content li{
        box-sizing: border-box;
        width:100%;
        padding-left: 25px;
        padding-right: 15px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    ul.dropdown-content li a{
        color:#999;
        font-size: 14px;
        display: block;
        width:100%;
        line-height:20px;
    }
    .dropdown-content li:hover{
        background-color: #080808;
    }
    .dropdown-content li:hover a{
        color: white;
    }
    div.main-menu > ul > li:hover > a, div.main-menu > ul > li:hover > button {
        background-color: #080808;
    }
}
@keyframes grow-down{
    from{
        transform: scaleY(0);
    }
    to{
        transform: scaleY(1);
    }
}
@keyframes collapsed{
    from{
        transform: scaleY(1);
    }
    to{
        transform: scaleY(0);
    }
}
div.main-menu > ul > li:hover > a, div.main-menu > ul > li:hover > button {
    color:white
}
/* index page */
.main-box{
    background-color: black;
    position:relative;
    overflow: hidden;
}
#slogan-background{
    position:absolute;
    opacity: 0.7;
}
.main-box article{
    height:100%;
    width:50%;
    margin:auto;
    position: relative;
    text-align: center;
}
.main-box h1{
    position: absolute;
    color: white;
    width:100%;
    font-size: 30px;
}
.side-box{
    float:left;
    display:block;
    background-size: auto 100%;
}
article.text-on-image{
    color:white;
    padding-left:10px;
    padding-top:15px;
}
article.text-on-image h1{
   margin-bottom: 5px;
   font-size: 20px;
}
article.text-on-image p{
    line-height: 20px;
    font-size: 14px;
}
#focus-belief{
    background-image: url("../images/index/focus-belief.jpg");
}
#job-reference{
    background-image: url("../images/index/job-reference.jpg");
}
#join-us{
    background-image: url("../images/index/join-us.jpg");
}
#social-media{
    background-image: url("../images/index/social-media.gif");
}
/* header */
header{
    width:100%;
    padding: 50px 0px;
}
header h1{
    margin-top: 20px;
    margin-bottom: 10px;
    color:#333333;
    font-size: 30px;
    font-weight:normal;
    text-align: center;
}
header p{
    text-align: center;
    color:#333333;
}
header article{
    padding-left:15px;
    padding-right: 15px;
    margin:auto;
}
@media screen and (min-width:768px){
    header article{
        width:720px;
    }
}
@media screen and (min-width:992px){
    header article{
        width:940px
    }
}
@media screen and (min-width:1200px) {
    header article{
        width:1140px;
    }
}
/* content template 1 */
.container{
    width:100%;
    padding: 50px 0px;
    overflow:auto;
}
.container2{
    width:100%;
    overflow:auto;
}
.row-length1{
    width:1170px;
    margin:auto;
}
@media screen and (max-width:1200px) {
    .row-length1{
        width:940px;
    }
}
@media screen and (max-width:992px){
    .row-length1{
        width:720px;
    }
}
@media screen and (min-width:768px){
    .column{
        float:left;
        width: 50%;
    }
}
@media screen and (max-width:767.5px){
    .row-length1{
        width:100%;
    }
    .column{
        width:100%;
    }
}
.row-length1{
    overflow: hidden;
}
.column{
    visibility: hidden;
    overflow: hidden;
}
.column img{
    max-width:100%;
    box-sizing: border-box;
    padding: 0px 15px;
}
.column h2, .column p{
    padding: 0px 15px;
    max-width:100%;
    color:#333333;
}
.column h2{
    padding-top: 20px;
    padding-bottom: 10px;
    font-weight: normal;
    font-size:30px;
}
.column p{
    padding-bottom: 10px;
    font-size:14px;
    line-height:1.43
}
.grey-background{
    background-color:#e1e1e1;
}
.is-visible-left-article,.is-visible-left-figure,.is-visible-right-article,.is-visible-right-figure{
    visibility:visible;
}
.is-visible-left-article{
    animation:from-left 500ms linear;
}
.is-visible-left-figure{
    animation:from-left 1s ease-out;
}
.is-visible-right-article{
    animation:from-right 500ms linear;
}
.is-visible-right-figure{
    animation:from-right 1s ease-out;
}
.is-visible{
    visibility: visible !important;
}
@keyframes from-left{
    from{
        transform: translateX(-500px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes from-right{
    from{
        transform: translateX(500px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}
/* content template 2 */
.row-length2{
    box-sizing: border-box;
    width:100%;
    margin:auto;
    padding-top:144px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 80px;
    visibility: hidden;
}
section.row-length2 article{
    text-align: center;
}
section.row-length2 article h1, section.row-length2 article h2, section.row-length2 article p{
    color:#858585;
    font-family: "Raleway", Arial, sans-serif;
}
section.row-length2 article h1{
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 36px;
    letter-spacing: 6px;
    font-weight: normal;
    line-height: 1.1;
}
section.row-length2 article h2{
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 24px;
    letter-spacing: 6px;
    font-weight: normal;
    line-height: 1.1;
}
section.row-length2 article p{
    margin-bottom: 10px;
    font-size: 15px;
    line-height:1.5;
}
.is-visible-fade-in{
    animation: fade-in 1s ease-out;
    visibility: visible;
}
@keyframes fade-in{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
/* content gallery */
.gallery{
    width: 932px;
    padding: 12px 24px;
    margin: auto;
    overflow:hidden;
}
.gallery img{
    max-width:100%;
    margin-bottom: 16px;
    visibility: hidden;
}
@media screen and (max-width:992px){
    .gallery{
        box-sizing: border-box;
        width:100%;
    }
}
/* job reference gallery */
.job-reference-title{
    width:100%;
    height: 323.6px;
    position:relative;
    padding:0;
}
.title-background{
    width:100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    position: absolute;
}
#express-rail-link{
    background-image: url(../images/job-reference/express-rail-link/title.jpg);
}
#shatin-to-central-Link{
    background-image: url(../images/job-reference/shatin-to-central-Link/title.jpg);
}
#hong-kong-zhuhai-macau-bridge{
    background-image: url(../images/job-reference/hong-kong-zhuhai-macau-bridge/title.jpg);
}
#dhl{
    background-image: url(../images/job-reference/dhl/title.jpg);
}
.job-reference-title article{
    width:100%;
    position:absolute;
    top:132.3px;
}
.gallery2-column{
    box-sizing: border-box;
    width: 50%;
    float: left;
    padding:0 12px;
}
@media screen and (max-width:767.5px){
    .gallery2-column{
        width:100%;
    }
}
.gallery-observer{
    width:100%;
}
.gallery-observer img{
    box-sizing: border-box;
    padding:15px;
    margin: 15px 0;
    width:100%;
    background-color: white;
    box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.2);
    visibility: hidden;
}
@media (-ms-high-contrast: none){
    .gallery-observer img{
        visibility: visible;
    }
}
.is-visible-from-top img,img.is-visible-from-top{
    animation: top-fade-in 800ms ease-out;
    visibility: visible;
}
article.is-visible-from-top{
    animation: top-fade-in 300ms linear;
    visibility: visible;
}
.is-visible-from-bottom img,img.is-visible-from-bottom{
    animation: bottom-fade-in 800ms ease-out;
    visibility: visible;
}
article.is-visible-from-bottom{
    animation: bottom-fade-in 300ms linear;
    visibility: visible;
}
@keyframes top-fade-in{
    from{
        transform: translateY(20vh);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes bottom-fade-in{
    from{
        transform: translateY(-20vh);
        opacity: 0;
    }
    top{
        transform: translateY(0);
        opacity: 1;
    }
}
/* our partners */
.partner-container{
    width:100%;
    position: relative;
}
.partner-background{
    height:100%;
    width:100%;
    position:absolute;
    top:0;
    left:0;
    background-image: url("../images/our-partners/background.jpeg");
    background-size: cover;
    background-position: center center;
    opacity:0.7;
    z-index:-1;
}
.partner-content{
    text-align: center;
    position: absolute;
}
.partner-content h2{
    color:white;
}
.partner-content a{
    display:inline-block;
    width:204px;
    height:54px;
    background-repeat: no-repeat;
    background-size:contain;
    background-position: center center;
    background-color: rgba(255,255,255,0.4);
    margin: 5px;
}
#dds{
    background-image: url(../images/our-partners/dds-logo.png);
}
#geutebruck{
    background-image: url(../images/our-partners/geutebruck-logo.png);
}
#huawei{
    background-image: url(../images/our-partners/huawei-logo.png);
}
#milestone{
    background-image: url(../images/our-partners/milestone-logo.png);
}
#nuctech{
    background-image: url(../images/our-partners/nuctech-logo.png);
}
@media screen and (min-width:768px){
    .partner-content{
        width:767px;
    }
    .partner-content h2{
        font-size:70px;
    }
}
@media screen and (max-width:767.5px){
    .partner-content{
        width:100%;
    }
    .partner-content h2{
        font-size:42px;
    }
}
/* footer */
footer{
    box-sizing: border-box;
    width:100%;
    text-align: center;
    padding: 10px;
    font-size:14px;
}
/* special character */
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}
/* disable selection */
.no-select {
    user-select: none; 
}
/* clear float */
.clear-float{
    clear:both;
}