/* ================= GENERAL ================== */

@font-face {
  font-family: 'tmcposts';
  src: url('font/tmcposts.eot?99345948');
  src: url('font/tmcposts.eot?99345948#iefix') format('embedded-opentype'),
       url('font/tmcposts.woff2?99345948') format('woff2'),
       url('font/tmcposts.woff?99345948') format('woff'),
       url('font/tmcposts.ttf?99345948') format('truetype'),
       url('font/tmcposts.svg?99345948#tmcposts') format('svg');
  font-weight: normal;
  font-style: normal;
}

.tmcposts-icon:before {
    font-family: "tmcposts";
    font-style: normal !important;
    font-weight: normal !important;
    speak: none;
    text-align: center;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tmcposts-left-arrow:before { content: '\e800'; }
.tmcposts-right-arrow:before { content: '\e801'; }
.tmcposts-circle-empty:before { content: '\f10c'; }
.tmcposts-circle:before { content: '\f111'; }

.tmc-danger {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 5px solid rgba(0, 0, 0, 0.2);
    font-weight: 700;
    color: #fff;
    background-color: #ba324f;
}

a.tmcbtn {
    display: inline-block;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
}

a.tmcbtn:before,
a.tmcbtn:after {
    display: none !important;
}

.tmc-clear {
    clear: both;
}

.tmc-overflow-hidden {
    overflow: hidden !important;
}

.tmc-ellipsis {
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* ================= CAROUSEL ================== */

.tmc-posts-carousel {
    padding-bottom: 0px !important;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

.tmc-posts-carousel-item{
    position: relative;
    vertical-align: bottom;
}

.tmc-posts-carousel .slick-prev,
.tmc-posts-carousel .slick-next {
    top: 50%;
    bottom: 10px;
    background: #000;
    width: 45px;
    height: 45px;
    border-radius: 0;
    transition: all 0.15s ease-in-out;
    margin: 0 0 0 0;
    transform: translateY(-50%);
    z-index: 9;
    opacity: 1;
}

.tmc-posts-carousel .slick-prev:before,
.tmc-posts-carousel .slick-next:before {
    font-family: "tmcposts";
    font-size: 16px;
    transition: all 0.2s ease-in-out;
    color: #fff;
    line-height: 45px;
}

.tmc-posts-carousel .slick-prev:before {
    content: '\e800';
}

.tmc-posts-carousel .slick-next:before {
    content: '\e801';
}

.tmc-posts-carousel .slick-dots {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 10;
}

.tmc-posts-carousel .slick-dots li {
    margin: 0 1px !important;
    line-height: 20px;
    width: 20px;
}

.tmc-posts-carousel .slick-dots li button {
    display: inline-block;
}

.tmc-posts-carousel .slick-dots li button:before {
    font-family: 'tmcposts';
    content: '\f10c';
    color: #000;
    font-size: 20px
}

.tmc-posts-carousel .slick-dots li.slick-active button:before,
.tmc-posts-carousel .slick-dots li:hover button:before {
    content: '\f111';
}

.tmc-posts-card-body-wrapper-inner {
    max-width: 100%;
}

.tmc-posts-carousel .slick-prev.slick-disabled, 
.tmc-posts-carousel .slick-next.slick-disabled {
    opacity: 0;
    pointer-events:none;
}

/* ================= CARD ================== */

.tmc-posts-card {
  position: relative;
}

.tmc-posts-horizontal {
    display: flex;
    align-items: stretch;
}

.tmc-posts-horizontal-reverse {
    display: flex;
    flex-direction:row-reverse;
    align-items: stretch;
}

.tmc-posts-card-body-wrapper {
    display: flex;
    flex-direction: row;
}

.tmc-posts-bg-img .tmc-posts-card-body-wrapper {
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    width:100%;
    height:100%;
    z-index: 1;
    transition: background 0.4s ease-in-out;
    overflow: hidden;
}

.tmc-posts-bg-img .tmc-posts-card-body-url {
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    width:100%;
    height:100%;
    z-index: 1;
}

.tmc-posts-card-body {
    z-index: 2;
}

.tmc-posts-card-footer {
    display: flex;
    align-items: center;
}

.tmc-posts-card-img-wrapper {
    position: relative;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity 0.2s ease-in-out;
}

.tmc-posts-horizontal .tmc-posts-card-img-wrapper a,
.tmc-posts-horizontal-reverse .tmc-posts-card-img-wrapper a{
    position: absolute;
    width:100%;
    height: 100%;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index: 1;
}

.tmc-posts-card-img-wrapper.overflowhidden {
    overflow: hidden;
}

.tmc-posts-card-title a {
    text-decoration: none !important;
}

.tmc-posts-card-featured-img {
    display: block;
}

.tmc-posts-card-featured-img,.tmc-posts-card-featured-img img {
    vertical-align: bottom;
}

.tmc-posts-card-featured-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: opacity 0.2s ease-in-out;
}

.tmc-posts-card-cats span a,.tmc-posts-card-author-img a {
    display: inline-block;
    vertical-align: bottom;
}

.tmc-posts-card-date.card-footer-block a,.tmc-posts-card-date.card-footer-block span {
    display: block;
}

.tmc-posts-card-date.card-footer-inline a,.tmc-posts-card-date.card-footer-inline span {
    display: inline-block;
}

.tmc-posts-card-cats a,.tmc-posts-card-date a {
    transition: all 0.15s ease-in-out;
}

.tmc-posts-card-author-img img {
  display: inline-block;
  vertical-align: middle;
}

/* ================= PAGINATION ================== */

.tmc-posts-pager {
    display: flex;
}

.tmc-posts-pager > a,.tmc-posts-pager > span {
    text-align:center;
    transition: all 0.15s ease-in-out;
}

.tmc-posts-pager .current,
.tmc-posts-pager .dots{
    pointer-events: none;
}

/* ================= LIST ================== */

.tmc-posts-list-wrapper {
    display: flex;
}

.tmc-posts-list-wrapper.reverse {
    flex-direction:row-reverse;
}

.tmc-posts-list-img {
    display: block;
    position: relative;
}

.tmc-posts-list-img,
.tmc-posts-list-img img {
    vertical-align: bottom;
}

.tmc-posts-list-img img {
    width: 100%;
    height: auto;
    transition: opacity 0.2s ease-in-out;
}

.tmc-posts-list-right a {
    text-decoration: none !important;
    transition: color 0.2s ease-in-out;
}

.tmc-posts-list-right a,
.tmc-posts-list-right div {
    display:block;
    width:100%;
}

div.tmc-posts-list-date {
    display:flex;
    align-items:center;
}

.tmc-posts-list-date img {
  margin-right:4px;
  vertical-align:middle;
  margin-bottom:1px
}

/* ================= ALIGNMENTS ================== */

.align-items-start {
    -webkit-box-align: start !important;
    -ms-flex-align: start !important;
    align-items: flex-start !important;
}

.align-items-end {
    -webkit-box-align: end !important;
    -ms-flex-align: end !important;
    align-items: flex-end !important;
}

.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.justify-content-start {
    -webkit-box-pack: start !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
}

.justify-content-end {
    -webkit-box-pack: end !important;
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
}

.justify-content-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

/* ================= MASONRY ================== */

.tmc-posts-column {
    float: left;
}

.size-1of1 {
    width: 100%;
}

.size-1of2 {
    width: 50%;
}

.size-1of3 {
    width: 33.333%;
}

.size-1of4 {
    width: 25%;
}

.size-1of5 {
    width: 20%;
}

.size-1of6 {
    width: 16.666%;
}

.tmc-masonry-grid {
    position: relative;
    width: auto;
    height: auto;
    vertical-align: bottom;
    margin: 0px -20px;
    min-width: 100%;
    display: block;
    opacity: 0;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

.tmc-masonry-grid .tmc-posts-masonry-item {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    width: 100%;
    padding: 0px 20px;
    margin-bottom: 40px;
}

.tmc-masonry-grid .tmc-posts-masonry-item .tmc-posts-card-featured-img img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.tmc-masonry-grid .tmc-posts-masonry-item .tmc-posts-card-featured-img a {
    position: relative;
    display: block;
    z-index: 8;
    overflow: hidden;
}

.tmc-posts-masonry-item .tmc-posts-card-featured-img img {
    transition-property: opacity;
    transition-timing-function: ease-in-out;
}

.tmc-one-column[data-columns]::before {
    content: '1 .tmc-posts-column.size-1of1';
}

.tmc-two-columns[data-columns]::before {
    content: '2 .tmc-posts-column.size-1of2';
}

.tmc-three-columns[data-columns]::before {
    content: '3 .tmc-posts-column.size-1of3';
}

.tmc-four-columns[data-columns]::before {
    content: '4 .tmc-posts-column.size-1of4';
}

.tmc-five-columns[data-columns]::before {
    content: '5 .tmc-posts-column.size-1of5';
}

.tmc-six-columns[data-columns]::before {
    content: '6 .tmc-posts-column.size-1of6';
}

.tmc-one-column[data-columns]::before,
.tmc-two-columns[data-columns]::before,
.tmc-three-columns[data-columns]::before,
.tmc-four-columns[data-columns]::before,
.tmc-five-columns[data-columns]::before,
.tmc-six-columns[data-columns]::before {
    visibility: hidden;
}

/* ================= MASONRY MEDIA QUERIES ================== */

@media screen and (min-width: 1200px) {
    .tmc-two-columns[data-columns]::before {
        content: '2 .tmc-posts-column.size-1of2';
    }

    .tmc-three-columns[data-columns]::before {
        content: '3 .tmc-posts-column.size-1of3';
    }

    .tmc-four-columns[data-columns]::before {
        content: '4 .tmc-posts-column.size-1of4';
    }

    .tmc-five-columns[data-columns]::before {
        content: '5 .tmc-posts-column.size-1of5';
    }

    .tmc-six-columns[data-columns]::before {
        content: '6 .tmc-posts-column.size-1of6';
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .tmc-six-columns[data-columns]::before {
        content: '5 .tmc-posts-column.size-1of5';
    }

    .tmc-five-columns[data-columns]::before {
        content: '4 .tmc-posts-column.size-1of4';
    }

    .tmc-four-columns[data-columns]::before {
        content: '3 .tmc-posts-column.size-1of3';
    }

    .tmc-three-columns[data-columns]::before,
    .tmc-two-columns[data-columns]::before {
        content: '2 .tmc-posts-column.size-1of2';
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .tmc-six-columns[data-columns]::before {
        content: '4 .tmc-posts-column.size-1of4';
    }

    .tmc-five-columns[data-columns]::before {
        content: '3 .tmc-posts-column.size-1of3';
    }

    .tmc-four-columns[data-columns]::before {
        content: '2 .tmc-posts-column.size-1of2';
    }

    .tmc-three-columns[data-columns]::before,
    .tmc-two-columns[data-columns]::before {
        content: '1 .tmc-posts-column.size-1of1';
    }
}

@media only screen and (max-width: 575px) {
    .tmc-six-columns[data-columns]::before {
        content: '3 .tmc-posts-column.size-1of3';
    }

    .tmc-five-columns[data-columns]::before {
        content: '2 .tmc-posts-column.size-1of2';
    }

    .tmc-four-columns[data-columns]::before,
    .tmc-three-columns[data-columns]::before,
    .tmc-two-columns[data-columns]::before {
        content: '1 .tmc-posts-column.size-1of1';
    }
}
