﻿*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}


.feature {
    width: 80%;
    margin: auto;
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
    width: 80%;
    margin: auto;
}

@media (max-width: 768px) {

    .feature {
        width: 100%;
    }

    .gallery-wrapper {
        width: 100%;
    }
}

/* Useful Classes */
.xy-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.transition {
    transition: all 350ms ease-in-out;
}

.r-3-2 {
    width: 100%;
    padding-bottom: 66.667%;
    background-color: #ddd;
}

.image-holder {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Main Styles */


.gallery {
    position: relative;
    white-space: nowrap;
    font-size: 0;
}

.item-wrapper {
    cursor: pointer;
    width: 23%; /* arbitrary value */
    display: inline-block;
    border: 3px solid #124b70;
    background-color: white;
}

.gallery-item {
    opacity: 0.5;
}

    .gallery-item.active {
        opacity: 1;
    }

.controls {
    font-size: 0;
    border-top: none;
    position: absolute;
    bottom: 0;
}

.move-btn {
    display: inline-block;
    width: 50%;
    border: none;
    color: #ccc;
    background-color: transparent;
    padding: 0.2em 1.5em;
    font-size: 80px;
    color: #c5102f;
}

    .move-btn i {
        font-size: 44px !important;
    }

    .move-btn:first-child {
        border-right: none;
    }

    .move-btn.left {
        cursor: pointer;
        float: left;
        display: contents;
    }

    .move-btn.right {
        cursor: pointer;
        float: right;
        display: contents;
    }
