/* CSS Document for Screens */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,700;1,300;1,700&display=swap');
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #333;
}

#page {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
}


/* Text */

h1 {
    font-size: 1.6em;
    font-weight: 700;
}

h3 {
    margin: 0 0 .5em 0;
    font-size: 1.3em;
    font-weight: 700;
}

h4 {
    margin: 0 0 1.5em 0;
    font-size: 1em;
    font-weight: 700;
}

p {
    margin: 0 0 1em 0;
}

a {
    color: #007eff;
}

a:visited {
    color: #65b1ff
}

a.service_anchor,
a.service_anchor:visited {
    color: #000;
}


/* Header */

header {
    height: 430px;
    background: #222222 url(../images/banner_1200.jpg) no-repeat center bottom;
    position: relative;
}

header a.logo {
    z-index: 1;
    position: absolute;
    display: block;
    width: 200px;
    height: 55px;
    /* background: url(../images/logo.svg) no-repeat 0 0; */
    background: url(../images/BImmagic_logo.png) no-repeat 0 0;
    background-size: contain;
    top: 15px;
    left: 40px;
}

header a.logo span {
    display: none;
}


/* Navigation */

nav {
    background-color: rgba(0, 0, 0, .65);
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 30px 0 0 0;
    width: 100%;
}

nav::after {
    content: '';
    display: block;
    clear: both;
}

nav ul {
    list-style: none;
    margin: 0 0 0 80px;
    padding: 0;
}

nav ul li:hover {
    background-color: #2b0306;
}

nav ul li:hover>ul {
    display: block;
    margin: 0;
}

nav ul li a {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    /* width: 100%; */
    position: relative;
}

nav ul li a:visited {
    color: #fff;
}

nav ul li a:hover {
    background-color: #6d0911;
}

nav ul ul {
    position: absolute;
    top: 100%;
    background-color: #2b0306;
    display: none;
}

nav ul ul li {
    position: relative;
}


/* top-level */

nav>ul {
    padding-left: 200px;
}

nav>ul>li {
    float: left;
}

nav>ul>li>a {
    width: auto;
    padding: 10px 20px 15px 20px;
}

nav a[aria-haspopup="true"]::after {
    content: '';
    display: block;
    width: 0px;
    height: 0px;
    position: absolute;
    top: 16px;
    right: 15px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #fff;
}

nav>ul>li>a[aria-haspopup="true"]::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #fff;
    left: 20px;
    right: auto;
    bottom: 6px;
    top: auto;
}


/* Section - All */

.service-title {
    background: url(../images/icon_star.svg) no-repeat 20px 5px;
    background-size: 20px;
    font-size: 1.4em;
    font-weight: 600;
    margin: 40px 0 10px 0px;
    padding-left: 50px
}

section {
    margin: 0;
    padding: 0;
}

section::after {
    content: '';
    display: block;
    clear: both;
}


/* Section - Main */

section.main {
    margin-top: 20px;
    padding: 0;
}

section.main aside {
    width: 33%;
    float: left;
    text-align: justify;
}

section.main aside h3 {
    text-align: center;
}

section.main .content {
    margin: 15px 15px 0 15px;
    background: no-repeat center top;
    background-size: 75px 75px;
    padding-top: 85px;
}

section.main aside h3 a {
    color: #000;
    text-decoration: none;
}

section.main aside h3 a:hover {
    text-decoration: underline;
}

section.main aside .content.hid {
    background-image: url(../images/icon_buildings.svg);
    border-width: 2px;
    border-color: red;
}

section.main aside .content.bim {
    background-image: url(../images/icon_bim.svg);
}

section.main aside .content.mobile {
    background-image: url(../images/icon_mobile.svg);
}


/* Section - hid: Housing & Infrastructure Development */

section.hid {
    background-color: #eee9d9;
}

section.hid img {
    width: 100%;
    height: auto;
}


/* Section - hid-items */

section.hid-items {
    background-color: #eee9d9;
    position: relative;
    padding-left: 20px;
}

section.hid-items aside {
    width: 31%;
    float: left;
    margin-right: 10px;
}

section.hid-items aside .content {
    padding: 25px 30px 20px 20px;
}

section.hid-items aside .content img {
    display: block;
    margin-bottom: 15px;
    width: 70%;
}

section.hid-items aside .content h4 {
    margin-bottom: 0;
}

section.hid-items aside .content p {
    margin-bottom: .5em;
    text-align: justify;
}

section.hid-items aside .content a {
    display: inline-block;
    color: #cc6633;
    font-weight: 700;
}


/* Section - bim: Building Information Modeling */

section.bim {
    background-color: #eee;
    margin: 0px;
}

section.bim .block {
    background: no-repeat center 30px;
    background-size: 50px 50px;
    width: 20%;
    height: 240px;
    float: left;
    text-align: center;
}

section.bim .xd {
    color: #fff;
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 90px;
}

section.bim .title {
    color: #000;
    font-size: 1.1em;
    font-weight: bold;
}

section.bim .text {
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    margin: 5px 10px;
}

section.bim aside .d3 {
    background-color: #f39c12;
    background-image: url(../images/icon_3d.svg);
}

section.bim aside .d4 {
    background-color: #2980b9;
    background-image: url(../images/icon_4d.svg);
}

section.bim aside .d5 {
    background-color: #16a085;
    background-image: url(../images/icon_5d.svg);
}

section.bim aside .d6 {
    background-color: #9bbb59;
    background-image: url(../images/icon_6d.svg);
}

section.bim aside .d7 {
    background-color: #c0392b;
    background-image: url(../images/icon_7d.svg);
}


/* Section - bim-items */

section.bim-items {
    background-color: #fefbd9;
    position: relative;
    padding-left: 20px;
}

section.bim-items aside {
    width: 31%;
    float: left;
    margin-right: 10px;
}

section.bim-items aside .content {
    padding: 30px 30px 20px 20px;
}

section.bim-items aside .content img {
    display: block;
    margin-bottom: 15px;
    width: 70%;
}

section.bim-items aside .content h4 {
    margin-bottom: 0;
}

section.bim-items aside .content p {
    margin-bottom: .5em;
    text-align: justify;
}

section.bim-items aside .content a {
    display: inline-block;
    color: #cc6633;
    font-weight: 700;
}


/* Section - mobile: Mobile APP Development */

section.mobile {
    background-color: #e0fffa;
}


/* Section - mobile-items */

section.mobile-items {
    background-color: #e0fffa;
    position: relative;
    padding-left: 20px;
}

section.mobile-items aside {
    width: 31%;
    float: left;
    margin-right: 10px;
}

section.mobile-items aside .content {
    padding: 25px 20px 20px 20px;
}

section.mobile-items aside .content img {
    display: block;
    margin-bottom: 15px;
    width: 70%;
}

section.mobile-items aside .content h4 {
    margin-bottom: 0;
}

section.mobile-items aside .content p {
    margin-bottom: .5em;
    text-align: justify;
}

section.mobile-items aside .content a {
    display: inline-block;
    color: #cc6633;
    font-weight: 700;
}

section.mobile-items blockquote {
    margin: 0;
    width: 32%;
    color: #444;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    right: 4%;
}

section.mobile-items blockquote p {
    margin: 30px 20px 20px 50px;
}

section.mobile-items blockquote p.quote {
    font-style: italic;
    font-size: 1.2em;
}

section.mobile-items blockquote p.credit {
    color: #777;
    font-size: .9em;
    margin-top: 0;
    padding-left: 20px;
    line-height: 1.3em;
    position: relative;
}

section.mobile-items blockquote::before {
    content: '\201c';
    color: #d2bd65;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5em;
    font-family: serif;
}

section.mobile-items blockquote p.quote::after {
    content: '\201d';
    font-family: serif;
}

section.mobile-items blockquote p.credit::before {
    content: '\2014';
    position: absolute;
    top: -1px;
    left: 0;
}


/* About Us - Contact Us */

section.us {
    background-color: #b1a296;
    position: relative;
}

section.us aside {
    width: 50%;
    float: left;
}

section.us aside .content {
    padding: 1px 30px 10px 20px;
}


/* About Us */

section.us aside div.about {
    color: #fff;
    background-color: #0c3c60;
}

section.us aside div.about h1 {
    margin: 30px 20px 20px 20px;
}

section.us aside div.about p {
    margin: 0 20px 30px 20px;
}

a.about-title,
a.about-title:visited {
    color: #fff;
}


/* Contact Us */

section.us aside div.contact {
    color: #000;
    background-color: #b1a296;
    /* background-color: #5a363a; */
    /* float: left; */
}

a.contact-title,
a.contact-title:visited {
    color: #000;
}

section.us aside div.contact a,
section.us aside div.contact a:visited {
    color: #000;
    font-size: .9em;
    font-weight: bold;
}

a.email,
a.email:visited {
    color: #000;
    font-size: .9em;
    font-weight: bold;
}


/* Footer */

footer {
    font-size: .8em;
    margin: 30px;
    padding-bottom: 30px;
    color: #333;
}

footer .content {
    display: inline;
}

footer a {
    margin-left: 30px;
    color: #777;
}

footer a:visited {
    margin-left: 30px;
    color: #777;
}

footer a:hover {
    margin-left: 30px;
    color: #000;
}


/* Media Queries */

@media screen and (max-width: 1100px) {
    h3 {
        font-size: 1.1em;
    }
    header {
        background-image: url(../images/banner_1100.jpg);
        height: 422px;
    }
    header a.logo {
        width: 175px;
        height: 48px;
    }
    nav {
        padding-top: 20px;
    }
    nav ul {
        margin-left: 60px;
    }
    section.bim .title {
        font-size: 1em;
    }
    section.bim .text {
        font-size: .9em;
    }
    section.mobile-items blockquote p.quote {
        font-display: 1.1em;
        line-height: 1.2em;
    }
    section.mobile-items blockquote p.credit {
        font-size: .9em;
    }
}

@media screen and (max-width: 1024px) {
    header {
        background-image: url(../images/banner_1024.jpg);
        height: 393px;
    }
    h3 {
        font-size: 1em;
    }
}

@media screen and (max-width: 900px) {
    header {
        background-image: url(../images/banner_900.jpg);
        height: 345px;
    }
    section.bim .title {
        font-size: .9em;
    }
    section.bim .text {
        font-size: .8em;
    }
    section.mobile-items blockquote::before {
        font-size: 4em;
    }
    section.mobile-items blockquote p.quote {
        font-display: 1em;
        line-height: 1.1em;
    }
    section.mobile-items blockquote p.credit {
        font-size: .8em;
    }
    /* About Us - Contact Us */
    section.us aside {
        width: 100%;
        float: none;
        margin: 0;
        position: relative;
    }
}

@media screen and (max-width: 760px) {
    h3 {
        font-size: 0.9em;
    }
    header a.logo {
        width: 150px;
        height: 41px;
    }
    nav {
        padding-top: 15px;
    }
    nav>ul {
        padding-left: 140px;
    }
    nav ul li a,
    nav ul li a:visited {
        font-size: .9em;
    }
    section.main {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    section.main aside div.content {
        background-size: 55px 55px;
        padding-top: 60px;
    }
    section.hid-items aside div.content img,
    section.bim-items aside div.content img,
    section.mobile-items aside div.content img {
        width: 90%;
    }
    section.mobile-items blockquote::before {
        font-size: 3em;
    }
    section.mobile-items blockquote p.quote {
        font-display: 0.8em;
        line-height: 1em;
    }
    section.mobile-items blockquote p.credit {
        font-size: .8em;
    }
}

@media screen and (max-width: 625px) {
    .service-title {
        font-size: 1.2em;
    }
    h3 {
        margin-bottom: 0px;
        font-size: 1em;
    }
    header {
        background-image: url(../images/banner_625.jpg);
        height: 260px;
        margin-bottom: 20px;
        background-position: left top;
    }
    header a.logo {
        width: 120px;
        height: 33px;
        top: 10px;
        left: 30px;
    }
    nav {
        padding-top: 5px;
    }
    nav ul {
        margin-left: 50px;
    }
    nav>ul>li>a {
        padding: 10px 10px 15px 10px;
    }
    nav>ul>li>a[aria-haspopup="true"]::after {
        left: 10px;
    }
    nav ul li a,
    nav ul li a:visited {
        font-size: .9em;
    }
    section.main aside {
        width: 100%;
        float: none;
        text-align: justify;
    }
    section.main aside h3 {
        text-align: left;
    }
    section.main aside div.content {
        margin: 8px 20px 8px 0px;
        padding: 5px 0px 10px 85px;
        background-size: 50px 50px;
        background-position: 20px 5px;
    }
    section.hid-items aside {
        width: 100%;
        float: none;
        margin: 0;
        position: relative;
    }
    section.hid-items aside div.content {
        padding: 20px 20px 20px 150px;
    }
    section.hid-items aside div.content p {
        font-size: .9em;
    }
    section.hid-items aside div.content img {
        display: inline-block;
        width: 125px;
        position: absolute;
        top: 30px;
        left: 0px;
    }
    section.bim .block {
        height: 250px;
    }
    section.bim .title {
        font-size: .8em;
    }
    section.bim .text {
        font-size: .7em;
    }
    section.bim-items aside {
        width: 100%;
        float: none;
        margin: 0;
        position: relative;
    }
    section.bim-items aside div.content {
        padding: 20px 20px 20px 150px;
    }
    section.bim-items aside div.content p {
        font-size: .9em;
    }
    section.bim-items aside div.content img {
        display: inline-block;
        width: 125px;
        position: absolute;
        top: 30px;
        left: 0px;
    }
    section.mobile-items aside {
        width: 100%;
        float: none;
        margin: 0;
        position: relative;
    }
    section.mobile-items aside div.content {
        padding: 20px 20px 20px 150px;
    }
    section.mobile-items aside div.content p {
        font-size: .9em;
    }
    section.mobile-items aside div.content img {
        display: inline-block;
        width: 125px;
        position: absolute;
        top: 30px;
        left: 0px;
    }
    section.mobile-items blockquote p {
        margin: 30px 20px 20px 60px;
    }
    section.mobile-items blockquote p.quote {
        font-size: 1.1em;
    }
    section.mobile-items blockquote p.credit {
        font-size: .9em;
        line-height: 1.3em;
    }
    section.mobile-items blockquote::before {
        font-size: 4em;
    }
    section.mobile-items blockquote {
        margin: 0 20px 0 40px;
        width: 90%;
        padding: 1px 0px 20px 0px;
        position: relative;
    }
    section.mobile-items blockquote p.credit {
        margin-bottom: 0;
    }
    /* Footer */
    footer div.content {
        display: block;
        margin-top: 15px;
    }
    footer div.content a {
        margin: 0 20px 0 0;
    }
}

@media screen and (max-width: 425px) {
    .service-title {
        background: url(../images/icon_star.svg) no-repeat 20px 2px;
        background-size: 16px;
        font-size: .95em;
        font-weight: 600;
        margin: 30px 0 10px 0px;
        padding-left: 40px
    }
    header {
        height: 188px;
        margin-bottom: 20px;
        background-image: url(../images/banner_425.jpg);
        background-position: left top;
    }
    header a.logo {
        width: 100px;
        height: 27px;
        top: 10px;
        left: 20px;
    }
    nav {
        padding-top: 5px;
    }
    nav ul {
        margin-left: 0px;
    }
    nav>ul>li>a {
        padding: 10px 10px 15px 10px;
    }
    nav>ul>li>a[aria-haspopup="true"]::after {
        left: 10px;
    }
    nav ul li a,
    nav ul li a:visited {
        font-size: .7em;
    }
    section.hid-items aside div.content img,
    section.bim-items aside div.content img,
    section.mobile-items aside div.content img {
        width: 100%;
    }
    section.mobile-items aside .content p {
        margin-bottom: .4em;
    }
    section.hid-items aside div.content {
        padding: 180px 20px 20px 0px;
    }
    section.hid-items aside div.content img {
        width: auto;
        height: 150px;
        top: 15px;
    }
    section.bim .block {
        height: 250px;
    }
    section.bim .title {
        font-size: .7em;
    }
    section.bim .text {
        font-size: .6em;
    }
    section.bim-items aside div.content {
        padding: 180px 20px 20px 0px;
    }
    section.bim-items aside div.content img {
        width: auto;
        height: 150px;
        top: 15px;
    }
    section.mobile-items aside div.content {
        padding: 180px 20px 20px 0px;
    }
    section.mobile-items aside div.content img {
        width: auto;
        height: 150px;
        top: 15px;
    }
    section.mobile-items blockquote p {
        margin: 30px 20px 20px 50px;
    }
    section.mobile-items blockquote p.quote {
        font-size: 1em;
    }
    section.mobile-items blockquote p.credit {
        font-size: .8em;
        line-height: 1.2em;
    }
    section.mobile-items blockquote::before {
        font-size: 3em;
    }
    section.mobile-items blockquote {
        margin: 0 15px 0 15px;
        width: 95%;
        padding: 1px 0px 20px 0px;
        position: relative;
    }
    section.us aside div.about h1 {
        margin: 30px 10px 20px 10px;
    }
    section.us aside div.about p {
        margin: 0 10px 30px 10px;
        font-size: .9em;
    }
    /* Footer */
    footer::after {
        content: '';
        display: block;
        clear: both;
    }
    footer div.content a {
        display: inline-block;
        margin: 0;
        /* float: left; */
        clear: both;
    }
}   