@import url('https://fonts.googleapis.com/css?family=prompt:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&display=swap');
* {
    box-sizing: border-box;
}


header {
    background-image: url(../imgs/header.png);
    background-size: cover;
}

@media (max-width: 768px) {
    .carousel-item .desktop-image {
        display: none !important;
    }
    .carousel-item .mobile-image {
        display: block !important;
    }
}

/* สำหรับเดสก์ท็อป */
@media (min-width: 769px) {
    .carousel-item .desktop-image {
        display: block !important;
    }
    .carousel-item .mobile-image {
        display: none !important;
    }
}

.small-container {
    width: 95%;
    margin: 0 auto;
}

.overlay {
    background-color: rgba(0, 0, 0, .51);
    width: 100%;
    height: 100%;
}

.violet-overlay {
    background-color: rgba(189, 140, 191, .51);
    width: 100%;
    height: 100%;
    padding: 70px 0;
}

.white-overlay {
    background-color: rgba(255, 255, 255, .7);
    height: 100%;
    width: 100%;
}

.margin_top_30 {
    margin-top: 30px;
}

.service_blog h3.blog_head {
    float: left;
    background: #4fcaff;
    text-align: center;
    font-size: 24px;
    text-transform: none;
    margin: 0;
    min-height: 50px;
    line-height: 50px;
    padding: 0 50px;
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 300px;
    left: 15px;
}

.service_blog h3.blog_head::after {
    width: 50px;
    height: 50px;
    content: "";
    display: block;
    position: absolute;
    right: -20px;
    background: #4fcaff;
    top: 0;
    transform: skew(-30deg);
}

.line_small {
    max-width: 100px;
}

h2 span,
h1 span {
    color: #bd8cbf;
}

li {
    list-style-type: none;
}

a:hover {
    text-decoration: none;
    color: green;
}

a,
button {
    transition: all .5s ease;
}

button {
    padding: 0
}

body {
    font-size: 1.1rem;
}


/* navbar */

nav.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-family: 'prompt';
    background: #FFF;
    min-height: 95px;
    position: fixed;
    box-shadow: 0 5px 4px -1px rgba(0, 119, 255, 0.25);
    
    
    
    
}

.nav-item {
    font-size: 18px;
    margin-left: 15px;
    font-weight: bold;
    
}

nav.navbar a,

nav.navbar ul li a {
    color: rgb(14, 13, 13) !important;
    
}


.logo_text {
    text-align: center;
    color: #6699FF;
    margin-left: -10px;
    margin-right: 0px;
    margin-top: 10px;
}

nav.navbar ul li {
    padding: 0 8px;
    position: relative;
}

nav.navbar .search-container {
    position: relative;
}

nav.navbar form {
    padding: 5px;
    background-color: white;
    position: absolute;
    width: 260px;
    display: none;
    right: 0;
}

nav.navbar form input {
    padding: 5px 10px;
    border: none;
    background-color: #fff;
    width: 100%;
    font-weight: 300;
    font-size: 16px;
    
}

.navbar-nav li a {
    font-size: 18px;
    font-weight: 300;
    font-weight: bold;
    
    
}

.layout_padding {
    padding: 10px 0;
}

.features {
    width: 100%;
    background: #ffffff;
    padding-top: 10px;
    padding-bottom: 0px;
}


.features_row {
    margin-top: -220px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: auto;
    padding-right: auto;
    background: #ffffff;
    
}
.feature2 {
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: auto;
    padding-right: auto;
    background: #ffffff;
    border: 3px solid #000000; /* ใส่เส้นขอบให้กับกรอบ */
    border-radius: 15px; /* ปรับความโค้งของมุมกรอบ */
    border-color: #83bbfc; /* เปลี่ยนสีของเส้นขอบของกรอบ เช่น #ff0000 คือสีแดง */
    
   
    
}

.features2 {
    width: 100%;
    background: #292929;
    padding-top: 10px;
    padding-bottom: 0px;
}


.slider {
    margin-top: 100px;

}


.feature:hover {
    box-shadow: 0px 5px 40px rgba(9, 64, 204, 0.15);
}

.feature_icon {
    height: 55px;
}

.feature_icon img {
    max-width: 100%;
}

.feature_title {
    position: relative;
    font-size: 20px;
    margin-top: 23px;
}

.feature_text {
    text-align: center;
    margin-top: -10px;
}

.about_section h3 {
    font-size: 40px;
    margin: 5px 0 25px 0;
    font-weight: 600;
    text-align: left;
}

.about_section h4 {
    color: #4fcaff;
    font-size: 24px;
    margin: 0;
    text-align: left;
}

.ab_text {
    font-size: 17px;
    text-align: left;
}

.full {
    width: 100%;
    float: left;
    margin: 0;
}

.text_align_center {
    text-align: center;
}

.img-responsive {
    max-width: 100%;
}

.white_font {
    color: rgb(85, 83, 83) !important;
}

.h3,
h3 {
    font-size: 36px;
    font-weight: 700;
    color: #3a3a3a;
    text-transform: uppercase;
}

.contact_t {
    text-align: center;
}

.contact-form {
    padding: 55px 65px;
    background: #4fcaff;
    min-height: 600px;
    margin-top: 60px;
}

.contact-form form input {
    width: 100%;
    background: #fff;
    border: none;
    height: 60px;
    padding: 0 20px;
    text-transform: uppercase;
    margin: 15px 0;
}

.contact-form form textarea {
    width: 100%;
    background: #fff;
    border: none;
    min-height: 120px;
    padding: 15px 20px;
    text-transform: uppercase;
    margin: 15px 0;
}

.contact-form form input[type="submit"] {
    background: #fa3e19;
    color: #fff;
    width: 190px;
    margin: 15px auto 0;
    font-size: 19px;
    font-weight: 300;
    float: none;
    display: flex;
    cursor: pointer;
}

.contact-form form input[type="submit"]:hover,
.contact-form form input[type="submit"]:focus {
    background: #111;
    color: #fff;
    transition: ease all 0.5s;
}


/* header */

header {
    position: relative;
    color: #FFF;
    font-family: 'prompt', sans-serif;
}

header .container {
    height: 100%
}

header .container>div {
    margin: 0 auto;
    position: relative;
    /*    text-align: center;*/
}

header .container>div h1 {
    font-size: 90px;
}

header button {
    background-color: transparent;
    display: block;
    border: 1px solid #FFF;
    border-radius: 50px;
    padding: 0;
    margin: 30px auto;
}

header button a {
    padding: 10px 40px;
    display: block;
    color: #FFF;
}

header button:hover {
    background-color: #bd8cbf;
    border: 1px solid #bd8cbf;
}

header button:hover a {
    color: white;
}

h3.blog_head {
    width: 100%;
    float: left;
    background: #fff;
    text-align: center;
    font-size: 25px;
    text-transform: uppercase;
    color: #090101;
    margin: 0;
    min-height: 75px;
    line-height: 75px;
}


/* about us */

.about-us {
    position: relative;
    padding: 100px 0;
    font-family: 'Prompt';
}

.about-us .row>.col-lg-6:first-of-type {
    position: relative;
    left: 50px;
}

.about-us .small-container>p+div {
    padding: 70px 0;
    background-color: white;
    box-shadow: 5px 5px 10px #d2cfcf, -5px -5px 10px #d2cfcf;
}

.about-us .small-container>p+div h4 {
    margin-bottom: 40px
}

.about-us .small-container .text-right p {
    margin-bottom: 40px;
    width: 80%;
    float: right;
}

.about-us .small-container>p+div button {
    background-color: #bd8cbf;
    border: none;
}

.about-us .small-container>p+div a {
    display: block;
    color: #FFF;
    padding: 10px 40px;
}

.about-us .item {
    width: 200px;
    position: absolute;
    color: white;
    background-color: #bd8cbf;
}

.about-us .item p {
    font-size: 15px;
}

.about-us .item img {
    width: 100%;
    height: 150px
}

.about-us .item h5 {
    margin: 5px 0;
}

.about-us .item p {
    margin-bottom: 5px;
}

.about-us .item:first-of-type {
    left: 405px;
    bottom: 115px;
    z-index: 2;
    box-shadow: -2px 2px 10px #5d5959;
}

.about-us .item:nth-of-type(2) {
    left: 105px;
    bottom: 115px;
    z-index: 2;
    box-shadow: 2px 2px 10px #5d5959;
}

.about-us .item:nth-of-type(3) {
    position: relative;
    top: 162px;
    left: -45px;
}

.about-us .item:nth-of-type(3) img {
    position: absolute;
    bottom: 70px;
    right: 0px;
    z-index: 0;
}

.about-us .item:last-of-type {
    left: 268px;
    top: 90px;
}

.about-us .first {
    width: 100px;
    height: 200px;
    position: absolute;
    background-color: #bd8cbf;
    top: 140px;
    z-index: -5;
}

.about-us .second {
    width: 100px;
    height: 200px;
    position: absolute;
    background-color: #bd8cbf;
    bottom: 58px;
    right: 34px;
    z-index: -5;
}

.about-us .row>div>.item:nth-of-type(3) div {
    position: relative;
    z-index: 5;
    background-color: #bd8cbf;
    padding: 5px;
}

.blue_bt {
    width: 255px;
    height: 58px;
    background: #4fcaff;
    color: #fff;
    float: left;
    text-align: center;
    line-height: 58px;
    font-size: 20px;
    font-weight: 300;
}

.blue_bt:hover,
.blue_bt:focus {
    background: #fff;
    color: #0c2326;
}


/* services */

.services {
    margin-bottom: 100px;
    font-family: 'Prompt';
}

.services .slide {
    width: 70%;
    margin: 0 auto;
}

.services .carousel-inner .carousel-item {
    width: 100%;
    height: 100%
}

.services .carousel-inner img {
    height: 100%;
    width: 100%;
}

.services .carousel-control-next,
.services .carousel-control-prev {
    width: 60px;
    height: 60px;
    background: #bd8cbf;
    border-radius: 50%;
}

.services .carousel-control-next i,
.services .carousel-control-prev i {
    color: #000
}

.services .carousel-control-next {
    right: 0;
    top: 80%;
    right: 40%;
    background-color: #FFF;
}

.services .carousel-control-prev {
    top: 80%;
    left: 40%;
}

.services i {
    color: #bd8cbf;
}

.spec_box {
    margin-top: 30px;
    text-align: left;
}


/* agency */

.agency {
    background-image: url('../imgs/agency.png');
    font-family: 'Prompt';
    background-size: cover;
}

.agency .container>div {
    margin: 0 auto;
    width: 86%;
    margin-bottom: 30px;
}

.agency .white-overlay {
    padding: 50px 0 20px;
}

.agency .container>div>div {
    display: inline-block;
    position: relative
}

.agency .container>div>div img {
    width: 500px;
    margin: 0 20px;
}

.agency img:first-of-type,
.agency img:last-of-type {
    width: 200px;
}

.agency .container>div h2 {
    position: absolute;
    color: white;
    bottom: 105px;
    left: 195px;
    font-size: 40px;
}


/* statistics */

.statistics {
    padding: 50px 0;
    font-family: 'Prompt';
}

.statistics i,
.statistics p {
    color: #bd8cbf;
}

.statistics i {
    margin-bottom: 10px;
}

.statistics h3 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 0;
}

.ovarlay_slide_cont {
    background: none;
    position: absolute;
    width: 60%;
    margin: 0 15%;
    z-index: 1111111111;
    top: 135px;
    left: 0;
    padding: 50px 60px 70px;
    display: none;
}

.ovarlay_slide_cont h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 70px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    display: none;
}

.ovarlay_slide_cont h4 {
    color: #4fcaff;
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: normal;
    display: none;
}

.ovarlay_slide_cont p {
    color: #fff;
    font-weight: 300;
    margin: 0 0 30px 0;
    font-size: 21px;
    padding: 0 75px 0 0;
    line-height: 28px;
    display: none;
}


/* contact */

.contact {
    background-image: url('../imgs/contact.png');
    background-size: cover;
}

.contact h2 {
    color: white;
    margin-bottom: 30px;
}

.contact .contact-form {
    width: 50%;
    margin: 0 auto;
}

.contact form input,
.contact form textarea {
    width: 100%;
    outline: none;
    border: none;
    padding: 5px 10px;
}

.contact form input {
    border-radius: 50px;
    margin-bottom: 20px;
}

.contact form textarea {
    resize: none;
    height: 130px;
    border-radius: 25px;
    margin-bottom: 30px;
}

.contact form input[type="submit"] {
    width: 130px;
    height: 40px;
    padding: 0;
    line-height: 40px;
    background-color: #ef44f8;
    color: white;
    margin: 0 auto;
    display: block;
}


/*  slide customer */

#myDIV {
    width: 100%;
    height: 500px;
    border: 0px solid black;
    background-image: url('site-reference.jpg');
    background-position: left;
    animation: mymove 80s infinite;
}

@keyframes mymove {
    90% {
        background-position: right;
    }
}


/* footer contac*/

footer,
footer a {
    color: white;
}

footer {
    display: block;
    overflow: hidden;
    background-color: #0c2326;
}

footer a:hover {
    color: #4fcaff;
}

footer .container>ul {
    overflow: hidden;
    margin: 30px 0;
    padding-left: 0;
}

footer .container>ul li {
    float: left;
    padding-right: 25px;
}

footer .item h4 {
    margin-bottom: 20px
}

footer .item p.address {
    line-height: 1.2;
    font-size: 16px;
}

footer .item ul {
    padding-left: 0;
}

footer .item ul li {
    margin-bottom: 3px;
    font-size: 16px;
}

footer .date p {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 300;
}

footer .item form {
    overflow: hidden;
}

footer .item form input {
    width: 100%;
    margin-bottom: 15px;
    padding: 5px 10px;
}

footer .item form input[type="submit"] {
    width: 100px;
    height: 40px;
    line-height: 4px;
    background-color: #ef44f8;
    border: none;
    float: right;
    color: #FFF;
    padding: 0
}

.footer_text {
    margin-top: 10px;
    text-align: center;
}

footer .copyright {
    padding: 15px 0;
}

footer .copyright p {
    margin-bottom: 0;
    font-size: 16px;
}

.footer_blog_section {
    margin-top: 50px;
    margin-bottom: 100px;
    padding: 0%;
}

.footer_img {
    align-items: auto;
}


/* media queries */

@media (max-width: 1200px) {
    /* about */
    .about-us .row>.col-lg-6:first-of-type {
        left: -10px;
    }
    .about-us .small-container .text-right p {
        width: 70%
    }
    .about-us .item {
        width: 150px
    }
    .about-us .item img {
        height: 125px
    }
    .about-us .item:first-of-type {
        left: 440px;
        bottom: 154px;
    }
    .about-us .item:nth-of-type(2) {
        left: 167px;
        bottom: 153px;
    }
    .about-us .item:nth-of-type(3) {
        top: 149px;
        left: 19px;
    }
    .about-us .item:last-of-type {
        left: 305px;
        top: 132px;
    }
    .about-us .row>div>.item:nth-of-type(3) img {
        position: static
    }
    .about-us .row>div>.item:nth-of-type(3) p {
        display: none;
    }
    /* agency */
    .agency img:first-of-type,
    .agency img:last-of-type {
        width: 150px
    }
    .agency .container>div>div img {
        max-width: 400px;
        width: 100%;
    }
    .agency .container>div h2 {
        bottom: 87px;
        left: 164px;
        font-size: 30px;
    }
    .agency .container>div h2 {
        display: none;
    }
    .responsive-iframe {
        width: 150%;
        height: 1000; /* ปรับสูงของ iframe ตามที่ต้องการ */
    }
}

@media (max-width: 992px) {
    /* header */
    header h1 {
        font-size: 65px !important;
        
    }
    /* navbar */
    .navbar ul {
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
    }
    .navbar ul li {
        margin: 10px 0;
    }
    nav.navbar form {
        width: 100%;
        position: static;
    }
    /* about */
    .about-us .small-container>p+div {
        padding: 50px 0;
    }
    .about-us .row>.col-lg-6:first-of-type {
        height: 350px;
        left: 50px;
    }
    .about-us .small-container .text-right p {
        width: 100%;
    }
    /* services */
    .services .slide {
        width: 80%
    }
    .services .carousel-control-next,
    .services .carousel-control-prev {
        width: 50px;
        height: 50px;
    }
    /* agency */
    .agency img:first-of-type,
    .agency img:last-of-type {
        display: none
    }
    .agency .container>div>div img {
        display: block;
    }
    .agency .container>div {
        width: 56%;
    }
    /* statistics */
    .statistics .col-lg-3 {
        margin-bottom: 40px
    }
    /* contact */
    .contact .contact-form {
        width: 70%
    }
    /* footer */
    footer .col-lg-3 {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    /* header */
    header h1 {
        font-size: 50px !important;
    }
    /* about */
    .about-us .row>.col-lg-6:first-of-type {
        display: none;
    }
    /* services */
    .services .slide {
        width: 90%
    }
    .services .carousel-control-next,
    .services .carousel-control-prev {
        display: none;
    }
    /* agency */
    .agency .container>div {
        width: 87%;
    }
}

.testimonial_blog {
    background: #a1a1a1;
    width: 100%;
    padding: 40px 50px;
    box-shadow: 50px 50px 0 0 #4fcaff;
}

.testimonial_blog p {
    color: #fff;
}

.testimonial_blog p+p {
    margin: 0;
}

.testimonial_blog p:first-child {
    font-size: 30px;
    font-weight: 500;
}

.subcribe {
    background: #4fcaff;
    padding: 80px 0;
}

.subcribe h3 {
    color: #fff;
}

.subcribe p {
    margin: 0;
    color: #fff;
}

.subcribe form {
    height: 72px;
    background: yellow;
    margin-top: 20px;
}

.subcribe form {
    height: 72px;
    background: #fff;
    margin-top: 20px;
    padding: 0;
    font-weight: 300;
    font-size: 19px;
    display: flex;
}

.subcribe form input {
    margin: 0;
    padding: 0 30px;
    width: 100%;
    border: none;
    font-size: 20px;
    font-weight: 300;
}

.subcribe form button {
    background: #fa3e19;
    color: #fff;
    width: 255px;
    border: none;
    font-size: 20px;
}

.subcribe form button:hover,
.subcribe form button:focus {
    background: #111;
    color: #fff;
}

footer .item p img {
    position: absolute;
    left: 0;
    top: 5px;
}

footer .item p {
    position: relative;
    padding-left: 25px;
    font-size: 16px;
    margin: 0 0 10px 0;
}

footer .copyright {
    padding: 15px 0 16px;
    border-top: solid #10d0e7 1px;
    margin-top: 30px;
}

footer .item p strong {
    font-weight: 700;
    margin-bottom: 5px;
    float: left;
    width: 100%;
}

footer {
    display: block;
    overflow: hidden;
    background-color: #bbf0f7;
    padding: 0px 0 0;
    color: #000;
}

.footer2 {
    position: fixed;
    right: 0;
    bottom: 0;
    width: fit-content;
    color: white;
    text-shadow: 1px 1px 10px #131313;
}

.copy_end {
    text-align: center;
    font-size: 13px;
}

.modal-head {
    text-align: center;
}

.alert_text {
    text-align: center;
    font-size: 25px;
}

@media (min-width: 992px) and (max-width: 1199px) {}

@media (min-width: 768px) and (max-width: 991px) {
    .ovarlay_slide_cont {
        background: rgba(5, 3, 0, 0.63);
        position: absolute;
        width: 70%;
        margin: 0 15%;
        z-index: 1111111111;
        top: 0;
        left: 0;
        padding: 50px 60px 70px;
    }
    .ovarlay_slide_cont h2 {
        font-size: 45px;
    }
    .ovarlay_slide_cont p {
        color: #fff;
        font-weight: 300;
        margin: 0 0 30px 0;
        font-size: 19px;
        padding: 0;
        line-height: 28px;
    }
    .h3,
    h3 {
        font-size: 30px;
    }
    .about_section h3 {
        font-size: 30px;
    }
    .about_section h4 {
        color: #4fcaff;
        font-size: 16px;
        margin: 0;
    }
    h3.blog_head {
        width: 100%;
        float: left;
        background: #fff;
        text-align: center;
        font-size: 18px;
        text-transform: uppercase;
        color: #090101;
        margin: 0;
        min-height: 50px;
        line-height: 50px;
    }
    .service_blog h3.blog_head {
        float: left;
        background: #4fcaff;
        text-align: center;
        font-size: 18px;
        text-transform: none;
        margin: 0;
        min-height: 50px;
        line-height: 50px;
        padding: 0 20px;
        color: #fff;
        position: absolute;
        bottom: 0;
        width: 65%;
        max-width: 300px;
        left: 15px;
        font-weight: 500;
    }
    .service_blog h3.blog_head::after {
        width: 50px;
        height: 50px;
        content: "";
        display: block;
        position: absolute;
        right: -35px;
        background: #4fcaff;
        top: 0;
        transform: skew(-30deg);
    }
    .contact-form {
        padding: 40px 50px;
        background: #4fcaff;
        min-height: 600px;
        margin-top: 60px;
    }
    .service_blog img {
        width: 100%;
    }
    .con_t {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .layout_padding {
        padding: 50px 0;
    }
    .about_section h3 {
        font-size: 30px;
        margin: 10px 0 25px 0;
        font-weight: 700;
        line-height: 32px;
    }
    .h3,
    h3 {
        font-size: 30px;
        font-weight: 700;
        color: #3a3a3a;
        text-transform: uppercase;
        margin-bottom: 15px;
    }
    h3.blog_head {
        width: 100%;
        float: left;
        background: #fff;
        text-align: center;
        font-size: 20px;
        text-transform: uppercase;
        color: #090101;
        margin: 0;
        min-height: 55px;
        line-height: 55px;
    }
    .service_blog h3.blog_head {
        float: left;
        background: #4fcaff;
        text-align: center;
        font-size: 22px;
        text-transform: none;
        margin: 0;
        min-height: 50px;
        line-height: 50px;
        padding: 0 40px;
        color: #fff;
        position: absolute;
        bottom: 0;
        width: 70%;
        max-width: 300px;
        left: 15px;
    }
    .contact-form {
        padding: 35px 40px;
        background: #4fcaff;
        min-height: 600px;
        margin-top: 20px;
    }
    .contact-form form input {
        margin: 10px 0;
    }
    #contact img {
        margin-top: 0px;
    }
    .testimonial_blog {
        background: #a1a1a1;
        width: 100%;
        padding: 30px 30px;
        box-shadow: 10px 10px 0 0 #4fcaff;
    }
    .testimonial_blog p:first-child {
        font-size: 30px;
        font-weight: 500;
        margin-bottom: 10px;
    }
    p {
        font-size: 17px;
        font-weight: 300;
    }
    .subcribe form {
        height: auto;
        background: #fff;
        margin-top: 20px;
        padding: 0;
        font-weight: 300;
        font-size: 19px;
        display: block;
    }
    .subcribe form input {
        margin: 0;
        padding: 20px 30px;
        width: 100%;
        border: none;
        font-size: 20px;
        font-weight: 300;
    }
    .subcribe form button {
        background: #fa3e19;
        color: #fff;
        width: 100%;
        border: none;
        font-size: 20px;
        padding: 12px 0;
    }
    .subcribe form button:hover,
    .subcribe form button:focus {
        background: #111;
        color: #fff;
    }
    .ovarlay_slide_cont {
        display: none;
    }
    .service_blog img {
        width: 100%;
    }
}


/* Header/Blog Title */


/* Create two unequal columns that floats next to each other */


/* Left column */

.leftcolumn {
    float: left;
    width: 100%;
}


/* Right column */

.rightcolumn {
    float: left;
    width: 30%;
    padding-left: 15px;
}


/* Fake image */

.fakeimg {
    background-color: rgb(170, 170, 170);
    width: 100%;
    padding: 10px;
    display: none;
}


/* Add a card effect for articles */

.blog {
    background: rgb(255, 255, 255);
    margin-top: 20px;
    margin-bottom: 20px;
}

.card {
    background-color: rgb(255, 255, 255);
    padding: 15px;
    margin-top: 0px;
    margin-bottom: 20px;
}


/* Clear floats after the columns */

.row:after {
    content: "";
    display: table;
    clear: both;
}


/* Footer */


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 800px) {
    .leftcolumn,
    .rightcolumn {
        width: 100%;
        padding: 0;
    }
}


/* colum blog 
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* Float four columns side by side */

.column {
    float: left;
    width: 25%;
    padding: 0 10px;
}


/* Remove extra left and right margins, due to padding in columns */

.row {
    margin: 0 -5px;
}


/* Clear floats after the columns */

.row:after {
    content: "";
    display: table;
    clear: both;
}


/*blog */

.cta-100 {
    margin-top: 50px;
    padding-left: auto;
    padding-top: auto;
}

.col-md-4 {
    padding-bottom: 20px;
}

.white {
    color: #fff !important;
}

.mt {
    float: left;
    margin-top: -20px;
    padding-top: 20px;
}

.bg-blue-ui {
    background-color: #708198 !important;
}

figure img {
    width: 300px;
}

#blogCarousel {
    padding-bottom: 100px;
}

.blog .carousel-indicators {
    left: 0;
    top: -50px;
    height: 50%;
}


/* ---- shere ---- */


/* The colour of the indicators */

.blog .carousel-indicators li {
    background: #708198;
    border-radius: 0%;
    width: 18px;
    height: 3px;
    margin-top: 20px;
}

.blog .carousel-indicators .active {
    background: #0fc9af;
}

.item-carousel-blog-block {
    outline: medium none;
    padding: 15px;
}

.item-box-blog {
    border: 1px solid #dadada;
    text-align: center;
    z-index: 4;
    padding: 20px;
}

.item-box-blog-image {
    position: relative;
}

.item-box-blog-image figure img {
    width: 100%;
    height: auto;
}

.item-box-blog-date {
    position: absolute;
    z-index: 5;
    padding: 4px 20px;
    top: -20px;
    right: 8px;
    background-color: #41cb52;
}

.item-box-blog-date span {
    color: #fff;
    display: block;
    text-align: center;
    line-height: 1.2;
}


.item-box-blog-date span.mon {
    font-size: 18px;
}

.item-box-blog-date span.day {
    font-size: 16px;
}

.item-box-blog-body {
    padding: 10px;
}

.item-heading-blog a h5 {
    margin: 0;
    line-height: 1;
    text-decoration: none;
    transition: color 0.3s;
}

.item-box-blog-heading a {
    text-decoration: none;
    text-align: left;
}

.item-box-blog-data p {
    font-size: 13px;
}

.item-box-blog-data p i {
    font-size: 12px;
}

.item-box-blog-text {
    max-height: 100px;
    overflow: hidden;
    text-align: left;
}

.mt-10 {
    float: left;
    margin-top: -10px;
    padding-top: 10px;
}

.btn.bg-blue-ui.white.read {
    cursor: pointer;
    padding: 4px 20px;
    float: left;
    margin-top: 10px;
}

.btn.bg-blue-ui.white.read:hover {
    box-shadow: 0px 5px 15px inset #4d5f77;
}

.videoViewer {

    position: relative;

    padding-bottom: 50%;

    padding-top: 25px;

    height: 0;

}

.videoViewer iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

}



/* popup */

#popupmain {
    position: fixed;
    width: 100%;
    height: 100%;
    min-height: 50px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

#popup {
    width: 500px;
    height: auto;
    background-size: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px;
    vertical-align: middle;
}
/* เพิ่มาใหม่ทำ Blog*/
.column {
    float: left;
    width: 25%;
    padding: 10px;
    height: 300px; /* Should be removed. Only for demonstration */
  }
  
  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  
} 
  

    
    


/* Style the counter cards */


/* Responsive columns - one column layout (vertical) on small screens */

@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
}
/* Dropdown buttom ทดลองใช้งาน */

.dropbtn {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 8px;
    font-size: 18px;
    border: none;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 140px;
    box-shadow: 0px 8px 16px 0px rgba(26, 133, 255, 0.2);
    z-index: 1;
    font-size: 16;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 14px;
    text-decoration: dotted;
    display: block;
    text-align: left;
    font-weight: bold;
  }
  
  .dropdown-content a:hover {background-color: rgb(176, 231, 241);}
  
  .dropdown:hover .dropdown-content {display: block;}

  /* vdo youtube */


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    overflow: auto; 
  }
  
  .video-container iframe,
  .video-container object,
  .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .video-grid {
    display: grid;
    grid-gap: 20px;
  }
  
  /* Layout for desktop devices */
  @media (min-width: 992px) {
    .video-grid {
      grid-template-columns: repeat(2, 1fr); /* Show 2 videos in a row */
    }
  }
  
  /* Layout for tablet devices */
  @media (min-width: 768px) and (max-width: 991px) {
    .video-grid {
      grid-template-columns: repeat(1, 1fr); /* Show 1 video in a row */
    }
  }
  
  /* Layout for mobile devices */
  @media (max-width: 767px) {
    .video-grid {
      grid-template-columns: repeat(1, 1fr); /* Show 1 video in a row */
    }
  }
  
  .video-item {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }
  
  .video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /** สินค้าใหม่ */

.box2:hover{
    /**box-shadow: 2px 2px 10px #9e9e9e;*/
    transform: scale(1.2);
    transition-duration: 0.5s;
    align-items: center;

}
p.text-muted{
    margin: 0;
    font-size: auto;
    
}

.box2 {
    width: 100%;
    max-width: 100%;
    height: 50%;
    align-items: center;
}



.product_icon {
    height: 100px;
}

.product_icon img {
    max-width: 100%;
}

.drop_t1 {
opacity: 0.5;
}

/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

.responsive-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: none;
    transform: translate(-50%, -50%);
   
  }

  .containeri {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
  }

/*Modal popup*/

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(63, 62, 62, 0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-contentp {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 400px;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-contentp, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.3s;
    animation-name: zoom;
    animation-duration: 0.3s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    
  }
  
  .close:hover,
  
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  
span.close {
  font-size: 60px;
  color: #ffffff;

}
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }