﻿/* this next line is CDN (remote) CSS file that allows me to use an icon font generated from an icon-set called 'feather'
more on this here: https://github.com/AT-UI/feather-font
*/
@import url('https://at.alicdn.com/t/font_o5hd5vvqpoqiwwmi.css');


.scrollingdiv {
    height: calc(100vh - 50px);
    min-height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    padding: 1em;
}


/**
     Run List Styles
    */
.runlist {
    width: 100%; /** this div should occupy its parent container's width fully */
    column-gap: 20px; /** gap between columns */
    column-width: 195px; /** width of a runlist column */
    column-count: auto; /** automatically select number of columns based on width of the flex box */
}

.runlist-zone {
    break-inside: auto; /** prevent column breaks from occurring inside the zone */
}

.zone-name {
    margin-top: 0px;
    padding-top: 0px;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 0px;
}

.runlist ul {
    margin-top: 0px;
    padding-top: 0px;
    list-style-type: none; /** no bullet points for zone headers, which are in list items themselves */
    padding-left: 0px; /** prevents list items from being indented */
    padding-bottom: 20px;
}

    .runlist ul ul {
        list-style-type: none; /** no bullet points for runs */
        margin-top: 0px;
        padding-top: 0px;
    }

.runlist li li {
    color: black;
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
    margin-bottom: 4px;
    vertical-align:middle;
    padding: 0px;
    margin-right:0px;
    margin-left:0px;
}
 
.runlist-header {
    padding-left: 15px;
    padding-top: 10px;
    background-color: whitesmoke;
    color: black;
    height: 50px;
    margin-top: 0px;
    margin-bottom: 0px;
    align-content: center;
    border-style: solid;
    border-top-width: 1px;
    border-right-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 0px;
    border-color: darkgrey;
}

.runlist-runuse {
    font-style: italic;
    font-size: 10px;
    background-color: whitesmoke;
    color: red;
    padding: 0px;
    margin-right: 0px;
    margin-left: 0px;
    margin-top:3px;
    margin-bottom:3px;
    text-align: center;
    max-width: 20px;
    vertical-align:middle;
}

.runlist-notenumber {
    background-color: red;
    color: white;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px;
    margin-left: 0px;
}

/* Collapsible box */

.collapsible-container {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 350px;
    margin-bottom: 2px;
}

    .collapsible-container .collapsible-button {
        /** buttons get their own fonts so have to set this explicitly */
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 14px;
        /** need to set this so that child elements are positioned relative to this ancestor*/
        position: relative;
        width: 100%;
        height: 30px;
        border: none;
        cursor: hand;
        /** turn the cursor into a hand when it's on top of this, this is a typical behavior in a browser for something clickable*/
        text-align: left;
        outline: none;
        /** remove default button outline */
        /** buttons have center text alignedment by default */
        /*rounded borders top, square bottom */
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        border: solid rgb(120, 151, 208) 1px;
        /** text color */
        color: black;
        /** background if browsers don't support gradients, full gradient background below */
        background: rgb(0, 164, 255);
        background: linear-gradient(180deg, rgba(182, 210, 246, 1) 0%, rgba(172, 203, 248, 1) 42%, rgba(161, 194, 239, 1) 43%, rgba(178, 201, 239, 1) 100%);
        font-weight: bold;
    }

.collapsible-container .button-collapsed {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.collapsible-container .collapse-icon {
    /** this allows us to position the element relative to the most recent ancestor with relative or absolute positioning, in this case, its parent button*/
    position: absolute;
    /** usually a span element is inline to the text, but in this case i'm positioning it with pixels, so it'll be a block */
    display: block;
    /** i'm positioning it relative to the right side of the button */
    right: 10px;
    top: 4px;
    /** this is a hack - by using a border radius which is half of its height, i've made the icon box from a square into a circle */
    border-radius: 7px;
    width: 13px;
    /** this icon is actually 14 pixels wide and high but width and height need to be summed with margin and padding */
    height: 14px;
    font-size: 12px;
    padding-left: 1px;
    padding-top: 0px;
    background-color: rgb(120, 151, 208);
    color: rgb(160, 193, 238);
}

.collapsible-container .collapsible-content {
    /*rounded borders top, square bottom */
    border-right: solid rgb(120, 151, 208) 1px;
    border-left: solid rgb(120, 151, 208) 1px;
    border-top: none;
    border-bottom: solid rgb(120, 151, 208) 1px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 8px;
}

.collapsible-container label {
    font-size: 13px;
    display: table-cell;
    width: 70px;
    height: 28px;
    text-align: right;
    padding-right: 10px;
    line-height: 14px;
    vertical-align: middle;
}

    .collapsible-container input[type=text] {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 13px;
        height: 24px;
    }

.collapsible-container .form-line {
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: top;
    display: table;
}

.collapsed {
    display: none;
}

.sbtooltip {
    position: relative;
    display: inline-block;
}

    .sbtooltip .sbtooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: whitesmoke;
        color: dimgray;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        bottom: 100%;
        left: 50%;
        margin-left: -60px;
        margin-bottom: 2px;
    }

    .sbtooltip:hover .sbtooltiptext {
        visibility: visible;
    }

