﻿
/*top banner*/
.topBanner { height: 310px; }
.topBanner:before { opacity: 1; background-color: #e1e1e1; }
.topBanner #headline h1 { color: #000; margin-bottom: 0; }


#GridContent { position: relative; overflow: hidden; }

/*deco-elements*/
#decoElement1 { width: 203px; height: 203px; background-image: url('../../../000Frames/site/images/circle.svg'); background-size: cover; top: 43px; left: -40px; z-index: 1; }
#decoElement2 { background-image: url('../../../000Frames/site/images/typing.png'); width: 252.6px; height: 274.6px; background-size: cover; top: 95px; mix-blend-mode: multiply; z-index: 1; background-position: -130px; }
.circleElem.decoElement { bottom: -72px; right: -83px; z-index: -1 !important; width: 200px; height: 200px; }


/*media posts*/
.media-list-container { display: flex; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; padding-bottom: 125px; }
.media-item-wrapper { flex: 0 0 25%; max-width: 25%; padding: 15px; }
.media-item { display: flex; flex-direction: column; height: 100%; background-color: #fff; border: 6px solid transparent; box-shadow: 0 3px 36px 0 rgba(113, 26, 61, 0.27); padding: 25px; text-align: center; transition: 0.5s ease-in; }
.media-item:hover, .media-item:focus { border-color: #ef0061; }

.media-img { display: block; }
.media-title { font-size: 115%; line-height: 1.4; margin-bottom: 15px; flex: auto; }
.media-meta { font-size: 90%; line-height: 1.2; }

.media-meta::after { content: ''; display: block; height: 3px; background-color: #ef0061; max-width: 90px; margin: 30px auto 0; }

@media(max-width: 1024px) {
    .media-item-wrapper { flex: 0 0 33.3333%; max-width: 33.3333%; padding: 15px; }
}

@media(min-width: 992px) {
    .topBanner { height: 310px; }
}

@media(max-width: 768px) {
    .media-list-container { padding: 0 15px 70px; }
    .media-meta { font-size: 100%; }
    .media-title { font-size: 115%; }
    .media-meta::after { margin-top: 10px; width: 70px; }

    /*deco-elements*/
    #decoElement1 { width: 150px; height: 150px; top: 40%; }
    .circleElem.decoElement { bottom: -100px; right: -100px; width: 200px; height: 200px; }
}

@media(max-width: 767px) {
    .media-item-wrapper { flex: 0 0 50%; max-width: 50%; padding: 15px; }

    /*deco-elements*/
    #decoElement1 { left: -75px }
    #decoElement2 { width: 200px; height: 190px; left: -45px; top: 55%; }
}


@media (max-width: 550px) {
    .media-list-container { padding-right: 10px; padding-left: 10px; }
    .media-item-wrapper { flex-basis: 50%; max-width: 50%; padding: 8px; }
    .media-item { padding: 16px; border-width: 3px; }
    .media-title { font-size: 110%; }
    .media-meta { font-size: 90%; }
}
