@charset "UTF-8";

/* CSS Document 
@font-face {
    font-family: 'thaisans';
    src: 
         url('../fonts/THSarabun.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
*/

body {
    font-family: 'Lato', 'Prompt', sans-serif;
}


/* Navbar */

#header .navbar.navbar-default {
    background-color: #fff;
    background-image: none;
    border-radius: 0;
    margin-bottom: 0;
}

.navbar-brand {
    padding: 0 0 0 10px;
    position: absolute;
}

.navbar-brand span {
    float: left;
    padding-top: 26.5px;
    font-family: 'Lato', sans-serif;
    font-size: 3em;
    color: #016834;
}

.navbar-brand img {
    height: 85px;
    padding-top: 0px;
    margin-right: 5px;
    float: left;
}

.navbar-collapse {
    margin: 12px 0;
}

.navbar-default .navbar-nav>li>a {
    color: #999;
    font-family: 'Lato', sans-serif;
    font-size: 1.05em;
    font-weight: 200;
}

#nav-menu .nav>li>a {
    padding: 5px 0;
    margin: 10px 15px;
    text-transform: uppercase;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.open>a {
    color: #212121;
    background-image: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    background-color: transparent;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background-color: transparent;
}

.active .menu_link::before,
.open .menu_link::before {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.active .menu_link::after,
.active .menu_link::before,
.open .menu_link::after,
.open .menu_link::before {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}


/*
.menu_link::before {
	background-image: -webkit-linear-gradient(right,#0be388 0,#016834 100%);
    background-image: -o-linear-gradient(right,#0be388 0,#016834 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#0be388),to(#016834));
    background-image: linear-gradient(to left,#0be388 0,#016834 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0be388', endColorstr='#ff016834', GradientType=0);
    background-repeat: repeat-x;
    -webkit-transition-delay: 0.4s;
    transition-delay: 0.4s;
}
*/

.menu_link::before {
    /*background-image: -webkit-linear-gradient(right,#0f3f08 0,#327929 100%);
    background-image: -o-linear-gradient(right,#0f3f08 0,#327929 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#0f3f08),to(#327929));
    background-image: linear-gradient(to left,#0f3f08 0,#327929 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0f3f08', endColorstr='#ff327929', GradientType=0);
	*/
    background-color: #327929;
    background-repeat: repeat-x;
    -webkit-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

.menu_link::before,
.menu_link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transform-origin: center left;
    transform-origin: center left;
    -webkit-transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.menu_link:hover {
    color: #b5b5b5;
}

.menu_link:hover::before {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

#nav-menu .nav>li>a.lang-link {
    margin: 6px 2.5px;
    float: left;
}

a.lang-link img {
    width: 25px;
}


/* Nav Dropdown */

.navbar-nav>li>.dropdown-menu {
    min-width: 200px;
}

.dropdown-menu {
    margin: 2px 15px 0 0;
}

.navbar-default .navbar-nav .dropdown-menu>li {
    font-size: 16px;
}

@media screen and (max-width:767px) {
    .navbar-nav .open .dropdown-menu {
        position: relative;
        margin: 0 15px;
        top: auto;
        left: auto;
        float: none;
        padding: 0;
        border: none;
        background-color: rgba(48, 121, 54, 0.18);
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li {
        border-bottom: solid 1px #fff;
        font-size: 16px;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #333;
    }
}

.dropdown-menu>li>a {
    border-bottom: solid 1px #e5e5e5;
    padding: 5px 10px;
    font-family: 'Lato', sans-serif;
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    /*
	background-color: #e8e8e8;
    background-image: -webkit-linear-gradient(top,#0be388 0,#016834 100%);
    background-image: -o-linear-gradient(top,#0be388 0,#016834 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#0be388),to(#016834));
    background-image: linear-gradient(to bottom,#0be388 0,#016834 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0be388', endColorstr='#ff016834', GradientType=0);
    background-repeat: repeat-x;
	color:#fff;
	*/
    color: #06783b;
    background: none;
}


/* Navbar Toggle */

.navbar-toggle {
    /*background:url(../../images/green_noise_gradient.png) left bottom;*/
    background-color: #327929;
    color: #fff;
    margin: 24px 15px;
    padding: 4px 12px;
}

.navbar-toggle .ionicons {
    font-size: 2em;
    line-height: 1em;
}


/* Carousel */

.carousel-control .icon-next:before {
    content: '\f3d3';
}

.carousel-control .icon-prev:before {
    content: '\f3d2';
}

.carousel-control .icon-next:before,
.carousel-control .icon-prev:before {
    font-family: "Ionicons";
    font-size: 2em;
}

.carousel-caption {
    top: 55%;
    bottom: 0;
    right: 10%;
    left: 50%;
    width: 40%;
    color: #fff;
    text-align: right;
    padding: 15px 25px;
    overflow: hidden;
    /*
    color: #BCC6CC;
	background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .2) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .2) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .2)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .2) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
    background-repeat: repeat-x;
	*/
}

.carousel-caption.lefttop {
    top: 5%;
    bottom: 0;
    right: 0%;
    left: 10%;
    width: 40%;
    color: #fff;
    text-align: left;
}

.carousel-caption.leftbottom {
    top: 55%;
    bottom: 0;
    right: 0%;
    left: 10%;
    width: 40%;
    color: #fff;
    text-align: left;
}

.carousel-caption h2 {
    font-family: 'Lato', sans-serif;
    font-size: 3em;
    text-transform: uppercase;
    /*text-shadow: 0 0 3px #ffff99, 0 0 5px #fff;*/
    color: #FFFFFF;
    text-shadow: 0 1px 0 #333, 0 2px 0 #393939, 0 3px 0 #444, 0 4px 0 #494949, 0 5px 0 #555, 0 6px 1px rgba(0, 0, 0, .1), 0 0 5px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .3), 0 3px 5px rgba(0, 0, 0, .2), 0 5px 10px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .2), 0 15px 15px rgba(0, 0, 0, .15);
}

.carousel-caption h2 span {
    background: url(../images/gradient-dark.png) repeat-x;
    position: absolute;
    bottom: -0.1em;
    display: block;
    width: 100%;
    height: 29px;
}

.carousel-caption p {
    font-family: 'Lato', sans-serif;
    font-size: 1.3em;
    /*color:#c4c7ce;*/
    display: none;
    text-shadow: 0 1px 0 #333, 0 2px 0 #393939;
}

.carousel-caption p.black {
    color: #333;
    text-shadow: none;
}


/* Section Bar */

#divider {
    /*background-image: url(../../images/divider_graphic_bar.png);
	background-size:cover;
	background-position:bottom;
	background-repeat:repeat-x;

	
	background-image: -webkit-linear-gradient(top,#0be388 0,#016834 100%);
    background-image: -o-linear-gradient(top,#0be388 0,#016834 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#0be388),to(#016834));
    background-image: linear-gradient(to bottom,#0be388 0,#016834 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0be388', endColorstr='#ff016834', GradientType=0);
    background-repeat: repeat-x;
	*/
    color: #3B5957;
    background-color: #327929;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, .3), 0px -1px 0px rgba(0, 0, 0, .7);
}

#divider h2 {
    margin: 0;
    padding: 20px 0;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    /*
	color: #d6d6d6;
    text-shadow: 0 1px 0 white;
	*/
    color: #FFFFFF;
}


/* Main Thumb */

.thumb-img {
    position: relative;
    overflow: hidden;
    max-height: 170px;
}

.thumb-img img {
    max-width: 100%;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}

.thumb-img:hover img {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.thumb-caption {
    /*background:url(../../images/divider_graphic_bar.png) left bottom;*/
    background-color: #327929;
    padding: 7px 10px;
    font-family: 'Lato', sans-serif;
    font-size: 1.1em;
    color: #fff;
    text-shadow: 0px 0px 3px #444;
}

.thumb-caption .fa {
    font-size: 1.25em;
    float: right;
}

.thumb-link:hover .thumb-caption {
    /*background:url(../../images/green_noise_gradient.png) right center;*/
    background-color: #33b428;
    transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out, background-image 0.4s ease-in-out;
    -moz-transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out, background-image 0.4s ease-in-out;
    -ms-transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out, background-image 0.4s ease-in-out;
    -webkit-transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out, background-image 0.4s ease-in-out;
    -o-transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out, background-image 0.4s ease-in-out;
    color: #333;
    text-shadow: 0px 0px 3px #fff;
}

.thumb-link:focus {
    outline: -webkit-focus-ring-color auto 5px;
}

@media screen and (max-width:991px) {
    .thumb-link {
        margin-bottom: 15px;
    }
}


/* Footer */

footer.footer-bar {
    background: #444;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 0.85em;
    font-weight: 200;
    line-height: 1em;
    margin: 0;
    padding: 15px 0 5px 0;
}


/* Navibar */

.navi-bar {
    font-family: 'Lato', sans-serif;
    font-size: 0.8em;
    color: #999;
    padding: 5px;
    vertical-align: bottom;
    /*
	border-bottom:solid 1px #f5f5f5;
	padding-bottom:10px;
	
	margin-bottom:15px;
	*/
}

.navi-bar span {
    padding: 5px 8px;
}

.navi-bar span.first {
    padding-left: 0;
}

.navi-bar span.font-th {
    padding: 5px 0;
}

.page-title {
    margin: 0;
}

.page-title-wrapper {
    border-bottom: solid 1px #eee;
}


/* Side Menu */

.side-menu {
    padding: 0;
    font-family: 'Lato', sans-serif;
    color: #fff;
}

.side-menu>li {
    list-style: none;
    background-color: #d5d5d5;
    margin: 0 0 1px 0;
}

.side-menu>li a {
    color: #777;
    font-size: 1.1em;
}

.side-menu>li.active {
    background-color: #016834;
}

.side-menu>li.active .fa.fa-angle-right {
    font-size: 1.5em;
    float: right;
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
    color: #fff;
    background-color: #016834;
}

.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: #b5b5b5;
}

.nav-pills>li>a {
    border-radius: 0;
}

.nav>li>a {
    padding: 8px 8px 8px 10px;
    height: 27px;
}

.nav.nav-pills>li>a {
    padding: 8px 8px 8px 10px;
    height: 37px;
}

.nav-stacked>li+li {
    margin-top: 0;
}


/* Contact on Sidebar */

#contact-shortcut {
    font-family: 'Lato', sans-serif;
    font-size: 0.85em;
    margin-top: 35px;
}

#contact-shortcut.nomg {
    margin-top: 0;
}

.contact-site {
    font-family: 'Lato', sans-serif;
    font-size: 1.15em;
}


/* Content */

.main-img {
    overflow: hidden;
    background-size: 100%;
    background-repeat: no-repeat;
}

#body-content {
    margin-bottom: 55px;
}

#body-content h3 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.gallery {
    display: inline-block;
    margin-top: 20px;
    padding-left: 0;
}

.thumbnail {
    border-radius: 0;
}

.gallery li.gallery-item {
    display: none;
    float: left;
    list-style: none;
    padding: 0 15px;
}

.more {
    font-family: 'Lato', sans-serif;
    background-color: transparent;
    border: solid 1px #0f9544;
    clear: both;
    color: #0f9544;
    cursor: pointer;
    display: block;
    font-size: 14px;
    margin-top: 6px;
    padding: 6px 0;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.more:hover {
    background-color: #0f9544;
    color: #fff;
}


/* Contact */

#fact-info i {
    font-size: 1.35em;
    width: 35px;
}


/* Machine */

.machinelist {
    float: left;
    width: 19.5%;
    padding: 5px 0;
    margin: 0.25%;
    background-repeat: no-repeat;
    background-color: #fff;
    cursor: pointer;
}

.machinelist p {
    text-align: center;
    vertical-align: bottom;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    text-shadow: none;
    background-color: rgba(0, 0, 0, 0.4);
}

.machinelist1 {
    background-image: url(../../images/machinery/machine_laser1.jpg);
    background-size: 160%;
    background-position: 60% 45%;
}

a:hover .machinelist1 {
    background-size: 200%;
    background-position: 70% 40%;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    -webkit-filter: brightness(110%);
    /* Safari */
    filter: brightness(110%);
}

.machinelist2 {
    background-image: url(../../images/machinery/punch_2.jpg);
    background-size: 170%;
    background-position: 30% 45%;
}

a:hover .machinelist2 {
    background-size: 210%;
    background-position: 30% 55%;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    -webkit-filter: brightness(110%);
    /* Safari */
    filter: brightness(110%);
}

.machinelist3 {
    background-image: url(../../images/machinery/machine_vcut1.jpg);
    background-size: 210%;
    background-position: 98% 50%;
}

a:hover .machinelist3 {
    background-size: 280%;
    background-position: 98% 45%;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    -webkit-filter: brightness(110%);
    /* Safari */
    filter: brightness(110%);
}

.machinelist4 {
    background-image: url(../../images/machinery/machine_bend1.jpg);
    background-size: 150%;
    background-position: 10% 35%;
}

a:hover .machinelist4 {
    background-size: 190%;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    -webkit-filter: brightness(110%);
    /* Safari */
    filter: brightness(110%);
}

.machinelist5 {
    background-image: url(../../images/machinery/machine_cut2.jpg);
    background-size: 160%;
    background-position: 10% 35%;
}

a:hover .machinelist5 {
    background-size: 200%;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    -webkit-filter: brightness(110%);
    /* Safari */
    filter: brightness(110%);
}

@media screen and (max-width:553px) {
    #body-content {
        width: 100%;
    }
    .navbar-brand img {
        height: 58px;
        margin-top: 8px;
    }
    .navbar-brand {
        padding: 0;
        position: absolute;
    }
    .navbar-toggle {
        margin: 18px 5px;
    }
    .navbar-nav {
        margin: 0 -15px;
        margin-bottom: 15px;
    }
    .navbar-collapse {
        margin: 0;
    }
    .navbar-nav>li>.dropdown-menu {
        margin-top: -10px;
        padding: 0 15px;
    }
    #nav-menu .nav>li>a {
        margin: 0 15px;
        padding: 10px 0;
        height: 42px;
    }
    #nav-menu .nav>li.lang-icon>a {
        margin: 0 15px;
        padding: 5px 0;
        height: 42px;
    }
    .navbar-nav .open .dropdown-menu>li>a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 10px 15px;
    }
    .navbar-default .navbar-nav>li>a {
        border-bottom: solid 1px #e5e5e5;
    }
    .navbar-default .navbar-nav>li.active>a,
    .navbar-default .navbar-nav>li.open>a {
        border-bottom: none;
    }
    .navbar-toggle {
        margin-left: 0;
    }
    #nav-menu .nav>li.lang-icon {
        padding: 0 31.5%;
    }
    #nav-menu .nav>li>a.lang-link {
        margin: 0 5px;
        border-bottom: none;
    }
    a.lang-link img {
        width: 45px;
    }
    .carousel-caption {
        right: 5%;
        left: 5%;
        width: 90%;
        top: 50%;
    }
    .carousel-caption.lefttop {
        right: 5%;
        left: 5%;
        width: 90%;
        top: 10%;
    }
    .carousel-caption.leftbottom {
        right: 5%;
        left: 5%;
        width: 90%;
        top: 50%;
    }
    .carousel-caption h2 {
        font-size: 1.5em;
        text-shadow: none;
    }
    .carousel-indicators {
        bottom: 0px;
    }
    #divider h2 {
        padding: 5px 0 10px 0;
    }
    #divider h2 span.hidden-bb {
        font-size: 0.7em;
    }
    .bdmenu {
        margin: 15px auto 0 auto;
    }
    .thumb-img {
        height: 85px;
    }
    .thumb-link-odd {
        padding-right: 7.5px;
    }
    .thumb-link-even {
        padding-left: 7.5px;
    }
    .main-img-about {
        height: 160px;
        background-position: -100px 0px;
        background-size: 150%;
    }
    .main-img-awards {
        height: 160px;
        background-position: 70% 0;
        background-size: 165%;
        background-color: #0c0d07;
    }
    .main-img-contact {
        height: 160px;
        background-position: 100% 15%;
        background-size: 345%;
        background-color: #fff;
    }
    .main-img-machinery {
        height: 160px;
        background-position: 10% 73%;
        background-size: 165%;
        background-color: #fff;
    }
    .main-img-product {
        height: 160px;
        background-position: 65% 35%;
        background-size: 180%;
        background-color: #fff;
    }
    .gallery li.gallery-item {
        width: 100%;
    }
    #service-gallery.gallery li.gallery-item {
        width: 50%;
    }
    .hidden-desktop {
        display: block;
    }
    .machinelist {
        height: 160px;
        width: 49.5%;
        margin-bottom: 55px;
    }
    .machinelist p {
        margin-top: 155px;
        height: 52px;
        padding: 5px 10px;
    }
    .navi-bar.pull-right {
        float: none !important;
        width: 100%;
        text-align: left;
    }
}

@media screen and (min-width:554px) and (max-width:767px) {
    #body-content {
        width: 100%;
    }
    .navbar-nav {
        margin: 0 -15px;
        margin-bottom: 15px;
    }
    .navbar-brand {
        padding: 0;
    }
    .navbar-collapse {
        margin: 0;
    }
    .navbar-nav>li>.dropdown-menu {
        margin-top: -10px;
        padding: 0 15px;
    }
    #nav-menu .nav>li>a {
        margin: 0 15px;
        padding: 10px 0;
        height: 42px;
    }
    #nav-menu .nav>li.lang-icon>a {
        padding: 0;
        height: 30px;
    }
    .navbar-nav .open .dropdown-menu>li>a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 10px 15px;
    }
    .navbar-default .navbar-nav>li>a {
        border-bottom: solid 1px #e5e5e5;
    }
    .navbar-default .navbar-nav>li.active>a,
    .navbar-default .navbar-nav>li.open>a {
        border-bottom: none;
    }
    #nav-menu .nav>li.lang-icon {
        padding: 0 40%;
    }
    #nav-menu .nav>li>a.lang-link {
        border-bottom: none;
    }
    a.lang-link img {
        width: 45px;
    }
    .carousel-caption {
        right: 5%;
        left: 5%;
        width: 90%;
        top: 50%;
    }
    .carousel-caption.lefttop {
        right: 5%;
        left: 5%;
        width: 90%;
        top: 10%;
    }
    .carousel-caption.leftbottom {
        right: 5%;
        left: 5%;
        width: 90%;
        top: 50%;
    }
    .carousel-caption h2 {
        font-size: 1.5em;
        text-shadow: none;
    }
    .carousel-indicators {
        bottom: 0px;
    }
    #divider h2 {
        padding: 5px 0 10px 0;
    }
    #divider h2 span.hidden-bb {
        font-size: 0.7em;
    }
    .bdmenu {
        margin: 15px auto 0px auto;
    }
    .thumb-img {
        height: 85px;
    }
    .thumb-link-odd {
        padding-right: 7.5px;
    }
    .thumb-link-even {
        padding-left: 7.5px;
    }
    .main-img-about {
        height: 220px;
        background-position: 0 -70px;
    }
    .main-img-awards {
        height: 220px;
        background-position: 50% 0;
        background-size: 122%;
        background-color: #0c0d07;
    }
    .main-img-contact {
        height: 220px;
        background-position: 95% 50%;
        background-size: 180%;
        background-color: #fff;
    }
    .main-img-machinery {
        height: 220px;
        background-position: 0% 73%;
        background-size: 145%;
        background-color: #fff;
    }
    .main-img-product {
        height: 220px;
        background-position: 40% 35%;
        background-size: 140%;
        background-color: #fff;
    }
    .gallery li.gallery-item {
        width: 50%;
    }
    #service-gallery.gallery li.gallery-item {
        width: 25%;
    }
    .hidden-desktop {
        display: block;
    }
    .machinelist {
        height: 120px;
    }
    .machinelist p {
        margin-top: 114px;
        height: 52px;
        padding: 5px 0;
    }
    .navi-bar.pull-right {
        float: none !important;
        width: 100%;
        text-align: left;
    }
}

@media screen and (min-width:768px) {
    #header .navbar.navbar-default {
        height: 55px;
    }
    .navbar-collapse {
        margin: 4px 0;
    }
    .navbar-nav>li>.dropdown-menu {
        margin-top: -8px;
        padding: 10px;
    }
    #nav-menu .nav>li>a {
        margin: 10px 5px;
    }
    .navbar-default .navbar-nav>li>a {
        font-size: 0.8em;
    }
    .navbar-right {
        margin-right: -25px;
        margin-top: -1px;
    }
    .navbar-brand img {
        height: 50px;
        margin-top: 2px;
    }
    .container-fluid>.navbar-header {
        margin-left: -10px;
    }
    #divider h2 span.hidden-bb {
        display: none;
    }
    .content {
        padding-left: 0;
    }
    .carousel-caption p {
        display: block;
    }
    .bdmenu {
        margin: 25px auto;
    }
    .main-img-about {
        height: 220px;
        background-position: 0;
        background-size: cover;
    }
    .main-img-awards {
        height: 220px;
        background-position: 30% 0;
        background-size: 115%;
        background-color: #0c0d07;
    }
    .main-img-contact {
        height: 220px;
        background-position: 93% 50%;
        background-size: 185%;
        background-color: #fff;
    }
    .main-img-machinery {
        height: 220px;
        background-position: -5% 73%;
        background-size: 145%;
        background-color: #fff;
    }
    .main-img-product {
        height: 220px;
        background-position: 35% 35%;
        background-size: 135%;
        background-color: #fff;
    }
    .gallery li.gallery-item {
        width: 50%;
    }
    #service-gallery.gallery li.gallery-item {
        width: 20%;
    }
    .hidden-desktop {
        display: none;
    }
    .machinelist {
        height: 120px;
    }
    .machinelist p {
        margin-top: 115px;
        height: 52px;
        padding: 5px 0;
    }
}

@media screen and (min-width:992px) {
    #header .navbar.navbar-default {
        height: 66px;
    }
    .navbar-collapse {
        margin: 12px 0;
    }
    #nav-menu .nav>li>a {
        margin: 9.5px 10px;
    }
    .navbar-default .navbar-nav>li>a {
        font-size: 0.9em;
    }
    .navbar-right {
        margin-right: -25px;
        margin-top: 0px;
    }
    .navbar-brand img {
        height: 60px;
        margin-top: 2px;
    }
    .main-img-about {
        height: 245px;
        background-position: 0;
    }
    .main-img-awards {
        height: 245px;
        background-position: 100% 0;
        background-size: 100%;
        background-color: #0c0d07;
    }
    .main-img-contact {
        height: 245px;
        background-position: 93% 0;
        background-size: 185%;
        background-color: #fff;
    }
    .main-img-machinery {
        height: 245px;
        background-position: 0% 73%;
        background-size: 125%;
        background-color: #fff;
    }
    .main-img-product {
        height: 245px;
        background-position: 10% 35%;
        background-size: 119%;
        background-color: #fff;
    }
    .lang-icon {
        padding-left: 10px;
        margin-top: -1px;
    }
    .gallery li.gallery-item {
        width: 33.33333333%;
    }
    #service-gallery.gallery li.gallery-item {
        width: 20%;
    }
    .machinelist {
        height: 155px;
    }
    .machinelist p {
        margin-top: 150px;
        height: 52px;
        padding: 5px 0;
    }
}

@media screen and (min-width:1200px) {
    #nav-menu .nav>li>a {
        margin: 9.5px 15px;
    }
    .navbar-default .navbar-nav>li>a {
        font-size: 1.05em;
    }
    .main-img-about {
        height: 300px;
        background-position: 0 -35px;
    }
    .main-img-awards {
        height: 300px;
        background-position: 100% 0;
        background-size: 90%;
        background-color: #0c0d07;
    }
    .main-img-contact {
        height: 300px;
        background-position: 100% 0;
        background-size: 170%;
        background-color: #fff;
    }
    .main-img-machinery {
        height: 300px;
        background-position: 0% 73%;
        background-size: 120%;
        background-color: #fff;
    }
    .main-img-product {
        height: 300px;
        background-position: 0% 35%;
        background-size: 110%;
        background-color: #fff;
    }
    .machinelist {
        height: 200px;
    }
    .machinelist p {
        margin-top: 155px;
        height: 41px;
        padding: 10px 0;
    }
}


/* Custom */

.font-th {
    font-family: 'Prompt', sans-serif;
}

.font-th-detail {
    font-family: 'Prompt', sans-serif;
    font-size: 1.21999em;
}

.menu_link .font-th {
    font-size: 1.2em;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Open Sans', sans-serif;
}

a {
    color: #555;
    text-shadow: none;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

a:hover,
a:active,
a:focus {
    color: #0f9544;
    text-decoration: none;
    text-shadow: none;
}

.pads {
    padding: 7.5px;
}

.padall {
    padding: 15px;
}

.container.padall {
    min-height: 55vh;
}

.padbt {
    padding-bottom: 15px;
}

.nopadr {
    padding-right: 0;
}

.nomg {
    margin: 0;
}

.mgt25 {
    margin-top: 25px;
}

.mgb25 {
    margin-bottom: 25px;
}

.content-body-grey {
    background-color: #f5f5f5;
    padding: 30px 0;
    margin: 30px 0;
}

.container-white {
    background: #fff;
}

.container-white-frame {
    background: #fff;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
    padding: 4px;
    border: 1px solid #ddd;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}

.container-white-frame p,
.container-white-frame h4 {
    padding: 0 8px;
}

.container-grey {
    background: #f7f7f8;
}

.text-green {
    color: #0f9544;
}

.text-grey {
    color: #888;
}


/*---- Service ----*/

#slide_carousel .item {
    color: #000;
    background-color: #eee;
    padding: 0;
}

#slide_carousel .controls {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    /*white-space: nowrap;*/
    text-align: center;
    position: relative;
    background: #ddd
}

#slide_carousel .controls li {
    display: table-cell;
    width: 1%;
    max-width: 90px;
    border-right: solid 1px #fff;
    border-top: solid 1px #fff;
}

#slide_carousel .controls li:last-child {
    border-right: 0;
}

#slide_carousel .controls li.active {
    background-color: #eee;
    border-top: 3px solid orange;
}

#slide_carousel .nav>li>a {
    position: relative;
    display: block;
    padding: 10px;
}

.padtp {
    padding: 0 0 15px 0;
}

.slide_caption {
    font-size: 1.2em;
    font-family: 'Prompt', sans-serif;
    padding: 12px 5px;
    text-align: left;
}

#slide_carousel .controls li.active {
    border-top: 3px solid #008000;
}

.controls .nav>li>a {
    padding: 8px 8px 8px 10px;
    height: auto;
}

@media (max-width: 767px) {
    #slide_carousel .controls {
        /*display:none;*/
    }
    .controls .nav>li>a .col-md-6 {
        padding: 0;
        padding-bottom: 5px;
    }
    .slide_caption {
        font-size: 0.9em;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .slide_caption {
        font-size: 1.05em;
        text-align: center;
        padding: 8px 5px 0 5px;
    }
}

@media (min-width: 768px) {
    .sidebar-nav .navbar .navbar-collapse {
        padding: 0;
        max-height: none;
    }
    .sidebar-nav .navbar ul {
        float: none;
    }
    .sidebar-nav .navbar ul:not {
        display: block;
    }
    .sidebar-nav .navbar li {
        float: none;
        display: block;
    }
    .sidebar-nav .navbar li a {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}


/* ----- Product ----- */

.btn-call {
    white-space: normal;
}

@media (max-width: 767px) {
    .btn-call {
        width: 100%;
    }
}


/* ----- Sample Work ----- */

.row-half {
    margin: auto 0px
}

.rows-o.col-xs-12,
.rows-o.col-xs-6,
.rows-o.col-xs-4,
.rows-o.col-xs-3 {
    padding: 0;
}

.gallery {
    margin-top: 0;
}

.gallery-item {
    padding: 0 0 5px 5px;
}

.nopadleft {
    padding-left: 0;
}

.thumbnail {
    margin-bottom: 0;
}