﻿.tile-item {
    border: 1px solid rgba(0, 0, 0, 0.29);
    background-color: #fff;
    position: relative;
    height: 100%;
    text-align: center;
    min-height: 100px;
    border-radius: 4px;
}


    .tile-item img {
        width: 100%;
    }



    .tile-item .button-div a {
        color: #fff !important;
        margin-left: 5px;
    }

    .tile-item .button-div {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.29);
        display: none;
        align-items: center;
        justify-content: center;
    }

    .tile-item:hover .button-div {
        display: flex;
    }

.K2 .col-sm-6:nth-child(2n+1), .K6 .col-sm-9:nth-child(2n+1), .K7 .col-sm-3:nth-child(2n+1), .K8 .col-sm-6:nth-child(2n+1) {
    padding-left: 2px;
}

.K2 .col-sm-6:nth-child(2n+2), .K6 .col-sm-3:nth-child(2n+2), .K7 .col-sm-9:nth-child(2n+2), .K8 .col-sm-6:nth-child(2n+2) {
    padding-right: 2px;
}

.K8 .col-sm-6:nth-child(1), .K8 .col-sm-6:nth-child(2) {
    margin-bottom: 4px;
}

.K3 .col-sm-4:nth-child(2n+1) {
    padding-left: 4px;
}

.K3 .col-sm-4:nth-child(2n+2) {
    padding-left: 2px;
}

.K3 .col-sm-4:nth-child(2n+3) {
    padding-right: 2px;
}

.K4 .col-sm-3:nth-child(2n+1), .K4 .col-sm-3:nth-child(2n+2) {
    padding-left: 4px;
}

.K4 .col-sm-3:nth-child(2n+3) {
    padding-left: 2px;
}

.K4 .col-sm-3:nth-child(2n+4) {
    padding-right: 2px;
}


.K9 .col-sm-4:nth-child(2n+1) {
    padding-left: 4px;
}

.K9 .col-sm-4:nth-child(2n+2) {
    padding-left: 2px;
}

.K9 .col-sm-4:nth-child(2n+3) {
    padding-right: 2px;
}

.K9 .col-sm-4:nth-child(1), .K9 .col-sm-4:nth-child(2), .K9 .col-sm-4:nth-child(3), .K9 .col-sm-4:nth-child(4), .K9 .col-sm-4:nth-child(5), .K9 .col-sm-4:nth-child(6) {
    margin-bottom: 4px;
}

.K5 .col-sm-2:nth-child(2n+1), .K5 .col-sm-2:nth-child(2n+2), .K5 .col-sm-2:nth-child(2n+3), .K5 .col-sm-2:nth-child(2n+4) {
    padding-left: 4px;
}

.K5 .col-sm-2:nth-child(2n+5) {
    padding-left: 2px;
}

.K5 .col-sm-2:nth-child(2n+6) {
    padding-right: 2px;
}

.temoplates .template-item figure {
    margin-bottom: 0;
}

.temoplates .template-item {
    margin-bottom: 15px;
}

    .temoplates .template-item.template-type-1 .tiletemplate-title {
        text-align: center;
        padding: 15px 5px 5px 0px;
        font-size: 24px;
        font-weight: bold;
    }

.temoplates .template-type-1 figure img {
    width: 100%;
    border-radius: 5px;
    filter: sepia(0);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.temoplates .template-type-1 figure:hover img {
    -webkit-filter: sepia(100%);
    filter: sepia(100%);
}
.temoplates .template-type-3  figure img {
    width: 100%;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .6s ease-in-out;
    transition: .6s ease-in-out;
}

.temoplates .template-type-3  figure:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: .6s ease-in-out;
    transition: .6s ease-in-out;
}

@media (max-width: 575.99px) {
    .template-type-1 [class*="col-"] {
        padding: 0 !important;
        margin-bottom: 10px !important;
    }
}