﻿


.full-width-site .container
{
    max-width: unset;
}



#mdiv {
    width: 25px;
    height: 25px;
    background-color: red;
    border: 1px solid #6f6d6d;
}

.mdiv {
    height: 0.75rem;
    width: 2px;
    margin-top: 0.2rem;
    margin-left: 0.5rem;
    margin-right: 0.6rem;
    background-color: #666;
    transform: rotate(45deg);
    border-radius: 4px;
    Z-index: 1;
}

.md {
    height: 0.75rem;
    width: 2px;
    background-color: #666;
    transform: rotate(90deg);
    border-radius: 4px;
    Z-index: 2;
}



.planner-right {

}

.planner-right > .segments {
    padding: 4px;
    background: #333;
    border-radius: 4px;
}

.planner-segment-border {
    background: #fff;
    padding: 4px;
}

.planner-segment-border:nth-last-of-type(2n+2) {
    padding-top: 0.8rem;
}

.planner-segment-border:nth-last-of-type(2n+1) {
    padding-bottom: 0.8rem;
}

.planner-segment {
    position: relative;
    overflow: hidden;
    background: #fff;
}





.planner-select-divider {
    color: white;
    background: #333;
    padding: 0.2rem;
    padding-left: 1rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.planner-select-divider {
    margin-top: 0;
}

.planner-segment:last-child {
    margin-bottom: 0;
}





.planner-item {
    position: absolute;
    height: 70px;
    padding: 3px 4px;
    top: 0;
    user-select: none;
}

.planner-item.shared {
    padding: 8px 4px;
}

.planner-item.added {
    position: relative;
    top: inherit;
    width: 100%;
    height: auto;
       
}




.planner-item.noevents {
    pointer-events: none;
}

.planner-item .lborder {
    position: absolute;
    height: 100%;
    width: 6px;
    background: #157896;
}

.planner-item > .draw {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #157896;
    border-left: 1px solid #157896;
    border-radius: 3px;
    opacity: 1;
}

.planner-item.distribution > .draw {

}

.planner-item > .draw.locked {
    /*border: 4px double red;*/
}



.planner-item > .draw.modified, .planner-item > .draw:has(.pill-saved) {
    opacity: 1;
    border-style: dashed;
    border-width: 1px !important;
    border-color: #3995f8;
}

.planner-item .draw.modified .lborder, .planner-item > .draw:has(.pill-saved) .lborder {
    background: #bddae2 !important;
    display: block !important;
}

.planner-item > .draw.selected {
    border: 2px solid #3995f8;
    border-style: solid !important;
    border-width: 2px !important;
    z-index: 15;
    margin: 0px 0px;
}

.planner-item > .draw.selected .lborder {
    display: none !important;
}

    .planner-item.suggestion > .draw {

        opacity: 0.4;
    }


.planner-item.shared > .draw .lborder {
    background: #e4602b !important;
    opacity: 1;
}

.planner-item.shared > .draw {
    background: white;
    /*background: #e4602b11;*/
    opacity: 1;
    border-color: #e4602b !important;
    text-wrap: nowrap;
    overflow: hidden;
}

.planner-item.notplaced > .draw {
    opacity: 1;
}

.planner-item.shared > .draw > div * {
    color: black;
}

.planner-item.submitted > .draw {
    background: orange;
    opacity: 1;
}

.planner-item.submitted > .draw > div * {
    /*color: black;*/
}

.planner-item > .draw > .tools {

    position: relative;
    top: -8px;
    padding-right: 6px;
        
    margin-bottom: 0px;
    margin-left: 0.5rem;
}

.planner-item > .draw > .tools * {

    font-size: 0.8rem;
}

    .planner-item > .draw > .placement-tip {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        align-items: center;
        height: 100%;
        text-align: center;
    }

    .planner-item > .draw > .placement-tip span {
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    .planner-item > .draw > .placement-tip > div {
        display: block;
        line-height: 0.9rem;
    }


    .planner-item > .draw > .placement-tip i {
        font-size: 0.8rem;
    }

    .planner-item > .draw > .text {
        display: flex;
        justify-content: space-between;
    }

        .planner-item > .draw > .text span {
            white-space: nowrap;
            font-size: 0.9rem;
            padding-top: 0.2rem;
            padding-right: 0.5rem;
        }

    .planner-item > .draw p {
        padding-right: 1.0rem;
        padding-left: 1rem;
        padding-top: 0.2rem;
        font-size: 0.9rem;
        color: #333;
        margin-bottom: 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline;
    }

    /*
    .planner-item > .draw.selected:has(.remove) p {
        padding-right: 4rem;
    }
        */


.planner-item > .draw.modified p {
    color: #157896;
}

    .planner-item > .draw.modified, .planner-item > .draw.modified > .stretch-marks {
        border-color: #3995f8 !important;
    }

.planner-item > .draw.modified > .tools > .pill {
    color: #157896 !important;
    border-color: #157896 !important;
}


.planner-item .pill {
        overflow: hidden;
    }

.planner-item .pill span {
    overflow: hidden;
    white-space: nowrap;
}


.planner-item > .draw.obsolete {
    border-width: 2px;
    border-color: #666;
    color: #666;
}

.planner-item > .draw.obsolete * {
    color: #666;
    border-color: #666;
}

.planner-item > .draw.obsolete > .lborder {
    display: none;
}



.planner-item > .draw.denied {
    border-width: 2px;
    border-color: #333;
    color: #333;
    background-color: #fff6f9;
}

.planner-item > .draw.denied .pill {
    border-color: #333;
    color: #333;
}

.planner-item > .draw.denied > .lborder {
    background: #bd2c47;
}



.planner-item > .draw.set {
    border-width: 2px;
    border-color: #333;
    color: #333;
}

.planner-item > .draw.set .pill {
    border-color: #333;
    color: #333;
}

.planner-item > .draw.set > .lborder {
    display: none;
}




.planner-item > .draw.accepted {
    border-width: 2px;
    border-color: #333;
    color: #333;
}

.planner-item > .draw.accepted .pill {
    border-color: #333;
    color: #333;
}

.planner-item > .draw.accepted > .lborder {
    background: #2d825d;
}



.planner-item > .draw.planned {
    border-width: 2px;
    border-color: #045b72;
    color: #045b72;
}

.planner-item > .draw.planned .pill {
    border-color: #045b72;
    color: #045b72;
}

.planner-item > .draw.planned > .lborder {
    background: #045b72;
}




.planner-item > .draw.cancelled {
    border-width: 2px;
    border-color: #333;
    color: #333;
}

.planner-item > .draw.cancelled .pill {
    border-color: #333;
    color: #333;
}

.planner-item > .draw.cancelled > .lborder {
    display: none;
}



.planner-item.shared > .draw {
    border-width: 1px;
    border-color: #e4602b !important;
}






.planner-item.added > .draw p {
    color: #157896;
    padding-right: 0.5rem;
}

.planner-item > .draw.modified .text span {
    color: #157896;
}




.planner-item > .draw div {

    font-size: 0.9rem;
}


.planner-item > .move {
    position: absolute;
    right: 2rem;
    top: 0;
    left: 1rem;
    bottom: 0;
    margin: auto;
    z-index: 20;
    cursor: grab;

    opacity: 0;
    background: green;
}

.planner-item > .select {
    position: absolute;
    right: 0rem;
    top: 0;
    left: 0rem;
    bottom: 0;
    margin: auto;
    z-index: 20;
    cursor: pointer;
    opacity: 0;
    background: green;
}

.planner-item .remove {
    position: absolute;
    right: 1rem;
    top: 0.3rem;
    left: auto;
    width: 1rem;
    height: 1rem;
    margin: auto;
    z-index: 21;
    cursor: pointer;
    opacity: 1;
}

.planner-item > .stretch {
    position: absolute;
    top: 0;
    width: 1.0rem;
    left: 0rem;
    z-index: 20;
    height: 100%;
    cursor: ew-resize;
    background: none;
}

.planner-item > .stretch > div {
    position: absolute;
    background: white;
    width: 8px;
    top: 0;
    bottom: 0;

 
    margin: 5px 2px;
    /*border: 1px solid #3995f8;*/
}

.planner-item > .stretch.right {
    left: auto;
    right: 0;
    text-align: right;
}

.planner-item > .stretch.right > div {
    right: 0;
    left: auto;
}


.planner-item .stretch-marks {
    position: absolute;
    top: 3px;
    bottom: 3px;
    width: 0.4rem;
    left: -3px;
  
    /*border: 2px solid #3995f8;*/
    border-width: 1px;
    border-style: solid;
    background: white;
    pointer-events: none;
}

.planner-item .stretch-marks.right {
    right: -3px;
    left: auto;
}

.planner-item .properties {
    display: flex;
    gap: 0.1rem;
    align-items: center;
    overflow: hidden;
}


.planner-item .properties > p {
    margin: 0 !important;
    padding: 0;
}

p.pill-text {
    position: relative;
    padding-right: 1.4rem !important;
    z-index: 21;
}

.pill-text a {
    background: #f5d8bb;
    padding: 0.3rem 0.2rem;
    padding-right: 0.3rem;
}

.pill {
    border: 1px solid #157896;
    color: #157896;

    font-size: 0.9rem;
    border-top-right-radius: 50em;
    border-bottom-right-radius: 50em;
    position: relative;
    padding: 1px 3px;
    padding-right: 16px;
    top: 16px;
    display: inline-block;
    margin-bottom: 30px;
    margin-right: 10px;
}

.pill-smaller {
    margin-bottom: 0px;
    top: 0;
    padding: 2px 6px;
    padding-right: 16px;
    margin-right: -5px;
}

.pill-obsolete {
    background: #63afb6;
    border-color: #63afb6 !important;
    letter-spacing: 1px;
}

.pill-obsolete > span {
    color: white !important;
}


.pill-denied {
    background: #bd2c47 !important;
    border-color: #bd2c47 !important;
    color: white !important;
}

.pill-set {
    background: #2d825d !important;
    border-color: #2d825d !important;
    color: white !important;
}

.pill-planned {
    background: #045b72 !important;
    border-color: #045b72 !important;
    color: white !important;
}

.pill-saved {
    background: #447392 !important;
    border-color: #447392 !important;
    color: white !important;
}

/* required to overwrite */
.planner-item > .draw.modified > .tools > .pill-shared-request {
    border-color: #c24615 !important;
}

.pill-shared-request {
    border-color: #c24615 !important;
    margin-right: 0.25rem;
    margin-left: auto; /* to place at end */
}

.planner-item .pill-shared-request > span {
    color: #c24615 !important;
}

.planner-item > .draw.modified > .tools > .pill-deprecated-request {
    border-color: #bd2c47 !important;
}

.pill-deprecated-request {
    background-color: #fff6f9;
    border-color: #bd2c47 !important;
    margin-right: 0.25rem;
    margin-left: auto; /* to place at end */
}

.planner-item .pill-deprecated-request > span {
    color: #bd2c47 !important;
}

.pill-black {
    border-color: black;
    color: black;
}

.pill-number {
    color: white;

    position: absolute;
    font-weight: bold;
    background-color: #e4602b;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    text-align: center;
    top: -12px;
    right: -10px;
}


.pill-number-smaller {
    color: white !important;
    position: absolute;
    font-weight: bold;
    background-color: #e4602b;
    border-radius: 50%;
    height: 18px;
    width: 18px;
    text-align: center;
    right: 0;
    top: 0px;
}






/* this will be used to move the control panel when we open item info panel */
#planner-top:has(~ div > div > #planner-item-info .open) .control-panel {
    margin-right: 19rem;
}

/* this will be used to move the control panel when we are inside the add course window */
#planner-top:has(~ div > div > #planner-courses .add) .control-panel {
    margin-right: 0rem;
}

/* to make sure the course header spans the complete width */
#planner-courses:has(.add) {
    width: 100%;
}

/* to make sure we hide the grid when we are inside the add course window */
#planner-area > div:has(.planner-course-panel.add) .planner-right {
    display: none;
}

/* we want to hide the item info as well when inside the add course window */
#planner-area > div:has(.planner-course-panel.add) #planner-item-info {
    display: none;
}

/* override global footer */
footer {
    margin-top: -2rem !important;
}

/* override global bth context area */
.bth-context-area {
    padding-bottom: 0 !important;
}

textarea:focus {
  outline: none !important;
}

/* to override bad settings in bth base input */
input[type=radio] {
    margin-right: 0.5rem;
}

input[type=checkbox] {
    margin-right: 0.25rem;
}

.bth-table span {

    word-wrap: break-word;
    word-break: break-word !important;
    font-size: 0.9rem;
}

.bth-table-column-desktop-header {

}