
/* Table Of Content */
/*
1. Section Settings
2. Section Carousel
3. Section Jumbotron   section blog
4. Section footer
5. Section navbar
6. section pagetitle
7. section timeline
8. section star
9. section ontotop

000000-500e53-9323dc-aa80b4-e8d9ff

*/


/* Section Settings */

.bg-alpha {
    background: rgba(51, 49, 51, 0.877)
}


php,body {
    height: 100%;
}
/* 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: rgba(0, 0, 0, 0.5);
    height: 100%;
}

.border-short-bottom {
    position: relative;
    padding: 20px 0;
    margin-bottom: 25px;
}
/* Section Jumbotron */
.border-short-bottom::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
    background: #595959;
}
/* section blog */
.owl-carousel .card-body{
    height: 150px;
    overflow: hidden;
}


.warpper-card-img{
    Position : relative  ;
    Padding-top: 56.25% ;
    Overflow: hidden; 
}
.warpper-card-img img {
    Position : absolute ;
    top:0;
    transition:1s;
}
.warpper-card-img img:hover {
    transform: scale(1.4)
}
.btn-group-custom button{
    width: 100px;
    margin-bottom:0.5rem ;
}
.page-image{
    padding: 200px 0 120px;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

.blog-content{
    padding: 50px 100px;
    box-shadow: 0px 0px 10px #a5a5a5;
}
@media (max-width: 991px ){
    .blog-content{
        padding: 40px 50px;
    }
}

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

/* Section footer */
.semi-footer{
    background-color: #1f1f1f;
    color:#fff;
}
.semi-footer-header{
   color:rgb(255, 217, 45);
   border-bottom: 1px solid;
   padding: 10px 0;
   text-align: center;
}   

.semi-footer a{
    color: #fff;
}
.footer{
    background: rgb(40, 9, 58);
    color: #fff;
    font-size:0.7rem;
    line-height: 20px;
    text-align: center;
}
.d-footer{
    list-style-type:none;
}
/* .page-title{
    position: relative;
    display:block;   
    padding-top: 250px;
    padding-bottom: 100px ;
} */
.display-4{
    color:#fff;
}
.lead{
    color:#fff;
    
}

.timeline{
    list-style: none;
    position: relative;
    padding: 20px 0 ;
}
.timeline >li{       
    position: relative;
    margin-bottom: 40px;
}
.timeline::before{ 
    position: absolute;      
    content: "";
    width:2px;
    background: #aa80b4;
    top:0;
    bottom:0;
    left: 50%;
    margin-left: -1px;
}
li> .timeline-badge{
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid #000;
    left:50%;
    margin-left: -9px;
    border-radius:50% ;
    background: #fff;
    top:15px;
    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:#aa80b4 ;
}

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: black;
}




@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: 32px;
    }
}

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



@media (max-width:991px){
    .navbar-brand{
        font-size: 1rem;
        line-height: 6rem;
    }
}
/* section ontotop */
.to-top {
    position: fixed;
    bottom: 5%;
    right: 90%;
    width: 40px;
    height: 40px;
    background: #75c6fc;
    color: #fff;
    z-index: 9999;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    text-align: center;
}

.to-top:hover {
    color:#adabab;
    background: #142731;
}
.card-header{
    padding: 0rem;

}
.collapse2{
    padding: 0rem;

}
.to-top {
 
    ms-auto; /* จัดชิดขวา */
  }

 

