body {
  background-color: #000;
  color: #fff;
  font-family: "Kanit", sans-serif;
}
a{
  text-decoration: none;
  color: #aeaeae;
}
a:hover {
  filter: brightness(1.3);
  color: #fff;
}
.navbar {
  background: #014806d9;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
.navbar-brand img{
  width: 80px;
  margin-bottom: -40px;
  margin-top: -10px;
}
.navbar .nav-link {
  text-align: center;
}

.section1 {
  background: url(images/bg-section1-1-s.jpg)center no-repeat;
  height: 620px;
  background-size: 100%;
  position: relative;
}
.section1::before{
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  content: " ";
  z-index: 100;
}
.section1 .container-box{
  width: 90%;
  position: absolute;
  z-index: 100;
  top: 12%;
  left: 50%;
  transform: translate(-50%, 0%);
}
.section1 .img-detail{
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}
.status-box{
  width: 100%;
  max-width: 400px;
  margin:  auto;
  background: url(images/bg-status.png) top center repeat-y;
  background-size: 110%;
}
.status-box .status{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid #555555;
  background: #333333;
  border-radius: 10px;
  box-shadow: inset 0 0 5px #111111;
  min-height: 4em;
}
.status-box .status img{
  width: 19%;
}
.status-box .status .detail{
  display:flex ;
  flex-direction:column;
  justify-content: center;
  align-self: stretch!important;
  align-items: stretch!important;
  background: #181818;
  margin-left: 3px;
  border-radius: 7px;
  width: 78%;
  line-height: 1.2em;
  text-transform: uppercase;
  font-size: .6em;
  padding: 4px 6px;
}
.status-box .status .detail hr{
  margin: .3em 0;
  opacity: .1;
}
.status-box .status .detail .titel{
  color: #dcb549;
  font-size: 1.3em;
}

/* section2 */
.section2{
  background: url(images/bg-section2.jpg) bottom center no-repeat;
  background-size: cover;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section2::before{
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  content: " ";
  z-index: 100;
}
.class-box{
  background: url(images/class-box.png) center top no-repeat;
  background-size: 110%;
  padding:80px 30px 10px;
}
.class-box .nav-item{
  width: 25%;
}
.nav-pills .nav-link{
  background: #373737;
  border: 1px solid #373737;
  box-shadow: inset 0 0 5px #111111;
  color: #fff;
  font-weight: 300;
  width: 100%;
  padding: 5px;
}
.nav-pills .nav-link:hover, .nav-pills .nav-link:active, .nav-pills .nav-link.active, .nav-pills .nav-pills .nav-link.active, .nav-pills .nav-pills .show>.nav-link{
  background: #024906;
  border: 1px solid #024906;
  box-shadow: inset 0 0 8px #001702;
}
.class-box .tab-content{
  background: #3d2314df;
  border-radius: 7px;
  padding: 10px;
}
.img-class{
  display: none;
}

/* section3 */
.section3{
  background: url(images/bg-section3.jpg) top center no-repeat;
  background-size: 2500px;
  position: relative;
  min-height: 500px;
  padding: 100px 0;
}
.section3::before{
  background: rgb(0,0,0);
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  content: " ";
  z-index: 100;
}
.news-box{
  position: relative;
  padding: 18px 0;
  z-index: 100;
}
.news-box::before{
  background: url(images/bg-news-01.png) top center no-repeat;
  background-size: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  content: " ";
  z-index: 100;
}
.box-detail{
  background: url(images/bg-news-02.png) top center repeat-y;
  background-size: 100%;
  min-height: 350px;
  padding: 15px 20px;
}
.news-box::after{
  background: url(images/bg-news-03.png) bottom center no-repeat;
  background-size: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  content: " ";
  z-index: 100;
  pointer-events: none;
}
.titel-section{
  background: url(images/bg-titel-section.png) no-repeat top center;
  background-size: 100%;
  width: 250px;
  height: 56px;
  position: absolute;
  z-index: 100;
  top: -30px;
  font-size: 1.4em;
  left: 50%;
  transform: translate(-50%, 0%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.news-box .nav-link{
  font-size: 0.8em;
  text-transform: uppercase;
}
.news-card{
  background: #373737;
  padding: .5em;
  display: block;
  color: #fff;
}
.news-card .detail{
  min-height: 5em;
}
.news-card .title{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .9em;
  line-height: 1.1em;
}
.news-card .description{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-weight: 200;
  font-size: 0.7em;
  line-height: 1.2em;
}
.news-card a{
  background: #212121;
  display: block;
  text-align: center;
  font-size: .9em;
  padding: .3em;
  width: 100%;
  transition: .3s;
}

/* cta-section */
.cta-section{
  background: #000;
  position: relative;
  z-index: 100;
  box-shadow: 0 0 10px #097910;
}


/* section4 */
.section4{
  background: url(images/bg-section4.jpg) center bottom;
  background-size: cover;
  min-height: 300px;
  padding: 30px 0;
}
.section4 .titel-section{
  position: relative;
  top: 0;
}
.ranking-box{
  background: url(images/bg-ranking-tab.jpg);
  background-size: cover;
  width: 95%;
  max-width: 500px;
  border-radius: 10px;
  padding:20px 10px;
}
.ranking-box .detail-box{
  background: #00000087;
  padding: 10px;
  border-radius: 10px;
}
.ranking-box iframe{
  width: 100%;
  height: 190px;
  margin: 0 auto;
  display: block;
}
.ranking-box .tab-pane{
  min-height: 190px;
}
footer{
  background: #000;
  font-size: .7em;
}
.ranking-box .nav-pills .nav-link {
  background: #191a19;
  border: 2px solid #373737;
  box-shadow: none;
  color: #fff;
  font-weight: 300;
  width: 100%;
  padding: 5px;
  transition: .3s;
}
.ranking-box .nav-pills .nav-link:hover, .ranking-box .nav-pills .nav-link:active, .ranking-box .nav-pills .nav-link.active, .ranking-box .nav-pills .nav-pills .nav-link.active, .ranking-box .nav-pills .nav-pills .show>.nav-link {
  background: #191a19b4;
  border: 2px solid #2d620f;
  box-shadow: inset 0 0 8px #001702;
}
.content-box{
  background: url(images/bg-content.jpg?v=1.0.153)top no-repeat;
  background-size: 1920px;
  background-attachment: fixed;
}
.content-box .container{
  min-height: 50vh;
  background: #000000b9;
  border-radius: 20px;
}
.content-box .container img{
  width: 100%;
  max-width: 850px;
}


@media (min-width: 500px){
  .ranking-box iframe{
    height: 240px;
  }
  .ranking-box .tab-pane{
    min-height: 240px;
  }
}
@media (min-width: 768px) {
  #parallax {
    position: relative;
    width: 100%;
    background-image: url(images/bg-section1-3.png), url(images/bg-section1-2.png), url(images/bg-section1-1.png);
    background-repeat: no-repeat;
    background-position: top;
    background-position: 50% 50%;
    background-size: auto;
    height: 950px;
  }
  .section1 {
    background: url(images/bg-section1.jpg) bottom center no-repeat;
    height: 950px;
  }
  .navbar .nav-item:hover {
    filter: brightness(1.4);
  }
  .nav-item a {
    color: #fff !important;
  }
  .section1 .container-box{
    width: 100%;
    max-width: 800px;
    padding-top: 560px;
  }
  .status-box{
    background-size: 100%;
    margin: auto;
    width: 100%;
    max-width: 1200px;
    padding: 10px 20px;
  }
  .status-box .status{
    padding: 7px;
    min-height:70px;
  }
  .status-box .status .detail{
    font-size: .8em;
    padding: 5px 10px;
    min-height: 5.2em;
  }
  .class-box{
    background: url(images/class-box-lg.png) center top no-repeat;
    background-size: 110%;
    padding:130px 60px 10px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
  }
  /* section news */
  .titel-section{
    width: 320px;
    height: 70px;
    font-size: 1.8em;
  }
  .news-box{
    max-width: 1000px;
    margin: 0 auto;
  }
  .news-box .nav-link{
    font-size: 1.1em;
    padding: .4em 0;
  }
  .box-detail{
    padding: 44px 55px;
    min-height: 500px;
  }
  .news-card .detail{
    min-height: 7em;
  }
  .news-card .title{
    font-size: 1.1em;
    line-height: 1.3em;
  }
  .news-card .description{
    font-size: 0.9em;
    line-height: 1.3em;
  }
  .news-card a{
    font-size: 1.1em;
    padding: .3em;
    margin-top: 5px;
  }
  .ranking-box{
    max-width: 800px;
    padding:30px;
  }
  .ranking-box .detail-box{
    padding: 30px;
  }
  .ranking-box iframe{
    width: 100%;
    height: 370px;
    margin: 0 auto;
    display: block;
  }
  .ranking-box .tab-pane{
    min-height: 370px;
  }


}







@media (min-width: 992px) {
  .nav-item {
    width: 220px;
    height: 70px;
    font-size: 1.4em;
  }
  .navbar {
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7861519607843137) 69%, rgba(255, 255, 255, 0) 100%);
  }
  .navbar .nav-item {
    background: url(images/btn-menu.png) center no-repeat;
    background-size: 100%;
    width: 212px;
    height: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 3px;
    transition: .3s;
  }
  .section1 .container-box{
    width: 100%;
    max-width: 1200px;
  }
  .status-box{
    padding: 7px 200px 14px;
  }
  .class-box .nav-pills{
    position: absolute;
    width: 650px;
  }
  .class-box .tab-content{
    width: 650px;
    margin-top: 50px;
    position: relative;
    z-index: 100;
  }
  .class-box{
    background: url(images/class-box-lg.png) center top no-repeat;
    background-size: 110%;
    padding:200px 60px 10px;
    height: 700px;
  }
  .img-class{
    display: block;
    position: absolute;
    right: -450px;
    bottom: -37px;
    width: 700px;
    z-index: -1;
    pointer-events: none;
  }
  .news-box::before{
    height: 50px;
  }
  .news-card .title{
    font-size: 1.1em;
    line-height: 1.3em;
  }
  .news-card .description{
    font-size: 0.9em;
    line-height: 1.3em;
  }
  .news-card a{
    font-size: 1.1em;
    padding: .3em;
    margin-top: 5px;
  }
  .news-card .detail{
    min-height: 7em;
  }
  .ranking-box{
    max-width: 1000px;
    position: relative;
  }
  .ranking-box .nav-pills{
    width: 700px;
    margin: 0 auto;
  }
  .ranking-box iframe{
    height: 440px;
  }
  .ranking-box .tab-pane{
    min-height: 440px;
    position: relative;
    z-index: 200;
  }
  .ranking-box .detail-box{
    position: relative;
    z-index: 100;
  }
  .img-ct01{
    display: block !important;
    position: absolute;
    width: 500px;
    left: -400px;
    top: 100px;
    z-index: 0;
  }
  .img-ct02{
    display: block !important;
    position: absolute;
    width: 700px;
    right: -480px;
    top: 0px;
    z-index: 0;
  }



  footer{
    background: #000;
    font-size: .9em;
  }

}