/*Pagination*/

.mcs-pagination {
    text-align: center;
    padding-top: 35px;
}
.mcs-pagination .page-numbers {
    display: inline-block;
    text-align: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 6px;
    padding: 0;
    line-height: 40px;
    font-size: 1.1em;
    background-color: #fff;
    border: 2px solid #333;
    color: #333;
    transition: 0.5s;
}
.mcs-pagination .page-numbers:last-child {
    margin-right: 0;
}
.mcs-pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
    transition: 0.5s;
}
.mcs-pagination .page-numbers:hover {
    background-color: #333;
    color: #fff;
    transition: 0.5s;
}


/***********************************************************************************************************/


/*Post Grid*/

.mcs-grid {
    display: -ms-grid;
    display: grid;
    grid-gap: 30px;
}
.mcs-grid > article.mcs-post {
    box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px 0 rgba(0,0,0,.08);
    padding: 15px 15px 60px;
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
.mcs-grid .mcs-content-item {
    height: 100%;
}

/*MCS Post Grid 1*/
.mcs-grid-1 {
    -ms-grid-columns: (minmax(0,1fr)) [1];
    grid-template-columns: repeat(1,minmax(0,1fr));
}
.mcs-grid-1 .mcs-content-item > .pic {
    max-height: 30em;
}

/*MCS Post Grid 2*/
.mcs-grid-2 {
    -ms-grid-columns: (minmax(0,1fr)) [2];
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.mcs-grid-2 .mcs-content-item > .pic {
    max-height: 300px;
}

/*MCS Post Grid 3*/
.mcs-grid-3 {
    -ms-grid-columns: (minmax(0,1fr)) [3];
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.mcs-grid-3 .mcs-content-item > .pic {
    max-height: 200px;
}

/*MCS Post Grid 4*/
.mcs-grid-4 {
    -ms-grid-columns: (minmax(0,1fr)) [4];
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.mcs-grid-4 .mcs-content-item > .pic {
    max-height: 150px;
}
.mcs-grid-4 {
    grid-gap: 25px;
}

/*MCS Post Grid 5*/
.mcs-grid-5 {
    -ms-grid-columns: (minmax(0,1fr)) [5];
    grid-template-columns: repeat(5,minmax(0,1fr));
}
.mcs-grid-5 .mcs-content-item > .pic {
    max-height: 120px;
}
.mcs-grid-5 {
    grid-gap: 15px;
}

/*MCS Post Grid 6*/
.mcs-grid-6 {
    -ms-grid-columns: (minmax(0,1fr)) [6];
    grid-template-columns: repeat(6,minmax(0,1fr));
}
.mcs-grid-6 .mcs-content-item > .pic {
    max-height: 100px;
}
.mcs-grid-6 {
    grid-gap: 15px;
}

.mcs-grid .mcs-content-item > .pic {
    overflow: hidden;
    margin: -15px -15px 15px;
}
.mcs-grid .mcs-content-item > .pic img {
    width: 100%;
    transition: .5s ease;
}
.mcs-grid > article.mcs-post:hover .mcs-content-item > .pic img {
    -webkit-transform: scale(1.12);
    -ms-transform: scale(1.12);
    transform: scale(1.12);
    transition: .5s ease;
}
.mcs-grid h3.mcs-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 8px;
}
.mcs-grid h3.mcs-post-title > a {
    text-decoration: none;
}
.mcs-grid .mcs-post-summary > p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.mcs-grid .mcs-author {
    position: absolute;
    bottom: 15px;
    left: 15px;
}
.mcs-grid .mcs-author > a {
    display: flex;
}
.mcs-grid .mcs-author > a .mcs-author-img {
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin-right: 10px;
}
.mcs-grid .mcs-author > a .mcs-author-img img {
    border-radius: 50%;
}
.mcs-grid .mcs-author > a > .mcs-the-author {
    display: flex;
    flex-direction: column;
}
.mcs-grid .mcs-author > a > .mcs-the-author > strong {
    margin-bottom: -4px;
    font-size: 16px;
    font-weight: 500;
}
.mcs-grid .mcs-author > a > .mcs-the-author > span {
    font-size: 14px;
    font-weight: 300;
    color: #777;
}


/***********************************************************************************************************/


.mcs-list {
    display: -ms-grid;
    display: grid;
    grid-gap: 30px;
}
.mcs-list > article.mcs-post {
    box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px 0 rgba(0,0,0,.08);
    padding: 15px;
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
}
.mcs-list .mcs-content-item {
    height: 100%;
    display: flex;
}
.mcs-list .mcs-content-item > .pic {
    width: 35%;
}
.mcs-list .mcs-content-item > .info {
    width: 65%;
    position: relative;
    padding-bottom: 45px;
}
/*MCS Post Grid 1*/
.mcs-list-1 {
    -ms-grid-columns: (minmax(0,1fr)) [1];
    grid-template-columns: repeat(1,minmax(0,1fr));
}
.mcs-list-1 .mcs-content-item > .pic {
    max-height: 20em;
}

/*MCS Post Grid 2*/
.mcs-list-2 {
    -ms-grid-columns: (minmax(0,1fr)) [2];
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.mcs-list-2 .mcs-content-item > .pic {
    max-height: 220px;
}

/*MCS Post Grid 3*/
.mcs-list-3 {
    -ms-grid-columns: (minmax(0,1fr)) [3];
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.mcs-list-3 .mcs-content-item > .pic {
    max-height: 220px;
}

/*MCS Post Grid 4*/
.mcs-list-4 {
    -ms-grid-columns: (minmax(0,1fr)) [4];
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.mcs-list-4 .mcs-content-item > .pic {
    max-height: 215px;
}
.mcs-list-4 {
    grid-gap: 25px;
}

/*MCS Post Grid 5*/
.mcs-list-5 {
    -ms-grid-columns: (minmax(0,1fr)) [5];
    grid-template-columns: repeat(5,minmax(0,1fr));
}
.mcs-list-5 .mcs-content-item > .pic {
    max-height: 120px;
}
.mcs-list-5 {
    grid-gap: 15px;
}

/*MCS Post Grid 6*/
.mcs-list-6 {
    -ms-grid-columns: (minmax(0,1fr)) [6];
    grid-template-columns: repeat(6,minmax(0,1fr));
}
.mcs-list-6 .mcs-content-item > .pic {
    max-height: 100px;
}
.mcs-list-6 {
    grid-gap: 15px;
}
.mcs-list .mcs-content-item > .pic {
    overflow: hidden;
    margin: -15px 25px -15px -15px;
}
.mcs-list .mcs-content-item > .pic > .post-thumbnail {
    height: 100%;
    width: auto;
}
.mcs-list .mcs-content-item > .pic > .post-thumbnail img {
    height: 100%;
    width: auto;
}
.mcs-list .mcs-content-item > .pic img {
    width: 100%;
    transition: .5s ease;
}
.mcs-list > article.mcs-post:hover .mcs-content-item > .pic img {
    -webkit-transform: scale(1.12);
    -ms-transform: scale(1.12);
    transform: scale(1.12);
    transition: .5s ease;
}
.mcs-list h3.mcs-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 8px;
}
.mcs-list h3.mcs-post-title > a {
    text-decoration: none;
}
.mcs-list .mcs-post-summary > p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.mcs-list .mcs-author {
    position: absolute;
    bottom: 0;
    left: 0;
}
.mcs-list .mcs-author > a {
    display: flex;
}
.mcs-list .mcs-author > a .mcs-author-img {
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin-right: 10px;
}
.mcs-list .mcs-author > a .mcs-author-img img {
    border-radius: 50%;
}
.mcs-list .mcs-author > a > .mcs-the-author {
    display: flex;
    flex-direction: column;
}
.mcs-list .mcs-author > a > .mcs-the-author > strong {
    margin-bottom: -4px;
    font-size: 16px;
    font-weight: 500;
}
.mcs-list .mcs-author > a > .mcs-the-author > span {
    font-size: 14px;
    font-weight: 300;
    color: #777;
}



/*MCS Post Slider*/

section.mcs-post-slider article.mcs-post {
    box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px 0 rgba(0,0,0,.08);
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
}
section.mcs-post-slider .mcs-content-item {
    height: 100%;
}
section.mcs-post-slider .mcs-content-item > .pic {
    overflow: hidden;
    max-height: 200px;
}
section.mcs-post-slider .mcs-content-item > .pic img {
    width: 100%;
    transition: .5s ease;
}
section.mcs-post-slider article.mcs-post:hover > .mcs-content-item > .pic img {
    -webkit-transform: scale(1.12);
    -ms-transform: scale(1.12);
    transform: scale(1.12);
    transition: .5s ease;
}
section.mcs-post-slider .mcs-content-item > .info {
    padding: 15px;
    min-height: 138px;
}
section.mcs-post-slider h3.mcs-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 8px;
}
section.mcs-post-slider h3.mcs-post-title > a {
    text-decoration: none;
}
section.mcs-post-slider .mcs-post-summary > p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
section.mcs-slide-1 article.mcs-post .pic {
    max-height: 22em;
}
section.mcs-post-slider-11 .mcs-content-item,
section.mcs-post-slider-12 .mcs-content-item,
section.mcs-post-slider-13 .mcs-content-item {
    height: 100%;
    display: flex;
}
section.mcs-post-slider-11 .mcs-content-item > .pic,
section.mcs-post-slider-12 .mcs-content-item > .pic,
section.mcs-post-slider-13 .mcs-content-item > .pic {
    width: 35%;
    max-height: 20em;
}
section.mcs-post-slider-11 .mcs-content-item > .info,
section.mcs-post-slider-12 .mcs-content-item > .info,
section.mcs-post-slider-13 .mcs-content-item > .info {
    width: 60%;
}
section.mcs-post-slider-11 h3.mcs-post-title,
section.mcs-post-slider-12 h3.mcs-post-title,
section.mcs-post-slider-13 h3.mcs-post-title {
    -webkit-line-clamp: 3;
}
section.mcs-post-slider-11 .mcs-post-summary > p,
section.mcs-post-slider-12 .mcs-post-summary > p,
section.mcs-post-slider-13 .mcs-post-summary > p {
    -webkit-line-clamp: 5;
}


/*Responsive Mobile And Tablet*/

@media screen and (max-width: 991px) {
    .mcs-grid {
        grid-gap: 20px;
    }
    .mcs-grid-4, .mcs-grid-5, .mcs-grid-6 {
        -ms-grid-columns: (minmax(0,1fr)) [3];
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .mcs-grid-1 .mcs-content-item > .pic, 
    .mcs-grid-2 .mcs-content-item > .pic,
    .mcs-grid-3 .mcs-content-item > .pic,
    .mcs-grid-4 .mcs-content-item > .pic,
    .mcs-grid-5 .mcs-content-item > .pic,
    .mcs-grid-6 .mcs-content-item > .pic,
    section.mcs-post-slider .mcs-content-item > .pic {
        max-height: 150px;
    }
}

@media screen and (max-width: 780px) {
    .mcs-grid-3, .mcs-grid-4, .mcs-grid-5, .mcs-grid-6 {
        -ms-grid-columns: (minmax(0,1fr)) [2];
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .mcs-grid-1 .mcs-content-item > .pic, 
    .mcs-grid-2 .mcs-content-item > .pic,
    .mcs-grid-3 .mcs-content-item > .pic,
    .mcs-grid-4 .mcs-content-item > .pic,
    .mcs-grid-5 .mcs-content-item > .pic,
    .mcs-grid-6 .mcs-content-item > .pic,
    section.mcs-post-slider .mcs-content-item > .pic {
        max-height: 200px;
    }
    .mcs-grid h3.mcs-post-title,
    section.mcs-post-slider h3.mcs-post-title {
        font-size: 16px;
    }
    .mcs-grid .mcs-post-summary > p,
    section.mcs-post-slider .mcs-post-summary > p {
        font-size: 14px;
    }
}

@media screen and (max-width: 425px) {
    .mcs-grid .mcs-author > a > .mcs-the-author > span {
        font-size: 10px;
    }
    .mcs-grid .mcs-author > a > .mcs-the-author > strong {
        font-size: 14px;
    }
}