﻿@font-face {
    font-family: 'Montserrat';
    src: url('../../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

body, html {
    height: 100%;
    font-family: Montserrat;
}

h3 {
    font-family: Montserrat;
}

.row {
    margin: 0px;
}

#div-container {
    /*position: relative;
    text-align: left;
    color: black;
    padding: 0px;
    font-family: Montserrat;
    width: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;*/
}

#header-section {
    position: relative;
    margin-top: 5%;
    height: 90px;
    /*border-bottom: 0.5px solid black;*/
    width: 100%;
    padding-left: 5%;
    padding-right: 3%;
}

/*h2 {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 49px;*/
    /* identical to box height */
    /*letter-spacing: -0.02em;
    color: #000000;
}*/

    h2 {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
     font-size: calc(15px + 1vw);
    line-height: calc(20px + 1vw);
    /* identical to box height */
    letter-spacing: -0.02em;
    color: #000000;
    padding-top:2.5%;
}

#form-filter {
    padding-top: 2%;
}

    #form-filter .control-label {
        width: 90px;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
    }

    #form-filter .form-group {
        width: 120px;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
    }

    #form-filter .btn {
        height: 36px;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
        background: #003CD8;
        border: 0.2px solid #9CA2AD;
        border-radius: 6px;
        color: white;
    }

#ddlDate, #ddlZone {
    width: 120px;
    border: 1px solid #5B8FE2;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    height: 36px;
}

/*Table Style*/
#table-section {
    /*margin-top: 5%;*/
    padding-left: 5%;
    position: relative;
}

#gec_table {
    box-sizing: border-box;
    width: 95%;
    /*height: 445px;*/
    min-height: 350px;
    /*max-height: 400px;*/
    border: 3px solid #003CD8;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding-bottom: 10px;
    overflow:auto;
}

.divTable {
    width: 100%;
    /*height: 435px;*/
    display: table;
    table-layout: fixed;
    min-height: 100px;
}

.divBody {
    top: 5%;
    display: block;
    text-align: left;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    /* or 286% */
    color: #000000;
    /*height: 435px;*/
    /*max-height: 400px;*/
    /*overflow-y: scroll;*/
    height: 350px;
    overflow-y: auto;
    /*display: block;*/
}

.tableHeader {
    height: 40px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
    /* identical to box height, or 188% */
    text-align: left;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    color: #000000;
    /*position: sticky;
    display: table;*/
    width: 100%;
}


.tableRow {
    display: table-row;
    /*display: table;*/
    width: 100%;
    table-layout: fixed;
    max-height: 40px;
}

.tableCell, .tableHeader {
    display: table-cell;
    padding: 10px;
    width: 12%;
}

.tableHeader {
    border-bottom: 2px solid #5B8FE2;
    position: relative;
    text-align: left;
}

.divTableHeader {
    display: table-header-group;
    height: 75px;
    /*position: sticky;*/
}


.tbody {
    /*height: 400px;*/ /* Just for the demo          */
    /*overflow-y: auto;*/ /* Trigger vertical scroll    */
    overflow-x: hidden; /* Hide the horizontal scroll */
}

.imgFlag {
    height: 15px;
    width: 15px;
    padding: 5px;
}

.ddlMain {
    height: 34px;
    text-align: left;
    font-family: Montserrat;
    font-size: 14px;
}

    .ddlMain > option {
        height: 30px;
        text-align: left;
        font-family: Montserrat;
        font-size: 14px;
    }

/*.control-label{
    height:34px;
    margin-top:6px;
}*/

input {
    height: 34px;
}

.input-group {
    font-size: 14px !important;
}

#spotrates_table >table > tbody > tr:nth-of-type(even) {
    background-color: #D9D9D973;
}
.FwdRates > tr:nth-of-type(even) {
    background-color: #D9D9D973;
}
.LiborRates > tr:nth-of-type(even) {
    background-color: #D9D9D973;
}

#ohlc_table >table > tbody > tr:nth-of-type(even) {
    background-color: #D9D9D973;
}


#spotrates_table, #ohlc_table {
    max-height: 350px;
    overflow-y: scroll;
    height: 350px;
    /*margin-top:2%;*/
}

    #spotrates_table th , #ohlc_table th{
        font-family: Montserrat;
        font-size: 15px;
        font-weight: 600;
        line-height: 30px;
        letter-spacing: -0.02em;
        text-align: center;
        border-bottom: 2px solid #5B8FE2;
        padding: 10px 10px 5px 10px;
    }

    #spotrates_table td, #ohlc_table td {
        font-family: Montserrat;
        font-size: 14px;
        font-weight: 500;
        line-height: 30px;
        text-align: center;
        border: none;
        padding:5px;
    }

#forwardrates_table, #libor_table {
    /*max-height: 450px;*/
    overflow-y: scroll;
    height: 350px;
    width:100%;
    /*margin-top:2%;*/
}

    #forwardrates_table th, #libor_table th {
        font-family: Montserrat;
        font-size: 15px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: -0.02em;
        text-align: center;
        border-bottom: 2px solid #5B8FE2;
        padding: 10px 10px 5px 10px;
    }

    #forwardrates_table td, #libor_table td {
        font-family: Montserrat;
        font-size: 13px;
        font-weight: 500;
        line-height: 20px;
        text-align: center;
        border: none;
        padding:5px;
        /*border:0.5px solid #B1B1B1;*/
    }

#line_chart_spot, #line_chart_ohlc{
    height:300px;
    max-height:300px;
    /*padding-top:2%;*/
}

#chart-div{
    height:350px;
}

#line_chart_forward{
    height:200px;
    max-height:200px;
}
/*Scrollbar*/
/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #B1B1B1;
}

    /* Works on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 10px;
    }

    *::-webkit-scrollbar-track {
        background: #EEEEEE;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #B1B1B1;
        border-radius: 20px;
        border: 2px solid #EEEEEE;
    }

/*Scrollbar*/
.ms-dd-option-image {
    height: 15px !important;
    width: 15px !important;
}

.blue-btn {
    background: #003CD8;
    border: 0.5px solid #003CD8;
    border-radius: 8px;
    height:34px;
    width:109px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 30px;
    /* identical to box height, or 214% */
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.blue-btn:hover{
    background: #0a4eff;
    color:white;
    transition:0.3s;
     border: 0.5px solid #003CD8;
}

.blue-btn:active{
    background: #0a4eff;
    color:white;
    transition:0.3s;
     border: 0.5px solid #003CD8;
}
.blue-btn:focus{
    background: #003CD8;
    color:white;
    transition:0.3s;
     border: 0.5px solid #003CD8;
}

.red-btn{
    border: 0.5px solid #FB1E1E;
     background-color:white;
    border-radius: 8px;
    height:34px;
    width:82px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 30px;
    /* identical to box height, or 214% */
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FB1E1E;
}

.red-btn:hover{
    background: #FB1E1E;
    color:white;
    transition:0.3s
}

#export_excel {
    margin-top:5%;
    margin-right:3%;
}

#dataTbleID {
    max-height: 450px;
    overflow-y: scroll;
    height: 400px;
    width:100%;
    /*margin-top:2%;*/
}

    #dataTbleID th {
        font-family: Montserrat;
        font-size: 15px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: -0.02em;
        text-align: center;
        border-bottom: 2px solid #5B8FE2;
        padding: 10px 10px 5px 10px;
    }

    #dataTbleID td {
        font-family: Montserrat;
        font-size: 13px;
        font-weight: 500;
        line-height: 20px;
        /*text-align: left;*/
        border: none;
        padding:5px;
        /*border:0.5px solid #B1B1B1;*/
    }

    #dataTbleID> tbody > tr:nth-of-type(even) {
    background-color: #D9D9D973;
}

    .chart-title {
            text-align: center;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .legend {
            position: absolute;
            top: 10px;
            right: 15px;
            background: white;
            padding: 5px 10px;
            border: 1px solid #ccc;
            font-size: 14px;
        }

        .x-axis-label,
        .y-axis-label {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }

        .y-axis-label {
            position: absolute;
            left: 0;
            top: 50%;
            transform: rotate(-90deg);
            transform-origin: left top;
        }

    @media only screen and (min-width: 768px) and (max-width: 992px) {

    #header-section {
        position: relative;
        margin-top: 7%;
        /*border-bottom: 0.5px solid black;*/
        padding-left: 2%;
        padding-right: 3%;
    }

    table, tbody, tr, td {
    display: block;
    width: 100%;
  }

  td {
    margin-bottom: 10px;
  }
}




