/************************************************/
/* New Grid / Flexbox layout stuff */

.w100{
    width: 100%;
}

.w90per{
    width: 90%;
}

.w95per{
    width: 95%;
}

.w80p{
    width: 80px;
}

.w100p{
    width: 100px;
}
.w150p{
    width: 150px;
}

.w200p{
    width: 200px;
}

.w220p{
    width: 220px;
}


.row{
    display: flex;
}

.main-content{
    flex: 1;
    background: #ffffff;
    padding: 32px 20px;
}

.main-row{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.row-cell{
    flex: 1;
}

.foot-row{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.foot-item {
    flex: 0 0 180px;
    text-align: left;
    margin: 0 16px 32px 16px;
}

.flex-column{
    flex-direction: column;
}

.vert-center{
    align-items: center;
}

.cell-1{
    flex: 1; /* 1 times the width of other cells in a row. */
}

.cell-2{
    flex: 2; /* 2 times the width of other cells in a row. */
}

.cell-3{
    flex: 3; /* 3 times the width of other cells in a row. */
}

/* for ordering modules in mobile view - works with javascript combining of columns*/
#container {
    display: flex;
    flex-wrap: wrap; /* to get a single column full width - Global Warning */
    flex: 1;
    padding: 32px 0 0 20px;
}
#container .column1,
#container .column2 {
    display: flex;
    margin: 0 20px 32px 0;
}

.single-column,
.second-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.second-column {
    width: 0;
}
.first {
    order: 1;
}
.second {
    order: 2;
}
.third {
    order: 3;
}
.fourth {
    order: 4;
}
.fifth {
    order: 5;
}
.sixth {
    order: 6;
}

#full-container{
    flex-direction: column;
    flex: 1;
    margin-right: 20px;
    margin-bottom: 32px;
}

.grid-subhead-mobile {
    display: none;
    padding: 4px 4px 8px 8px;
    height: 26px;
    border-bottom: 1px solid #042642;
    background-color: #EFF3FF
}

#mystudents-filter-mobile, #queue-filter-mobile{
    display: none;
    width: 80px;
}

/************************************************/
/* Grid Column Min-Widths */
.cw15{
    min-width: 15px;
}
.cw20{
    min-width: 20px;
}
.cw25{
    min-width: 25px;
}
.cw40{
    min-width: 40px;
}
.cw50{
    min-width: 50px;
}
.cw55{
    min-width: 55px;
}
.cw60{
    min-width: 60px;
}
.cw75{
    min-width: 75px;
}
.cw80{
    min-width: 80px;
}
.cw85{
    min-width: 85px;
}
.cw90{
    min-width: 90px;
}
.cw100{
    min-width: 100px;
}
.cw110{
    min-width: 110px;
}
.cw125{
    min-width: 125px;
}
.cw130{
    min-width: 130px;
}
.cw135{
    min-width: 135px;
}
.cw140{
    min-width: 140px;
}
.cw150{
    min-width: 150px;
}
.cw200{
    min-width: 200px
}
.cw220{
    min-width: 220px
}


/************************************************/
/* Media Queries */

@media (max-width: 1280px) { /* custom break point for hiding username when top menu is long */
    .UserLogin {
        display: none;
    }
}

@media (max-width: 1465px){ /* custom break point for tablet and below */

    .UserLogin{
        display: inline-block;
    }

    .provider-logo{
        width: 110px;
        min-width: 110px;
        float: left;
        margin-top: 0;
    }

    .provider-img-large {
        margin-top: 0px;
    }

    .provider-img{
        width: 100%; /* Makes the image responsive inside its container */
    }

    #provider-img { /* This kills any transparency and shadow on the left side of the provider logo */
        max-width: 114px;
        margin-left: -2px;
    }


    #program-logo-slim, .left-icon-container-slim{
        display: block;
    }

    .left-full{
        width: 110px;
        min-width: 110px;
        background: #082743;
        color: #ffffff;
        position: relative;
        padding-top: 32px; /* to get below the provider logo */
    }

    /*#progress-content, #gathering-content, #contacts-content,*/
    .left-headers, #left-toggle-slim, #left-toggle-full, #program-logo{
        display: none;
    }

    .tool-icon{
        display: unset;
        margin: 8px 16px;
    }

    .resource-block {
        margin: 0 0 16px 0;
        min-width: 100%;
    }

    .navbutton {
        margin-right: 16px;
        font-size: 15px;
    }

    .pay-mobile-only{
        display: inline-block;
        text-align: right;
        width: 35%;
    }

    .desc-mobile-only{
        width: 55%;
    }

    .payment-sub-head{
        display: none;
    }

    .payment-row{
        flex-direction: column;
    }

    .pay-cell{
        flex: unset;
        margin-left: 0;
    }

    .pay-input {
        height: 30px;
        margin-top: 4px;
    }

    .money-cell {
        width: 80px;
        margin: 8px 32px 0 0px;
    }

    #ProgramSelect{
        width: 100px;
    }

    #amount-head{
        display: none;
    }

}

@media (max-width: 1225px){ /* 1280 custom break point for tablet and below */

    .grid-subhead{
        display: none;
    }

    .grid-subhead-mobile{
        display: block;
    }

    .grid-mobile-only{
        display: inline-block;
        text-align: right;
        width: 43%;
    }

    .gridtask-mobile-only{
        width: 46%;
    }

    .grid-row{
        flex-direction: column;
    }

    .cell-desk-center{
        text-align: left;
        margin: 0;
    }

    .dropdown-info {
        width: 100%;
    }

    .dropdown-info:before {
        left: 50%;
    }

    .grid-cell {
        font-size: 16px;
        padding: 0px;
        line-height: 30px;
        width: 46%;
    }

    .date-top {
        padding-top: 0px;
    }

    .grid-caret {
        margin: 4px 0;
    }

    .border-block-mobile{
        border: 1px solid #CCCCCC;
        border-radius: 5px;
    }

    .mobile-show{
        display: block;
    }

    .mobile-hide{
        display: none;
    }
}

@media (max-width: 1085px) { /* custom break point for content switchers */
    .mw50per{
        min-width: 100%;
    }

    .switcher-three{
        border-top: 0;
        border-left: 1px solid #0D3354;
    }

    .switcher-last{
        border-top: 0;
    }
}


@media (max-width: 960px) { /* custom break point for hiding username when top menu is long */
    .UserLogin{
        display: none;
    }
    .dropdown-menu-profile:before {
        right: 18px;
    }
}

@media screen and (min-width: 861px) { /* 2 column widths works with column combining and splitting Javascript */
    .single-column {
        width: 58%;
    }
    .second-column {
        width: 42%;
    }
}



@media (max-width: 860px){

    .grid-subhead-notify{
        display: none;
    }

    .notify-row{
        flex-direction: column;
    }

    .notify-mobile-only{
        display: inline-block;
        text-align: right;
        width: 43%;
    }

    .w80p, .wp100p, .w150p, .w200p, .w220p {
        min-width: 50%;
        width: auto;
    }

    .notification-wrapper-mobile{
        display: inline-block;
    }

    h1{
        font-size: 26px;
    }

    .ira-icon{
        margin: 8px 0 0 8px;
    }

    .main{
        padding-top: 0px;
        position: relative;
    }

    #full-container {
        margin-top: 64px;
    }

    .single-column {
        flex: 1;
        padding-right: 0;
        /*margin-top: 64px;*/
    }

    .left-full {
        width: 350px;
        position: fixed;
        right: 0;
        box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.4);
        z-index: 5;
        margin-top: 64px;
        display: none;
        overflow-y: scroll;
        overflow-x: hidden;
        height: 75%;
        padding-top: 48px;
    }

    #tasks-content, #recent-content{
        margin: 16px 16px 0 0;
    }

    .task-left{
        margin-left: 16px;
        width: 90px
    }

    .foot-item{
        text-align: center;
    }

    .provider-logo-mobile{
        display: block;
        margin: 0 auto;
    }

    .provider-logo {
        width: 100px;
        float: left;
        margin-left: 4px;
        margin-top: 0;
    }

    .provider-img-large {
        margin-top: 0px;
    }

    #provider-img {
        max-width: 100px;
        margin-left: 0;
    }

    #program-logo, #program-logo-slim, .left-icon-container-slim, .nav-menu, #left-toggle-slim, #left-toggle-full, #pa-prev-arrow, #pa-next-arrow, #pa-avatar, .header-right, #logo-text{
        display: none;
    }

    .left-headers, .foot-row, #mobile-menu, .menu-toggle, .mobile-top-title{
        display: block;
    }

    .dropdown-menu-profile {
        right: 8px;
    }

    .pa-content {
        margin: 0 16px;
    }

    .dropdown-menu-profile:before {
        right: 118px;
    }

    .dropdown-menu-program {
        left: 110px;
    }

    .fieldInput, .form-row {
        width: 100%;
    }

    .menu-select-input{
        width: 95%;
    }

    .status-title {
        display: block;
        margin-top: 8px;
        margin-left: 32px;
    }

    .navbutton {
        margin-right: 0px;
        font-size: 18px;
        text-transform: none;
        color: #000000;
    }

    .popup{
        width: 75%;
    }

    .pop-content {
        overflow: auto;
    }
    
    #amount-head {
      display: inline-block;
    }

    .pay-btn{
        float: right;
        margin-bottom: 8px;
        clear: both;
    }

    .pay-input{
        width: 74px;
    }

    .h4-mobile{
        font-size: 14px;
        font-weight: 700;
        margin-top: 5px;
    }

    #ProgramSelect{
        width: auto;
    }

    #amount-head{
        display: inline-block;
    }

    #mystudents-filter-wide{
        display: none;
    }

    #mystudents-filter-mobile{
        display: unset;
    }

    #queue-filter-mobile{
        display: unset;
    }
}

@media (max-width: 515px) { /* custom break point for content switchers */
    .switcher-first, .switcher-two, .switcher-three, .switcher-last{
        width: 100%;
    }

    .switcher-two{
        border-top: 0;
        border-left: 1px solid #0D3354;
    }

    .switcher-last{
        border-left: 1px solid #0D3354;
    }
}

@media (max-width: 480px){
    .page-numbers{
        display: inline-block;
        margin-left: 8px;
        margin-top: 8px;
        float: left;
    }

    .notification-wrapper {
        margin-right: 0px;
    }

    .dropdown-menu-notify {
        right: -50px;
    }

    .dropdown-menu-notify:before {
        right: 73px;
    }

    .col50per{
        width: 100%;
    }
}

@media (max-width: 369px){
    .left-full {
        width: 100%;
    }
    .task-right{
        width: 175px;
    }
}