body {
    color: #646565;
    font-family: 'Microsoft JhengHei';
    letter-spacing: 2px;
}

.navbar-collapse {
    overflow-x: hidden;
}

.navbar-expand-xl .navbar-brand > img {
    max-height: 60px;
}

@media(min-width:1200px) {
    .navbar-nav {
        height: 100vh;
    }

    .navbar-5 {
        max-width: 67px;
        padding-right: 0 !important;
        padding-left: 0;
    }

    .form-95 {
        flex: 0 0 auto;
        max-width: calc(100% - 67px);
        margin-left: auto;
    }

    .navbar-expand-xl .navbar-brand {
        display: none;
    }

    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
    }

    .link-text {
        display: none;
    }
}

@media(max-width:1199px) {
    .form-95 {
        margin-top: 76px;
    }

    .link-text {
        display: inherit;
    }

    .navbar-collapse {
        max-height: 65vh;
    }
}

.homelogo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 550px;
    height: 100%;
    margin: 0 auto;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

@media(min-width:425px) {
    .logo1 {
        display: inherit;
    }

    .logo2 {
        display: none;
    }

    .homebg1 {
        display: inherit;
    }
}

@media(max-width:425px) {
    .logo1 {
        display: none;
    }

    .logo2 {
        display: inherit;
    }

    .homebg1 {
        display: none;
    }
}

.btn-search {
    padding: 10px 25px;
    border-bottom-right-radius: 10px !important;
    border-color: #000;
    background-image: url(../../TEMPLATE1/img/search.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

    .btn-search:active {
        background-image: url(../../TEMPLATE1/img/search.png) !important;
    }

.searchbar {
    max-width: 400px;
}

    .searchbar > input {
        border-top-left-radius: 10px !important;
        border-bottom-left-radius: 0;
        border-color: #000;
        background-color: #000;
        color: #fff5ee;
    }

        .searchbar > input:focus {
            border-color: #000;
            background-color: #000;
            color: #fff5ee;
        }

a:hover {
    text-decoration: none;
}

.homebg2 {
    background-image: url(../../TEMPLATE1/img/t13bg2.png);
    background-repeat: repeat;
}

.btn-default {
    background-color: #000;
    color: #fff;
}

    .btn-default:hover {
        background-color: #c2c2c2;
        color: #000;
    }

.hr2 {
    max-width: 1380px;
    height: 1px;
    margin: 50px auto;
    background-color: #727171;
}

.carousel-control-input {
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    -ms-flex-align: center;
    -ms-flex-pack: center;
}

@media(min-width:992px) {
    .carousel-control-input {
        display: inline;
    }
}

@media(max-width:992px) {
    .carousel-control-input {
        display: none;
    }
}

.homelogo > .searchbar {
    margin-top: 25%;
}

.bg-default {
    background-color: #F4F4F4;
}

.slidezone {
    display: flex;
    align-items: center;
    height: 300px;
    background-color: #EFEFEF;
}

.carousel-control-prev-icon {
    height: 100%;
    background-image: url(../../TEMPLATE1/img/arrow-l.png);
    background-size: contain;
}

.carousel-control-next-icon {
    height: 100%;
    background-image: url(../../TEMPLATE1/img/arrow-r.png);
    background-size: contain;
}

.carousel-control-prev, .carousel-control-next {
    width: auto;
    height: auto;
    opacity: 1;
}

    .carousel-control-prev:hover, .carousel-control-next:hover {
        opacity: 1;
    }

@media(max-width:768px) {
    .custom-article table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        -ms-overflow-style: -ms-autohiding-scrollbar !important;
    }
}

.custom-article img {
    max-width: 100% !important;
    height: auto !important;
    padding: .5rem;
}

    .custom-article img + figcaption {
        margin: 0 .5rem .5rem;
        text-align: center;
    }

.custom-article br {
    clear: both;
}

.custom-article {
    font-size: 1rem;
    line-height: 30px;
    letter-spacing: 2px;
    word-break: break-all;
    word-wrap: break-word;
}

.table th, .table td {
    vertical-align: middle;
}

.selectpage {
    display: inline;
    width: auto;
}

.gopage {
    font-size: initial;
}

@media(max-width:550px) {
    .gopage {
        display: none;
    }

    .selectpage {
        display: block;
        margin: .5rem auto;
    }
}

@media(min-width:576px) {
    .h-md-100 {
        height: 100%;
    }
}

.card2 {
    border: none;
    color: #fff;
    transition: .3s ease;
}

    .card2:hover {
        color: #fff;
        opacity: .75;
    }

.card-body2 {
    display: flex;
    flex: none;
    align-items: flex-end;
    justify-content: center;
    background-color: #4b4b4b;
}

.card-img-top2 {
    display: flex;
    width: auto;
    max-height: 200px;
    margin: auto;
    border-radius: 0;
}

input[type="checkbox"] {
    display: none;
}

    input[type="checkbox"] + label {
        position: relative;
        color: #ddd;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

        input[type="checkbox"] + label:last-child {
            margin-bottom: 0;
        }

        input[type="checkbox"] + label:before {
            display: block;
            top: 0;
            left: 0;
            width: 20px;
            height: 20px;
            border: 3px solid #00bfff;
            content: '';
            opacity: .6;
            -webkit-transition: all .12s,border-color .08s;
            transition: all .12s,border-color .08s;
        }

    input[type="checkbox"]:checked + label:before {
        top: -5px;
        left: 5px;
        width: 10px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        border-radius: 0;
        border-top-color: transparent;
        border-left-color: transparent;
        opacity: 1;
    }

.nav-item > input {
    border: none;
    cursor: pointer;
}

.my-120 {
    margin-top: 120px;
    margin-bottom: 120px;
}

.my-35 {
    margin-top: 35px;
    margin-bottom: 35px;
}

.py-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.container-fluid2 {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid3 {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.mb-70 {
    margin-bottom: 70px;
}

.carousel-inner2 {
    height: 100%;
}

.carousel-item2 {
    height: 100%;
}

.py-120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.b-20-w {
    border: 20px solid #fff;
}

.w-850 {
    max-width: 850px;
    margin: 0 auto;
}

.ml-45 {
    margin-left: 45px;
}

@media(max-width:767px) {
    .ml-45 {
        margin-top: 10px;
        margin-left: 0;
    }
}

.pb-20 {
    padding-bottom: 20px;
}

.mb-50 {
    margin-bottom: 50px;
}

.container2 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.pb-120 {
    padding-bottom: 120px;
}

@media(max-width:768px) {
    .w-md-75 {
        width: 75%;
        margin-right: auto;
        margin-left: auto;
    }
}

.mr-15 {
    margin-right: 15px;
}

.carousel-control {
    margin: 0 40px;
}

.slideitem {
    width: 100%;
    max-width: 200px;
}

.px-btn1, .px-btn2 {
    padding: 9.5px 30px;
    border-radius: 5px;
    line-height: 1.3;
    letter-spacing: 2px;
}

@media(min-width:425px) {
    .px-btn1 {
        padding: 9.5px 67px;
    }
}

@media(min-width:425px) {
    .px-btn2 {
        padding: 9.5px 50px;
    }
}

.my-80 {
    margin: 80px auto;
}

.mb-20 {
    margin-bottom: 20px;
}

.index-products {
    width: 100%;
    margin-bottom: 50px;
    margin-right: 50px;
    text-align: center;
}


.products-title2 {
    display: block;
    width: 100%;
    max-width: 285px;
    padding: 15px 0;
    overflow: hidden;
    background-color: #4b4b4b;
    color: #fff;
    line-height: 1.3;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .products-title2:hover {
        background-color: #EFEFEF;
        color: #4b4b4b;
    }


@media(min-width:1024px) {
    .index-products:nth-of-type(4n) {
        margin-right: 0px;
    }
    /*.index-products:nth-of-type(4n+1), .index-products:nth-of-type(4n+2), .index-products:nth-of-type(4n+3) {
        margin-right: 20px;
    }*/
}

@media(min-width:1024px) {
    .index-products {
        width: calc((100% - 150.3px) / 4 );
        /*-ms-flex: 0 0 calc(25% - 15px);
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);*/
    }
}

@media(max-width:1023.99px) and (min-width:600px) {
    .index-products:nth-of-type(3n) {
        margin-right: 0px;
    }

    .index-products {
        width: calc((100% - 100.2px) / 3 );
        /*-ms-flex: 0 0 calc(25% - 15px);
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);*/
    }
}

@media(max-width:599.99px) and (min-width:426px) {
    .index-products:nth-of-type(2n) {
        margin-right: 0px;
    }

    .index-products {
        width: calc((100% - 50.1px) / 2 );
        /*-ms-flex: 0 0 calc(25% - 15px);
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);*/
    }
}


@media(max-width:425.99px) {
    .bricks {
        text-align: center;
    }

    .index-products {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .products-title2 {
        display: inline-block;
    }
}

.content-detail {
    display: none;
    position: absolute;
    top: 12.5%;
    left: 12.5%;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 75%;
    padding: 5px;
    overflow: hidden;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
}

.card-columns > .content-box {
    display: inline-block;
    width: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
}

.content-img {
    background-color: #000;
}

    .content-img img {
        opacity: 1;
    }

.content-box:hover img {
    opacity: .5;
}

.content-box:hover .content-detail {
    display: flex;
    flex-direction: column;
}

.content {
    text-align: center;
    column-gap: 25px;
}

.card-columns .card {
    margin-bottom: 25px;
}


@media(min-width:992px) {
    .content {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

@media(max-width:575px) {
    .content {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        text-align: center;
    }
}

.products-img {
    /*display: inline-block;*/
    max-width: 285px;
    /*background-color: #EFEFEF;*/
}

    .products-img img {
        opacity: 1;
    }

    .products-img:hover img {
        opacity: .6;
    }

@media(max-width:425px) {
    .content {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .products-img {
        margin-right: auto;
        margin-left: auto;
        background-color: transparent;
    }
}

@media(max-width:576px) {
    .embed-responsive-21by9::before {
        padding-top: 100%;
    }
}

.list-box {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

    .list-box :last-child {
        margin-bottom: 0;
    }

.list-class {
    margin-bottom: 5px;
    padding: 10px 15px;
    background-color: #9FA0A0;
    color: #fff;
}

.list-item {
    display: block;
    margin-bottom: 5px;
    padding: 10px 30px;
    background-color: #F4F4F4;
    color: inherit;
}

    .list-item:hover {
        background-color: #fff;
        color: inherit;
    }

.full-bg-default {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 50px;
    background-color: #F4F4F4;
}

    .full-bg-default + .hr2 {
        margin-top: 70px;
    }

@media(max-width:1199px) {
    .full-bg-default {
        margin: 0 -15px;
        padding: 30px 40px;
    }
}

.works-r {
    display: flex;
    flex-direction: column;
}

.work-title {
    padding: 0 30px 30px;
    border-bottom: 2px solid #958575;
    color: #958575;
    font-size: 2rem;
    line-height: 40px;
}

.work-detail {
    padding: 30px;
    font-size: 1.5rem;
}

    .work-detail p {
        margin-bottom: 10px;
    }

        .work-detail p:last-child {
            margin-bottom: 0;
        }

    .work-detail > * {
        line-height: 2rem;
    }

.p-md-x40y60 {
    padding: 60px 40px;
}

@media(min-width:1100px) {
    .slide-img {
        max-width: calc(33.3% - 20px);
        max-height: 100px;
        margin: 10px;
    }

    .mr-10 {
        margin: 0 10px 0 0;
    }

    .ml-10 {
        margin: 0 0 0 10px;
    }
}

@media(max-width:1099px) {
    .slide-img {
        max-width: calc(33.3% - 10px);
        margin: 5px;
    }

    .mr-10 {
        margin: 0 5px 0 0;
    }

    .ml-10 {
        margin: 0 0 0 5px;
    }
}

@media(min-width:768px) {
    .works-l {
        padding: 0;
    }

    .works-r {
        padding: 0 30px;
    }

    .work-btn {
        justify-content: flex-end;
        margin-top: auto;
        margin-bottom: .5rem;
    }
}

.work-btn > input:not(:only-child) {
    padding-right: 2rem;
    padding-left: 2rem;
}

.work-img {
    text-align: center;
}

@media(max-width:767px) {
    .works-l, .works-r {
        margin-bottom: 30px;
        padding: 0;
    }

    .work-btn {
        justify-content: center;
        margin-top: 0;
        margin-bottom: .5rem;
    }

    .work-title, .work-detail {
        padding-right: 0;
        padding-left: 0;
    }

    .work-img {
        padding: 10px 0;
    }

    .p-md-x40y60 {
        padding: 20px;
    }
}

.px-20 {
    padding: 0 20px;
}

.w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.py-md-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media(max-width:767px) {
    .py-md-100 {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.news-title {
    margin-bottom: 30px;
    color: #958575;
    font-size: 2rem;
}

.news-date {
    margin-top: 10px;
    color: inherit;
    font-size: 1.5rem;
}

.news-detail {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

@media(min-width:577px) {
    .small-title1 {
        display: none;
    }
}

@media(max-width:576px) {
    .big-title {
        display: none;
    }

    .small-title1 {
        display: block;
        margin: 20px 0;
    }

    .small-title2 {
        text-align: center;
    }

    .mb-map {
        margin-bottom: 15px;
    }
}

@media(min-width:992px) {
    .row-lg-20 {
        padding-bottom: 20px;
    }
}

@media(max-width:991px) {
    .row-lg-last {
        padding-bottom: 20px;
    }
}

.py-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

@media(min-width:577px) {
    .small-title3 {
        margin-bottom: 30px;
    }
}

@media(max-width:576px) {
    .small-title3 {
        margin: 20px 0;
        text-align: center;
    }
}

.mt-20 {
    margin-top: 20px;
}

.btnbar {
    margin-top: 40px;
    padding-bottom: 20px;
    text-align: right;
}

    .btnbar > :first-child {
        margin-right: 20px;
    }

@media(max-width:576px) {
    .btnbar {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .btnbar > * {
            max-width: 185px;
            margin: 0 auto;
        }

        .btnbar > :first-child {
            margin-right: auto;
            margin-bottom: 10px;
        }
}

@media(max-width:350px) {
    .btnbar {
        display: block;
        text-align: center;
    }

        .btnbar > * {
            padding: .375rem .75rem;
        }

        .btnbar > :first-child {
            margin: 0;
        }
}

.input-must {
    padding-right: 30px;
}

.must-star {
    display: flex;
    position: absolute;
    top: 12px;
    right: 30px;
    margin-bottom: 0;
    color: red;
}

.w-960 {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 10px;
}

@media(min-width:768px) {
    .row-md-20 {
        padding-bottom: 20px;
    }
}

@media(max-width:767px) {
    .row-md-last {
        padding-bottom: 20px;
    }
}

.mb-10 {
    margin-bottom: 10px;
}

@media(max-width:767px) {
    .my-md-10 {
        margin: 10px 0;
    }
}

.pb-10 {
    padding-bottom: 10px;
}

.mySlides {
    display: none;
    background-color: transparent;
    text-align: center;
}

    .mySlides > img {
        width: auto;
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

.columns-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #958575;
    background-color: #958575;
    color: #fff;
    text-align: center;
}

.columns-2 {
    border: 1px solid #958575;
    border-left: 0;
}

.columns-1, .columns-2 {
    padding: 10px 20px;
    font-size: 1.5rem;
}

.columns-img {
    flex: none;
    -ms-flex: none;
    padding: 0;
    font-size: 1.5rem;
    word-break: break-all;
}

@media(min-width:1200px) {
    .columns-img {
        max-width: calc(25% - 10px);
    }

        .columns-img:nth-of-type(4n) {
            margin: 0 0 10px;
        }

        .columns-img:nth-of-type(4n+1), .columns-img:nth-of-type(4n+2), .columns-img:nth-of-type(4n+3) {
            margin: 0 10px 10px 0;
        }
}

@media(max-width:1199px) {
    .columns-img {
        max-width: calc(33.3% - 10px);
    }

        .columns-img:nth-of-type(3n) {
            margin: 0 0 10px;
        }

        .columns-img:nth-of-type(3n+1), .columns-img:nth-of-type(3n+2) {
            margin: 0 10px 10px 0;
        }
}

@media(max-width:767px) {
    .columns-img {
        max-width: calc(50% - 10px);
    }

        .columns-img:nth-of-type(2n) {
            margin: 0 0 10px;
        }

        .columns-img:nth-of-type(2n+1) {
            margin: 0 10px 10px 0;
        }

    .columns-2 {
        border-left: 1px solid #958575;
        text-align: center;
    }
}

@media(max-width:575px) {
    .columns-img:nth-of-type(n) {
        max-width: 100%;
        margin: 0 0 10px;
    }
}

.searchbar2 {
    justify-content: space-between;
    margin-right: 0;
    margin-bottom: 30px;
    margin-left: 0;
}

    .searchbar2 > label {
        max-width: 100px;
        margin-bottom: 0;
    }

    .searchbar2 > input {
        max-width: 200px;
    }

@media(max-width:1199px) {
    .searchbar2 {
        margin-right: -15px;
        margin-left: -15px;
    }
}

@media(max-width:991px) {
    .searchbar2 {
        flex-direction: column;
        margin-bottom: 15px;
    }

        .searchbar2 > input {
            max-width: initial;
        }

        .searchbar2 > :last-child {
            max-width: 200px;
            margin-top: 10px;
            margin-right: auto;
            margin-left: auto;
        }
}

@media(max-width:576px) {
    .searchbar2 {
       /* display: none;*/
    }
}

.news-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.news-item {
    max-width: calc(25% - 22.5px);
    margin-bottom: 30px;
    border: 1px solid #9FA0A0;
}

@media(min-width:992px) {
    .news-item:nth-of-type(4n+1), .news-item:nth-of-type(4n+2), .news-item:nth-of-type(4n+3) {
        margin-right: 30px;
    }
}

@media(max-width:991px)and (min-width:768px) {
    .news-item {
        max-width: calc(33.3% - 13.3333px);
        margin-bottom: 20px;
    }

        .news-item:nth-of-type(3n+1), .news-item:nth-of-type(3n+2) {
            margin-right: 20px;
        }
}

@media(max-width:767px)and (min-width:576px) {
    .news-item {
        max-width: calc(50% - 10px);
        margin-bottom: 20px;
    }

        .news-item:nth-of-type(2n+1) {
            margin-right: 20px;
        }
}

@media(max-width:575px) {
    .news-item {
        max-width: 100%;
    }

        .news-item:nth-of-type(n) {
            margin: 0 auto 20px;
        }
}

.news-img {
    margin: 20px;
    border: 1px solid #9FA0A0;
    text-align: center;
}

.newx-txt {
    margin: 0 20px 20px;
}

.news-title2 {
    overflow: hidden;
    color: #958575;
    font-size: 1.5rem;
    text-overflow: ellipsis;
}

.news-date2 {
    color: #646565;
    text-align: right;
}

@media(min-width:1200px) {
    .tooltip1 .tooltiptext {
        visibility: hidden;
        z-index: 1;
        position: absolute;
        width: 120px;
        margin-top: -40px;
        margin-left: 80px;
        padding: 5px 0;
        border-radius: 6px;
        background-color: #000;
        color: #fff;
        text-align: center;
    }

    .tooltip1:hover .tooltiptext {
        visibility: visible;
    }

    .mwt_border .arrow_l_int {
        position: absolute;
        top: 3px;
        left: -27px;
        width: 0;
        height: 0;
        border-width: 14px;
        border-style: solid;
        border-color: transparent #000 transparent transparent;
    }
}

@media(max-width:1199px) {
    .tooltiptext {
        display: none;
    }
}

@media(min-width:426px) {
    .carousel-mob {
        display: none;
    }
}

@media(max-width:425px) {
    .carousel-mob {
        display: block;
    }

    .carousel-pc {
        display: none;
    }
}

.selected-item {
    position: relative;
}

.selected-img {
    background-color: #000;
}

.selected-txt {
    display: none;
    position: absolute;
    top: 12.5%;
    left: 12.5%;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 75%;
    border: 1px solid #fff;
    color: #fff;
    line-height: 30px;
}

.selected-item:hover .selected-txt {
    display: flex;
}

.selected-item:hover .selected-img img {
    opacity: .5;
}

.showbar {
    position: relative;
    margin-bottom: 10px;
    text-align: center;
}

@media(min-width:992px) {
    .showbar {
        text-align: left;
    }
}

.btn-img1 {
    padding-left: 50px;
    background-image: url(../../TEMPLATE1/img/image.png) !important;
    background-position: 15px;
    background-size: 25px;
    background-repeat: no-repeat;
}

.btn-img2 {
    padding-left: 50px;
    background-image: url(../../TEMPLATE1/img/th-list.png) !important;
    background-position: 15px;
    background-size: 25px;
    background-repeat: no-repeat;
}

.pure-h1 {
    margin-bottom: 0;
    font-size: inherit;
}

.accessibility-L {
    position: relative;
}

    .accessibility-L a, .accessibility-C {
        position: absolute;
        color: transparent;
    }

        .accessibility-L a:focus, .accessibility-C:focus {
            z-index: 2;
            background-color: #000;
            color: #fff;
        }

    .accessibility-L a {
        top: -1.5rem;
        left: 15px;
    }

.slick-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    margin-bottom: 35px;
    background-color: #EFEFEF;
}

    .slick-container .slick-arrow {
        margin: 5px;
        padding: 20px 10.5px;
        border: none;
        background-image: url(../../TEMPLATE1/img/arrow-l.png);
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
        cursor: pointer;
    }

    .slick-container .slick-next {
        background-image: url(../../TEMPLATE1/img/arrow-r.png);
    }

.slick-item {
    position: relative;
    margin: 10px;
}

@media(min-width:768px) {
    .slick-container {
        margin-bottom: 70px;
    }

    .slick-item {
        margin: 15px;
    }

    .slick-container .slick-arrow {
        margin: 10px;
    }
}

@media(min-width:1200px) {
    .slick-item, .slick-container .slick-arrow {
        margin: 20px;
    }
}

.slick-img {
    background-color: #000;
}

    .slick-img img {
        opacity: 1;
    }

.slick-text {
    display: none;
    position: absolute;
    top: 12.5%;
    left: 12.5%;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 75%;
    padding: 10px;
    border: 1px solid #fff;
    color: #fff;
    line-height: 25px;
    text-align: center;
}

.slick-item:hover .slick-img img {
    opacity: .5;
}

.slick-item:hover .slick-text {
    display: flex;
    flex-direction: column;
}

.typemenu {
    margin-bottom: 20px;
    font-size: 0;
    letter-spacing: 0;
}

@media(max-width:425px) {
    .typemenu {
        text-align: center;
    }
}

.typemenu input {
    background-position: center;
}

    .typemenu input:hover {
        color: #fff;
    }

.btntype {
    display: inline-block;
    margin: 10px 0;
    border: none;
    border-radius: 0;
}

@media(min-width:576px) {
    .btntype:nth-of-type(4n+1), .btntype:nth-of-type(4n+2), .btntype:nth-of-type(4n+3) {
        margin-right: 20px;
    }
}

@media(min-width:576px) {
    .btntype {
        -ms-flex: 0 0 calc(25% - 15px);
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);
        padding: 30px 0;
    }
}

@media(max-width:575px) and (min-width:426px) {
    .btntype {
        -ms-flex: 0 0 calc(50% - 20px);
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

        .btntype:nth-of-type(2n+1) {
            margin-right: 20px;
        }
}

.showbar .btn-default, .showbar .btn-default:hover {
    border: none;
    background-color: #4b4b4b;
    color: #fff;
}

.showbar label {
    display: block;
    margin-top: .5rem;
    font-size: 1.3rem;
    text-align: center;
}

@media(min-width:992px) {
    .showbar label {
        position: absolute;
        top: 0;
        right: 0;
        margin-top: 0;
    }
}

.footer div:nth-child(2) * {
    color: #646565;
}

@media(min-width:992px) {
    .footer {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

        .footer div:nth-child(1) {
            max-width: 400px;
        }

        .footer div:nth-child(1), .footer div:nth-child(3) {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

            .footer div:nth-child(1) :first-child {
                margin-bottom: auto;
            }

        .footer div:nth-child(2) {
            display: flex;
            flex-direction: column;
            margin: 0 30px;
        }

        .footer div:nth-child(3) {
            align-items: flex-end;
        }

            .footer div:nth-child(3) a, .footer div:nth-child(3) a:hover {
                color: #646565;
            }

            .footer div:nth-child(3) :not(:only-child):first-child {
                margin-top: auto;
            }

            .footer div:nth-child(3) :not(:only-child):last-child {
                margin-top: 5px;
            }
}

@media(max-width:991px) {
    .footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 85%;
    }

        .footer div:nth-child(1), .footer div:nth-child(2) {
            margin-bottom: 20px;
        }

        .footer div:nth-child(1), .footer div:nth-child(3) {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

            .footer div:nth-child(1) :first-child {
                margin-bottom: 10px;
            }

            .footer div:nth-child(3) :first-child, .footer div:nth-child(3) :first-child:hover {
                color: #646565;
            }
}

.footer .custom-article :last-child {
    margin-bottom: 0 !important;
}

.lnk3d {
    padding: .25rem .5rem;
    float: right;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-size: 1rem;
}

    .lnk3d:hover {
        background-color: #c2c2c2;
        color: #000;
    }

#gotocontent {
    z-index: 1031;
    position: absolute;
    top: 0;
    left: 0;
}

.slick-prev:before, .slick-next:before {
    content: none;
}

.slick-prev, .slick-next {
    position: static;
}

.extitle {
    position: relative;
    color: #414141;
    font-weight: 700;
}

    .extitle:hover {
        color: #414141;
    }

    .extitle:after {
        position: absolute;
        right: -1rem;
        bottom: .25rem;
        width: 0;
        height: 0;
        border-width: 0 0 1rem 1rem;
        border-style: solid;
        border-color: transparent transparent #414141;
        content: '';
    }

    .extitle + .h5, .extitle + .h4 {
        color: #888;
        font-weight: 700;
    }

.excard {
    display: inline-flex;
    width: 100%;
    height: 170px;
    border: 1px solid #a9a9a9;
    background-color: #fff;
}

.excard-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    max-width: 170px;
    height: 170px;
    padding: 1rem;
}

    .excard-img img {
        max-width: calc(170px - 2rem);
        max-height: calc(170px - 2rem);
    }

.excard-info {
    display: inline-flex;
    flex-direction: column;
    width: calc(100% - 170px);
    height: 170px;
    padding: 1rem;
}

.expager select, .expager input {
    border-radius: 20px;
}

    .expager input, .expager input:hover {
        background-color: #9b9b9b;
        color: #fff;
    }

        .expager input:hover {
            background-color: #fff;
            color: #9b9b9b;
        }

.expager td {
    border: none !important;
}

.catalog-top {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

    .catalog-top a {
        position: relative;
        padding-left: 3rem;
    }

        .catalog-top a:before {
            position: absolute;
            top: -.1rem;
            left: 1.15rem;
            width: 6px;
            height: 40px;
            transform: rotate(-90deg) rotateY(180deg);
            background-image: url(../../TEMPLATE2/img/before.png);
            background-position: left center;
            background-size: 6px 40px;
            background-repeat: no-repeat;
            content: '';
        }

    .catalog-top .col-form-label:not(:last-child) {
        padding-right: 1rem;
    }

@media(min-width:768px) {
    .catalog-top .col-form-label:not(:last-child) {
        position: relative;
    }

        .catalog-top .col-form-label:not(:last-child):after {
            position: absolute;
            top: .3rem;
            right: .25rem;
            content: '|';
        }
}

a:focus, input:focus, button:focus {
    outline: 4px solid #007bff !important;
    box-shadow: none !important;
}

.custom-txt dl, .custom-txt ol, .custom-txt ul {
    padding-left: 1.25rem;
}

.custom-txt a:hover {
    text-decoration: none;
}

.empty-text {
    display: block;
    position: relative;
    padding-left: 2rem;
    color: #646565;
    font-size: 1.25rem;
    text-align: left;
}

    .empty-text:before {
        position: absolute;
        top: .25rem;
        left: 0;
        width: 1.3rem;
        height: 1.3rem;
        background-image: url(../../TEMPLATE1/img/empty-alert.png);
        background-size: contain;
        background-repeat: no-repeat;
        content: '';
    }

@media(max-width:545.99px) {
    .btnplay {
        margin-top: 10px;
    }
}
