.container-cotacao div,
.container-cotacao td,
.container-cotacao * {
    font-family: 'Arial', sans-serif;

}
.container-cotacao {
    background-color: #003340;
    display: flex;
    flex-direction: column;
    position: relative;
}

.container-cotacao.expand {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9;
}

.container-cotacao>i {
    font-family: 'Font Awesome 5 Free';
    font-size: 18px;
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    cursor: pointer;
 }

.header-cotacao {
    display: flex;
    flex-direction: row;
    min-height: 10vh;
    overflow: auto;
    height: 10vh;
    padding: 10px;
}

.header-cotacao>div {
    flex: 1;
}

.body-cotacao {
    display: flex;
    flex-direction: row;
}

.curva-dolar {
    width: 33%;
    padding: 0 10px;
}

.ativos-cotacao {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ativos-cotacao>div{
    display: flex;
    flex-direction: row;
    flex: 1
}

.ativos-cotacao>div>table:nth-child(2) {
    width: 35%;
}
.ativos-cotacao>div>table:nth-child(3) {
    width: 25%;
}
.ativos-cotacao>div>table:nth-child(4) {
    width: 20%;
}
.ativos-cotacao>div>table:nth-child(5) {
    width: 20%;
}

.cotacao-title {
    font-size: 1.7vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dolar-title {
    font-weight: bold;
    color: white;
    text-align: center;
}

.d-title {
    font-size: 3vh;
    position: relative;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.d-title i {
    
    background-image: url('../../../../dollar.png');
    width: 4vh;
    height: 4vh;
    /*position: absolute;*/
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    bottom: 0;
    max-height: 4vh;
    /*right: -5px;*/
}

.info-dolar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.valor-dolar {
    font-size: 2.4vh;
}

.percentual-dolar {
    font-size: 2.2vh;
    color: #69a953;
    align-self: end;
    margin-left: 5px;
}

.negativo {
    color: #d8b39e;
}

.logo-royal {
    background-image: url('../../../../royal_rural.png');
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

.table-infos {
    width: 100%;
    /*min-width: 230px;*/
    border-collapse: collapse;
    margin-bottom: 0px;
    border: 1px solid #5a5957;
}
.table-infos thead th {
    color: #023340;
    background-color: #5a5957;
    font-weight: bold;
    padding: 5px;
    text-align: center;
}
.table-infos .table-header-bold {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

.table-infos .tbody .tr:nth-child(odd) .td {
    background: #032a36;
}
.table-infos .tbody .tr:nth-child(even) .td {
    background: #023340;
}

.td[id*=mesano] {
    font-style: italic;
    font-weight: bold;
}
.table-infos .tbody .tr .td {
    padding: 2px;
    color: white;
    text-align: center;
}

.curva-dolar .table-header-bold {
    text-align: center;
}

.table-infos .tbody .tr .td.value_orange {
    color: #d8b39e;
}

.table-infos .tbody .tr .td.value_green {
    color: #78ad6f;
}

.table-infos .tbody .tr .td.value_white {
    color: white;
}

.percentual-dolar.transition.value_white,
.table-infos .tbody .tr:nth-child(odd) .td.transition.value_white {
    animation: white_odd_transition 1s;
}
.table-infos .tbody .tr:nth-child(even) .td.transition.value_white {
    animation: white_even_transition 1s;
}

.percentual-dolar.transition.value_green,
.table-infos .tbody .tr:nth-child(odd) .td.transition.value_green {
    animation: green_odd_transition 1s;
}
.table-infos .tbody .tr:nth-child(even) .td.transition.value_green {
    animation: green_even_transition 1s;
}

.percentual-dolar.transition.value_orange,
.table-infos .tbody .tr:nth-child(odd) .td.transition.value_orange {
    animation: orange_odd_transition 1s;
}
.table-infos .tbody .tr:nth-child(even) .td.transition.value_orange {
    animation: orange_even_transition 1s;
}

@keyframes white_odd_transition {
    0%{
        color: white !important;
        background: #032a36;
    }
    50%{
        background: white ;
        color: #333  !important;
    } 
    100% {
        color: white  !important;
        background: #032a36;
    }
}

@keyframes white_even_transition {
    0% {
        color: white !important;
        background: #023340;
    }
    50% {
        background: white ;
        color: #333  !important;
    }
    100% {
        color: white  !important;
        background: #023340;
    }
}



@keyframes orange_odd_transition {
    0%{
        color: #d8b39e !important;
        background: #032a36;
    }
    50%{
        background: #d8b39e ;
        color: white  !important;
    } 
    100% {
        color: #d8b39e  !important;
        background: #032a36;
    }
}

@keyframes green_odd_transition {
    0%{
        color: #78ad6f !important;
        background: #032a36;
    }
    50%{
        background: #78ad6f ;
        color: white ;
    }
    100% {
        color: #78ad6f  !important;
        background: #032a36;
    }
}

@keyframes orange_even_transition {
    0% {
        color: #d8b39e !important;
        background: #023340;
    }
    50% {
        background: #d8b39e ;
        color: white  !important;
    }
    100% {
        color: #d8b39e  !important;
        background: #023340;
    }
}

@keyframes green_even_transition {
    0% {
        color: #78ad6f !important;
        background: #023340;
    }
    50% {
        background: #78ad6f ;
        color: white !important;
    }
    100% {
        color: #78ad6f !important ;
        background: #023340;
    }
}


/*PARIEDADE*/



.container-pariedade  div,
.container-pariedade  td,
.container-pariedade  * {
    font-family: 'Questrial', sans-serif;
}
.container-pariedade {
    display: flex;
    flex-direction: column;
}

.section-pariedade>div {
    flex: 1;
}
.section-pariedade {
    display: flex;
    flex-direction: row;
}

.info {
    display: flex;
    flex-direction: column;
    text-align: center;
    flex: 1;
    margin-left: 10px;
}

.table-blue,
.table-grey,
.table-pariedade {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 16px;
}

.logo-royal-colorido {
    background-image: url('../../../../royal_rural_colorido.png');
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.data-pariedade {
    font-size: 22px;
    padding: 10px;
}

.pariedade-nao-autorizado {
    background: #00313f;
    color: white;
    font-size: 12px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.table-pariedade-subtitle,
.table-pariedade .thead .th {
    text-align: center;
    font-weight: bold;
    color: white;
    background-color: #004345;
    font-size: 16px;
    border-left: 1px solid #004345;
    border-right: 1px solid #004345;
}

.table-grey,
.table-blue {
    height: calc( 100% - 10px);
    width: 150px;
}
.table-blue thead th {
    color: white;
    background-color: #003a4a;
}

.table-grey .thead .th {
    color: black;
    background-color: lightgray;
}

.table-blue .tbody .td {
    color: white;
    background-color: #003a4a;
}

.table-grey .tbody .td {
    color: #333;
    background-color: lightgray;
}

.table-grey .td,
.table-blue .td,
.table-blue .th,
.table-pariedade .td,
.table-pariedade .th {
    padding: 5px 8px ;
    text-align: center;
}

.table-pariedade .td {
    border-left: 1px solid #004345;
    border-right: 1px solid #004345;
    border-top: 1px solid lightgray;
}

.table-pariedade .tr:nth-last-child(1) .td {
    border-bottom: .5px solid #004345;
    font-weight: bold;
}

.table-pariedade tbody tr td:nth-child(1) {
    text-align: left;
}
.table-pariedade-title {
    font-size: 22px !important;
}

.table-pariedade-info {
    background-color: lightgrey;
    color: #004345;
}

.table-blue .thead .tr:first-child .th {
    line-height: 1.25;
    font-size: 18px;
    width: 150px;
    padding-top: 10px;
}

.tables-royals {
    flex: 1;
    flex-direction: row;
    display: flex;
}

.table-grey .td,
.table-grey .th {
    border: 1px solid #333;
}

.table-grey {
    width: 100%;
    text-align: center;
}

@media only screen and (max-width: 700px)  {
   .td,.th {
        height: calc( 60vh / 29) !important;
    }
}

.td,.th {
    flex: 1;
    text-align: center;
    height: calc( (90vh - 15px) / 29);
    padding: 0px !important;
    align-items: center;
    justify-content: center;
    display: flex;
}
.tr {
    display: flex;
    flex-direction: row;
}



@media only screen and (max-width: 500px)  {
    .paridade th:nth-child(5),
    .paridade td:nth-child(5),
    .paridade th:nth-child(4),
    .paridade td:nth-child(4) {
        display: none;
    }
    
    .paridade input {
        width: 120px;
    }

   .container-cotacao.expand {
       margin-top: 50px;
       z-index: 1 !important;
   }
   
   .control-font {
        gap: 14px;
        display: flex;
        padding: 2px;
        font-size: 10px;
        margin-bottom: -10px;
    }
}

[page_name="GraficoView"] {
    position: relative;
}

[page_name="GraficoView"].expand iframe {
    height: 100vh !important;
}

[page_name="GraficoView"].expand {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    background-color: white;
}

#expand-grafico {
    position: absolute;
    right: 25px;
    cursor: pointer;
    top: 20px;
    color: white;
    z-index: 909999999;
    font-size: 21px;
}

#info-grafico {
    position: absolute;
    right: 20px;
    cursor: pointer;
    bottom: 54px;
    color: white;
    z-index: 909999999;
    font-size: 21px;
}

.container-submenu ul li img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    object-position: center;
    margin-right: 3px;
}