﻿/*******************Style1.css*****************************/
@media screen and (min-width:320px) and (max-width:410px) {
    #mobileNavBtn {
        margin-left: 120px !important
    }

    .logoBay {
        width: 130px !important;
        height: 137px !important
    }

        .logoBay img {
            height: 135px;
            width: 100%
        }

    div.navbar {
        min-height: 88px
    }

    .navbar-menu {
        font-size: 13px
    }

    .tnavsearchth {
        font-size: 13px
    }
}

@media screen and (max-width:992px) {
    #mobileNavBtn {
        margin-left: 205px
    }
}

@media screen and (min-width:992px) and (max-width:992px) {
    .logoBay {
        margin-top: 0 !important
    }
}

@media screen and (min-width:992px) and (max-width:1199px) {
    .navbar .nav > li > a {
        font-size: 13px !important
    }

    .zoneMenu .top_CMSListMenuUL li a {
        font-size: 10px !important
    }
}
/*******************Style-2.css*****************************/
.logoBay {
    background: none;
    background-size: 96px 200px;
    display: inline-block;
    vertical-align: middle;
    padding-left: 0;
    filter: alpha(opacity=100);
    margin: 0;
    margin-top: -50px !important;
    height: auto !important;
    width: auto !important;
    background-color: transparent !important;
}

.zoneMenu .top_CMSListMenuUL li a {
    padding: 0 10px !important;
}

.zoneMenu .top_CMSListMenuUL {
    padding-left: 20px !important;
}

@media screen and (max-width: 1024px) and (min-width: 991px) {
    .zoneMenu .top_CMSListMenuUL li a {
        padding: 0 6px !important;
    }
}

@media screen and (max-width: 410px) and (min-width: 320px) {
    .logoBay img {
        width: auto;
    }
}

@media screen and (max-width: 992px) {
    .logoBay {
        padding-left: 10px !important;
    }

    .hwc-pdpa input.btn-primary.close_cookie {
        margin-top: 16px;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .hwc-pdpa input.btn-pdpa-not-accept.close_cookie {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin-right: 15px;
    }

    .footer_policy .policy-link#policyLink {
        display: inline;
    }
}

@media screen and (max-width: 768px) {
    .logoBay {
        padding-left: 20px !important;
    }
}

@media screen and (max-width: 410px) and (min-width: 320px) {
    .logoBay img {
        height: 135px;
        width: auto !important;
    }
}

@media (min-width: 768px) and (max-width: 991.6px) {
    #mobileNavBtn {
        margin-left: 115px;
        margin-top: -115px;
        width: 130px;
        z-index: 9999;
        margin-bottom: 31px;
        display: block;
    }

    .tnavsearchth {
        height: 50px;
        background-color: none;
        color: #554242;
        padding-top: 35px;
        padding-left: 20px;
        background: url(../../../App_Themes/Krungsri/icon/Main-Page/hsearch1.png) no-repeat;
        background-position: 35px 28px;
        font-family: 'sukhumvit_setbold';
        font-size: 14px;
        width: 120px;
        float: right;
        margin-top: -90px;
        border: 0 solid #f6f6f6;
    }

    .navbar-collapse {
    }

    .navbar-toggle {
        background: url(../../../App_Themes/Krungsri/icon/Main-Page/navmobile.png) no-repeat top left;
        width: 120px;
        height: 32px;
        border: 0px solid #ff0000;
        margin-left: 10px;
        margin-top: 43px;
        padding-top: 8px;
        font-family: 'sukhumvit_setbold';
        /*text-indent: -9999px;*/
    }

    .navbar-toggle-th {
        background: url(../../../App_Themes/Krungsri/icon/Main-Page/navmobile.png) no-repeat top left;
        width: 120px;
        height: 32px;
        border: 0px solid #fff;
        margin-left: 15px;
        margin-top: 34px;
        padding-top: 8px;
        font-family: 'sukhumvit_setbold';
        text-indent: -9999px;
    }

    .navbar-menu {
        font-family: sukhumvit_setbold;
        margin-left: 0px;
    }

    .navbar-default .navbar-toggle {
    }

        .navbar-default .navbar-toggle:hover,
        .navbar-default .navbar-toggle:focus {
            background: url(../../../App_Themes/Krungsri/icon/Main-Page/navmobile-hover.png) no-repeat top left;
        }

    .navMb {
        /*  width: 100%;*/
        padding: 0;
        margin: 0;
        position: relative;
        list-style: none;
        background-color: #ffda00;
        font-size: 15px;
    }

        .navMb li {
            line-height: 20px;
            border-top: 2px solid #FFFFFF;
            padding: 10px;
        }

        .navMb > li > a {
            color: #564243;
            display: inline-block;
            letter-spacing: 1px !important;
            line-height: 1.273em;
            /* padding: 15px 20px;*/
            text-decoration: none;
            font-family: 'sukhumvit_setbold';
        }

        .navMb > li:hover > a,
        .navMb > li.active > a {
            color: #564243;
            background-color: #fedd50;
        }

    .navigatorh .nav-home > li > a {
        border-top: 2px solid #FFFFFF;
        color: #564243;
        display: inline-block;
        letter-spacing: 1px !important;
        line-height: 1.273em;
        /* padding: 15px 20px;*/
        text-decoration: none;
        font-family: 'sukhumvit_setbold';
    }

    .nav .nav-list {
    }

    .navigatorp {
        font-family: 'sukhumvit_setbold';
        display: inline-block;
        padding-left: 25px;
        padding-right: 10px;
        vertical-align: middle;
        opacity: 1;
        filter: alpha(opacity=100);
        margin: 0 0;
        border-top: 2px solid #fff;
        background: #ffda00 url(../../../App_Themes/Krungsri/icon/Main-Page/arrow-down-y.png) no-repeat;
        background-position: right center;
    }

    .navigatorpth {
        font-family: 'sukhumvit_setbold';
        font-size: 14px;
        display: inline-block;
        padding-left: 25px;
        padding-right: 10px;
        vertical-align: middle;
        opacity: 1;
        filter: alpha(opacity=100);
        margin: 0 0;
        border-top: 2px solid #fff;
        background: #ffda00 url(../../../App_Themes/Krungsri/icon/Main-Page/arrow-down-y.png) no-repeat;
        background-position: right center;
    }

    .navigatorsth {
        font-family: 'sukhumvit_setbold';
        display: inline-block;
        padding-left: 25px;
        padding-right: 10px;
        vertical-align: middle;
        opacity: 1;
        filter: alpha(opacity=100);
        margin: 0 0;
        background: #ffda00 url(../../../App_Themes/Krungsri/icon/Main-Page/arrow-down-y.png) no-repeat;
        background-position: right center;
        border-top: 2px solid #fff;
    }

    .navigatorcth {
        font-family: 'sukhumvit_setbold';
        display: inline-block;
        padding-left: 25px;
        padding-right: 10px;
        vertical-align: middle;
        opacity: 1;
        filter: alpha(opacity=100);
        margin: 0 0;
        background: #ffda00 url(../../../App_Themes/Krungsri/icon/Main-Page/arrow-down-y.png) no-repeat;
        background-position: right center;
        border-top: 2px solid #fff;
    }

    .navigatoreth {
        font-family: 'sukhumvit_setbold';
        display: inline-block;
        padding-left: 25px;
        padding-right: 10px;
        vertical-align: middle;
        opacity: 1;
        filter: alpha(opacity=100);
        margin: 0 0;
        background: #ffda00 url(../../../App_Themes/Krungsri/icon/Main-Page/arrow-down-y.png) no-repeat;
        background-position: right center;
        border-top: 2px solid #fff;
    }

    .navigatorp {
        font-family: 'sukhumvit_setbold';
        display: inline-block;
        padding-left: 25px;
        padding-right: 10px;
        vertical-align: middle;
        opacity: 1;
        filter: alpha(opacity=100);
        margin: 0 0;
        border-top: 2px solid #fff;
        background: #ffda00 url(../../../App_Themes/Krungsri/icon/Main-Page/arrow-down-y.png) no-repeat;
        background-position: right center;
    }

    .navbar .nav > li {
        float: none !important;
    }

    .hidden-sm {
        display: none !important;
    }

    .visible-sm.visible-xs {
        display: block !important;
    }

    .navbar-default .navbar-nav > li > a {
        text-align: left;
    }

    .nav.navbar-nav {
        margin: 0 0;
    }

    .navbar-nav > li > a {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 62px !important;
        min-height: 64px !important;
        height: 64px !important;
    }

    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        border: 0;
        box-shadow: none;
    }

    .SignInMenu .TopMenu_CMSmenu ul li a {
        text-decoration: none;
        display: block;
        color: #554242;
        padding-right: 30px;
        background: url(../../../App_Themes/ksam/img/KSAM-Web_icon_arrow01.png)no-repeat right center;
    }

    .SignInMenu .TopMenu_CMSmenu ul li:first-child,
    .SignInMenu .TopMenu_CMSmenu ul li:first-child + li,
    .SignInMenu .TopMenu_CMSmenu ul li,
    .SignInMenu .TopMenu_CMSmenu ul li:hover {
        border-top: none;
        border-bottom: none;
    }

    .QuicklinkMenu .TopMenu_CMSmenu ul li:first-child,
    .QuicklinkMenu .TopMenu_CMSmenu ul li:first-child + li,
    .QuicklinkMenu .TopMenu_CMSmenu ul li,
    .QuicklinkMenu .TopMenu_CMSmenu ul li:hover {
        border-top: none;
        border-bottom: none;
    }

        .QuicklinkMenu .TopMenu_CMSmenu ul li a {
            text-decoration: none;
            display: block;
            color: #554242;
            padding-right: 30px;
            background: url(../../../App_Themes/ksam/img/KSAM-Web_icon_arrow01.png)no-repeat right center;
        }
}

@media (max-width:992.6px) {
    .logoBay {
        margin-top: 0px;
    }
}

@media (max-width:991.6px) {
    .logoBay {
        margin-top: -50px;
    }
}

@media (max-width: 767.5px) {
    .hidden-xs {
        display: none !important;
    }

    .pull-right #LoginAccess {
        display: none;
    }

    .container,
    .navbar-static-top .container,
    .navbar-fixed-top .container,
    .navbar-fixed-bottom .container {
        width: auto !important;
    }

    #language {
        border-width: 0 !important;
    }
}

@media screen and (max-width: 991px) and (min-width: 320px) {
    #mobileNavBtn {
        float: left;
    }
}

@media screen and (max-width: 1199px) and (min-width: 991px) {
    .zoneMenu .top_CMSListMenuUL li a {
        font-size: 12px !important;
        font-weight: bold;
    }
}

@media (max-width: 992px) and (min-width: 992px) {
    .navbar-header {
        top: 0 !important;
    }
}

div.attachment:empty {
    display: none;
}

/*----  CSS by Best ----*/

div.Menu_left .CMSListMenuHighlightedLI.TitleMenuLeft {
    background: #DEDEDE url(../../../App_Themes/Krungsri/images/arrow-b-mup.png) no-repeat right 14px;
    background-position-x: 95%;
    background-position-y: 15px;
}

div.Menu_left > .CMSListMenuUL > .CMSListMenuHighlightedLI.TitleMenuLeft > a {
    background: #cccc url(../../../App_Themes/Krungsri/images/arrow-b-mup.png) no-repeat right 14px;
    background-position-x: 95%;
    background-position-y: 15px;
}

li.TitleMenuLeft .CMSListMenuUL li .CMSListMenuUL .CMSListMenuLI {
    background-color: #F2F2F2;
    position: relative;
}

div.Menu_left li.TitleMenuLeft .CMSListMenuUL li .CMSListMenuUL .CMSListMenuLI a,
div.Menu_left > .CMSListMenuUL > .CMSListMenuHighlightedLI > .CMSListMenuUL > li.CMSListMenuHighlightedLI > .CMSListMenuUL > li.CMSListMenuHighlightedLI a {
    padding-left: 35px;
}

div.Menu_left > .CMSListMenuUL > .CMSListMenuHighlightedLI > .CMSListMenuUL > li.CMSListMenuHighlightedLI:after {
    content: none;
}

div.Menu_left > .CMSListMenuUL > .CMSListMenuHighlightedLI.TitleMenuLeft > .CMSListMenuUL > .CMSListMenuHighlightedLI.TitleMenuLeft {
    background: #DEDEDE url(../../../App_Themes/Krungsri/images/arrow-b-mup.png) no-repeat right 14px;
    background-position-x: 95%;
    background-position-y: 15px;
}

    div.Menu_left > .CMSListMenuUL > .CMSListMenuHighlightedLI.TitleMenuLeft > .CMSListMenuUL > .CMSListMenuHighlightedLI.TitleMenuLeft > a,
    div.Menu_left > .CMSListMenuUL > li.CMSListMenuHighlightedLI > .CMSListMenuUL > li.CMSListMenuLI a,
    .CMSListMenuUL > .CMSListMenuHighlightedLI > .CMSListMenuUL > li.CMSListMenuHighlightedLI > a {
        padding-left: 25px;
    }

.form-select {
    background-color: #ece9e9;
    height: 38px;
    border: 1px solid #dcd5d5;
    margin: 10px 0;
    width: 100%;
    border-radius: 0;
    color: #999;
}

    .form-select option {
        background-color: #F2F2F2;
    }

.ck_contact_box .checkbox,
.ck_accept_box .checkbox {
    padding-left: 0;
}

.ck_contact_box label,
.ck_accept_box label {
    margin-right: 15px;
}

.ck_accept_box label {
    font-size: 14px;
    padding-left: 25px;
}

.ck_contact_box .checkbox input[type="checkbox"],
.ck_accept_box .checkbox input[type="checkbox"] {
    float: none;
    margin-left: 0;
    margin-right: 5px;
    margin-top: -3px;
}

.ck_accept_box .checkbox input[type="checkbox"] {
    transform: translate(0px, 1px);
    top: 10%;
    position: absolute;
}

.position-relative {
    position: relative !important;
}

.file-input label.document-more {
    top: 2px;
    position: absolute;
    right: 0;
    margin: 10px 0;
    background-color: #705F5F;
    color: #ffff;
}

div.FormPanel [id*='contactusForms'] .position-relative .input-choosefile {
    width: 320px !important;
    text-overflow: ellipsis;
    overflow: hidden;
    pointer-events: none;
}

.file-upload-filename {
    position: absolute;
    top: 18px;
    font-size: 16px;
    padding-left: 4px;
    color: #999;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

.position-relative .input-choosefile:focus {
    background-color: #ECE9E9 !important;
    box-shadow: none !important;
    border: 1px solid #dcd5d5 !important;
}

.d-none {
    display: none;
}

div.labal_form {
    width: 30%;
}

div.input_form {
    width: 70%;
}

div.blankleft {
    width: 30%;
}

div.submitright {
    width: 70%;
}

.sl_arrow {
    position: relative;
}

    .sl_arrow:after {
        content: "";
        right: 13px;
        position: absolute;
        top: 15px;
        display: block;
        background-image: url(../../../App_Themes/Krungsri/images/arrow-b-mdown.png);
        width: 25px;
        height: 30px;
        background-size: 29px 27px;
        background-repeat: no-repeat;
        opacity: 0.8;
    }

    .sl_arrow select {
        -webkit-appearance: none;
        -moz-appearance: none;
    }

.social.desktop {
    bottom: 0px;
    position: relative;
    float: right;
    right: 3px;
    margin-top: 20px;
    margin-bottom: 20px;
}

    .social.desktop span {
        font-weight: bold;
        font-size: 20px;
    }

    .social.desktop .content {
        display: flex;
        padding-top: 10px;
    }

        .social.desktop .content a {
            margin-right: 8px;
        }

            .social.desktop .content a:hover img {
                background: #ffd400;
                border-radius: 50px;
            }

/*.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}*/

.copyright-ksam .site-footer .content .center {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 16px;
    padding-right: 0;
    flex: 1 1 auto;
    flex-flow: row;
    padding-bottom: 1.5rem !important;
    padding-top: .5rem !important;
}

    .copyright-ksam .site-footer .content .center a,
    .copyright-ksam .site-footer .content .center span {
        padding: 0 16px;
        white-space: nowrap;
    }

.copyright-ksam a:hover {
    color: #554242;
}

.copyright-ksam .ks-content-wrapper .footer-links {
    display: flex;
    font-size: 12px;
    margin-bottom: 5px;
    line-height: 22px;
    color: #5a5a5a;
    width: 310px;
    margin: 0 auto;
    margin-bottom: 5px
}

    .copyright-ksam .ks-content-wrapper .footer-links a,
    .copyright-ksam .ks-content-wrapper #footer-on-mobile .meta span {
        font-weight: bold;
    }

    .copyright-ksam .ks-content-wrapper .footer-links > div {
        flex: 1 1 auto;
    }

        .copyright-ksam .ks-content-wrapper .footer-links > div:nth-child(2) {
            flex: auto;
        }

.copyright-ksam .ks-content-wrapper #footer-on-mobile .meta {
    font-size: 12px;
    line-height: 22px;
    text-align: center;
}

#footer-on-mobile {
    padding-top: 8px;
    padding-bottom: 24px;
}

.pl-pr10 {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.social.mobile {
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: #eee;
}

    .social.mobile a {
        flex: 0 0 auto;
        font-size: 18px;
        margin-left: 11px;
        margin-right: 11px;
        text-decoration: none;
        outline: none;
        font-weight: bold;
    }

.copyright-ksam {
    max-width: 1200px;
    margin: auto;
    padding-top: 16px;
}

.text-policy {
    text-align: center;
    font-size: 13px;
    padding-top: .5rem !important;
}

.accordion > .card {
    border-bottom: 1px solid #e8e8e8;
}

    .accordion > .card:last-child {
        border-bottom: 0px;
    }

.bg-transparent {
    background-color: transparent !important;
}

div.accordion {
    padding-right: 15px;
    padding-left: 15px;
}

.accordion .btn.btn-link {
    font-size: 16px;
    font-weight: bold;
    padding-left: 0px;
    width: 100%;
    text-align: left;
    line-height: 2.14;
}

    .accordion .btn.btn-link:hover,
    .accordion .btn.btn-link:focus,
    .accordion .btn.btn-link:active {
        color: #554242;
        text-decoration: none;
        outline: none;
    }

.accordion .card .card-header {
    margin-left: 3px;
    padding-top: 12px;
    padding-left: 16px;
}

.accordion .collapse,
.accordion .collapsing {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 32px;
    padding-right: 32px;
    margin-left: 3px;
    /*height: auto !important;*/
}

    .accordion .collapse .item,
    .accordion .collapsing .item {
        padding-bottom: 8px;
    }

.card-header.arrow.collapsed:after {
    content: "";
    background-image: url(../../../App_Themes/Krungsri/images/arrow-b-mdown.png);
    display: block;
    position: absolute;
    width: 25px;
    height: 30px;
    top: 22px;
    right: 28px;
    background-size: 29px 27px;
    background-repeat: no-repeat;
}

.card-header.arrow.collapsed {
    position: relative;
}

div.card-header.arrow {
    position: relative;
}

    div.card-header.arrow:after {
        content: "";
        background-image: url(../../../App_Themes/Krungsri/images/arrow-b-mup.png);
        display: block;
        position: absolute;
        width: 25px;
        height: 30px;
        top: 22px;
        right: 28px;
        background-size: 29px 27px;
        background-repeat: no-repeat;
    }

[id*="inputPrefix"] table tr {
    display: inline-block;
}

.CookieConsent-box {
    position: fixed;
    background-color: rgba(61, 55, 54, 0.9);
    padding: 25px;
    bottom: 0px;
    z-index: 1000;
}

    .CookieConsent-box .CookieConsent {
        width: 80%;
        margin: auto;
    }

.CookieConsent .ConsentText {
    font-size: 14px;
    color: #fff;
}

.Close_cookie_box {
    position: absolute;
    top: 20px;
    right: 20px;
}

    .Close_cookie_box .Close_cookie {
        border-radius: 50%;
        padding: 3px 2px;
        border: 0;
        background-color: #fff;
    }

    .Close_cookie_box img {
        width: 24px;
    }

input.ConsentButton {
    display: none;
}

.CookieConsent a {
    color: #fff;
    text-decoration: underline;
}

    .CookieConsent a:hover {
        color: #ff6700;
    }

    .CookieConsent a:active {
        color: #fff;
    }

.Close_cookie:hover {
    cursor: pointer;
}

div.label_form_pvd {
    margin-top: 18px;
    text-align: right;
    padding-right: 10px;
    font-weight: 600;
    float: left;
    width: 45%;
    display: inline-block;
}

div.input_form_pvd {
    width: 55%;
    display: inline-block;
}

#PVDForms .label_form_pvd label {
    margin-right: 0px;
}

[id*="PVDForms"] .col-md-12 {
    width: 100%;
    float: left;
}

.block_content .block_content_left {
    float: left;
    width: 77%;
    padding-right: 35px;
    margin-right: 12px;
}

.block_content .block_content_right {
    float: left;
    width: 17%;
    word-wrap: break-word;
}

.font-bold {
    font-weight: bold;
}

.text-underline {
    text-decoration: underline;
}

a.text-underline:hover,
a.text-underline:active,
a.text-underline:focus {
    text-decoration: underline;
}

.list_bottomtext {
    padding: 25px 10px 25px 10px;
    font-size: 13px;
}

.btn_list {
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #ffffff;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

    .btn_list:focus {
        outline: none;
    }

.accordion-block[id*="40110"] .block_content {
    border-left: 0px;
    border-right: 0px;
}

.qr_head_text {
    padding: 30px;
}

.qr_body .qr_block {
    border-bottom: 1px solid #e8e8e8;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    width: 90%;
    margin: auto;
}

.qr_block:first-child {
    padding-top: 0;
}

.qr_block:last-child {
    border-bottom: 0px;
}

.qr_block img {
    max-width: 120px;
}

.d-flex {
    display: flex;
}

.qr_left {
    align-items: center;
    display: flex;
    padding-right: 10px;
}

.flex-row-reverse {
    -ms-flex-direction: row-reverse !important;
    flex-direction: row-reverse !important;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.CookieConsent a:focus {
    color: #fff;
    outline: none;
    text-decoration: underline;
}

span.red {
    color: red;
}

div.mb-link-bold {
    font-weight: bold;
}

span.f_gray_bright {
    color: #8b8b8b;
}

.even-none {
    pointer-events: none;
}

a.clipall {
    display: none;
}

/* ------ style button clear file contactus ------ */

div.FormPanel [id*='contactusForms'] div.position-relative .input-choosefile {
    width: 265px !important;
}

.contactus_form .file-input label.document-more {
    right: 60px;
}

.contactus_form .btn-clear {
    position: absolute;
    top: 2px;
    margin: 10px 0px;
    right: 0px;
    background-color: #e62424;
    color: #fff;
    border: 1px solid transparent;
    padding: 6px 15px 6px 15px;
    line-height: 1.42857143;
    border-radius: 10px;
}

    .contactus_form .btn-clear:focus {
        outline: none;
    }

.form-select:focus {
    outline: 2px solid #ffda00;
}

#ZoneRegistNewsletter {
    display: none;
}

body.ENUS .contactus_form .file-input label.document-more {
    padding-left: 15px;
    padding-right: 15px;
    right: 85px;
}

body.ENUS div.FormPanel [id*='contactusForms'] div.position-relative .input-choosefile {
    width: 250px !important;
}


.cookie-setting-mobile {
    display: none;
}

.footer_policy .btn-policyFooter {
    float: right;
}

.footer_policy {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.hwc-pdpa .modal {
    display: block;
    /*left: 50%;*/
    bottom: auto;
    overflow: hidden;
}

    .hwc-pdpa .modal .modal-dialog {
        margin-top: 0;
        margin-bottom: 0;
        margin: auto;
    }

        .hwc-pdpa .modal .modal-dialog .modal-content {
            width: 100%;
        }

.hwc-pdpa .modal-dialog .modal-content span,
.hwc-pdpa .modal-dialog .modal-content a,
.hwc-pdpa .modal-dialog h2 {
    font-family: "sukhumvit_settext", Arial;
}

.hwc-pdpa .modal .modal-dialog .modal-content .accordion-left {
    display: inline-block;
    padding: 0;
}

.hwc-pdpa .modal .modal-dialog .modal-content .accordion-right {
    display: inline-block;
    float: right;
    padding: 0;
}

.hwc-pdpa .modal .modal-dialog .modal-content .modal-header {
    border: 0;
}

.hwc-pdpa .modal .modal-dialog .modal-content .modal-body {
    max-height: 500px;
    padding-bottom: 0px;
}

    .hwc-pdpa .modal .modal-dialog .modal-content .modal-body .modal-title {
        font-weight: bold;
    }

.hwc-pdpa .modal .modal-dialog .modal-content button.close span {
    font-size: 24px;
    color: #000;
}

.hwc-pdpa .modal .modal-dialog .modal-content .cookie-footer .order-md-1 {
    text-align: center !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.hwc-pdpa .modal .modal-dialog .modal-content .cookie-footer .order-md-12 {
    text-align: center !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    margin-right: 10px;
}

.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.hwc-pdpa .modal-dialog .modal-content .policy-link {
    display: inline-block;
    padding-left: 5px;
}

.hwc-pdpa .modal-dialog .collapsed .fa-plus:before {
    content: "+";
    font-style: initial;
    font-size: 24px;
}

.hwc-pdpa .modal-dialog .fa-plus:before {
    content: "-";
    font-style: initial;
    font-size: 24px;
}

.hwc-pdpa #cookieSettingModal {
    display: none;
}

#clearCookieModal {
    display: none;
}

    #clearCookieModal .modal-dialog {
        width: 100%;
    }

.fa-exclamation-circle {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 100px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#clearCookieModal .modal-body {
    padding-top: 0;
}

body div.modal.modal-sub {
    display: none;
    /*position: absolute;
  top: -50% !important;
  top: 0% !important;*/
    right: inherit;
    bottom: inherit;
    /* left: inherit;*/
    width: 100%;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    position: fixed;
    left: 0% !important;
    top: 20% !important;
}

.modal.modal-sub .modal-header {
    padding: 21px;
}

    .modal.modal-sub .modal-header .close {
        margin-top: -7px;
    }

.modal.modal-sub .modal-footer {
    margin: 0;
    padding-top: 15px;
    padding-bottom: 10px;
}

.modal.modal-sub #messageModal {
    margin-bottom: 5px;
}

/*.content .modal.modal-sub {
top: -80% !important;
}*/

/*.inputnot-check:hover{
cursor:not-allowed;
}*/

.inputnot-check {
    pointer-events: none;
}

    .inputnot-check:active {
        pointer-events: none;
    }

    .inputnot-check.not {
        box-shadow: inset 0px 14px #ccc;
        -webkit-box-shadow: inset 0px 14px #ccc;
        -moz-box-shadow: inset 0px 14px #ccc;
    }

.modal-sub .modal-body {
    text-align: center;
}

.modal-sub .modal-footer.text-center {
    text-align: center;
}

#lblAgeList,
#lblOccupationList,
#lblPotential,
#lblInvestCompany,
#lblFundType {
    width: auto;
}

.accordion-topic .red.red1 {
    width: auto;
    margin-left: 5px;
    font-weight: inherit;
}

.footer_policy .container--content {
    width: 95%;
    margin: auto;
}

.hwc-pdpa .footer_policy .text-left {
    padding: 0;
}

    .hwc-pdpa .footer_policy .text-left .cookie-setting-mobile {
        margin-top: 10px;
    }

.hwc-pdpa .accordion-right .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    top: 0px;
}

.fa-toggle-on {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4DDBB8;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

    .fa-toggle-on.rotate-180 {
        background-color: #ccc;
    }

    .fa-toggle-on:before {
        position: absolute;
        content: "" !important;
        height: 24px;
        width: 24px;
        right: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }

.cookieSettingModal .modal-dialog {
    width: 100%;
    margin: 0;
}

.hwc-pdpa #cookieModal div.modal-content {
    width: 100% !important;
    border: 0px;
}

.hwc-pdpa .accordion-right label {
    width: 54px !important;
    height: 32px !important;
}

@media (min-width:768px) {
    .cookie-setting {
        display: inline-block;
    }

    .footer_policy .container--content {
        width: 88%;
        margin: auto;
    }

    .modal-sub .modal-dialog {
        width: 450px;
    }

    .ENUS .modal-sub .modal-dialog {
        width: 550px;
    }

    .d-sm-inline {
        display: inline !important;
    }

    .cookieSettingModal .modal-dialog {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .copyright-ksam .d-desktop-block,
    #homefooter .d-desktop-block {
        display: block !important;
    }

    .copyright-ksam .d-desktop-none,
    #homefooter .d-desktop-none {
        display: none !important;
    }

    div.HGreyBWhite .content,
    div.HHGreyBGrey .content,
    div.HBlueBWhite .content {
        height: 528px;
    }

    a.newsall,
    a.clipall {
        bottom: -27px;
    }

    div#ZoneNews {
        padding: 20px 0px 55px 0;
    }

    body .middle-zone .modal.modal-sub {
        left: -25%;
    }

    .subscribe-choice-yes {
        margin-top: 10px !important;
        display: inline-block;
    }

    .px-md-3 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .d-md-block {
        display: block !important;
    }
}

@media (min-width:992px) and (max-width:1023px) {
    .social.desktop {
        right: -7px;
    }
}

@media (max-width:992px) {
    span.f-mobile-b {
        font-family: inherit;
    }

    div.label_form_pvd {
        text-align: right;
        vertical-align: middle;
        padding-right: 5px;
    }

    div.input_form_pvd {
        vertical-align: middle;
    }

    .hwc-pdpa .modal .modal-dialog .modal-content .cookie-footer input {
        width: 100% !important;
    }

    #clearCookieModal .clear-cookie-modal-footer input {
        margin-right: 0;
        margin-top: 20px;
    }

    #clearCookieModal .clear-cookie-modal-footer input,
    #clearCookieModal .clear-cookie-modal-footer button {
        width: 100% !important;
    }
}

@media (max-width:1024px) {
    div #contactusForms input[type=text].form-control {
        width: 100% !important;
    }

    .file-input label.document-more {
        position: relative;
    }

    .contactus_form .file-input label.document-more {
        right: 0px;
    }

    .contactus_form .btn-clear {
        top: 60px;
        left: 125px;
    }

    body.ENUS .contactus_form .file-input label.document-more {
        right: 0px;
    }

    body.ENUS .contactus_form .btn-clear {
        left: 115px;
    }
}

@media (max-width:768px) {
    div.qr_right {
        text-align: center;
    }

    .cookie-setting-mobile {
        display: block;
        text-align: left !important;
        margin-top: 15px;
        font-size: 16px;
    }

    .footer_policy .policy-link {
        display: block;
    }

    .footer_policy .btn-policyFooter {
        bottom: 15px;
        position: absolute;
        right: 15px;
        width: 100%;
    }

        .footer_policy .btn-policyFooter input {
            max-width: 170px !important;
            height: 30px !important;
            line-height: 19px !important;
            margin-top: 0px;
        }

    .hwc-pdpa .modal {
        left: 20px;
        right: 20px;
    }

        .hwc-pdpa .modal .modal-dialog .modal-content .modal-body {
            width: 100%;
        }

    #clearCookieModal .modal-dialog {
        transform: none !important;
    }

    #clearCookieModal {
        top: 10%;
    }
}

@media (max-width:767px) {
    div.hwc-pdpa input.btn-primary.close_cookie {
        margin: 0px;
    }
}

@media (max-width:575px) {
    .ck_accept_box .checkbox input[type="checkbox"] {
        top: 5%;
    }

    .block_content .block_content_left {
        width: 100%;
        padding-right: 0px;
        float: none;
    }

    .block_content .block_content_right {
        padding-top: 20px;
        width: 100%;
    }

    div.accordion-topic span {
        width: 72%;
    }

    .qr_right {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .qr_left {
        padding-right: 0px;
        flex: 0 0 100%;
        max-width: 100%;
        padding-top: 10px;
    }

        .qr_left span {
            word-break: break-word;
        }

    .qr_block img {
        max-width: 150px;
    }
    /*/------- Capcha ------/*/
    .g-recaptcha {
        position: relative;
        left: -100px;
    }

        .g-recaptcha > div {
            width: 86px !important;
        }
    /*/------End Capcha-------/*/
    .hwc-pdpa .footer_policy input.close_cookie.btn-pdpa-not-accept {
        margin-right: 10px;
    }

    .hwc-pdpa .footer_policy .close_cookie {
        min-width: 100px;
    }
}

@media (max-width:480px) {
    .modal.modal-sub .modal-header .close {
        margin-top: -18px;
    }
}

@media (max-width:375px) {
    .cookie-footer .d-flex.d-md-block {
        display: block;
    }

    #cookieModal .cookie-footer .d-flex.d-md-block button.btn {
        max-width: 100% !important;
        width: 100%;
    }

    .hwc-pdpa .modal .modal-dialog .modal-content .cookie-footer .order-md-12 {
        margin-right: 0px;
    }

    .hwc-pdpa .modal .modal-dialog .modal-content .cookie-footer .order-md-1 {
        margin-left: 0px;
    }

    .hwc-pdpa #cookieModal .modal-content .cookie-footer .btn + .btn {
        margin-left: 0px !important;
        margin-top: 0px !important;
    }

    .hwc-pdpa .modal .modal-dialog .modal-content .modal-body {
        max-height: 300px;
    }

    .hwc-pdpa #cookieSettingModal .modal-content div.cookie-footer .btn-primary {
        width: 100%;
    }

    .hwc-pdpa .modal {
        left: 50%;
        top: 50% !important;
        transform: translate(-50%, -50%);
        width: 97%;
    }

    .hwc-pdpa #cookieModal .modal-content .cookie-footer {
        padding-bottom: 0px !important;
    }
}

.pagenotfound .logoBay {
    margin-top: 0 !important
}
