@font-face {
    font-family: 'Alef';
    src: url('fonts/Alef-Bold.eot');
    src: url('fonts/Alef-Bold.eot?#iefix') format('embedded-opentype'), url('fonts/Alef-Bold.woff') format('woff'), url('fonts/Alef-Bold.ttf') format('truetype'), url('fonts/Alef-Bold.svg#alefbold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Alef';
    src: url('fonts/Alef-Regular.eot');
    src: url('fonts/Alef-Regular.eot?#iefix') format('embedded-opentype'), url('fonts/Alef-Regular.woff') format('woff'), url('fonts/Alef-Regular.ttf') format('truetype'), url('fonts/Alef-Regular.svg#alefregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


body {
    background-color: #322d36;
    text-align: center;
    direction: rtl;
    font-family: 'Alef';
    color: white;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    height: 95%;
    width: 100%;
    margin: 0px;
    position: absolute;
    background-size: cover !important;
    background-attachment: fixed;
    background-position: top center !important;
    background-repeat: no-repeat;
    background-image: url('images/bg_1.jpg');
}

.center_table {
    display: table;
    table-layout: fixed;
    text-align: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.center_row {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.main_block {
    position: relative;
    margin: 0px auto;
    width: 96%;
    max-width: 1400px;
    min-height: 85%;
    margin-top: 90px;
    margin-bottom: 70px;
}

.logo {
    float: right;
    margin: -5px 7px 0px 0;
}

.filters {
    margin-left: 4px;
}
.filter {
    cursor: pointer;
    float: left;
    background-color: #54555c;
    width: 150px;
    height: 37px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: bold;
}

.filter_left {
    border-radius: 30px 0px 0px 30px;
}

.filter_right {
    border-radius: 0px 30px 30px 0px;
}

.filter_active {
    background-color: #287ff5;
}

.agents_links {
    width: 100%;
    height: 80%;
    padding-top: 93px;
}

.bg_filters {
    left: 0px;
    bottom: 0px;
    position: absolute;
    float: left;
    bottom: -48px;
    display: none;
}

.bg_filter {
    cursor: pointer;
    box-shadow: 0 0 0 1px #a9a7ab inset;
    display: inline-block;
    background-color: #287ff5;
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    float: left;
    margin-right: 3px;
}

.bg_filter_black {
    background-image: url("images/bg_black.png");
}

.bg_filter_blue {
    background-image: url("images/bg_blue.png");
}

.bg_filter_red {
    background-image: url("images/bg_red.png");
}

.bg_filter_light_blue {
    background-image: url("images/bg_light_blue.png");
}

.grid {
    margin: 0 auto; /* centered */
    margin-right: 7px;
    display: none;
}

.item {
    background-color: white;
}



.grid-item {
    width: 190px;
    height: 190px;
    background-color: white;
    margin: 5px;
}

.grid-item--width2 {
    width: 390px;
    height: 190px;
}








.main-wrapper {
    width: 100% !important;
    min-height: 300px;
    margin-bottom: 30px;
}

.main-wrapper .item {
    width: 0;
}

.item {

    webkit-transition-duration: 0.5s;

    -moz-transition-duration: 0.5s;

    transition-duration: 0.5s;

    -webkit-transition-property: -webkit-transform, opacity;

    -moz-transition-property: -moz-transform, opacity;

    transition-property: transform, opacity;

    -webkit-transition-property: right, top, -webkit-transform, opacity;

    -moz-transition-property: right, top, -moz-transform, opacity;

    -ms-transition-property: right, top, -ms-transform, opacity;

    -o-transition-property: right, top, -o-transform, opacity;

    transition-property: right, top, transform, opacity;

}

.isotope-hidden {
    display: none;
}

.img_item {
    display: block;
    margin: 0px auto;
    max-height: 108px;
    max-width: 90%;
    cursor: pointer;
}

.img_link{
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}


@media not screen and (min-width: 530px) {
    .main_block {
        margin-top: 45px;
    }
    .logo {
        float: none;
    }
    .filters {
        margin-left: 0px;
    }
    .filter {
        display: inline-block;
        float: none;
    }
    .filter_left {
        margin-left: -305px;
    }
    .agents_links {
        padding-top: 46px;
    }
    .bg_filters {
        margin-left: 6px;
        bottom: 0px;
    }
}

@media not screen and (min-width: 350px) {
    .main_block {
        margin-top: 22px;
    }
    .logo {
        float: none;
    }
    .filters {
        margin-left: 0px;
    }
    .filter {
        font-size: 11px;
        width: 112px;
        height: 27px;
        display: inline-block;
        float: none;
    }
    .filter_left {
        margin-left: -229px;
    }
    .agents_links {
        padding-top: 22px;
    }
    .bg_filters {
        margin-left: 6px;
        bottom: 0px;
    }
}