.row {
    margin-left: 0px;
    margin-right: 0px;
}

/*#region search-content-container */
.search-content-container {
    border-bottom: solid 1px silver;
    overflow: hidden;
    border: solid 1px #efaf7b;
    padding: 0 3px;
    height: 36px;
}

.search-content-container > input {
    float: left;
    border: none;
    font-size: 14px;
    background: transparent;
    width: calc(100% - 50px);
    padding: 5px;
    margin: 3px 0 0 0;
}

.search-content-container > button {
    float: right;
    border: none;
    background: transparent;
    margin: 5px 0;
}

.search-content-container > button::before {
    font-size: 22px;
}

html[dir='rtl'] .search-content-container > input {
    float: right;
}

html[dir='rtl'] .search-content-container > button {
    float: left;
    margin: 5px 0;
}
/*#endregion */

/*#region div.sort-by */
div.sort-by > label {
    float: left;
    padding: 6px;
}

div.sort-by > ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

div.sort-by > ul > li {
    display: inline-block;
    padding: 5px;
    color: #000;
    cursor: pointer;
}

div.sort-by > ul > li.active {
    border-bottom: solid 2px #efaf7b;
}

html[dir='rtl'] div.sort-by > label {
    float: right;
}

/*#endregion */

/*#region ul.contents  */
ul.contents {
    list-style-type: none;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

ul.contents > li {
    margin: 10px 0;
    overflow: hidden;
    background: #FFF;
    box-shadow: 0 2px 2px #edeef0;
    display: block;
    height: 250px;
    border: 1px solid #eaeaea;
    position: relative;
}

ul.contents > li > h2 {
    font-size: 20px;
    width: 74%;
    color: #000;
    left: 25%;
    position: absolute;
    top: 0px;
    padding: 10px;
    margin: 0;
}

ul.contents > li > span {
    display: block;
    color: silver;
    padding: 0 10px;
    position: absolute;
    font-size: 14px;
    top: 50px;
    left: 25%;
}

ul.contents > li > a {
    float: left;
    width: 25%;
    text-align: center;
}

ul.contents > li > a::after {
    content: "More...";
    display: block;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

ul.contents > li > a > img {
    width: 80%;
}

ul.contents > li > p {
    width: 74%;
    position: absolute;
    left: 25%;
    top: 80px;
    color: #808080;
    padding: 10px
}

ul.contents > li > p::after {
    content: "...";
}

html[dir='rtl'] ul.contents > li > a {
    float: right;
}

html[dir='rtl'] ul.contents > li > h2 {
    left: auto;
    right: 25%;
}
html[dir='rtl']  ul.contents > li > p {
    left: auto;
    right: 25%;
}

html[dir='rtl'] ul.contents > li > span {
     left: auto;
    right: 25%;
}

html[dir='rtl'] ul.contents > li > a::after {
    content: "بیشتر...";
    right: auto;
    left: 10px;
}

/*#endregion */

/*#region ul.tile5 */

ul.tile5 {
    border: solid 1px #FFF;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0;
    width: 80%;
    margin: 0 auto;
    padding: 0;
}

ul.tile5 > li {
    display: inline-block;
    width: 25%;
    float: right;
    margin: 0;
    padding: 2px;
    position: relative;
    overflow: hidden;
}

ul.tile5 img {
    transition: ease-in-out .5s .1s;
}

ul.tile5 :hover img {
    transform: scale(1.1);
}

ul.tile5 > li:first-child {
    width: 50%;
}

ul.tile5 > li img {
    width: 100%;
}

ul.tile5 > li a {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

ul.tile5 > li a span {
    position: absolute;
    color: #FFF;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    bottom: 0px;
    width: 100%;
    display: block;
    height: 60px;
    padding: 5px;
}


/*#endregion */

/*#region Load More */

#loadMore {
    -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background-color: #f9f9f9;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    width: 100%;
    display: block;
    cursor: pointer;
    color: #3b49e1;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-align: center;
    text-shadow: 0px 1px 0px #ffffff;
    margin-bottom: 10px;
}

#loadMore:hover {
    background-color: #e9e9e9;
}

#loadMore:active {
    position: relative;
    top: 1px;
}

/*#endregion */

/*#region responsive */

/* Monitor */
@media (min-width: 768px) and (max-width: 992px) {
    article {
        width: 100%;
    }

    ul.tile5 {
        width: 100%;
    }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 768px) {
    article {
        width: 100%;
    }

    ul.tile5 {
        width: 100%;
    }


    ul.tile5 {
        margin: 0px;
        padding: 0;
    }

    ul.tile5 > li {
        width: 50%;
        float: left;
    }

    ul.tile5 > li:first-child {
        width: 100%;
    }
}

/* Phone */
@media (max-width: 576px) {
    article {
        width: 100%;
    }

    ul.tile5 {
        width: 100%;
    }

    ul.tile5 > li {
        width: 100%;
        float: none;
    }

    ul.tile5 > li:first-child {
        width: 100%;
    }

    div.sort-by {
        width: 100%;
        padding: 0;
    }

    div.sort-by > label {
        display: none;
    }

    article > div {
        padding: 3px;
    }

    ul.contents {
        margin: 0;
    }

    ul.contents > li {
        margin: 10px 0;
        display: block;
        height: auto;
    }


    ul.contents > li > a {
        width: 100%;
        float: none;
        overflow: hidden;
    }

    ul.contents > li > h2 {
        font-size: 15px;
        width: 100%;
        right: 0;
        position: relative;
    }

    ul.contents > li > span {
        top: auto;
        bottom: 10px;
        right: 0;
        position: absolute;
        font-size: 12px;
    }


    ul.contents > li > a > img {
        width: 100%;
    }

    ul.contents > li > p {
        width: 100%;
        position: relative;
        right: 0;
        top: 0;
        padding: 20px 10px;
    }

    ul.contents > li > p::after {
        content: "...";
    }
}

/*#endregion */

