﻿* {
    margin: 0;
    padding: 0;
} 


@media screen and (orientation: landscape) {
    /* Target landscape smartphones, portrait tablets, narrow desktops */
    html {
        height: 100%;
        color: #fff;
        font-family: 'Century Gothic', Helvetica, Arial, sans-serif;
        font-size: 12px;
        line-height: 1.5em;
        background: black;
        overflow: clip;
    }

    .mainabout {
        top: 380px;
        right: 50px;
    }

    .mainwork {
        top: 440px;
        right: 50px;
    }

    .maincontact {
        top: 500px;
        right: 50px;
    }

    body {
        height: 100%;
    }

    #wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        padding: 5px;
    }


    #container {
        width: 902px;
        position: relative;
        height: 716px;
        background: url(../img2/containerBg2.png) center top;
        margin: 0 auto;
    }

    img {
        max-width: 100%;
    }

    p {
        margin: .75em 0;
        text-align: justify;
    }

    h1 {
        font-size: 22px;
        color: #fff;
        margin-bottom: .5em;
    }

    h2 {
        font-size: 18px;
        margin-bottom: .5em;
    }

    h3 {
        color: #ddd;
        font-size: 16px;
        margin-bottom: 1em;
    }

    h4 {
        color: #ccc;
        font-size: 14px;
    }

    h5 {
        color: #bbb;
        font-size: 12px;
        margin-bottom: 1em;
    }

    h6 {
        color: #aaa;
        font-size: 10px;
        margin-bottom: 1em;
    }

    hr {
        height: 1px;
        margin: .5em 0 1em 0;
        border-width: 1px 0 0;
    }

    a {
        color: #BC862C;
        font-weight: bold;
        text-decoration: none;
        outline: none;
    }

    .orange {
        color: #BC862C;
        font-weight: bold;
    }

    /*--------------------[HEADER RULES]--------------------*/
    #header {
        position: relative;
        width: 902px;
    }

        #header h1 {
            float: left;
            border-bottom: none;
            margin: 0;
            padding: 0;
            cursor: pointer;
            background: url(../img2/logo.gif) no-repeat left top;
            height: 38px;
            width: 448px;
            float: left;
            margin-top: 16px;
            margin-bottom: 8px;
        }

            #header h1 span {
                display: none;
            }

    /*--------------------[MENU RULES]--------------------*/
    #menu {
        width: 454px;
        height: 40px;
        float: right;
        font-size: 16px;
    }

        #menu ul {
            float: left;
        }

            #menu ul li {
                list-style: none;
                float: left;
                margin-left: 36px;
            }

                #menu ul li a {
                    padding: 0;
                    cursor: pointer;
                    display: block;
                    text-decoration: none;
                    float: left;
                    color: White;
                    padding: 24px 8px 8px;
                }

                    #menu ul li a:hover {
                        background-color: #BC862C;
                    }

                    #menu ul li a.current,
                    #menu ul li a.current:hover {
                        background: url(../img2/textBg.png) repeat;
                        cursor: default;
                    }

    /*--------------------[CONTENT RULES]--------------------*/
    #main {
        position: relative;
        width: 900px;
        height: 590px;
        border: 1px solid #555;
        float: left;
    }

    #content {
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center;
    }

    .default {
        background-image: url(../img2/default.jpg);
    }

    .about {
        background-image: url(../img2/about.jpg);
    }

    .family {
        background-image: url(../img2/multi-family.jpg);
    }

    .association {
        background-image: url(../img2/association.jpg);
    }

    .other {
        background-image: url(../img2/other.jpg);
    }

    .work {
        background-image: url(../img2/work.jpg);
        background-color: #fff;
        background-position: -100px top;
    }

    .contact {
        background-image: url(../img2/contact.jpg);
    }

    .screen {
        background: url(../img2/screen.png) repeat;
    }

    #homescreen {
        float: right;
        height: 100%;
        width: 300px;
    }

    #workscreen {
        background: url(../img2/white.png) repeat;
        float: right;
        height: 100%;
        width: 475px;
    }

    .textbox {
        position: absolute;
        width: 375px;
        text-align: right;
        line-height: 1.25em;
        font-size: 24px;
        font-weight: normal;
        padding: 16px 8px 0 0;
        color: #fff;
        background: url(../img2/dark.png) repeat;
    }

    span.textbox {
        background: url(../img2/screen.png) repeat;
    }

    a.textbox {
        cursor: pointer;
    }

    #homescreen .textbox {
        background: url(../img2/textBg.png) repeat;
        width: 300px;
        font-size: 32px;
        padding: 0 8px 0 0;
    }

    .textbox h2 {
        font-size: 32px;
        color: #BC862C;
        font-weight: normal;
        margin: 0 0 8px 16px;
    }

    .textbox ul {
        list-style: none;
        margin-left: 3em;
        font-size: 14px;
        margin-bottom: 16px;
    }

    a.textbox:hover,
    #homescreen a.textbox:hover {
        background: #BC862C;
    }

    .textfloat {
        float: left;
        position: absolute;
        color: #000;
        font-size: 15px;
        line-height: 1.75em;
    }

    #workscreen .textfloat {
        float: left;
        position: absolute;
        color: #555;
        font-size: 14px;
        line-height: 1.75em;
    }

    .location {
        position: absolute;
        background: url(../img2/dark.png) repeat;
        float: left;
        width: 450px;
        top: 400px;
        text-align: center;
    }

        .location .city {
            background: white;
            font-size: 24px;
            line-height: 1.25em;
            float: left;
            width: 100%;
            color: #000;
        }

        .location .address {
            font-size: 14px;
            line-height: 1.25em;
            float: left;
            width: 100%;
            padding: 8px 0;
        }

    #description {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 1em;
    }

    /*--------------------[FOOTER RULES]--------------------*/
    #footer {
        width: 842px;
        height: 48px;
        padding: 16px 60px 0 0;
        float: left;
        clear: both;
        text-align: right;
        background: url(../img2/houselogo.gif) no-repeat right center;
    }

        #footer span {
            font-size: 11px;
            line-height: 1.25em;
            white-space: nowrap;
        }

    .abouttext {
        top: 50px;
        left: 325px;
        width: 430px;
    }

    .abouttext2 {
        top: 225px;
        left: 425px;
        width: 465px;
    }

    .top1 {
        top: 310px;
    }

    .top2 {
        top: 380px;
    }

    .top3 {
        top: 450px;
    }

    .work0 {
        top: 50px;
        left: 440px;
        width: 450px;
    }

    .work1 {
        top: 250px;
        left: 440px;
        width: 450px;
        color: #BC862C !important;
        font-size: 16px;
        font-weight: bold;
        line-height: 1.25em;
    }

    .work2 {
        top: 350px;
        left: 440px;
        width: 450px;
    }

    .work3 {
        top: 500px;
        left: 440px;
        width: 450px;
        font-size: 10px !important;
        font-style: italic;
    }
    .work4 {
        top: 430px;
        left: 440px;
        width: 450px;
        font-size: 10px !important;
        font-style: italic;
    }


    .pp1 {
        top: 20px;
        left: 440px;
        width: 450px;
        height: 550px;
        font-size: 16px;
        line-height: 1.25em;
        overflow-y: scroll;
        padding: 5px;
    }

    .ppColor {
        color: #BC862C !important;
        font-weight: bold;
    }

    .ppColorNormal {
        color: #BC862C !important;
    }

    .ppblock {
        margin-bottom: 40px;
    }

    .ppSpace {
        margin-top: 10px;
    }



    li::marker {
        color: #BC862C;
    }


    .multiMenu {
        width: 425px;
        height: 144px;
        left: 440px;
        text-align: left;
    }

    .assocMenu {
        width: 425px;
        height: 144px;
        left: 440px;
        text-align: left;
    }

    .otherMenu {
        width: 350px;
        height: 174px;
        left: 440px;
        text-align: left;
    }
}


@media screen and (orientation: portrait) {
    /* Target portrait smartphones */
    html {
        height: 100%;
        color: #fff;
        font-family: 'Century Gothic', Helvetica, Arial, sans-serif;
        font-size: 28px;
        line-height: 1.5em;
        background: black;
    }


    .mainabout {
        top: 200px;
        right: 50px;
    }

    .mainwork {
        top: 325px;
        right: 50px;
    }

    .maincontact {
        top: 450px;
        right: 50px;
    }

    body {
        height: 100%;
        overflow: hidden;
        padding: 0;
    }


    #wrapper {
        /* margin: 0 auto;*/ 

        
        width: 100%;
        height: 100%;
        display: flex;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        padding: 0;


    }


    #container {
        width: 902px;
        position: relative;
        height: auto !important;
        height: 716px;
        background: url(../img2/containerBg2.png) center top;
        margin: 0;
    }

    img {
        max-width: 100%;
    }

    p {
        margin: .75em 0;
        text-align: justify;
    }

    h1 {
        font-size: 22px;
        color: #fff;
        margin-bottom: .5em;
    }

    h2 {
        font-size: 18px;
        margin-bottom: .5em;
    }

    h3 {
        color: #ddd;
        font-size: 16px;
        margin-bottom: 1em;
    }

    h4 {
        color: #ccc;
        font-size: 14px;
    }

    h5 {
        color: #bbb;
        font-size: 12px;
        margin-bottom: 1em;
    }

    h6 {
        color: #aaa;
        font-size: 10px;
        margin-bottom: 1em;
    }

    hr {
        height: 1px;
        margin: .5em 0 1em 0;
        border-width: 1px 0 0;
    }

    a {
        font-weight: bold;
        text-decoration: none;
        outline: none;
    }

    .orange {
        color: #BC862C;
        font-weight: bold;
    }

    /*--------------------[HEADER RULES]--------------------*/
    #header {
        position: relative;
        width: 902px;
        float: left;
    }

        #header h1 {
            float: left;
            border-bottom: none;
            margin: 0;
            padding: 0;
            cursor: pointer;
            background: url(../img2/logomobile.png) no-repeat left top;
            float: left;
            border-bottom: none;
            cursor: pointer;
            height: 80px;
            width: 900px;
            float: left;
            margin-top: 16px;
            margin-bottom: 8px;
        }

            #header h1 a {
                height: 76px;
                width: 896px;
                float: left;
                margin-top: 30px;
                margin-bottom: 15px;
            }

            #header h1 span {
                display: none;
            }

    /*--------------------[MENU RULES]--------------------*/
    #menu {
        width: 902px;
        height: 100px;
        margin: auto;
        font-size: 44px;
    }

        #menu ul {
            float: left;
        }

            #menu ul li {
                list-style: none;
                float: left;
                width: 300px;
                padding-top: 0;
            }

                #menu ul li a {
                    padding: 0;
                    cursor: pointer;
                    display: block;
                    text-decoration: none;
                    float: left;
                    color: White;
                    padding: 20px 0px 20px 0px;
                    width: 300px;
                    text-align: center;
                    font-size: 45px !important;
                }

                    #menu ul li a:hover {
                        background-color: #BC862C;
                    }

                    #menu ul li a.current,
                    #menu ul li a.current:hover {
                        background: url(../img2/textBg.png) repeat;
                        cursor: default;
                    }

    /*--------------------[CONTENT RULES]--------------------*/
    #main {
        position: relative;
        width: 900px;
        height: 890px;
        border: 1px solid #555;
        float: left;
    }

    #content {
        width: 100%;
        height: 100%;
        float: right;
        background-repeat: no-repeat;
        background-position: center;
    }

    .default {
        background-image: url(../img2/defaultmobile.jpg);
    }

    .about {
        background-image: url(../img2/aboutmobile.jpg);
    }

    .family {
        background-image: url(../img2/multi-familymobile.jpg);
    }

    .association {
        background-image: url(../img2/associationmobile.jpg);
    }

    .other {
        background-image: url(../img2/othermobile.jpg);
    }

    .work {
        background-image: url(../img2/workmobile.jpg);
        background-position: -100px top;
    }

    .contact {
        background-image: url(../img2/contactmobile.jpg);
    }

    .screen {
        background: url(../img2/screen.png) repeat;
    }

    #homescreen {
        float: right;
        height: 100%;
        width: 300px;
    }

    #workscreen {
        background: url(../img2/white.png) repeat;
        float: right;
        height: 100%;
        width: 630px;
    }

    .textbox {
        position: absolute;
        width: 475px;
        text-align: right;
        line-height: 1.25em;
        font-size: 40px;
        font-weight: normal;
        padding: 16px 8px 0 0;
        color: #fff;
        background: url(../img2/dark.png) repeat;
    }

    span.textbox {
        background: url(../img2/screen.png) repeat;
    }

    a.textbox {
        cursor: pointer;
    }

    #homescreen .textbox {
        background: url(../img2/textBg.png) repeat;
        width: 300px;
        font-size: 50px;
        padding: 0 8px 0 0;
    }

    .textbox h2 {
        font-size: 35px;
        color: #BC862C;
        font-weight: normal;
        margin: 0 0 8px 16px;
    }

    .textbox ul {
        list-style: none;
        margin-left: 2em;
        font-size: 26px;
        margin-bottom: 16px;
    }

    a.textbox:hover,
    #homescreen a.textbox:hover {
        background: #BC862C;
    }

    .textfloat {
        float: left;
        position: absolute;
        color: #000;
        font-size: 28px;
        line-height: 1.75em;
    }

    #workscreen .textfloat {
        float: left;
        position: absolute;
        color: #555;
        font-size: 28px;
        line-height: 1.25em;
    }

    .location {
        position: absolute;
        background: url(../img2/dark.png) repeat;
        float: left;
        width: 450px;
        top: 540px;
        text-align: center;
    }

        .location .city {
            background: white;
            font-size: 38px;
            line-height: 1.25em;
            float: left;
            width: 100%;
            color: #000;
        }

        .location .address {
            font-size: 22px;
            line-height: 1.25em;
            float: left;
            width: 100%;
            padding: 8px 0;
        }

    #description {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 1em;
    }

    /*--------------------[FOOTER RULES]--------------------*/
    #footer {
        width: 790px;
        padding: 25px 120px 0 0;
        text-align: right;
        background: url(../img2/houselogomobile.png) no-repeat right center;
        clear: both;
        font-size: 25px !important;
    }

    .breakbefore {
        padding-left: 40%;
    }

    .abouttext {
        top: 50px;
        left: 25px;
        width: 850px;
        color: white;
    }

    .abouttext2 {
        top: 325px;
        left: 25px;
        width: 850px;
        color: white;
    }

    .top1 {
        top: 510px;
    }

    .top2 {
        top: 600px;
    }

    .top3 {
        top: 690px;
    }

    .work0 {
        top: 30px;
        left: 290px;
        width: 600px;
    }

    .work1 {
        top: 360px;
        left: 290px;
        width: 600px;
        color: #BC862C !important;
        font-size: 16px;
        font-weight: bold;
        line-height: 1em;
    }

    .work2 {
        top: 480px;
        left: 290px;
        width: 600px;
    }

    .work3 {
        top: 770px;
        left: 290px;
        width: 580px;
        font-size: 18px !important;
        font-style: italic;
    }
    .work4 {
        top: 575px;
        left: 290px;
        width: 580px;
        font-size: 18px !important;
        font-style: italic;
    }


    .pp1 {
        top: 20px;
        left: 300px;
        width: 550px;
        height: 850px;
        font-size: 16px;
        line-height: 1.25em;
        overflow-y: scroll;
        padding: 5px;
        text-align: left;
    }



    .ppColor {
        color: #BC862C !important;
        font-weight: bold;
    }

    .ppColorNormal {
        color: #BC862C !important;
    }

    .ppblock {
        margin-bottom: 40px;
    }

    .ppSpace {
        margin-top: 10px;
    }

    .pptextbox {
        margin-left: -130px;
        position: absolute;
        width: 375px;
        text-align: right;
        line-height: 1.25em;
        font-size: 40px;
        font-weight: normal;
        padding: 16px 8px 0 0;
        color: #fff;
        background: url(../img2/dark.png) repeat;
        display:none;
    }

    li::marker {
        color: #BC862C;
    }


    .suite {
        display: block;
        white-space: pre;
    }

    .miniMenu {
        left: 350px;
        width: 510px;
        text-align: left;
    }

    .multiMenu {
        width: 625px;
        height: 220px;
        left: 240px;
        text-align: left;
    }

    .assocMenu {
        width: 450px;
        height: 244px;
        left: 415px;
        text-align: left;
    }

    .otherMenu {
        width: 500px;
        height: 274px;
        left: 340px;
        text-align: left;
    }
}
