﻿.blog-banner-news .title-news {
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    color: #000000;
}

.btn-default {
    background-color: #434d57;
    color: #fff;
}

.carousel-indicators {
    bottom: 0px;
    top: 10px;
}
/******************** ellipsis *******************/
.ellipsis {
    display: -webkit-box;
    margin: 0 auto;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 70px;
}
/******************** Realestatenews *******************/
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 80px 80px;
    background-position: 50% 30px;
}

/*article .overlay {
            opacity: 1;
        }

        article:hover {
            opacity: .7;
            filter: alpha(opacity=50);
            transition: all 1s;
            -webkit-transition: all 1s;
        }*/
.newsimg {
    display: inline-flex;
    max-width: 350px;
    position: relative;
    /*height:400px;*/
}

.thumbnail-image {
    max-width: 100%;
    width: 100%;
    float: left;
    position: relative;
    height: auto;
}

#gridrecommend .grid-item img {
    max-height: unset !important;
    height: unset !important;
}

.grid-item img {
    min-width: 100% !important;
    max-width: 130% !important;
    /*max-height: 250px;
    height:200px*/
}

.grid-item {
    float: left;
    counter-increment: item;
    overflow: hidden;
    margin-top: 15px;
    /*padding: 5px;*/
}

.grid-item--height3 {
    height: 240px;
}

.con-marker {
    width: 15px;
}

.box-article {
    margin: 5px;
    /*box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.2);*/
    /*background: rgba(18, 0, 255, 0.13);*/
    overflow: hidden;
    min-height: 300px;
    max-height: 330px;
}

.title-real {
    font-size: 1rem;
    margin: 10px 10px;
    max-height: 100px;
    /*line-height: 25px;*/
}

    .title-real:hover {
        color: #c82021;
        border-bottom: #c82021;
    }

.date-real {
    margin: 0px 10px;
    color: rgba(51,51,51,.6);
}

.type-real {
    margin: 0px 20px;
    color: rgba(51,51,51,.6);
}
/******************** NEWS *******************/

.blog-news .banner-news {
    background: url('/images/banner-news.jpg') center no-repeat;
    background-size: cover;
    height: 50vh;
}

    .blog-news .banner-news .text-in-banner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0,0,0,.6);
        color: #fff;
        padding: 1.6rem;
        width: 50%;
        text-align: center;
    }

    .blog-news .banner-news .space-title {
        padding-bottom: 3rem;
    }

.blog-news .container {
    /*padding-top: 2rem;*/
    padding-bottom: 2.5rem;
}

.blog-news .img-content {
    position: relative;
}

    .blog-news .img-content img {
        width: 100%;
    }

    .blog-news .img-content .img-content-center {
        background-size: cover;
    }

    .blog-news .img-content .detail-img {
        position: absolute;
        bottom: 0;
        left: 0;
        background-color: rgba(0,0,0,.6);
        width: 100%;
        color: #fff;
        padding: 5px;
    }

.blog-news .news-content {
    background-color: rgba(242,242,242,.8);
}

    .blog-news .news-content .content {
        padding: 3rem;
    }

        .blog-news .news-content .content .con-marker img {
            height: 50px;
        }

        .blog-news .news-content .content .con-title {
            font-size: 1.35rem;
            padding: 1rem 0;
        }

        .blog-news .news-content .content .con-description {
            padding: 1rem 0;
        }

        .blog-news .news-content .content .con-date {
            font-size: .8rem;
            padding: 1rem 0;
        }

.blog-news .img-content.last {
    position: absolute;
    bottom: 0;
    left: 0;
}

@media(max-width:767px) {
    .blog-news .news-content {
        margin-bottom: 1rem;
    }

    .blog-news .img-content.last {
        position: initial;
    }
}

/******************* HOT NEWS *******************/

.blog-hotnews .content-hotnews {
    position: relative;
    background: url('/images/news/hot-news.jpg') center no-repeat;
    height: 200px;
}

.blog-hotnews .container > .row {
    /*padding-bottom: 1.5rem;*/
    padding: 10px;
}

.blog-hotnews .content-hotnews::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    /*background-color: rgba(18, 0, 255, 0.13);*/
}

.blog-hotnews .content-hotnews .detail-img {
    position: absolute;
    top: 15%;
    left: 5%;
}

    .blog-hotnews .content-hotnews .detail-img .title-detail {
        font-size: 1.3rem;
        /*color: #fff;*/
        color: rgba(51,51,51,.6);
    }

.blog-hotnews .content .con-title {
    font-size: 1.35rem;
    padding: 1rem 0;
}

.blog-hotnews .content .con-description {
    padding: 1rem 0;
}

.blog-hotnews .content .con-date {
    font-size: .8rem;
    padding: 1rem 0;
}

.blog-hotnews .list-hotnews div.col-md-6 {
    padding: 1rem 0;
    border-top: 1px solid;
}

    .blog-hotnews .list-hotnews div.col-md-6:nth-last-child(-n+2) {
        border-bottom: 1px solid;
    }

    .blog-hotnews .list-hotnews div.col-md-6 span {
        width: 8px;
        height: 8px;
        background-color: #c82021;
        transform: rotate(45deg);
        display: inline-block;
    }
.blog-hotnews .content-hotnews .mark-detail {
    padding: 10px;
    background: white;
    margin: auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    position: absolute;
    padding-left: 10px;
    padding-right: 10px;
}

.no-image {
    background-color: #434d57;
    max-height: 250px;
    height: 200px
}
@media(max-width:767px) {
    .blog-hotnews .list-hotnews div.col-md-6:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .blog-hotnews .list-hotnews div.col-md-6:last-child {
        border-bottom: 1px solid;
    }
}

/******************* Flash NEWS *******************/

.blog-detail {
    position: relative;
    /*top: 10%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    /*background-color: rgba(0,0,0,.6);
    color: #fff;*/
    /*padding: 2rem;*/
    width: 100%;
}
.blog-menu {
    position: relative;
    /*top: 10%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    background-color: #fff;
    /*color: #fff;*/
    padding: .5rem;
    width: 100%;
}
   .nav-real.active {
        border-bottom: 2px solid #c82021;
    }

    .nav-real:hover {
        color: #c82021;
        border-bottom: 2px solid #c82021;
    }
.card .card-header{
    background-color: #434d57;
    color: #fff;
}
.carousel-indicators .active {
    background-color: #c82021 !important;
}
.carousel-indicators li {
    background-color: #9E9E9E !important;
}

/*Pure CSS3 Text Carousel*/
.content-slider {
    width: 100%;
    height: 360px;
}

.slider {
    height: 320px;
    width: 680px;
    margin: 40px auto 0;
    overflow: visible;
    position: relative;
}

.mask {
    overflow: hidden;
    height: 320px;
}

.slider ul {
    margin: 0;
    padding: 0;
    position: relative;
}

.slider li {
    width: 680px;
    height: 320px;
    position: absolute;
    top: -325px;
    list-style: none;
}

.slider .quote {
    font-size: 40px;
    font-style: italic;
}

.slider .source {
    font-size: 20px;
    text-align: right;
}

.slider li.anim1 {
    -moz-animation: cycle 15s linear infinite;
    -webkit-animation: cycle 15s linear infinite;
    animation: cycle 15s linear infinite;
}

.slider li.anim2 {
    -moz-animation: cycle2 15s linear infinite;
    -webkit-animation: cycle2 15s linear infinite;
    animation: cycle2 15s linear infinite;
}

.slider li.anim3 {
    -moz-animation: cycle3 15s linear infinite;
    -webkit-animation: cycle3 15s linear infinite;
    animation: cycle3 15s linear infinite;
}

.slider li.anim4 {
    -moz-animation: cycle4 15s linear infinite;
    -webkit-animation: cycle4 15s linear infinite;
    animation: cycle4 15s linear infinite;
}

.slider li.anim5 {
    -moz-animation: cycle5 15s linear infinite;
    -webkit-animation: cycle5 15s linear infinite;
    animation: cycle5 15s linear infinite;
}

.slider:hover li {
    -moz-animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

@-moz-keyframes cycle {
    0% {
        top: 0px;
    }

    4% {
        top: 0px;
    }

    16% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    20% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }

    21% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    92% {
        top: -325px;
        opacity: 0;
        z-index: 0;
    }

    96% {
        top: -325px;
        opacity: 0;
    }

    100% {
        top: 0px;
        opacity: 1;
    }
}

@-moz-keyframes cycle2 {
    0% {
        top: -325px;
        opacity: 0;
    }

    16% {
        top: -325px;
        opacity: 0;
    }

    20% {
        top: 0px;
        opacity: 1;
    }

    24% {
        top: 0px;
        opacity: 1;
    }

    36% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    40% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }

    41% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@-moz-keyframes cycle3 {
    0% {
        top: -325px;
        opacity: 0;
    }

    36% {
        top: -325px;
        opacity: 0;
    }

    40% {
        top: 0px;
        opacity: 1;
    }

    44% {
        top: 0px;
        opacity: 1;
    }

    56% {
        top: 0px;
        opacity: 1;
    }

    60% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }

    61% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@-moz-keyframes cycle4 {
    0% {
        top: -325px;
        opacity: 0;
    }

    56% {
        top: -325px;
        opacity: 0;
    }

    60% {
        top: 0px;
        opacity: 1;
    }

    64% {
        top: 0px;
        opacity: 1;
    }

    76% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    80% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }

    81% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@-moz-keyframes cycle5 {
    0% {
        top: -325px;
        opacity: 0;
    }

    76% {
        top: -325px;
        opacity: 0;
    }

    80% {
        top: 0px;
        opacity: 1;
    }

    84% {
        top: 0px;
        opacity: 1;
    }

    96% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    100% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }
}

@-webkit-keyframes cycle {
    0% {
        top: 0px;
    }

    4% {
        top: 0px;
    }

    16% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    20% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }

    21% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    50% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    92% {
        top: -325px;
        opacity: 0;
        z-index: 0;
    }

    96% {
        top: -325px;
        opacity: 0;
    }

    100% {
        top: 0px;
        opacity: 1;
    }
}

@-webkit-keyframes cycle2 {
    0% {
        top: -325px;
        opacity: 0;
    }

    16% {
        top: -325px;
        opacity: 0;
    }

    20% {
        top: 0px;
        opacity: 1;
    }

    24% {
        top: 0px;
        opacity: 1;
    }

    36% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    40% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }

    41% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@-webkit-keyframes cycle3 {
    0% {
        top: -325px;
        opacity: 0;
    }

    36% {
        top: -325px;
        opacity: 0;
    }

    40% {
        top: 0px;
        opacity: 1;
    }

    44% {
        top: 0px;
        opacity: 1;
    }

    56% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    60% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }

    61% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@-webkit-keyframes cycle4 {
    0% {
        top: -325px;
        opacity: 0;
    }

    56% {
        top: -325px;
        opacity: 0;
    }

    60% {
        top: 0px;
        opacity: 1;
    }

    64% {
        top: 0px;
        opacity: 1;
    }

    76% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    80% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }

    81% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }

    100% {
        top: -325px;
        opacity: 0;
        z-index: -1;
    }
}

@-webkit-keyframes cycle5 {
    0% {
        top: -325px;
        opacity: 0;
    }

    76% {
        top: -325px;
        opacity: 0;
    }

    80% {
        top: 0px;
        opacity: 1;
    }

    84% {
        top: 0px;
        opacity: 1;
    }

    96% {
        top: 0px;
        opacity: 1;
        z-index: 0;
    }

    100% {
        top: 325px;
        opacity: 0;
        z-index: 0;
    }
}

/*contentPage*/
.icon-type {
    position: absolute
    /*max-width: 20px;*/
}

.tag-content {
    vertical-align: super;
}

.contType {
    width: 82px;
    height: 18px;
}