/* LME Plugin Styles  */
div#info_box {
    display: grid;
    grid-template-columns: 1fr auto;
}

div#varbox_container {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr; */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

div.lme-varbox {
    text-align: center;
    margin: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

div.lme-title {
    background: grey;
    color: white;
    grid-column: 1 / -1;
}

div.lme-value {
    background: #d1d1d1;
    line-height: 1em;
    padding: 4px;
}

div.lme-value p {
    margin-bottom: 0;
}

div.lme-variation {
    background: #e8e8e8;
    grid-column: 1 / -1;
    font-size: 1.4em;
    font-weight: bold;
    padding: 5px;
}

#lme_month {
    min-width: 350px;
    position: relative;
    margin: 5px;
    vertical-align: top;
    height: auto;
}

select {
    appearance: none;
    /*  safari  */
    -webkit-appearance: none;
    /*  other styles for aesthetics */
    width: 99%;
    font-size: 1.15rem;
    padding: 0.675em 6em 0.675em 1em;
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 0.25rem;
    color: #000;
    cursor: pointer;
}
  
#lme_month::before,
#lme_month::after {
--size: 0.3rem;
content: "";
position: absolute;
right: 1rem;
pointer-events: none;
}

#lme_month::before {
border-left: var(--size) solid transparent;
border-right: var(--size) solid transparent;
border-bottom: var(--size) solid black;
top: 40%;
}

#lme_month::after {
border-left: var(--size) solid transparent;
border-right: var(--size) solid transparent;
border-top: var(--size) solid black;
top: 55%;
}

table.dataframe, .dataframe th, .dataframe td {
    border: none;
    border-bottom: 1px solid #d1d1d1;
    border-collapse: collapse;
    text-align: left;
    padding: 10px;
    margin-bottom: 0px !important;
    /*font-size: 0.9em;*/
}

thead tr th:first-child, tbody tr td:first-child {
    width: 150px;
    min-width: 10em;
    /* 	  max-width: 10em; */
    /* 	  word-break: break-all; */
}

.cotacaolme th {
    background-color: #D4C97E;
    color: black;
}

.cotacaolme thead tr:nth-of-type(2) {
    display: none;
}

tr:nth-child(odd) {
    background-color: #eee;
}

tr:nth-child(even) {
    background-color: #fff;
}

tr:hover {
    background-color: #e0e1b7;
}

.mediasemana th {
    background-color: #FAF9AD;
    border-bottom: 1px solid #fafbdd;
    color: black;
}

.mediasemana td {
    background-color: #FAF9AD;
    border-bottom: 1px solid #fafbdd;
}

.mediaperiodohor th {
    background-color: #e0e1b7;
    border-bottom: 1px solid #e0e1b7;
}

.mediaperiodohor td {
    background-color: #e0e1b7;
    border-bottom: 1px solid #e0e1b7;
}

tr>th:first-child,tr>td:first-child {
    position: sticky;
    left: 0;
    background: #eee;
  }
  
  tr:nth-child(odd) td {
     background: #eee;
  }

  tr:nth-child(even) td {
     background: #fff;
  }

  tr:hover {
    background-color: #e0e1b7;
}
