@-webkit-keyframes moveInBottom {
    0% { opacity: 0; transform: translateY(100%);}
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes moveInBottom {
    0% { opacity: 0; transform: translateY(100%); }
    100% { opacity: 1; transform: translateY(0); }
}

.has-js .l-flexContainer {
    transform: translateY(100%);
}

.l-flexContainer--visible {
    -webkit-animation: slideInFromBottom 1s forwards; /* Chr, Saf */
    animation: slideInFromBottom 1s forwards; /* IE >9, Fx >15, Op >12.0 */
}

.NewsItemGridView {
    overflow: hidden;
    padding: 40px 20px;
    background-color: #f3f9fb;
}

@media screen and (min-width: 700px) {
    .NewsItemGridView {
        margin-left: 20%;
    }
}

.NewsItemGridView--loading {
    min-height: 400px;
    padding-bottom: 50px;
    overflow: visible;
}

.NewsItemGridView--loading:after {
    content: 'Loading...';
    position: fixed;
    z-index: 10;
    bottom: 10%;
    left: 50%;
    display: block;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    border-radius: 100%;
    text-indent: -999em;
    background: #fff url(NewsItemGridView-loader.svg) no-repeat 50% 50%;
    background-size: cover;
    box-shadow: 0 2px 15px -5px #000;
}

html[class*='ie-old'] .NewsItemGridView--loading:after {
    background-image: url(NewsItemGridView-loader.gif);
}

.NewsItemGridView__noResults {
    max-width: 21em;
    margin: 3em auto 0;
    padding: 1em;
    text-align: center;
}

/**
 *    Utility classes for all block types in NewsItemGridView
 */

/** block - set fallback position of elements without macy.js */

.u-NewsItemGridView__block {
    box-sizing: content-box;
    float: left;
    width: 100%;
    margin-bottom: 20px;

    opacity: 0;
    -webkit-animation: moveInBottom .3s forwards; /* Chr, Saf */
    animation: moveInBottom .3s forwards; /* IE >9, Fx >15, Op >12.0 */
    -webkit-animation-delay: 1s; /* Safari 4.0 - 8.0 */
    animation-delay: 1s;
}

.NewsItemGridView .theme-l-blue .TitleBlock__date,
.NewsItemGridView .theme-d-yellow .TitleBlock__date {
    opacity: .6;
}

.NewsItemGridView .theme-l-blue .TitleBlock__title,
.NewsItemGridView .theme-d-yellow .TitleBlock__title {
    font-family: inherit;
    line-height: 1.15;
}

.NewsItemGridView .theme-l-blue .TitleBlock__subTitle,
.NewsItemGridView .theme-d-yellow .TitleBlock__subTitle {
    font-size: .95em;
}

.NewsItemGridView .theme-l-blue .TitleBlock__container,
.NewsItemGridView .theme-d-yellow .TitleBlock__container {
    padding: 30px;
}

.ie-old .u-NewsItemGridView__block {
    opacity: 1;
}

@media screen and (min-width: 500px) {
    .u-NewsItemGridView__block {
        width: calc(50% - 10px );
        margin-right: 20px;
    }

    .u-NewsItemGridView__block:nth-child(2n+0) {
        margin-right: 0;
    }
}

@media screen and (min-width: 700px) {
    .u-NewsItemGridView__block,
    .u-NewsItemGridView__block:nth-child(2n+0) {
        width: calc(33.3333% - 13.3333px);
        margin-right: 20px;
    }

    .u-NewsItemGridView__block:nth-child(3n+0) {
        margin-right: 0;
    }
}

@media screen and (min-width: 1200px) {
    .u-NewsItemGridView__block,
    .u-NewsItemGridView__block:nth-child(2n+0),
    .u-NewsItemGridView__block:nth-child(3n+0) {
        width: calc(25% - 15px);
        margin-right: 20px;
    }

    .u-NewsItemGridView__block:nth-child(4n+0) {
        margin-right: 0;
    }
}

/** table, cell - position content in the middle */

.u-NewsItemGridView__table {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.u-NewsItemGridView__cell {
    display: table-cell;
    vertical-align: middle;
}

@media screen and (min-width: 480px) {
    .u-NewsItemGridView__cell {
        height: 170px;
    }
}

@media screen and (min-width: 700px) {
    .u-NewsItemGridView__cell {
        height: 200px;
    }
}

@media screen and (min-width: 1200px) {
    .u-NewsItemGridView__cell {
        height: 260px;
    }
}