
*{
    box-sizing: border-box;
}

body{
    background-color: #1a1c1e;
    color: #6d7a88;
    font-weight: 300;
    font-size: 14px;

    font-family: Lato,Helvetica,sans-serif;
}

.container {
    display: block;
    margin: 0 auto;

    max-width: 1000px;
    width: 100%;
}

::selection {
    background-color: #000000;
    color: #f70100;
}

::-webkit-scrollbar {
    background-color: #4b4b4b;
    display: block;
    visibility: visible;
    width: 6px;
}
::-webkit-scrollbar-thumb {
    background-color: grey;
}
body{
    padding: 0;
    margin: 0;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 14px;
    margin-bottom: 8px;
}
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.logo{
    display: block;
    font-size: 30px;
    font-weight: bold;
    color: #f70100;
    white-space: nowrap;
    text-decoration: none;
}

header .logo{
    text-align: center;
}


.rates-table tbody tr:hover{
    background-color: #212429;
    cursor: pointer;
}
.rates-table tr td:nth-child(1) img{
    width: 60px;
    border-radius: 8px;
}

.rates-table tr td {
    vertical-align: middle;
}
.rates-table tr td:nth-child(1), .rates-table tr td:nth-child(2){
    width: 0;
    white-space: nowrap;
}

.rates-table tr td:nth-child(3), .rates-table tr td:nth-child(4){
    line-height: 24px;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
}

.rates-table tr td:nth-child(3), .rates-table tr td:nth-child(4), .rates-table tr th:nth-child(3), .rates-table tr th:nth-child(4){
    text-align: right;
}

.rates-table tbody td{
    border-top: 1px solid #212529;
}

.rates-table tr th:nth-child(2){
    text-align: left;
}

.rates-table thead th, .rates-table tbody td{
    padding: 6px 8px
}

.rates-table thead th:first-child, .rates-table tbody td:first-child{
    padding-left: 14px
}
.rates-table thead th:last-child, .rates-table tbody td:last-child{
    padding-right: 14px
}

.rates-table thead th{
    padding-top: 14px;
    padding-bottom: 14px;
}
.history-table{
    margin-top:12px;
}
.history-table tr td:nth-child(2), .history-table tr td:nth-child(3){
    line-height: 24px;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    text-align: right;
    width: 30%;
}

.panel.rates-table .currency-code {
    line-height: 24px;
    font-size: 22px;
    font-weight: 900;
    color: #cfcfcf;
    padding: 0;
    margin: 0;
    margin-bottom: 4px;
}
.currency-name{
    font-size: 12px;
    color: #6d7a88;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

header{
    margin-bottom: 20px;
    padding-top: 20px;
}

footer{
    margin-top:20px;
    background-color: #000;
    padding:20px;
    padding-bottom:0;
}
.copyright-block{
    text-align: center;
    padding-top: 12px;
    padding-bottom: 4px;
}
footer ul.footer-menu{
    padding:0;
}
footer ul.footer-menu li{
    list-style: none;
    display: block;
    padding:4px 0;
}
footer ul.footer-menu li a{
    color:#96a2b4;
}

.about-us{
    text-align: justify;
}
.about-us span{
    font-weight: 900;
    font-size: 16px;
}

.rates-table tbody td .difference-container{
    font-size: 12px;
}

.panel {
    background-color: #292e34;
    border-radius: 12px;
    margin-bottom: 22px;
}

.panel .panel-body {
    padding: 20px 8px;
}

.text-right{
    text-align: right;
}

#chart {
    height: 200px;
}
#chart {
    font-size: 10px;
}
.panel h2{
    font-size: 14px;
    margin-bottom: 8px;
}

.panel .panel-head{
    padding-top: 11px;
    padding-left: 17px;
    padding-right: 17px;
}

.panel p{
    font-size: 12px;
    margin: 0;
}
.morris-hover.morris-default-style{
    font-size: 11px;
}
.history{
    width: 100%;
}
.history tr td:nth-child(2), .history tr td:nth-child(3){
    text-align: right;
}
.article{
    padding-top: 20px;
}