﻿.btn-warning {
    background-color: #A5670E;
}

a.add-time-period {
    background-color: #428BCA;
    border-color: #357EBD;
    color: #FFF;
}

a.readytoassign {
    white-space: normal;
    width: 15em;
    border: solid 1px #2e6da4;    
}

div.no-padding {
    padding-left: 0;
    padding-right: 0;
}

div.remove-time-period-container {
    font-size: large;
    padding-right: 15px;
}

div.time-period-panel {
    padding-left: 2px;
    padding-right: 4px;
}

div.time-period-container {
    border-top: solid 1px #ccc;
    padding-top: 10px;
}

div.time-period-description {
    -o-text-overflow: ellipsis;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.RequirementDetail {
    width: 15em;
}

.RequirementDetail .popover {
    width: 20em;
}

.time-period {
    border: 1px solid lightgrey;
    border-radius: 6px;
    border-top: 6px solid lightgrey;
    margin-top: 1em;
    padding: .5em;
}

.time-period-body {
    margin-top: 1em;
}

.time-period-body hr {
    margin-bottom: 0;
    margin-top: .75em;
}

.time-period-body-empty {
    color:#515151;
    margin-bottom: 2em;
    margin-top: 1em;
}

/*set the anchor a little higher than the time period div to keep the div from being covered by the nav bar*/

.time-period-anchor {
    position: relative;
    top: -1.5em;
}

.plan-layout-details-year + .plan-layout-details-year {
    margin-top: 2em;
}

@media (min-width: 768px) {
    a.readytoassign {
        white-space: normal;
        width: 15em;
    }

    .RequirementDetail {
        width: 15em;
    }

    .time-period-anchor {
        top: -6em;
    }

    /*.modal-dialog {
            width: 40%;
        }*/
    .jzb-border-right {
        border-right: 1px solid #e5e5e5;
    }
}

@media (max-width: 767px) {
    .jzb-border-right {
        border-bottom: 1px solid #e5e5e5;
    }
}

@media (max-width: 480px) {
    #YearTermSearch, #AddTimePeriod {
        font-size: 12px;
    }

    .RequirementDetail {
        width: 10em;
    }

    a.readytoassign {
        width: 10em;
    }
}

/*  Bootstrap Clearfix */

/*  Tablet  */

@media (min-width: 767px) {
    /* Column clear fix */
    .col-lg-1:nth-child(12n + 1),
    .col-lg-2:nth-child(6n + 1),
    .col-lg-3:nth-child(4n + 1),
    .col-lg-4:nth-child(3n + 1),
    .col-lg-6:nth-child(2n + 1),
    .col-md-1:nth-child(12n + 1),
    .col-md-2:nth-child(6n + 1),
    .col-md-3:nth-child(4n + 1),
    .col-md-4:nth-child(3n + 1),
    .col-md-6:nth-child(2n + 1) {
        clear: none;
    }

    .col-sm-1:nth-child(12n + 1),
    .col-sm-2:nth-child(6n + 1),
    .col-sm-3:nth-child(4n + 1),
    .col-sm-4:nth-child(3n + 1),
    .col-sm-6:nth-child(2n + 1) {
        clear: left;
    }
}


/*  Medium Desktop  */

@media (min-width: 992px) {
    /* Column clear fix */
    .col-lg-1:nth-child(12n + 1),
    .col-lg-2:nth-child(6n + 1),
    .col-lg-3:nth-child(4n + 1),
    .col-lg-4:nth-child(3n + 1),
    .col-lg-6:nth-child(2n + 1),
    .col-sm-1:nth-child(12n + 1),
    .col-sm-2:nth-child(6n + 1),
    .col-sm-3:nth-child(4n + 1),
    .col-sm-4:nth-child(3n + 1),
    .col-sm-6:nth-child(2n + 1) {
        clear: none;
    }

    .col-md-1:nth-child(12n + 1),
    .col-md-2:nth-child(6n + 1),
    .col-md-3:nth-child(4n + 1),
    .col-md-4:nth-child(3n + 1),
    .col-md-6:nth-child(2n + 1) {
        clear: left;
    }
}


/*  Large Desktop  */

@media (min-width: 1200px) {
    /* Column clear fix */
    .col-md-1:nth-child(12n + 1),
    .col-md-2:nth-child(6n + 1),
    .col-md-3:nth-child(4n + 1),
    .col-md-4:nth-child(3n + 1),
    .col-md-6:nth-child(2n + 1),
    .col-sm-1:nth-child(12n + 1),
    .col-sm-2:nth-child(6n + 1),
    .col-sm-3:nth-child(4n + 1),
    .col-sm-4:nth-child(3n + 1),
    .col-sm-6:nth-child(2n + 1) {
        clear: none;
    }

    /*.col-lg-1:nth-child(12n + 1),
        .col-lg-2:nth-child(6n + 1),
        .col-lg-3:nth-child(4n + 1),
        .col-lg-4:nth-child(3n + 1),
        .col-lg-6:nth-child(2n + 1) { clear: left; }*/
}


.no-bottom-border {
    border-bottom: 0;
}

.no-text-decoration {
    text-decoration: none;
}

button.swap-icon {
    padding: 10px 16px 6px 16px;
    margin-right: 1em;
    float: left;
}

button.swap-icon.unswappable {
    color: #d30000;
}

button.swap-icon.swappable-selected {
    color: #268100;
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, 0);
}

div.plan-summary-data {
    padding-bottom: 4em;
}

.StudentAcademicPlan .panel {
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05)
}

div.clear {
    clear: both;
}

.glyphicon-popover {
    font-size: 16px;
}


.popover-display-content {
    max-height: 500px;
    overflow-y: auto;
}

.alert-container-sap {
    display: block;
    padding: 5px 10px;
    margin: 10px;
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    max-width: 100%;
    border-color: #e5d300;
    color: #575757;
    background-color: #fffde5;
}

div.bottom-column {
    float: none;
    display: table-cell;
    vertical-align: bottom;
}

ul.denied-popover {
    list-style-type: disc !important;
    padding-left: 3em;
    max-height: 500px;
    overflow-y: auto;
}

.popover {
    z-index:10000;
}

.StudentAcademicPlan h4 {
    padding-bottom: 0;
    margin: 0;
}
.StudentAcademicPlan h5 {
    border-bottom: 0;
    margin: 0;
}

.StudentAcademicPlan detail-group-requirement-description {
    padding-top: 1em;
}
