.tiles{
    margin-bottom: calc(35px + (100 - 35) * ((100vw - 320px) / (1024 - 320))); 
}

.tiles .title-cont {
    text-align: center;
}

.tiles .title-cont h2 {
    color: white;
    margin: 0;
    text-shadow: 0px 0px;
    font-size: 30px;
    line-height: 30px;
}

.tiles .inner-panel {
    display: flex;
    flex-direction: column;
    border: 1px solid white;
}

.tiles .tile {
    position: relative;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}
@media (max-width:  40.063em) {
    .contentRender_name_plugins_collections_template_custom_tiles .tiles .tile {
        max-height: 206px;
    }
    .contentRender_name_plugins_collections_template_custom_tiles .tiles .tile .img-cont {
        padding-bottom: 43%;
    }
	.contentRender_name_plugins_collections_template_custom_tiles .tiles .tile .title-cont {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 15px 15px;
	}
}
.tiles .tile .title-cont {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 15px;
}

.tiles .tile .title-cont h3 {
    margin: 0;
    text-align: center;
}

.tiles .tile .title-cont h3 .title1 {
    display: block;
    font-family:'Avenir LT W01_55 Roman1475520';
    font-size: 24px;
}

.tiles .tile .title-cont h3 .title2 {
    display: block;
    font-family:'Avenir LT W01_95 Black1475556';
    font-size: 24px;
}

.tiles .tile .img-cont {
    padding-bottom: 74%;
    position: relative;
}

@media (min-width: 641px) {
    .tiles .inner-panel {
        flex-direction: row;
        flex-wrap: wrap;
        border: 0;
    }
    .tiles .tile {
        width: 50%;
        border-bottom: 2px solid white;
        border-top: 2px solid white;
    }
    .tiles .tile:first-child {
        border-top: 2px solid white !important;
    }
    .tiles .tile:last-child {
        border-right: 2px solid white !important;
    }
    .tiles .tile:nth-child(odd) {
        border-left: 2px solid white;
        border-right: 1px solid white;
    }
    .tiles .tile:nth-child(even) {
        border-right: 2px solid white;
        border-left: 1px solid white;
    }
    .tiles .tile:nth-child(2n+1) {
        border-top: 0;
    }
    .tiles .tile:nth-child(3n+1) {
        border-top: 0;
    }
    .tiles .tile:nth-child(5n+1) {
        border-top: 0;
    }
    .tiles .tile .title-cont h3 .title1,
    .tiles .tile .title-cont h3 .title2 {
        font-size: 26px;
        line-height: 26px;
    }
}

@media (min-width: 1025px) {
    .tiles{
        margin-bottom: 100px;
    }
    .tiles .tile:nth-child(3n) {
        border-left: 0;
        border-top: 2px solid white;
    }
    .tiles .tile:nth-child(4n) {
        border-left: 2px solid white;
        border-right: 1px solid white;
    }
    .tiles .tile:nth-child(5n) {
        border-left: 1px solid white;

    }
    .tiles .title-cont h2 {
        font-size: 68px;
        line-height: 70px;
    }
    .tiles .tile {
        width: 33.3333%;
        overflow: hidden;
    }
    .tiles .tile .img-cont {
        padding-bottom: 80%;
        transition: transform 0.35s;
        transform: scale(1.12);
        z-index: 1;
    }
    .tiles .tile:hover .img-cont {
        transform: scale(1);
    }
    .tiles .tile .img-cont::before {
        content: "";
        position: absolute;
        top: 30px;
        left: 30px;
        width: calc(100% - 60px);
        height: calc(100% - 60px);
        border: 1px solid white;
        transition: opacity 0.35s, transform 0.35s;
        opacity: 0;
        transform: scale(1.1);
        z-index: 3;
    }
    .tiles .tile:hover .img-cont::before {
        opacity: 1;
        transform: scale(1);
    }
    .tiles .tile .img-cont::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: opacity 0.35s;
        opacity: 0;
        background-color: black;
        z-index: 2;
    }
    .tiles .tile:hover .img-cont::after {
        opacity: 0.5;
    }
    .tiles .tile .title-cont {
        padding: 50px 20px;
        z-index: 5;
    }
    .tiles .tile .title-cont h3 .title1, 
    .tiles .tile .title-cont h3 .title2 {
        font-size: 34px;
        line-height: 34px;
    }
}