﻿body {
    margin: 0;
    background-image: url('img/mobile/bg.jpg');
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
}


.ads_top {
    display: none;
}

.commerce {
    display: none;
}

img {
    border: none;
}

.header {
    display: none;
}

#tbl_logos {
    display: none;
}

.mobile_header {
    display: block;
    margin: 0 auto;
}

.items {
    margin-top: -64px;
    margin-right: auto;
    margin-left: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 592px;
}

.item {
    margin-bottom: 24px;
    display: block;
}

.img {
    border: 0;
    display: block;
    width: 284px;
}

footer {
    background-color: #fff;
    padding: 5px 0;
    display: flex;
    justify-content: center;
    align-content: center;
}

footer a{
        color: #000;
    text-decoration: none;
    font-family: arial;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    align-items: center;
}

@media only screen and (min-width: 641px) {
    body {
        background: none;
    }

    .ads_top {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

    .commerce {
        display: block;
    }

    .header_wrapper {
        background-color: #fff;
    }

    .header {
        display: block;
        font-size: 12px;
        font-family: Arial, Helvetica, sans-serif;
        padding-top: 15px;
        margin: 0 auto;
        background-color: #fff;
    }

        .header a {
            text-decoration: none;
            color: #4C6FB1;
            line-height: 16px;
        }

            .header a:hover {
                color: #F00;
            }

    .search_div {
        background-color: #e9edf2;
    }

    .wrapper_bg {
        background-image: url('img/web/bg.jpg');
        background-repeat: no-repeat;
        background-color: #181e1c;
        background-position: center top;
    }

    .wrapper {
        width: 1104px;
        margin: 0 auto;
        padding-top: 358px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        direction: rtl;
        min-height: 1040px;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .items {
        padding-top: 0;
        width: 804px;
        margin: 0;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .img {
        width: 245px;
    }

    .mobile_header {
        display: none;
    }

    .item {
        margin-bottom: 27px;
        margin-left: 23px;
        -webkit-transition: -webkit-transform .2s;
        transition: -webkit-transform .2s;
        transition: transform .2s;
        transition: transform .2s, -webkit-transform .2s;
    }

        .item:hover {
            -webkit-transform: scale(1.05);
            transform: scale(1.05);
        }

    .left_side {
        width: 300px;
    }

    .commerce {
        width: 300px;
        height: 600px;
        background-color: rgba(0, 0, 0, .6);
    }

    .small_business {
        margin-top: 22px;
        display: block;
        width: 300px;
        height: 174px;
        background-image: url('img/web/small_business.jpg');
    }

    .left_banners {
        display: block;
        width: 300px;
        height: 53px;
        background-repeat: no-repeat;
        margin-top: 22px;
    }



    .mail {
        background-image: url('img/web/ebanner.png');
    }

    .yediot_com {
        background-image: url('img/web/yediot_mynet.png');
        height: 133px;
    }

    footer {
        width: auto;
    }
}

@media only screen and (max-width: 1104px) and (min-width: 641px) {
    .wrapper_bg {
        background-position: -408px 0;
        width: 1104px;
    }

    .header {
        width: 1104px;
    }
}
