﻿
.current-date-line {
    border-left: 4px dashed green;
    width: 1px;
    position: relative;
    z-index: -1;
}

.selection-row {
    display: grid;
    z-index: 5;
    grid-template-columns: .5fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

.selection-label {
    text-align: center;
    line-height: 40px;
}

.schedule-projections-input {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
}

.hide-show {
    width: 30px;
}

.button-item {
    top: 50%;
    margin-top: -15px;
    position: absolute;
    display: none;
}

.date-header-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 4;
    margin: 0px
}

.header-row {
    display: flex;
    flex-direction: row;
    margin: 0px 0px 0px 0px;
    flex-wrap: nowrap;
    position: relative;
    left: 180px;
}

.farm-name-container {
    z-index: 4;
    border: 1px groove #d3d3d3;
    background-color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    display: grid;
    grid-auto-flow: row;
}

.farm-name-label {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
}

.farm-row-container {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: 1fr;
    width: 200%
}

.farm-and-house-container {
    position: -webkit-sticky;
    position: sticky;
    left: 0px;
    z-index: 4;
    display: grid;
    grid-template-columns: 60px 120px;
    grid-auto-rows: 100px;
}
    .farm-and-house-container.mini {
        grid-auto-rows: 40px;
    }

.house-number-label {
    left: 0;
    border: 1px groove #d3d3d3;
    background-color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
}

    .house-number-label.mini {
        font-size: 14px
    }

    

.planner {
    width: 82vw;
    overflow-x: scroll;
    overflow-y: auto;
}

.planner-row {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 100px;
    grid-column-gap: 0px;
}

.planner-row.mini {    
    grid-template-rows: 40px;
}

.header-col {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    width: 30px;
    height: 150px;
    flex: 1;
    margin-left: 0px;
    margin-right: 0px;
    align-items: center;
    justify-content: center;
}

.clear-col {
    background-color: white;
    border: 1px groove #d3d3d3;
    width: 30px;
    height: 100px;
    margin-left: 0px;
    margin-right: 0px;
}

.flockblock-container {
    display: flex;
    width: auto;
    margin-bottom: 0px;
    margin-top: 0px;
}

.date-header {
    transform-origin: right bottom;
    transform: rotate(90deg) translate(20px,30px);
    font-size: 18px;
    text-align: right;
    position: relative;
    bottom: 10px;
}

.flock-phase {
    width: 30px;
    height: 100px;
}

.flock-phase.mini {
    height: 40px;
}

.dropzone {
    padding: 0px;
    border: 1px groove #d3d3d3;
    height: 100px;
    list-style: none;
    position: relative;
}

    .dropzone.mini {
        height: 40px;
    }

    .dropzone:hover .button-item {
        display: block
    }

.can-drop {
    border: 2px dashed black;
}

.draggable {
    border: 1px solid #424d5c;
    cursor: grab;    
    border-radius: 0px;
    position: absolute;
    z-index: 1;
    height: 88px;
    top: 50%;
    margin-top: -44px;
    line-height: normal;
    border-style: solid;
    border-width: 4px;
    box-shadow: 5px 5px 5px #999;
    text-align: center;
}

    .draggable.layer {
        background: #7b9ee8;
        border-color: #2d57b9;
        color: #424d5c;
    }

    .draggable.pullet {
        background: #865b90;
        border-color: #682e76;
        color: #424d5c;
    }

    .draggable.mini {
        height: 32px;
        margin-top: -16px;
        line-height: normal;
        border-width: 2px;
    }

    .draggable:active {
        cursor: grabbing;
    }

    .draggable:hover .button-row {
        display: block;
    }

.dragging {
    cursor: grabbing;
}

.flocknumber {
    text-align: center;
    font-size: 17px;
    color: white;    
    font-weight: bold;
    width: 100%;
}

.flocknumber.layer {
    background: #2d57b9;
}

.flocknumber.pullet {
    background: #682e76;
}

.flocknumber.mini {
    font-size: 14px;
}

.draggable-grid {
    display: inline-grid;
    width: 100%;
    grid-template-columns: auto auto;
    grid-template-rows: 25px 25px;
    margin: 0 auto;
}

.draggable-info {
    text-align: center;
    font-size: 15px;
    color: white;
}

.draggable-info-sm {
    text-align: center;
    font-size: 11px;
    color: white;
}

.button-row {
    display: none;
    position: absolute;
    bottom: 40px;
    right: 5px;
}

.button-row.mini {
    bottom: 0px;
    right: 5px;
}

.comparison-input {
    display: grid;
    grid-template-columns: 1fr 1fr .5fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 5px 1fr;
    grid-template-rows: 1fr 7fr;
    grid-column-gap: 5px;
}

    .comparison-header > h1 {
        border-radius: 10px;
        background: #eee;
        text-align: center;
        border: thin;
        border-color: #999;
    }

.comparison-chart {
    border: solid;
    border-color: #eee;
    align-content: center;
}

.table-wrapper {
    width: 101%;
    overflow-y: scroll;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 5px 1fr;
    grid-column-gap: 5px;
    height: 30vh;
}

.divider {
    background: #eee;
}

.scenario-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 2em;
}
