/*! Flickity v1.2.1
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
    position: relative;
}

.flickity-enabled:focus {
    outline: none;
}

.flickity-viewport {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.flickity-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-tap-highlight-color: transparent;
            tap-highlight-color: transparent;
}

.flickity-enabled.is-draggable .flickity-viewport {
    cursor: move;
    cursor: -webkit-grab;
    cursor:         grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
    cursor: -webkit-grabbing;
    cursor:         grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    /* vertically center */
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    border: none;
    border-radius: 0;
    background: white;
    background: hsla(0, 0%, 100%, .75);
}

.flickity-prev-next-button:hover {
    background: white;
}

.flickity-prev-next-button:focus {
    outline: none;
    box-shadow: 0 0 0 5px #09f;
}

.flickity-prev-next-button:active {
    opacity: .6;

    filter: alpha(opacity=60); /* IE8 */
}

.flickity-prev-next-button.previous {
    left: 1.5em;
}
.flickity-prev-next-button.next {
    right: 1.5em;
}
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
    right: 10px;
    left: auto;
}
.flickity-rtl .flickity-prev-next-button.next {
    right: auto;
    left: 10px;
}

.flickity-prev-next-button:disabled {
    cursor: auto;
    opacity: .3;

    filter: alpha(opacity=30); /* IE8 */
}

.flickity-prev-next-button svg {
    position: absolute;
    top: 25%;
    left: 22%;
    width: 50%;
    height: 50%;
}

.flickity-prev-next-button .arrow {
    fill: #333;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {
    font-size: 26px;
    color: #333;
}

/* ---- page dots ---- */

.flickity-page-dots {
    line-height: 1;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    padding: 1em;
    list-style: none;
    text-align: center;
    background: rgba(18, 39, 67, .85);
}

.flickity-rtl .flickity-page-dots {
    direction: rtl;
}

.flickity-page-dots .dot {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin: 0 .5em;
    cursor: pointer;
    opacity: .25;
    border-radius: 50%;
    background: #fff;

    filter: alpha(opacity=25); /* IE8 */
}

.flickity-page-dots .dot.is-selected {
    opacity: 1;

    filter: alpha(opacity=100); /* IE8 */
}

.section-slider .gallery-cell {
    width: 100%;
    height: calc( 80vh - 175px);
    min-height: 500px;
    text-align: center;
    background-position: center center!important;
    background-size: cover!important;
}


.section-slider .gallery-cell .container {
    position: relative;
    top: 45%;
    max-width: 700px;
    transform: translateY(-45%);
}
.section-slider .cell-content .text {
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1.25em;
    padding: 1em;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .39);
}

.section-slider .cell-content a {
    font-size: 1.15em;
    padding: .75em 1.5em;
}





.section-clients .clients {
    float: left;
    width: 33.3333337%;
    padding: 20px 0;
    text-align: center;
    opacity: .7;
}

@media (min-width: 550px) {
    .section-clients .clients {
        width: 25%;
    }
}

@media (min-width: 992px) {
    .section-clients .clients {
        width: 16.66667%;
    }
}


.gallery-cell span {
    color: white;
    display:inline-block;
    padding-left:0.5em;
    padding-right: 0.5em;
}

@media ( max-width: 768px ) {
    .flickity-prev-next-button {
        display: none;
    }
}
@media ( max-width: 468px ) {
    .gallery-cell span {
        display: none;
    }
    .gallery-cell .btn {
        display: block;
        margin: 0 auto 5px auto;
        max-width: 200px;
    }
    .gallery-cell .btn-primary {
        display: none;
    }
}