body {
    font-family: "Noto Sans Thai", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
div,
span,
p {
    font-family: "Noto Sans Thai", sans-serif !important;
}

/*=====================
22. Portfolio css
==========================*/
.portfolio-section .filter-button-group {
    text-align: center;
}

.portfolio-section .filter-button-group ul li {
    padding: 7px 17px;
    font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
    cursor: pointer;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-weight: 700;
    margin: 0px 10px;
    text-transform: capitalize;
    color: #ff5e13;
    background-color: #fff;
    border: 1px solid #ff5e13;
}

.portfolio-section .filter-button-group ul li.active,
.portfolio-section .filter-button-group ul li:hover {
    background-color: #ff5e13;
    color: #fff;
}

.portfolio-section .grid .grid-item {
    margin-top: 30px;
}

.portfolio-section .grid .grid-item .overlay {
    overflow: hidden;
    margin: -1px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.portfolio-section .grid .grid-item .overlay .portfolio-image {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    cursor: pointer;
}

.portfolio-section .grid .grid-item .overlay .portfolio-text {
    margin-top: 10px;
}

.portfolio-section .grid .grid-item .overlay .portfolio-text h3 {
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: capitalize;
    font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
}

.portfolio-section .grid .grid-item .overlay .portfolio-text h6 {
    margin-bottom: 0;
    text-transform: capitalize;
    font-size: 14px;
    color: grey;
}

.portfolio-section .grid .grid-item .overlay:hover .portfolio-image {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.portfolio-section .grid .grid-item a {
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.portfolio-section .grid.blog-masonry .grid-item a {
    cursor: pointer;
}

.portfolio-section .grid.blog-masonry .grid-item .overlay {
    overflow: visible;
}

.portfolio-section .grid.blog-masonry .grid-item .overlay .blog-details {
    padding-top: 20px;
}

.portfolio-section .grid.blog-masonry .grid-item .overlay .blog-details h6 {
    color: #9a9a9a;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-section .grid.blog-masonry .grid-item .overlay .blog-details h6 i {
    color: rgba(35, 0, 0, 0.24);
    margin-right: 12px;
}

.portfolio-section .grid.blog-masonry .grid-item .overlay .blog-details h5 {
    font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
    color: #333333;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 5px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.portfolio-section .grid.blog-masonry .grid-item .overlay .blog-details p {
    font-size: 14px;
    color: #9a9a9a;
    line-height: 1.5;
    margin-bottom: -3px;
}

.portfolio-section .grid.blog-masonry .grid-item .overlay .blog-details .link {
    margin-bottom: 0;
    margin-top: 15px;
}

.portfolio-section .grid.blog-masonry .grid-item .overlay .blog-details .link a {
    color: rgba(0, 0, 0, 0.74);
}

.portfolio-section .grid.blog-masonry .grid-item .overlay:hover .portfolio-image {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.portfolio-section .isotopeSelector {
    float: left;
    width: 100%;
    position: relative;
    margin-top: 30px;
}

.portfolio-section .isotopeSelector img {
    width: 100%;
    height: auto;
}

.portfolio-section.creative-section .grid .grid-item {
    margin-top: 0;
}

.portfolio-section.creative-section .filter-button-group {
    margin-bottom: 40px;
}

.effect-cls {
    position: relative;
}

.effect-cls:after {
    content: "";
    position: absolute;
    background: url(../images/effect.png);
    bottom: -12px;
    width: 100%;
    height: 110px;
    left: 0;
    z-index: 1;
}

.effect-cls.breadcrumb-section {
    height: calc(300px + (580 - 300) * ((100vw - 320px) / (1920 - 320)));
}

.effect-cls-up:before {
    content: "";
    position: absolute;
    background: url(../images/effect.png);
    top: -1px;
    width: 100%;
    height: 85px;
    z-index: 1;
    background-repeat: no-repeat;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.parallax-section .full_banner {
    height: 93vh;
    background-attachment: fixed;
}

.center-slide {
    margin-bottom: -3px;
}

.center-slide .image-center {
    height: 93vh;
}

.center-slide .image-center .center-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 93vh;
    text-align: center;
    position: relative;
    z-index: 1;
}

.center-slide .image-center .center-content h3 {
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.center-slide .image-center .center-content h6 {
    margin-bottom: 0;
    text-transform: capitalize;
}

.center-slide .image-center .center-content:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.65);
    z-index: -1;
}

.center-slide .slick-slide .image-center .center-content {
    opacity: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.center-slide .slick-slide.slick-center .image-center .center-content {
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.center-slide .slick-slide.slick-center .image-center .center-content h3 {
    -webkit-animation: fadeInLeft 0.4s ease;
    animation: fadeInLeft 0.4s ease;
}

.center-slide .slick-slide.slick-center .image-center .center-content h6 {
    -webkit-animation: fadeInRight 0.4s ease;
    animation: fadeInRight 0.4s ease;
    color: gray;
    padding: 10px 20px;
    background-color: #ffffff;
}

.portfolio-creative.odd-even-con .container .row .content-sec {
    text-align: left;
    padding-left: 60px;
}

.portfolio-creative.odd-even-con .container .row .content-sec h3 {
    font-size: 200%;
}

.portfolio-creative.odd-even-con .container .row .content-sec p {
    max-width: 80%;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.portfolio-creative.odd-even-con .container .row:nth-child(even) .content-sec {
    text-align: right;
    padding-left: unset;
    padding-right: 60px;
}

.portfolio-creative.odd-even-con .container .row:nth-child(even) p {
    margin-right: 0;
    margin-left: auto;
}

.portfolio-creative .content-sec {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

.portfolio-creative .content-sec.center-con p {
    max-width: 80%;
    font-size: 16px;
    line-height: 1.4;
}

.portfolio-creative .content-sec.center-con h3 {
    font-size: 175%;
}

.portfolio-creative .content-sec h3 {
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
}

.portfolio-creative .content-sec p {
    color: #888888;
    max-width: 70%;
    margin: 0 auto;
}

.portfolio-creative .content-sec .btn {
    text-transform: capitalize;
    padding: 6px 14px;
    margin-top: 25px;
}

.breadcrumb-height {
    min-height: 200px !important;
}

.service-img .add-action {
    height: 95px !important;
}

.breadcrumb-area {
    background-position: 98% 88% !important;
}

.breadcrumb-content {
    color: #fff;
}

.breadcrumb-title {
    color: #fff;
    font-size: 65px;
}

.breadcrumb-sub-title {
    font-size: 16px !important;
}

.product-content .title {
    font-size: 18px !important;
}

.product-detail-tab ul li a.nav-link {
    font-family: "Noto Sans Thai", sans-serif !important;
}

.switchlang{
    width: 35px;
    height: 35px;
    line-height: 35px;
    display: block;
    background-color: #fff;
    border: 1px solid #ff5e13;
    color: #ff5e13 !important;
    font-weight: bold;
}
.switchlang:hover{
    background-color: #ff5e13;
    color: #fff !important;
}

.font-size-15 {
    font-size: 15px;
}

/* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.mfp-container:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #ccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

.mfp-preloader a {
    color: #ccc;
}

.mfp-preloader a:hover {
    color: #fff;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close,
button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #fff;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
    opacity: 1;
}

.mfp-close:active {
    top: 1px;
}

.mfp-close-btn-in .mfp-close {
    color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #fff;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #ccc;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}

.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after {
    border-right: 17px solid #fff;
    margin-left: 31px;
}

.mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after {
    border-left: 17px solid #fff;
    margin-left: 39px;
}

.mfp-arrow-right:before {
    border-left: 27px solid #3f3f3f;
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444;
}

.mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape),
screen and (max-height: 300px) {

    /**
       * Remove all paddings around the image on small screen
       */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box;
    }

    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.qrcodeLineProduct {
    width: calc(100% - 60px);
}

.related-slider {
    padding: 5px 1px;
}

.related-slider .product-item {
    border: 1px solid #ccc;
    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

.accordion-item{
    margin-top: 5px;
}
