﻿.theme-tiles .List {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.theme-tiles .container {
    max-width: none;
}

.theme-tiles .List .titles-link {
    display: block;
    height: 100%;
    width: 100%;
    color: #fff;
    background-size: cover;
    background-position: 0 0;
    position: relative;
}

.theme-tiles .List .titles-link::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    transition: inherit;
    transition: all 0.5s ease-in-out;
}

.theme-tiles .List .titles-link:hover:before {
    transform: scale(1.05);
}

.titleDivider .titleDividerColor hr {
    text-align: left;
}

.theme-tiles .titleDividerColor {
    width: 110px;
    height: 2px;
    position: relative;
    border: none;
    opacity: 0;
    margin: 0 0 25px 0;
    background-color: #CCC;
}

.theme-tiles #loadMore {
    font-family: Colossalis, arial, sans-serif !important;
    text-transform: uppercase;
    font-weight: 100 !important;
    letter-spacing: .2em;
    padding: 20px 39px;
    background-color: #960000;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 20px;
    display: block;
    margin: 50px auto;
    cursor: pointer;
}

.theme-tiles .List .titles-link .overlay {
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.theme-tiles .List .item {
    overflow: hidden;
    position: relative;
    border: solid 3px #fff;
    opacity: 0;
    transition-duration: .4s;
    transform: translateY(40px);
    transition-timing-function: ease;
    transition-property: opacity,transform;
    height: 0;
    width: 0;
}

.theme-tiles #unloadedList {
    display: none;
}

.theme-tiles #loadedList .item {
    height: 600px;
    width: 33.3%;
}

@media only screen and (max-width: 992px) {
    .theme-tiles #loadedList .item {
        width: 50%;
        height: 450px;
    }
}

@media only screen and (max-width: 768px) {
    .theme-tiles #loadedList .item {
        width: 100%;
    }
}

.theme-tiles #loadedList .item.isVisible {
    opacity: 1;
    transform: translate(0);
}

.theme-tiles .isVisible .titleDividerColor {
    opacity: 1;
    transition-duration: .4s;
    transition-timing-function: ease;
    transition-property: opacity;
}

.theme-tiles .List .item .tiles-title {
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 28.8px;
    color: #fff;
    margin: 0 0 10px 0;
    font-family: Colossalis, Impact, sans-serif;
    text-transform: uppercase;
}

.theme-tiles .List .item .tiles-title:hover {
    color: #940000 !important;
}

.theme-tiles .List .item .titles-desc {
    line-height: 22.5px;
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 15px;
    overflow: hidden;
    position: relative;
    line-height: 1.4em;
    max-height: 2.8em;
    text-align: justify;
    margin-right: -1em;
    padding-right: 1em;
}

.theme-tiles .List .item .titles-desc:before {
    content: '...';
    position: absolute;
    right: 0;
    bottom: 0;
}

.theme-tiles .List .item .titles-desc:after {
    content: '';
    position: absolute;
    right: 0;
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
}

.theme-tiles .overlay .read-more {
    font-family: Colossalis,Impact,sans-serif;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 16px;
    line-height: 27px;
    height: 27px;
    display: flex;
    max-width: 126px;
    white-space: nowrap;
}

.theme-tiles .overlay .read-more span:hover {
    color: #940000 !important;
    text-decoration: none !important;
    background-size: 100% 100%;
}

.theme-tiles .overlay .read-more .fa-plus-circle {
    width: 15px;
    color: #960000;
}

.theme-tiles .overlay .read-more span {
    background-image: linear-gradient(transparent calc(100% - 2px), #960000 2px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 1s;
    display: inline-block;
    color: #fff;
    width: calc(100%);
    margin: 0 0 0 5px;
}
