/* Slider */
.drts-photoslider .slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
}

.drts-photoslider .slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.drts-photoslider .slick-list:focus {
    outline: none;
}

.drts-photoslider .slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.drts-photoslider .slick-slider .slick-track,
.drts-photoslider .slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.drts-photoslider .slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
  /* Commented out which is causing photos to always show in the center */
  /*margin-left: auto;
    margin-right: auto;*/
}

.drts-photoslider .slick-track:before,
.drts-photoslider .slick-track:after {
    display: table;
    content: '';
}

.drts-photoslider .slick-track:after {
    clear: both;
}

.drts-photoslider .slick-loading .slick-track {
    visibility: hidden;
}

.drts-photoslider .slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
    outline: none;
}

.drts-photoslider [dir='rtl'] .slick-slide {
    float: right;
}

.drts-photoslider .slick-slide img {
    display: block;
}

.drts-photoslider .slick-slide.slick-loading img {
    display: none;
}

.drts-photoslider .slick-slide.dragging img {
    pointer-events: none;
}

.drts-photoslider .slick-initialized .slick-slide {
    display: block;
}

.drts-photoslider .slick-loading .slick-slide {
    visibility: hidden;
}

.drts-photoslider .slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.drts-photoslider .slick-arrow.slick-hidden {
    display: none;
}

/* Slider */
.drts-photoslider .slick-loading .slick-list {
    background: #fff url("../vendor/images/slick/ajax-loader.gif") center center no-repeat;
}

/* Arrows */
.drts-photoslider .slick-prev,
.drts-photoslider .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 40px;
    height: 100%;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.drts-photoslider .slick-prev:hover,
.drts-photoslider .slick-prev:focus,
.drts-photoslider .slick-next:hover,
.drts-photoslider .slick-next:focus {
    color: transparent;
    outline: none;
    background: transparent;
}

.drts-photoslider .slick-prev:hover:before,
.drts-photoslider .slick-prev:focus:before,
.drts-photoslider .slick-next:hover:before,
.drts-photoslider .slick-next:focus:before {
    opacity: 1;
}

.drts-photoslider .slick-prev.slick-disabled:before,
.drts-photoslider .slick-next.slick-disabled:before {
    opacity: .25;
}

.drts-photoslider .slick-prev:before,
.drts-photoslider .slick-next:before {
    font-family: "Font Awesome 5 Free - drts";
    font-size: 40px;
    line-height: 1;
    color: #333;
    opacity: .75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.drts-photoslider .slick-prev {
    left: 0;
}

.drts-photoslider [dir='rtl'] .slick-prev {
    right: 0;
    left: auto;
}

.drts-photoslider .slick-prev:before {
    content: '\f053';
}

.drts-photoslider [dir='rtl'] .slick-prev:before {
    content: '\f054';
}

.drts-photoslider .slick-next {
    right: 0;
}

.drts-photoslider [dir='rtl'] .slick-next {
    right: auto;
    left: 0;
}

.drts-photoslider .slick-next:before {
    content: '\f054';
}

.drts-photoslider [dir='rtl'] .slick-next:before {
    content: '\f053';
}

/* Dots */
.drts-photoslider .slick-dotted.slick-slider {
    margin-bottom: 30px;
}

.drts-photoslider .slick-dots {
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    text-align: center;
}

.drts-photoslider .slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px !important;
    padding: 0 !important;
    cursor: pointer;
}

.drts-photoslider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.drts-photoslider .slick-dots li button:hover,
.drts-photoslider .slick-dots li button:focus {
    outline: none;
}

.drts-photoslider .slick-dots li button:hover:before,
.drts-photoslider .slick-dots li button:focus:before {
    opacity: 1;
}

.drts-photoslider .slick-dots li button:before {
    font-family: "Font Awesome 5 Free - drts";
    font-size: 5px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '\f111';
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.drts-photoslider .slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
}

/* Custom rules */
.drts-photoslider {
    margin: 0 auto;
    font-size: 13px;
    position: relative;
    opacity: 0;
}

.drts-display-element .drts-photoslider {
    background-color: black;
}

.drts-photoslider img {
    border: none !important;
    border-radius: 0 !important;
}

.drts-photoslider .slick-slide a {
    display: block;
    text-decoration: none;
    color: #444;
}

.drts-photoslider .slick-slide figure {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.drts-photoslider .slick-slide figure img {
    width: 100%;
}

.drts-photoslider .slick-slide .drts-photoslider-tag {
    position: absolute;
    top: 0;
    right: 0;
    font-size: .8em;
    font-weight: bold;
    padding: 0.1em 0.5em;
    min-width: 8em;
    opacity: .9;
    text-align: center;
}

.drts-photoslider .slick-slide figcaption {
    font-size: 1em;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    padding: 1.5% 2%;
    color: #fff;
    font-weight: bold;
}

.drts-photoslider .slick-arrow {
    opacity: 0;
}

.drts-photoslider:hover .slick-arrow {
    opacity: 1;
    z-index: 10;
}

.drts-photoslider:hover .slick-prev,
.drts-photoslider:hover [dir='rtl'] .slick-next {
    text-align: left;
    padding-left: 1%;
}

.drts-photoslider:hover [dir='rtl'] .slick-prev,
.drts-photoslider:hover .slick-next {
    text-align: right;
    padding-right: 1%;
}

.drts-photoslider-thumbnails img {
    width: 100%;
}

.drts-photoslider-thumbnails .slick-slide {
    opacity: 0.5;
    transition: opacity 300ms;
    -webkit-transition: opacity 300ms;
}

.drts-photoslider-thumbnails .slick-slide.slick-current {
    opacity: 1;
}

.drts-photoslider-thumbnails img.drts-no-image {
    background-color: #eee;
    border: 1px solid #ddd !important;
}

@media only screen and (max-width: 480px) {
    .drts-photoslider .slick-slide {
        max-height: 230px;
    }

    .drts-photoslider .slick-slide a {
        padding: 0;
        position: relative;
    }

    .drts-photoslider .slick-slide a:after {
        content: '';
        display: block;
        width: 100%;
        height: 5.5em;
        background: linear-gradient(rgba(0, 0, 0, 0) 0, black 40%, black 100%);
        position: absolute;
        bottom: 0;
        opacity: .5;
        z-index: 1;
    }

    .drts-photoslider .slick-slide figure {
        max-height: 180px;
    }

    .drts-photoslider .slick-slide figcaption {
        position: absolute;
        bottom: .1em;
        padding: .4em .9em .6em;
        font-size: 1.1em;
        color: #fff;
        z-index: 2;
    }

    .drts-photoslider .slick-dots li button,
  .drts-photoslider .slick-dots li button:before {
        width: 15px;
    }
}
