/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/template-overviews/modern-business)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */


/* =================================== */
/*  Font Family and Colors Styles

/* Green1           - #019b43 */
/* Green1 Light     - #4db97b */
/* Green1 Dark      - #016d2f */

/* Blue             - #0059a1 */
/* Blue Light       - #4d8bbd */
/* Blue Dark        - #003e71 */

/* Green2           - #006842 */
/* Green2 Light     - #4d957b */
/* Green2 Dark      - #00492e */


body {
    background-color: #f2f3f4;
    padding-top: 54px;
    font-family: "Sarabun", sans-serif;
    color: #222;
}

@media (min-width: 992px) {
    body {
        padding-top: 0px;
    }
}

.portfolio-item {
    margin-bottom: 30px;
}

#scroll{
    position:fixed;
    bottom:120px;
    right:50px;
}
a {
    text-decoration : none;
}
/* =================================== */
/*  Navbar & TopBar
/* =================================== */

.navbar-custom,
.navbar-custom a {
    color: #555;
}

.navbar {
    margin-top: 60px;
}
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#019b43+30,0059a1+100 */
.navbar-custom {
    color: #FFF;
    border: 0;
    padding: 0;
    margin-top: 44px;
    -webkit-transition: padding 0.25s, background 0.25s;
    -moz-transition: padding 0.25s, background 0.25s;
    -ms-transition: padding 0.25s, background 0.25s;
    -o-transition: padding 0.25s, background 0.25s;
    transition: padding 0.25s, background 0.25s;
    border-radius: 0px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);

    background: #019b43; /* Old browsers */
    background: -moz-linear-gradient(left, #019b43 30%, #0059a1 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #019b43 30%,#0059a1 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #019b43 30%,#0059a1 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#019b43', endColorstr='#0059a1',GradientType=1 ); /* IE6-9 */
}


.navbar-custom.menu-bg {
   /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#019b43+30,0059a1+100 */
    background: #019b43; /* Old browsers */
    background: -moz-linear-gradient(left, #019b43 30%, #0059a1 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #019b43 30%,#0059a1 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #019b43 30%,#0059a1 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#019b43', endColorstr='#0059a1',GradientType=1 ); /* IE6-9 */
}


/* change the brand and text color */

.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: #4286f4;
}


/* change the link color */

.navbar-custom .navbar-nav .nav-link {
    color: #FFF;
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-custom .navbar-nav .nav-link:hover {
    background-color: #fff;
    color: #333 !important;
    border-radius: 0px;
}


/* change the color of active or hovered links */

.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #fff;
}


/* for dropdown only - change the color of droodown */

.navbar-custom .dropdown-menu {
    background-color: #fff;
    border-radius: 0px;

}

.navbar-custom .dropdown-submenu {
    list-style:none;
    overflow:hidden;
}




.navbar-custom .dropdown-item {
    color: #333;
    line-height: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    padding-left: 15px;
}

.navbar-custom .dropdown-item:active,
.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    color: #000;
    background-color: #b3e1c7;
}
.nav-link.dropdown-toggle:hover{ color:#000000 !important;}

.dropdown-menu > .dropdown {
  position: relative;
}
.navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    right: 0px !important;
}

.dropdown-menu > .dropdown a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: .9rem;
  top: .9rem;
}

.dropdown-menu > .dropdown .dropdown-menu {
    top: -11px !important;
    left: 157px !important;
}
.dropdown-menu .show > .dropdown-toggle::after{
    transform: rotate(-90deg);
    left: 100%;
    border-radius: 0 .25rem .25rem .25rem;
}
/* Nested dropdown position */
.dropdown-menu .dropdown-menu {
    left: 100%;
    top: 0;
    margin-left: 0.1rem;
}

/* Show on hover (optional) */
.dropdown:hover>.dropdown-menu {
    display: block;
}


.top-logo {
    position: relative;
    padding: 10px 20px 10px 20px;
}

.top-menu {
    background: #666;
    color: #FFF;
    margin: 0px -15px 0px -15px;
    padding: 10px 0px 10px 0px;
}

.top-line {
    background:#3a3a3a;
    padding:10px 0px;
    margin:0px -15px 0px -15px;
    color:#FFF;
}

.top-line-left {
    padding-left:20px;
    text-align:left;
}

.top-line-right {
    padding-right:20px;
    text-align:right;
}

.top-line a{
    color:#FFF;
}

.top-line .btn-echannel {
    font-size:16px;
    font-weight:bold;
    color: #fff !important;
    border-radius: 20px;
    padding: 5px 20px 5px 20px;
    text-align: center;
    margin-top:-8px;
}

.top-line .btn-echannel:hover{
    background-color:#fff;
    color: #333 !important;
    text-decoration: none;
}

.btco-menu li > a {
    padding: 10px 15px;
    color: #000;
}

.btco-menu li > a {
    padding: 10px 15px;
    color: #000;
}

.btco-menu .active a:focus,
.btco-menu li a:focus ,
.navbar > .show > a:focus{
    background: transparent;
    outline: 0;
}




/* =================================== */
/*  Home Full Screen Slider
/* =================================== */

.homeSlider .carousel-inner,
.homeSlider .carousel-item {
    height: 100vh !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.homeSlider .carousel-caption h2 {
    font-size: 60px;
}

@media (max-width: 768px) {
    .homeSlider .carousel-caption h2 {
        font-size: 35px;
    }
}


/* =================================== */
/*  Sutex Section1
/* =================================== */

.sutex-section1 {
    padding: 20px 0px 20px 0px;
}

.sutex-section1 .blockquote {
    margin: 0 0 1rem;
    margin-left: 0px;
    padding-left: 20px;
    border-left: 5px solid #999;
    margin-left: 20px;
    font-size: 18px;
}

.sutex-section1 h1 {
    color: #0059a1;
    margin-top: 20px;
    font-family: 'Roboto Slab', serif;
}

.sutex-section1 h2 {
    color: #0059a1;
    margin-top: 20px;
    font-family: 'Roboto Slab', serif;
}

.stats-spotlight {
    color: #00539B;
    font-family: 'Roboto Slab', serif;
}

.stats-spotlight {
    -ms-flex-align: center;
    align-items: center;
    color: #0059a1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align:center;
}

.stats-spotlight__stats {
    display: -ms-flexbox;
    display: flex;
    margin: 2rem 0 1rem;
}
.stats-spotlight__stat-container {
    border-left: 7px solid #019b43;
    margin-right: 1rem;
}


/* =================================== */
/*  Sutex Parallax1 Section
/* =================================== */

.sutex-parallax1-a {
    background-color:#019b43;
    color: #fff;
}

.sutex-parallax1-a  a {
    color: #fff;
}

.sutex-parallax1-a  a:hover {
    color: #000;
}

.sutex-parallax1-a h2 {
    color: #fff;
    margin-top: 20px;
    font-family: 'Roboto Slab', serif;
}

.sutex-parallax1-a .btn-apps {
    max-width:500px;
}



.sutex-parallax1-b {
    background-color:#0059a1;
    color: #fff;
}

.sutex-parallax1-b a {
    color: #fff;
}

.sutex-parallax1-b  a:hover {
    color: #000;
}

.sutex-parallax1-b h2 {
    color: #fff;
    margin-top: 20px;
    font-family: 'Roboto Slab', serif;
}



/* =================================== */
/*  Sutex Section2
/* =================================== */

.sutex-section2 {
    padding: 20px 0px 20px 0px;
}

.sutex-section2 h2 {
    color: #0059a1;
    margin-top: 20px;
    font-family: 'Roboto Slab', serif;
}

.sutex-section2 h4 {
    color: #444;
    margin-bottom:20px;
}


/* =================================== */
/*  Sutex Parallax2 Section
/* =================================== */

.sutex-parallax2 {
    background-image: url(../../assets/images/sutex-front-parallax2.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
    padding: 0px;
    color: #222;
}

.sutex-parallax2 h2 {
    color: #0059a1;
    margin-top: 20px;
    font-family: 'Roboto Slab', serif;
}
.sutex-parallax2 h4 {
    color: #0059a1;
    margin-top: 10px;
    font-family: 'Roboto Slab', serif;
}

.sutex-parallax2 h4 span {
    color: #222;
}

.sutex-parallax2 .display-4 {
    font-size: 3.0rem;
    font-weight: 500;
    color:#222;
}



/* =================================== */
/*  Sutex Section3
/* =================================== */

.sutex-section3 {
    padding: 0px 0px 20px 0px;
}

.sutex-section3 h2 {
    color: #0059a1;
    font-family: 'Roboto Slab', serif;
}

.sutex-section3 h4 {
    color: #444;
}

.card {
    background-color: #FFF;
    border: none;
    border-radius:0px;
    border-bottom: 7px solid #0059a1;
    max-width: 100%;
}

.card-img-top {
    border-radius: 0rem;
}

/* =================================== */
/*  Innerpage Header
/* =================================== */
.sutex-innerheader {
    padding: 30px 0px 0px 0px;
}

.sutex-innerheader .banner-section {
    padding: 100px 0 80px 0;
    position: relative;
    background-image: url(../../assets/images/inner-banner.jpg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f2f3f4;
    height: 250px;
}

.sutex-innerheader h2 {
    color: #FFF;
    margin-top: 50px;
    font-family: 'Roboto Slab', serif;
    padding-left:20px;
}

.sutex-innerheader .breadcrumb {
    color:#fff;
    margin-top:50px;
    background-color: transparent !important;
    float: right;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    color: #fff;
    content: "/";
}

.sutex-innerheader .breadcrumb a{
    color:#fff;
    text-decoration:none;
}

.sutex-innerheader .breadcrumb a:hover{
    color:#ffc107;
}

.sutex-innerheader .breadcrumb-item.active {
    color:#fff;
}
.page-banner-section .breadcrumb{ padding: .75rem 0rem; }


/* =================================== */
/*  Innerpage Content
/* =================================== */
.sutex-innercontent {
    padding: 20px 0px 40px 0px;
}

.sutex-innercontent .blockquote {
    margin: 0 0 1rem;
    margin-left: 0px;
    padding-left: 20px;
    border-left: 5px solid #999;
    margin-left: 20px;
    font-size: 18px;
}
.sutex-innercontent h1 {
    color: #0059a1;
    margin-top: 20px;
    font-family: 'Roboto Slab', serif;
}

.sutex-innercontent h2 {
    color: #0059a1;
    padding-top: 20px;
    font-family: 'Roboto Slab', serif;
}

.sutex-innercontent .p-5 {
    padding:1rem !important;
}
/*
.side-box{
    border:1px solid #e8e8e8;
    padding-left:10px;
}

.side-box h2{ padding-left:20px; }
.side-box ul{list-style:none; padding-left: 25px; padding-right:25px;}
.side-box ul li{ border-bottom: 1px solid #ffffff; padding: 0.5rem 0rem; }
.side-box ul li i{ color: #cccccc;}
.side-box ul li a{ text-decoration:none;}
*/
.sutex-innercontent a.list-group-item-light { color:#222; }
.sutex-innercontent a.list-group-item-light:hover { color:#0059a1; }
.sutex-innercontent a.list-group-item-light.active { color:#ffffff; }

#accordionBranch .card{ border: 1px solid #e5e5e5; border-radius:0px; }
#accordionBranch .card .card-header {
    padding: 0;
    margin-bottom: 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

#accordionBranch .card a{
    display: block;
    padding:0.75rem 1rem;
    text-align: left;
    font-size:22px;
}
#accordionBranch .card a:hover{
    background:#e5e5e5;
    display: block;
    text-align: left;
    border-radius:none;
}

/* =================================== */
/*  Footer Section
/* =================================== */

.footer-section {
    background-color: #f2f3f4;
    color:#9e9e9e;
}

.footer-section h5 {
    font-family: 'Roboto Slab', serif;
    color: #0059a1;
}

.footer-section h4 {
    font-family: 'Roboto Slab', serif;
    color: #0059a1;
}

.footer-section h3 {
    font-family: 'Roboto Slab', serif;
    color: #0059a1;
}

.footer-section h2 {
    font-family: 'Roboto Slab', serif;
    color: #fff;
}

.footer-section h1 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
}

.footer-section .footer-top {
    background: url(../../assets/images/bg-footer.jpg);
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    background-color:#f2f3f4;
    color:#222;
}

.footer-section .footer-top .47yrs !important {
    background-color:#000;
    position: relative;
    bottom: -100px;
    margin: 20px 30px auto auto;
    z-index:900;
    display:block;
}

.footer-section .footer-top ul li {
  margin-left:10px;
  list-style: outside none none;
  margin-left:-40px;
  line-height:2rem;
}

.footer-section .footer-top ul li a {
  color:#222;
}

.footer-section .footer-top ul li a:hover {
  color:#0059a1;
}

.footer-section .footer-top .address-text {
  line-height:2rem;
}

.footer-section .footer-top .address-text a {
  color:#222;
}
.footer-section .footer-top .address-text a:hover {
  color:#0059a1;
}

.footer-section .footer-middle {
    background-color: #019b43;
    color:#FFF;
}

.footer-section .footer-middle h2 {
    font-family: 'Roboto Slab', serif;
    color: #fff;
    margin-top:10px;
}

.footer-section .footer-middle a {
    color: #fff;
}

.footer-section .footer-middle a:hover {
    color: #0059a1;
}

.footer-section .footer-bottom {
    background-color: #222222;
}

.footer-section .footer-bottom a {
    color: #9e9e9e;
}

.footer-section .footer-bottom a:hover {
    color: #23e000;
}

.footer-section .footer-bottom .footer-credit {
    text-align:right;
}

.footer-section .footer-middle .footer-slogan {
    text-align:right;
}



/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
/* Media CSS */


/* Small devices (landscape phones, 576px and up) */

@media (max-width: 576px) {
    .navbar {
        margin-top: 80px;
    }
    .navbar-brand img {
        width: 80vw;
        padding-left:0.725rem;
    }
    .homeSlider .carousel-inner,
    .homeSlider .carousel-item {
        height: 40vh;
    }
    .homeSlider .carousel-caption {
        height: 33.33vh;
    }
    .homeSlider .carousel-caption h2 {
        font-size: 30px;
    }
    .homeSlider .carousel .carousel-indicators {
        bottom: 5%;
    }
    .homeSlider .carousel-item {
        margin-top:40%;
    }
    .top-social{
        margin:0px;
        color:#FFF;
        text-align:center;
    }

    .sutex-section1 {
        padding: 0px 0px 20px 0px;
    }
    .sutex-section3 {
        padding: 0px 0px 0px 0px;
    }
    .sutex-section1 .justify-content-center {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
        flex-wrap: wrap;
    }
    .stats-spotlight__stat-container {
        border-bottom: 7px solid #019b43;
        border-left: 0px solid #019b43;
        padding-top:1rem;
    }
    .top-line {
        height:17vh;
    }
    .top-line-left {
        font-size:smaller;
        overflow:hidden;
        text-align:center;
    }
    .top-line-right {
        text-align:center;
    }
    .top-line .btn-echannel {
        font-size:smaller;
    }
    .sutex-section2 {
        padding-bottom: 20px;
        padding-top:20px;
        text-align:center;
    }
    .sutex-parallax1-a .w-50 {
        width: 100% !important;
    }
    .sutex-parallax1-b .w-50 {
        width: 100% !important;
    }
    .sutex-parallax1-a .p-5 {
        padding:1rem !important;
    }
    .sutex-parallax1-b .p-5 {
        padding:1rem !important;
    }
    .sutex-parallax1-a .btn-apps img {
        max-width:150px !important ;
    }
    .sutex-parallax2 {
        background-position: center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -ms-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    .sutex-parallax2 h2 {
        font-size:1.5rem;
    }
    .sutex-parallax2 h4 {
        font-size:1rem;
    }
    .sutex-parallax2 h4 span {
        font-size:1rem;
    }
    .sutex-parallax2 .display-4 {
        font-size:2.0rem;
    }
    .sutex-parallax2 .p-5 {
        padding:1rem !important;
    }
    .sutex-innercontent {
        margin-top: -50px;
    }
    .sutex-innercontent h2 {
        padding-top: 0px;
    }
    .sutex-innerheader .banner-section {
        height:30vh;
    }
    .sutex-innerheader h2 {
        text-align: center;
        margin-top: 0px;
    }
    .footer-section .footer-top {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -ms-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    .footer-section .footer-top img {
        max-width:300px !important ;
        text-align:center;
    }
    .footer-section .footer-top .p-5 {
        padding:1.5rem !important;
    }
    .footer-section .footer-bottom .p-5 {
        padding:1rem !important;
    }
    .footer-section .footer-middle .p-5 {
        padding:1rem !important;
    }
    .footer-section .footer-bottom {
        text-align:center !important;
    }
    .footer-section .footer-bottom img{
        max-width:150px !important ;
    }
    .footer-section .footer-middle {
        text-align:center !important;
    }
    .footer-section .footer-bottom .footer-credit {
        text-align:center !important;
    }
    .footer-section .footer-middle .footer-slogan {
        text-align:center !important;
    }
    #scroll{
        display:none;
    }

}


/* Medium devices (tablets, 768px and up) */

@media (min-width: 576px) and (max-width: 768.98px) {
    .homeSlider .carousel-inner,
    .homeSlider .carousel-item {
        height: 33.33vh;
    }
    .homeSlider .carousel-caption h2 {
        font-size: 30px;
    }
    .homeSlider .carousel-caption {
        height: 33.33vh;
    }
    .homeSlider .carousel .carousel-indicators {
        bottom: 0;
    }
}


/* Large devices (desktops, 992px and up) */

@media (min-width: 768.99px) and (max-width: 1199.98px) {}


/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {}
/* Sticky Social Icons  */
#fixed-social {
    z-index: 1000;
    position: fixed;
    top: 200px;
    margin-left:10px;
}
#fixed-social a {
    z-index: 1000;
    color: #fff;
    display: block;
    padding: 0.5rem;
    position: relative;
    text-align: center;
    margin-bottom: 0px;
    font-weight:bold;
    margin-top: 5px;
}
#fixed-social a span {
    padding: 1rem;
    position: absolute;
    text-align: center;
    visibility: hidden;
    transition-duration: 0.5s;
    z-index: 1000;
    opacity: 0;
    margin-top: 0px;
    font-weight:bold;
}
.fixed-facebook{
    background-color: #3B5998;
}
.fixed-twitter{
    background-color: #00aced;
}
.fixed-youtube{
    background-color: #EE1C1B;
}
.fixed-linkedin{
    background-color: #0a66c2;
}
.fixed-instagram{
    background: rgb(43,89,234);
    background: linear-gradient(180deg, rgba(43,89,234,1) 0%, rgba(158,53,183,1) 34%, rgba(253,117,87,1) 100%);
}
/* gallery using head remove */
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10 !important;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,.3);
}
