*{
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding-top: 40px;
    margin: 0;
    background: #e2e2e2;
}


.header {
    display: flex;
    height: 200px;
    background: url('/images/bg.jpg') center center no-repeat scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.header h1 {
    color: #ffffff;
    background-color: rgba(34, 34, 34, 0.8);
    border-radius: 4px;
    padding: 30px 8px;
    text-align: center;
    font-size: 22px;
    width: 100%;
}

.header .container{
    display: flex;
    align-items: center;
}

footer {
    padding: 18px 0;
    background-color: #1c1c1c;
    color: #ffffff;
    font-size: 12px;
}
.text-center {
    text-align: center;
}
.navigation{
    position: fixed;
    z-index: 999;
    left:0;
    right: 0;
    top:0;
    background-color: #222;
    color: #9d9d9d;
}

a.logo {
    color: #9d9d9d;
    text-decoration: none;
    line-height: 50px;
    display: flex;
    font-weight: bold;
}

a.logo span{
    display: inline-block;
}
a.logo span:first-child{
    margin-right: 4px;
    color: #036abf;
}

a.logo span:last-child{

}

.center{
    text-align: center;
}
.text-justify{
    text-align: justify;
}

.exchanger{
    border-top: 4px solid #4882f6;
    border-radius: 14px;
    margin-bottom: 24px;
    padding: 8px 17px;
    background-color: #fff;

    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
}

.exchanger-logo{
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    margin-bottom: 14px;
    padding: 8px;
}

.exchanger-logo img{
    max-width: 100%;
    object-fit: contain;
}

.exchanger-name{
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #0787df;
}
.rates-table{
    width: 100%;
    border-collapse: collapse;
}
.rates-table th{
    font-size: 12px;
}
.rates-table tbody td{
    padding: 10px 0;
}
.rates-table tbody tr:nth-child(odd) {
    background-color: #dcdcdc;
}

.rates-table th:nth-child(1){
    text-align: left;
    padding-right: 4px;
}

.rates-table th, .rates-table td{
    vertical-align: middle;
}

.rates-table tbody td:first-child img{
    border-radius: 3px;
    vertical-align: middle;
}

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

.rates-table td:nth-child(1), .rates-table td:nth-child(2) {
    width: 1%;
    white-space: nowrap;
    padding: 0;
}

.rates-table td:nth-child(2){
    font-weight: bold;
    color: #656363;
}

.rates-table td:nth-child(3), .rates-table td:nth-child(4){
    font-size: 20px;
    font-weight: bold;
}

.rates-table tbody td:last-child, .rates-table thead th:last-child{
    padding-right: 6px;
}

.info{
    background-color: #fff;
    padding: 14px 11px;
    border-left: 6px solid #4882f6;
}

.update-time{
    margin: 8px 0;
    text-align: center;
    color: #c53838;
}

.update-time.updated{
    color: #187300;
}

.article{
    background-color: #ffffff;
    padding: 4px 25px;
    border-top: 4px solid #000;
    border-radius: 14px;
    margin-bottom: 22px;

    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
}
.article a{
    color:#0c4d99;
    text-decoration: none;
    font-weight: bold;
}
.copyright{
    padding: 13px 4px 8px 4px;
    background-color: #000000;
    color: #dcdcdc;
}
.copyright p {
    margin:0 0 4px 0;
    text-align: center;
    font-size: 12px;
}

footer .footer-links{
    padding:0;
    margin:0;
}
footer .footer-links li{
    display: block;
    margin-bottom: 12px;
}

footer .footer-links li a{
    font-size: 12px;
    color: #fff;
    text-decoration: none;
}

footer .logo{
    font-size: 22px;
}

footer .about-us{
    text-align: justify;
}

footer h2{
    color:#b7b7b7;
}



/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/
@media only screen and (max-width: 300px) {
    footer {
        text-align: center;
    }

    footer .logo{
        display: block;
    }
    footer .about-us{
        text-align: center;
    }
}
/* Custom, iPhone Retina */
@media only screen and (max-width: 480px) {
    footer {
        text-align: center;
    }
    footer .logo{
        display: block;
    }
    footer .about-us{
        text-align: center;
    }
}
/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) and (max-width: 768px) {
    footer {
        text-align: center;
    }
    footer .logo{
        display: block;
    }
    footer .about-us{
        text-align: center;
    }
}
/* Small Devices, Tablets */
@media only screen and (min-width: 768px) and (max-width: 992px) {
}
/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) and (max-width: 1200px) {

}
/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}