

body
{
    background-color: #2f2929;
    margin: 0;
}


table 
{
    border-collapse: collapse;
}

td
{
    margin: 0;
    padding: 5px;
    background-color: inherit;
}

tr
{
    display: table-row;
    text-align: center;   
    vertical-align: inherit;
    border-color: inherit;
}

th
{
    display: table-cell;
    border-color: inherit;
    padding: 10px;
    color: white;
    background-color: #0000FF;
    font-weight: bold;
    text-align: center;
    vertical-align: inherit;
}


.inlineheader
{
    display: table-cell;
    border-color: inherit;
    padding: 10px;
    color: white;
    background-color: #0000FF;
    font-weight: bold;
    text-align: center;
    vertical-align: inherit;
}

.bull
{
    color: white;
    background-image: linear-gradient(#33ff66, #00cc33, #008020);
    font-weight: bold;
}


.bear
{
    color: white;
    background-image: linear-gradient(#CC0000, #990000, #800000);
/*    background-color: #AF0000; */
    font-weight: bold;
}

.rowheader
{
    color: white;
    background-image: linear-gradient(#808080, #262626, #000000);
    font-weight: bold;
}

.noborders 
{
    border:0;
}

input[type=button], input[type=submit], input[type=reset]
{
    border: none;
    color: black;
    /* color: white; */
    cursor: pointer;
    width: 175px;
    height: 30px;
    font-size: 15px;
    font-weight: bold;
    line-height: 0;
    border-radius: 25px;
    /* background-image: linear-gradient(#808080, #262626, #000000); */
    background-image: linear-gradient(#808080, #b8b6b6, #e9e9e9);
}

#GetChartButton
{
    border: none;
    color: black;
    cursor: pointer;
    width: 100px;
    height: 25px;
    font-size: 14px;
    font-weight: bold;
    line-height: 0;
    border-radius: 5px;
    background-image: linear-gradient(#808080, #b8b6b6, #e9e9e9);
}

#ResetChartScale
{
    border: none;
    color: black;
    cursor: pointer;
    width: 50px;
    height: 25px;
    font-size: 14px;
    font-weight: bold;
    line-height: 0;
    border-radius: 5px;
    background-image: linear-gradient(#808080, #b8b6b6, #e9e9e9);
}

/* #ResetChartScale
{
  background: url('../charts/images/refresh.png') 0 0 no-repeat;
  height: 18px;
  width: 18px;
  border: none;
  cursor: pointer;
  padding: .7rem .7rem 0 0;
} */

.star
{
    width: 50px;
    height: 50px;
}

.message-of-day p
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    color: black;
}


.stats-table
{
    border: 1px solid black;
    align-content: left;
}

.table-header
{
    display: table-cell;
    border-color: inherit;
    padding: 10px;
    color: white;
    background-color: #545455;
    font-weight: bold;
    text-align: center;
    vertical-align: inherit;
}

/* Header Menu with Dropdown */

.header-logo
{
    background-color:white;
    height: 36px;
    width:66px;
    /* justify-content: left;
    align-items: left; */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 20px;
    margin-right: 40px;
    border-radius: 5px;
}

header
{
    position: sticky;
    top: 0;
    z-index: 5;
}

 .menu-bar
 {
    background-color:  #4A4A4A;
    text-align: center;
    height: 55px;
    display: flex;
    /* border-radius: 5px; */
    width: 100%;
    /* justify-content: left; */
    /* align-items: left; */
    /* flex-direction: row; */
    /* text-size-adjust: auto; */
 }

 .menu-bar ul
 {
     display: inline-flex;
     list-style: none;
     color: #9F9B9B;
     color: black;
     /* padding-top: 1px; */
 }
 
 .menu-bar ul li
{
    height: 25px;
    width: 170px;
    margin-right: 8px;
    margin-top: 1px;
    margin-bottom: 1px;
    color: black;
    background-color: #dcdcdc;
    border-radius: 5px;
    font-size: 1.2em;
    /* padding-top: 1px; */
}

.menu-bar ul li a
{
    color: inherit;
    text-decoration: none;
    padding-top: 10px;
}

.sub-menu-1
{
    display: none;
}

.active,  .menu-bar ul li:hover
{
    background-color: #c4cdfc;
    border-radius: 8px;
    margin-top: 2px;
    z-index: 7;
}

.menu-bar ul li:hover .sub-menu-1
{
    display: block;
    position: absolute;
    background-color:#4A4A4A;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: -40px;
    /* font-weight: bold; */
    font-size: .75em;
    white-space: nowrap;
    z-index: 11;
    border-radius: 8px;

}

.menu-bar ul li:hover .sub-menu-1 ul
{
    display: block;
    position: relative;

}

.main-wrapper
{
    min-height: calc(100vh - 110px - 105px);
}

.main-section
{
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    min-width: 540px;
    min-height: 300px;
    /* width: fit-content; */
    z-index: 1;
    padding-bottom: 50px;
    margin-left: 10px;
    margin-right: 10px;
}


.grid-container
{
    width: 95vw;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:1em;
    min-height: fit-content;
    margin-bottom: 30px;
}

.iframe-container 
{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: none;
}

.iframe-content
{ 
    flex-grow: 1;
    border: none;
    margin: 0;
    padding: 0;
}

.grid-member 
{
  margin: 0;
  padding: 0;
  position: relative;
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  width: fit-content;
}  
 
/* .grid-member figcaption 
{
    position: absolute;
    top: 1em;
    bottom: 1em;
    right: 1em;
    left: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
} */



.main-section-columns
{
    display: block;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    /* min-width: 540px; */
    /* min-height: 300px; */
    width: fit-content;
    /* z-index: 1; */
    padding-bottom: 10px;
    /* margin-left: 10px; */
    position: relative;
}


.main-section-title
{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

footer
{
    background-color:#4A4A4A;
    color: white;
    width: 100%;
    z-index: 10;
    display: flex;
    align-content: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
}

footer img
{
    width: 60px;
    height: 35px;
    border-radius: 9px;
    padding: 6px;
}

footer p
{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}


/* Tabs */

input.input-tabs
{
    display: none;
}

input.input-tabs + label
{ 
    display: inline-block
}

input.input-tabs ~ .tab 
{
    display: none
}

#tab1:checked ~ .tab.content1,
#tab2:checked ~ .tab.content2,
#tab3:checked ~ .tab.content3
{ 
    display: block;
}

input.input-tabs + label
{
  border: 1px solid #999;
  background: #EEE;
  padding: 4px 12px;
  border-radius: 4px 4px 0 0;
  position: relative;
  top: 1px;
  z-index: 2;
}

input.input-tabs:checked + label
{
  background: #FFF;
  border-bottom: 1px solid transparent;
  z-index: 2;
}

input.input-tabs ~ .tab
{
  border-top: 1px solid #999;
  padding: 12px;
  z-index: 2;
}

@media screen and (max-width:1550px)
{

    
    body
    {
        background-color: #2f2929;
        margin: 0;
        width: fit-content;
    }
    /* Header Menu with Dropdown */

    .header-logo
    {
        background-color:white;
        /* height: 36px;
        width: 66px; */
        height: 56px;
        width: 85px;
        /* justify-content: left;
        align-items: left; */
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 20px;
        margin-right: 40px;
        border-radius: 5px;
    }

    .header-image
    {
        height: auto;
        width: 65px;
    }

    header
    {
        position: sticky;
        top: 0;
        z-index: 5;
        /* width: 100%; */
        min-width: 100%;
        width: fit-content;
    }

    .menu-bar
    {
        background-color:  #4A4A4A;
        text-align: center;
        height: fit-content;
        display: flex;
        /* border-radius: 5px; */
        width: 100%;
        /* justify-content: left; */
        /* align-items: left; */
        /* flex-direction: row; */
        /* text-size-adjust: auto; */
    }

    .menu-bar ul
    {
        display: inline-flex;
        list-style: none;
        color: #9F9B9B;
        color: black;
        /* padding-top: 1px; */
    }
    
    .menu-bar ul li
    {
        /* height: 25px;
        width: 170px; */
        height: 55px;
        width: fit-content;
        margin-right: 8px;
        margin-top: 1px;
        margin-bottom: 1px;
        color: black;
        background-color: #dcdcdc;
        border-radius: 5px;
        font-size: 1.75em;
        /* font-size: 2.3em; */
        /* font-size: 1.2em; */
        /* padding-top: 1px; */
    }

    .menu-bar ul li a
    {
        color: inherit;
        text-decoration: none;
        padding-top: 10px;
    }

    .sub-menu-1
    {
        display: none;
    }

    .active,  .menu-bar ul li:hover
    {
        background-color: #c4cdfc;
        border-radius: 8px;
        margin-top: 2px;
        z-index: 7;
    }

    .menu-bar ul li:hover .sub-menu-1
    {
        display: block;
        position: absolute;
        background-color:#4A4A4A;
        margin-top: 8px;
        margin-bottom: 8px;
        margin-left: -40px;
        /* font-weight: bold; */
        /* font-size: 12px; */
        font-size: .75em;
        white-space: nowrap;
        z-index: 11;
        border-radius: 8px;

    }

    .menu-bar ul li:hover .sub-menu-1 ul
    {
        display: block;
        position: relative;

    }

    .main-section
    {
        background-color: white;
        padding: 5px;
        border-radius: 5px;
        /* width: 100vw; */
        height: fit-content;
        z-index: 1;
        padding-bottom: 5px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .stats-table
    {
        border: 1px solid black;
        align-content: left;
        font-size: 2em;
    }
}