﻿/* Copyright 2019, Sciamble Corp. All Rights Reserved. We will take legal action against those who copy our HTML content, CSS style sheets and JavaScript functions. */

.resources-row {
    display: flex;
    flex-direction: row;
}

.resources-colIndex, .subresources-colBlank, .subresources-colIndex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-right: solid;
    border-bottom: solid;
    border-width: 4px;
    border-color: white;
}

.resources-colArrow, .subresources-colArrow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: lightgrey;
    border-bottom: solid;
    border-width: 4px;
    border-color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.resources-colIndex {
    min-width: 100px; /* if this is not set, then this box gets shrunk when window width is reduced a lot. */
    width: 100px;
    background-color: deepskyblue;
}

.resources-colTitle, .subresources-colTitle {
    /*display: flex; Do not set this. Then text will not have ellipsis when box width is shrunk*/
    flex-grow: 1;
    background-color: lightgrey;
    padding-left: 20px;
    border-bottom: solid;
    border-width: 4px;
    border-color: white;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resources-colTitle {
    padding-top: 25px;
    padding-bottom: 25px;
}

.resources-colArrow {
    width: 50px;
    max-width: 50px;
    min-width: 50px;
}

.subresources-colIndex {
    margin-left: 50px;
    min-width: 50px; /* if this is not set, then this box gets shrunk when window width is reduced a lot. */
    width: 50px;
    background-color: orange;
}

.subresources-colTitle {
    padding-top: 10px;
    padding-bottom: 10px;
}

.subresources-colArrow {
    width: 50px;
    max-width: 50px;
    min-width: 50px;
}
