.currency-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 17px;
}

.all.currency-table tr.val_USD,
.all.currency-table tr.val_EUR,
.all.currency-table tr.val_CNY,
.all.currency-table tr.val_KZT,
.all.currency-table tr.val_BYN{
        font-weight: bold;
}
.all.currency-table tr:nth-child(2n){
        background: #93939314;
}
.all.currency-table td:nth-child(1){
    padding:0;
}

.all.currency-table td:nth-child(1),
.all.currency-table td:nth-child(2),
.all.currency-table td:nth-child(4),
.all.currency-table td:nth-child(5){
    text-align: center;
}
.all.currency-table th:nth-child(1),
.all.currency-table th:nth-child(2),
.all.currency-table th:nth-child(3){
          border: none;
    background: none;
}
.all.currency-table th {
         background: #f5f5f5;
    padding: 1px;
    border: 1px solid #ddd;
    font-style: italic;
    font-weight: 500;
    text-align: center;
}
.all.currency-table td {
    padding: 8px;
    border: 1px solid #ddd;
}
.currency-table.all .fi{
    width: 26px;
    line-height: 26px;
}
.currency-table.all .fi.fis{
    
}
.currency-date-form{
    margin: 20px 0 -25px 23px;
}


.tpl_currency .content{
        font-size: 14px !important;
    text-align: justify;
    color: #595959;
    margin: 40px 0 0;
}
.tpl_currency h3.news{
        text-align: center;
    margin: 35px 0 25px;
}
.tpl_currency .plat .color-green { color: green; }
.tpl_currency .plat .color-red { color: red; }


.currency-widget{
    width: 100%;
    height: auto;
    overflow: hidden;
}
.currency-box .fi{
    width: 36px;
    line-height: 36px;
    position: absolute;
    left: 0;
    top: 0;
}
.currency-box:nth-child(6){

    display:none;
}
.currency-box:nth-child(5){
     margin-right: 0;
}
.currency-box{
       border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    width: 19%;
    float: left;
    margin-right: 1.25%;
    position:relative;
}
.currency-box .currency-code{
    font-weight:bold;
}
.currency-box .currency-rate{
    font-size:1.2em;
}
.currency-box .currency-diff{
    margin-top:5px; 
    font-size:0.9em;
}
.small-decimal{
    font-size:0.7em;
}


#currency-converter .bottom{
    margin: 22px 0px 5px;
}
#currency-converter {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
	background: #ededed;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#currency-converter h2 {
    text-align: center;
    margin: 5px 0 18px;
    text-transform: uppercase;
    color: #7d7d7d;
    font-size: 20px;
}

.converter-fields {

}

.converter-field {
        width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 7px;
}

.converter-field label {
    font-weight: bold;
    margin-bottom: 4px;
    width: 35px;
}

.converter-field .part {
    width: 100%;
}
.converter-field input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: calc(98% - 40px);
    margin-left: 2%;
}

.converter-field .cur-name {
       font-size: 12px;
    color: #555;
    margin-top: 2px;
    float: right;
    margin-right: 11px;
    font-weight: 600;
}

#add-currency{
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    width: 68%;
}

#add-currency-btn {
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
}

#add-currency-btn {
    background: #ec243f;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 30%;
        height: 35px;
}

#add-currency-btn:hover {
    background: #db1e38;
}



@media(max-width:1199px){
    
    .currency-date-form {
        margin: 20px 0 -25px 0px;
    }
    
    .currency-date-form label {
        display: none;
    }


    .currency-box .fi {
        width: 26px;
        line-height: 26px;
    }
    
    .tpl_currency .tpl_article_list:nth-child(20),
    .tpl_currency .tpl_article_list:nth-child(19),
    .tpl_currency .tpl_article_list:nth-child(18){
        display:none;
    }

    
}


@media(max-width:991px){
     .row.orders{
         display: flex;
         flex-direction: column; /* или row */
     }
     
    .row.orders .sb_right{
        order:1;
    }
    .row.orders .plat{
        order:2;
    }
    
     .tpl_currency .tpl_article_list:nth-child(n+6){
        display:none;
    }
    
}

@media(max-width:767px){

    .currency-box {
        width: 32%;
        margin-bottom: 1.25%;
    }
    .currency-box:nth-child(5){
            margin-right: 1.25%;
    }
    .currency-box:nth-child(6){

        display:block;
            margin-right: 0;
    }
    
    
    
}
@media(max-width:550px){
    #currency-converter {
    margin: 0px auto 20px auto;

}
    .all.currency-table th:nth-child(3),
    .all.currency-table td:nth-child(3){
        display:none;
    }
    .currency-date-form {
        margin: 15px auto 20px auto;
        width: max-content;
        order: 2;
    }
    .tpl_article_list,
    h3.news{
        display:none;
    }
    
    .row.orders .plat {
        order: 2;
        display: flex;
        flex-direction: column;
    }
    .tpl_currency .currency-table {
        order: 4;
    }
    
    .tpl_currency .plat p{
        order: 5;
    }
        .tpl_currency h1 {
        order: 1;
        text-align: center;
        color: #353535;
        text-transform: uppercase;
        font-size: 20px;
    }
    .currency-widget {
        order: 3;
    }
    .tpl_currency .content {
       order: 6;
       margin:0;
}
    
    
    
}