html {
    background: #F9F9F9;
    font-family: Arial,Helvetica,sans-serif;
}

.card-body {
    margin: 0px 25px;
}

.nav-tabs .nav-item {
    width: 25%;
    background: #fff;
    border-radius: 0 !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    font-size: 18px;
    color: #FFFFFF;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
    border: 0px solid #E9EAEE;
    background-image: linear-gradient(270deg, #009BFD 0%, #0B254D 99%);
    box-shadow: 0px 4px 14px 0px rgb(0 154 253);
    padding: 12px;
}

.heading-forex-rates-container {
    display: none;
}

.nav-tabs .nav-item a {
    font-size: 18px;
    color: #009AFD;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
    height: 50px;
    padding: 12px;
    border: 0.5px solid #E9EAEE;
    border-radius: 0;   
}

.title_width {
    min-width: 80px;
}

.accordion {
    background: #F1F1F1;
}

.buy-section button.buy {
    width: 50px;
    margin-right: 5px;
    background: #009AFD;
    border-radius: 1px;
    border: 1px solid #009AFD;
    font-size: 14px;
    color: #FFFFFF;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
}

.buy-section button.buy:hover {
    background: #FFFFFF;
    color: #009AFD;
    border: 1px solid #009AFD;
}

.buy-section button.sell {
    width: 50px;
    margin-right: 5px;
    background: #0B254D;
    border-radius: 1px;
    border: 1px solid #0B254D;
    font-size: 14px;
    color: #FFFFFF;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
}

.buy-section button.sell:hover {
    background: #FFFFFF;
    color: #0B254D;
    border: 1px solid #0B254D;
}


.card {
    border: none !important;
    background: #F1F1F1 !important;
}

.nav-tabs {
    border-bottom: 10px solid #F1F1F1 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tab-content {
    position: relative;
    z-index: 1;
    background: #F1F1F1;
}

.tab-pane {
    position: relative;
    z-index: 5;
}

.bg-primary {
    background-color: #FFFFFF !important;
    margin: 10px 0px;
    border: 1px solid #F1F1F1;
}

.bg-primary:hover {
    text-decoration: none;
}

.bg-primary:nth-child(2n) {
    background-color: #FFFFFF !important;
}

.text-white {
    color: #666666 !important;
    font-size: 16px;
    letter-spacing: 0;
    text-align: center;
    font-weight: 700;
}

.btn {
    padding: 0rem 32px;
}

.btn-link:hover {
    text-decoration: none;
}

.table-bordered td,
.table-bordered th {
    text-align: center;
    font-size: 14px;
    color: #666666;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
    padding: 8px;
    border: none !important;
}

.table thead th {
    text-align: center;
    font-size: 14px;
    color: #666666;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
    border: none;
}

.right-arrow {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
    text-align: right;
    content: "";
    margin-left: 16px;
    width: 10px;
    height: 14px;
    background-size: cover;
    transition: .3s;
    background: url(../images/down.svg) no-repeat;
}

.card-header.show .right-arrow {

    background: url(../images/down-1.svg) no-repeat;
    margin-left: 10px;
    position: relative;
    top: 3px;
    width: 15px;
}

.btn-link[data-target="#collapse-tab-forex-major-AUDUSD"]:after {
    left: 28%;
}

.btn-link[data-target="#collapse-tab-forex-major-USDJPY"]:after {
    left: 35%;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent !important;
}

.table-bordered td.rates-up:before {
    content: "";
    display: block;
    width: 11px;
    height: 10px;
    float: left;
    transition-duration: 0.4s;
    transition-property: transform;
    background: url(../images/price-up.svg) no-repeat;
    margin: 7px 5px 0px 0px;
    position: relative;
}

.table-bordered td.rates-down:before {
    content: "";
    display: block;
    width: 11px;
    height: 10px;
    float: left;
    transition-duration: 0.4s;
    transition-property: transform;
    background: url(../images/price-down.svg) no-repeat;
    margin: 7px 5px 0px 0px;
    position: relative;
}

.table thead {
    border-bottom: 1px solid #009AFD;
}

.table thead tr {
    width: 1147px;
    height: 1px;
}

.card-header {
    border-bottom: none;
}

.card-header.show {
    background-image: linear-gradient(270deg, #009BFD 0%, #0B254D 99%);
    box-shadow: 0px 4px 14px 0px rgba(0,154,253,1);
}

.card-header.show .title_width {
    color: #FFFFFF;
}

.card-header.show .forex-rates-bid-time {
    color: #FFFFFF;
}

.card-header.show .forex-rates-bid-price {
    color: #FFFFFF;
}

.card-header.show .forex-rates-spread {
    color: #FFFFFF;
}

.card-header.show .forex-rates-ask-price {
    color: #FFFFFF;
}

.card-header.show .forex-rates-ask-time {
    color: #FFFFFF;
}

.table-bordered {
    border: none;    
}

.rates-up {
    color: lightgreen;
}

.rates-down {
    color: red;
}

.forex-rates-row,
.heading-forex-rates {
    float: left;
    width: 15%;
}

.forex-rates-bid-price,
.forex-rates-ask-price,
.heading-forex-rates-bid-price,
.heading-forex-rates-ask-price {
    width: 20%;
}

.heading-forex-rates-container {
    height: 70px;
    background: #fff;
    text-align: center;
    border-left: 1px solid #F1F1F1;
    border-right: 1px solid #F1F1F1;
}

.forex-rates-row {
    padding: 12px 0;
    font-weight: 700;
    color: #666666;
    text-align: center;
}

.forex-rates-bid-price {
    color: #0B254D;

}

.forex-rates-ask-price {
    color: #009AFD;

}

.heading-forex-rates {
    padding: 22px 0;
    font-weight: 300;
    color: #333333;
}

.heading-forex-rates-title {
    position: relative;
    left: -20px;
}

.forex-rates-title {
    padding: 3px;
} 

@media only screen and (max-width: 1250px) {
    .btn {
        padding: 0rem 26px;
    }
}

@media only screen and (max-width: 1215px) {
    .title_width {
    min-width: 75px;
    }
}

@media only screen and (max-width: 1110px) {
    .buy-section {
        display: flex;
    }

    .btn {
        padding: 0rem 11px;
    }
}

@media only screen and (max-width: 950px) {
    .btn {
        padding: 0rem 6px;
    }

    .title_width {
        min-width: 75px;
    }
}

@media only screen and (max-width: 890px) {
    .title_width {
        min-width: 70px;
    }

    .table-bordered td.rates-up:before {

    margin: 7px 0px 0px 0px;
    }
}

@media only screen and (max-width: 860px) {
    .title_width {
        min-width: 65px;
    }
}

@media only screen and (max-width: 850px) {
    .right-arrow {
        margin-left: 12px;
    }
}

@media only screen and (max-width: 810px) {
    .text-white {
    font-size: 15px;
    }

    .table thead th {
    padding: 20px 0 15px 0;
}

    .heading-forex-rates-title {
    position: relative;
    left: -5px;
    }

    .card-header.show .right-arrow {
    margin-left: 5px;
    }

    .table thead th:nth-child(2) {
        display: none;
    }

    .table thead th:nth-child(3) {
        display: none;
    }

    .table thead th:nth-child(9) {
        display: none;
    } 

    .table thead th:nth-child(10) {
        display: none;
    } 

    .table-bordered td:nth-child(2) {
        display: none;
    }

    .table-bordered td:nth-child(3) {
        display: none;
    }

    .table-bordered td:nth-child(9) {
        display: none;
    }

    .table-bordered td:nth-child(10) {
        display: none;
    }
}

@media only screen and (max-width: 780px) {
    .text-white {
    font-size: 14px;
    }
}

@media only screen and (max-width: 778px) {
    .title_width {
        min-width: 50px;
    }
}

@media only screen and (max-width: 768px) {
    .right-arrow {
        margin-left: 11px;
    }
}

@media only screen and (max-width: 767px) {
    .heading-forex-rates {
        font-size: 13px;
    }

    .forex-rates-row:nth-child(6) {
        display: none;
    }

    .forex-rates-row, .heading-forex-rates {
    width: 20%;
    }

    .text-white {
    font-size: 14px;
    }

    .right-arrow {
    margin-left: 2px;
    position: relative;
    top: 2px;
    margin-left: 9px;
    }

    .card-header.show .right-arrow {
    margin-left: 3px;
    }

    .table thead th {
    padding: 20px 0px 15px 10px;
    font-size: 12px;
    }
}

@media only screen and (max-width: 753px) {
    .right-arrow {
        margin-left: 8px;
    }
}

@media only screen and (max-width: 746px) {
    .right-arrow {
        margin-left: 7px;
    }
}

@media only screen and (max-width: 739px) {
    .right-arrow {
        margin-left: 6px;
    }

    .btn {
    padding: 0rem 0px;
    }    
}

@media only screen and (max-width: 720px) {
    .table thead th {
    padding: 20px 0 15px 10px;
    font-size: 12px;
    }

    .text-white {
    font-size: 13px;
    }

    .table thead th:nth-child(4) {
        width: 71px;
    }

    .table thead th:nth-child(8) {
        width: 75px;
    }

    .card-header.show .right-arrow {
    margin-left: 2px;
    }
}

@media only screen and (max-width: 700px) {
    .heading-forex-rates:nth-child(6) {
        display: none;
    }

    .forex-rates-row:nth-child(6) {
        display: none;
    }

    .forex-rates-row, .heading-forex-rates {
        float: left;
        width: 20%;
    }

}

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

    .table thead th {
        padding: 20px 0 15px 0;
    }

    .table thead th:nth-child(1){
        padding-right: 10px;
        position: relative;
    }
    .table-bordered td, .table-bordered th {
        padding: 5px 4px;
    }

    .table thead th:nth-child(4) {
        width: 125px;
    }

    .table-bordered td:nth-child(5) {
        width: 140px;
    }

    .table-bordered td:nth-child(7) {
        width: 140px;
    }

    .table thead th:nth-child(8) {
        width: 135px;
    }
  
}

@media only screen and (max-width: 665px) {
    .table-bordered td:nth-child(7) {
        width: 171px;
    }

    .table-bordered td:nth-child(5) {
        width: 170px;
    }

    .table thead th:nth-child(7) {
        display: none;
    }

    .table-bordered td:nth-child(7) {
        display: none;
    }
  
}

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

   .heading-forex-rates:nth-child(2) {
        display: none;
    }

    .forex-rates-row:nth-child(2) {
        display: none;
    }

    .forex-rates-row, .heading-forex-rates {
        width: 25%;
    }

    .table-bordered td, .table-bordered th {
        padding: 5px 35px;
    }

    .table thead th:nth-child(5) {
        display: none;
    }

    .table-bordered td:nth-child(5) {
        display: none;
    }

    .table thead th:nth-child(1) {
        padding-right: 0;
    }

    .card-body {
        width: 500px;
        margin: 0 auto;
    }
  
}

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

    .table-bordered td:nth-child(11) {
        display: none;
    }
  
}

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

    .table-bordered td, .table-bordered th {
        padding: 5px 35px;
    }

    .card-body {
        width: 460px;
        margin: 0 auto;
    }
  
}

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

    .table-bordered td, .table-bordered th {
        padding: 5px 30px;
    }

    .card-body {
        width: 400px;
        margin: 0 auto;
    }
  
}

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

    .text-white {
        font-size: 11px;
    }
    
    .forex-rates-row, .heading-forex-rates {
        width: 25%;
    }
    .table-bordered td, .table-bordered th {
        padding: 5px 15px;
    }
    .card-body {
        width: 300px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 375px) {
    
    .right-arrow {
        margin-left: 1px;
    }

    .card-header.show .right-arrow {
        margin-left: 2px;
    }

    .forex-rates-bid-price {
        font-size: 14px;
        position: relative;
        top: 2px;
    }

    .forex-rates-spread {
        font-size: 14px;
        position: relative;
        top: 2px;
    }

    .forex-rates-ask-price {
        font-size: 14px;
        position: relative;
        top: 2px;   
    }

}

@media only screen and (max-width: 360px) {
    
    .right-arrow {
        margin-left: 2px;
    }

    .card-header.show .right-arrow {
    margin-left: 2px;
    }

}

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

    .table-bordered td, .table-bordered th {
        padding: 5px 8px;
    }
    .card-body {
        width: 230px;
        margin: 0 auto;
    }

    .text-white {
        font-size: 11px;
    }
}
  