/*Header*/
@import url('https://fonts.googleapis.com/css2?family=Pattaya&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@700&display=swap');
.header-main {
    padding: 10px 0;
}

.menu-content ul {
    margin: 0;

    padding: 0;
}

.menu-content ul li {
    list-style: none;

    display: inline-block;

    margin: 0 10px;
}

/* .menu-content ul li i {
    color: #e71e28;

    font-size: 26px;

    float: left;

    margin-right: 10px;

    margin-top: 10px;
} */

/* .fa.fa-phone,
.fas.fa-phone {
    transform: rotate(90deg);
} */
.menu-content .slogan {
    font-weight: 600;
    color: #e4252c;
    text-transform: uppercase;
    font-size: 23px;
    text-align: center;
}
.top-header2 {
    /* background: #116495; */
    padding: 5px 0;
    border-bottom: 1px solid #eaeaea;
}
.carousel-item {
    position: relative;
}
.carousel-item:after {
    display: none;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #00000054;
}
.carousel-caption {
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.carousel-caption h1 {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: bold;
}
.carousel-caption p {
    font-size: 18px;
    line-height: 27px;
    margin: 0;
}

.menu-content ul li div {
    font-size: 15px;

    /* float: right; */
}

.menu-content ul li div p {
    margin: 0;

    text-transform: uppercase;
}

.menu-search {
    padding-left: 0;

    position: relative;
}

.menu-search .form-group {
    margin: 0;

    /* margin-top: 5px; */
}

.language {
    /* position: absolute;

    top: 8px;

    right: 15px; */

    text-align: right;
}

.language .glink img {
    opacity: 1;

    margin-left: 3px;
}

.menu-search .form-group input {
    padding-left: 10px;

    border: 1px solid #2ba5ed;

    background: no-repeat;

    border-radius: 30px;

    width: 100%;

    height: 30px;

    color: #fff;

    outline: 0;
}

.menu-search .form-group input::placeholder {
    color: #2ba5ed !important;
}

.menu-search {
    display: flex;
    align-items: center;
}

.menu-search form {
    display: flex;
    align-items: center;
}

.menu-search button {
    /* position: absolute;

    right: 15px;

    top: 5px; */

    background: no-repeat;

    font-size: 13px;
}

.menu-search button:hover {
    box-shadow: 0 0;
}

.src-only {
    font-size: 26px;

    border: 1px solid;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    line-height: 40px;
}

/*Index*/

#relatedposttags ul li h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    text-align: justify;
}
.widget ul li img {
    width: 100%;
    height: 70px !important;
    object-fit: cover;
}

.customer {
    padding: 40px 0 20px;
}

.customer .entry-title {
    margin: 10px 0 !important;

    font-size: 16px !important;

    line-height: 1.4 !important;
}

.customer .entry-title a {
    color: #333333;
}

.customer .first-element-layout img {
    height: 320px !important;

    object-fit: cover;
}

.customer .second-element-layout .entry-title {
    margin: 0 0 6px 0 !important;
}

.customer .second-element-layout img {
    height: 120px !important;

    object-fit: cover;
}

.advisory {
    background-color: #f4f4f4;

    padding: 40px 0 0px;
}

.advisory .hentry {
    margin-bottom: 30px !important;
}

.advisory .entry-thumb a img,
.advisory-bott .entry-thumb a img {
    height: 170px !important;

    object-fit: cover;
}

.advisory .entry-title,
.advisory-bott .entry-title {
    font-size: 16px !important;

    /* text-align: center; */

    padding: 10px 0 0;

    line-height: 22px !important;

    /* font-weight: 500 !important; */
}

.advisory .entry-title a,
.advisory-bott .entry-title a {
    color: #333333;
}

.advisory-bott {
    padding: 40px 0 0;
}

.advisory-bott-content:nth-child(3) {
    background-color: #f4f4f4;

    padding: 40px 0 10px;
}

.advisory-bott-content:nth-child(4) {
    background-color: #f4f4f4;

    padding-bottom: 10px;
}

.slick-track {
    float: left;
}

.sh-blog-shortcode.style-5 .hentry {
    width: 20%;

    margin: 0;

    padding: 0 15px;
}

.homepage-heading {
    text-align: center;

    text-transform: uppercase;

    font-size: 25px;

    font-weight: 600;
}

.sign-advisory {
    padding: 40px 0;

    background-image: url(../images/bg1.jpg);

    background-size: cover;

    background-repeat: no-repeat;
}

.sign-advisory h2 {
    color: #fff;
}

.sign-advisory .row {
    margin-top: 50px;
}

.sign-advisory-item {
    position: relative;

    margin-bottom: 30px;
}

.sign-advisory-item img {
    width: 40px;

    height: 40px;

    object-fit: contain;

    position: absolute;

    left: 0;

    top: 0;
}

.sign-advisory-item p {
    color: #fff;

    padding-left: 55px;

    padding-top: 5px;

    font-size: 15px;

    opacity: 0.9;

    text-align: justify;
}

.sign-btn {
    text-align: center;
}

.sign-btn a {
    background: #ff0000;

    font-size: 15px;

    text-transform: uppercase;

    color: #fff !important;

    padding: 10px 20px;

    border-radius: 20px;

    box-shadow: 0 2px 5px #333;
}

.sign-advisory-video img {
    width: 100%;
}

.icert-global {
    padding: 40px 0;

    background-image: url(../images/bg2.jpg);

    background-size: cover;

    background-repeat: no-repeat;
}

.icert-global h2 {
    color: #116495;

    padding: 0 19%;

    line-height: 1.7;

    margin-bottom: 20px;
}

.icert-global-item {
    text-align: center;

    background: #116495;

    color: #fff;

    width: 220px;

    height: 220px;

    border-radius: 50%;

    margin: auto;

    padding: 45px 10px;

    position: relative;
}

.icert-global-item:after {
    content: '';

    position: absolute;

    border: 15px solid #1164954a;

    -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;

    animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;

    transition: all 0.3s;

    -webkit-transform-origin: 50% 50%;

    -ms-transform-origin: 50% 50%;

    transform-origin: 50% 50%;

    width: 220px;

    height: 220px;

    top: 0;

    left: 0;

    border-radius: 50%;
}

@keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);

        opacity: 0;
    }

    50% {
        -webkit-transform: rotate(0) scale(1.1) skew(1deg);

        opacity: 1;
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);

        opacity: 0;
    }
}

.icert-global-item h3 {
    font-size: 36px;

    font-weight: 600;
}

.icert-global-item p {
    font-size: 18px;

    margin: 0;

    opacity: 0.9;
}

.homepage-blog {
    padding: 40px 0 20px;
}

.homepage-blog .heading a {
    text-align: center;
    width: 100%;
}

.homepage-blog .entry-thumb a img {
    height: 170px !important;

    object-fit: cover;
}

.homepage-blog .entry-title {
    margin: 10px 0 !important;

    font-size: 18px !important;

    line-height: 1.4 !important;

    text-transform: unset !important;
}

.homepage-blog .entry-title a {
    color: #333333;
}

.homepage-blog .entry-description {
    margin-bottom: 15px;
}

.homepage-blog .view-more {
    background: #116495;
    color: #fff;
    text-transform: none;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 15px;
}

.partner {
    padding: 40px 0;

    background-color: #f4f4f4;
}

.partner h2 {
    color: #116495;

    position: relative;

    margin: 0 0 45px 0;
}

.partner h2:after {
    content: '';

    position: absolute;

    bottom: -25px;

    left: 0;

    right: 0;

    margin: 0 auto;

    width: 145px;

    height: 20px;

    background-image: url(../images/bg.png);
}

.partner-item img {
    width: 100%;

    height: 115px;

    object-fit: contain;

    background: #fff;

    border: 1px solid #ddd;

    padding: 10px;
}

/*Footer*/

/* .footer-widgets-area:nth-child(2) {

    padding-top: 86px;

} */

/* .footer-widgets-area:nth-child(3) h4 {
    margin-bottom: 25px !important;
} */

/*Content*/

#twitter-widget-0 {
    display: block;
}

.form-contact input {
    width: 100%;

    height: 40px;

    border: 1px solid #ddd;

    border-radius: 5px;

    padding-left: 10px;

    outline: 0;
}

.form-contact textarea {
    width: 100%;

    height: 140px;

    border: 1px solid #ddd;

    border-radius: 5px;

    padding: 10px;

    outline: 0;
}

.form-contact .wpcf7-submit {
    width: auto;

    padding: 0 50px;

    border: none;

    background: #e71e28;

    color: #fff;

    font-size: 16px;
}

#relatedposttags {
    margin-bottom: 20px;
}

#relatedposttags ul {
    margin: 0;

    padding: 10px 10px 0;

    border: 1px solid #ddd;
}

#relatedposttags ul li {
    list-style: none;

    margin-bottom: 10px;

    padding-bottom: 10px;

    height: 80px;
}
#relatedposttags ul li a {
    margin-right: 10px !important;
}

#relatedposttags ul li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

#relatedposttags ul li img {
    width: 110px;

    height: 70px;

    object-fit: cover;
}

#relatedposttags ul li h3 {
    font-size: 14px;
}

#relatedposttags ul li h3 a {
    color: #333;
}

/* #relatedposttags ul li a:after {

    content: '\203A';

    position: absolute;

    left: 5px;

    top: -10px;

    font-size: 18px;

} */

/*----- Responsive -----*/

@media (max-width: 767px) {
    .menu-content {
        display: none;
    }

    .heading {
        margin: 0 0 35px 0 !important;

        font-size: 20px !important;
    }

    .heading a:after {
        content: '';

        bottom: -20px !important;
    }

    .customer {
        padding: 20px 0 0px;
    }

    .customer .first-element-layout img {
        height: auto !important;
    }

    .sh-blog-shortcode.style-6 .second-element-layout .entry-thumb {
        width: 110px !important;

        height: auto !important;

        margin-right: 10px !important;
    }

    .customer .second-element-layout img {
        height: auto !important;
    }

    .sh-blog-shortcode.style-6 .second-element-layout .entry-title {
        font-size: 14px !important;
    }

    .sh-blog-shortcode.style-5 .hentry {
        padding: 0 10px;

        flex: 0 0 50% !important;

        max-width: 50% !important;
    }

    .advisory .entry-title,
    .advisory-bott .entry-title {
        font-size: 14px !important;
    }

    .advisory .hentry {
        margin-bottom: 10px !important;
    }

    .advisory-bott,
    .advisory {
        padding: 20px 0 0;
    }

    .advisory-bott-content:nth-child(3) {
        padding: 20px 0 0px;
    }

    .advisory-bott-content:nth-child(4) {
        padding-bottom: 0;
    }

    .homepage-heading {
        font-size: 20px;
    }

    .sign-advisory .row {
        margin-top: 20px;
    }

    .sign-advisory-item {
        margin-bottom: 10px;
    }

    .sign-advisory-item p {
        padding-left: 50px;

        padding-top: 0px;

        font-size: 14px;
    }

    .sign-btn {
        margin-top: 20px;
    }

    .sign-advisory-video {
        margin-top: 30px;
    }

    .icert-global {
        padding: 20px 0;
    }

    .icert-global h2 {
        padding: 0;

        line-height: 1.5;
    }

    .icert-global-item {
        width: 160px;

        height: 160px;

        padding: 30px 5px;

        margin-bottom: 20px;
    }

    .icert-global-item:after {
        content: '';

        width: 160px;

        height: 160px;
    }

    .icert-global-item h3 {
        font-size: 26px;
    }

    .icert-global-item p {
        font-size: 14px;
    }

    .homepage-blog {
        padding: 20px 0 0;
    }

    .homepage-blog .heading a {
        padding-left: 0;
    }

    .homepage-blog .heading a:after {
        content: '';

        left: -30px;
    }

    .homepage-blog .entry-thumb a img {
        height: auto !important;
    }

    .partner {
        padding: 20px 0;
    }

    .partner h2 {
        margin: 0 0 35px 0;
    }

    .footer-widgets {
        padding: 30px 0 10px 0 !important;
    }

    .footer-widgets-area:nth-child(2) {
        padding-top: 0;
    }

    .text-right .widget {
        margin: 0 !important;
    }

    .text-right {
        padding-top: 10px;
    }
}

.intro-title {
    font-size: 34px;
    font-family: 'utmaquarelle-ttf';
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 0px;
}

.intro-image img {
    width: 100%;
}

.sh-blog-shortcode .element .entry-thumb a img {
    width: 100%;
}

html .slick-prev:before {
    content: '\f104' !important;
}

html .slick-next:before {
    content: '\f105' !important;
}

.slick-arrow {
    background: rgb(138 138 138 / 5%) !important;
    width: 30px !important;
    height: 30px !important;
}

.slick-slider .slick-prev {
    left: -19px !important;
}

.slick-slider .slick-next {
    right: -19px !important;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover {
    border-right: 1px solid rgb(210, 210, 210);
}

.icon-hotline {
    width: 44px;
    height: 44px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #116495;
    color: #116495;
    margin-right: 10px;
    font-size: 20px !important;
}

.smooth.view-more {
    font-size: 13px;
}

.sh-blog-shortcode .element .entry-description p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}
