@import url('https://fonts.googleapis.com/css?family=Kanit:300,600&subset=vietnamese');
/*START GLOBAL*/
html {
	font-size: 10px;
}
body {
	margin: 0;
    padding: 0;
    font-size: 1.6rem;
    color: #333;
    overflow-x: hidden;
}
body * {
    box-sizing: border-box;
    position: relative;
}
header, section, footer, aside, nav, main, article, figure {
    display: block;
}
/*END GLOBAL*/
p {
    line-height: 180%;
}
.bg-light {
    background: #faf8f5;
}
.bg-dark {
    background: #333;
}
.bg-orange {
    background: #f2621c;
}
.text-orange {
    color: #f2621c;
}
a article {
    color: #333!important
}
a:hover {
    text-decoration: none;
}
a, a:active, a:hover, a:focus,
button, button:active, button:hover, button:focus {
    outline: 0!important;
}

/* Header */
.my-navbar {
    background: white!important;
    border-bottom: 1px solid #dddddd;
}
.navbar-brand  {
    width: 165px;
}
.navbar-brand picture {
    width: 170px;
}
.navbar-brand span {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'kanit', sans-serif;
    margin-bottom: -0.4rem;
    color: rgba(0,0,0,.5);
}
.my-navbar a.nav-link {
    text-transform: uppercase;
    font-size: 1.4rem;
    padding: 1.3rem 0;
    margin: 0 1.3rem;
}
.my-navbar .navbar-nav li:hover > a.nav-link {
    color: white;
}
.my-navbar .navbar-nav li.nav-item {
    border-bottom: 1px dotted #ddd;
}
.my-navbar li:hover {
    color: white;
    background: #F2621C;
}
.my-navbar .navbar-nav .active > a.nav-link,
.my-navbar .navbar-nav .active:hover > a.nav-link{
    color: white;
    background: #F2621C;
}
.my-navbar .navbar-toggler {
    border: none;
}
.my-navbar .navbar-toggler:hover {
    color: #F2621C;
}
/* End Header */

/* Banner */
.banner-inner {
    height: 20rem;
    background: url('/images/blogs/ban1.jpeg') center center no-repeat;
    background-size: cover;
}
.banner-text {
    /*background: white;*/
    width: auto;
    height: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    color: white;
    text-shadow: 1px 1px 0 rgba(0,0,0,.2)
}
.banner-text:before, .banner-text:after {
    content: "";
    border: 3px solid white;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2rem;
}
.banner-text:before {
    border-right: none;
    left: 0;
}
.banner-text:after {
    border-left: none;
    right: 0;
}
.banner-text .display-2 {
    font-size: 3rem;
    font-family: 'kanit', sans-serif;

}
#banner {
    /*margin-top: 6rem;*/
}
.ban {
    height: 30rem;
    /*margin-top: 5rem;*/
}
.ban-inner {
    margin-right: calc(-66.663vw + 100%);
    height: 100%;
}
.ban-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/images/blogs/ban1.jpeg');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
/* End Banner */

/* Figures */
.icon-figure {
    font-size: 4rem;
    color: silver;
}
.icon-figure i {
    text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
}
.figures .h3 {
    font-size: 4rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
}
/* End Figures */

/* Story */
.story-head .display-4 {
    font-size: 2.5rem;
}
.story-head:after {
    content: "";
    background: #ddd;
    height: 0.3rem;
    width: 5rem;
    position: absolute;
    left: 0;
    bottom: -2.1rem;
}

.story-cat, .story-cat-2 {
    position: absolute;
    top: -0.6rem;
    background: #333;
    color: white;
    border-top: 0.6rem solid #f2621c;
    font-size: 1.4rem;
    padding-right: 3rem;
}
.story-cat-2 {
    position: relative;
}
.story-img .container {
    position: static;
}
.story-img .img-fluid {
    /* width: 100%; */
    /* height: 50rem; */
}
.story-desc {
    position: relative;
}
.story-title, .story-index {
    font-size: 2rem;
    display: inline-block;
}
.article-img {
    transition: transform 100ms linear;
    -webkit-transition: transform 100ms linear;
    -moz-transition: transform 100ms linear;
    -ms-transition: transform 100ms linear;
    -o-transition: transform 100ms linear;
}
a.story:hover .article-img{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}
.card-img {overflow: hidden;}
.btn-primary {
    background: #f2621c;
    color: white;
    border: none;
    font-size: 1.6rem;
}
.btn-primary:hover {
    background: rgba(242,98,28,0.8);
}
/* End Story */

ul.list-style {
    list-style-type: square;
}
.other_links {
    border-top: 0.4rem solid #f2621c;
    border-bottom: 0.1rem solid silver;
}
.blog-content {
    margin-top: -15%;
}


footer .copyright {
    font-size: 1.2rem;
    color: grey;
    border-top: 1px solid rgba(255,255,255,0.3);
}
footer ul.list-style {
    padding-left: 1.5rem;
    line-height: 180%;
}


footer a, footer a:hover, footer a:active, footer a:focus {
    color: white;
}

footer a:hover, footer a:active, footer a:focus {
    color: #F2621C;
}

footer .story-head:after {
    background: #F2621C;
}
footer .service p {
    color: rgba(255,255,255,0.6)
}
.social_icon a:hover {
    color: white;
}

blockquote.blockquote {
    font-size: 1.6rem;
    border-left: 0.5rem solid #F2621C;
    font-style: italic;
    background: #f1f1f1;
}

@media (min-width: 576px) {
    .banner-inner {
        height: 30rem;
        /*background: url('/images/blogs/ban1.jpeg') center center no-repeat;*/
        /*background-size: cover;*/
    }
    .banner-text {
        padding-left: 10rem;
        padding-right: 10rem;
    }
    .banner-text:before, .banner-text:after {
        width: 5rem;
    }
    .banner-text .display-2 {
        font-size: 5.5rem;
    }
    .story-head .display-4 {
        font-size: 3.5rem;
    }
    .story-cat {
        padding-right: 10rem;
    }
    .story-title, .story-index {
        font-size: 3.5rem;
        /*display: inline-block;*/
    }
    .story-desc {
        position: absolute;
        top: 25%;
        width: 100%;
    }
    .article-img-small {
        height: 40rem;
        width: auto;
    }
}
@media(min-width: 992px) {
    .icon-figure {
        font-size: 7rem;
        color: silver;
    }
    .figures .h3 {
        font-size: 7rem;
        font-family: 'Kanit', sans-serif;
        font-weight: 600;
    }
    .my-navbar .navbar-nav li.nav-item {
        border: none;
    }
    .my-navbar a.nav-link {
        padding: 2.3rem 0;
    }
    .article-img-small {
        height: 30rem;
        width: auto;
    }
}