﻿/* 04/25/22 Use FlexBox for the layout of the Master Page
            .infopromain is the main container
            It has 2 columns:   .linkscolumn is the narrow column on the left with links
                                .maincolumn contains all of the page content except the header and links column

            When the display width is < 600px, the links column displays below the main column instead of on the left side
*/
.infopromain {  /* Main flex container on MainMasterPage */
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.linkscolumn {
    flex-shrink: 0;  /* Do not resize the links column */
    width: 300px;
    flex-direction: unset;
}

.maincolumn {
    flex-basis: 0; /* use the full available width */
    flex-grow: 1;  /* auto expand as space is available */
}

.maincolumn table {
    display: table;
}

/* If the width is < 600px, change from a row container to a column container and put the first (links) column last (on the bottom) */
@media screen and (max-width: 600px) {
    .infopromain {
        flex-direction:column-reverse;
    }
}

#h1Resources {
    font-weight: normal;
    margin-bottom: 0px;
    display: inline-block; /* 04/25/22 JGW Keep the button and text on the same line */
    font-family: "tablet-gothic-semi-condensed", "Arial Narrow", sans-serif;
    font-size: 1.5em;
    letter-spacing: 1px;
    text-transform: none;
    /*color: #003976;  Put all color items in App_Themes */
}

.btnlinkstoggle { /* allow users to display / hide the links */
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 10px;
    margin-bottom: 0px;
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: 1px solid #a8a8a8 !important;
    display: inline-block;
}

/* Use MainColumn when the help column is displayed (width 300px) */
/*.maincolumn {*/
    /*margin-left: 300px;*/
    /*flex-basis: 0;
    flex-grow: 1;
    margin-right: 8px;
}*/
/* Use FullMainColumn when the help column is hidden */
/*.FullMainColumn {
    margin-left: 16px;
    margin-right: 16px;
}*/

/* Clear floats after the columns */
/*.row:after {
    content: "";
    display: table;
    clear: both;
}*/

 