h1 {
    text-align: center;
    color: rgb(64, 64, 79);
}

.container .container {
    padding-right: 45px;
}

body>.container-document-list {
    margin-top: 0;
}

.form-narrow,
.panel-sign-in {
    max-width: 330px;
    margin: 0 auto;
}

.form-narrow {
    padding: 15px;
}

.form-narrow button,
.form-narrow .checkbox,
.form-narrow .alert {
    margin-bottom: 10px;
}

.form-narrow h2 {
    display: block;
    margin: 0 6px -1px 6px;
    border: 1px solid rgb(204, 204, 204);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 7px;
    text-align: center;
    background: rgb(235, 235, 245);
    color: rgb(120, 120, 130);
    font-size: 20px;
}

.form-narrow .checkbox {
    font-weight: normal;
}

.form-narrow .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-narrow .form-control:focus {
    z-index: 2;
}

.form-narrow .form-group {
    width: 100%;
    margin: 0;
}

.form-narrow .form-group .form-control:nth-child(2):not(:last-child),
.form-narrow .form-group .input-group:nth-child(2):not(:last-child) .form-control,
.form-narrow .form-group .input-group:nth-child(2):not(:last-child) .input-group-addon {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-narrow .form-group .form-control:nth-child(n+3),
.form-narrow .form-group .input-group:nth-child(n+3) .form-control,
.form-narrow .form-group .input-group:nth-child(n+3) .input-group-addon {
    margin-bottom: -1px;
    border-radius: 0;
}

.form-narrow .form-group .form-control:last-child:not(:nth-child(2)),
.form-narrow .form-group .input-group:last-child:not(:nth-child(2)) .form-control,
.form-narrow .form-group .input-group:last-child:not(:nth-child(2)) .input-group-addon {
    border-radius: 0 0 4px 4px;
}

.form-narrow .form-group .form-control:last-child,
.form-narrow .form-group .input-group:last-child .form-control,
.form-narrow .form-group .input-group:last-child .input-group-addon {
    margin-bottom: 10px;
}

.form-narrow .form-group .input-group .input-group-addon {
    border-bottom: 0;
}

.panel-condensed .panel-footer {
    text-align: center;
}

select.form-control {
    -webkit-appearance: none;
}

.table-agency th:nth-child(1),
.table-agency td:nth-child(1) {
    width: 25%
}

.table-agency th:nth-child(2),
.table-agency td:nth-child(2) {
    width: 15%;
}

.table-agency th:nth-child(3),
.table-agency td:nth-child(3) {
    width: 8%;
}

.table-agency th:nth-child(4),
.table-agency td:nth-child(4),
.table-agency th:nth-child(5),
.table-agency td:nth-child(5) {
    width: 7%;
}

.table-agency th:nth-child(6),
.table-agency td:nth-child(6) {
    width: 28%
}

.table-agency th:nth-child(7),
.table-agency td:nth-child(7) {
    width: 10%
}

.table-agency-registered .btn-save {
    display: none;
}

.table-agency-link th:nth-child(1),
.table-agency-link td:nth-child(1),
.table-agency-link th:nth-child(2),
.table-agency-link td:nth-child(2) {
    width: 30%
}

.table-agency-link th:nth-child(3),
.table-agency-link td:nth-child(3) {
    width: 10%;
}

.table-agency-link th:nth-child(4),
.table-agency-link td:nth-child(4) {
    width: 20%;
}

.table-agency-link th:nth-child(5),
.table-agency-link td:nth-child(5) {
    width: 10%
}

.table-agency-link-registered .btn-save {
    display: none;
}

.table-user th:nth-child(1),
.table-user td:nth-child(1) {
    width: 25%
}

.table-user th:nth-child(2),
.table-user td:nth-child(2) {
    width: 25%;
}

.table-user th:nth-child(3),
.table-user td:nth-child(3) {
    width: 25%;
}

.table-user th:nth-child(4),
.table-user td:nth-child(4) {

    width: 10%;
    text-align: center;

}
.table-user th:nth-child(5),
.table-user td:nth-child(5) {
    width: 15%;
    text-align: center;
}

.table>tbody>tr>td.text-middle {
    vertical-align: middle;
}

.table>tbody>tr>td.text-top {
    vertical-align: top;
}

.table>tbody>tr>td.text-bottom {
    vertical-align: bottom;
}

.navbar-demo {
    border-radius: 0;
    background-color: rgb(34, 34, 45);
}


















/* END - CONFIRMED SELECTORS */






#authContainer {
    width: 400px;
    margin: 0 auto;
}

#authContainer label {
    display: block;
    margin: 15px 5px 15px 15px;
    width: 170px;
    height: 50px;
    float: left;
    text-align: right;
    font-size: 1.5em;
    font-weight: bold;
    color: #333366;
    line-height: 50px;
}

#authContainer .buttons {
    text-align: center;
    margin: 25px 0;
}

#authContainer .buttons input {
    width: 400px;
    height: 75px;
    margin: 0 auto 25px auto;
    font-size: 2em;
    -webkit-appearance: none;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border: 2px solid #7777aa;
    background-color: #aaaaff;
    font-weight: bold;
    color: #333366;
}

#authContainer .fields {
    width: 400px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    background-color: #ffffff;
    border: 2px solid #7777aa;
    padding: 0;
    margin: 10px auto;
    overflow: auto;
}

#authContainer .columnClear {
    height: 1px;
    background: #ccccff;
    clear: both;
}

#authContainer .fields input,
#authContainer .fields select {
    margin: 15px 10px 15px 0;
    padding: 0;
    width: 190px;
    height: 50px;
    border: 0;
    font-size: 2em;
    color: #7777aa;
    float: right;

}

#banner {
    width: 400px;
    height: 60px;
    background: url('/images/service/serverLogo-lg.png') no-repeat;
    margin: 5px auto;
}

#banner h2 {
    width: 150px;
    float: right;
    font-size: 14pt;
    line-height: 23px;
    margin: 0;
    padding: 0;
}

/*
#pageRegister .messages span,
#pageSignIn .messages span,
#pageEdit .messages span,
#pageAgency .messages span {
    display: block;
    border-radius: 15px;
    background-color: #ffaaaa;
    border: 1px solid #663333;
    color: #663333;
    width: 370px;
    padding: 15px;
    margin: 10px auto;
    font-size: 2em;
}
*/



/* BEGIN: CAPTCHA selectors */

/*
#captchaContainer {
    width: 400px;
    margin: 0;
}

#captchaImage {
    width: 140px;
    height: 50px;
    float: left;
    margin: 15px 0 0 10px;
}

#captchaContainer .buttonContainer {
    width: 32px;
    float: left;
    margin: 5px;
}

#captchaContainer .description,
#captchaContainer .instructions {
    display: none;
}
*/

/* END: CAPTCHA selectors */







/*
#authenticationBar {
    margin: -10px -10px 5px -10px;
    padding: 0 25px;
    height: 35px;
    line-height: 35px;
    background: #ececff;
}

#authenticationBar #message {
    width: 60%;
    height: 35px;
    float: left;
    text-align: center;
    font-size: 1.2em;
    background: #990000;
    color: #ffffff;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#authenticationBar #logo {
    width: 20%;
    float: left;
}

#authenticationBar #logo img {
    margin: 5px 0 5px -9px;
}

#authenticationBar #buttons {
    display: block;
    height: 35px;
    width: 20%;
    float: right;
    text-align: right;
    overflow: hidden;
}
*/





/* Main Container */

/*#mainContainer {*/
    /*background-color: #ffffff;*/
    /*width: 95%;*/
    /*margin: 25px auto;*/
    /*overflow: auto;*/
    /*border-radius: 20px;*/
    /*-moz-border-radius: 20px;*/
    /*-webkit-border-radius: 20px;*/
    /*padding: 10px;*/
/*}*/






.buttons input {
    width: 175px;
    height: 50px;

    padding: 5px 10px;
    line-height: 20px;
    margin: 0 15px;
    background-color: #ececff;
    border: 2px solid #cbcdff;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    font-size: 14pt;
    color: #000000;
}

.buttons input:hover {
    box-shadow: 0 0 5px rgba(0, 0, 100, .5);
    cursor: pointer;
}



/* BEGIN - Page specific selectors - BEGIN */

#pageShowImage embed {
    display: block;
    width: 600px;
    height: 775px;
    margin: 20px auto;
}

#pageShowImage .buttons {
    text-align: center;
}

/* END - Page specific selectors - END */




@media (max-width: 768px) {
    .container-document-list .panel .col-sm-2:nth-child(n+3) {
        /*text-align: center;*/
    }

    .container .container {
        padding-right: 15px;
    }
}

@media (max-width: 910px) {
    /* Main Month */

    #pageMonth .mainMonth .header .dateHeading {
        width: 50%;
    }

    #pageMonth #previous .month:nth-child(2),
    #pageMonth #next .month:nth-child(2) {
        display: none;
    }

    /* Mini Months */

    #pageMonth .miniMonth .header .dateHeading {
        width: 100%;
    }

    #pageMonth .miniMonths {
        width: 25%;
    }
}

@media (max-width: 650px) {
    /* Main Month */

    #pageMonth .mainMonth .header .dateHeading {
        width: 100%;
    }

    #pageMonth #previous .month:nth-child(3),
    #pageMonth #next .month:nth-child(3) {
        display: none;
    }
}









/* Main List */
.record {
    margin: 15px 10px 20px 5px;
    position: relative;
    height: 116px;
}



.info {
    position: absolute;
    top: 27px;
    clear: both;
    overflow: auto;
    background: #e9ffe9;
    border: 1px solid #aaddaa;
    border-radius: 5px;
    padding: 0;
    z-index: 5;
    width: 100%;
    height: 90px;
}

.info label {
    font-weight: bold;
    color: #335533;
}






.tab {
    font-weight: bold;
    color: #335533;
    position: absolute;
    top: 0;
    left: 12px;
    height: 23px;
    line-height: 26px;
    overflow: hidden;
    background: #e9ffe9;
    border: 1px solid #aaddaa;
    border-bottom: 1px solid #e9ffe9;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 3px 7px 0 3px;
    z-index: 10;

}

.tab .statusIcons {
    /*width: 52px;*/
    height: 26px;
    float: left;
    margin: 0;
}

.tab .statusIcons .icon {
    width: 24px;
    height: 24px;
    padding: 1px;
    background: no-repeat;
    opacity: .1;
    /* Various old browser hacks; these could possibly be deleted */

    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";

    /* IE 5-7 */
    filter: alpha(opacity=10);

    /* Netscape */
    -moz-opacity: 0.1;

    /* Safari 1.x */
    -khtml-opacity: 0.1;
}

.tab .statusIcons .active {
    opacity: 1;
}

.tab .statusIcons .acknowledged {
    background-image: url('/images/service/emblemOk-u-24x24.png');
}

.tab .statusIcons .deleted {
    background-image: url('/images/service/emblemUnreadable-u-24x24.png');
}

.tab .statusIcons .canceled {
    background-image: url('/images/service/dialogError-u-24x24.png');
}




.info .field {
    position: absolute;
    height: 26px;
    line-height: 26px;
}

.info .partyType,
.info .partyName {
    width: 300px;
    left: 5px;
}

.info .issueDate,
.info .issueTime,
.info .documentType {
    width: 200px;
    left: 40%;
}

.info .partyType,
.info .issueDate {
    top: 5px;
}

.info .partyName,
.info .issueTime {
    top: 34px;
}

.info .documentType {
    top: 63px;
}

.actionIcons {
    width: 216px;
    float: right;
    margin: 10px;
}

.actionIcons .icon,
.panel .buttons .icon {
    float: right;
    width: 58px;
    height: 60px;
    padding: 4px;
    margin: 0 2px;
    border-radius: 5px;
    border: 1px solid #ffffff;
    background: #ffffff 7px 4px no-repeat;
}

.actionIcons .icon {
    border-color: #e9ffe9;
    background-color: #e9ffe9;
}

.panel .buttons .icon {
    margin-right: 100px;
}

.actionIcons .icon:hover,
.panel .buttons .icon:hover {
    border-color: #0000ff;
    background-color: #aaaacc;
    cursor: default;
}

.actionIcons .disabled,
.actionIcons .disabled:hover,
.panel .buttons .disabled,
.panel .buttons .disabled:hover {
    border-color: #ffffff;
    background-color: #ffffff;
    opacity: .2;

    /* Various old browser hacks; these could possibly be deleted */

    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";

    /* IE 5-7 */
    filter: alpha(opacity=20);

    /* Netscape */
    -moz-opacity: 0.2;

    /* Safari 1.x */
    -khtml-opacity: 0.2;
}

.actionIcons .disabled,
.actionIcons .disabled:hover {
    border-color: #e9ffe9;
    background-color: #e9ffe9;
}

.actionIcons .icon span,
.panel .buttons .icon span {
    font-size: 7pt;
    display: block;
    position: absolute;
    width: 58px;
    top: 54px;
    text-align: center;
}

.actionIcons .icon span {
    top: 64px;
}

.actionIcons .view,
.panel .buttons .view {
    background-image: url('/images/service/editFind-o-48x48.png');
}

.actionIcons .acknowledge,
.panel .buttons .acknowledge {
    background-image: url('/images/service/documentApproved-u-48x48.png');
}

.actionIcons .cancel,
.panel .buttons .cancel {
    background-image: url('/images/service/documentError-u-48x48.png');
}

.actionIcons .delete,
.panel .buttons .delete {
    background-image: url('/images/service/documentUnreadable-u-48x48.png');
}

.info .statusIcons {
    width: 26px;
    height: 78px;
    float: right;
    margin: 5px;
}

.info .statusIcons .icon {
    width: 24px;
    height: 24px;
    padding: 1px;
    background: no-repeat;
    opacity: .1;
    /* Various old browser hacks; these could possibly be deleted */

    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";

    /* IE 5-7 */
    filter: alpha(opacity=10);

    /* Netscape */
    -moz-opacity: 0.1;

    /* Safari 1.x */
    -khtml-opacity: 0.1;
}

.info .statusIcons .active {
    opacity: 1;
}

.info .statusIcons .acknowledged {
    background-image: url('/images/service/emblemOk-u-24x24.png');
}

.info .statusIcons .deleted {
    background-image: url('/images/service/emblemUnreadable-u-24x24.png');
}

.info .statusIcons .canceled {
    background-image: url('/images/service/dialogError-u-24x24.png');
}





/* BEGIN Canceled service selectors BEGIN */
.canceled .info,
.canceled .tab,
.canceled label {
    background: #a46d6d;
    border-color: #984242;
    color: #984242;
}

.canceled .tab {
    border-bottom: 1px solid #a46d6d;
}

.canceled .actionIcons .disabled,
.canceled .actionIcons .disabled:hover {
    border-color: #a46d6d;
    background-color: #a46d6d;
    color: #773333;
}

.canceled .cancelMessage {
    position: absolute;
    z-index: 20;
    text-align: center;
    height: 40px;
    width: 230px;
    line-height: 40px;
    top: 25px;
    left: 50%;
    margin-left: -115px;
    color: #ffffff;
    font-weight: bold;
    font-size: 28pt;
    transform: rotate(-12deg);
}

.canceled .statusIcons .icon {
    opacity: .3;
    /* Various old browser hacks; these could possibly be deleted */

    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";

    /* IE 5-7 */
    filter: alpha(opacity=30);

    /* Netscape */
    -moz-opacity: 0.3;

    /* Safari 1.x */
    -khtml-opacity: 0.3;
}
/* END Canceled service selectors END */



/*
#selectionBar {
    margin: 15px 10px 20px 5px;
    overflow: auto;
    height: 50px;
    position: relative;
}

#selectionBar .selection {
    height: 25px;
    line-height: 25px;
    position: absolute;
}

#selectionBar .selection .sub {
    float: right;
}

#selectionBar .selectionU {
    width: 350px;
    top: 0;
    left: 0;
}

#selectionBar .selectionA {
    width: 350px;
    top: 25px;
    left: 0;
}

#selectionBar .sort {
    float: right;
    height: 50px;
    line-height: 50px;
}

#selectionBar .sort select {
    border: none;
    font: 12pt Helvetica, sans-serif;
}

#selectionBar .count {
    float: right;
    text-align: right;
    left: 350px;
    width: 200px;
    height: 50px;
    line-height: 50px;
    font-size: 1.7em;
    color: #9999cc;
    text-shadow: 0 0 1px rgba(0, 0, 35, .4);
}
*/






/* BEGIN: Panel Selectors */

/*
.panel {
    display: none;
    position: absolute;
    width: 400px;
    height: 250px;
    background: #ffffff;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .7);
    z-index: 10;
    top: 0;
    left: 0;
    text-align: center;
    padding: 10px;
}

.panel .buttons {
    position: absolute;
    bottom: 10px;
    width: 400px;
}

.panel .buttons a {
    display: block;
    margin: 5px;
}

.panel .buttons .cancelContainer {
    width: 66px;
    float: left;
    margin-left: 100px;
    height: 68px;
    line-height: 68px;
}

.panel .buttons .cancelContainer a {
    display: inline;
}

.panel .error {
    width: 350px;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.panel .notice {
    font-size: .8em;
    text-align: left;
    margin: 10px 0;
}
*/

/* END: Panel Selectors */




/* END - Page specific selectors - END */