﻿.theme-links {
    background-color: #940000;
    padding: 60px 35px;
    overflow: hidden;
    position:relative;
}
.theme-links h2 {
    color: #fff;
    font-size: 48px;
    display: block;
    margin: 0;
}
.theme-links .title {
    transform: translate(-40px);
    opacity: 0;
    transition-timing-function: ease-in;
    transition-duration: .4s;
}
.theme-links .title.isVisible {
    opacity: 1;
    transform: translate(0);
}
.theme-links .container {
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.theme-links .List {
    display: flex;
    flex-wrap: wrap;
    margin: 48px 0 0 0;
}

.theme-links .mobile-container {
    display: block;
    position: relative;
    white-space: nowrap;
}

.theme-links #mobile .column {
    display: inline-block;
    white-space: normal;
    vertical-align: top;
}

.theme-links .mobile-container.single-tablet .column {
    width: 100% !important;
}

.theme-links .List .item .link-content {
    display: flex;
    position: relative;
    align-items: center;
    cursor: pointer;
}
.theme-links .List .item {
    display: inline-block;
    align-items: center;
    margin: 0 0 38px 0;
    width: 33.3%;
    font-family: Colossalis;
    font-size: 18px;
    color: #fff;
    letter-spacing: 3.6px;
    font-weight: 100;
    text-transform: uppercase;
    transition-property: opacity,transform;
    transform: translateY(40px);
    opacity: 0;
    transition-timing-function: ease-in;
    transition-duration: .4s;
}
.theme-links .List .item.isVisible {
    opacity: 1;
    transform: translate(0);
}
.theme-links .List .item .icon-image {
    width: 45px;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 15px 0 0;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.theme-links .List .item .title {
    padding: 0 0 4px 0;
    margin: 0 0 5px 0;
    width: calc(100%);
    background-image: linear-gradient(transparent calc(100% - 2px), #FFFFFF 2px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 1s;
    opacity: 1;
    transform: translate(0);
}

.theme-links .List .item .title-area {
    padding: 0 15px;
    display: inline-block;
    vertical-align: middle;
}

.theme-links .List .item:hover .title {
    background-size: 100% 100%;
}

.theme-links .pagination {
    position: absolute;
    bottom: 0;
    margin: 0 0 25px 0;
    height: 18px;
    right: 0;
    left: 0;
    z-index: 2;
    justify-content: center;
}

.theme-links .pagination li {
    height: 13px;
    width: 13px;
    border-radius: 13px;
    border: solid 1px #fff;
    margin: 0 10px;
    cursor: pointer;
}

.theme-links li.active,
.theme-links li:hover {
    background: #fff;
}

.theme-links #mobile,
.theme-links .pagination {
    display: none;
}

@media (min-width: 1200px) {
    .theme-links .container {
        max-width: 1261px;
    }
}

@media (max-width: 991px) {
    .theme-links {
        padding: 60px 0;
    }
    .theme-links .container {
        max-width: none;
    }
    .theme-links .List .item {
        width: 50%;
    }
    .theme-links h2 {
        text-align: center;
    }
    .theme-links .List .item .link-content {
        margin: 0 0 0 100px;
    }
    .theme-links #desktop {
        display: none;
    }
    .theme-links #mobile,
    .theme-links .pagination {
        display: flex;
    }
}
@media screen and (max-width: 767px) {
    .theme-links .List .item {
        width: 100%;
    }

    .theme-links .List .item .link-content {
        margin: 0 40px;
    }

    .theme-links .pagination.mobile {
        display: flex;
    }

    .theme-links .pagination.tablet {
        display: none;
    }

    .theme-links {
        padding: 60px 20px;
    }

    .theme-links .List .item .title {
        background-size: 100% 100%;
    }
}