body {
    background-color: #ffffff;
    background-image: none;
}

div.clear {
    clear: both;
}

#logo-bar {
    display: table;
    margin: 0 auto;
    width: 100%;
    border-top: 5px solid #145066;
    border-bottom: 1px solid #B8D1DA;
    padding: 0.8em 0;
}

#logo-container {
    display: table-cell;
    margin-right: 40px;
}

#case-info {
    display: table-cell;
    padding: 0 10px 0 30px;
    vertical-align: top;
    line-height: 12px;
}

#case-info h1, #case-info h2 {
    padding-bottom: 5px;
}


#document-full-text-outer h2 {
    font-size: 14px;
    padding:  20px 0;
}

#document-full-text {
    font-size: 12px;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
    word-wrap: break-word;
    padding: 0 12px;
}

#case_name_public, #court_full_name, #document_title_public {
    font-size: 10px;
}


#shield-container {
    margin-left: 1em;
    display: inline-block;
    height:43px; 
    width:63px; 
    background-image: url('/DocketBirdLogoSmall2.gif');
    background-size: 63px 43px;
}

#case_name_public a {
    color: #007FAF;
}

#case_name_public a:hover {
    color: #CC7A46;
}

#court_full_name {
    font-weight: normal;
}

#document_title_public {
    font-weight: 700;
}

#mainContainer {
    background-color: #E5F8FF;
}

#document-full-text-outer {
    text-align: center;
    border-top: 1px solid #ddd;
}






#inner-first-page-inner-container {
    text-align: center;
    background-color: #E5F8FF;
    position: relative;
}

#first-page-image {
    margin:  0 auto;
    max-width: 90%;
    height:  auto;
    border: 9px solid transparent;
    border-image: url('../document_viewer/images/shadow.png') 9 9 repeat;
}

#view-entire-document-container-outer {
    position: absolute;
    bottom: 25px;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    background-color: #ddd;
    padding:  15px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

#view-entire-document-button {

    font-size: 12px;
    line-height: 16px;
    padding:  12px 18px;

    font-family: arial, sans-serif;
    font-weight: bold;
    text-align: center;
    color:  #fff;
    background-color: #c13e00;
    border-radius: 4px;
    border-style: none;
    cursor: pointer;
    white-space: nowrap;

}

#document-container {
    margin:  0 auto;
    max-width: 90%;
    height:  auto;
    border: 9px solid transparent;
    border-image: url('../document_viewer/images/shadow.png') 9 9 repeat;
}


/********************************
    Anything larger than 550px wide.
********************************/


@media only screen and (min-width : 550px) {

    /* DocketBird Logo */
    #shield-container {
        margin-left: 1em;
        display: inline-block;
        height:75px; 
        width:110px; 
        background-image: url('/docketbird-logo.jpg');
        background-size: 110px 75px;
    }

    #case-info {
        line-height: 22px;
        padding:  0 20px 0 30px;
    }

    #case_name_public, #document_title_public {
        font-size: 15px;
    }

    #court_full_name {
        font-size: 13px; 
    }

    #view-entire-document-container-outer {
        position: absolute;
        bottom: 60px;
        padding: 20px 0;
    }


    #view-entire-document-button {
        font-size: 16px;
        line-height: 21px;
        padding: 15px 22px;
    }

    #document-full-text-outer>h2 {
        margin: 10px 0;
        font-size: 16px;
    }

    #document-full-text {
        font-size: 14px;
        line-height: 21px;
        margin: 0 auto;
        max-width: 600px;
    }

}

/********************************
    Anything larger than 900px wide.
********************************/

@media only screen and (min-width : 900px) {

    #first-page-image {
        max-width: 100%;
    }

}

