/*!
 * Code By "Amir H Fadaee"
 * Contact email: amir.gardeshgar@gmail.com
 * Contact email: amir_fadaiee@yahoo.com
 */

.hentry {
    display: block;
    position: relative;
    border-radius: 10px;
}

.hentry>div.bg {
    height: 100%;
    width: 100%;
    display: block;
    transition: transform 1s;
}

.hentry:hover>div.bg {
    transform: scale(1.1)
}

.over-off {
    overflow: hidden;
}

.img-1 .bg,
.img-2 .bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.gradient:before {
    z-index: 1;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -moz-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
    background: -webkit-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(18%, transparent), color-stop(99%, rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0.8)));
    background: -o-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
    background: linear-gradient(to bottom, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#cc000000', GradientType=0);
}

.post-category {
    margin-left: 20px;
    margin-top: 10px;
}

.text {
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 20px;
}

.text h2 {
    color: #fff;
    font-size: 26px;
}

.text span {
    color: rgba(255, 255, 255, 0.5);
}

.v-height {
    height: 300px;
}

.mb30 {
    margin-bottom: 30px;
}

.text.text-sm h2 {
    font-size: 18px;
    line-height: 1.5;
}

.post-category {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 10;

    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: .2em;
    font-weight: 700;
    font-size: .6rem;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .img-1 {
        height: 300px !important;
        position: relative;
        margin-bottom: 30px;
    }

    .xs-mb30 {
        margin-bottom: 30px;
    }
}

.hot-tags .tag {
    display: inline-block;
    margin-right: 0;
    margin-left: 1rem;
}

.hot-tags .tag:hover {
    color: #ddd;
    text-decoration: none;
    background-color: #46556a;
}














.wrapper {
    width: 100%;
    margin: 0 auto;
}

.tabs {
    position: relative;
    margin: 3rem 0;
    background: #4970b7;
    box-shadow: 0px 5px 25px 0px rgba(79, 105.00000000000004, 139, 0.09);
    padding: 0 10px 10px;
}

.tabs::before,
.tabs::after {
    content: "";
    display: table;
}

.tabs::after {
    clear: both;
}

.tab {
    float: right;
}

.tab-label {
    position: relative;
    display: block;
    line-height: 2.75em;
    height: 3em;
    padding: 0 1.618em;
    background: #4970b7;
    border-left: 0.125rem solid #2d4e8b;
    color: #fff;
    cursor: pointer;
    top: 0;
    transition: all 0.25s;
}

.tab-label:hover {
    top: -0.25rem;
    transition: top 0.25s;
}

.tab-switch:checked+.tab-label {
    background: #fff;
    color: #2c3e50;
    border-bottom: 0;
    border-right: 0.125rem solid #fff;
    transition: all 0.35s;
    z-index: 1;
    top: -0.0625rem;
}

.right-tabs {
    position: absolute;
    left: 10px;
    color: #fff;
    display: inline-block;
    padding: 15px 10px;
}
.right-tabs a {
    color: #fff;
    font-size: 13px;
}
.right-tabs a:hover {
    text-decoration: none;
    color: #ddd;
}
.right-tabs a i {
    vertical-align: middle;
}



.row-blogs {
    background: #fff;
}

.row-blogs .article_item {
    background-color: transparent;
    box-shadow: none;
}
.border-like {
    border-bottom: 1px solid #ddd;
}
.row-blogs h5,
.row-blogs p {
    padding: 10px 15px;
}

.row-blogs .article_image a {
    display: block;
    text-align: left;
    direction: ltr;
    padding: 10px 15px;
}

.row-blogs .article_image a img {
    width: 100%;
}

.row-blogs .red_border_bottom {
    bottom: 1px;
    position: relative;
    z-index: 1;
}



@media (max-width: 767px) {

    .tabs {
        padding: 0;
    }
    .tab-label {
        padding: 0 7px;
        font-size: 13px;
    }
    .right-tabs {
        padding: 10px;
    }
    .right-tabs span {
        display: none;
    }
    .hot-tags .tag {
        margin-bottom: 5px;
        margin-left: 0;
    }

}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    border: 2px solid #4970b7;
    border-radius: 50%;
    text-align: center;
    padding-top: 13px;
    z-index: 1;
}
.hentry:hover .play-btn {
    background: #4970b7;
    color: #fff;
}

a.tab-label:hover {
    color: #fff;
}
a.tab-label.active {
    background: #fff;
    color: #2c3e50;
    border-bottom: 0;
    border-right: 0.125rem solid #fff;
    transition: all 0.35s;
    z-index: 1;
    top: -0.0625rem;
}