﻿
/* START: Custom Spacing Class*/
.fn-pe-2rem {
    padding-right: 2rem;
}
/* END: Custom Spacing Class*/


/* START: for Header*/
.container > .navbar-collapse{
    z-index: 1;
}

.fn-header-custom .logoBay {
    height: 156px !important;
}

.fn-header-custom #LoginAccess > div:not(:first-child) {
    top: 50px;
    /*z-index: 2;*/
}

.fn-header-custom #LoginAccess:hover {
    & > div:not(:first-child)
    {
        visibility: visible;
    }
}

.fn-header-custom #LoginAccess div:not(:first-child):hover {
    visibility: visible !important;
}

.fn-header-custom .TopMenu_CMSmenu > ul {
    padding-left: 0px;
}

@media (max-width: 992px) {
    .fn-header-custom .tnavsearchth {
        margin-top: 0px;
    }
}

@media (max-width: 992px) {
    .fn-header-custom .navbar-toggle {
        margin-top: 20px;
    }
}

@media (max-width: 991.98px) {
    .fn-header-custom .nav > li > a {
        padding: 0px 20px !important;
    }
}

@media (max-width: 767.5px) {
    .fn-header-custom .container {
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .fn-header-custom .nav-home .navigatorpth {
        height: 103px;
        width: 100px;
    }
}

@media (max-width: 1199px) {
    .fn-header-custom .nav-home .navigatorpth {
        min-width: 90px;
    }
}

@media (max-width: 1023px) {
    .fn-header-custom .container,
    #ZoneContentBody .container {
        max-width: 992px;
    }
}
    .fn-nav-icon-size-1 img {
        width: 32px;
        height: 32px;
        margin-left: 6px;
    }

    .fn-header-custom ul.fn-header-new li.nav-item.no-border:nth-child(n+1) a.nav-link {
        border-right: none !important;
        border-left: none !important;
    }


    .fn-header-custom .navbar {
        min-height: 0;
    }

    .fn-header-custom .fn-menu-search a:hover {
        background-color: #ededed !important;
    }

    @media (min-width: 992px) {
        /*.fn-header-custom .fn-header-menu-custom {
        margin-left: 64px !important;
    }*/

        .fn-header-custom .zoneMenu .top_CMSListMenuUL {
            padding-left: 0px !important;
        }

        .fn-language-custom {
            margin-left: 73px;
        }
    }

    @media (min-width: 1200px) {
        .fn-header-custom .fn-header-menu-custom {
            margin-left: 76px !important;
        }
    }

    @media (max-width: 991.98px) {
        .fn-header-custom .menu-large .megamenu div:first-child {
            margin-top: 0 !important;
        }

        .fn-header-custom .menu-large .col-12.col-lg-4 {
            margin: 0 !important;
        }

        .fn-header-custom .menu-large .megamenu {
            padding-left: 32px;
            padding-right: 32px;
        }
    }
    /* END: for Header*/

    /* START: Breadcrumb */
    .fn-breadcrumb-custom .top-breadcrumb {
        margin-top: 20px;
        & a, span {
        color: #fff;
    }
    & a:hover {
        color: #ff6700;
    }
}
/* END: Breadcrumb */

/* START: for Footer*/
.fn-homefooter .footerhview a:hover {
    background-color: transparent !important;
}
/* END: for Footer*/
.bg-nav-top {
    height: 240px;
}

.longbg .bg-nav-top {
    height: 240px;
}
.shortbg .bg-nav-top {
    height: 160px;
}
.zone_header {
    color: #554242 !important;
    padding: 20px 15px 10px;
    font-size: 18px;
    font-weight: bold;
}



.CMSListMenuUL {
    overflow:hidden;
}


/*####################################CalltoAction#################################*/

#ZoneFooterText {
    width: 100%
}

.footer-btn a {
    display: table-cell
}

.footer-btn {
    margin: 70px 0
}

#OneColGradiant {
    display: table-cell;
    vertical-align: middle
}

@media screen and (max-width: 767px) and (min-width:320px) {
    #ZoneFooterText {
        height: auto !important
    }

    #OneColGradiant {
        display: block !important
    }

        #OneColGradiant h2, #OneColGradiant h3 {
            text-align: center
        }

    .footer-btn {
        margin: 30px 0
    }

        .footer-btn a {
            display: block;
            margin: 0 auto;
            width: 200px
        }
}

#ZoneContentBody {
    background: #fff;
}


.modal.show{
    opacity: 1!important;
}

.fn-about-regulations-compliance-spacing {
    padding-top: 15px;
    padding-bottom: 0;
    padding-left: 38.5px;
}

.credit_rate #btnView {
    font-weight: 600 !important;
}

.credit_rate input[type="submit"] {
    font-weight: 600 !important;
}

.ManageAbout {
    padding-top: 15px;
    padding-bottom: 0;
    padding-left: 25px !important;
    overflow: auto;
}

.ManageAbout {
& h1, .h1, h2, .h2, h3, .h3 {
    margin-bottom: 10px!important;
    margin-top: 10px!important;
}
                          }

@media (min-width: 1200px) {
    .navigatorpth {
        display: inline-block;
        min-height: 103px !important;
        min-width: 103px !important;
        vertical-align: middle;
        opacity: 1;
        margin: 0;
    }
}

.MenuLeftTitle {
    padding-top: 25px;
    padding-bottom: 10px;
    padding-left: 10px;
    color: #554242;
}

#menuElem li
{
    line-height: 28px;
}

.zone-left {
    margin-bottom: 50px;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}


@media (min-width: 768px) {
    .container .row {
        padding: 0 0;
    }
}

.container .row {
    padding: 0 0;
}

.btn-login-white .Qlsignin {

    background-position: 4px;
    background: #fff url(/App_Themes/Ksam/img/KSAM-Web_icon_arrow02.png) no-repeat right center;
    background-position-x: 110px;
}

.btn-login-white .iconlock {
    background-color: white !important;
    background-position: 13px;
    background: #fff url("../../../App_Themes/Krungsri/icon/KSAM-Web_icon_key.png") no-repeat;
    padding-left: 24px;
    padding-right: 8px;
}
.btn-login-white .top-breadcrumb a,
.btn-login-white .top-breadcrumb span{
    color: #554242;
}
.btn-login-white .Qlquick {
    color: #fff;
    background: #554242 url("../../../App_Themes/Ksam/img/KSAM-Web_icon_arrow03.png") no-repeat right center;
    background-position-x: 105px;
}
/*Template3*/
.fileddl .title {
    width: 68%;
    padding: 5px 0;
}

.fileddl .title, .fileddl .ddl {
    display: inline-table;
    vertical-align: middle;
}
.ddltxt a {
    color: #ff6700;
}


/*HomeBanner*/
.bnImg .bn-Img {
    width: auto!important;
    max-width: 100%;
}

.submenuLeftTitle h1{
    line-height : normal
}

/* add strong */
strong {
    font-weight: bold;
}







/****************************************JP*************************************/
.ja-jp .copyright-ksam .site-footer .content .center {
    padding-bottom: 0.5rem !important;
}
    .ja-jp .copyright-ksam .site-footer .content .center + .center {
        padding-top: 0 !important;
    }

.ja-jp .TopMenu_CMSmenu ul li a{
    font-weight: bold;
}
.ja-jp .submenuLeftTitle h1 {
    font-weight: 400;
}
.ja-jp .fn-header-custom .zoneMenu .top_CMSListMenuUL {
    border: none;
    border-style: solid;
    border-width: 2px 2px 2px 0;
    -webkit-border-image: -webkit-gradient(linear, 0 0, 100% 0, from(black), to(rgba(0, 0, 0, 0))) 1 100%;
    -webkit-border-image: -webkit-linear-gradient(left, black, rgba(0, 0, 0, 0)) 1 100%;
    -moz-border-image: -moz-linear-gradient(left, black, rgba(0, 0, 0, 0)) 1 100%;
    -o-border-image: -o-linear-gradient(left, black, rgba(0, 0, 0, 0)) 1 100%;
    border-image: linear-gradient(to left, #b6b6b6, rgba(0, 0, 0, 0)) 1 100%;
}

.JAJP #SearchTabs .bg-bm-main2{
    display: none;
}

/* Menu mobile icon*/
.nav-item.visible-sm .nav-link {
    display: flex;
    align-items: center;
}

.nav-item .menu-image {
    margin-top: -6px;
}

.nav-item.visible-sm .menu-image {
    order: 1;
    margin-left: -6px;
    margin-right: 7px;
    margin-top: -8px;
}

.nav-item.visible-sm .menu-name {
    order: 2;
}


/* mega menu LeftTitle */
.submenuLeftTitleSection .submenuLeftTitleSubSection {
    & h1, .h1
    {
        line-height: 42px;
    }
}

/* hidden home menu text */
.hidden-text a span {
    display: none; /* ซ่อนข้อความ */
}

/* fix home footer bg */
#ZoneInvestmentPlanning .copyright-ksam {
    background: #f6f6f6;
    max-width: 100%;
}

tbody, td, tfoot, th, thead, tr {
    border-color: unset;
    border-style: unset;
}

/*fix table don't show news-details border */
.news-details tbody, .news-details td, .news-details tfoot, .news-details th, .news-details thead, .news-details tr {
    border-color: unset;
    border-style: solid;
    border-width: 1px;
}