
.xslide {
    background-color: #000;
    box-sizing: border-box;
    outline: none;
}

.xslide * {
    box-sizing: border-box;
}

.xplayer-cont {
    position: relative;
    width: 100%;
}

.xplayer {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.xscreen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

.xscreen.xs-full {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
}

body.xs-full {
    overflow: hidden;
}


.xscreen-ctrl {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    z-index: 1005;
    color: #fff;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
}

.xscreen-ctrl:hover {
    cursor: pointer;
    color: #339cc3;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}

.xscreen-ctrl.xs-open-full::before {
    font-family: FontAwesome;
    content: "\f065";
    font-size: 40px;
    font-weight: bold;
}
.xscreen-ctrl.xs-close-full::before {
    font-family: FontAwesome;
    content: "\f2d3";
    font-size: 40px;
    font-weight: bold;
}
.xnav {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 48%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    border-radius: 20px;
    background-repeat: no-repeat;
    z-index: 1005;
    color: #fff;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    text-align: center;
}
.xnav:hover {
    cursor: pointer;
    color: #339cc3;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}
.xscreen.xs-full .xnav {
    top: 40%;
}
.xnav.xprev {
    left: 5px;
}
.xnav.xprev::before {
    font-family: FontAwesome;
    content: "\f053";
    font-size: 40px;
    font-weight: bold;
}
.xnav.xnext {
    right: 5px;
}
.xnav.xnext::before {
    font-family: FontAwesome;
    content: "\f054";
    font-size: 40px;
    font-weight: bold;
}

.xmedias {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 0;
    white-space: nowrap;
}
.xmedias:hover {
    cursor: pointer;
}
.xscreen.xs-full .xmedias.xs-pgs-image {
    padding-bottom: 85px;
}
.xscreen.xs-full.xs-w-ads-under .xmedias {
    padding-bottom: 90px;
}
.xscreen.xs-full.xs-w-ads-under .xmedias.xs-pgs-image {
    padding-bottom: 175px;
}

/* width: 100%; */
.xmedia {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-size: 16px;
    white-space: normal;
}

.xmedia > img {
    position: relative;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    padding: 0;
    margin: 0;
    max-width: 100%;
    max-height: 100%;
}
.xmedia.type-related {
    width: 100%;
}

.xpagination {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}

.xpagination.xs-full {
    position: fixed;
    bottom: 10px;
    left: 0;
    z-index: 12000;
}
.xpagination.xs-full.xs-w-ads-under {
    position: fixed;
    bottom: 100px;
    left: 0;
    z-index: 12000;
}
.xs-ads-under-wrap {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    text-align: center;
}
.xs-ads-under-wrap.xs-full {
    position: fixed;
    width: 100%;
    height: 90px;
    bottom: 0px;
    left: 0px;
    z-index: 11000;
}
.xs-ads-under-wrap.xs-full > div {
    height: 100%;
}

.xs-ads-slide-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    pointer-events: none;
}
.xs-ads-slide-wrap > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    pointer-events: auto;
}
.xscreen.xs-full .xs-ads-slide-wrap > div {
    top: 30%;
}

.xpagination.xs-pgs-dot {
    text-align: center;
}

.xpagination.xs-pgs-image {
    height: 75px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background-color: #000;
}

.xpagination.xs-pgs-dot .xs-pg {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #ccc;
    border: solid 1px #000;
    border-radius: 50%;
    margin: 4px;
}

.xpagination.xs-pgs-dot .xs-pg:hover {
    background-color: #acc03c;
    cursor: pointer;
}

.xpagination.xs-pgs-dot .xs-pg.xs-current {
    background-color: #acc03c;
}

/* width: 90px; */
.xpagination.xs-pgs-image .xs-pg {
    position: relative;
    display: inline-block;
    height: 60px;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    border: 1px solid #ddd;
    margin: 0px 4px 0px 0px;
    padding: 0px;
    opacity: 0.4;
    vertical-align: top;
}

.xpagination.xs-pgs-image .xs-pg:hover {
    cursor: pointer;
    opacity: 1.0;
}

.xpagination.xs-pgs-image .xs-pg.xs-current {
    opacity: 1.0;
}

.xpagination .xs-pg.related-link {
    white-space: normal;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding-top: 6px;
    font-size: 14px;
    font-weight: bold;
    display: none;
}
.xs-pg .xs-pg-num {
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    top: 0;
    left: 0;
    padding: 2px;
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    display: none;
}
.xs-pg .xs-play-button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('../_img/play.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    margin: 0px;
    padding: 0px;
    pointer-events: none;
}

.xs-opa-0 {
    opacity: 0;
}
.xs-hide {
    display: none;
}
.xs-show {
    display: block;
}
.xs-ads-left-wrap {
    display: none;
    height: 0;
}
.xs-ads-right-wrap {
    display: none;
    height: 0;
}
@media (min-width: 1600px) {
    .xs-ads-left-wrap.xs-full {
        display: block;
        width: 300px;
        height: 600px;
        position: fixed;
        left: 60px;
        top: 50px;
        z-index: 11000;
    }
    .xs-ads-right-wrap.xs-full {
        display: block;
        width: 300px;
        height: 600px;
        position: fixed;
        right: 60px;
        top: 50px;
        z-index: 11000;
    }
}

.xscreen .xrelated-cont {
    color: #fff;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 0;
    position: relative;
}
@media (min-height: 650px) {
    .xscreen .xrelated-cont {
        max-width: 750px;
    }
}
.xscreen.xs-full .xrelated-cont {
    margin: 70px auto 0;
}
.xrelated-header {
    padding: 0 10px 0 10px;
    font-size: 13px;
    color: #fff;
}
.xrelated-header div {
    padding: 5px 0;
    border-bottom: solid 1px #fff;
}
.xrelated-items {
    max-height: 230px;
    overflow-y: auto;
}
.xrelated-r {
    position: relative;
    width: 100%;
    min-height: 55px;
}
.xrelated-r .r-cont {
    width: 100%;
    height: auto;
}
.xrelated-r .r-pad {
    width: 100%;
    height: auto;
    padding: 2px 10px;
}

.xrelated-item {
    position: relative;
    width: 100%;
    height: inherit;
    overflow: hidden;
    opacity: 0.8;
}
.xrelated-item:hover {
    opacity: 1.0;
}
.xrelated-item a {
    position: relative;
    width: 100%;
    height: inherit;
    display: block;
}
.xrelated-item .field-image {
    position: relative;
    width: 75px;
    height: 50px;
    float: left;
    margin-right: 10px;
}
.xrelated-item .field-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    pointer-events: none;
    background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    background: -o-linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}
.xrelated-item .field-img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    padding: 0px;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
}
.xrelated-item .field-title {
    padding: 5px;
    font-size: 13px;
    color: #fff;
}

@media (min-width: 768px) {
    .xscreen .xrelated-cont {
        margin: 10px auto 0;
    }
    .xscreen.xs-full .xrelated-cont {
        margin: 70px auto 0;
    }
    .xrelated-header {
        font-size: 18px;
        font-weight: bold;
    }
    .xrelated-items {
        max-height: 415px;
    }
    .xrelated-r {
        padding-bottom: 55%;
    }
    .xrelated-r .r-cont {
        position: absolute;
        height: 100%;
    }
    .xrelated-r .r-pad {
        height: 100%;
        padding: 10px 10px;
    }
    .xrelated-item .field-image {
        width: 100%;
        height: inherit;
        float: none;
        margin: 0;
    }
    .xrelated-item .field-title {
        position: absolute;
        bottom: 0;
        left: 0;
        font-size: 16px;
        font-weight: bold;
        text-shadow: #000 0 1px 1px;
    }
}