body {
    top: 0 !important;
    min-height: 100vh !important;
    margin: 0;
    padding: 0;
}

body > .skiptranslate {
    display: none;
}

#google_translate_element {
    display: none !important;
}

#WrapperContainer {
    overflow: auto;
    flex-grow: 1;
}

#Wrapper {
    position: relative;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    padding-top: 10px;
    border: none;
}

.angular-loader {
    position: absolute;
    top: 0;
    left: 50%;
    margin-top: 0;
    -webkit-transform: translate(-50%, 25vh);
    transform: translate(-50%, calc(25vh));
    z-index: 0;
}
.angular-loader.loaded {
    display: none;
}

.old-content {
    display: none;
}
.old-content-filler {
    background: #efefef;
}

#divAddToCart {
    position: relative;
}

#divAddToCart.disabled:after {
    content: ' ';
    background: rgba(255, 255, 255, 0.61);
    width: calc(100% + 10px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.item-is-in-cart {
    color: #008600;
}

.board-banner {
    background-color: #0e283c;
    margin-bottom: 10px;
}

.board-banner-container {
    display: flex;
    max-width: 970px;
    margin: auto;
    align-items: center;
}

.board-banner-message {
    display: flex;
    padding: 8px;
    color: white;
    font-size: large;
    text-align: center;
    align-items: center;
    flex-grow: 1;
}

.board-banner-button {
    min-width: 156px;
    padding: 10px;
    margin: 10px;
    font-size: x-large;
    background: goldenrod;
    display: block;
    text-align: center;
    box-sizing: border-box;
}

@media screen and (max-width: 599px) {
    .board-banner-message {
        font-size: 12px;
    }
    
    .board-banner-button {
        font-size: 14px;
        min-width: 100px;
    }
}

.ui-widget-content {
    z-index: 10000;
}

.server-number {
    color: transparent;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10000;
}

.bridge-error-message {
    text-align: center;
    font-size: 28px;
    margin: 10rem 60px 0;
}

.ui-widget-overlay.ui-front {
    z-index: 9999;
}

@media screen and (min-width: 780px) {
    .learnbutton {
        color: white!important;
        vertical-align: middle;
        font-size: 14px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.07;
        letter-spacing: normal;
        text-align: center;
        width: 125px;
        padding: 8.8px 16px 10.2px;
        border-radius: 4px !important;
        background-color: #f0b323;
        border-color: #f0b323;
        text-decoration: none;
    }

    .lboimgDesktop {
        width: 173px;
    }

    .lboLogoDesktop {
        display: inline-block;
        padding-bottom: 24px;
        padding-top: 24px;
        padding-left: 40px;
        padding-right: 40px;
        float: left;
    }

    .lboTextDesktop {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: auto;
        font-weight: 600;
    }

    .lboButtonDesktop {
        display: flex;
        flex-wrap: wrap-reverse;
        float: right;
        height: 100%;
    }

    .lboLearnButtonDesktop {
        margin-bottom: 26px;
        margin-top: 28px;
        margin-left: 21px;
        margin-right: 40px;
        position: relative;
        display: block;
    }

    .lboContainerDesktop {
        float: left;
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
        color: #ffffff;
        background-color: #447fc1;;
        height: 90px;
        display: flex;
    }

    .lboContainerMobile {
        display: none;
    }

}

@media screen and (max-width: 779px) {
    .learnbutton {
        color: white !important;
        vertical-align: middle;
        font-size: 14px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.07;
        letter-spacing: normal;
        text-align: center;
        width: 125px;
        padding: 8.8px 16px 10.2px;
        border-radius: 4px !important;
        background-color: #f0b323;
        border-color: #f0b323;
        text-decoration: none;
    }

    .lboimgMobile {
        width: 119.5px;
    }

    .lboLogoMobile {
        display: inline-block;
        padding-bottom: 15px;
        padding-left: 15px;
        float: left;
    }

    .lboTextMobile {
        display: inline-block;
        margin-bottom: 0;
        padding-bottom: 10px;
        padding-top: 15px;
        padding-left: 18px;
    }

    .lboButtonMobile {
        display: inline-block;
        float: right;
        height: 100%;
    }

    .lboLearnButtonMobile {
        margin-bottom: 15px;
        margin-top: 0px;
        margin-left: 21px;
        margin-right: 15px;
        position: relative;
        display: block;
    }

    .lboContainerMobile {
        float: left;
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
        color: #ffffff;
        background-color:  #447fc1;
        height: 120px;
        display: block;
    }

    .lboContainerDesktop {
        display: none;
    }
}

@media screen and (max-width: 599px) {
    .bridge-error-message {
        font-size: 60px;
    }
}

@media screen and (max-width: 970px) {
    #Wrapper.lipstick {
        width: auto;
        -webkit-transform: none !important;
        transform: none !important;
    }
}
input[type=button]:disabled{
    -webkit-appearance: none;
    opacity:1;
}

@media screen and (max-width: 599px) {
    /****************
     * Home Page 
     ***************/
    #Page .headline {
        margin: 16px;
        font-size: 20px;
        text-align: center;
    }

    input.button {font-size: 1.0em;}

    .clear { overflow: visible; }

    #Page .feature {
        height: auto;
        padding: 15px 0;
        margin-bottom: 16px;
        background-size: cover;
    }

    #Page .feature .teaser {
        width: auto;
        margin: 16px;
    }

    #Page .contentf { padding: 16px; }

    #Page .feature .shoes {
        width: 100px !important;
        right: 6px;
        margin: 0;
        top: 154px;
    }
    #WrapperContainer {
        overflow: unset;
    }
    #Page .feature .shoes img { width: 100px; }

    #Page .feature .teaser > div.clear {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 16px;
    }

    #Page .feature .register, #Page .feature .signin {
        float: none;
        width: 200px;
        margin-right: 0;
        margin-bottom: 12px;
        margin-top: 4px;
    }

    .homeContent h4 { text-align: center; }

    .homeContent table, .homeContent tbody, .homeContent tr {
        display: flex;
        flex-direction: column;
    }

    .homeContent table div { margin: 0 !important; }

    .homeContent table div.box { margin: 0 auto !important; }

    .homeContent td {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .homeContent td div div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #Page .homeContent .blurb {
        float: none;
        width: 300px;
        margin: 16px !important;
    }

    img.home-image-pci {
        -webkit-transform: translate(0px, -24px);
        transform: translate(0px, -24px);
    }

    /****************
     * Sign In  
     ***************/
    #Wrapper.lipstick .text-input {
        width: 100%;
        box-sizing: border-box;
        padding: 4px;
    }

    .mobile-hidden { display: none; }

    /****************
     * Items Page
     ***************/
    .responsive-tabs .ui-tabs ul.ui-tabs-nav {
        padding: 0 !important;
        border: none !important;
    }

    .responsive-tabs .ui-tabs li {
        float: none !important;
        display: flex !important;
        margin-bottom: 8px !important;
        border: 1px solid #d3d3d3 !important;
        border-radius: 4px !important;
        margin-right: 0 !important;
    }

    .responsive-tabs .ui-tabs li.ui-state-active { border-color: #2E506B !important; }

    .responsive-tabs .ui-tabs li.sticky {
        min-height: 39px;
        box-sizing: border-box;
        z-index: 99999;
        background: white !important;
        border: none !important;
    }

    .responsive-tabs .ui-tabs li.sticky a {
        position: fixed;
        top: 0;
        left: 20px;
        z-index: 99999 !important;
        background: #2E506B;
        color: white !important;
        height: 39px;
        box-sizing: border-box;
        float: none !important;
        padding-left: 9px !important;
        line-height: 22px;
        width: calc(100% - 40px);
        border-radius: 4px;
    }

    .responsive-tabs .ui-tabs li.ui-state-active a:before {
        content: '';
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        width: 100%;
        height: 39px;
        background: #2e506b;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 4px;
        -webkit-transition: transform 0.3s ease;
        transition: transform 0.3s ease;
        margin-top: -1px;
    }

    .responsive-tabs .ui-tabs li.ui-state-active.sticky a:before {
        margin-top: 0;
        -webkit-transform: scale(1.25, 1);
        transform: scale(1.25, 1);
        /*-webkit-animation: scaleOutHeader 0.3s ease forwards;*/
        /*animation: scaleOutHeader 0.3s ease forwards;*/
    }

    @keyframes scaleOutHeader {
        0% {
            -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
        }

        100% {
            -webkit-transform: scale(1.25, 1);
            transform: scale(1.25, 1);
        }
    }

    .responsive-tabs .ui-tabs li a {
        float: none !important;
        padding: 8px !important;
        width: 100%;
    }

    .responsive-tabs .ui-tabs .ui-tabs-panel { margin-top: 8px !important; }

    .fee-add-student {
        float: none !important;
        margin-bottom: 16px;
        margin-right: 0 !important;
    }

    .fee-search-container div {
        float: none !important;
        margin-bottom: 12px;
        margin-left: 0 !important;
    }

    .fee-search-container input[type=text] {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Items table */
    table.responsive-table,
    table.responsive-table tbody,
    table.responsive-table tr,
    table.responsive-table th,
    table.responsive-table td {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        box-sizing: border-box;
    }

    table.responsive-table,
    table.responsive-table tbody,
    table.responsive-table tr,
    table.responsive-table td {
        background: transparent !important;
        width: 100%;
    }

    table.responsive-table td { padding: 4px 0; }

    table.responsive-table tr {
        padding: 8px 16px;
        background: #ffffff;
        box-shadow: 0 1px 2px 0 #b1b1b1;
        box-sizing: border-box;
        margin: 8px 0;
    }

    table.responsive-table tr:first-child { margin-top: 16px; }

    table.responsive-table colgroup,
    table.responsive-table thead { display: none; }

    table.responsive-table.tablesorter tr {
        height: 120px;
        position: relative;
    }

    table.responsive-table td.student-name,
    table.responsive-table td.fee-school-name,
    table.responsive-table td.fee-status,
    table.responsive-table td.fee-end-date { font-size: 12px; }

    table.responsive-table td.student-name {
        position: absolute;
        top: 75px;
        left: 16px;
    }

    table.responsive-table td.fee-school-name {
        -webkit-transform: translate(0px, 85px);
        transform: translate(0px, 85px);
    }

    table.responsive-table td.fee-name {
        max-width: 100%;
        -webkit-transform: translate(0px, -28px);
        transform: translate(0px, -28px);
        height: 60px;
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 9;
        top: 25px;
        left: 0;
        padding: inherit;
    }

    .paymentSchedule .amount { width: 50px; }

    table.responsive-table td.fee-name a {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-decoration: none !important;
        font-weight: bold;
        font-size: 16px;
    }

    table.responsive-table td.fee-name a:first-child {
        max-width: calc(100% - 32px);
        position: absolute;
        height: calc(100% - 32px);
        z-index: 10;
        left: 0;
        top: 0;
        padding: inherit;
    }

    table.responsive-table td.fee-name > a { width: 100%; }

    table.responsive-table td.fee-name small.description {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 25px;
        left: 16px;
        width: calc(100% - 100px);
        height: 100%;
    }

    /* View Image link */
    table.responsive-table td.fee-name small a:last-child {
        position: absolute;
        top: 25px;
        left: 99%;
        font-size: 12px;
        z-index: 11;
    }

    /* View Item link */
    table.responsive-table td.fee-name small:last-child { display: none; }

    table.responsive-table td.fee-name br { display: none; }

    /* permission form*/
    table.responsive-table td.fee-name img { display: none; }

    table.responsive-table td.fee-price {
        font-weight: bold;
        -webkit-transform: translate(0px, -35px);
        transform: translate(0px, -35px);
        flex-direction: row;
        min-height: 24px;
        justify-content: flex-end;
        margin-top: 25px;
    }

    /*table.responsive-table td.fee-price:before {*/
    /*    content: 'Price:';*/
    /*    margin-right: 4px;*/
    /*    font-weight: normal;*/
    /*}*/

    table.responsive-table td.fee-end-date {
        flex-direction: row;
        justify-content: flex-end;
        font-weight: bold;
        -webkit-transform: translate(0, 12px);
        transform: translate(0, 12px);
    }

    table.responsive-table td.fee-end-date:before {
        content: 'Expires';
        margin-right: 6px;
        font-weight: normal;
    }

    table.responsive-table td.fee-status {
        -webkit-transform: translate(0px, -28px);
        transform: translate(0px, -28px);
    }

    table.responsive-table td.fee-status b {
        justify-content: flex-end;
        display: flex;
        width: 100%;
    }

    #Pager .fee-count-dropdown {
        font-size: 13px;
    }

    #Pager .responsive-page-controls {
        float: none;
        margin-top: 8px;
        display: flex;
        width: 100%;
        justify-content: space-between;
        margin-bottom: 32px;
    }

    #Pager .responsive-page-controls .prev {
        margin-left: 8px;
    }

    #Pager .responsive-page-controls .next {
        margin-right: 8px;
    }

    #Pager .responsive-page-controls .pages {
        text-align: center;
        line-height: 12px;
        min-height: 16px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    #Pager .responsive-page-controls .pagedisplay {
        margin-left: 0;
        padding: 0;
    }

    #Pager .responsive-page-controls .disabled {
        opacity: 0;
        visibility: hidden;
        display: block;
    }

    /* image popup */
    .ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.ui-draggable.ui-resizable {
        left: 50% !important;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
    
    
    /********************
     * Item Details Page
     ********************/
    .feeDetails .paragraph .fee-name-price {
        display: flex;
        flex-direction: column;
    }

    .feeDetails { padding-bottom: 30px; }

    p#FeeTotal {
        float: none !important;
        margin-left: 90px;
        position: relative;
    }

    .feeDetails .paragraph div p:nth-child(3) {
        -webkit-transform: translate(0px, -19px);
        transform: translate(0px, -19px);
    }

    .noborder td {
        display: inline-block;
        width: 100%;
    }

    #DonationMessage { width: 90%; }

    #select_donation_destination { width: 300px; }

    #select_donation_destination { width: unset; }

    .boxWide .top {
        background-size: 100% 10px;
        width: 480px;
    }

    .boxWide .bottom {
        background-size: 100% 10px;
        width: 480px;
    }

    .boxWide .body {
        background-size: 100% 10px;
        width: 460px;
    }


    #print_div { width: unset; }

    /*
        Fixes for boxes in confim billing address and select payment method pages
    */
    .boxWide { margin: auto; }

    .box { margin: auto; }

    .boxWide .top {
        background-size: 100% 10px;
        width: 93%;
    }

    .boxWide .bottom {
        background-size: 100% 10px;
        width: 93%;
    }

    .boxWide .body {
        background-size: 100% 10px;
        width: 86%;
    }

    .box .top {
        background-size: 100% 10px;
        width: 92%;
    }

    .box .bottom {
        background-size: 100% 10px;
        width: 92%;
    }

    .box .body {
        background-size: 100% 10px;
        width: 85%;
    }

    .box .padlessBody {
        background-size: 100% 10px;
        width: 92%;
    }

    .boxWide .left {
        width: 90%;
    }

    #eCheckInformation {
        width: 93%
    }

    #creditCardTextBox {
        float: unset;
    }

    .leftMobile {
        float: left;
    }

    #InstitutionNumber {
        width: unset;
    }

    #BankTransitNumber {
        width: unset;
    }

    .desktopLeft {
        float: unset;
    }

    #eWalletInformation .required {
        padding-top: 30px;
    }

    #EWalletAvailableBalance {
        width: unset;
    }

    .terms {
        padding-bottom: 20px;
        width: 75%;
    }

    .current-status-row .half-width {
        min-height: 40px;
    }
    
    .autoreplenish-row li.dates ul li {
        margin-bottom: 8px;
    }


    .custom-form-field-responses { min-width: unset; }

    .autoreplenish-review-row ol li label {
        width: 20em !important;
        text-align: unset;
    }
}
@media screen and (max-width: 490px) {
    .terms {
        padding-bottom: 20px;
        width: 45%;
    }
}
@media screen and (max-width: 650px) {
    #Pager .pages {
        text-align: center;
    }
    #Pager {
        font-size: 12px;
    }

    #Pager .first {
        margin-right: 8px;
    }

    #Pager .last {
        margin-left: 8px;
    }
}

@media screen and (max-width: 380px) {
    /*/ Home Page /*/
    #Page .headline {
        font-size: 18px;
    }
    
    #Page .shoes {
        display: none;
    }
    .noborder td {
        display: inline-block;
        width: 90%;
    }
    #DonationMessage {
        width: 80%;
    }
}
@media screen and (max-width: 350px) {
    input.button {
        font-size: 0.8em;
    }
}
@media screen and (max-width: 720px) {
    .student-info-header {
        height: auto !important;
    }
}

@media screen and (max-width: 860px) {
    .autoreplenish-review-row {
        margin: 0 !important;
    }

    .autoreplenish-review-row ol {
        margin: 0;
        padding-left: 8px;
        font-size: 14px;
    }

    .autoreplenish-review-row ol li {
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .autoreplenish-review-row ol li label {
        width: auto !important;
        max-width: 100%;
        text-align: left !important;
        font-size: 12px;
    }

    .autoreplenish-review-row .content {
        padding: 0 !important;
        padding-left: 8px !important;
        padding-bottom: 2px !important;
    }
}

@media screen and (max-width: 400px) {
    .autoreplenish-review-row ol li {
        flex-direction: column;
        align-items: flex-start;
    }
}
