/* Tble Of Content */
/*
1. Section Setings
2.Section Carousel
3.Section Blog
4.Section Footer
5.Section page-title
6.section star
7.navbar-brand
timeline
blog-image
main
blog-content
border-short-bottom 
backscreen
border-short-io
blog-image
footer
 .page-title
 */

/* 1. Section Setings */
html, body{
    height: 100%;
    /* font-family: 'Prompt', sans-serif; */
    font-family: 'Krub', sans-serif;
    /* background-image:url('../images/bg/bg_01.jpg'); */

}

.bg-alpha{
    background:rgb(27, 38, 49);
}

/* 2.Section Carousel */
.carousel,
.carousel-inner,
.carousel-item,
.carousel-inner .active
{
    height: 100%;
}
.carousel-img{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.carousel-caption{
    top: 40%;
}
.backscreen{
    background: #00000070;
    height: 100%;
}
.border-short-bottom{
    position: relative;
    padding: 20px 0;
    margin-bottom: 25px;
}
.border-short-bottom:after{
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
    background: black;
}
@media (max-width: 768px){
    .display-4 , .border-short-bottom{
        font-size: 1.5rem;    
        }
    }
.border-short-io{
    position: relative;
    padding: 5px 0;
    margin-bottom: 10px;
}
/* .border-short-io:after{
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
    background: black;
} */
@media (max-width: 768px){
    .display-4 , .border-short-io{
        font-size: 1rem;    
        }

    }    

/* Section Blog */
.warpper-card-img {
    position: relative;
    overflow: hidden;
}

.warpper-card-img::after {
    content: '';
    padding-top: 56.25%;
    display: block;
    height: 0;
}

.warpper-card-img img {
    position: absolute;
    top: 0;
    transition: 0.3s;
}

.warpper-card-img img:hover {
    transform: scale(1.2)
}
.btn-group-custom button{
    margin-bottom: 0.5rem;
    width: 247px;
}
.btn-group-custom a:hover{
    text-decoration: none;
}
.blog-image{
    padding: 200px 0px 120px;
    text-align: center;
    color: #fff;
    /* background: rgba(0, 0, 0, 0.4) */
}
.blog-content{
    padding: 0px 100px;
    box-shadow: 0px 0px 10px #a5a5a5;
    background: #ffffff;
}
.owl-carousel .card-body{
    height: 150px;
    overflow: hidden;

}
@media (max-width: 991px ){
    .blog-content{
        padding: 40px 50px;
    }
}

@media (max-width: 768px ){
    .blog-content{
        padding: 20px 30px;
    }
}

/* Section Footer */
.semi-footer{
    /* background-image:url('../images/bg/linethai_1.png'); */
    background:rgb(23, 32, 42);
    color: #dcdcdc;
}
.semi-footer a{
    color: #dcdcdc;
}
.semi-footer li.active > a{
    color: #fff;
}
.semi-footer h4{
    color: rgb(37, 153, 255);
    border-bottom: 1px solid;
    padding: 10px 0;
}
.footer{
    background: black;
    color: aliceblue;
    font-size: 0.7rem;
    height: 60px;
    line-height: 60px;
    text-align: center;
}
#map {
height: 300px;
width: 100%;
}

#navbar{
    padding: 20px;
    transition: 0.5s;
}

@media (max-width: 480px){      
.navbar-brand{
    font-size: 0.8rem;
    line-height: 2rem;
}
}
/* Section page-title */
.page-title{
position: relative;
display: block;
padding-top: 100px;
padding-bottom: 100px;
color: white;
}

/* Section Page-title */

.page-image {
    padding: 90px 0px 120px;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0)
}
/* Section Timeline */
.timeline{
list-style: none;
position: relative;
padding: 20px 0;
}

.timeline > li{
position: relative;
margin-bottom: 40px;
}

.timeline::before{
position: absolute;
content: " ";
width: 2px;
background: #e6e6e6;
top: 0;
bottom: 0;
left: 50%;
margin-left: -1px;
}

li > .timeline-badge{
position: absolute;
width: 18px;
height: 18px;
border: 3px solid #84ba3f;
left: 50%;
margin-left: -9px;
border-radius: 50%;
background: #fff;
box-shadow: 0 0 0 5px #fff;
top: 15px;
}

li > .timeline-badge::before{
content: "";
position: absolute;
top: 5px;
right: 20px;
width: 25px;
height: 2px;
background: #e6e6e6;
}

li.inverted > .timeline-badge::before{
right: -32px;
}

li > .timeline-badge p{
width: 200px;
margin-top: -9px;
margin-left: 25px;
font-size: 17px;
font-weight: bold;
}

li.inverted > .timeline-badge p{
float: right;
text-align: right;
margin-right: 25px;
}

li > .timeline-card{
position: relative;
width: 46%;
float: left;
text-align: right;
padding: 0 10px;
}

li.inverted > .timeline-card{
float: right;
text-align: left;
}

.timeline > li::after{
content: "";
clear: both;
display: block;
}

.timeline-arrow{
width: 100%;
text-align: center;
bottom: -70px;
color: #e6e6e6;
}


@media (max-width: 768px ){
.timeline::before,
.timeline-badge{
left: 40px !important;
}
.timeline-badge::before{
right: -32px !important;
}
.timeline-badge p,
li.inverted > .timeline-badge p{
margin-left: 50px !important;
text-align: left;
float: left;
}

li > .timeline-card{
width: 100%;
text-align: left;
padding: 37px 0 0 85px;
}

.timeline-arrow{
text-align: left;
left: 0;
}

.timeline-arrow{
margin-left: 32px;
}

}

/* section star */
/* ☆★ */
.star-rating{
position: relative;
font-size: 2em;
color: rgb(243, 156, 18);
display: inline-block;

}

.star-current{
position: absolute;
top: 0;
white-space: nowrap;
overflow: hidden;
}
#main .content {
background: hsla(0, 0%, 98%, 0.76);
border-radius: 10px;
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.200);
margin-bottom: 2rem;
padding: 3rem;
}
#main2 .content2 {
background: rgba(255, 255, 255, 0.144);
border-radius: 10px;
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.377);
margin-bottom: 2rem;
padding: 3rem;
}

/* section on to top */
.to-top{
position: fixed;
bottom: 2%;
right: 2%; 
width: 40px;
height: 40px; 
background: rgb(18, 202, 1);
color: #fff;
z-index: 9999;
border-radius: 50px;
font-size: 25px;
cursor: pointer;
text-align: center;
}

.to-top:hover{         /* hover = คือการเอาเมาส์ไปชีเเล้วเปลี่ยนสี */
color: rgb(0, 0, 0);
background: rgb(22, 160, 4);

}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 35%;
}