/* ----- */
/* Begin home page banner styles */
/* ----- */
#banner {
    background: url("/PublishingImages/jerseylaw.je/Banners/Banner_CourtRoom_1581x264.jpg") no-repeat 50% 50% #000;
    background-size: auto 234px;
    clear: both;
    height: 234px;
    margin: 0;
    overflow: hidden;
}

#banner-search {
    background: url('/_layouts/15/images/jerseylaw.je/SearchBG.png');
    box-shadow: 0 0 30px 2px #000;
    margin: 42px auto 46px auto;
    height: 95px;
    padding: 20px 30px 30px 30px;
    width: 70%;
}

#banner-search-title {
    width: 100%;
    height: 40px;
}

    #banner-search-title h1 {
        color: #fff;
        float: left;
        font: 25px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    #banner-search-title a {
        background: url("/_layouts/15/images/jerseylaw.je/Arrow_R_White_7x15.png") no-repeat center right;
        color: #fff;
        float: right;
        padding-right: 10px;
        text-decoration: none;
        margin-right: 5px;
    }

        #banner-search-title a span {
            border-bottom: dashed 1px;
        }

#banner-search-box {
    position: relative;
    width: 100%;
    z-index: 0;
}

#bannerSearchBoxInput {
    background-color: #fff;
    border: medium none;
    border-radius: 5px 5px 5px 5px;
    color: #444444;
    float: left;
    height: 50px;
    left: 0;
    line-height: 50px;
    margin: 0;
    padding: 0 0 0 15px;
    position: absolute;
    top: 0;
    width: 95%;
    font-size: 18px;
    font-family: 'proxima-nova', sans-serif;
}

#banner-search-box a {
    width: 49px;
    height: 50px;
    background: url("/_layouts/15/images/jerseylaw.je/BannerSearch_Button_49x50.png") no-repeat;
    position: absolute;
    top: 0px !important;
    right: 0;
}
/* ----- */
/* End home page banner styles */
/* ----- */

/* ----- */
/* Begin navigation menu colour overrides */
/* ----- */
#nav {
    background-color: #460604;
}

#nav-links a {
    color: #fff;
}

    #nav-links a:hover {
        text-decoration: underline;
    }

    #nav-links a:focus {
        background-color: #ecebdd;
        color: #460604;
    }

#nav-links ul.root > li.static > ul.static > li.static > a > span {
    border-left-color: #5c201f;
}

#nav-links ul.root > li.static > ul.static li.static:last-child > a > span {
    border-right-color: #5c201f;
}

.twitter {
    background-position: -52px -26px;
}

    .twitter:hover {
        background-position: -52px -0px;
    }

.linkedin {
    background-position: 0px -26px;
}

    .linkedin:hover {
        background-position: 0px 0px;
    }

.rssfeed {
    background-position: -26px -26px;
}

    .rssfeed:hover {
        background-position: -26px 0px;
    }
/* ----- */
/* End navigation menu colour overrides */
/* ----- */

/* ----- */
/* Begin home page content styles */
/* ----- */
#content {
    background-color: #ecebdd;
    min-height: 520px !important;
}



.home-body-column {
    float: left;
    height: 450px;
    width: 23.5%;
    padding-right: 2%;
    overflow: hidden;
}

    .home-body-column .content {
        width: 100%;
        display: block;
        background-color: #fff;
    }

    .home-body-column:last-of-type {
        padding-right: 0;
        margin-top: 40px;
        height: 410px;
    }

        .home-body-column:last-of-type .content {
            background-color: transparent;
        }

    .home-body-column h3 {
        background-color: #ecebdd;
        border-bottom: solid 9px #460604;
        color: #403e37;
        font-size: 24px;
        line-height: 40px;
        margin: 0;
        padding: 0 10px;
        font-weight: normal;
    }

    .home-body-column div.ms-webpartzone-cell {
        margin: 0;
    }

ol.latest-items {
    padding: 20px;
    overflow: auto;
    height: 361px;
}

.latest-items a {
    display: block;
}

@media (max-width:720px) {
    ol.latest-items {
        overflow: hidden; /*avoid scroll trap*/
    }
}

.latest-items h4 {
    color: #5c201f;
    font-size: 14px;
}

.latest-items p {
    font-size: 14px;
    margin-bottom: 26px;
}

    .latest-items p.last-child {
        margin-bottom: 0px;
    }

.latest-items h4:hover, latest-items p:hover {
    text-decoration: underline;
}

.latest-items a:hover {
    text-decoration: none;
}


.top-faqs {
    padding: 20px;
    overflow: auto;
    height: 361px;
}

    .top-faqs ul {
        height: 317px;
    }

    .top-faqs li {
        margin-bottom: 15px;
        font-size: 0.9em;
    }

        .top-faqs li a.faq-item {
            color: #5c201f;
            font-size: 16px;
            text-decoration: none;
            width: calc(100% - 40px);
            display: inline-block;
            min-height: 27px;
        }

        .top-faqs li a.faq-arrow {
            width: 27px;
            display: inline-block;
            vertical-align: top;
        }

            .top-faqs li a.faq-arrow img {
                left: 10px;
                position: relative;
            }

@media (min-width:768px) and (max-width:1024px) {

    .top-faqs ul {
        overflow: auto;
    }
}

@media (max-width:1080px) {
    ul.homepage-links.no-bullets li a span {
        font-size: 14px;
    }
}


@media (max-width:1050px) {
    ul.homepage-links.no-bullets li a span {
        font-size: 13px;
    }
}


@media (max-width:950px) {
    ul.homepage-links.no-bullets li a span {
        font-size: 12px;
    }
}

@media (max-width:720px) {
    ul.homepage-links.no-bullets li a span {
        font-size: 16px;
    }
}
/*twitter styles*/
.twitter-timeline {
    width: 100% !important;
}

#twitter-widget-0 {
    height: 250px;
    width: 100% !important;
}

/* ----- */
/*End home page content styles*/
/* ----- */

/*responsive styles*/

@media(max-width:1160px) {

    #twitter-widget-0 {
        max-width: 100%;
        overflow: hidden !important;
    }
}

@media(max-width:950px) {
    .home-body-column h3 {
        font-size: 22px;
    }

    a.button > span {
        font-size: 12px;
    }
}

@media(max-width:870px) {
    #content {
        position: relative;
    }

    .home-body-column {
        width: 68%;
        height: auto;
    }

        .home-body-column:last-of-type {
            width: 28%;
            position: absolute;
            right: 10px;
            top: 10px;
        }
}

@media(max-width:720px) {
    .home-body-column, .home-body-column:last-of-type {
        width: 100%;
        padding: 0;
        position: static;
        height: auto;
    }

    a.button > span {
        font-size: 13px;
    }

    .home-body-column h3 {
        font-size: 24px;
    }
}
/*tablet styles*/


/*mobile*/
@media (max-width: 720px) {
    #nav-links ul.root li.static > a {
        border-bottom: 1px solid #ecebdd !important;
    }
}
