﻿@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,400i,500,500i,700,700i,900,900i&display=swap');

body{
    font-size:16px;
    padding: 58px 0 45px 0;
    height: 100vh;
}
a{
    cursor:pointer;
}
.ebook .slick-slider {
    touch-action: auto !important;
}
a:hover{
    text-decoration:none;
}
.btn{
    border:none;
    transition:all .3s ease;
}
.btn:focus{
    border:none;
    outline:none;
    box-shadow:none;
}
.btn.btn-dark {
    background: #272727;
    color:#fff !important;
}
.btn.btn-dark:hover{
    background: #5a5a5a;
}
.btn.btn-red{
    background: #a91523;
    font-size: 1rem;
    font-weight: 500;
    padding: 6px 15px;
    color: #fff !important;
    letter-spacing: 1px;
}
.btn.btn-red:hover{
    background: #ffc321;
    color: #000 !important;
}
.btn.btn-close{
    display:block;
    width:20px;
    height:20px;
    border-radius:2px;
    color:#fff !important;
    background:#a94442;
    padding:0;
    text-align:center;
    line-height:20px;
}
.btn.btn-close:hover{
    transform:scale(1.1);
    background:#ffc321;
    color:#000;
}
.btn.green {
    background: #105197;
    color: #fff;
    font-size: 1rem;
    line-height: initial;
    padding: 8px 22px;
    box-shadow: 1px 2px 3px rgba(56, 56, 56, 0.4);
    position: relative;
    overflow: hidden;
}
.btn.green:hover {
    background: #a94442;
    box-shadow: 0 0 3px rgba(56, 56, 56, 0.4);
}

.btn.green:before {
    position: absolute;
    content: "";
    display: block;
    width: 102%;
    height: 0;
    background: #ffc321;
    bottom: -1px;
    right: -1px;
    transition: all .4s ease;
}
.btn.green:hover:before {
    height: 3px;
}
.icon{
    display:block;
    background-repeat:no-repeat;
    background-position:center center;
}
.icon.pfirst,.icon.plast{
    width:20px;
    height:20px;
}
.icon.pfirst{
    background-image: url('../../images/all/icon_pfirst.svg');
}
.icon.plast{
    background-image: url('../../images/all/icon_plast.svg');
}
.icon.ebook-prev,
.icon.ebook-next{
    width:21px;
    height:30px;
}
.icon.ebook-prev{
    background-image: url('../../images/all/icon_ebook_arrow_previous.svg');
}
.icon.ebook-next{
    background-image: url('../../images/all/icon_ebook_arrow_next.svg');
}

.form-control{
    border-radius: 0;
    background: #f0f0f0;
    transition: all .3s ease;
    border: solid 1px #cecece;
}
.form-control:focus{
    background: #ffe9b1;
    box-shadow: none;
    outline:none;
    border: solid 1px #cecece;
}
.input-group .form-control {
    border-radius: 4px;
}
.h6 {
    font-size: 1rem;
    color: #fff;
}


.header{
    width:100%;
    transition:all .3s ease;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
}
.header > .navbar {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.navbar .navbar-brand{
    display: inline-block;
    background: url(../../images/all/logo.svg) center top no-repeat;
    background-size: 100%;
    transition: all .3s ease;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    color: #000;
    padding-top: 26px;
    text-transform: uppercase;
    line-height: 1.15rem;
    font-size: 0.83rem;
    width: 150px;
    /*text-indent: -9999px;*/
    height: 35px;
    padding: 0;
    margin-top: 9px;
}
.main_content{
    overflow:auto;
}
.navbar-header {
    width: 100%;
}
.navbar-header .header-info {
    flex-grow: 1;
}
.navbar-header .header-info .page-area {
    font-size: 1.125rem;
    color: #1d1d1d;
    /*font-weight: 700;*/
    border-left: solid 1px #000;
    padding-left: 20px;
}
.navbar-header .header-info .page-area .form-control {
    width: 50px;
    height: 29px;
    padding: 0;
    text-align: center;
}
.fixed-side{
    position: fixed;
    top: 0;
    right:0;
    height: 100vh;
    background: #5a5a5a;
    transition:all .3s ease;
    /*overflow: auto;*/
    width:100%;
    opacity:0;
    pointer-events:none;
    z-index: 30;
}
.fixed-side.open {
    opacity: 1;
    pointer-events: fill;
}


.fixed-side .close-area {
    border-bottom: solid 1px #a5a5a5;
    margin-bottom: 10px;
    padding: 10px;
    position: fixed;
    top: 0;
    left:0;
    z-index: 99;
    background: #5a5a5a;
    transition:all .3s ease;
    width:100%;
}
.fixed-side .cont{
    padding:42px 10px 10px 10px;
}

.esc{
    text-align:center;
}
.esc > div {
    width: auto;
    padding: 0 10px;
    display: inline-block;
}

.thumblist-area .thumb-list li a {
    display: block;
    width: 100%;
    color: #fff;
    background: #717171;
    transition: all .3s ease;
}
.thumblist-area .thumb-list li a > span{
    padding: 6px 10px;
}
.thumblist-area .thumb-list li + li a {
    border-top: solid 1px #828282;
}
.thumblist-area .thumb-list li a:hover{
    background: #ffc321;
}
.thumblist-area .thumb-list.thumbnails ul li {
    display: block;
    box-shadow: none;
    margin: 0;
    text-align: left;
}
.thumblist-area .thumb-list li.current a{
    background: #ffc321;
    color: #000;
}
/*.thumblist-area .thumb-gallery .img-item .img-box{*/

.thumblist-area .thumb-gallery a{
    color:#fff !important;
    text-align:center;
    transition:all .3s ease;
}
.thumblist-area .thumb-gallery .img-item .img-box{
    transition:all .3s ease;
}

.thumblist-area .thumb-gallery .img-item .img-box:hover{
    /*opacity:0.5;*/
}
.thumblist-area .thumb-gallery .img-item img{
    border: solid 4px transparent;
}
.thumblist-area .thumb-gallery .img-item.current img {
    border: solid 4px #fdbe00;
}
.thumblist-area > div{
   /* display:none;*/
}



.function-bar {
    position: fixed;
    width: 100%;
    bottom: 0;
    left:0;
    background: #1c1c1c;
    color: #fff;
    padding: 5px 0;
    transition:all .3s ease;
    z-index: 10;
}

.function-bar ul,.function-bar ul li {
    margin: 0;
}
.function-bar ul li:not(:last-child) {
    margin-right: 0;
}
.function-bar a {
    color: #fff !important;
}
.function-bar a:hover {
    color: #ffc321 !important;
}

.main-wrapper{
    transition:all .3s ease;
}

/** new display **/
.thumblist-area .thumb-gallery .img-item {
    width: 33.33%;
    flex: 0 0 33.33%;
}




/*** ebook ***/
.magazine-viewport .magazine {
    /*top: 0 !important;
    left: 0 !important;
     margin: 0 auto !important; */
    /*transform: translate(-50%,-50%);*/
}
.magazine-viewport {
    height: calc(100vh - 123px) !important;
    margin: 0 auto;
    overflow: initial !important;
    margin-top: 30px;
    width:100vw !important;
}

.magazine-viewport > .container {
    /*position: static;*/
    width: 0;
    height: 0;
    padding: 0;
}

.magazine-viewport .next-button .origin-btn, 
.magazine-viewport .previous-button .origin-btn {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width:100%;
}
.magazine-viewport .next-button .origin-btn .icon, 
.magazine-viewport .previous-button .origin-btn .icon {
    width: 21px;
    height: 30px;
    color: #777;
    z-index: 9999;
    position: relative;
    top: 50%;
    left: calc(50% - 10px);
    cursor: pointer;
}
.magazine-viewport .next-button, 
.magazine-viewport .previous-button {
    width: 50px;
}
.magazine-viewport .next-button {
    right: -50px;
}
.magazine-viewport .previous-button {
    left: -50px;
}

.magazine-viewport .previous-button-hover, .magazine-viewport .next-button-hover{
    background:none;
}

.magazine .last-button,
.magazine .first-button {
    position: absolute;
    bottom: 10px;
}
.magazine .first-button {
    left: 17px;
}
.magazine .last-button {
    right: 17px;
}
.magazine .last-button:hover, 
.magazine .first-button:hover {
    opacity: 0.5;
}
.main {
    margin-bottom: 100px;
}

.thumbnails .current {
    box-shadow: none;
}
.thumblist-area .thumbnails {
    background: none;
    position: static;
    height: auto;
    max-height: initial;
}
.thumblist-area .thumbnails > div {
    width: 100%;
    height: auto;
    margin: 0 !important;
}
.thumblist-area .thumbnails > .cont {
    max-height: calc(100vh - 41px);
    overflow: auto;
    margin-top: 40px !important;
    padding-top: 0;
}
.demo-area {
    position: fixed;
    top: 100px;
    z-index: 20;
    width: 200px;
    max-height: 80vh;
    overflow: auto;
    left: 15px;
    transition:all .3s ease;
}
.main-wrapper.left-push .demo-area {
    left: 280px;
}
.demo-area .box{
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    padding: 20px;    
}
.demo-area.mob{
    width:auto;
    height:auto;
    left: auto;
    right: 10px;
    top: 80px;
}
.demo-area.mob .box{
    border-radius:0;
    background:none;
    padding:0;
}
.demo-area.mob .fancy_sec{
    display:none;
}
.demo-area.mob a{
        display: block;
    background: #a91523;
    border-radius: 50%;
    padding: 2px;
}
.demo-area.mob a .icon{
    color: #ffc321;
    font-size: 25px;

}
/*** slick ***/
.slick-wrapper .item-wrap a:focus {
    border: none;
    box-shadow: none;
    outline: none;
}
.slick-prev, .slick-next {
    color: #000 !important;
    z-index: 10 !important;
}
.slick-prev {
    left: 5px !important;
}
.slick-next {
    right: 5px !important;
}
.slick-prev:before, .slick-next:before {
    color: #000 !important;
}

.slick-wrapper .item-wrap > a {
    display: block;
    width: 30px;
    height: 30px;
    background: #a91523;
    text-align: center;
    border-radius: 50%;
    padding: 6px;
    position: absolute;
    right: 10px;
    top: 10px;
}
.slick-wrapper .item-wrap > a .icon {
    color: #fff;
}
.slick-wrapper .item-wrap {
    position: relative;
}

.slick-wrapper .page-area {
    position: fixed;
    bottom: 38px;
    width: 100%;
    background: rgba(255,195,33,0.8);
    padding: 6px;
}

.slick-wrapper .page-area .form-control {
    width: 50px;
    height: 25px;
    padding: 0 10px;
    text-align: center;
}

/** multiselect **/
.multiselect__content-wrapper {
    max-height: calc(100vh - 100px) !important;
    /*display: block !important;*/
}
.multiselect__content {
    font-size: 1rem;
    width: 100%;
    overflow: hidden;
}
.multiselect__option {
    white-space: initial !important;
    transition: all .3s ease;
    line-height: 1.2 !important;
}
.multiselect__option--highlight {
    background: #d4d4d4 !important;
    color: #1c1c1c !important;
}
.multiselect__element + .multiselect__element {
    border-top: solid 1px #dedede;
}
.multiselect__single {
    display: none !important;
}
.multiselect__input {
    width: calc(100% - 40px) !important;
    padding: 0 0 5px 5px !important;
}
.multiselect__tags {
    border-radius: 5px 5px 0 0 !important;
}
.multiselect__placeholder {
    margin-bottom: 7px !important;
}
.multiselect__option--selected {
    background: #a91523 !important;
    color: #fff !important;
    font-weight: normal !important;
}
.multiselect-enter,.multiselect-leave-active {
    opacity: 1 !important;
}

/****/
.share-box a {
    font-size: 1.2rem;
    color: #fdfdfd;
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #ccc;
    line-height: 1.6;
    background: #000;
    position: relative;
    overflow: hidden;
}
.share-box {
    /*margin-bottom: 15px;*/
}
.share-box .facebook a {
    background: #395794;
}
.share-box .twitter a {
    background: #02b2f5;
}
.share-box .line a {
    background: #00b400;
}
.share-box .mail a {
    background: #cf493b;
}
.share-box .linkedin a {
    background: #0070ac;
}
.share-box .weibo a {
    background: #de222a;
}
.share-box .ticon {
    position: relative;
    z-index: 1;
}
.share-box ul {
    text-align: center;
}
.share-box ul li a:before {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 0;
    left: 0;
    bottom: 0;
    transform-origin: left top;
    transform: rotate(-180deg) scale(0.5);
    transition: all .3s ease;
}
.share-box ul li.facebook a:before {
    background-color: #243861;
}
.share-box ul li.line a:before {
    background-color: #007900;
}
.share-box ul li.twitter a:before {
    background-color: #00719c;
}
.share-box ul li.mail a:before {
    background-color: #a9392e;
}
.share-box ul li.linkedin a:before {
    background-color: #005b8c;
}
.share-box ul li.weibo a:before {
    background-color: #980e14;
}
.share-box ul li a:hover:before {
    transform: rotate(0deg) scale(1);
}
.modal-header {
    padding: 10px;
}

.modal-title {
    width: 100%;
    text-align: center;
}
.modal-header .close {
    padding: 14px 14px 10px 10px;
}
.modal-header .close:focus {
    border: none;
    outline: none;
}
.modal-footer {
    border: none;
    padding: 10px;
    justify-content: center;
}


@media (min-width: 768px){
    .navbar .navbar-brand{
        display: block;
        /* width: 100%; */
        /* background-size: 100px; */
        font-size: 0.875rem;
        text-align: center;
        margin-top: 0;
    }

    .main-wrapper .main{
        height: calc(100vh - 123px);
        overflow: hidden;
        margin-bottom: 0;
    }


    .left-push .function-bar, 
    .left-push .header {
        width: calc(100% - 270px);
        left:270px;
    }
    .right-push .function-bar, 
    .right-push .header {
        width: calc(100% - 270px);
        right:270px;
    }
    .main-wrapper.left-push {
        width: calc(100% - 270px);
        margin-left: 270px;
    }
    .main-wrapper.right-push {
        width: calc(100% - 270px);
        margin-right: 270px;
    }

    /*****/

    .fixed-side{
        right: -270px;
        width: 270px;
        opacity:1;
        pointer-events:fill;
    }
    .fixed-side.open{
        right: 0;
    }
    .fixed-side .close-area{
        left: -270px;
        width: 270px !important;
    }
    .thumblist-area.fixed-side.open .close-area {
        left:0;
    }
    .search-box.fixed-side .close-area {
        left: auto;
        right: -270px;
    }
    .search-box.fixed-side.open .close-area {
        right: 0;
    }
    .thumblist-area.fixed-side {
        right: auto;
        left: -270px;
    
    }
    .thumblist-area.fixed-side.open {
        left: 0;
    }
    .thumblist-area .thumb-gallery .img-item:first-child,
    .thumblist-area .thumb-gallery .img-item:nth-last-child(2) {
        width: 100%;
        flex: 0 0 100%;
    }
    .thumblist-area .thumb-gallery .img-item:first-child .img-box {
        width: 50%;
        margin-left: auto;
    }
    .thumblist-area .thumb-gallery .img-item:nth-last-child(2) .img-box {
        width: 50%;
    }
    .thumblist-area .thumb-gallery .img-item{
        width:50%;
        flex:0 0 50%;
    }
    .main {
        margin-bottom: 50px;
    }

    .thumblist-area .thumb-gallery .img-item:nth-child(2n+1) .img-box {
        padding-left: 0 !important;
    }

    .thumblist-area .thumb-gallery .img-item:nth-child(2n) .img-box {
        padding-right: 0 !important;
    }
    .thumblist-area .thumb-gallery .img-item:nth-child(2n+1) img {
        border-left: none;
    }
    .thumblist-area .thumb-gallery .img-item:nth-child(2n) img {
        border-right: none;
    }

}
@media (min-width: 1200px){
     .navbar .navbar-brand {
        font-size: 1.05rem;
        width: 150px;
        text-indent: 0;
        padding-top: 34px;
        background-size: 100%;
        margin-top: 8px;
    }
}

@media (max-width:767px){
    .header > .navbar {
        padding: 0 10px;
    }
    .main{
        padding-bottom: 80px;
        margin-bottom:0;
    }
}
.qrcode-area img{
    max-width:100%;
    margin: 0 auto 10px;
}
    