.ui-body-a{
    margin-top: 26px !important;
}

#pg-home {
    -moz-user-select:none;
    -webkit-user-select:none;
    -ms-user-select:none;
    user-select:none;
    padding-bottom:0!important;
    background: url(images/homeimg-portrait.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: absolute;
    padding-top: 0 !important;
    height: 100%;
    cursor: pointer;
}

#pg-home .ui-content,  #pg-home .ui-panel-wrapper{
    background: none !important;
    /* padding: 0; */
}

#red-home h1 {
    margin: 0;
}

#home-image {
    padding: 2em 0;
    display: block;
    text-align: center;
    bottom: 0;
    //height: 138px;
    width: 100%;
    /* background: url(images/homeimg-bg.jpg) no-repeat center center fixed; */
}
#home-image img {
    width: 150px;
}

#home-message {
    width: 40%;
    position: absolute;
    left: 2em;
    top: 3em;
    font-size: 22px;
    background: #a41e22;
    padding: 0 10px;
}
#home-message p {
    width: 100%;
    height: 100%;
    color: #fff;
    text-shadow: none;
    font-weight: bold;
    margin: 10px;
}

#home-login {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.8);
    overflow: none;
    clear: both;
    border-radius: 5px;
    color: #222;
    text-align: center;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.08);
    -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,.08);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.08);
}

#home-login .ui-input-text {
    background: none !important;
    border: none;
    border-bottom: 2px solid #ccc;
    box-shadow: none;
    border-radius: 0;
    color: #555;
    padding: 5px 0;
    margin-top: 10px;
}

#home-login .ui-input-text.ui-focus {
    border-bottom: 2px solid #222;
}

#home-login .ui-checkbox label {
    background: none;
    border: 0;
    color: #555;
}

#login-btn {
    background: #a41e22;
    border: 0;
    border-radius: 1em;
}

.btn-submit-class{
    background: #a41e22 !important;
    border: 0;
    border-radius: 0.5em !important;
}

#home-login-test {
}
#home-login-test fieldset {
    background: #413C36;
    padding: 15px 20px;
    margin-top: 20px;
}

#home-login-msg, #changepwd-msg, #signup-msg, #admin-sms-msg {
    background: #d06f6f;
    line-height: normal;
    /* color: #111; */
    border-radius: 10px;
    padding: 10px;
    /* overflow: hidden; */
    font-size: 12px;
    text-shadow: none;
    text-align: center;
}

#home-login  .ui-checkbox-on:after {
    background-color: #a41e22;
}

#home-login .ui-checkbox-on {
    z-index: 0 !important;
    display: block;
}

#login-remember{
    display: none !important;  
}

#admin-sms-msg.sentok{
    background: #56cf42;
}

#show-resetpwd {
    text-align: center;
    width: 100%;
    display: block;
    text-decoration: none;
    font-size: 12px;
    height: 40px;
    margin-top: 20px;
    text-shadow: none;
    color: #333;
}

#home-resetpwd {
    background: #5DB0EF;
    padding: 10px;
    color: #222;
    text-shadow: none;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 14px;
}
#home-resetpwd h4 {
    margin: 0;
}

.tr-desktop, .desktop-label {
    display: none !important;
}

@media (min-width: 1024px){
    .tr-desktop, .desktop-label {
        display: block !important;
    }
    
    #pg-home {
        background: url(images/homeimg-desktop_2.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        cursor: default;
    }
    
    #pg-home-header {
        height: 80px;
        background: #fff;
        border: 0;
        border-top: 8px solid #a41e22;    
        -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.08);
        -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,.08);
        box-shadow: 0 2px 4px 0 rgba(0,0,0,.08);
    }
    
    #pg-home-header h1{
        float: left;
        display: block;
        margin: 0;
        padding: 15px 0;
        margin-left: 10px;
    }
    #pg-home-header img {
        height: 40px;
        width:121px;
        padding: 0 20px;
    }
    
    #home-image {
        display: none;
    }
    
    #home-login-dynamictext {
        //text-shadow:  0 2px 4px rgba(0,0,0,.28);
        //position: absolute;
        float: left;
        color: #a41e22;
        font-size: 20px;
        margin: 20px 0 0 20px;
        font-weight: bold;
        font-style: italic;
        font-family: 'open sans', arial, helvetica;
    }
    
    
    #home-login, #home-resetpwd {
        position: absolute;
        width: 300px;
        float: left;
        top: 120px;
        left: 100px;
        background: #fff;
        padding: 20px 25px;
    }   
    
    #home-login .ui-input-text {
        background: none !important;
        border: 1px solid #ccc;
        box-shadow: none;
        border-radius: 6px;
        padding: 5px 0;
        margin-top: 5px;
    }

    #home-login .ui-input-text.ui-focus {
        border-bottom: 1px solid #ccc;
    }
    
    
    #home-login-test {
        position: absolute;
        float: right;
        right: 0;
        top: 50px;
    }
    #home-login .desktop-label {
        text-align: left;
        margin: 10px 0 0 0;
        font-weight:bold;
        color: #333;
    }
    #home-login h3.desktop-label {
        text-align: left;
        font-size: 20px;
        margin: 10px 0 20px 0;
    }
    #login-btn {
        border-radius: 6px;   
    }
    #home-resetpwd h4 {
        margin: 10px 0 20px 0;
        font-weight: bold;
    }
    #home-resetpwd .ui-btn{
        border-radius: 6px;
        
    }
    
    #pg-home-footer {
        background: #fff;
        border: 0;
        height: 60px;
        line-height: 40px;
        padding: 10px 20px;
        color: #999;
        font-size: 12px;
    }
    .footer-left, .footer-right {
        display: block;
        height: 40px;
        width: 50%;
        font-weight: normal;
    }
    .footer-left {
        float: left;
        text-align: left;
    }
    .footer-right {
        float: right;
        text-align: right;
    }
    html .ui-footer.ui-bar-a a {
        color: #777;
        font-weight: normal;
    }
    html .ui-footer.ui-bar-a a:hover {
        text-decoration: none;
        color: #a41e22;
    }
    .footer-right-menu li {
        display: inline;
    }
    .footer-right-menu li a {
        text-decoration: none;
        padding: 0 10px;
    }
}

h1.no-margin-title.ui-title{
    margin: 0;
    min-height: 40px;
}

#pg-studentlist .ui-content {
    padding: 5px;
}

a.ui-table-columntoggle-btn {
    display: none !important;
}

.timer-component {
    line-height: normal;
    padding: 20px;
    text-shadow: none;
}

.timer-component-0 {
    background: #000;
    color: #fff;
}

/* Typing Drills */
.timer-component-1 {
    background: #8539bf;
    color: #fff;
}

/* Typing Games */
.timer-component-2 { 
    background: #e62e5f;
    color: #fff;
}

/* Coding */
.timer-component-3 {
    background-color: #189ef2;
    color: #eee;
}

/* Free Time */
.timer-component-4 { 
    background: #29cc52;
    color: #fff;
}


.student-list thead th,
.student-list tbody tr:last-child {
    border-bottom: 1px solid #d6d6d6; /* non-RGBA fallback */
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.student-list tbody th,
.student-list tbody td {
    border-bottom: 1px solid #e6e6e6; /* non-RGBA fallback  */
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.student-list tbody tr:last-child th,
.student-list tbody tr:last-child td {
    border-bottom: 0;
}
.student-list tbody tr:nth-child(odd) td,
.student-list tbody tr:nth-child(odd) th, 
#pg-studentlist-all-ul li:nth-child(odd)

{
    background-color: #eeeeee; /* non-RGBA fallback  */
    background-color: rgba(0,0,0,.04);
}

#pg-studentlist-all-ul li
{
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5px 7px;
}
#pg-studentlist-all-ul .tdb-student-link{
    /* border: 0; */
    margin: 0.446em;
    padding: 8px 12px;
    line-height: normal;
    min-height: 35px;
}

a.tdb-student-link {
    text-align: left;
}

#tdbPopupStudName {
    color: #32475C;
}

.timer-container {
    margin-bottom: 30px;
}

#tdb-timer .ui-content {
    padding-bottom: 50px;
}

/* Page Overlay */
#pg-overlay {
    background: #a41e22;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    margin: 0;
    border: 0;
    top: 0;
    overflow: hidden;
    z-index: 99999999;
    /* display: none !important; */
}

#pg-overlay-logo {
    margin-top: 15%;
    background: #fff;
    /*
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    */
}

#pg-overlay-content {
    text-align: center;
}

#pg-overlay-loggingin{
    margin-top: 20px;
    overflow: hidden;
    display: inline-block;
}

#pg-overlay-loggingin img {
    height: 24px;
    width: 24px;
    display: inline-block;
    float: left;
}

#pg-overlay-loggingin span {
    line-height: 24px;
    margin-left: 20px;
    color: #fff;
    text-shadow: none;
    display: inline-block;
    float: left;
}

#pg-overlay-logo img{
    width: 70%;
    max-width: 500px;
    display: inline;
    padding: 5% 0;
}
#pg-overlay-logo.pologging img{
    -webkit-transition: width 1s ease-out;
    -moz-transition: width 1s ease-out;
    -o-transition: width 1s ease-out;
    transition: width 1s ease-out;
    width:40%;
}
#pg-overlay-loading{
    position: fixed;
    text-align: center;
    width: 100%;
    bottom: 60px;
}


/* Page Notes */
#pg-notes{
    height: 100%;
    width: 100%;
    background: url(images/pgnotes-bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#pg-notes .ui-content {
    background: none;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}
#pg-notes-cont {
    margin-top: 10px;
    overflow-y: scroll;
    width: calc(100% + 20px);
    height: calc(100% - 170px);
    display: block;
    position: absolute;
    top: 0;
    right: -10px;
    left: 10px;
    bottom: 10px;
    padding-right: 40px;
}
h1#pg-notes-title {
    line-height: 14px;
    margin: 0;
    padding: 5px;
}
h1#pg-notes-title b {
    font-size: 12px;
    line-height: 16px;
}
.notes-box {
    border-radius: 10px;
    border: 1px solid #B7B780;
    padding: 5px;
    margin-top: 10px;
    position: relative;
    padding-bottom: 21px;
    white-space: pre-wrap;
    background: #FFFFD6;
}
.notes-child {
    font-size: 12px;
    color: #363636;
    font-weight: bold;
}
.notes-author {
    font-size: 12px;
    font-weight: bold;
    text-align: right;
    color: #B92929;
}
.notes-comment {
    font-size: 14px;
    text-align: justify;
    margin-left: 10px;
}
.notes-date {
    color: #a9a9a9;
    font-style: italic;
    font-size: 11px;
    position: absolute;
    float: right;
    right: 5px;
    bottom: 3px;
}

#add-note-form {
    position : fixed;
    left: 0;
    padding: 0 10px;
    bottom: 0;
    background: #B92929;
    width: 100%;
    color: #fff;
    text-shadow: none;
}
#ta-add-note{
    height: 70px !important;
}
/* End Page Notes */


/* LDB Students */
#ldb-students {
    height: 100%;
    /* overflow: hidden; */
}

#ldb-students-nav{
    display: block;
}
#ldb-students-available h3,
#ldb-students-checkedin h3
{
    width: 100%;
    display: block;
    clear: both;
    margin: 0;
    padding: 10px;
    color: #fff;
    text-shadow: none;
    font-size: 18px;
}
#ldb-students-available h3{
    background-color: #70B768;
}
#ldb-students-checkedin h3{
    background-color: #CE3737; 
}
#ldb-students-available {
    margin: 0;
    background: #acf9ac;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ldb-div-box {
    float: left;
    width: 100%;
}

#ldb-sa-cont {
    display: block;
}
#ldb-sc-cont {
    display: none;
}

#ldb-ul-student-available, #ldb-student-search-cont {
    margin: 10px;
    background: none;
    box-shadow: none;
    overflow-y: auto;
}
#ldb-ul-student-available .ldb-student-link,
#ldb-ul-student-search .ldb-student-link
{
    background: #eee;
    border: 0;
    color: #222;
    text-shadow: none;
    font-size: 16px;
}

#ldb-student-search-cont {
    background: rgba(255,255,255,0.4);
    margin: 10px;
    padding: 5px 10px;
    border-radius: 5px;
}

#ldb-ul-student-available li, #ldb-ul-student-search li {
    margin-bottom: 5px;
    border-radius: 1em !important;
}

#ldb-students-checkedin {
    margin: 0;
    background: #FCDBDB;
    border-radius: 5px;
    overflow: hidden !important;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#ldb-students-table-checkedin{
    margin: 15px 5px;
    font-size: 18px;
    display: block;
    /* padding-top: 30px; */
    overflow-y: auto;
    position:relative;
    width: 100%;
    width: calc(100% - 10px);
    width: -moz-calc(100% - 10px);
    width: -o-calc(100% - 10px);
    width: -webkit-calc(100% - 10px);
}
#ldb-students-table-checkedin thead {
    position: absolute;
    top: 0px;
    width: 100%;
    width: calc(100% - 20px);
    width: -moz-calc(100% - 20px);
    width: -o-calc(100% - 20px);
    width: -webkit-calc(100% - 20px);
}
#ldb-students-table-checkedin thead tr {
    display: block;
}
#ldb-students-table-checkedin thead th {
    display: inline-block;
    width: 33%;
}
#ldb-students-table-checkedin tbody {
    /* overflow-y: scroll; */
    top: 30px;
    width: 100%;
    width: calc(100% - 20px);
    width: -moz-calc(100% - 20px);
    width: -o-calc(100% - 20px);
    width: -webkit-calc(100% - 20px);
    position: absolute;
}
#ldb-students-table-checkedin tbody tr{
    width: 100% !important;
    display: inline-block;
    overflow: hidden;
}
#ldb-students-table-checkedin tbody td {
    vertical-align: middle;
    width: 33%;
    display: inline-block;
}
#ldb-students-table-checkedin tbody th {
    width: 33% !important;
    display: inline-block;
    float: left;
}
#ldb-students-table-checkedin th {
    padding: 0 0.3em;
}

#ldb-students-table-checkedin .ldb-student-link{
    background: #CE3737;
    border: 0;
    font-size: 16px;
    margin: 0.2em 0;
}

.ldb-students-icon {
    position: absolute;
    top: 0;
    right: 0;
}
#ldb-student-search {
    right: 0;
    position: absolute;
    top: 0;
    border: 0;
    box-shadow: 0 !important;
    background-clip: none !important;
}
#popupConfirmLDB-title{
    width: 100%;
    display: inline-block;
    height: 40px;
    clear: both;
}
.popup-student-welcome,
.popup-student-exit{
    border: 5px solid #ccc;
}
.popup-sw-cont, .popup-se-cont {
    font-size: 50px;
    text-align: left;
    padding: 20px 0;
    background: #88DDEA;
}
.popup-sw-cont {
    background: #91EA88;
}

.popup-sw-cont p, .popup-se-cont p{
    margin: 20px 50px;
    line-height: 70px;
}
.popup-sw-cont span, .popup-se-cont span{
    clear: both;
    background: #fff;
    width: 100%;
    padding: 10px;
    display: block;
    text-align: center;
    font-size: 80px;
    text-transform: uppercase;
}


.popup-confirm-signinout {
    text-align: center;
    overflow: hidden;
}
.popup-confirm-signinout h3{
    padding: 0 20px;
    font-size: 16px;
}
.popup-confirm-signinout .ui-btn {
    width: 42%;
    float: left;
    display: block;
    margin: 1% 1% 20px 1%;
    height: 150px;
    font-size: 36px;
    overflow: visible;
    padding-left: 20px;
    padding-top: 48px;    
}
#ldb-confirmsignin-btn.ui-btn,
#ldb-confirmsignout-btn.ui-btn,
#pgsp-confirmSignIn-btn.ui-btn,
#pgsp-confirmSignOut-btn.ui-btn,
#pgstudent-popup-eventlocation-btn
{    
    margin: 1% 5% 20px 5%;
}

.ldb-pc-sname {
    font-weight: bold;
    color: #2c3e50;
}

.hidechkbox {
    display: none;
}

#trGenPopup-content {
    overflow: hidden;
}

#trGenPopup-content .fleft-half.ui-btn{
    width: 42%;
    float: left;
    display: block;
    margin: 1% 1% 20px 1%;
    height: 150px;
    padding-top: 50px;
    font-size: 30px;
}

#trGenPopup-content h3 {
    font-size: 16px;
}
/* End Students */

/* Start tdb students main */
#pg-studentlist {
    height: 100%;
}
#pg-student .ui-content {
    padding: 0;
}
#tdbsm-tabs {
    padding: 1em;
}
#tdbsm-student-box {
    border-bottom: 5px solid #B92929;
    display: block;
    overflow: hidden;
    background: #222;
}
#tdbsm-student-pic {
    float: left;
    width: 130px;
    background: #fff;
}
#tdbsm-student-pic img {
    height: 120px;
    width: 120px;
    padding: 5px;
}
#tdbsm-student-details {
    color: #fff;
    text-shadow: none;
    padding: 10px;
    float: left;
    display: inline;
    width: calc(100% - 130px);
    font-size: 12px;
}

.pgs-signinout-btn.li-visible {
    display: block !important;
}


/* End tdb students main */

/* Page Leaderboard Add */
#pg-leaderboard-add-content {
    padding: 0;
}
/* End Page Leaderboard Add */

/* Page Filter */
#pg-filter-content {
    padding: 0;
}
.filter-container {
    background: #eee;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
}
.filter-container h3 {
    margin: 0;
    color: #32475C;
    font-size: 20px;
    padding-bottom: 15px;
    margin: 10px 0;
    border-bottom: 2px solid #ccc;
}


div.lb-tab-content .ui-collapsible-set .ui-collapsible {
    margin-top: 5px !important;
}

.lb-item-value1 {
    float: right;
    right: 10px;
    clear: left;
    position: absolute;
    font-weight: bold;
    color: #fff;
    text-shadow: none;
    border-radius: 10px;
    background: #388E2F;
    height: 20px;
/*    width: 20px; */
    text-align: center;
    padding-right: 7px;
    padding-left: 5px;
}

.lb-item-footnote {
float: right;
    right: 0px;
    top: 1px;
    /* clear: left; */
    position: absolute;
    /* font-weight: bold; */
    color: #fff;
    /* text-shadow: none; */
    border-radius: 20px;
    background: red;
    /* height: 20px; */
    /* width: 20px; */
    text-align: center;
    padding-right: 6px;
    padding-left: 5px;
    }

div.lb-tab-content .ui-collapsible-set .ui-li-static {
    font-weight: bold;
    color: #2B3C4E;
    text-transform: capitalize;
}

table.student-list th, table.student-list td,
table#ldb-students-table-checkedin th,
table#ldb-students-table-checkedin td
{
    text-align: center;
    vertical-align: middle;
}

/* pg-sms */
#send-sms-text {
   height: 250px !important;
}

#pgstudent-popup-eventlocation-content .ui-select .ui-btn{
    width: calc(100% - 10px);
    padding-right: 10px;
    clear: both;
}
#pgstudent-popup-eventlocation-select-button span {
    font-size: 12px;
}


.sendSmsCheckbox{
    margin: 0px 0px 0px 90px;
}

.tr-collapsible-img{
    height: 50px;
}

.ldb-students-signin-qty{
    position: absolute;
    margin-top: -29px;
    text-align: right;
    width: 100%;
    padding-right: 55px;
}    
    
.tr-button-ul-li{
    height:40px;

}

/** For Searchable Lists **/
.ui-selectmenu.ui-popup .ui-input-search {
    margin-left: .5em;
    margin-right: .5em;
}
.ui-selectmenu.ui-dialog .ui-content {
    padding-top: 0;
}
.ui-selectmenu.ui-dialog .ui-selectmenu-list {
    margin-top: 0;
}
.ui-selectmenu.ui-popup .ui-selectmenu-list li.ui-first-child .ui-btn {
    border-top-width: 1px;
    -webkit-border-radius: 0;
    border-radius: 0;
}
.ui-selectmenu.ui-dialog .ui-header {
    border-bottom-width: 1px;
}


/* pw image display */
.pw-image-horizontal-basic {
    
}

.pw-image-horizontal-basic h3 {
    font-size: 16px;
}

.pw-image-container {
    /* background: #000; */
    width: 100%;
    display: block;
    height: 220px;
    overflow-y: hidden;
}

.pw-image-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling:touch;
    padding-bottom: 10px;
}

.pw-image-ul li {
    display: inline-block;
    margin-right: 8px;
    background: #ccc;
}

.pw-image-ul img {
    max-height: 180px;
    width: auto;
    /* width: 100%; */
}

.pw-image-link {
    text-decoration: none;
}

.pw-image-link:hover {
    text-decoration: none;
}

.pw-image-caption {
    display: block;
    text-align: center;
    font-size: 14px;
    margin: 5px 0 20px 0;
    font-weight: normal;
    color: #222;
}


.cs-thumb-titleleft > .ui-collapsible-heading a{
    text-align: left !important;
    padding-left: 10px;
}

.li-link-thumb-mini {
    margin: 0;
    padding: 0 30px 0 55px !important;
}

.li-link-thumb-mini > img {
    width: 45px;
    height: 45px;
    margin: 5px;
}
.ui-group-theme-a li a.li-link-thumb-mini {
    color: #555;
}
.li-link-thumb-mini h4 {
    color: #222;
    margin: 10px 0 0 0 !important;
    /* font-size: 1em !important; */
    letter-spacing: 0px !important;
}
.li-link-thumb-mini p {
    margin: 3px 0 !important;
}

.braintree-heading {
    color: #fff;
}

.braintree-sheet__label {
    color: #222;
    text-shadow: none;
}
.braintree-option__label, .braintree-option__label:hover  {
    text-shadow: none !important;
}

.braintree-sheet__content--form .braintree-form__field-group .braintree-form__label,
.braintree-sheet__content--form .braintree-form__field-group .braintree-form__field-error,
.braintree-sheet__header .braintree-sheet__text
{
    text-shadow: none !important;
}

.braintree-large-button span{
    text-decoration: none !important;
    text-decoration-style: none;
    text-shadow: none;
    border-bottom: none;
}

.tr-ta-left, td.tr-ta-left{ text-align:left }
.tr-ta-center, td.tr-ta-center, th.tr-ta-center{ text-align:center }
.tr-ta-right, td.tr-ta-right{ text-align:right }


.tr-party-available{
    background: #9f9 !important;
}

.tr-party-booked{
    background: #f99 !important;
}

#pg-party-addlplayers-pay .ui-content {
    background: #555;
}
.cont-min-padding {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
p.txt-legend {
    clear: both;
    font-size: 12px;
    font-style: italic;
    margin-top: 30px;
    width: 100%;
    display: block;
    height: 20px;
    padding: 0 !important;
}
.tr-box-dark .txt-legend {
    color: #aaa;
}
.tr-box-dark {
    border-radius: 4px;
    background: #333;
    overflow: hidden;
    margin-bottom: 1em;
    color: #ddd;
}
.tr-box-dark .tr-box-title {
    width: 100%;
    background: #222;
    padding: 10px;
    font-weight: bold;
    color: #ddd;
}
.tr-box-dark .tr-box-content {
    padding: 10px;
    background: #333;
    overflow: hidden;
    width: 100%;
}
.tr-cols {
    float: left;
    /* margin-right: 1em; */
    overflow: hidden;
}
.tr-col-20 {
    width: calc(20% - 0px);
}
.tr-col-30 {
    width: calc(30% - 0px);
}
.tr-col-50 {
    width: calc(50% - 0px);
}
.tr-col-60 {
    width: calc(60% - 0px);
}
.tr-col-70 {
    width: calc(70% - 0px);
}
.tr-col-80 {
    width: calc(80% - 0px);
}

.img-tr-party-logo {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    right: 0;
    
}
.img-tr-party-game {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.tr-button-blue {
    color: #fff !important;
    background: #22aadd !important;
}

.tr-button-red {
    color: #fff !important;
    background: #db2c2c !important;
}

.tr-button-yellow {
    color: #fff !important;
    background: #f8c315 !important;
}


.tr-button-pay {
    color: #fff !important;
    text-shadow: none !important;
    background: #3c763d !important;
}

.jssorl-009-spin img{animation-name:jssorl-009-spin;animation-duration:1.6s;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes jssorl-009-spin{from{transform:rotate(0);}to{transform:rotate(360deg);}}.jssorb052 .i{position:absolute;cursor:pointer}.jssorb052 .i .b{fill:#000;fill-opacity:.3}.jssorb052 .i:hover .b{fill-opacity:.7}.jssorb052 .iav .b{fill-opacity:1}.jssorb052 .i.idn{opacity:.3}.jssora053{display:block;position:absolute;cursor:pointer}.jssora053 .a{fill:none;stroke:#fff;stroke-width:640;stroke-miterlimit:10}.jssora053:hover{opacity:.8}.jssora053.jssora053dn{opacity:.5}.jssora053.jssora053ds{opacity:.3;pointer-events:none}

.portfolio-single-img img {
    width: 100%;
    max-width: 300px;
}

/* Landing page */
#pg-landing-parties {
    padding-bottom: 0 !important;
}

#pg-lp-parties-cont {
    padding-bottom: 70px !important;
}
#lp_headline_img {
    text-align: center;
    margin: 1em 0;
}
#lp_headline_img img {
    width: 100%;
    max-height: 300px;
    padding-top: 0.5em;
    border-top: 3px solid #f9c31d;
}

#lp_headline_text {
    font-family: 'chbold',arial,verdana;
    border: 5px solid #f9c31d;
    font-size: 28px;
    text-align:center;
    margin: 0.5em 0;
    text-transform: uppercase;
}

#lp_short_desc {
    font-family: 'chbook',arial,verdana;
    font-size: 18px;
    font-weight: bold;
    text-align:center;
    color: #ddd;
}

#lp_long_desc {
    font-family: 'chbook',arial,verdana;
    font-size: 16px;
}

#lp_location {
    border-top: 1px solid #222;   
}

#lp_location img{
    max-width: 60%;
    min-width: 350px;
    padding: 0 0px 30px 0;
    border-bottom: 1px solid #222;
}

#lp_book_submit {
    font-size: 16px;
    color: #fff;
    background: #005406;
}

#footer-lp-parties {
    background: rgba(249,195,29,0.8);
    border-top: none;
}

.party-addl-players-pay-tip-button{
    color: #fff !important;
    text-shadow: none !important;
    background: #31708f !important;
}

a.pg-enroll-activity-search-activities-listview-item{
    padding-left: 4.2em !important;
}

a.tr-lia-thumb {
    margin: 0!important;
    min-height: 70px !important;
}
a.tr-lia-thumb .ui-li-count {
    /* margin-top: 10px; */
    /* margin-right: -3px; */
}

a.lia-thumb-40 {
    padding: 0 55px 0 50px !important;
}

a.lia-thumb-40 img {
    height: 40px;
    width: 40px;
    margin: 10px 5px;   
}

a.lia-thumb-40 h2 {
    font-size: 14px;
}
a.lia-thumb-40 p {
    font-size: 11px;
}

a.lia-thumb-50 {
    padding: 0 0 0 60px !important;
    margin: 0 35px 0 0 !important;
}
a.lia-thumb-50 img {
    height: 50px;
    width: 50px;
    margin: 10px 5px;
}

a.lia-thumb-50 h2 {
    font-size: 14px !important;
}
a.lia-thumb-40 p {
    font-size: 11px;
}
.logo-img-title {
    margin: 0 !important;
    padding: 5px 0 !important;
}
.logo-img-title img {
    height: 40px;
}

#trGenDialog {
}

#trGenDialog-popup {
    position: absolute;
    top: 40px !important;
}
#trGenDialog-content {
    padding: 2em 1em !important;
    overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
    /* margin-bottom: 1em; */
    min-width: 100px !important; /* popup text is going past the width; needed this to ensure it wraps properly */
}
#trGenDialog-content .ui-btn-inline {
    margin: 0 10px;
}
#trGenDialog-title {
    margin: 0;
}
#trGenDialog-close-btn {
    position: absolute;
    float: right;
    right: -5%;
}
#trGenDialog-screen {
    position: fixed;
    /* height: 100% !important; */
    overflow-y: hidden !important;
}
div.noscroll {
    overflow: hidden !important;
    height: 100px !important;
}

#pg-enroll{
    background: url(images/bg/bg_camps.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.pg-enroll-div {
    /* padding-top:2.8125em !important; */
}

#pg-enroll-cont {
    background: none !important;
}

.pg-enroll-activity-search-activities-listview-item-price{
    margin-right: 44px;
    margin-top: -16px;
    background: #44aa44 !important;
    padding: 0.5em;
}

.pg-enroll-activity-search-activities-listview-item-price-text{
    font-size: large;
    font-weight: normal !important;
    color: white !important;
}

.tr-button-body{
    font-weight: normal !important;
    font-size: 1.5em !important;
}
.tr-button-green{
    color: #fff !important;
    background: #3c763d !important;
}

.tr-button-facebook{
    color: #fff !important;
    background: #3b5998 !important;
}

.tr-button-instagram{
    color: #fff !important;
    background: #C13584 !important;
}

.tr-button-twitter{
    color: #fff !important;
    background: #1DA1F2 !important;
}

.tr-button-footer{
    width: 93% !important;
    font-size: 1.5em !important;
    font-weight: normal;

}

.activity-soldout{
    background-color: #999 !important;
}

.pg-enroll-activity-search-activities-listview-listdivider{
    color: #fff !important;
    background: #f8c315 !important;
}

.pg-enroll-activity-search-activities-listivew-item-actionMessage{
    color: red;
    right: 46px;
    top: 38px;
    position: absolute;
}

.cs-bgalpha-cont .ui-collapsible-content {
    background: rgba(255,255,255,0.75) !important;
    border-color: #ccc !important;
}

.ui-collapsible-heading .ui-btn{
    background-color: #a31e22 !important;
    color: #fff !important
}

#ul_codepages-others li a, #ul_codepages-others li {
    text-align: left !important;
}
#ul_codepages-others li.ul-li-divider {
    padding: 10px 0 5px 10px;
}

a.campgames-link {
    padding: 10px 2em 5px 10px;
    min-height: 60px;
    font-size: 18px;
    text-align:left !important;
}

a.campgames-link span.campgames-name {
    float: left;
    font-size: 12px;
    font-weight: normal;
    color: #fefdb9;
    font-style: italic;
}
a.campgames-link span.campgames-date {
    float: right;
    font-size: 11px;
    font-weight: normal;
    color: #bbb;
}

#campgames-tabs-nav {
    margin-top: 0;
    height: 48px;
}
#campgames-tabs-nav li {
    width: 33%;
}
#campgames-tabs-nav li a {
    width: 100%;
    white-space: normal;
    line-height: 40px;
    padding: 0;
    height: 48px;
}
#campgames-tabs-nav li a.active {
    /* border-bottom: 8px solid #b92929; */
    background: #faf4e1;
}
.header-withnav {
    /* border-bottom: 1px solid #b92929 !important; */
    height: 91px;
    overflow-y: hidden;
}
.carousel-item {
    padding: 0 0.5em !important;
    -moz-user-select:none;
    -webkit-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.desktop-content {
    overflow: hidden;
    display: block;
    border: none !important;
}

.tr-leftnav {
    display: inline-block;
    float:left;
    width:30%;
    min-height: 200px;
    position: relative;
}
.tr-rightcontent {
    display: inline-block;
    float:left;
    width:70%;
    padding: 0;
    min-height: 200px;
    position: relative;
    margin-top: 15px;
}

.tr-tabcontent {
    padding: 1em;
}

.desktop-content {
    display: none;
}




#trforms-content div.ui-radio input {
    display: none;
}
#trforms-content legend {
    margin-bottom: -5px;
    border-bottom: 0;
    margin-top: 1em;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.trlevels-optgroup .ui-radio label {
    border-color:#ccc;
    margin-right: 2px;
    opacity: 0.4;
}
.trlevels-optgroup .ui-radio label.ui-btn-active {
    opacity: 1;
}
.trlevels-optgroup .ui-radio:nth-child(1) label{
    background: #831a0c;
}
.trlevels-optgroup .ui-radio:nth-child(2) label{
    background: #835d0c;
}
.trlevels-optgroup .ui-radio:nth-child(3) label{
    background: #837f0c;
}
.trlevels-optgroup .ui-radio:nth-child(4) label{
    background: #41830c;
}
.trlevels-optgroup .ui-radio:nth-child(5) label{
    background: #0f830c;
}
.trlevels-optgroup .ui-radio:nth-child(6) label{
    background: #0c834c;
}

@media (min-width: 480px) {
    .desktop-content {
        display: none !important;
    }
    .mobile-content {
        display: block;
    }
}

@media (min-width: 1024px){
    .desktop-content {
        display: block !important;
    }
    .mobile-content {
        display: none;
    }
    #trforms-content legend {
        margin-top: -10px;
        border-bottom: 0 !important;
        /* border-top: 0 !important; */
        padding-top: 0 !important;
        margin-bottom: 1em;
    }
}

.class-roster-list thead th,
.class-roster-list tbody tr:last-child {
    border-bottom: 1px solid #d6d6d6; /* non-RGBA fallback */
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.class-roster-list tbody th,
.class-roster-list tbody td {
    border-bottom: 1px solid #e6e6e6; /* non-RGBA fallback  */
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.class-roster-list tbody tr:last-child th,
.class-roster-list tr:last-child td {
    border-bottom: 0;
}
.ft_container table tr:nth-child(odd) td,
.class-roster-list tbody tr:nth-child(odd) td,
.class-roster-list tbody tr:nth-child(odd) th {
    background-color: #eeeeee; /* non-RGBA fallback  */
    background-color: rgba(0,0,0,.04);
}

tr.row-indicator-red {
    color: rgba(208, 71, 29, 0.7);
    /* text-decoration: line-through; */
}
tr.row-indicator-yellow {
    color: #979c15;
    font-style: italic;
}
.class-roster-list-action {
    margin: 0.3em 20px;   
}

.dwrapper #table-class-roster { width: 420px; }
.dwrapper { padding: 1px; overflow: hidden; vertical-align: top; }
.dwrapper div.tblWrapper { height: 100%; overflow: auto; margin-top: 10px;}      

#action-classroster-ul {
    margin-top: 10px;
}
#action-classroster-ul .ui-collapsible-heading .ui-btn {
    background: #eee !important;
    color: #222 !important;

}

.login-btn-test{
    display:block;
}

#action-classroster-parent li {
    height: 50px;
    padding: 10px 0.5em 20px 0;
}
#action-classroster-parent li a {
    border-radius: 4px;
    padding: 0 15px;
    position: absolute;
    float: left;
    top: 10px;
}
#action-classroster-parent li .action-classroster-parent-mail {
    margin-right: 20px;
    right: 40px;
}
#action-classroster-parent li .action-classroster-parent-phone {
    right: 20px;
}

#uploadproj-student {
    opacity: 0.7;
}

.dashboard-li-img{
    background: white; /* Needs to be white because many pngs of icons are transparent and will not show properly */
    width: 55px;
}

.dashboard-ul-thumb .ui-li-has-thumb .ui-btn{
    padding-left: 70px;
}

.pg-enroll-div .ui-header {
    height: 59px;
}

.header-logo{
    height: 4em;
    background: white;
    padding: 5px;
}

.content-header-h1{
    top: 0;
    margin: 10px 0;
    text-align: center;
    clear: both;
}

.content-header{
    margin-bottom: 2em;
}

.content-header-title{
    clear: both;
    display: block;
}

.content-header-notes{
    margin-top: 2em;
    background: gold;
    padding: 0.5em;
}

.listview-with-icons{
    /* Makes Listview full width */
    margin-left:-1em !important;
}

.li-icon{
    max-width:2em;
}


#parent-children-list-main li div ul li a.ui-btn {
    padding-left: 70px;
}

#parent-children-list-main, #pg-locations-locations {
    margin-top: 0;
}

.messageAlert{
    width: 100%;
    text-align: center;
    background: lightgreen;
    padding: 1em;
    border-radius: 1em;
}