﻿
.form-inline
{
    display: inline;
}

.hebContainer {
    max-width: 995px;
}

.mBody {
    FONT-FAMILY: 'SimplerProLight', Arial, Helvetica, sans-serif;
    FONT-SIZE: 12px;
}

table.dataTable {
    width: 100% !important;
}

.tableHeadline {
    font-size: 20px;
    font-family: 'SimplerPro';
    color: #4E5565;
}

#currencyHeader {
    width: 24.4% !important;
    border-bottom: solid 2px #ebebeb;
}

#yetzigimHeader {
    width: 17.3% !important;
    border-bottom: solid 2px #ebebeb;
}

.tableSubHeadline {
    font-size: 16px;
    font-family: 'SimplerProLight';
    color: #4E5565;
}

table.dataTable > thead > tr .tableHeadline2 {
    font-size: 14px;
    padding: 8px 0 0;
    font-family: 'SimplerPro';
    color: #4E5565;
    line-height: 13px;
}

.tableSubHeadline2 {
    font-size: 14px;
    font-family: 'SimplerProLight';
    color: #4E5565;
}

#mainTable .currencyName a:hover span {
    text-decoration: underline;
    color: #246ce0;
}

.currencyName, .currencyName a:visited, .currencyName a:focus {
    font-size: 16px;
    font-family: 'SimplerProBold';
    color: #246ce0;
    text-decoration: none;
    vertical-align: middle;
}

    .currencyName span {
        display: inline-block;
        vertical-align: middle;
        max-width: 70%
    }

#mainTable.dataTable.hover > tbody > tr:hover {
    background-color: #EDEDED;
}

.currencyRates {
    font-size: 17px;
    font-family: 'SimplerProLight';
    color: #4D6678 !important;
    direction: rtl;
}

.currencyPercentUp {
    font-size: 17px;
    font-family: 'SimplerProLight';
    color: #007A00;
}

.currencyPercentDown {
    font-size: 17px;
    font-family: 'SimplerProLight';
    color: #D60A33;
}

#mainTable > thead {
    background-color: #f7f7f7;
}

    #mainTable > thead > tr:first-child {
        height: 73px;
    }

        #mainTable > thead > tr:first-child th {
            border-top: solid 2px #F2F4F6;
        }

            #mainTable > thead > tr:first-child th:not(:first-child):before {
                border-right: solid 1px #d3d8dd;
                content: '';
                display: inline-block;
                width: 1px;
                height: 83px;
                position: absolute;
                top: 20px;
                right: 0;
            }

    #mainTable > thead > tr:not(:first-child) {
        background-color: #ededed;
        height: 24px;
    }

#tr3 th {
    padding: 0;
    line-height: 23px;
}

    #tr3 th:after {
        content: '';
        display: block;
        bottom: 0;
        right: 0;
        height: 2px;
    }

#mainTable .rates:after {
    background-color: #9d22e3
}

#mainTable .cheques:after {
    background-color: #6971ff;
}

#mainTable .cash:after {
    background-color: #00b2d0;
}

#mainTable .rates:not(:first-child) {
    padding-left: 8px
}

#mainTable .cheques.sell {
    padding-left: 5px
}

#mainTable .cheques.buy {
    padding-right: 5px;
}

#mainTable .cash.buy {
    padding-right: 8px
}

#mainTable th {
    text-align: center
}

#mainTable #topHeader:before {
    height: 40px
}

#mainTable thead:after {
    height: 10px;
    content: '';
    background-color: white;
    display: block;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.child > td:first-child, table.dataTable.dtr-inline.collapsed > tbody > tr.child > th:first-child {
    padding: 0 !important
}

table.dataTable > thead > tr > th, table.dataTable > tbody > tr > td {
    border-width: 0;
    color: #4e5565;
    padding-top: 0;
    width: 87px;
    position: relative;
    padding: 5px 10px;
    line-height: 1em;
}

#mainTable tbody img {
    width: 28px;
    margin: 0 5px 0 16px;
}

#mainTable tbody tr {
    background-color: #f7f7f7;
}

#mainTable > tbody > tr > td {
    border-bottom: solid 10px #fff;
    border-top: solid 1px #ebebeb;
    height: 36px;
    text-align: center
}

#mainTable tbody tr td:first-child {
    text-align: right
}

td.cellBorder:after {
    border-right: solid 1px #d3d8dd;
    content: '';
    display: inline-block;
    width: 1px;
    height: 30px;
    position: absolute;
    top: 8px;
    left: 0;
}

#mainTable td {
    cursor: auto;
}

.removeBefore:before {
    content: none !important
}

@media (max-width: 767px) {
    #mainTable > thead > tr:first-child {
        height: 70px;
    }

    #mainTable > thead > tr:not(:first-child) {
        height: 0
    }

    #mainTable thead:after {
        display: none
    }

    #mainTable > thead > tr:first-child th:not(:first-child):before {
        height: 42px;
        top: 10px
    }

    #mainTable > tbody > tr > td {
        border-bottom: solid 1px #ebebeb;
        border-top: solid 4px #fff;
        height: 48px;
        padding-top: 4px;
        padding-bottom: 1px;
        box-sizing: border-box;
    }

        #mainTable > tbody > tr > td.child {
            height: 0
        }

    #mainTable tbody tr td {
        cursor: hand;
        cursor: pointer;
    }

    #mainTable tbody img {
        width: 19px;
        margin: 0 2px 0 7px;
    }

    table.expanded thead tr {
        height: 56px;
        background-color: #fcfcfc;
    }

    .tableHeadline {
        font-size: 16px
    }

    #mainTable .tableHeadline2 {
        font-size: 16px;
        font-family: 'SimplerProLight';
        line-height: 13px;
        text-align: right;
        width: 33%;
        padding-top: 12px;
        padding-bottom: 0;
    }

    .currencyRates, .currencyPercentUp {
        width: 38%;
    }

    .tableSubHeadline {
        font-size: 14px;
        padding-top: 3px;
    }

    #mainTable table.expanded thead tr.midRow {
        background-color: #f7f7f7;
    }

    #mainTable table.expanded tbody tr.midRow {
        background-color: #f7f7f7;
    }

    table.expanded tbody tr th {
        /* border-bottom: solid 3px transparent; */
    }

        #mainTable table.expanded tbody tr:last-child, table.expanded tbody tr th.cash {
            /* border-bottom: solid 4px #ebebeb; */
        }

    table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
        right: 7px;
        background-color: transparent;
        border: 0;
        box-shadow: 0 0 0 0;
        background-image: url(../images/down.png);
        content: '';
        background-position: center center;
        height: 2.7em;
        background-repeat: no-repeat;
        width: 1.7em;
        top: 1px !important;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child, table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child {
        padding-right: 2.5em;
        padding-left: 2px;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
        background-color: transparent;
        content: '';
        background-image: url(../images/up.png);
    }

    td.cellBorder:not(:first-child):after {
        display: none
    }

    td.cellBorder:after {
        height: 28px;
        top: 7px;
    }

    #currencyHeader {
        width: 59% !important;
        border-bottom: solid 2px #fff;
    }

    #yetzigimHeader {
        width: 41% !important;
        border-bottom: solid 2px #fff;
    }

    div.col-sm-12 {
        padding-left: 10px;
        padding-right: 10px
    }

    span.paddingSpan {
        height: 54px;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        padding-top: 12px;
        display: inline-block;
        text-align: right;
        line-height: 1em;
        margin-top: 2px
    }

    tbody tr:first-child span.paddingSpan {
        margin-top: 0px;
        margin-bottom: 2px;
    }

    .midRow span.paddingSpan {
        margin-bottom: 2px;
    }

    span.ratesSpan {
        border-right: 4px solid #9d22e3;
    }

    span.chequesSpan {
        border-right: 4px solid #6971ff;
    }

    span.cashSpan {
        border-right: 4px solid #00b2d0;
    }

    #mainTable table.expanded tbody tr {
        height: 27px;
        vertical-align: top;
        background-color: #fcfcfc;
    }

        #mainTable table.expanded tbody tr th:first-child {
            height: 55px;
            width: 35%;
            vertical-align: middle;
        }

    #mainTable table.expanded thead tr, #mainTable table.expanded tbody tr {
        cursor: auto;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr.parent {
        background-color: #EDEDED !important;
        height: 41px !important;
    }

    #mainTable table.expanded tbody tr td {
        height: 22px;
    }

    .child .expanded {
        border-collapse: separate
    }

        .child .expanded tr {
            border-collapse: collapse;
        }

    #mainTable tbody tr.child td.child {
        border-top: 0 !important;
    }

    .removeBefore:before {
        content: ' ' !important
    }
}

.row {
    margin-left: -7px;
    margin-right: -7px;
}

