/* Box */
.textbox {
    padding: 10px;
    margin: 50px 0;
    background-color: white;
    text-align: center;
    transition: all ease .3s;
}

.textbox:hover {
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, .2);
}

.textbox__image img {
    width: 100%;
}

.textbox__body {
    padding: 20px;
}

@media (min-width: 992px) {
    .textbox__body {
        padding: 25px 30px;
    }
}

.textbox__title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.33333;
	color: #1f1c2f;
}
@media (max-width: 978px) {
	.textbox__title {
	 font-size: 20px;
   	}
}

.textbox__title a {
	color: #1f1c2f;
}
	
.textbox__title a:hover {
color: #f39c12;
text-decoration: none;
}

.textbox__description {
    color: #818181;
}

.textbox__style-02 {
    border: 1px solid #ebebeb;
}

.textbox__style-02 .textbox__description {
    margin-bottom: 15px;
}

.textbox-group {
	background-color:#f3f3f3;
}


/* Tab Latest */
.nav-item {
	position: relative;
}
.nav-item .active .bar::after {
    position: absolute;
    bottom: -1px;
	margin: 13px 0 13px 0;
    left: 0;
    width: 100%;
    height: 2px;
    background:  #0f6fd1;
    content: '';
}
.tab_latest {
	border-bottom: 1px solid #dee2e6;
}


/* Picture Carousel */
#owl-pic .item{
  margin: 3px;
}
#owl-pic .item img{
  display: block;
  width: 100%;
  height: auto;
}

/* Latest News Carousel */
   #owl-news .item{
      margin: 3px;
    }
    
    #owl-news .item img{
      display: block;
      width: 100%;
      height: auto;
    }

.latest-news-section {
    padding-bottom: 40px;
}

.latest-post {
    padding-bottom: 20px;
}

.latest-post h4 {
    padding-top: 20px;
    padding-bottom: 5px;
}

.latest-post h4 a {
	color: #1f1c2f;
}
	
.latest-post h4 a:hover {
color: #f39c12;
text-decoration: none;
}

.latest-post .post-details .date {
    position: absolute;
    top: 0;
    left: 10%;
    color: #fff;
    background: rgba(91, 177, 47, 0.8);
    padding: 10px;
    font-size: 14px;
    text-align: center;
    opacity: 1;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.latest-post .post-details .date strong {
    font-size: 16px;
}

.latest-post .post-details li {
    display: inline;
    font-size: 13px;
    color: #999;
    padding-right: 10px;
}

.latest-post .post-details li i {
    padding-right: 5px;
}

.latest-post p {
    padding-bottom: 15px;
    color: #999;
    font-weight: 300;
}

.latest-post .btn-primary {
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    font-weight: 300;
}

.latest-post .btn-primary:hover {
    background: none;
    color: #666;
    border: 1px solid #888;
    box-shadow: none;
}

.latest-post:hover .date {
    opacity: 1;
    -webkit-animation: bounceIn;
    -moz-animation: bounceIn;
    -o-animation: bounceIn;
    animation: bounceIn;
    -webkit-animation-duration: 0.7s;
    -moz-animation-duration: 0.7s;
    -o-animation-duration: 0.7s;
    animation-duration: 0.7s;
}
