

/** Glidejs styles **/
.slider {
    position: relative;
    overflow: hidden;
}

.slides {
    margin: 0;
    height: auto;
    overflow: hidden;
    /**
     * Prevent blinking issue
     * Not tested. Experimental.
     */
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;

    -webkit-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
    -moz-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
    -ms-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
    -o-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
    transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
}

.slide {
    float: left;
    clear: none;
    z-index: 80;
}
.slide div.figure {
    display: block;
    position: relative;
    text-align: center;
    z-index: 50;
}
.slide div.figure figcaption {
    position: absolute;
    right: 20%;
    font-size: 1.1em;
    font-weight: bold;
    padding: 8px 14px;
    color: #464646;
    background: rgba(255,255,255,0.8);
}
.slide div.figure figcaption a {
    color: #5a7fbc;
    text-decoration: none;
}
.slide div.figure figcaption a:hover { text-decoration: underline; }

.slide div.figure img {
    max-height: 480px;
}
.slide-desc {
    z-index: 60;
}


.slider-arrows {
    display: none;
}

.slider-arrow {
    position: absolute;
    display: block;
    margin-bottom: -20px;
    padding: 20px;
    font-family: 'Alegreya Sans', 'Trebuchet MS', sans-serif;
    text-decoration: none;
    font-weight: 900;
    font-size: 3.0em;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 8px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.slider-arrow:hover {
    background: #ddd;
    color: #aaa;
}
.slider-arrow--right { bottom: 50%; right: 30px; }
.slider-arrow--left { bottom: 50%; left: 30px; }


.slider-nav {
    position: absolute;
    left: 75% !important;
    bottom: 50px;
    z-index: 100;
}

.slider-nav__item {
    width: 12px;
    height: 12px;
    float: left;
    clear: none;
    display: block;
    margin: 0 5px;
    background: #fff;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}
.slider-nav__item:hover { background: #bababa; }
.slider-nav__item--current, .slider-nav__item--current:hover { background: #999; }



/** responsive styles **/
@media screen and (max-width: 1050px) {
    .slider-arrow { font-size: 1.8em; padding: 15px; }
}

@media screen and (max-width: 650px) {
    h1 { font-size: 2.9em; }
}

@media screen and (max-width: 450px) {
    h1 { font-size: 2.1em; }
}

.slide {
    margin: 0;
    padding: 0;
}
.slide img {
    border: 0; max-width: 100%;
}
#main-slider .slides {
    padding: 0;
    height: 420px;
}
