.box-Banner {
    position: relative;
    background: #000 url(../images/loading.gif) no-repeat center;
    background-size: 300px auto;
}

.box-Banner .owl-item {
    overflow: hidden;
}

.box-Banner .item {
    height: 100vh;
    min-height: 430px;
    overflow: hidden;
}

.box-Banner .item .box-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding: 10vw 11vw 20px 11vw;
    color: #fff;
    height: 100%;
    align-items: flex-start;
    /* 		    background: rgba(0, 0, 0, 0.4); */
}

@-webkit-keyframes fadeInUp {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.box-Banner .item .box-text h1 {
    text-transform: uppercase;
    margin: 0px;
    opacity: 0;
    transition-delay: .3s;
}

.box-Banner .owl-item.active .box-text h1 {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .3s;
    animation: fadeInUp 1s .3s;
}

.box-Banner .item .box-text .b-text {
    margin: 0px;
    font-size: 20px;
    opacity: 0;
    transition-delay: .6s;
}

.box-Banner .owl-item.active .box-text .b-text {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .6s;
    animation: fadeInUp 1s .6s;
}

.box-Banner .item .box-text .b-text b {
    color: #fb1b36;
    font-weight: 100;
    margin-right: 7px;
}

.box-Banner .item .box-text .b-text hr {
    border: 0px;
    border-bottom: 1px solid #fff;
    width: 100%;
}

.box-Banner .owl-item .box-text p {
    opacity: 0;
    transition-delay: .9s;
}

.box-Banner .owl-item.active .box-text p {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .9s;
    animation: fadeInUp 1s .9s;
}

.box-Banner .item .box-button {
    opacity: 0;
    transition-delay: 1.2s;
}

.box-Banner .owl-item.active .box-button {
    opacity: 1;
    -webkit-animation: fadeInUp 1s 1.2s;
    animation: fadeInUp 1s 1.2s;
}

.box-Banner .item .box-text a.View-Detail {
    border: 1px solid #fff;
    margin-top: 7px;
    padding: 10px 20px 10px 30px;
    color: #fff;
    transition: .5s;
}

.box-Banner .item .box-button a.View-Detail:hover {
    background: rgba(255, 255, 255, 0.29);
}

.box-Banner .item .box-button a.View-Detail::after {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: sub;
    margin-left: 14px;
    background: url(../images/I-right.png) no-repeat left center;
    transition: .3s;
    transform: translateX(0px);
}

.box-Banner .item .box-button a.View-Detail:hover::after {
    transform: translateX(5px);
}

.box-Banner .item .box-button img.a-play {
    width: 50px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 28px;
    cursor: pointer;
    transition: .5s;
}

.box-Banner .item .box-button img.a-play:hover {
    transform: scale(1.1);
}

.box-Banner .item .box-BG {
    background: no-repeat center;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    transform: scale(1);
    transition: transform .1s 2s;
}

.box-Banner .owl-item.active .box-BG {
    transform: scale(1.3);
    transition: transform 7.1s 0s;
}

.box-Banner .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

.box-Banner .owl-dots .owl-dot span {
    background-color: #fff!important;
    border-radius: 0!important;
    width: 38px;
    height: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
    transition: height .5s;
}

.box-Banner .owl-dots .owl-dot.active span,
.box-Banner .owl-dots .owl-dot:hover span {
    background-color: #aa1c21 !important;
    height: 6px;
}

div#box-video {
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #000;
    transition: .5s;
    opacity: 0;
}

div#box-video.open {
    opacity: 1;
    z-index: 9999;
}

div#box-video span.b-close {
    position: absolute;
    right: 0px;
    cursor: pointer;
    background: #ff1212 url(../images/I-close.png) no-repeat center center;
    background-repeat: no-repeat;
    width: 60px;
    height: 40px;
}

#box-video .b-videos {
    width: 100%;
    height: 100%;
    padding: 40px 0px;
}

#box-video .b-videos iframe {
    width: 100%;
    height: 100%;
}

.box-slide {
    overflow: hidden;
}

.box-slide .owl-carousel .owl-stage-outer {
    overflow: initial;
}

.box-slide .item {}

.box-slide .item .img {
    position: relative;
    margin: 5%;
}

.box-slide .item .img img {
    display: block;
    width: 50%;
    margin: auto;
    transition: transform 0s, left .8s, right 1s;
}

.box-slide .item .img img.bl {
    width: 25%;
    position: absolute;
    left: -3%;
    bottom: -11%;
    box-shadow: -20px 20px 8px rgb(0 0 0 / 19%);
}

.box-slide .owl-item.active .img img.bl {
    left: 10%;
}

.box-slide .item .img img.br {
    width: 25%;
    position: absolute;
    right: -3%;
    top: 10%;
    box-shadow: -20px 20px 8px rgb(0 0 0 / 19%);
}

.box-slide .owl-item.active .img img.br {
    right: 10%;
}

.box-slide .item .text {
    text-align: center;
    max-width: 350px;
    margin: auto;
}

.box-slide .item .head {
    margin: 8px 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-slide .owl-carousel .item .head {
    opacity: 0;
    transition-delay: .3s;
}

.box-slide .owl-item.active .head {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .3s;
    animation: fadeInUp 1s .3s;
}

.box-slide .item p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-slide .owl-carousel .item p {
    opacity: 0;
    transition-delay: .6s;
}

.box-slide .owl-item.active p {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .6s;
    animation: fadeInUp 1s .6s;
}

.box-slide .item a.View-Detail {
    border: 1px solid #727375;
    margin-top: 7px;
    padding: 10px 20px 10px 30px;
    color: #727375;
    display: table;
    margin: 15px auto;
    transition: .5s;
}

.box-slide .owl-carousel .item a.View-Detail {
    opacity: 0;
    transition-delay: .9s;
}

.box-slide .owl-item.active a.View-Detail {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .9s;
    animation: fadeInUp 1s .9s;
}

.box-slide .item a.View-Detail:hover {
    background: rgb(218 218 218 / 29%);
}

.box-slide .item a.View-Detail::after {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: sub;
    margin-left: 14px;
    filter: brightness(0.5);
    background: url(../images/I-right.png) no-repeat left center;
    transition: .3s;
    transform: translateX(0px);
}

.box-slide .item a.View-Detail:hover::after {
    transform: translateX(5px);
}

.box-slide .owl-nav {
    position: absolute;
    bottom: 112px;
    margin: auto !important;
    width: 100%;
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
}

.box-slide .owl-nav .owl-prev {
    position: absolute;
    left: 0px;
    width: 40px;
    height: 40px;
    color: transparent !important;
    background: transparent !important;
}

.box-slide .owl-nav .owl-prev span {
    color: #656565;
    position: relative;
    right: 30px;
    transform: translateX(-100%);
    display: inline-block;
    text-align: center;
    font-size: 19px;
    white-space: nowrap;
}

.box-slide .owl-prev::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background: #000000 url(../images/I-left.png) no-repeat center center !important;
    transition: .5s;
}

.box-slide .owl-nav .owl-prev:hover::before {
    background-color: #fb1b36 !important;
    transform: scale(1.3);
}

.box-slide .owl-nav .owl-prev::after {
    width: 40px;
    border-bottom: 1px solid #b5b5b5;
    position: absolute;
    left: 70px;
    content: "";
    top: 20px;
}

.box-slide .owl-nav .owl-next {
    position: absolute;
    right: 0px;
    width: 40px;
    height: 40px;
    color: #656565 !important;
    background: transparent !important;
    white-space: nowrap;
    font-size: 19px;
}

.box-slide .owl-nav .owl-next span {
    color: #656565;
    position: relative;
    left: 52px;
    right: 30px;
    display: inline-block;
    text-align: center;
    font-size: 19px;
    white-space: nowrap;
}

.box-slide .owl-next::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background: #000000 url(../images/I-right.png) no-repeat center center !important;
    transition: .5s;
}

.box-slide .owl-nav .owl-next:hover::before {
    background-color: #fb1b36 !important;
    transform: scale(1.3);
}

.box-slide .owl-next::after {
    width: 40px;
    border-bottom: 1px solid #b5b5b5;
    position: absolute;
    right: 70px;
    content: "";
    top: 20px;
}

.box-slide2 {
    padding: 5% 0px 5% 0px;
}

.box-slide2>h3 {
    text-align: center;
    color: #333333;
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: 2em;
}

.box-slide2>h3 b {
    color: #d62135;
}

.box-slide2 .b-slide2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-slide2 .show-img {
    width: 70%;
}

.box-slide2 .show-img img {
    width: 100%;
}

.box-slide2 .owl-carousel {
    width: 40%;
    position: relative;
    max-width: 350px;
    margin: auto;
}

.box-slide2 .text {
    text-align: center;
    padding: 0px 80px;
}

.box-slide2 .text img {
    display: none;
}

.box-slide2 .item .head {
    margin: 8px 0px;
}

.box-slide2 .owl-carousel .item .head {
    opacity: 0;
    transition-delay: .3s;
    font-size: 2em;
}

.box-slide2 .owl-item.active .head {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .3s;
    animation: fadeInUp 1s .3s;
}

.box-slide2 .item p {}

.box-slide2 .owl-carousel .item p {
    opacity: 0;
    transition-delay: .6s;
}

.box-slide2 .owl-item.active p {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .6s;
    animation: fadeInUp 1s .6s;
}

.box-slide2 .item a.View-Detail {
    border: 1px solid #727375;
    margin-top: 7px;
    padding: 5px 11px 5px 21px;
    color: #727375;
    display: table;
    margin: 15px auto;
    transition: .5s;
}

.box-slide2 .owl-carousel .item a.View-Detail {
    opacity: 0;
    transition-delay: .9s;
}

.box-slide2 .owl-item.active a.View-Detail {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .9s;
    animation: fadeInUp 1s .9s;
}

.box-slide2 .item a.View-Detail:hover {
    background: rgb(218 218 218 / 29%);
}

.box-slide2 .item a.View-Detail::after {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: sub;
    margin-left: 14px;
    filter: brightness(0.5);
    background: url(../images/I-right.png) no-repeat left center;
    transition: .3s;
    transform: translateX(0px);
}

.box-slide2 .item a.View-Detail:hover::after {
    transform: translateX(5px);
}

.box-slide2 .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: auto !important;
    width: 100%;
    left: 0px;
}

.box-slide2 .owl-nav .owl-prev {
    position: absolute;
    left: 0px;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    color: transparent !important;
    border-radius: 50%;
    background: #000000 url(../images/I-left.png) no-repeat center center !important;
    transition: .5s;
}

.box-slide2 .owl-nav .owl-prev:hover {
    background-color: #fb1b36 !important;
    transform: translateY(-50%) scale(1.2);
}

.box-slide2 .owl-nav .owl-next {
    position: absolute;
    right: 0px;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    color: #656565 !important;
    color: transparent !important;
    white-space: nowrap;
    font-size: 19px;
    border-radius: 50%;
    background: #000000 url(../images/I-right.png) no-repeat center center !important;
    transition: .5s;
}

.box-slide2 .owl-nav .owl-next:hover {
    background-color: #fb1b36 !important;
    transform: translateY(-50%) scale(1.2);
}

.box-slide2 .owl-dots {}

.box-slide2 .owl-dots .owl-dot {
    background: transparent !important;
}

body .box-body .box-slide2 .owl-dots .owl-dot span {
    background: transparent no-repeat center;
    background-size: contain;
    width: 33px;
    height: 33px;
    border-radius: 0px;
    margin: 26px 15px;
    filter: brightness(0);
}

.box-slide2 .owl-dots .owl-dot.active span {
    filter: none !important;
}

.box-fade {
    padding: 15px 0px;
}

.box-fade>h3 {
    text-align: center;
    color: #333333;
}

.box-fade>h3 b {
    color: #d62135;
}

.box-fade .b-fade {
    display: flex;
}

.box-fade .item {
    width: calc(100%/4);
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: .5s;
    position: relative;
    background: no-repeat center;
    background-size: cover;
}

.box-fade .item:hover {
    width: 75%;
}

.box-fade .item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.41);
    left: 0px;
    top: 0px;
    z-index: 0;
    transition: .5s;
}

.box-fade .item:hover::before {
    background: rgba(0, 0, 0, 0);
}

.box-fade .item .text {
    color: #fff;
    text-align: center;
    width: 200px;
    position: relative;
    z-index: 1;
    padding: 15px;
}

.box-fade .item h3.head {
    margin: 0px;
    margin-bottom: 7px;
    font-weight: 500;
}

.box-fade .item p {
    margin: 0px;
}

.box-fade .item a.View-Detail {
    border: 1px solid #ffffff;
    margin-top: 7px;
    padding: 10px 20px 10px 30px;
    color: #ffffff;
    display: table;
    margin: 15px auto;
    transition: .5s;
    position: absolute;
    right: 17px;
    z-index: 9;
    transition: .5s;
    opacity: 0;
}

.box-fade .item:hover a.View-Detail {
    opacity: 1;
}

.box-fade .owl-carousel .item a.View-Detail {
    opacity: 0;
    transition-delay: .9s;
}

.box-fade .owl-item.active a.View-Detail {
    opacity: 1;
    -webkit-animation: fadeInUp 1s .9s;
    animation: fadeInUp 1s .9s;
}

.box-fade .item a.View-Detail:hover {
    background: rgb(218 218 218 / 29%);
}

.box-fade .item a.View-Detail::after {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: sub;
    margin-left: 14px;
    background: url(../images/I-right.png) no-repeat left center;
    transition: .3s;
    transform: translateX(0px);
}

.box-fade .item a.View-Detail:hover::after {
    transform: translateX(5px);
}

.box-fade .item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 150px;
    background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    left: 0px;
    bottom: 0px;
    z-index: 0;
    transition: .5s;
}

.box-blog {
    display: flex;
}

.box-blog img {
    width: 100%;
    display: block;
}

.box-blog>a {}

.box-blog .list {
    display: flex;
}

.box-blog .list a {}

.box-project {
    padding: 40px;
    background: #d6d6d6;
}

.box-project>h3 {
    text-align: center;
    color: #333333;
    font-weight: 400;
    margin-bottom: 0px;
    font-size: 2em;
}

.box-project>h3 b {
    color: #d62135;
}

.box-project .item {
    margin: 15px;
    overflow: hidden;
    position: relative;
}

.box-project .item img {
    width: 100%;
    transition: .5s;
    transform: scale(1);
    transform-origin: center;
}

.box-project .item:hover img {
    transform: scale(1.1);
}

.box-project .item .box-button {
    position: absolute;
    background: rgb(0 0 0 / 71%);
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    opacity: 0;
}

.box-project .item:hover .box-button {
    opacity: 1;
}

.box-project .item .box-button .View-Detail {
    border: 1px solid #fff;
    margin-top: 7px;
    padding: 10px 20px 10px 30px;
    color: #fff;
    transition: .5s;
}

.box-project .item .box-button .View-Detail:hover {
    background: rgba(255, 255, 255, 0.29);
}

.box-project .item .box-button .View-Detail::after {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: sub;
    margin-left: 14px;
    background: url(../images/I-right.png) no-repeat left center;
    transition: .3s;
    transform: translateX(0px);
}

.box-project .item .box-button .View-Detail:hover::after {
    transform: translateX(5px);
}

.box-project .owl-dots {
    margin-top: 20px !important;
}

.box-project .owl-dots .owl-dot span {
    background-color: #fff!important;
    border-radius: 0!important;
    width: 38px;
    height: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
    transition: height .5s;
}

.box-project .owl-dots .owl-dot.active span,
.box-project .owl-dots .owl-dot:hover span {
    background-color: #aa1c21 !important;
    height: 6px;
}

footer .box-f a {
    display: block;
    color: #151716;
    transition: .5s;
    transform: translateX(0px);
}

footer .box-f a:hover {
    color: #ed1b24;
    transform: translateX(10px);
}

footer .box-f.FOLLOW a {
    transform: translateX(0px);
}


/* ---------------------------------------------------**** Pc ****--------------------------------------------------- */

@media only screen and (min-width: 1025px) {
    .box-body {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
    body:not(.down) #header2 {
        background: transparent;
    }
    #header2 .box-menu {
        background: transparent;
    }
    #header2 .menu-top a {
        font-size: 1em;
    }
    body:not(.down) #header2 .menu-top a {
        color: #faf8f7;
    }
    body:not(.down) #header2 .menu-top .box-Social a:not(:hover) {
        filter: invert(1);
    }
    #header2 .menu-top a.Social::after {
        background-image: url(../images/I-Social-h.png);
    }
    #header2 .menu-top a.Social:hover::after {
        background-image: url(../images/I-Social.png);
    }
    body:not(.down) .logo2::before {
        background: url(../images/logo3.svg) center center no-repeat;
        background-size: 95px auto;
    }
    body:not(.down) .menu-bottom .menu-main li .Sub-menu {
        background-color: rgba(254, 254, 254, 0.8);
    }
    body:not(.down) #header2 .menu-bottom .menu-main li>a {
        color: #faf8f7;
    }
    #header2 .box-logo {
        background: transparent;
    }
    #header2 .box-logo .logo {
        background-size: auto 60%;
    }
    body:not(.down) #header2 .box-logo .logo {
        background-image: url(../images/logo-w.svg);
    }
    footer .container {
        width: 90%;
    }
    footer .box-f {
        transform: scale(0.9);
    }
    .box-Banner {
        height: 100vh;
    }
}


/* ---------------------------------------------------**** Mobile and Tablet ****--------------------------------------------------- */

@media only screen and (max-width: 1024px) {
    .box-Banner .item {
        height: calc(100vh - 136px);
    }
    .box-Banner .item .box-text {
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    .box-Banner .item .box-button img.a-play {
        display: block;
        margin: 25px auto 0px auto;
    }
    .box-Banner .item .box-text a.View-Detail {
        display: block;
    }
    .box-fade .b-fade {
        flex-flow: wrap;
    }
    .box-fade .item {
        width: calc(100%/2) !important;
        height: auto;
        display: block;
        padding-top: 38%;
    }
    .box-fade .item a.View-Detail {
        position: relative;
        opacity: 1;
        right: auto;
    }
    .box-fade .item .text {
        margin: auto;
    }
}


/* ---------------------------------------------------**** Tablet ****--------------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /* แนวตั้ง */
    @media only screen and (orientation: portrait) {
        .box-slide .owl-nav {
            bottom: 64px;
            width: 100%;
            max-width: 426px;
        }
        .box-slide2 .show-img {
            width: 50%;
        }
        .box-slide2 .owl-carousel {
            width: 50%;
        }
    }
    /* แนวนอน */
    @media only screen and (orientation:landscape) {}
}


/* ---------------------------------------------------**** Mobile ****--------------------------------------------------- */

@media only screen and (max-width: 767px) {
    .box-Banner .owl-dots,
    .box-project .owl-dots {
        top: inherit;
        bottom: 20px;
        right: 0;
    }
    .box-project {
        padding: 20px;
    }
    .box-slide .item .img img {
        width: 100%;
    }
    .box-slide .item .head,
    .box-slide .item p {
        white-space: normal;
    }
    .box-slide2 .show-img {
        display: none;
    }
    .box-slide2 .owl-carousel {
        width: 100%;
        max-width: none;
        margin: 0px;
        padding: 0px 48px;
    }
    .box-slide2 .text {
        padding: 0px;
    }
    .box-slide2 .text img {
        display: block;
        max-width: 300px;
        margin: auto;
    }
    .box-slide2>h3,
    .box-slide2 .owl-carousel .item .head,
    .box-project>h3 {
        font-size: 1.5em;
        margin: 20px 0px;
    }
    /* แนวตั้ง */
    @media only screen and (orientation:portrait) {
        .box-project {
            padding: 1px 0px;
        }
        .box-project .item {
            margin: 0px;
        }
        .box-project>.container {
            padding: 0px;
        }
        .box-project .owl-dots {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
        }
        .box-slide .item .img {
            clear: both;
            display: inline-block;
        }
        .box-slide .item .img img.bl,
        .box-slide .item .img img.br {
            width: 50%;
            box-shadow: none;
            position: initial;
            display: inline;
            float: left;
        }
        .box-blog {
            display: block;
        }
        .box-fade .item {
            width: 100% !important;
        }
    }
    /* แนวนอน */
    @media only screen and (orientation:landscape) {
        .box-project .owl-carousel {
            max-width: 400px;
            margin: auto;
        }
        .box-slide .item .img {
            clear: both;
            display: flex;
        }
        .box-slide .item .img img {
            width: calc(50%/2) !important;
            box-shadow: none !important;
            position: initial !important;
            display: inline;
            float: left;
        }
        .box-slide .item .img img:nth-child(3) {
            order: 3;
        }
        .box-slide .item .img img:nth-child(1) {
            order: 2;
            width: 50% !important;
        }
    }
}