/* Languages*/
.locale {
    float: right;
    color: white;
    font-size: 0.7rem;
}

.locale a{
    color:white;
    font-size: 0.8rem;
}

.locale a:hover{
    color:#fed136;
}

.nav-item.locale {
    margin-top: 10px;
}

.nav-item.locale i {
    color: #fed136;
    font-size: 0.7rem;
    font-style: normal;
    margin-top: 2%;
}

/* Main */
.background-glass {
    padding: 35px;
    position: relative;
    background: rgb(204, 204, 204);
    background: #00000073;
    border-radius: 15px;
}

:lang(en).intro-lead-in {
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-weight: bold !important;
    font-style: normal !important;
}

/* Nav Bar */
header.masthead {
    background-image: url('/img/dawn-drill-dusk.jpg');
}

.logo {
    content: url('/img/logos/logo.png');
    height: 3em;
    padding-right: 0.8em; 
}

#title-en {
    font-size: 0.8em;
    font-style: normal;
}

#mainNav {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: black;
}

#mainNav.navbar-shrink {
    background-color: black;
    font-size: 0.8em;
}

#mainNav.navbar-shrink #title-en {
    font-size: 0.6em;
}

#mainNav .navbar-brand {
    color: #e13c40;
    font-weight: bold;
    font-family: Arial, SimHei, Helvetica, sans-serif;
    line-height: normal;
}

:lang(zh-CN).navbar-nav .nav-item .nav-link {
    font-size: 100% !important;
    font-family: SimHei !important;
}

:lang(zh-CN).intro-text .intro-heading {
    font-style: normal !important;
}

:lang(zh-CN).intro-text .intro-lead-in {
    font-style: normal !important;
}

/* Products */
img.products {
    width: 250px;
    height: 200px;
    border-radius: 50%;
}

.service-heading {
    vertical-align: bottom;
}

:lang(en)#service-item3 {
    padding-bottom: 1.8rem;
}

.service-description {
    font-size: 0.9em;
    vertical-align: top;
    text-align: justify;
}

/* Category */
.portfolio-caption {
    color: white;
    background-color: black !important;
}

/* About Us */
.timeline:before {
    width: 5px;
    background-color: black;
}

.timeline-image {
    background-color: black !important;
    font-size: 2.7em !important;
}

.timeline-image>i {
    text-align: center !important;
    vertical-align: middle !important;
    margin-bottom: 0.05em !important;
}


/* Contact US */
section#contact {
    background-image: url('/img/map-image.png');
}

#email-link {
    color: purple;
}

#email-link:hover {
    color: black;
}

#contact pre {
    font-size: 1.3em;
    font-family: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif; 
}

/* Google Map */
.google-maps {
    position: relative;
    padding-bottom: 70%;
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Color */
.white {
    color: rgb(46, 39, 39) !important;
}

.b-white {
    background-color: white !important;
}

@media (min-width: 100px) {

    #mainNav.navbar-shrink .logo {
        height: 30px;
        padding-right: 5px; 
    }

    section {
        padding: 60px 0;
    }

    :lang(en).intro-heading {
        font-size: 30px !important;
        line-height: normal !important;
    }

    :lang(en).intro-lead-in {
        font-size: 1em !important;
    }
}

@media (min-width: 768px) {

    .timeline-image {
        font-size: 3.2em !important;
    }

    header.masthead .intro-text {
        padding: 230px 0 !important;
    }

    :lang(en).intro-heading {
        font-size: 60px !important;
    }

    :lang(en).intro-lead-in {
        font-size: 2em !important;
    }
}

@media (min-width: 992px) {

    .timeline-image {
        font-size: 4.8em !important;
    }
}

@media (min-width: 1200px) {

    .timeline-image {
        font-size: 6em !important;
    }
}