﻿@import url(//fonts.googleapis.com/css?family=Droid+Serif);

body {
    background: url(/images/mainstreet.jpg) no-repeat center center fixed;
    background-size: cover;
    background-color: #a6afbb;
    font-family: 'Droid Serif', serif;
    font-size: 12px;
    color: black;
}

#header {
    background-image: url(/images/hdrbg.jpg);
    width: 100%;
    height: 81px;
}

#navBar {
    width: 1000px;
    margin: auto;
}

#navItems {
    width: 645px;
    height: 81px;
    float: right;
    margin: 0px;
    *margin-top: -142px;
    *position: relative;
}

.testStyle {
    font-size: 18px;
    color: red;
}

.navItem {
    width: 120px;
    height: 81px;
    display: inline-block;
    zoom: 1;
    *display: inline;
    margin: auto;
    background-position: center;
}

.navTax {
    background-image: url(/images/sapn.jpg);
    width: 160px;
    margin-left: 10px;
}

.navCourt {
    background-image: url(/images/cfn.jpg); 
}

.navUtilities {
    background-image: url(/images/utils.jpg);
}


.navContact {
    width: 100px;
    background-image: url(/images/ctn.jpg);
}

.navInfo {
    background-image: url(/images/gin.jpg); 
}

.navTax:hover {
    background-image: url(/images/sapnh.jpg);
}

.navCourt:hover {
    background-image: url(/images/cfnh.jpg);
}

.navUtilities:hover {
    background-image: url(/images/utilsh.jpg);
}

.navContact:hover {
    background-image: url(/images/ctnh.jpg);
}

.navInfo:hover {
    background-image: url(/images/ginh.jpg);
}

#logo {
    margin-left: 10px;
}

#innerWrapper {
    width: 1000px;
    margin: auto;
}

#welcome {
    width: 100%;
    height: 295px;
    background-color: #ffffff;
    filter: alpha(opacity=60);
    background: rgba(255,255,255,0.6);
    text-align: center;
    color: #617174;
}

#welcomeMsg {
    height: 170px;
    width: 800px;
    margin: auto;
    padding-top: 60px;
    line-height: 30px;
}

    #welcomeMsg p {
        font-style: italic;
        font-size: 23px;
    }

#info {
    width: 100%;
    height: 270px;
    background-color: #ffffff;
}

#infoLeft {
    float: left;
    width: 50%;
}

#searchAndPay {
    width: 290px;
    margin: auto;
    text-align: center;
    height: 200px;
    margin-top: 25px;
}

#taxLink {
    width: 94px;
    height: 94px;
    display: block;
    margin: auto;
    background: url(/images/sap.jpg);
}

    #taxLink:hover {
        background: url(/images/saph.jpg);
    }

#txtSvp {
    color: #5091b4;
    font-size: 30px;
    font-style: italic;
    font-weight: bold;
    margin-top: 20px;
}

#txtSvpDesc {
    color: #617174;
    font-size: 17px;
}

#infoRight {
    float: right;
    width: 50%;
    height: 270px;
}

#rotateImgHldr {
    background-image: url(/images/imgHldr.png);
    margin-top: -44px;
    width: 391px;
    height: 278px;
    overflow: hidden;
}

    #rotateImgHldr img {
        margin: 19px 0px 0px 16px;
    }

#news {
    width: 100%;
    height: 350px;
    background: url(/images/blueTile.jpg) repeat center top fixed;
    background-color: #8fb6ca;
}

#newsLeft {
    width: 50%;
    float: left;
    height: 350px;
}

    #newsLeft img {
        display: block;
        margin: auto;
        margin-top: 30px;
    }

#newsRight img {
    display: block;
    margin-top: 30px;
    margin-bottom: 20px;
}

#newsRight {
    width: 49%;
    float: right;
    height: 350px;
    color: #ffffff;
    font-size: 14px;
    padding-right: 10px;
}

    #newsRight a, #newsRight a:visited {
        color: #225d7c;
    }

#footer {
    padding: 10px;
    background-color: #0c374e;
    height: 30px;
    text-align: center;
    color: #ffffff;
}


#contentHolder {
    width: 100%;
    min-height: 700px;
    background-color: #ffffff;
    color: #617174;
    overflow: auto;
}

#leftBar {
    width: 220px;
    height: 100%;
    float: left;
    min-height: 179px;
    margin: 70px 20px 20px 55px;
    color: #225d7c;
    font-weight: bold;
    text-align: center;
}

    #leftBar a {
        color: #225d7c;
        font-weight: bold;
        text-decoration: none;
    }

    #leftBar h1 {
        font-style: italic;
        margin-bottom: 10px;
    }

#secContent {
    height: 100%;
    float: left;
    width: 655px;
    min-height: 179px;
    margin: 20px 20px 20px 20px;
    color: #617174;
}

    #secContent h1, #leftBar h1 {
        color: #7fa91a;
        font-size: 18px;
    }

#pageTitleContainer {
    margin: 0px 0px 20px 0px;
    color: #7fa91a;
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
    text-align: right;
}

.formsDocsLinks {
    display: block;
    width: 100%;
    padding-bottom: 10px;
}

@media print {
    #header, #footer {
        display: none;
    }
}


@media screen and (max-width: 767px) {
    body {
        min-height: 700px;
        background: none;
        -webkit-text-size-adjust: none;
        padding: 0;
        text-align: left;
        direction: ltr;
        margin: 0;
        color: black;
    }

    #viewport {
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    #mobileMenu {
        width: 190px;
        background: gray;
        min-height: 100%;
        position: absolute;
        overflow: hidden;
        left: -190px;
    }

        #mobileMenu > ul {
            padding: 0px;
            margin: 0px;
        }

            #mobileMenu > ul > li {
                list-style: none;
            }

        #mobileMenu ul li > a {
            list-style: none;
            display: block;
            padding: 0 10px 0 5px;
            line-height: 30px;
            color: #fdfdfd;
            text-decoration: none;
            text-shadow: 0px 1px 0px rgba(0,0,0, .35);
            border-bottom: solid #333 1px;
        }

    #headerMenu {
        color: White;
        vertical-align: top;
        background-image: url(/images/hdrbg.jpg);
        border-bottom: 3px solid gray;
    }

    #btnToggleMenu {
        margin: 10px;
        border: 1px solid gray;
        border-radius: 5px;
        padding: 4px 5px 5px 4px;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
    }

    .toggleMenuDown {
        -moz-box-shadow: inset 0px 0px 7px #444;
        -webkit-box-shadow: inset 0px 0px 7px #444;
        box-shadow: inset 0px 0px 7px #444;
        border: 1px solid #555 !important;
    }

    #contentWrap {
        position: relative;
        height: 100%;
        min-height: 700px;
        -webkit-box-shadow: -6px 0px 8px rgba(48, 50, 50, 0.5);
        -moz-box-shadow: -6px 0px 8px rgba(48, 50, 50, 0.5);
        box-shadow: -6px 0px 8px rgba(48, 50, 50, 0.5);
        -webkit-overflow-scrolling: touch;
    }

        #contentWrap.menuVisible, #mobileMenu.menuVisible {
            -webkit-transform: translateX(190px);
            transform: translateX(190px);
            -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
        }

    #homeContent {
        background: url(/images/mobile/home.jpg);
        background-size: contain;
        padding: 20px;
        border-bottom: 4px solid #0c374e;
    }

    #homeLinks {
        padding: 0;
        margin: 20px;
        border-top: 2px solid #0c374e;
        border-bottom: 2px solid #0c374e;
    }

        #homeLinks li {
            list-style: none;
            font-size: 15px;
            padding: 4px 0 4px 15px;
        }

            #homeLinks li a {
                color: #0c374e;
            }

    #content {
        background: white;
        padding: 5px;
    }
}
