@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.eot') format('embedded-opentype'), url('../fonts/IRANSansWeb.woff2') format('woff2'), url('../fonts/IRANSansWeb.woff') format('woff'), url('../fonts/IRANSansWeb.ttf') format('truetype'), url('../fonts/IRANSansWeb.svg') format('svg');
    font-weight: normal;
    font-style: normal
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: IRANSansWeb;
}

body {
    font-family: IRANSansWeb;
    color: #555555;
    font-size: 14px;
    background: #fcfcfc;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

.clr {
    clear: both
}

.section1 .title {
    color: #8ec63f;
    font-size: 24px
}

.section1 {
    width: 1200px;
    margin: 0 auto;
    direction: rtl;
    text-align: right;
    padding-top: 50px;
    padding-bottom: 50px
}

.section1 .text {
    line-height: 30px;
    text-align: justify;
}

.section2 .title {
    color: #555;
    font-size: 24px;
    border-bottom: 5px solid #464646;
    margin-bottom: 50px;
    padding-bottom: 10px
}

.section2 {
    width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
    direction: rtl;
    text-align: right;
    margin-bottom: 50px;
}

.cats {
    display: flex;
    text-align: center;
}

.cats:last-child {
    border-top: 1px solid #ebebeb
}

.cats li {
    width: 200px;
    height: 200px;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #ebebeb;
}

.cats li:last-child {
    border-left: none
}

.cats li:hover a {
    color: #8ec63f
}

.cats li img {
    margin-top: 50px
}

.cats li a {
    color: #555555
}

.title a {
    float: left;
    background: #464646;
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    font-size: 18px
}

.cats li:hover img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%)
}

.cats li:hover {
    cursor: pointer;
}


@media (min-width:800px) and (max-width:1200px) {

    .section1,
    .section2 {
        width: 95%
    }

}

@media (min-width:10px) and (max-width:800px) {

    .section1,
    .section2 {
        width: 95%
    }

    .section2 .title {
        font-size: 20px;
    }

    .title a {
        font-size: 14px;
    }

    .cats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cats li {
        border: 1px solid #ebebeb
    }

    .cats li:last-child {
        border-left: 1px solid #ebebeb !important
    }

}