/* s-sub-title */
.s-sub-title {
    position: relative;
    padding-left: 15px;
}
.s-sub-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #333;
}

/* sub1_1 */
#sub1_1 .sec1 .fbox {
    align-items: flex-start;
}
#sub1_1 .sec1 .grayBox {
    padding: 2.5rem;
    border-radius: 5px;
    background-color: #f8f8f8;
}
@media (min-width:768px) {
    #sub1_1 .sec1 .fbox .lft {
        width: 200px;
    }
    #sub1_1 .sec1 .fbox .rt {
        width: calc(100% - 200px);
    }
}
@media (max-width:768px) {
    #sub1_1 .sec1 .fbox {
        flex-wrap: wrap;
    }
    #sub1_1 .sec1 .fbox .lft {
        width: 100%;
        text-align: center;
    }
    #sub1_1 .sec1 .fbox .rt {
        width: 100%;
        padding-top: 20px;
    }
    #sub1_1 .sec1 .grayBox {
        padding: 1.5rem;
    }
}

/* sub1_2 */
#sub1_2 .sec1 .top {
    background: url(../img/sub1_2_top.png) center center no-repeat;
    background-size: cover;
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 30px 100px;
}
@media (max-width:992px) {
    #sub1_2 .sec1 .top {
        padding: 30px 50px;
    }
}
@media (max-width:768px) {
    #sub1_2 .sec1 .top {
        padding: 50px 20px;
    }
}

/* account */
.account {
    background-color: #005bac;
    border-radius: 10px;
    padding: 50px 15px;
}
@media (max-width:768px) {
    .account {
        padding: 30px 15px;
    }
}


/* spc_list */
.spc_list .item {
    padding: 40px 15px;
    border-radius: 15px;
    background-color: #f7f7f7;
}
.spc_list .item h5 {
    line-height: 1.2em;
    margin-top: 10px;
}
@media (max-width:768px) {
    .spc_list .item {
        padding: 30px 5px;
        border-radius: 5px;
    }
    .spc_list .item img {
        width: 40px;
    }
}

/* exh_list */
.exh_list .img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.exh_list .img .tit {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 35px;
    border-radius: 0 10px 0 0;
    color: #fff;
    background-color: rgba(20,20,20,0.8);
}
@media (max-width:768px) {
    .exh_list .img {
        border-radius: 5px;
    }
    .exh_list .img .tit {
        padding: 5px 25px;
        border-radius: 0 5px 0 0;
    }
}

/* sub2_3 */
#sub2_3 .sec1 .fbox > div {
    width: 50%;
}
#sub2_3 .sec1 .fbox .owl-carousel {
    margin-bottom: 0px;
}
#sub2_3 .sec1 .fbox .owl-carousel .owl-dots .owl-dot.active span, 
#sub2_3 .sec1 .fbox .owl-carousel .owl-dots .owl-dot:hover span {
    background-color: #175555;
}
@media (max-width:992px) {
    #sub2_3 .sec1 .fbox {
        flex-wrap: wrap;
    }
    #sub2_3 .sec1 .fbox > div {
        width: 100%;
    }
    #sub2_3 .sec1 .fbox .img {
        order: 1;
    }
    #sub2_3 .sec1 .fbox .txt {
        order: 2;
        padding: 30px 0 70px;
    }
}
/*mapbox*/
.mapbox .root_daum_roughmap .wrap_map {
    height: 450px !important;
}
@media (max-width:767px) {
	.mapbox .root_daum_roughmap .wrap_map {
		height: 250px !important;
	}
}
/* sub2_4 .sec4 */
#sub2_4 .sec1 ul {
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}
#sub2_4 .sec1 li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}
#sub2_4 .sec1 li p {
    color: #666;
    display: flex;
    font-weight: 300;
    align-items: center;
    padding: 12px;
}
#sub2_4 .sec1 li p strong {
    color: #333;
    font-weight: 600;
    width: 10%;
}
#sub2_4 .sec1 li p span {
    width: 90%;
}
@media (max-width:578px) {
    #sub2_4 .sec1 li p strong {
        width: 15%;
    }
    #sub2_4 .sec1 li p span {
        width: 85%;
    }
}

/* sub3_1 */
#sub3_1 .sec1 .mb_dea {
    position: relative;
}
#sub3_1 .sec1 .mb_dea .txtbox {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 80px 60px;
    background-color: rgba(23, 85, 85, 0.9);
    width: 100%;
    padding-right: 40%;
}
#sub3_1 .sec1 .mb_dea .txtbox .pc-dea {
    position: absolute;
    right: 30px;
    top: -25%;
    max-width: 40vw;
}
@media (max-width:1400px) {
    #sub3_1 .sec1 .mb_dea .txtbox {
        padding-right: 50%;
    }
    #sub3_1 .sec1 .mb_dea .txtbox .pc-dea {
        max-width: 35vw;
    }
}
@media (max-width:992px) {
    #sub3_1 .sec1 .mb_dea .txtbox {
        position: relative;
        padding: 60px 30px;
    }
    #sub3_1 .sec1 .mb_dea .txtbox .calli {
        max-width: 20vw;
    }
    #sub3_1 .sec1 .mb_dea .txtbox .pc-dea {
        right: 20px;
        top: -10%;
        transform: translateY(-50%);
        max-width: 30vw;
    }
}
@media (max-width:768px) {
    #sub3_1 .sec1 .mb_dea .txtbox .calli {
        max-width: 30vw;
    }
}
@media (max-width:576px) {
    #sub3_1 .sec1 .mb_dea .txtbox .pc-dea {
        max-width: 40vw;
    }
}

/* sub5_1 */
#sub5_1 .sec1 ul li .img img {
    border-radius: 10px;
}
@media (max-width:768px) {
    #sub5_1 .sec1 ul li .img img {
        border-radius: 5px;
    }
}


/* comimg */
.comimg {
    position: relative;
    text-align: center;
}
.comimg .lft,
.comimg .rt {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    background-color: #fff;

    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}
.comimg .lft {
    left: 0;
}
.comimg .rt {
    right: 0;
}


/* portfolio-list */
.portfolio-list a {
    text-decoration: none;
    display: block;
}
.portfolio-list a .txt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* search-box */
.search-box-wrp {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
.search-box {
    display: flex;
    width: 450px;
    background-color: #f7f7f7;
    padding: 15px;
}
.search-box.search-box2 {
    width: 250px;
}
.search-box button,
.search-box .form-control {
    background-color: transparent;
    border: 0px;
    font-size: 18px;
    box-shadow: 0 0 0;
    color: #000;
}
.search-box button {
    font-size: 22px;
    width: 50px;
}
.search-box #search-cate2 {
    width: 30%;
}
.search-box input.form-control {
    width: calc(70% - 50px);
}
@media (max-width:768px) {
    .search-box-wrp {
        flex-wrap: wrap;
    }
    .search-box-wrp .search-box {
        width: 100% !important;
    }
}
/* collection-wrp */
#collection-wrp {
    position: relative;
}
#collection-wrp .arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 90px;
    width: 50px;
    background-color: rgba(0,0,0,1);
    color: #fff;
    text-align: center;
    z-index: 5;
    cursor: pointer;
    font-size: 28px;
}
#collection-wrp .arr#collection_prev {
    left: 0;
}
#collection-wrp .arr#collection_next {
    right: 0;
}
@media (max-width:768px) {
    #collection-wrp .arr {
        line-height: 50px;
        width: 30px;
        font-size: 20px;
    }
}

/* collection-for */
.collection-for .item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.collection-for .item img {
    max-height: 600px;
}
@media (max-width:768px) {
    .collection-for .item img {
        max-height: 300px;
    }
}

/* collection-nav */
.collection-nav img {
    height: 5vw;
}
.collection-nav .slick-track {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    gap: 10px;
}
.collection-nav .slick-slide {
    float: none;
    width: auto !important;
    position: relative;
}
.collection-nav .slick-slide.is-active:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 5px solid #bc1d1e;
}
.collection-nav .slick-slide img {
    cursor: pointer;
}
@media (max-width:768px) {
    .collection-nav img {
        height: 10vw;
    }
    .collection-nav .slick-track {
        gap: 3px;
    }
    .collection-nav .slick-slide.is-active:after {
        border-width: 2px;
    }
}

/* gallery-top */
.gallery-top .lft {
    background-color: #f7f7f7;
}
.gallery-top .lft img {
    max-height: 600px;
}
@media (max-width:768px) {
    .gallery-top > div {
        width: 100%;
    }
    .gallery-top .rt {
        margin-bottom: 40px;
        order: 1;
    }
    .gallery-top .lft {
        order: 2;
    }
    .gallery-top .lft img {
        max-height: 100vw;
    }
}

/* tableShape */
.tableShape {
    border-top: 1px solid #aaa;
}
.tableShape > li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.tableShape > li:last-child {
    border-color: #aaa;
}
.tableShape p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.tableShape p strong {
    width: 100px;
    padding-left: 8px;
}
.tableShape p span {
    width: calc(100% - 100px);
}