/* Cian - new 2017 styles start here */

.row-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row-flex:before, .row-flex:after {
    display: none;
}

.align-self-center {
    -ms-flex-item-align: center!important;
    -ms-grid-row-align: center!important;
    align-self: center!important;
}

@media screen and (min-width: 768px) {
    .row-flex .col-sm-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.3333333333%;
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
}

@media screen and (min-width: 768px) {
    .text-sm-center {
        text-align: center;
    }
}


/* Overwriting existing styles */

/* Overwriting Line 8894 */
[class^="hvr-"] {
    margin: 0;
    padding: 0;
}

/* General */

.text-white {
    color: #fff;
}

.text-shadow {
    text-shadow: -2.5px 2.5px 5px rgba(0,0,0,0.8)
}

.bg-white {
    background: #fff;
}

.bg-lightgrey {
    background: #efefef;
}

/* Home Page */

.home-banner .thumbnail-wrap:after {
    padding-bottom: 141.43%;
}

.home-banner .thumbnail-img-wrap {
    border-radius: 5px;
}

.home-feature-sm, 
.home-feature-lg {
    border-radius: 5px;   
}

.home-feature-sm h2,
.home-feature-lg h2 {
    font-size: 24px;
}

.home-feature-sm h2 {
    color: #d52566;
}
 
.home-feature-lg h2 {
    color: #0097aa;
    font-size: 24px;
}

.home-feature-sm p {
    color: #0097aa;
    font-size: 18px;
}

@media screen and (min-width: 768px) {
    
    /* fix for flex-row calculations */
    .home-feature-sm {
        margin-bottom: -3rem!important;
    }

}

@media screen and (min-width: 992px) {
    
    .home-feature-sm h2,
    .home-feature-lg h2 {
        line-height: 1.375;
    }

    .home-feature-sm h2 {
        font-size: 32px;
    }

}

.home-feature-section {
    background: #0097aa;
}

.home-feature-section h2 {
    font-weight: 700;
}

.home-feature-wrap {
    margin-top: 7.5rem;
}

.home-feature-wrap article {
    border-bottom: 2.5px solid #0097aa;
}

.home-feature-wrap article:last-child {
    border-bottom: 0;
}

.home-feature-wrap a {
    color: #555;
}

.feature-icon-wrap {
    margin-top: -7.5rem;
    margin-bottom: 1rem;
}

.feature-icon-wrap img {
    max-width: 15rem;
}

.news-article {
    color: #555;
}

.byline {
    font-size: 14px;
}

.home-media .textwidget {
    background: #85be58;
}

.home-media h2 {
    color: #0097aa;
}

.home-media .textwidget h1 { 
    color: #fff;
}

@media screen and (max-width: 767px) {
    .home-feature-wrap.h-100 {
        height: auto!important;
    }
}

@media screen and (min-width: 768px) {
    .row-flex .feature-heading {
        order: 2;
    }

    .row-flex .feature-image {
        order: 1;
    }

    .home-feature-section {
        padding: 5rem 0 22.5rem;
    }

    .home-feature-section h2, .home-media h2 {
        font-size: 36px;
    }
    .home-feature-wrap {
        margin-bottom: -12.5rem;
    }
}