a.disabled {
    pointer-events: none;
    cursor: default;
    background-color:gray !important;
}

div.ui-page {
    padding-top: 4.5em !important;
    box-shadow: inset 2px -2px 2px rgba(0,0,0,0.5);
}

.ui-content {
    padding: 0 !important;
}

.pageHeader {
    box-shadow: inset 2px -2px 2px rgba(0,0,0,0.5);
    position: fixed;
}

div.header-grid {
    background-color:#efefef;

}
div.header-spacer {
    min-height:2em !important;
}

.header-box {
    height: 2em;
    margin-bottom: .5em;
}

div.header-icon {
    width: 20% !important;
}

div.header-title {
    width: 60% !important;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: .5em;
}

div.back-to-parent {
    padding-top: 1em;
    color: #eeeeee;
    font-size: smaller;
}

.ui-block-c.header-box.header-icon.right-icon.config-icon {
    /*padding-top: .5em;*/
    text-align: right;
    color: #eeeeee;
    /*font-size: smaller;*/
}

.ui-block-a.header-box.header-icon.left-icon {
    padding-left: .5em;
}

.ui-block-c.header-box.header-icon.right-icon {
    padding-right: .5em;
}

.ui-block-c.header-box.header-icon.right-icon img {
    float:right;
}

.center-wrapper{
    text-align: center;
    border-bottom:1px solid #dddddd;
}
.center-wrapper * {
    margin: 0 auto;
}

img.header-image {
    /* width: 80%; */
    height:2em;

}

img.refresh {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 1.5em;
    padding-top: .25em;
    padding-bottom: .25em;
}

.page-title {
    margin: .5em 0;
}

div.category-description {
    padding: .5em .25em;
    box-shadow: inset 2px -2px 2px rgba(0,0,0,0.5);
}


div.list-item-wrapper {
    float: left;
    clear: both;
    padding: 1em;
    width:100%;
    background-color: rgba(255,255,255,0.5);
    margin-top: 2px;
    margin-bottom: 2px;
    box-shadow: inset 2px -2px 2px rgba(0,0,0,0.5);
}

div.list-item {
    /* height:5em;*/
}

div.item-subtitle {
    width:92%;
    font-weight: bold;
}
div.item-pub-date {
    font-weight: bold;
    font-style: italic;
}

div.item-excerpt {
    width:92%;
}

div.list-item-teaser {
    max-height: 3em !important;
    overflow: hidden;
}

div.list-item h1 {
    /*
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    width:inherit;
    */
    width:95%;
    text-align:left;
    color: #01a75f;
    font-size:22px;
}

div.item-separator h1 {
    text-align: center;
}

div.item-detail h1 {
    width:95%;
    text-align:left;
    color: #01a75f;
    font-size:22px;
}

div.item-content {
    clear:left;
}

.item-detail-wrapper {
    /*margin: 2em;*/
    background-color: rgba(255,255,255,0.85);
    /*background-color: rgba(255,255,255,0.5);*/
    margin-top: 2px;
    margin-bottom: 2px;
    box-shadow: inset 2px -2px 2px rgba(0,0,0,0.5);
    position: relative;
}

div.item-detail {
    padding: 1em;
}

.hidden {
    display: none !important;
}

div.page {
    background-image: url("../img/metal_background.jpg");
    background-size: cover;
    height:100%;
    padding:0 !important;
}

div#configPanel {
    background-color: #3d3d3d;
    color: whitesmoke;
    text-shadow: none !important;
}

div.ui-panel-inner a.ui-btn {
    float: left;
    clear: left;
    width: 85%;
}

.content-wrapper {
    height: 115%;
    background-color: rgba(0,0,0,.25);
    overflow: hidden;
}

div.content {
    background-image: url("../img/metal_background.jpg");
    background-size: cover;
    margin-top:4.5em;
    overflow-y: auto;
    max-height: 100vh;
}

div.footer {
    background-color: #01a75f !important;
    min-height:1.5em;
}

div.screen-block {
    box-shadow: inset 2px -2px 2px rgba(0,0,0,0.5);;
    padding-top:1em;
}


div.screen-block.half-width {
    display: block;
    float: left;
    width: 50%;
}

div.screen-block.full-width {
    display: block;
    float: left;
    width: 100%;
}

div.screen-block.half-width.left-block {
    clear: left;
}


div.cat-item {
    margin: 0em;
    padding: 0em .5em;
    max-height: 8em !important;
    height: 8em !important;
}

div.cat-item img {
    height:4em;
    max-width: 100%;
    display:block;
    margin:auto;
}

div.grid-item {
    margin: 0em;
    padding: 0em .5em;
    max-height: 8em !important;
    height: 8em !important;
}

div.grid-item img {
    height:4em;
    max-width: 100%;
    display:block;
    margin:auto;
}

div.grid-item h1 {
    width:95%;
    text-align:center;
}

div.grid-item span.item-title {
    width:95%;
    text-align:center;
}





/* Nested Lists */

div.nested-list-wrapper {
    background: #a8a8a8;
    overflow: auto;
}

div.list-cat-header {
    /* max-height: 4em; */
}


div.list-cat-wrapper div.screen-block {
    box-shadow: none;
}

div.cat-list-item {
    float: left;
    clear: left;
    width: 100%;
    padding-top: .25em;
    /* padding-bottom: .25em; */
    text-align: left;
    /* padding-left: 1em; */
    /* margin-top: .5em; */
    /* color: white; */
    /* -webkit-box-shadow: 0 3px 2px 3px rgba(0,0,0,.4); */
    /* box-shadow: 0 3px 2px 3px rgba(0,0,0,.4); */
    /* background: #4B946A!important; */
    -webkit-box-shadow: 0 1px 2px 3px rgba(0,0,0,.4);
    box-shadow: 0 1px 2px 3px rgba(0,0,0,.4);
    background: #c8c8c8;
    background: -moz-linear-gradient(top, #c8c8c8 0%, #adadad 18%, #bababa 32%, #eaeaea 53%, #ffffff 66%, #eaeaea 92%, #ffffff 100%);
    background: -webkit-linear-gradient(top, #c8c8c8 0%, #adadad 18%, #bababa 32%, #eaeaea 53%, #ffffff 66%, #eaeaea 92%, #ffffff 100%);
    background: linear-gradient(to bottom, #c8c8c8 0%, #adadad 18%, #bababa 32%, #eaeaea 53%, #ffffff 66%, #eaeaea 92%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c8c8c8', endColorstr='#ffffff', GradientType=0 );
    display: block;
}

div.cat-list-title {
    font-weight: 800;
    color: #3d7d58;
    text-shadow: 0 -2px 2px #ffffff;
    font-size: 125%;
    display: block;
    margin-left: 1em;
}

div.cat-list-item img {
    max-height: 2em;
    float: left;
    clear: left;
    margin-left: 1em;
}

div.list-cat-wrapper div.grid-item {
    max-height: none !important;
    height: initial !important;
}

div.list-cat-wrapper div.grid-item img {
    height: auto;
    width: 90%;
    border: 4px solid #fff;
    -webkit-box-shadow: 0 1px 3px 3px rgba(0,0,0,.2);
    box-shadow: 0 1px 3px 3px rgba(0,0,0,.2);
    margin: 5px;
}

div.list-cat-wrapper div.grid-item h1 {
    color: white;
    text-align: left;
    min-height: 2.5em;
    /*overflow: hidden;*/
    text-shadow: 0 1px 3px #000000;
    font-size: 13px;
    padding: 0px 0px 5px 5px;
    font-weight: bold;
    /*display:inline-block;*/
}

/* Sign-in Form */


div#sign-in-content {
    background: none;
}

div#sign-in-badge img {
    padding-top: 0;
    width: 60%;
    height: auto;
}

form#sign-in-form div.ui-input-text, form#sign-in-form div.ui-checkbox {
    max-width: 35em !important;
    display: block;
    margin: 0 auto;
}

#sign-in-email {
    padding: 1em 10%;
    margin: .25em 0;
    background-color: rgba(255,255,255,.25);
}

#sign-in-password {
    padding: 1em 10%;
    margin: .25em 0;
    background-color: rgba(255,255,255,.25);
}

#sign-in-training {
    margin: .25em 0;
    padding: 0 10%;
}
#sign-in-training label {
    border: none;
    background-color: transparent;
}

#sign-in-button {
    padding: 1em;
}

#sign-in-button div.ui-btn {
    background-color: rgba(225,225,225,.8);
    box-shadow: -3px 3px 5px #666666;
    display: block;
    margin: 0 auto;
    width: 10em !important;
}


#sign-in-status {
    display: block;
    text-align: center;
    margin:1em 0;
}
#forgot-password {
    display: block;
    text-align: center;
    margin:1em 0;
}
#forgot-password a {
    text-decoration: none !important;
    text-transform: uppercase !important;
    color: #475460;
}
#create-account {
    display: block;
    text-align: center;
    position: absolute;
    bottom: 0;
    margin-bottom: 1em;
    width: 100%;
}
div#create-account a {
    text-decoration: none !important;
    text-transform: uppercase !important;
    color: #475460;
}




/* Contact Formatting */

.item-contact-photo-img img {
    float:right;
    clear:right;
    margin: 0 .5em .5em .5em;
}

.item-contact-location, .item-contact-mailing, .item-contact-numbers {
    display: inline-block;
    margin-top: .5em;
    margin-bottom: .5em;
    /* width:100%; */
    float:left;
    clear:left;
}
.item-contact-division,.item-contact-region,.item-contact-department,.item-contact-position,
.item-contact-attn, .item-contact-street, .item-contact-street2,.item-contact-country,
.item-contact-email, .item-contact-telephone,.item-contact-cellphone,.item-contact-fax {
    float: left;
    clear: left;
}
.item-contact-city {
    float: left;
    clear: left;
}

.item-contact-state {
    float: left;
}

.item-contact-zip {
    float: left;
}

img.email {
    width: 2em !important;
    height: 2em !important;
    float: right;
    margin-right: 2em;
    border: none !important;
    box-shadow: none !important;
}

/* Unread Formatting */

span#unread-message-count {
     color: #01a75f;
     position: relative;
     /*
     top: -2em;
     left: 3.1em;
     */
    top: -2.5em;
    left: 4em;
    font-size: smaller;
    font-weight: bold;
 }

[data-unread-list-item] h1:before {
    /*content: "\2022";*/
    content: "\2709";
    color: #01a75f;
    margin-right: .25em;
    font-size: xx-large;
    font-weight: bold;
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    body {
        font-size: larger;
    }
    div.cat-item img {
        height: 6em;
    }
    span#unread-message-count {
        top: -3em;
    }
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
    body {
        font-size: larger;
    }
    div.cat-item img {
        height: 6em;
    }
    span#unread-message-count {
        top: -3em;
    }
}