/*sub page*/
.page-img {
    height:210px;
    position:relative;
    background: url(../images/sub_bg.jpg)no-repeat center;
    background-size: cover;
}
.page-img:after {
    content: '';
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    background-color: #0056c1;
}
.page-title {
    color:#fff;
    position: absolute;
    top:129px;
    z-index: 1;
}
.page-title h3 {
    display: inline-block;
    font-size:22px;
    font-weight: bold;
    margin-right:50px;
    margin-bottom:0;
}
.page-title p {
    display: inline-block;
    opacity: 0.7;
    margin-bottom:0;
    vertical-align: text-bottom;
}

.page-content {
    margin-top: 100px;
}
.page-content .subtitle {
    margin-bottom:50px;
}
.page-content .subtitle h4 {
    color:#0056c1;
    font-size: 30px;
}
.page-content .info-text {
    margin-bottom:30px;
    color: #111;
}
.page-content .info-text ul li {
    display: flex;
    align-items: baseline;
}
.page-content .info-text h5 {
    min-width: 15%;
    font-size: 18px;
}
.page-content .info-text p {
    margin-bottom: 20px;
    word-break: keep-all;
}
.page-content .posttitle {
    background-color:#111;
    color:#fff;
    text-align: center;
    padding: 10px 20px;
    border-radius: 28px;
    margin-bottom: 40px;
}
.page-content .posttitle h4 {
    margin-bottom:0;
}

.page-content .hr {
    height: 1px;
    background-color:#ddd;
    margin-bottom:50px;
}

/*사업소개*/
.overview-content .table>:not(caption)>*>* {
    padding: .75rem 1.25rem;
}
.overview-content .info-table {
    margin-bottom:50px;
    vertical-align: middle;
}
.overview-content .info-table tbody th {
    font-weight: 600;
    background-color:#ffc028;
    border-bottom-width: 0;
}
.overview-content .info-table tbody td {
    background-color:#f4f4f4;
    border-right-width: 1px;
    border-color: rgba(255,255,255,0.7);
}
.overview-content .info-table tbody td:last-child {
    border-right-width: 0;
}
.overview-content .info-table tbody tr:last-child td {
    border-bottom-width: 0;
}
.border-bottom-white {
    border-bottom:2px solid #fff;
}
.border-right-white {
    border-right:2px solid #fff;
}

.overview-content .info-chain {
    flex-flow: row wrap;
    word-break: keep-all;
    margin-bottom: 50px;
}
.overview-content .info-chain div {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: -5px 0 5px rgb(0 0 0 / 20%);
}
.overview-content .info-chain div:nth-child(1){
    border: 1px solid #d9daf3;
    border-right-width: 0;
    font-weight: 500;
    box-shadow: none;
}
.overview-content .info-chain div:nth-child(2){
    background-color: #d9daf3;
}
.overview-content .info-chain div:nth-child(3){
    background-color:#b2b7e7;
}
.overview-content .info-chain div:nth-child(4){
    background-color:#8995db;
}
.overview-content .info-chain div:nth-child(5){
    background-color:#5b74ce;
}
.overview-content .info-chain div:nth-child(6){
    color: #fff;
    background-color:#0056c1;
}

/*연구장비*/
.equipment-content .nav-link {
    color:#111;
}
.equipment-content .nav-pills .nav-link {
    line-height: 18px;
    border-radius: 0;
    background-color:#f4f4f4;
}
.equipment-content .nav-pills .nav-link span {
    display: block;
}
.equipment-content .nav-pills .nav-link:hover {
    background-color:#ffc028;
}
.equipment-content .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color:#111;
    background-color: #ffc028;
}
.equipment-content .gallery .gallery-item {
    position: relative;
    display: block;
    background-color: #fff;
}
.equipment-content .gallery .item-flex {
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #ddd;
    opacity: 1;
}
.equipment-content .gallery .item-flex .gallery-img {
    width: 100%;
    text-align: center;
}
.equipment-content .gallery .item-flex .gallery-img img {
    max-width: 100%;
    max-height: 100%;
}
.equipment-content .gallery .gallery-item:hover .item-flex {
    opacity: 0.7;
    transition: opacity .5s;
}
.equipment-content .gallery .gallery-title {
    padding-top: 10px;
    background-color:#fff;
}
.equipment-content .gallery .gallery-title h6 {
    color:#111;
    font-size: 16px;
    margin-bottom: 0;
}
.equipment-content .gallery .gallery-title p {
    color: #666;
    font-size: 12px;
    margin-bottom:0;
    letter-spacing: -.02rem;
    line-height: 16px;
}

.equipment-content .galleryview-title {
    font-size: 24px;
}
.equipment-content .galleryview-subtitle {
    color:#666;
}
.equipment-content .galleryview-info li:first-child {
    border-top:1px solid #dee2e6;
}
.equipment-content .galleryview-info li {
    display: flex;
    align-items: center;
    border-bottom:1px solid #dee2e6;
    padding-top: 3px;
    padding-bottom: 3px;
}
.equipment-content .galleryview-info li h6 {
    min-width: 120px;
    margin-bottom:0;
}
.equipment-content .galleryview-info li p {
    color:#666;
    margin-bottom:0;
}

#gallerymodal .modal-body .modal-title {
    font-size: 24px;
    margin-bottom: 5px;
}
#gallerymodal .modal-body .modal-subtitle {
    color:#666;
    margin-bottom:15px;
}
#gallerymodal .modal-body .modal-info li:first-child {
    border-top: 1px solid #dee2e6;
}
#gallerymodal .modal-body .modal-info li {
    display: flex;
    align-items: center;
    border-bottom:1px solid #dee2e6;
    padding-top: 3px;
    padding-bottom: 3px;
}
#gallerymodal .modal-body .modal-info li h6 {
    min-width: 80px;
}
#gallerymodal .modal-body .modal-info li h6, .modal-body .modal-info li p {
    margin-bottom:0;
}
#gallerymodal .modal-body .modal-info li p {
    color:#666;
    letter-spacing: -.02rem;
}

/*오픈랩소식*/
.notice-content .info-table {
   text-align: center;
}
.notice-content .info-table a {
    color:#111;
}
.notice-content .info-table a:hover {
    color: #0056c1;
}
.notice-content .form-select, .notice-content .form-control, .notice-content .btn {
    border-radius: 0;
}
.notice-content .page-link {
    color:#999;
    border:0;
}
.notice-content .page-link.active {
    background-color: #e9ecef;
    color:#0156c1;
}

.notice-content .noticeview-title {
    border-bottom:1px solid #ddd;
    padding: 10px;
}
.notice-content .noticeview-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-style: solid;
    border-color: #ddd;
    border-width: 1px 0;
    margin-bottom: 0;
    padding: 5px 10px;
    background-color: #f9f9f9;
}
.notice-content .noticeview-info dt {
    flex-grow: 0;
    margin-right: 30px;
}
.notice-content .noticeview-info dd {
    flex-grow: 1;
    margin-bottom:0;
}

#boardmodal .modal-body .modal-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-style: solid;
    border-color: #ddd;
    border-width: 1px 0;
    padding-top:5px;
    padding-bottom:5px;
}
#boardmodal .modal-body .modal-info dt {
    flex-grow: 0;
    margin-right: 30px;
}
#boardmodal .modal-body .modal-info dd {
    flex-grow: 1;
    margin-bottom:0;
}

/*오시는길*/
.contactus-content .wrap {position: absolute;left: 0;bottom: 40px; margin-left: -144px;font-family: 'Malgun Gothic', dotum, '돋움', sans-serif;}
.contactus-content .wrap .info {width:300px; border-radius: 8px; overflow: hidden;background: #fff;}
.contactus-content .wrap .info:nth-child(1) {border: 0;box-shadow: 0px 1px 7px rgba(0,0,0,0.4);}
.contactus-content .info .img {position: relative; height:120px; overflow: hidden;}
.contactus-content .info .img img {width: 100%; position: absolute; top:50%; left:50%; transform: translate(-50%, -50%);}
.contactus-content .info .body {display: flex; justify-content: space-between; align-items:flex-end; padding:10px;}
.contactus-content .body .title {flex-grow: 1;}
.contactus-content .body .title h6 {font-size:18px; font-weight: bold; letter-spacing:-.1rem; margin-bottom:0;}
.contactus-content .body .title span {color:#666;}
.contactus-content .body .map-more, .body .map-road {font-size:12px; color:#dc3545; margin-left: 12px;}
.contactus-content .body .map-more i, .body .map-road i {width:25px; height:25px; display:block; border-radius:28px; text-align:center; color:#fff; background-color:#dc3545; padding-top:4px; margin-bottom:2px; margin-left:2px;}

.contactus-content .info-text p {
    font-size: 16px;
    margin-bottom: auto;
}
.contactus-content .map-info {
    line-height: 16px;
    text-align: center;
    padding: 10px;
}
.contactus-content .btn-more {
    display: block;
    font-size: 13px;
    color: #fff;
    background-color:#0056c1;
    padding: 4px;
    margin-top:10px;
    border-radius: 5px;
}
.contactus-content .btn-road {
    display: block;
    font-size: 13px;
    color: #fff;
    background-color:#ef8f00;
    padding: 4px;
    margin-top:2px;
    border-radius: 5px;
}

/*관리자*/
.admin-content .input-group>.form-control, .input-group>.form-select {
    flex: none;
    width: auto;
}
.admin-content .progress {
    height: 1.5rem;
}
.admin-content .table {
    vertical-align: middle;
}
.admin-content .table-striped>tbody>tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(0 86 193 / 5%);
}

/*modal*/
.modal-header {
    padding: 15px 25px;
    border-bottom: 0;
    background-color: #f9f9f9;
    border-radius: 0;
}
.modal-content {
    border: 0;
    border-radius: 0;
}
.modal-body {
    padding: 25px;
}
.modal-footer {
    border-top:0;
    padding: 0 25px 25px;
}
.modal .btn {
    border-radius: 0;
}

@media (max-width:991px) {
    .notice-content .info-table {
        font-size:14px;
        letter-spacing:-.05rem;
    }
}

@media (max-width:767px) {
    .notice-content .info-table tbody {
        text-align: left;
    }
    .notice-content .info-table th:nth-child(1), .notice-content .info-table th:nth-child(4), .notice-content .info-table td:nth-child(1), .notice-content .info-table td:nth-child(4){
        display: none;
    }
    .notice-content .info-table td:nth-child(2) {
        word-break: keep-all;
    }
    .notice-content .info-table td:nth-child(5) {
        min-width: 81px;
    }
}