@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Kanit:100,200,300,400,500&subset=thai,latin');
@import url('https://fonts.googleapis.com/css?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@100;200;300;400;600&display=swap');

@font-face {
    font-family: 'flexslider-icon';
    src: url('../fonts/flexslider-icon.eot');
    src: url('../fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
        url('../fonts/flexslider-icon.woff') format('woff'),
        url('../fonts/flexslider-icon.ttf') format('truetype'),
        url('../fonts/flexslider-icon.svg#flexslider-icon') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 15px !important;
    color: #666;
    background: #FFF;
    width: 100vw;
    height: 100%;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-radius: 0;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    background-color: #dadada
}

#loading {
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    display: block
}

.iconmouse {
    width: 60px;
    height: auto;
    position: absolute;
    bottom: -20px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.ggmlogo {
    width: 450px
}

.ggmlogo a {
    padding: 0 !important;
}

.ggmlogo img {
    width: 50px;
    display: inline-block;
    margin-right: 10px;
}

.ggmlogo span {
    padding: 20px 0;
    display: inline-block;
    vertical-align: middle;

}

@media(max-width: 1200px) {
    .ggmlogo {
        width: 300px
    }
}

@media(max-width: 1038px) {
    .ggmlogo {
        width: 300px
    }
}

@media(max-width: 767px) {
    .ggmlogo {
        width: auto;
    }

    .ggmlogo span {
        padding: 0;
    }

}

@media(max-width: 320px) {
    .ggmlogo {
        position: absolute;
        left: 50%
    }

    .ggmlogo span {
        display: none;
    }
}

.forceM {
    padding: 0 3px !important;
    margin: 0 !important
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.positionbox,
label,
.controls,
.help-block,
.positionbox1,
.sitemap .dd,
.sitemap li,
.navbar-nav li,
.panel,
.cname,
.navbar-brand,
.btn,
.pdfbox,
.datebox,
.panel-heading,
.subnav,
table td,
.panel-body p,
.datenews,
.circle strong,
footer li {
    font-family: 'Kanit', sans-serif;
}

.glyphicon-send {
    color: #515151 !important
}

.submenu h3 {
    padding: 0 0 10px 20px;
    font-size: 25px;
    font-weight: 500;

    color: #515151
}

.submenu .subnav {
    background: #FFF
}

.bgOverlay {
    padding: 30px;
    background: rgba(225, 225, 225, .8);
    margin: 20px 0
}

td {
    font-size: 14px;
    font-weight: 300
}

.padd30 {
    padding: 0 20px
}

.txtbold {
    font-weight: 500 !important
}

.navbar-inverse {
    background: #515151;
    color: #FFF
}

h3.hnews {
    font-weight: 300;
    padding: 0;
    margin: 0
}

.newscontrol p {
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.5em
}

.newscontrol img {
    margin: 3px 0
}

small {
    font-size: 13px;
}

.sharethis {
    padding: 40px 0
}


.thumview {
    list-style: none;
    margin: 10px 0 0 -50px;
}

.thumview li {
    display: inline;
}

.thumview li img {
    width: 50%;
    float: left;
    padding: 10px
}

.white {
    background: #FFF !important
}

.sharethis span {
    min-height: 24px
}

.paddbottom {
    margin-bottom: 40px
}

.sidemenu h3 {
    font-size: 18px;
    font-weight: 300;
    margin-left: 12px
}

.bannerlist {
    list-style: none
}

.bannerlist li a {
    display: inline;
    margin-left: -30px;
}

.cycle img {
    border: 8px solid #CCC;
    margin: 40px 0;
    max-width: 150px
}

.cap h3,
.cap h4 {
    padding: 0;
    margin: 0;
}

.cap h3 {
    font-size: 18px !important;
    margin-bottom: 10px
}

.cap h4 {
    font-size: 14px !important;
    color: #515151;
    line-height: 1.3em
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
    background: #f9c114;
}

.positionbox {
    text-align: center;
    font-size: 18px;
    border: 2px solid #3CF;
    background: #3CF;
    padding: 30px 20px;
    color: #515151 !important
}

.positionbox1 {
    text-align: center;
    font-size: 18px;
    background: #f9c114;
    padding: 20px 10px;
    margin-bottom: 10px
}

.capbox {
    border: 2px solid #DADADA;
    border-top: none;
    padding: 20px;
    margin-bottom: 20px
}

.capbox2 {
    border: 2px solid #DADADA;
    padding: 10px 5px;
    margin-bottom: 10px
}

.capbox h4,
.capbox2 h4 {
    color: #515151 !important;
    min-height: 40px
}

.capbox2 p {
    font-size: 18px;
    border-top: 1px solid #CCC;
    padding-top: 12px
}

.sidearrow i {
    line-height: 5em
}

.sideborder {
    border-left: 1px dotted #DADADA;

}

.pageHeader {
    /*      background: #f9c114;
     padding: 10px 0 */
}

.pageHeader h2 {
    font-size: 25px;
    font-weight: 400;
    float: right
}

.pageHeader h2 span {
    font-weight: 200
}

.borderline1 {
    border-top: 3px solid #666;
    border-left: 3px solid #666
}

.borderline2 {
    border-top: 3px solid #666;
}

.breadcrumb {
    border-radius: 0;
    background: none;
    font-family: 'Kanit', sans-serif;
    padding-left: 0 !important;
    border-bottom: 1px solid #DADADA;
    padding: 30px 0 20px 0
}

.breadcrumb>li+li:before {
    content: '\f105';
    font-family: 'FontAwesome';

}

.aboutcontrol h3 {
    font-size: 31px;
    font-weight: 400;
    color: #515151
}

.aboutcontrol h2 {
    font-size: 24px;
    font-weight: 200;
    color: #515151
}

.aboutcontrol h4 {
    font-size: 16px;
    font-weight: 300;
    color: #515151
}

.aboutcontrol tr {
    min-height: 50px;
}

.aboutcontrol td {
    padding-top: 20px !important
}

.aboutcontrol td>span {
    text-align: right !important;
    font-size: 25px;
    font-weight: 500;
    margin-right: 10px
}

.aboutcontrol td:last-child {
    font-size: 12px
}

.aboutcontrol .table-striped td {
    font-size: 18px;
    padding: 10px 0
}

.aboutcontrol .table-striped td:first-child {
    width: 40px;
    font-size: 30px;
    font-weight: 300;
    text-align: right
}

.aboutcontrol .table-striped td:last-child {
    text-align: left;
    line-height: 2.1em;
    padding: 0 30px
}

.alert-danger {
    background: #f9c114
}

.alert-danger h4 {
    font-weight: 400;
    color: #515151
}

.well.endpad {
    padding: 30px;
}

.well.endpad h4 {
    font-size: 20px;
    font-weight: 400
}

.subnav li {
    font-size: 16px;
    border-bottom: 1px solid #DADADA;
}

.subnav li a {
    transition: all .5s ease-in-out
}

.subnav li .active {
    background: #dadada !important
}

.subnav li:last-child {
    border: none
}

.topnav {
    width: 100%;
    background: #000;
    color: #FFF;
    line-height: 1em;
    padding: 8px 0 0 0;
    font-family: 'Kanit', sans-serif;
    min-height: 30px
}

.topnav ul {
    list-style: none;
}

.topnav li {
    display: inline;
    padding: 0 10px;
}

.topnav li a {
    text-decoration: none;
    color: #FFF !important
}

.topnav li :hover {
    color: #f9c114 !important;
}

.topnav li:after {
    content: ' | ';
    padding: 0 0 0 10px
}

.topnav li:last-child:after {
    content: ""
}

.nav-list ul {
    list-style: none
}

.nav-list li {
    margin-left: -30px;
}

#header {
    background-image: url(../images/mainbanner.jpg);
    background-repeat: none;
    background-attachment: scroll;
    background-position: 50% 20%;
    height: 100%
}

.headcontent {
    width: 100%;

}

.headcontent h3 {
    font-weight: 400;
    font-size: 20px;
    padding: 0 10px 0 0;
    display: inline;

}

.shadowbox {
    -webkit-box-shadow: 0px 0px 7px 2px rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 0px 0px 7px 2px rgba(0, 0, 0, 0.26);
    box-shadow: 0px 0px 7px 2px rgba(0, 0, 0, 0.26);
}

.headcontent h3 span {
    /*      color: #f9c114 */
}

.pdfbox,
.datebox {
    padding: 42px 30px;
    text-align: center
}

.datebox {
    color: #515151;
    background: #f9c114;
    font-size: 29px;
    font-weight: 400;
    line-height: .7em
}

.pdfbox {
    font-size: 26px;
    font-weight: 300;
    transition: background .5s ease-in-out;
}

.pdfbox a {
    color: #515151 !important;
    text-decoration: none;
}

.indicator {
    font-weight: 200;
    line-height: 2.1em
}

.pdfbox a .fa {
    color: #515151
}

.pdfbox:hover {
    background: #f2da31;
    cursor: pointer
}

.pdfbox .fa {
    color: #9c9c9d
}

.datenews {
    text-align: center;
    font-size: 30px;
    color: #515151;
    background: #f9c114;
    font-weight: 400;
    line-height: .8em;
    padding: 28px 10px;
    height: 100px;
    overflow: hidden;
}

.cname {
    font-size: 14px;
    font-weight: 200
}

.newcrop {
    min-height: 250px;
    background-repeat: no-repeat !important;
    background-position: 0 0 !important;
    background-size: 100% !important;
}

.borderbox {
    background: #FFF;
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, .2);
    margin-bottom: 30px;
}

.p30 {
    padding: 0;
}

.mb30 {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .p30 {
        padding: 30px;
    }
}

.newsbox .des {
    padding: 20px;
    background: #515151;
    width: 100%;
}

.newsbox .des h4 {
    font-family: 'Kanit', sans-serif;
    /*   font-family: 'Sarabun', sans-serif; */
    font-weight: 400;
    width: 100%;
    line-height: 1.5em;
    font-size: 18px;
    color: #FFF;
    margin: 0 0 10px 0
}

.newsbox .des p {
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    color: #f9c114;
    margin: 0;
    width: 100%;
    display: block;
    text-align: right
}

.paddata {
    padding: 0 20px 20px 20px
}

.fewpad {
    padding: 5px !important
}

#buildstatus {
    background: #000 url(../images/bgStat.jpg) no-repeat 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 50px 0
}

#buildstatus tr {
    border-bottom: 1px solid #CCC
}

.updatebuild {
    padding: 40px 0
}

.updatebuild h3 {
    color: #f9c114;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.updatebuild h4 {
    color: #FFF;
    font-weight: 400;
    line-height: 1.5em;
    font-size: 16px
}

.updatebuild table td {
    color: #FFF;
    border: none !important;
    margin: 0;
    padding: 10px 0 !important;
    font-weight: 400;
    font-size: 18px
}

.updatebuild table tr td:last-child {
    text-align: right
}

.circles {
    margin-top: 20%
}

.circle {
    /*      width: auto; */
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 1.2;
}

.circle canvas {
    vertical-align: top;
}

.circle strong {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 80%;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    background: none !important;
    color: #FFF
}

.circle strong i {
    font-size: 0.6em;
}

.circle h3 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 400;
    color: #FFF;
}

.circle span {
    font-size: 12px;
    display: block;
    color: #FFF;
    text-align: center;
}

.gt {
    color: #0C0 !important;
    font-style: normal !important
}

@media(max-width:992px) {
    .submenu {
        background-image: none;
        background-color: #f9c114;
        padding-top: 10px
    }
}

h2.project-head {

    font-weight: 600;
    margin-bottom: 30px
}

h3.project-head {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px
}

h3.project-head span {
    color: #c75e02
}

.gray {
    background: #f9c114;
    width: 100%
}

tr.gray {
    background: #dadada;
    color: #515151;
    width: 100%
}

tr.gray th {
    font-weight: normal;
    font-size: 18px !important;
    text-align: center
}

.gray h4 {
    font-size: 20px;
    line-height: 1.2em;
    margin-top: 10px;
    padding: 20px;
    text-align: center;
    font-weight: 400;

}



.marbottom {
    margin-top: 30px
}

h3.marbottom {
    font-family: 'Sarabun', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6em !important;
    font-weight: 400 !important;
}

@media(max-width:992px) {
    .gray h4 {
        padding: 20px;
        text-align: center
    }

}

.underline {
    border-bottom: 1px dodotted #DADADA
}

@media(max-width:766px) {

    .pdfbox,
    .datebox {
        padding: 20px 10px;
        text-align: center
    }

    .datebox {
        color: #515151;
        background: #f9c114;
        font-size: 20px;
        font-weight: 300;
        line-height: 1em;
        overflow: hidden;

    }

    .pdfbox {
        font-size: 20px;
        font-weight: 300;
        transition: all .5s ease-in-out;
        overflow: hidden
    }
}

.capbox h4,
.capbox2 h4 {
    min-height: 30px
}

.mt20 {
    margin: 20px 0 0 0;
}

h4.page {
    font-size: 20px;
    margin-bottom: 30px
}

.table.table-condensed td {
    font-size: 16px;
    padding: 10px !important
}

.table.table-condensed td:first-child {

    font-weight: 500
}

.table.table-condensed td:last-child:before {}

.wtext {
    color: #FFF !important
}

#progressreport .table-responsive {
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    margin-bottom: 20px;
}

#progressreport td h2 {
    font-size: 30px !important;
    color: #515151 !important;
    font-weight: 600 !important;
}

#progressreport td p {
    font-size: 14px !important;
    color: #515151 !important;
    font-weight: 400 !important;
}

#disbursement thead {
    background-color: #dadada;
    color: #515151;

}

#disbursement th {
    font-size: 14px !important;
    font-weight: bold !important;
    text-align: center !important
}

#disbursement td {
    font-size: 14px !important;
    font-weight: normal !important;
    text-align: center !important
}

#disbursement td:first-child {
    text-align: center !important;
    font-size: 18px !important;
}

.headcontent h3 {
    margin-left: 0;
    font-size: 25px;
    font-weight: 500;
    color: #515151
}

.thumbproduct {
    margin: 20px 0;
    border: 1px solid #DADADA;
    padding: 0;
    overflow: hidden
}

.boxdetail h3 {
    width: 100%;
    font-size: 20px;
    font-weight: 800;
    padding: 20px 20px 0 20px;

}

.boxdetail h4 {
    width: 100%;
    font-size: 14px;
    padding: 0 20px;
}

.boxdetail p {
    width: 100%;
    font-size: 16px;
    padding: 0 20px;
}



.thumbproduct .cropframe {
    overflow: hidden;
    height: 100%;
    min-height: 253px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: 50% 50% !important
}

.btngroup {
    margin: 20px
}

.btn-default {
    transition: all .2s ease-in-out
}

.btn-default:hover {
    background: #f9c114 !important
}

.panel-default>.panel-heading {
    border-radius: 0;
    border-bottom: 0;
    background: #c3c5c8
}

.activehead {
    background: #f9c114 !important;
}

.endpad.well {
    /*      background: #f9c114 */
}

.panel-group {
    border: 1px solid #c3c5c8
}

.panel-default {}

.panel-body {
    font-size: 18px
}

.panel-body span {
    font-weight: 200;
    font-size: 16px
}

.panel-footer {
    font-size: 16px;
    margin-bottom: 20px;
}

.panel-footer span {
    font-size: 22px !important
}

.pt30 {
    padding-top: 20px !important
}

h1.call {
    margin: 0;
    padding: 0;
    font-size: 25px
}

a,
a:focus,
a:hover,
.yLarge {
    color: #515151;
    text-decoration: none;
    outline: 0;
    font-weight: 400 !important
}

.navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-nav>li>a:focus {
    color: #f9c114
}

footer {
    background-color: #000;
    color: #FFF;
    padding: 80px 0;
    overflow: hidden;
}

footer table td {
    border: none !important
}


.partnerbanner {
    border-top: 1px solid #dadada
}

footer ul {
    list-style: none;
    padding: 0
}

footer li {
    padding: 6px 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

footer li a,
footer li a:hover,
footer li a:focus {
    font-size: 12px !important;
    display: inline;
    font-weight: 200 !important;
    color: #FFF;
}

footer li a h4 {
    margin: 10px 0;
    padding: 0;
    font-size: 14px !important
}

footer li :hover {
    color: #fcc223 !important
}


.dd {
    padding-top: 10px
}

.dd li a {
    font-size: 15px;
}

.callme a {
    font-size: 25px;
    font-weight: 500;
    color: #FFF !important
}

.footertxt .nav li a {
    color: #FFF !important;
    margin: 0;
    padding: 0
}

.emailme a {
    font-size: 12px;
    display: block;
    margin-top: 8px;
    color: #FFF !important
}

.sitemap ul {
    list-style: none
}

.sitemap a li {
    margin-left: -30px;
    font-size: 14px;
    padding: 10px;
    border: 1px solid #f9c114;
    margin-bottom: -1px;
    transition: all .5s ease-out
}

.sitemap a li:hover {
    background: #FFCC00
}

.sitemap li {
    margin-left: -30px;
    font-size: 14px;
    padding: 10px 0 10px 30px;
    font-weight: 400;
    border: 1px solid #f9c114;
    margin-bottom: -1px;
    transition: all .5s ease-out
}

.sitemap a li:before {
    content: ' → '
}

.footertxt {
    padding: 0 30px;
}

.footertxt h2 {
    font-size: 18px;
    color: #f9c114;
    margin: 0
}

.footertxt h3,
.sitemap h3 {
    font-size: 18px;
    font-weight: 400;
    border: none
}

.footertxt h3 {
    font-size: 16px;
    color: #f9c114;
    margin: 0 0 10px 0;
    padding: 0;
}

.footertxt h4,
.sitemap h4,
.sitemap li.dd {
    font-size: 14px;
    font-weight: 500
}

.footertxt a,
.footertxt a:hover,
.footertxt a:focus {
    color: #FFF !important
}

.footertxt p,
.sitemap p {
    font-size: 13px;
    font-weight: 200;
    padding: 0
}

.footertxt h3 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.form-group h3 {
    font-size: 25px;
    font-weight: 300
}

.form-group h4 {
    font-size: 16px;
    font-weight: 400
}

.eqBlock {
    margin-bottom: 30px;
}

.well {
    border: none;
    padding: 40px 0
}

blockquote {
    border: none;
    font-size: 18px;
    font-style: italic;
    width: 500px;
    margin: 30px auto;
    padding: 0.25em 40px;
    line-height: 1.45;
    position: relative;
    color: #383838;
}

blockquote:before {
    display: block;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -20px;
    top: -20px;
    color: #7a7a7a;
}

blockquote:after {
    display: block;
    content: "\201D";
    font-size: 80px;
    position: absolute;
    right: -20px;
    top: 0px;
    color: #7a7a7a;
}

blockquote cite {
    color: #999999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

blockquote cite:before {
    content: "\2014 \2009";
}

.scroll-icon {
    padding-bottom: 40px !important
}

.btn-default {
    padding: 10px 20px;
    min-width: 120px !important;

}

.btn-viewall {
    background: #f9c114 !important;
    border-radius: 40px !important;
    border: 1px solid #f9c114 !important
}

.btn-viewall2,
.btn-viewall2:hover,
.btn-viewall2:focus {
    /* view all */
    background: #dadada !important;
    border-radius: 40px !important;
    padding: 5px 20px;
    display: inline;
    margin: 0 5px;
    border: 0
}

.btn-viewall3 {
    background: #FFF !important;
    border-radius: 40px !important;
    border: 1px solid #dadada !important
}

.comname {
    font-size: 18px;
    color: #515151;
    line-height: 1em;
    display: table;
    margin: 0;
    padding: 0;
}

p.comname {
    color: #515151;
    margin: 0;
    padding: 35px 0 0 0;
    font-family: 'Kanit', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

@media(min-width:767px) {
    .comname {}
}

.comname2 h4 {
    font-size: 16px;
    color: #515151 !important;
    display: block;
    font-weight: 500;
    line-height: 1.7em;
}

.comname2 {
    position: relative;
    padding: 10px 10px 10px 70px;
    margin: 10px auto;
    background: rgba(255, 255, 255, .3);
    -webkit-transition: all ease-in-out .5s;
    -moz-transition: all ease-in-out .5s;
    -ms-transition: all ease-in-out .5s;
    -o-transition: all ease-in-out .5s;
    transition: all ease-in-out .5s;

}


.comname2 i {
    position: absolute;
    left: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    font-size: 50px !important;
    color: red;

}


.comname2 h4 span {
    font-weight: 800;
    font-size: 30px !important;
    color: #515151;
    display: block;

}

.comname2 a {
    display: block
}

.comname2:hover {
    background: rgba(255, 255, 255, .8);
}

.margintop50 {
    margin-top: 50px
}

@media (min-width:768px) {
    #header .intro-text {
        padding-top: 300px;
        padding-bottom: 200px
    }

    #header .intro-text .intro-lead-in {
        font-style: italic;
        font-size: 50px;
        line-height: 50px;
        margin-bottom: 25px
    }

    h4 {
        line-height: 2em
    }

    #header .intro-text .intro-heading {
        text-transform: uppercase;
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 50px
    }
}

.bx-wrapper .bx-prev {
    margin-left: -50px
}

.bx-wrapper .bx-next {
    margin-right: -50px
}

.bx-wrapper .bx-default-pager.bx-pager a:hover,
.bx-wrapper .bx-default-pager.bx-pager a.active {
    background: #dbb40d
}

.bx-wrapper .bx-default-pager.bx-pager a {
    background: #FFF
}

hr {

    border-color: #e4b66b;
    border-width: 3px;
}

.navbar {
    margin-bottom: 0
}

.navbar-nav {
    margin: 0 auto;
    float: none
}

.logobar {
    background: #f9c114;
    width: 100%;
    height: auto;
    min-height: 100px
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
    background: none;
    color: #000;
    outline: none
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    background: #CCC
}

.navbar-inverse .navbar-nav>li>a {
    color: #FFF
}

.navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-nav>li>a:focus {
    color: #FFF;
    outline: none;

}

.navbar-inverse .navbar-toggle .icon-bar {
    background: #FFF
}

.no-margin-top {
    margin-top: 0px !important
}

#page-content {
    position: relative;
    left: 0;
    min-height: 1200px;
}

/*#addNow{ display:none}*/
#page-content.slide-active {
    padding-top: 0
}

.dropdown-menu {
    min-width: 60px;
    padding: 0;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus {
    background: #f9c114;
    border: 1px solid #f9c114;
    padding: 10px 20px;
    color: #515151
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover {
    background: #f9c114;
    color: #515151 !important
}


.dropdown-menu>li>a {
    padding: 10px 20px;
}

.padding50 {
    padding: 50px 0
}

@media(max-width:766px) {
    #buildstatus {
        min-height: auto;
        height: auto
    }

    .borderline1,
    .borderline2 {
        border: none
    }

    .boxdetail p {

        max-height: 100% !important;
        min-height: 100% !important;
        overflow: visible
    }

}

@media(max-width:480px) {
    .thumview li img {
        width: 100%;
        float: left;
        padding: 10px
    }

    .ggmlogo img {
        width: 30px
    }

    .padding50 {
        padding: 40px 30px
    }

    .aboutcontrol .table-striped td:first-child {
        padding: 0
    }

    .aboutcontrol .table-striped td:last-child {
        line-height: 1.2em;
        padding: 50px 0 20px 20px
    }

    .bgOverlay {
        padding: 10px;
        background: rgba(225, 225, 225, .8);
        margin: 5px 2px
    }

    .comname {
        color: #FFF !important;

    }

    .btngroup .btn {
        width: 100%;
        margin-bottom: 10px
    }

    .zoom-container {
        width: 100%;
    }

    .logodiv {
        display: none
    }

    .headquarters {
        text-align: center !important;
        width: 100% !important;
        display: block
    }

    .navbar-inverse {
        background: #515151;
        color: #FFF
    }


    footer .col-md-8 {
        display: none
    }

    footer {
        padding: 30px 20px;
    }

    .navbar-header h4 {
        font-size: 14px;
        line-height: 1.0em;
        font-weight: 300;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

.wLarge {
    color: #FFF
}

a,
a:focus,
a:hover,
.yLarge {
    /* color: #f9c114 */
}

#partners {
    background: url(../img/bgw.jpg) 50% 50% #FFF;
    border-top: 1px solid #CCC;
    padding: 100px 0
}

#aboutus {
    padding: 150px 0
}

.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 60px;
    bottom: 160px;
    width: 20px;
    height: 20px;
}

.scroll-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #FFF;
    font-size: 30px;
    line-height: 29px;
    background: #f9c114 !important;
}

.scroll-top .btn:focus {
    outline: 0;
}


.btn-xl,
.btn-xl:hover {
    background: #f9c114 !important;
    color: #515151 !important
}

.threecolor {
    background: url(../img/color3.jpg) no-repeat left top
}

.threecolor h4 {
    padding-left: 3%
}

.copyright {
    padding: 30px 0
}

.bordertop {
    border-top: 1px solid #666
}

.uppper {
    text-transform: uppercase
}

.nav.navbar-nav {
    padding-left: 50px
}

@media(max-width: 1200px) {
    .nav.navbar-nav {
        padding-left: 5px
    }

    .dropdown-menu>li>a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }
}

.smaller {
    font-size: 11px;
}

i {
    margin: 0 2px
}

.navbar-toggle {
    padding: 10px
}

@media(max-width:480px) {
    .navbar-toggle {
        padding: 0
    }
}

#slide-nav .navbar-toggle {
    cursor: pointer;
    position: relative;
    line-height: 0;
    float: left;
    margin: 2px 0 0 20px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
}

/* icon bar prettyup - optional */
#slide-nav .navbar-toggle>.icon-bar {
    width: 100%;
    display: block;
    height: 3px;
    margin: 15px 0 0 0;
}

#slide-nav .navbar-toggle.slide-active .icon-bar {
    background: #f9c114
}

.navbar-header {
    position: relative
}

.navbar.navbar-fixed-top.slide-active {
    position: relative
}

/* --------------------------------------------- */
.navbar-toggle .icon-bar {
    display: block;
    width: 3px !important;
    height: 3px !important;
    border-radius: 20px
}

.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 4px !important
}

.btn-xl {
    background: #900;
    padding: 10px 20px;
    color: #fff;
    -webkit-transition: all .5s ease;
    /* Safari and Chrome */
    -moz-transition: all .5s ease;
    /* Firefox */
    -ms-transition: all .5s ease;
    /* IE 9 */
    -o-transition: all .5s ease;
    /* Opera */
    transition: all .5s ease;
}

#customers {
    background: url(../img/bgorder.jpg) no-repeat #000;
    padding: 120px 0 !important
}

@media (max-width:767px) {
    .navbar-brand {
        padding: 15px 3px 0 0;
    }

    #aboutus {
        padding: 20px 0 0 0
    }

    .navbar-inverse .navbar-nav>.active>a,
    .navbar-inverse .navbar-nav>.active>a:focus,
    .navbar-inverse .navbar-nav>.active>a:hover {
        color: #515151 !important;
        border-bottom: none;
        outline: none
    }

    #slide-nav .container {
        margin: 0;
        padding: 0 !important;
    }

    #slide-nav .navbar-header {

        padding: 0 15px;
    }

    #slide-nav .navbar.slide-active {
        position: fixed;
        width: 70%;
        top: -1px;
        z-index: 1000;
    }

    #slide-nav #slidemenu {
        left: -70%;
        width: 70%;
        min-width: 0;
        position: fixed;
        padding-left: 0;
        z-index: 2;
        top: 80px;
        margin: 0;

    }

    #slide-nav #slidemenu .navbar-nav {
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 0;

    }

    #slide-nav #slidemenu .navbar-nav .dropdown-menu li a {
        min-width: 0;
        /*  width: 70%; */
        width: 70%;
        color: #FFF !important
    }

    #slide-nav {
        border-top: 0
    }



    #slide-nav #navbar-height-col {
        position: fixed;
        top: 0;
        height: 100%;
        width: 70%;
        left: -70%;
    }

    #slide-nav.navbar-inverse #navbar-height-col {
        background: #515151;
        z-index: 1;
        border: none;
        border-radius: 0
    }

    #slide-nav .navbar-form {
        width: 100%;
        margin: 8px 0;
        text-align: center;
        overflow: hidden;
        /*fast clearfixer*/
    }

    #slide-nav .navbar-form .form-control {
        text-align: center
    }

    #slide-nav .navbar-form .btn {
        width: 100%
    }
}

@media (min-width:768px) {
    #page-content {
        left: 0 !important
    }

    .navbar.navbar-fixed-top.slide-active {
        position: fixed
    }

    .navbar-header {
        left: 0 !important
    }

    .navbar-nav>li>a {
        padding: 30px 10px
    }
}

.navbar-inverse {
    border-bottom: none;
    border: none;
    border-radius: 0;
}

/* ---------- Zoom container ---------- */
.image-zoom-container {
    list-style: none;
    font-size: 0px;
    margin: 40px 0
}

.zoom-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 33.33%;
    /* this value + 2 should = 33% */
    font-size: 16px;
    font-size: 1rem;
    border: 1px solid #fff;
    vertical-align: top;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.zoom-container img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-transition: all .5s ease;
    /* Safari and Chrome */
    -moz-transition: all .5s ease;
    /* Firefox */
    -ms-transition: all .5s ease;
    /* IE 9 */
    -o-transition: all .5s ease;
    /* Opera */
    transition: all .5s ease;
}

.zoom-container .zoom-caption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    background: rgba(0, 0, 0, .5);
    -webkit-transition: all .5s ease;
    /* Safari and Chrome */
    -moz-transition: all .5s ease;
    /* Firefox */
    -ms-transition: all .5s ease;
    /* IE 9 */
    -o-transition: all .5s ease;
    /* Opera */
    transition: all .5s ease;
}

.zoom-container .zoom-caption h3 {
    display: block;
    text-align: center;
    font-size: 22px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #fff;
    margin: 40% 0 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.zoom-container:hover img {
    -webkit-transform: scale(1.25);
    /* Safari and Chrome */
    -moz-transform: scale(1.25);
    /* Firefox */
    -ms-transform: scale(1.25);
    /* IE 9 */
    -o-transform: scale(1.25);
    /* Opera */
    transform: scale(1.25);
}

.zoom-container:hover .zoom-caption {
    background: none;
}

@media (max-width: 1199px) {
    /*     .container {
        width: auto;
        padding: 0 10px;
    } */
}

@media (max-width: 767px) {
    .zoom-container {
        width: 50%;
    }
}

/** page structure **/
#w {
    display: block;
    max-width: 830px;
    min-width: 300px;
    margin: 0 auto;
    padding: 2px 3px;
}

/** posts slider widget **/
.crsl-items {
    display: block;
    padding: 5px;
}

.crsl-item {
    background: #fff;
    padding: 8px;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}

.crsl-item .thumbnail {
    display: block;
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
}

.crsl-item .thumbnail img {
    display: block;
    /* fix 1px image space http://stackoverflow.com/q/5804256/477958 */
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.crsl-item .thumbnail:hover img {
    opacity: 0.8;
}

.crsl-item h3 {
    font-size: 1.95em;
    line-height: 1.25em;
    margin-bottom: 12px;
}

.crsl-item h3 a {
    text-decoration: none;
    color: #515151;
}

.crsl-item h3 a:hover {
    text-decoration: underline;
}

.crsl-item .postdate {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 6px;
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
    font-size: 1.2em;
    font-weight: bold;
    background: #4e90da;
}

.crsl-item p {
    font-size: 1.2em;
    line-height: 1.55em;
    margin-bottom: 5px;
}

.crsl-item p.readmore a {
    display: block;
    float: right;
    color: #4e90da;
    padding: 3px 5px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 3px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.crsl-item p.readmore a:hover {
    background: #4b6caa;
    color: #fff;
}

/** posts slider nav **/
.slidernav {
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

.slidernav a {
    display: inline-block;
    padding: 5px 8px;
    margin-right: 8px;
    font-size: 1.4em;
    background: #fff;
    color: #666;
    text-decoration: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.slidernav a:active {
    -webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

/** media queries **/
@media screen and (max-width: 660px) {
    .crsl-item h3 {
        font-size: 1.65em;
    }
}

/** clearfix **/
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/* search */
#custom-search-input {
    margin: 0;
    padding: 0;
    margin-left: 15px
}

#custom-search-input .search-query {
    /*   padding-right: 3px;
     padding-right: 4px \9;
     padding-left: 3px;
     padding-left: 4px \9;*/

    margin-bottom: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#custom-search-input button {
    border: 0;
    background: none;
    padding: 2px 5px;
    margin-top: 2px;
    position: relative;
    left: -28px;
    margin-bottom: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #D9230F;
}

.search-query:focus+button {
    z-index: 3;
}

/* -------------------------  */
.btn,
.form-control,
.panel,
.list-group,
.well {
    border-radius: 1px;
    box-shadow: 0 0 0;
}

.form-control {
    border-color: #d7d7d7;
}

.btn-primary {
    border-color: transparent;
}

.btn-primary,
.label-primary,
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    background-color: #4285f4;
}

.well,
.panel {
    border: none;
}

.panel-body p {
    font-size: 14px;
    line-height: 1.7em;
    font-weight: 300;
}

.panel-body h4 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em
}

.panel-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tabledisplay img {
    float: left;
    width: 100%;
    margin-top: 50px;
}

.freehand {
    /* font-family: 'Satisfy', cursive !important; */
    font-family: 'Pacifico', cursive !important;
    color: #666;
    padding: 0;
}

.img-icon {
    float: left;
    width: 70px;
    padding: 0 20px 0 0
}

h4.panel-title a {
    line-height: 2.5em !important;
}

.panel-title i {
    float: right;
    line-height: 40px;
}

/*  .intotxt {
     padding: 50px 0 0 0
 } */
.intotxt h2 {
    font-family: 'Kanit', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #515151
}

.intotxt h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #515151
}

.intotxt p {
    /* font-family: 'Kanit', sans-serif; */
    font-family: 'Sarabun', sans-serif;
    font-size: 14px;
    line-height: 1.7em;
    font-weight: 300;
    color: #515151
}

.intotxt p strong {
    font-weight: 500;
    color: #515151;
    font-size: 16px !important;
}


.bgmap {
    width: 100%;
    height: 100%;
    background: url('../images/mapbg.png') no-repeat 50% 50%;
    background-size: 100% 100%;
}

.bgmap img {
    width: 100%;
}

.bicon {
    width: 35px;
    height: auto;
    margin: 0 20px 0 0
}

hr {
    border-color: #dadada;
    max-width: 100%;
    margin: 60px 0;
    display: block;
    clear: both
}

img.bord1 {
    background: #515151 !important;
    padding: 3px;
}

button {
    outline: 0;
}

textarea {
    resize: none;
    outline: 0;
}

.panel .btn i,
.btn span {
    color: #666666;
}

.panel {
    margin: 0;
}

.list-group-item:first-child,
.list-group-item:last-child {
    border-radius: 0;
}

.modal-dialog {
    width: 450px;
}

.modal-btncont {
    border-width: 0;
}

.dropdown-menu {
    background-color: #FFF;
    border-radius: 0;
    margin-top: -1px;
}


#main {
    padding-top: 120px;
}

/* Note style*/
.note {
    position: relative;
    padding: 1em 1.5em;
    margin: 2em auto;
    color: #fff;
    background: #97C02F;
    overflow: hidden;
}

.note:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 16px 16px 0;
    /* This trick side-steps a webkit bug */
    border-style: solid;
    border-color: #fff #fff #658E15 #658E15;
    /* A bit more verbose to work with .rounded too */
    background: #658E15;
    /* For Opera when also applying a border-radius */
    display: block;
    width: 0;
    /* Only for Firefox 3.0 damage limitation */
    /* Optional: shadow */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.2);
}

.note.yellow {
    background: #f9c114;
    color: #515151
}

.note.yellow:before {
    border-color: #fff #fff #f9c114 #f9c114;
    background: #f9c114;
}

.note.blue {
    background: #53A3B4;
}

.note.blue:before {
    border-color: #fff #fff transparent transparent;
    background: transparent;
}

.note.taupe {
    background: #999868;
}

.note.taupe:before {
    border-color: #fff #fff #BDBB8B #BDBB8B;
    background: #BDBB8B;
}

.note.rounded {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.note.rounded:before {
    border-width: 8px;
    /* Triggers a 1px 'step' along the diagonal in Safari 5 (and Chrome 10) */
    border-color: #fff #fff transparent transparent;
    /* Avoids the 1px 'step' in webkit. Background colour shows through */
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius: 0 0 0 5px;
    border-radius: 0 0 0 5px;
}

.note p {
    margin: 0;
}

.note p+p {
    margin: 1.5em 0 0;
}

#isbn {
    background: url(../img/isbn.png) top left no-repeat;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    padding: 320px 40px 0 40px;
}

#enquiries {
    background: #e3e3e3
}

#overlap {
    background: #FFF url(../img/color3.jpg) 0 0 no-repeat;
    margin-top: -30px;
    border-right: 1px solid #DADADA;
    min-height: 800px
}

#overlap h3 {
    font-style: italic;
    margin-bottom: 20px
}

#overlap p {
    line-height: 1.7em;
    font-size: 16px
}

#profiles {
    /*display:none*/
    overflow-x: hidden
}

#findbook {
    background: #d7d1bb url(../img/bgbook2.png) bottom right no-repeat;
}

#yellorbox {
    background: #fdcf09 url(../img/bgFind.png) bottom right no-repeat;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    padding-bottom: 300px;
    min-height: 1010px
}

#searchtip {
    background: #FFF url(../img/bgBook.png) no-repeat bottom center;
    padding-bottom: 300px;
}

.noPadding {
    padding: 0 !important
}

section {
    padding: 50px 0 0 0
}

@media(max-width: 767px) {
    section {
        padding: 20px 0
    }
}

.keyword span a {
    font-size: 11px;
    background: #FFF;
    border: 1px solid #fdcf09;
    padding: 3px 10px;
    margin: 0 1px 1px 0;
    max-width: 150px;
    overflow: hidden;
    color: #515151;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.keyword span :hover {
    background: #dbb40d;
    color: #FFF;
    border: 1px solid #FFF;
    transition: background .5s ease-in-out
}

/* FIX FIREFOX*/
@-moz-document url-prefix() {

    .form-control,
    .form-control img {
        max-width: 98%;
    }
}

ul.first {
    padding: 0 0 0 0;
    margin: 40px 0 40px 0;
}

ul.first li {
    list-style: none;
    margin-bottom: 5px;
}

ul.first li.bspHasModal {
    cursor: pointer;
}

/*  .newcrop {
     opacity: .7;
     transition: all .5s ease-in-out
 }

 .newcrop:hover {
     opacity: 1
 } */

.modal-body {
    padding: 5px !important;
}

.modal-content {
    border-radius: 0;
}

.modal-dialog img {
    text-align: center;
    margin: 0 auto;
}

.controls {
    width: 50px;
    display: block;
    font-size: 11px;
    padding-top: 8px;
    font-weight: bold;
}

.next {
    float: right;
    text-align: right;
}

.glyphicon-remove-circle:hover {
    cursor: pointer;
}

@media screen and (max-width: 380px) {
    .col-xxs-12 {
        width: 100%;
    }

    .col-xxs-12 img {
        width: 100%;
    }
}

header img {
    width: 100vw;
}

.skewed-bg {
    /*     -webkit-transform: skew(0deg, 5deg);
     transform: skew(0deg, 5deg);
     margin-top: -150px !important;
     padding: 0 0 300px 0; */
}

.skewed-bg .content {
    /*      -webkit-transform: skew(0deg, -5deg);
     transform: skew(0deg, -5deg); */

}

.skewed-bg2 {
    /*      -webkit-transform: skew(0deg, -5deg);
     transform: skew(0deg, -5deg);
     margin-top: -200px !important;
     padding: 0 0 200px 0; */
}

.skewed-bg2 .content {
    /*      -webkit-transform: skew(0deg, 5deg);
     transform: skew(0deg, 5deg); */
}


#secproduct {
    background-color: #FFF;
}

strong {
    font-size: 20px !important
}

@media screen and (max-width: 768px) {
    .skewed-bg {
        margin-top: 0 !important;
    }

    .skewed-bg,
    .skewed-bg2,
    .skewed-bg .content,
    .skewed-bg2 .content {
        /*          -webkit-transform: skew(0deg, 0deg);
         transform: skew(0deg, 0deg); */
    }

    .partnerbanner {
        margin: 0;
    }

    .intotxt {
        padding: 0
    }

    header {
        /*        margin-top: 50px; */

    }

    h1.freehand {
        font-size: 30px
    }

    .btn-viewall2,
    .btn-viewall2:hover,
    .btn-viewall2:focus {
        margin: 20px 0;

    }

}

@media screen and (max-width: 767px) {
    .nav>li>a {
        padding: 10px 30px;
    }

    .navbar-nav .open .dropdown-menu>li>a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 10px 30px;
    }
}

@media screen and (max-width: 480px) {


    .btn-viewall2,
    .btn-viewall2:hover,
    .btn-viewall2:focus {
        display: block
    }
}

.img-responsive,
.thumbnail>img,
.thumbnail a>img,
.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
    width: 100% !important;
}

.banneraddfriend {
    padding: 40px 30px;
    width: 100%;
    height: 100%;
    min-width: 250px;
    min-height: 250px;
    background: url("../images/bgBanner.jpg") no-repeat;
    background-size: 100% 100%;
    text-align: center;
}

.banneraddfriend h2 a,
.banneraddfriend h3,
.banneraddfriend h4 {
    color: #FFFF !important;
    line-height: 1.5em;
    margin: 0;
}

.banneraddfriend h2 a {
    font-weight: 800 !important;
    letter-spacing: 1px
}

.addline img {
    width: 200px;
    margin: 10px auto;
}



/* index style */

.overlaptop {
    margin: -50px 0 0 0;
    padding: 0 !important;
}

.colorblock {
    padding: 0;
    text-align: center;
    background-color: #EAEAEA;
    padding: 5px;
}

.colorblock2 {
    background-color: #f9c114 !important;
}

.colorblock h2 {
    font-size: 14px;
    color: #515151
}

.colorblock p {
    font-size: 12px;
    color: #515151;

}


.colorblock .circle {
    margin: 0 auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background-color: #f9c114;
    padding: 10px;
}

.colorblock2 .circle {

    background-color: #FFF !important;
}

.colorblock img {
    width: 100%;
    height: 100%;
}

.borderaround {
    border: 1px solid #fff;
    display: table;
    width: 100%;
    height: 100%;
    padding: 20px
}

.borderaround h3 {
    font-size: 12px;
    line-height: 1.5em;
    color: #000;
    text-align: left
}

.borderaround h4 {

    font-size: 16px;
    line-height: 1.5em;
    color: #515151;
    text-align: left
}

.borderaround p {
    font-size: 11px;
    line-height: 1.5em;
    color: #515151;
    text-align: left;
    display: none
}


.borderaround>div {
    display: table;
    margin-bottom: 10px;
    width: 100%
}

.bgtheme .borderaround {
    border: 1px solid #FFF;
}

@media(max-width: 320px) {
    .colorblock .circle {
        display: none
    }

    .borderaround {
        display: block;
        padding: 10px;
    }

    .btnw,
    .btny {
        font-size: 10px !important
    }
}

.btnw,
.btny {
    width: 48%;
    display: inline-block;
    border-radius: 50px;
    padding: 10px 20px;
    white-space: nowrap;
    overflow: hidden;
    line-height: 0;
    text-align: center;
    font-size: 12px;
    margin: 20px 2px 0px 2px
}

.btnw {
    background-color: #FFF;
    color: #515151;
    border: 1px solid #f9c114;
}

.btny {
    background-color: #f9c114;
    color: #515151;
    border: 1px solid #FFF;
}

.mb0 {
    margin-bottom: 0px !important
}

.mb10 {
    margin-bottom: 10px !important
}

.mb20 {
    margin-bottom: 20px !important
}

.mb30 {
    margin-bottom: 30px !important
}

.mb40 {
    margin-bottom: 40px !important
}

.mb50 {
    margin-bottom: 50px !important
}

.mb60 {
    margin-bottom: 60px !important
}

header {
    position: relative
}

.framecaption {
    position: absolute;
    top: 50%;
    left: 15%;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);

}

.framecaption h2,
.framecaption h3,
.framecaption p {
    color: #FFF;
}

.framecaption h2 {
    font-weight: 200;
    color: #f9c114;
}

.framecaption h3 {
    padding: 0;
    margin: 10px 0;
}

.framecaption p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7em;
    max-width: 430px;
}

/*   @media(max-width: 1200px) {
     .framecaption {
         left: 10% 
     }
} */
@media(max-width: 992px) {

    .btnw,
    .btny {
        width: 100%;
        margin: 0;
        padding: 10px 20px;
    }

    .overlaptop {
        margin: 40px 0 0 0;
    }

    .framecaption {
        left: 5%
    }

    .framecaption p {
        font-size: 16px;
    }

}

@media(max-width: 767px) {
    .colorblock .circle {
        margin: 0 20px 0 0;
        width: 60px;
        height: 60px;
        float: left;
    }

    .overlaptop {
        margin: 10px 0 0 0;
    }

    .colorblock h2 {
        font-size: 18px;
        text-align: left;
        margin: 10px 0 0 0;
        padding: 0;
    }

    .colorblock p {
        font-size: 14px;
        text-align: left;
        margin: 0;
        padding: 0;
    }

    .framecaption {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .5);

    }

    .framecaption span {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);

    }

    .framecaption h2 {
        white-space: nowrap
    }

    .framecaption h2,
    .framecaption h3,
    .framecaption p {
        text-align: center;
        display: block;
        width: 100%;
    }


}

@media(max-width: 480px) {

    .colorblock .circle {
        margin: 0 20px 0 0;
        width: 60px;
        height: 60px;
        float: left;
    }

    .colorblock h2 {
        font-size: 12px;
        text-align: left;
        margin: 10px 0 0 0;
        padding: 0;
    }

    .colorblock p {
        font-size: 10px;
        text-align: left;
        margin: 0;
        padding: 0;
    }


}

@media(max-width: 320px) {
    .navbar-nav>li>a {
        font-size: 10px;
    }

    .overlaptop {
        margin: 0;
    }
}

.pt20 {
    padding-top: 25px;
}


.pad20 {
    padding: 20px !important;
}

.pad30 {
    padding: 30px !important;
}

.pad40 {
    padding: 40px !important;
}

.pad50 {
    padding: 50px !important;
}

.nopad {
    padding: 0 !important;
    margin: 0 !important;
}

.bx-prev,
.bx-next {
    display: none
}

.progtxt {
    margin: 50px 0 0 0
}

.progtxt span {
    display: inline-block;
    float: left;
    padding-left: 10px;
}

.progtxt h1 {
    font-size: 60px;
    color: #f3bf31;
    text-align: center;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden
}

.progtxt h4 {
    font-size: 16px;
    color: #FFF;
    text-align: center;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden
}

.progtxt img {
    width: auto;
    height: 50px;
    margin: 20px 0 0 0;
    display: inline-block;
    float: left;

}

@media(max-width: 767px) {
    .progtxt {
        margin: 0
    }

    .topsmall {
        margin-top: 40px
    }
}

.borderdown {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    margin: 5px 0;
    padding: 5px 0;
}

.borderdown:last-child {
    border-bottom: none
}

.borderdown h3 {
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.borderdown h4 {
    font-size: 22px;
    color: #f3bf31;
    text-align: right;
    line-height: 1em;

}

.borderdown h4:after {
    content: "วัน";
    margin-left: 10px;
    font-size: 12px
}

.btncont {
    display: block;
    width: 100%;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 10px;
    margin: 0 0 5px 0;
    position: relative;
    overflow: hidden;
}

.btncont a {
    display: block
}

.btncont a img {
    width: 60px;
    float: left;
    padding: 10px;
    margin: 10px 0 0 0;
    display: table
}

.btncont a span {
    display: table;
    float: left;
}

.btncont a span p {
    color: #FFF;
    margin: 20px 0 0 0;
    padding: 0;

}

.btncont a span h4 {
    margin: 5px 0;
    font-size: 13px;
    white-space: nowrap;
    padding: 0;
    color: #FFF;
}

#prodetail {
    padding: 30px 0 !important;
}

.form-control.monav {
    height: 50px
}

.form-control.monav option {
    width: 100%
}

.simlist p {
    display: block;
    padding: 10px 0 10px 60px;
    border-bottom: 1px solid #dadada;
    margin: 0;
    background: url('../images/icon-02.svg') no-repeat 0 50%;
    background-size: auto 40px;

}

.iconh {
    width: 20px;
    height: auto;
    vertical-align: middle;
    filter: invert(100%)
}

.context {}

.context h2 {
    font-size: 25px;
    line-height: 1.5em;
    color: #515151;
}

.context h3 {
    font-size: 22px;
    line-height: 1.5em;
    color: #515151;
}

.context h4 {
    font-size: 18px;
    line-height: 1.5em;
    color: #515151;
    font-weight: 500
}

.context h5 {
    font-size: 16px;
    line-height: 1.5em;
    color: #515151;
    font-weight: 500
}

.context p {
    font-size: 16px;
    line-height: 1.5em;
    color: #515151;
}

.context li {
    font-size: 16px;
    color: #515151;
    padding: 10px 0;
}


td .chart,
.chart {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 120px !important;
}

.chart {
    margin-bottom: 10px !important
}

span.percent,
.chart canvas {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    -webkit-transform: translate(-50%, -50%) !important;
    -moz-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    -o-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
}

span.percent:after {
    content: "%" !important;
    font-size: 16px;
    color: #515151
}

.contactbtn,
.contactbtn:hover,
.contactbtn:focus {
    background-color: #f9c114 !important;
    color: #515151 !important;
    padding: 10px 20px !important;
    margin: 20px 0
}

@media(max-width: 992px) {

    .contactbtn,
    .contactbtn:hover,
    .contactbtn:focus {
        margin: 0
    }
}

@media(max-width: 766px) {

    .contactbtn,
    .contactbtn:hover,
    .contactbtn:focus {
        margin: 10px;
        text-align: center
    }
}

.linebg {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) calc(50% - 4px),
        rgba(255, 197, 37, 1) calc(50%),
        rgba(0, 0, 0, 0) calc(50% + 4px));
    width: 300px;
    display: block;
    margin: 20px auto;

}

.linebg h1 {
    text-transform: uppercase;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    color: #515151;
    font-size: 28px;
    font-weight: 300;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.5em;
    background-color: #FFF;

}

.imgblock {
    padding: 90px 0;
}

.productdata {
    padding: 40px 30px;

}

.imgblock .productdata h4,
.productdata h2,
.productdata p {
    color: #515151;
}

.productdata h4 {

    /* catrgory name*/
    font-size: 14px;
    font-weight: 500;
    margin: 0;


}

.btnblock {
    padding: 15px 35px;
    display: inline-block;
    min-width: 150px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
}

.btndefault,
.btndefault:hover,
.btndefault:focus {
    background: #ffcc33;
    color: #515151;
    border: 1px solid #ffcc33;
    margin-right: 20px;
}

.btnviewall,
.btnviewall:hover,
.btnviewall:focus {
    background: #515151;
    color: #ffcc33;
    border: none !important;


}

@media(max-width: 480px) {
    .linebg {
        width: 100%
    }

    .btnblock {
        width: 100%
    }

    .btndefault {
        margin-right: 0;
        margin-bottom: 10px
    }
}

.btnviewall i {
    margin-right: 10px;
}

.productdata h2 {
    font-size: 40px;
    font-weight: 300;
    margin: 0
}

.productdata p {
    line-height: 1.7em;
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 300;
    margin-top: 10px
}

.bggray {
    background-color: #333
}

.bggray .col-sm-5.col-md-6 {
    float: right
}

.bggray h2,
.bggray h3,
.bggray h4,
.bggray p {
    color: #FFF
}

.linebg.bggray {
    background-color: transparent !important;

}

.servicebox {
    background: #ffcc33;
    padding: 100px 0 !important;
}

.servicebox h4 {
    line-height: 1.2em;
    display: block;
    margin: 20px auto 50px auto;
    text-align: center;
    font-size: 18px;
    width: 70%;
    font-weight: 400;
    color: #515151
}

.servicebox .linebg {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) calc(50% - 4px),
        rgba(0, 0, 0, 1) calc(50%),
        rgba(0, 0, 0, 0) calc(50% + 4px));
    width: 300px;
    display: block;
    margin: 20px auto;
    height: 40px;
}

.customerbox {
    background: #FFF;
    padding: 80px 0 !important;
}

.secnewsbox {
    background: #eaeaea;
    padding: 120px 0;
}

@media(max-width: 480px) {
    .secnewsbox {
        background: #eaeaea;
        padding: 40px 0;
    }
}

.secnewsbox .linebg h1 {
    background: #eaeaea;
}

.linebg h1 {
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    color: #515151;
    font-size: 25px;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.5em;


}

.servicebox .linebg h1 {
    background-color: #ffcc33;
}

.ciclebox {
    border-radius: 50%;
    overflow: hidden;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: block;
    position: relative;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .2)
}

.ciclebox img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transition: all ease-in-out .5s;
}

.ciclebox img:hover {
    width: 110%;
    height: 110%;
}

.sBox {
    width: 100%;
}

@media(max-width: 767px) {
    .ciclebox {
        width: 200px;
        height: 200px
    }

}

@media(max-width: 767px) {
    .ciclebox {
        border-radius: 0;
        overflow: hidden;
        width: 150px;
        height: 150px;
        display: inline-block;
        box-shadow: none;
        float: left;
        margin: 0;
        padding: 0;
    }

    .servicebox h4 {
        display: inline-block;
        margin: 0;
        text-align: left;
        width: auto;
        padding: 20px;
        font-size: 18px;
        font-weight: 400;
        color: #515151;
        float: left;
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    footer {
        padding: 30px 0 !important
    }

    .sBox {
        margin-bottom: 10px;
        background-color: #FFF;
        overflow: hidden
    }

    .servicebox {
        padding: 80px 0;
    }
}

@media(max-width: 300px) {
    .imgblock {
        padding: 20px 0;
    }

    .productdata h2 {
        font-size: 30px;
    }

    .iconmouse {
        width: 40px;
    }

    .framecaption h2 {
        font-size: 22px
    }

    .framecaption h3 {
        font-size: 18px
    }

    .framecaption p {
        font-size: 12px;
        width: 90%
    }

    .framecaption span {
        position: relative;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        left: 10px;
        top: 10px
    }

    .ciclebox {
        width: 100%;
        height: 250px;
        display: block;
    }

    .servicebox h4 {
        display: block;
        margin: 0;
        text-align: left;
        width: 100%;
        position: relative;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

}

.card {
    background-color: #515151;
    width: 100%;
    height: 100%;
    padding: 10px;
    margin: 0 0 10px 0;
}

.caption {
    padding: 20px;
}

.caption h3 {
    color: #ffcc33;
    font-weight: 300;
    font-size: 20px
}

.caption p {
    color: #FFF;
    font-weight: 200
}

.caption small {
    color: #ffcc33
}

.how2order li p {
    padding: 0;
    margin: 20px 0 0 0;
}

.how2order {
    padding: 20px 40px;
}

.how2order li {
    padding: 10px 0 0 0;
}

.how2order li a {
    color: #515151 !important
}

.mt20 {
    margin-top: 20px !important
}

.mt30 {
    margin-top: 30px !important
}

.mt40 {
    margin-top: 40px !important
}

.mt50 {
    margin-top: 50px !important
}

.mt60 {
    margin-top: 60px !important
}

.mt70 {
    margin-top: 70px !important
}

.mt80 {
    margin-top: 80px !important
}

.mt90 {
    margin-top: 90px !important
}

.mb20 {
    margin-bottom: 20px !important
}

.mb30 {
    margin-bottom: 30px !important
}

.mb40 {
    margin-bottom: 40px !important
}

.mb50 {
    margin-bottom: 50px !important
}

.mb60 {
    margin-bottom: 60px !important
}

.mtb0 {
    margin-bottom: 70px !important
}

.mb80 {
    margin-bottom: 80px !important
}

.mb90 {
    margin-bottom: 90px !important
}

@media(max-width: 480px) {

    .mt10,
    .mt20,
    .mt30,
    .mt40,
    .mt50,
    .mt60,
    .mt70,
    .mt80,
    .mt90 {
        margin-top: 0 !important;
    }
}

.hbox {
    display: block;
    width: 100%;
    height: 140px;
    margin: 20px 0 0 0;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    position: relative;
}

.hbox h2 {
    position: absolute;
    white-space: nowrap;
    text-overflow: ellipsis;
    top: 50%;
    left: 50%;
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    font-weight: 400;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #FFF;
    font-size: 25px;
}


.sideboxcontent {}

.sideboxcontent h5 {
    line-height: 1.5em;
    margin-top: 20px;
    display: block;
    font-size: 18px;
    font-weight: 300;
}

@media(max-width: 767px) {
    .hbox h2 {
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

}

.contactbox {
    border-bottom: 1px solid #dadada;

}

.contactbox h4 {
    font-size: 18px;
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
    font-weight: 400;
    color: #f9c114
}

.contactbox h5 {
    font-size: 19px;
    font-weight: 400;
    margin: 0;
    color: #666
}

.contactbox p {
    margin: 20px 0 !important;
}

.contactbox p a {
    float: right;
    width: 60%;
    /*     background-color: #f9c114; */
    /*     padding: 0 10px; */
    /*     white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 40px */
}


.swapper h2,
.swapper h3 {
    margin: 0;
    padding: 0;
}


.contentbox h2 {
    font-size: 25px !important;
    text-align: center !important;
    margin: 30px 0;
}

.contentbox h3 {
    font-size: 20px !important;
    margin: 30px 0 20px 0;
}

.contentbox h4 {
    font-size: 18px !important;
    font-weight: 400;
}

.contentbox p {
    font-size: 16px !important;
}

.ciclebg {
    background-color: rgba(255, 255, 255, .8);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    overflow: hidden;
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    position: relative;
    -webkit-transition: all ease-in-out .2s;
    -moz-transition: all ease-in-out .2s;
    -ms-transition: all ease-in-out .2s;
    -o-transition: all ease-in-out .2s;
    transition: all ease-in-out .2s;
    padding: 0;
}

.ciclebg:hover {
    background-color: rgba(255, 255, 255, 1);
}

.ciclebg i {
    font-size: 25px;
    color: #333;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 0;
    display: block;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

@media (max-width: 865px) {
    .container {
        width: 100%;
    }
}

.databox {
    padding: 30px;
    margin-bottom: 15px;
    background-color: #333;
    color: #fff
}