body,
p, a {
    font-family: "IBM Plex Sans Thai", sans-serif !important;
}
a:hover {
    color: red;
}
p {
    font-size: 1.125rem !important;
}
#mainMenu nav > ul > li > a {
    font-size: 1.1rem !important;
    font-weight: 400;
    color: white;
}

#mainMenu nav > ul > li > a {
    font-size: 1.1rem !important;
    font-weight: 400;
    color: white;
}

/* #mainMenu nav > ul > li > a:hover, #mainMenu nav > ul > li > a:active  {
    color: white;
} */

.bg-red {
    background-color: #007BFF;
}

.btn-yellow {
    color: #153c9c !important;
    font-weight: 700 !important;
    padding: 0em 1.1em;
    border-radius: 5px !important;
    background: #ffd600 !important ;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) !important;
}

button {
    border: none;
    font-size: 1rem !important;
}

.bg-blur {
    background: black url("../../images/background-blur.png") no-repeat center
        60%;
    width: 100%;
    height: 50vh;
    z-index: -2;
    position: relative;
}

.w-70 {
    width: 70%;
}

.w-40 {
    width: 40%;
}

.card-deco {
    background: #fff;
    box-shadow: 0px 4px 10px 0px #d0d0d0 !important;
    border-radius: 0px;
    border: none;
}

.label-black {
    color: #000;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-bottom: 0.15em;
}

.btn {
    border: 1px solid #ffff !important;
}

.btn-blue {
    border-radius: 5px;
    background: #153c9c !important;
    color: #fff !important;
    padding: 0.5em 0em;
}

.btn-red {
    color: #fff !important;
    font-weight: 500;
    border-radius: 5px;
    background: #ff0808 !important;
}

.btn-red:hover {
    border: 1px solid #ff0808 !important;
    color: #ffff !important;
    back
}
.btn-blue {
    color: #fff !important;
    font-weight: 500;
    border-radius: 5px;
    background: #007BFF !important;
}

.btn-blue:hover {
    border: 1px solid #007BFF !important;
    color: #ffff !important;
    back
}

.card-header-red {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    background: #ff0808 url("../../images/card-header.png") no-repeat !important;
    color: #fff !important;
    font-weight: 500 !important;
    border-radius: 0px !important;
}
.card-header-blue {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    background: #007BFF !important;
    color: #fff !important;
    font-weight: 500 !important;
    border-radius: 0px !important;
}

#bannerSlideBg {
    background: url("../../images/background-blur.png") no-repeat center !important;
    padding: 5rem 0.5rem !important;
}

#header-red {
    background-color: #007BFF !important;
    color: #fff !important;
}

a {
    text-decoration: none !important;
}

input,
select,
textarea {
    border-radius: 5px;
    border: 1px solid #d0d0d0;
}

input:focus,
select:focus,
textarea:focus {
    border: 1px solid #f00 !important;
    box-shadow: 0 0 0 0.25rem #ffe5e5 !important;
}

form label {
    font-size: 1.1rem !important;
}

.form-select {
    font-size: 1.1rem !important;
}

.form-check-input:checked {
    background-color: #007BFF !important;
    border-color: #007BFF !important;
}

.text-grey-6a {
    color: #6a6a6a !important;
}
.text-black {
    color: #000 !important;
}
.text-red {
    color: #ff0000 !important;
}
.table > :not(caption) > * > * {
    padding: 0.2em !important;
}

#postTable > :not(caption) > * > * {
    padding: 0.8em !important;
}

.badge-red {
    font-weight: 600 !important;
    color: white;
    border-radius: 50px !important;
    background: #ff0808;
}

.badge-blue {
    font-weight: 600 !important;
    color: white;
    border-radius: 50px !important;
    background: #153c9c;
}

.badge-yellow {
    font-weight: 600 !important;
    color: white;
    border-radius: 50px !important;
    background: #ffba08;
}
.btn-black {
    background-color: black !important;
    color: white !important;
    border-radius: 150px !important;
    height: 3rem !important;
}

.btn-black:hover {
    background-color: rgb(61, 61, 61) !important;
    color: white !important;
}

.btn-green {
    background-color: #06c755 !important;
    color: white !important;
    border-radius: 150px !important;
    height: 3rem !important;
}

.border-radius-none {
    border-radius: 0 !important;
}

.btn-green:hover {
    background-color: #0de366 !important;
    color: white !important;
}

.bg-light-red {
    background-color: #ffe9e9;
}
.bg-light-blue {
    background-color: #e9ecff ;
}


.text-overflow-e {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title {
    text-overflow: ellipsis;
}

small,
.small {
    font-size: 1rem !important;
}

.w-auto {
    width: auto !important;
}
.flickity-button:hover {
    background-color: #ff0000 !important;
}

.card-text {
    font-family: "IBM Plex Sans Thai", sans-serif !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-inner {
    height: auto !important;
}

#search-form,
#faq-tab {
    width: 75% !important;
}

.nav-link.active {
    background: linear-gradient(90deg, rgba(154,6,6,1) 0%, rgba(199,0,0,1) 35%, rgba(255,0,0,1) 100%) !important;
    border-color: none!important;
}


@media (max-width: 992px) {
    #search-form {
        width: 100% !important;
    }
    #faq-tab {
        width: 90% !important;
    }
    #social-group-icons {
        display: flex;
        justify-content: left !important;
    }
    .action-button, .action-button-previous, .btn-announcement{
        width: 30% !important;
    }
}

@media (max-width: 768px) {
    #search-form {
        width: 100% !important;
    }
    #faq-tab {
        width: 90% !important;
    }
    #social-group-icons {
        display: flex;
        justify-content: center !important;
    }
    #about-us-submit-btn {
        width: 100% !important;
    }
    .action-button, .action-button-previous, .btn-announcement{
        width: 30% !important;
    }
    #mainMenu nav > ul > li > a {
        color: black;
    }
    .mainMenu-open #header #mainMenu {
        width: 100%;
    }
}

.ac-title:before {
    color: #ff0808 !important;
    right: 100% !important;
    font-weight: 600 !important;
    vertical-align: middle !important;
}

.ac-title {
    padding-left: 1.5rem !important;
    font-weight: 500 !important;
    font-size: 1.25rem !important;
}

.ac-content {
    border-left: 1px solid #ff0000 !important;
    color: #4f4f4f !important;
    padding-left: 1.75rem !important;
    margin-left: 3em;
    margin-top: 1em;
}


.bg-dark-red, .social-facebook a, .social-telephone a, .social-email a, .social-line a{
    background-color: #007BFF !important;
}

#social-group-icons {
    display: flex;
    justify-content: left;
}

#about-us-submit-btn {
    width: 20% ;
}

.portfolio-item-main {
    width: 120% !important;
    height: 120% !important;
}

.p-075 > :not(caption) > * > * {
    padding: 1em 1em !important;
}

.border-4f {
    border: 1px solid #4F4F4F;
}

.tabs .nav-tabs {
    border-bottom: none !important;
}

a.nav-link:hover, a.nav-link {
    color: #007BFF !important;
}

a.nav-link.active {
    color: #fff !important;
}

.tabs .nav-tabs .nav-link {
    border-bottom: 2px solid transparent !important;
}

.tabs .nav-tabs .nav-link.active{
    border-bottom: 2px solid #007BFF !important;
}

.btn-sell-package-1 {
    height: 100px;
    border-radius: 5px;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.20) -0.77%, rgba(0, 0, 0, 0.00) 86.18%), #D9D9D9;
    border-bottom: 5px solid rgba(0, 0, 0, 0.50);
    display: flex;
    align-items: center;
}

.btn-sell-package-2 {
    height: 100px;
    border-radius: 5px;
    background: linear-gradient(to bottom right, rgba(253, 91, 0, 0.20) 22.08%, rgba(255, 214, 0, 0.20) 91.01%, rgba(255, 255, 255, 0.00) 91.01%), #F0BD39;
    border-bottom: 5px solid #E47600;
    display: flex;
    align-items: center;
}




/*form styles*/
#msform {
    position: relative;
    margin-top: 30px;
}

#msform fieldset {
    box-sizing: border-box;
    width: 100%;
    margin: 3rem 0rem;
    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*buttons*/
#msform .action-button {
    border-radius: 5px;
    background: #153c9c;
    color: white;
    cursor: pointer;
    line-height: 0;
    font-size: 1.05em;
    font-weight: 500;
    width: 20%;
    margin: 0em 0.2em;
}

#msform .action-button:hover, #msform .action-button:focus, .action-button:active, .action-button:visited {
    border: none !important;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #153c9c !important;
}

#msform .action-button-previous {
    width: 20%;
    border-radius: 5px;
    background: #b5b5b5;
    color: white;
    cursor: pointer;
    line-height: 0;
    font-size: 1.05em;
    font-weight: 500;
    margin: 0em 0.2em;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    border: none !important;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #b5b5b5 !important;
}

/*headings*/
.fs-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    padding: 0;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: #666;
    width: 25%;
    float: left;
    position: relative;
    letter-spacing: 1px;
    text-align: center;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 12px;
    color: #333;
    background: #D0D0D0;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #D0D0D0;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1; /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps blue*/
/*The number of the step and the connector before it = blue*/
#progressbar li.active:before, #progressbar li.active:after {
    background: #FF0808;
    color: white;
}

input::file-selector-button {
    min-width: 20% !important;
    border-radius: 5px !important;
    background: #FF0808 !important;
    color: white !important;
    cursor: pointer !important;
    font-size: 1.05em !important;
    font-weight: 500 !important;
    min-height: 40px !important;
  }


  .btn-announcement {
    width: 20%;
    border-radius: 5px;
    background: #FFBA08 !important;
    color: #000 !important;
    cursor: pointer;
    line-height: 0;
    font-size: 1.05em;
    font-weight: 800 !important;
    margin: 0em 0.2em;

  }

  #msform .btn-announcement:hover, #msform .btn-announcement:focus {
    border: none !important;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #FFBA08 !important;
}

#loom-companion-mv3 {
    display: none !important;
}

.flickity-button {
    z-index: 20;
}

@media (min-width:992px) {
.mainMenu-open #header #mainMenu {
    overflow-y: hidden;
}
.header-inner {
    background-color: #007BFF !important;
}
#mainMenu:not(.menu-overlay) nav > ul > li > a {
    color: #ffffff !important;
}
.btn-translate {
    color: #ffffff !important;
}
}

@media (max-width: 991px)  {
    .mainMenu-open #header #mainMenu {
        overflow-y: hidden;
    }
    .header-inner {
        background-color: #ffff !important;
        position: fixed;
    }
    #navbar-tab {
        background-color: #ffff;
    }
    #mainMenu nav > ul > li.hover-active > a {
        color: #212529 !important;
    }

    #mainMenu:not(.menu-overlay) nav > ul > li > a {
        color: #212529 !important;
    }
    .btn-translate {
        color: #212529 !important;
    }

    .padding-translate {
        padding-top: 5px !important;
    }
}

@media (max-width: 768px)  {
    .mainMenu-open #header #mainMenu {
        overflow-y: hidden;
    }
    .header-inner {
        background-color: #fff !important;
        position: fixed;
    }
    #navbar-tab {
        background-color: #fff;
    }
    #mainMenu nav > ul > li.hover-active > a {
        color: #212529 !important;
    }
    .btn-translate {
        color: #212529 !important;
    }

    .padding-translate {
        padding-top: 5px !important;
    }
}

#mainMenu nav > ul > li.hover-active > a, #mainMenu nav > ul > li.hover-active > span, #mainMenu nav > ul > li.current > a, #mainMenu nav > ul > li.current > span, #mainMenu nav > ul > li:hover > a, #mainMenu nav > ul > li:hover > span, #mainMenu nav > ul > li:focus > a, #mainMenu nav > ul > li:focus > span {
    color: white;
}

.hover-item {
    transition: 0.3s;
  }
  .hover-item:hover {
    transform: translate(5px, 0);
  }

.btn-read-other {
    color: #fff !important;
    font-weight: 500;
    border-radius: 5px;
    background: #ff0808 !important;
}

.btn-read-other:hover {
    text-decoration: none;
    color: #725AC1;
    background: transparent;
    cursor: pointer;
    transition: ease-out 0.5s;
    border: 2px solid #725AC1;
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 #725AC1;
}

.btn-loader {
    width: 20%;
    border-radius: 5px;
    background: #FFBA08 !important;
    color: #000 !important;
    cursor: pointer;
    line-height: 0;
    font-size: 1.05em;
    font-weight: 800 !important;
    margin: 0em 0.2em;
    border: none !important;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #FFBA08 !important;

  }
