﻿
.ffa .hover-panel {
    padding-left: 1px;
    padding-right: 1px;
}
.ffa .ffa-hover-tiles {
   /* z-index: 2;*/
    height: 100%;
}
.ffa .ffa-hover-tiles .inner-container {
    margin: auto;
    height: 100%;
}
.ffa .ffa-hover-tiles .c11-container {
    height: 100%;
}
.ffa .ffa-hover-tiles .tile {
    width: 25%;
    border: none;
    border-right: 1px solid #0066B2;
    background-color: #fff;
    padding: 60px 34px 10px;
    margin: 0;
    transition: all 0.25s ease-in-out;
    overflow: hidden;
    cursor: default;
}
.ffa .ffa-hover-tiles .tile:focus {
    outline-offset: 4px;
}
.ffa .ffa-hover-tiles .tile:focus:not(:focus-visible) {
    outline: none;
}
.ffa .ffa-hover-tiles.column-count-4 .tile {
    width: 20%
}
.ffa .ffa-hover-tiles.column-count-4 .tile.active {
    width: 40%
}

.ffa .ffa-hover-tiles .tile-photo {
    padding:0;
}
.ffa .ffa-hover-tiles .tile-photo .top {
    padding: 20px;
    justify-content: center;
}

@media (min-width: 768px) {
    .ffa .ffa-hover-tiles .c11-container {
        height: 100%;
        max-height: 472px;
    }
    .ffa .ffa-hover-tiles .table-container {
        margin-bottom: 0;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow-y: hidden;
    }
    .ffa .ffa-hover-tiles .tile.active .bottom .first {
        margin-top: 12%;
        font-size: 1.8rem;
        line-height: 3.2rem;
    }
    .ffa .ffa-hover-tiles .tile {    
        opacity: 0.9;
        height: 472px;
    }
    .ffa .ffa-hover-tiles .tile.active {
        width: 50%;
        margin: -54px 0;
        opacity: 1;
        z-index:1;
        border:none;
        height: calc(472px + 54px + 54px);
    }
    .ffa .ffa-hover-tiles .tile .active-show {
        opacity: 0;
    }
    .ffa .ffa-hover-tiles .tile.active .active-show {
        transition: all 0.25s ease-in-out 0.35s;
        opacity: 1;
    }
    .ffa .ffa-hover-tiles .tile .top,
    .ffa .ffa-hover-tiles .tile .bottom {
        height: 50%;
        display: flex;
        flex-direction: column;
    }
    .ffa .ffa-hover-tiles .tile .top {
        justify-content: flex-end;
    }
    .ffa .ffa-hover-tiles .tile .top .goal-text {
        margin-bottom: auto;
    }
    .ffa .ffa-hover-tiles .tile .bottom .first {
        transition: all 0.25s ease;
        margin-bottom: 8px;
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
    .ffa .ffa-hover-tiles .tile .bottom .second {
        margin-bottom: 16px;
    }
    .ffa .ffa-hover-tiles .tile .bottom .third {
        margin-bottom:0;
    }

    .ffa .ffa-hover-tiles .tile-photo .top {
        padding: 20px;
        height:100%;
        justify-content: center;
    }
    .ffa .ffa-hover-tiles .tile-photo.active .top {
        padding: 40px;
        height: 50%;
        transition: all 0.5s ease;
    }
    .ffa .ffa-hover-tiles .tile-photo .header {
        font-size: 1.6rem;
        line-height: 2.4rem;
        font-family: "Gotham Narrow A", "Gotham Narrow B", "Helvetica Neue", Helvetica, Arial, sans-serif;;
    }
    .ffa .ffa-hover-tiles .tile-photo.active .header {
        font-size: 1.8rem;
        line-height: 3.2rem;
        font-weight: bold;
        font-family: "Gotham A", "Gotham B", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }
    .ffa .ffa-hover-tiles .tile-photo .active-show {
        margin-bottom: 0;
    }
    .ffa .ffa-hover-tiles .tile-photo.active .active-show {
        transition: opacity 0.25s ease-in-out 0.35s;
    }
    .ffa .ffa-hover-tiles .tile-photo .bottom {
        height: 50%;
        display: none;
    }
    .ffa .ffa-hover-tiles .tile-photo.active .bottom {
        height: 50%;
        display:block;
    }
    .ffa .ffa-hover-tiles .tile-photo .background {
        height: 100%;
        width: 100%;
        background-size: cover;
    }
}

@media only screen and (min-width: 992px) and (max-height: 749px) {
    .ffa .hover-panel {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .ffa .ffa-hover-tiles .tile {
        padding: 20px;
    }
    .ffa .ffa-hover-tiles .tile.active {
        margin: -10px 0;
    }
    .ffa .ffa-hover-tiles .tile.active .bottom .first {
        margin-top: 0;
    }
    .ffa .ffa-hover-tiles .tile .bottom .second {
        margin-bottom: 0;
    }
    .ffa .ffa-hover-tiles .tile .image-container {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 767px) {
    .ffa .ffa-hover-tiles {
        width: 100%;
    }
    .ffa .ffa-hover-tiles .inner-container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
        .ffa .ffa-hover-tiles .c11-container {
            justify-content: stretch;
            align-items: stretch;
            width: calc(((300px - 80px) * 3) + 40px);
        }
        .ffa .ffa-hover-tiles.column-count-4 .c11-container {
            width: calc(((300px - 80px) * 4) + 40px);
        }
    .ffa .ffa-hover-tiles .table-container {
    width: 100%;
    height: 100%;
        overflow-x: visible;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 20px;
    }
    .ffa .ffa-hover-tiles .tile {
        width: calc(300px - 80px) !important;
        padding: 40px;
        height: auto
    }
    .ffa .ffa-hover-tiles .tile.active {
        margin: 0;
    }
}


.ffa .slide-control {

    width: 100%;
    padding: 0 40px
}

.ffa .slide-control .slide-container {
    width: 100%; /* Width of the outside container */
}

.ffa .slide-control .slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 100%; /* Full-width */
    height: 3px; /* Specified height */
    background: #adadad; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
}

/* Mouse-over effects */
.ffa .slide-control .slider:hover,
.ffa .slide-control .slider:focus {
    opacity: 1; /* Fully shown on mouse-over */
}
.ffa .slide-control .slider:focus:not(:focus-visible) {
    outline: none;
}
.ffa .slide-control .slider:focus {
    outline: 1px dotted;
    outline-offset: 2px;
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.ffa .slide-control .slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 25%; /* Set a specific slider handle width */
    height: 3px; /* Slider handle height */
    background: #009DD9; /* Green background */
    cursor: pointer; /* Cursor on hover */
}

.ffa .slide-control .slider::-moz-range-thumb {
    width: 25%; /* Set a specific slider handle width */
    height: 3px; /* Slider handle height */
    background: #009DD9; /* Green background */
    cursor: pointer; /* Cursor on hover */
}

.ffa .disable-scrollbars::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* Chrome/Safari/Webkit */
}

.ffa .disable-scrollbars {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}