/*
1. section Settings
2. section Jumbotron 
3. section Card 
4. section Carousel
5. section Navbar
6. Section Blog 
7. Section Page-title
8. Section Timeline
9. Section Footer
   Google map api 
10.Section Star
   ------------------
   colors
   #441f0b-#e7e9e9-#231B17-#3A2C2-#d9d8da-#706a67
*/   


/* section Settings */
h5 {
    margin-top: 0;
    margin-bottom: 0;
  }
  
a {
	color: #967869;
}
a:hover {
	color: #fff;
}

img {
    -webkit-filter: grayscale(20%); /* Safari 6.0 - 9.0 */
    filter: grayscale(20%);
}
html, body {
    height: 100%;
    color: #441f0b;     
    background: #ebe5e1;
/*   background-image: url(../../assets/images/bloging/banner43gray.jpg); */
    font-family: 'Kanit', sans-serif;
}
body:before{
        content: ' ';
        background-image: url(../../assets/images/bloging/ban1gray.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 0.05;
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
.text-brwn{
    color: #967869;
}
.bg-navb {
    background: rgb(42, 37, 38, 1);
}

/* section Jumbotron */
.jumbotron {
    background-color: #2a2526;
    color:#e7e9e9;
}

/* section Card */
.card { 
    border: 1px solid #fff;
    border-radius: 0.25rem;

}
.btn-brwn {
    background-color: #493e41;
    border-color: #493e41; 
    color: #d9d8da;
}
.btn-brwn:hover, .btn-brwn.active
{
    background-color: #706a67;
    border-color: #706a67;
    color: #d9d8da;
}

.btn-brwn:focus, .btn-brwn.focus {
    box-shadow: 0 0 0 0.2rem rgba(35, 27, 23, .5);
}

.card-tthd{
    color: #706a67;
}

/* 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: 30%;
}

/* section Navbar */
.navbar{
    padding: 20px;
    transition: 0.5s;
}

.nav-link {
    display: block;
    padding: 1rem 0rem;
}
@media (max-width: 480px) {
    .navbar-barand{
        font-size: 0.8rem;
        line-height: 2rem;
    }
}



.backscreen{
    background: rgba(0,0,0,0.5);
    height: 100%;
}

.backscreen_1{
    background: rgba(0,0,0,0.3);
    height: 100%;
}

.border-short-jumbotron{
    position: relative;
    padding: 5px 0;
    margin-bottom: 10px;
    color:#706a67;
}

.border-short-bottom{
    position: relative;
    padding: 20px 0;
    margin-bottom: 25px;
    color:#706a67;
}
.border-short-bottom::after{
    position: absolute;
    content: "";
    width: 100px;
    height: 1px;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
    background: #706a67;
}
/* วิธีแก้ไขตัวอักษรหน้าจอมือถือกับหน้าจอคอมให้เหมาะสม */
/* <= 767px */
@media (max-width: 768px){
    .display-4 {
        font-size: 2.5rem;
    }
}

/* 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: 2s;
}
.warpper-card-img img:hover{
transform: scale(1.2);
}
.btn-group-custom button{
    margin-bottom: 0.5rem;
    width: 100px;
}

.btn-group-custom a:hover{
    text-decoration: none;
}

.blog-content{
    padding: 0px 150px;
    /* box-shadow: 0px 0px 10px #dcdcdc; */
}
.owl-carousel .card-body{
    height: 150px;
    overflow: hidden;
}

@media(max-width: 991px ){  /* กำหนดค่า reponsive */
    .blog-content{
        padding: 40px 50px;
    }
}
@media(max-width: 768px ){  
    .blog-content{
        padding: 20px 30px;
    }
}

/* Section Footer */
.semi-footer{
    background: #141211;
    color: #dcdcdc;
}
.semi-footer h4{
    color: #706a67;
    border-bottom: 1px solid;
    padding: 5px 0;
}

.semi-footer a {
    color:#d9d8da;
}

.semi-footer li.active > a {
    color:#706a67;
}

.semi-footer a:hover {
    color: #706a67;
}

.footer{
    background: rgb(42, 37, 38);
    color: #e7e9e9;
    font-size: 0.8rem;
    height: 50px;
    line-height: 50px; /* กรณี 1 บรรทัดใช้ จัดกลางบรรทัด */
    text-align: center;
}
.footer a {
    color:#e7e9e9;
}

/* Google map api*/
#map {
height: 300px;
width: 100%;
} 

/* Section Page-title */
.page-image{
    padding: 200px 0px 120px;
    text-align: center;
    color: #fff ;
    background: rgba(0,0,0,0.5)
}

/* 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: #9c9c9c;
top: 0;
bottom: 0;
left: 50%;
margin-left: -1px; /* ครึ่งนึงของ width */
}
li > .timeline-badge{
position: absolute;
width: 18px;
height: 18px;
border: 3px solid #776c5d;
left: 50%;
margin-left: -9px; /* ครึ่งนึงของ width */
border-radius: 50%;
background: #e7e9e9;
box-shadow: 0 0 0 5px #e7e9e9;
top: 15px;
}
li > .timeline-badge::before{
content: "";
position: absolute;
top: 5px;
right: 20px;
width: 25px;
height: 2px;
background: #9c9c9c;
}

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

li > .timeline-badge p{
width: 200px;
margin-top: -6px;
margin-left: 29px;
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: #776c5d;
}

@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 > i{
        margin-left: 32px;
    }
}

/* Section Star */
/* ☆★ */
.star-rating{
    position: relative;
    font-size: 2em;
    color: gold;
    display: inline-block;
}

.star-current{
    position: absolute;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
}

/* Section On to top */
.to-top{
    position: fixed;
    bottom: 1%;
    right: 1%;
    width: 40px;
    height: 40px;
    background: #493e41;
    color: #d9d8da;
    z-index: 9999;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    text-align: center;
}
.to-top:hover{
    color: #967869;
    background: rgb(217, 216, 218, .2);
}    

.img {
    width: 100%;
    height: auto;
}

.img-fluid {
    width: auto;
    height: auto;
}

.page-link {
    color: #967869;
}

.page-link:hover {
    color: #443027;
}

/* VideoWrapper */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* Blockquote */
blockquote {
    border-left: solid 0.5rem;
    font-style: normal;
    margin: 0 0 2rem 0;
    padding: 1rem 0 0 2rem; }
blockquote {
        border-left-color: rgba(150, 128, 117, .25);
    }

/* Main */
#main .content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.025);
    margin-bottom: 2rem;
    padding: 3rem; }
    @media screen and (max-width: 980px) {
      #main .content {
        padding: 2rem; } }
    @media screen and (max-width: 480px) {
      #main .content {
        padding: 1.5rem; } }
  
/* Creative tim */
.page-section {padding:1rem 0 3rem 0}
