/* for testing */

.content-ctn-s, .contentPic, .lineTitle, .lineSubTitle, .lineDesc {
    color: white;
}

/* containers */
#module-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 200px);
}

#slider-ctn {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#content-ctn {
    z-index: 3;
    position: relative;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* title settings */
#slider-title-ctn {
    top: 6%;
    height: 67px;
    text-align: center;
}
#slider-title {
    position: relative;
    height: 67px;
}
#slider-title span {
    letter-spacing: 3px;
    width: 100%;
    display: inline-block;
    font-size: 40px;
    font-family: 'SamSun', 'HeitiSC', Georgia;
    color: white;
    transform: scaleX(0.5);
}
/* pts settings */

#pts-ctn {
    height: 5%;
    bottom: 4%;
    box-sizing: border-box;
    z-index: 6;
    text-align: center;
    white-space: nowrap;
}

.pts-ctn-s {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    margin: 0 10px;
    width: 40px;
    height: 100%;
    cursor: pointer;
}

.pts {
    box-sizing: border-box;
    position: relative;
    top: 38.5%;
    width: 100%;
    height: 5px;
    background-color: rgb(124, 124, 124);
}

.ptsFill {
    background-color: #fff;
    position: absolute;
    left: 0px;
    top: 0;
    height: 100%;
    width: 0;
}

.pts-ctn-s.active {
    width: 68px;
}

.pts-ctn-s.active .pts {
    box-shadow: 0px 0 13px 1px rgb(136, 136, 136);
    cursor: auto;
}

/* background */

#slider-bg {
    z-index: 1;
}

#slider-bg-Mask {
    z-index: 2;
    opacity: 0;
}

#ribbonCanvas {
    z-index: 3;
    opacity: 0.5;
    height: 1920px;
    min-width: 1920px;
    left: 50%;
    top: 50%;
    background: linear-gradient(to bottom, #000, #111);
    transform: translate3d(-50%, -35%, 0);
}

#slider-bg-Mask.show {
    opacity: 1;
}


/* components */

#maskL, #maskR {
    position: absolute;
    height: 100%;
    width: 30%;
    filter: alpha(opacity=0);
    opacity: 0;
    z-index: 4;
}

#maskL {
    left: 0;
}

#maskR {
    right: 0;
}

.sliderBtn {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    height: 40px;
    width: 40px;
    filter: alpha(opacity=0);
    opacity: 0;
    z-index: 5;
    cursor: pointer;
}

.sliderBtn svg path {
    transition: all 0.7s;
    -moz-transition: all 0.7s;
    -webkit-transition: all 0.7s;
    -o-transition: all 0.7s;
    fill: #747474;
}

.sliderBtn:hover svg path {
    transition: all 0.4s;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    fill: #fffffff3;
}

#btnL {
    transform: translate(0, -50%) rotate(180deg);
    left: 5%;
}

#btnR {
    right: 5%;
}

@keyframes breathe {
    0% {
        box-shadow: 0px 0 8px 4px white;
    }
    50% {
        box-shadow: 0px 0 13px 4px white;
    }
    100% {
        box-shadow: 0px 0 8px 4px white;
    }
}

.content-ctn-s {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
    height: 70%;
    max-height: 70%;
    width: 1024px;
    opacity: 0;
    display: none;
    transition: opacity 0.7s, transform 0.8s;
    -moz-transition: opacity 0.7s, transform 0.8s;
    -webkit-transition: opacity 0.7s, transform 0.8s;
    -o-transition: opacity 0.7s, transform 0.8s;
    -ms-transition: opacity 0.7s, transform 0.8s;
}

.content-ctn-s.active {
    display: block;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.contentPic {
    width: 40%;
    left: 0;
}

/* shadow settings */

.contentText {
    text-shadow: 10px 10px 50px #000000c9;
}

.contentText {
    width: 60%;
    right: 0;
}

.contentPic img {
    width: 100%;
    max-width: 600px;
    max-height: 600px;
}

.lineTitle, .lineSubTitle, .lineDesc {
    display: block;
    position: relative;
    left: 0;
    width: auto;
    font-family: "SamSun";
}

.lineTitle {
    font-size: 270%;
    line-height: 100%;
    font-weight: bolder;
    font-family: serif;
}

.lineSubTitle {
    font-size: 200%;
    line-height: 200%;
    font-weight: bolder;
}

.lineDesc {
    font-size: 140%;
    line-height: 140%;
    max-width: 87%;
}

.decoration1 {
    position: absolute;
    height: 100%;
    background-color: #fff;
    width: 3px;
    left: -15px;
}


@media only screen and (max-width: 1024px) {
    .content-ctn-s {
        width: 760px;
    }
}

@media only screen and (max-width: 767px) {
    .content-ctn-s {
        width: 580px;
    }
}

@media screen and (max-width: 580px) {
    #btnL, #btnR {
        opacity: 1 !important;
    }
    /* pts settings */
    .pts-ctn-s {
        width: 28px;
    }
    .pts-ctn-s {
        margin: 0 6px;
    }
    /* content settings */
    .content-ctn-s {
        width: 80%;
        max-height: none;
        height: 80%;
    }
    .contentPic {
        position: relative;
        width: 60%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    .decoration1 {
        display: none;
    }
    .contentText {
        position: relative;
        width: 100%;
        height: 50%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    .lineTitle, .lineSubTitle {
        position: relative;
        top: auto;
        line-height: 150%;
        left: 50%;
        width: 80%;
        text-align: center;
        height: auto;
        transform: translate(-50%, 0);
    }
    .lineDesc {
        font-size: 15px;
        line-height: 25px;
        left: 50%;
        top: 17%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        text-align: center;
    }
}
@media screen and (max-width: 414px) {
    #module-slider {
        height: calc(100vh - 100px);
    }
    #slider-title span {
        letter-spacing: 3px;
        font-size: 32px;
    }
    .contentText {
        top: 10%;
    }
    .contentPic {
        top: 13%;
        width: 67%;
    }
    .sliderBtn {
        height: 22px;
        width: 22px;
    }
}

@media screen and (max-width: 375px) {
    html {
        font-size: 80%;
    }
    .lineTitle, .lineSubTitle {
        line-height: 40px;
        font-size: 28px;
    }
    .lineSubTitle {
        font-size: 20px;
    }
    .lineDesc {
        top: 5%;
        font-size: 14px;
        line-height: 140%;
        max-width: 101%;
    }
}