*{
    font-family: 'noto serif lao', serif;
}
:root {
    --brand-color: #ff4d29;
  }
body{
    line-height: 1.7;
    color: #516171;
}
h1, h2, h3, h4, h5, h6{
    font-weight: 700 !important;
    color: #092032;
}
a{
    color: #092032;
    text-decoration: none;
    transition: .3s ease-in-out;
}
a:hover{
    color: var(--brand-color) !important;
}
img{
    width: 100%;
}
section{
    padding: 80px 0;
}
.bg-cover{
    background-position: center !important;
    background-size: cover !important;
}
.intro{
    margin-bottom: 40px;
}
.intro h6{
    font-weight: 400;
    color: var(--brand-color);
}
.intro p{
    max-width: 500px;
    margin: auto;
}

/* Top NavBar*/
.top-nav{
    background-color: var(--brand-color);
    padding: 5px 0;

}
.top-nav p{
    margin-bottom: 0;
    display: inline-block;
    margin-right: 16px;
    color: white;
}
.top-nav svg, 
.top-nav span{
    vertical-align: middle;
}
.social-links a{
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    transition: all .4s ease-in-out;
}
.social-links a:hover{
    background-color: white;
    color: var(--brand-color);
}


/* Main NavBar*/
.navbar{
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active{
    color: var(--brand-color);
}
.btn-brand.btn{
    transition: .4s ease-in-out;
    background-color: var(--brand-color);
    color: white;
}
.btn-brand:hover{
    color: var(--brand-color);
    border: 1px solid var(--brand-color);
    background-color: white;
}
.navbar-brand img{
    width: 54px;
    height: 54px;
}

/* Slider*/
.slide1{
    background:linear-gradient(rgba(9, 32, 50, 0.4), rgba(9, 32, 50, 0.4)), url(http://savannakhet-ttc.edu.la/temis-program/system/sttc_main_web_site/img/First_slide_image.jpg);
}
.slide2{
    background:linear-gradient(rgba(9, 32, 50, 0.4), rgba(9, 32, 50, 0.4)), url(http://savannakhet-ttc.edu.la/temis-program/system/sttc_main_web_site/img/Second_slide_image.jpg);
}
.slide3{
    background:linear-gradient(rgba(9, 32, 50, 0.4), rgba(9, 32, 50, 0.4)), url(http://savannakhet-ttc.edu.la/temis-program/system/sttc_main_web_site/img/Third_slide_image.jpg);
}
/* Owl Carousel */
.owl-prev,
.owl-next{
    position: absolute;
    top: 39%;
    width: 62px !important;
    height: 62px !important;
    display: grid;
    place-items: center;
    background-color: rgba(255, 255, 255, 0.3) !important;
    font-size: 19px !important;
    color: white !important;
    border-radius: 50% !important;
}
.owl-prev{
    left: 0;
}
.owl-next{
    right: 0;
}
.owl-next:hover, .owl-prev:hover{
    background-color: var(--brand-color) !important;
}
.info-box {
    display: flex;
    align-items: center;
}
.info-box img{
    width: unset;
    margin-right: 28px;
}

/* MILESTONE */
#milestone{
    background:linear-gradient(rgba(255, 77, 41, 0.9), rgba(255, 77, 41, 0.9)), url(../img/wasa-crispbread-rR2YntJJOl4-unsplash.jpg);
}
#milestone .display-4,
#milestone p{
    color: white;
}
#milestone .display-4{
    font-weight: 600;
}

/* SERVICES */
.service-box{
    padding: 15px;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    border-radius: 9px;
    max-height: 565px;
    min-height: 565px;
}
.service-box .image-container{
    width: fit-content;
    height: 262px;
}
.service-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-box .detail-container{
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    row-gap: 2px;
}
.service-box .detail-container .detail-container-header{
    display: flex;
    flex-direction: column;
    row-gap: 2px;
    height:192px;
}
.service-box .detail-container .detail-container-header .date{
    color: #997b23;
}
.service-box .detail-container .detail-container-header .header:hover{
    color: var(--brand-color) !important;
}
.service-box .detail-container .detail-container-header .header{
    line-height: 29px;
    cursor: pointer;
    font-size: 19px;
    font-weight: bold;
    text-overflow: ellipsis;
    color: green;
}
.service-box .detail-container .detail-container-footer{
    display: flex;
    align-items: flex-end;
}
.service-box .detail-container .detail-container-footer .button{
    width: 100%;
    background-color: #ff4d29;
    color: white;
    cursor: pointer;
    outline: none;
    border: none;
    border-radius: 9px;
    padding: 9px;
    transition: .3s ease;
}
.service-box .detail-container .detail-container-footer .button:hover{
    opacity: .6;
}

/* PROJECT */
#project-slider .owl-next,
#project-slider .owl-prev {
    background-color: rgba(255, 255, 255, 0.2) !important;
    font-size: 32px !important;
    font-weight: normal !important;
    width: 64px !important ;
    height: 64px !important;
    text-align: center;
    position: absolute !important;
    top: 45% !important;
}
.project{
    position: relative;
}
.project .image-container{
    width: 100%;
    height:100%;
    overflow: hidden;
}
.project .image-container img{
    max-width: 100% !important;
    height: 424px !important;
    object-fit: cover;
    transition: .3s ease-in;
}
.project:hover .image-container img{
    transform: scale(1.4);
}
.project .overlay{
    background: linear-gradient(to bottom, rgba(9, 32, 50, 0.0), rgba(9, 32, 50, 0.8));
    position: absolute;
    width: 100%;
    height: 456px;
    bottom: 0;
    left: 0;
}
.project .content{
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 32px;
}
.project span{
    color: white;
}
.project h1,
.project p{
    color: white;
    transition: .2s ease-in;
}
.project p{
    font-size: 14px;
    letter-spacing: 1px;
}
.project p::before{
    content: '';
    height: 2px;
    width: 24px;
    background-color: var(--brand-color);
    display: inline-block;
    vertical-align: middle;
    margin-right: 14px;
}
/* Team*/
.team-member{
    text-align: center;
}
.team-member .img-wrapper{
    position: relative;
    overflow: hidden;
}
.team-member .overlay{
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 77, 41, 0.89);
    transition: .4s ease;
    opacity: 0;
}
.team-member .social-links{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: .4s ease;
    opacity: 0;
}
/* .team-member:hover .overlay{
    opacity: 1;
    top:0;
} */
/* .team-member:hover .social-links{
    opacity: 1;
    top: 50%;
} */
.team-member h5{
    margin-top: 24px;
}
/* review */
#reviews{
    background:linear-gradient(rgba(9, 32, 50, 0.8), rgba(9, 32, 50, 0.8)), url(../img/wasa-crispbread-rR2YntJJOl4-unsplash.jpg);
}
.review{
    max-width: 800px;
    margin: auto;
    text-align: center;
}
.review img{
    width: 85px !important;
    border-radius: 50%;
    margin: auto;
}
.review h4{
    margin-top: 16px;
}
.review h4,
.review p{
    color: white;
}
.review small{
    color: var(--brand-color);
}
.review p{
    margin-top: 28px;
}
.owl-dot.active span{
    background-color: var(--brand-color) !important;
}
/* BLOG POST*/
.blog-post{
    position: relative;
}
.blog-post .tag{
    padding: 4px 12px;
    background-color: var(--brand-color);
    color: white;
    border-radius: 100px;
    top: 20px;
    left: 20px;
    position: absolute;
}
.blog-post img{
    margin-bottom: 14px;
}
.blog-post small{
    color: var(--brand-color);
    text-decoration: underline;
}
.blog-post h4{
    margin: 14px 0;
}
/* footer*/
footer{
    padding-top: 80px;
    padding-bottom: 20px;
    columns: white;
    text-align: center;
    color: white;
    font-weight: 200;
    background:linear-gradient(rgba(9, 32, 50, 0.8), rgba(9, 32, 50, 0.8)), url(../img/Third_slide_image.jpg);
}
footer .navbar-brand{
    color: white;
}
footer .certificate{
    color: white;
    text-decoration: underline;
}
.footer-top{
    margin-bottom: 40px;
}
.footer-bottom{
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}
footer .social-links a{
    margin-top: 12px;
    margin-left: 5px;
    margin-right: 5px;
}
.dropdown .dropdown-menu{
    border: none;
}
@media only screen and (min-width:942px) {
    .dropdown:hover .dropdown-menu{
        display: block;
        box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
    }
}
