/* Box */
.textbox {
    position: relative;
    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 (max-width: 978px) { */
@media screen and (min-width: 300px) and (max-width: 768px){
	.textbox__title {
	 /* font-size: 20px; */
   	}
   	.textbox__title {
    font-family: 'Noto Sans KR', sans-serif !important; font-size: 17px !important;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.33333;
	color: #1f1c2f;
   }
}

/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){
    .textbox__body {
        padding: 20px 25px;
    }
    .textbox__title {
    font-family: 'Noto Sans KR', sans-serif !important; font-size: 25px !important;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.33333;
	color: #1f1c2f;
   } 
}


/* 3. 데스크톱 화면 (1024px 이상) */
/* @media (min-width: 992px) { */
@media (min-width: 1024px) {
    .textbox__body {
        padding: 25px 30px;
    }
    .textbox__title {
    font-family: 'Noto Sans KR', sans-serif !important; font-size: 25px !important;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.33333;
	color: #1f1c2f;
    }
}


.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;
}


/* index page 사업분야 링크 */
/* @media (max-width: 978px) { */
@media screen and (min-width: 300px) and (max-width: 768px){
	.textbox_title_12 {
	 /* font-size: 20px; */
   	}
   	.textbox_title_12 {
    font-family: 'Noto Sans KR', sans-serif !important; font-size: 17px !important;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.33333;
	color: #1f1c2f;
   }
}

/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){
    .textbox__body {
        padding: 20px 25px;
    }
    .textbox_title_12 {
    font-family: 'Noto Sans KR', sans-serif !important; font-size: 25px !important;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.33333;
	color: #1f1c2f;
   } 
}


/* 3. 데스크톱 화면 (1024px 이상) */
/* @media (min-width: 992px) { */
@media (min-width: 1024px) {
    .textbox__body {
        padding: 25px 30px;
    }
    .textbox_title_12 {
    font-family: 'Noto Sans KR', sans-serif !important; font-size: 25px !important;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.33333;
	color: #1f1c2f;
    }
}


.textbox_title_12 a {
	color: #1f1c2f;
}
	
.textbox_title_12 a:hover {
color: #f39c12;
text-decoration: none;
}

/* 자세히 보기 버튼 하단 고정 */
.textbox__body {
    position: relative;
    padding-bottom: 60px;
}

.textbox__btn-wrap {
    position: absolute;
    /* bottom: 15px; */
    bottom: 15px !important;
   /*  left: 30px; */ /* textbox__body의 padding 값과 맞춤 */
   left: 35%;
   right: 35%;
}


/* Tab Latest */
.nav-item {
	position: relative;
}
.nav-item .active .bar::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background:  #007bff;
    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;
}
