/* font */

@font-face {
    font-family: 'NotoSans';
    font-weight: 500;
    font-style: normal;
    src: url("../font/NotoSans/NotoSans-Bold.eot") format('embedded-opentype'), url("../font/NotoSans/NotoSans-Bold.otf") format('opentype'), url("../font/NotoSans/NotoSans-Bold.woff") format('woff'), url("../font/NotoSans/NotoSans-Bold.woff2") format('woff2');
}

@font-face {
    font-family: 'NotoSans';
    font-weight: 400;
    font-style: normal;
    src: url("../font/NotoSans/NotoSans-Regular.eot") format('embedded-opentype'), url("../font/NotoSans/NotoSans-Regular.otf") format('opentype'), url("../font/NotoSans/NotoSans-Regular.woff") format('woff'), url("../font/NotoSans/NotoSans-Regular.woff2") format('woff2');
}

@font-face {
    font-family: 'NotoSans';
    font-weight: 300;
    font-style: normal;
    src: url("../font/NotoSans/NotoSans-Light.eot") format('embedded-opentype'), url("../font/NotoSans/NotoSans-Light.otf") format('opentype'), url("../font/NotoSans/NotoSans-Light.woff") format('woff'), url("../font/NotoSans/NotoSans-Light.woff2") format('woff2');
}


/* 공통 스타일 */

body {
    font-family: 'NotoSans', 'Malgun Gothic', dotum, Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #333;
}

dl,
ol,
ul {
    margin-bottom: 0;
}

a {
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

button {
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari and Chrome */
    appearance: none;
    background: inherit;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    cursor: pointer;
    outline: none;
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea {
    appearance: none;
    -webkit-border-radius: 0;
    box-shadow: none;
}

input[type=checkbox],
input[type=radio] {
    appearance: auto;
    -webkit-appearance: auto;
}

select {
    background: #fff url('../../assets/images/icon_arr_down.svg') no-repeat 110% center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select[name=sel_array] {
    padding-right: 14px;
}

select::-ms-expand {
    /* 화살표 없애기 for IE10, 11*/
    display: none;
}

.layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
}

.disNone {
    display: none;
}

.modal-title {
    font-weight: 400;
}


/* 웹접근성 */

.sound_only {
    display: none;
}

.msg_sound_only,
.sound_only {
    display: inline-block !important;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    border: 0 !important;
    overflow: hidden !important;
}


/* 헤더 */


/* 헤더 pc */

#hd_pc {
    position: fixed;
    background-color: rgba(255, 255, 255, .8);
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}

#hd_pc .util {
    border-bottom: 1px solid #e8e8e8;
}

#hd_pc .util ul {
    display: flex;
    justify-content: flex-end;
}

#hd_pc .util ul li a {
    padding: 6px 10px;
    display: block;
    font-size: 0.75rem;
}

#hd_pc .util ul li a:hover {
    text-decoration: underline;
}

#hd_pc .cate_menu {
    border-bottom: 1px solid #e8e8e8;
}

#hd_pc .cate_menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
}

#hd_pc .cate_wr {
    display: flex;
    justify-content: space-between;
}

#hd_pc .left_wr {
    display: flex;
}

#hd_pc .hd_logo {
    margin: 35px 0px;
    margin-right: 60px;
    transform: scale(1.9);
}

#hd_pc .hd_logo a img {
    display: block;
    width: 71px;
}

#hd_pc .cate {
    width: 100%;
}

#hd_pc .cate .main_menu {
    display: flex;
    font-size: 1.063rem;
    height: 100%;
    align-items: center;
    letter-spacing: -.5px;
    justify-content: space-around;
}

#hd_pc .cate .main_menu li {
    position: relative;
}

#hd_pc .cate .main_menu li:hover>a {
    color: #81b825;
}

#hd_pc .cate .main_menu>li>a {
    padding: 29px 12px;
    transition: .2s;
}

#hd_pc .cate .sub_menu {
    display: none;
    position: absolute;
    font-weight: 400;
    text-align: center;
    width: 140px;
    letter-spacing: -1px;
    background-color: rgba(255, 255, 255, .9);
    top: 55px;
    transform: translateX(-50%);
    left: 50%;
    font-size: 0.9375rem;
    z-index: 999;
    border: 1px solid #e8e8e8;
    border-top: none;
}

#hd_pc .cate .sub_menu li a {
    padding: 8px 0;
    display: block;
}

#hd_pc .menu ul {
    display: flex;
    font-size: 1.2rem;
    justify-content: center;
    align-items: center;
}

#hd_pc .menu ul li a {
    padding: 25px 7px;
    display: block;
}

#hd_pc .site_map {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, .9);
    z-index: 999;
    transform: translateX(-50%);
    left: 50%;
    width: 100%;
    margin-top: 1px;
    border-bottom: 1px solid #e8e8e8;
}

#hd_pc .site_map .main_menu {
    display: flex;
    justify-content: space-evenly;
    padding: 20px 30px;
    letter-spacing: -1px;
}

#hd_pc .site_map .main_menu li a {
    transition: .2s;
}

#hd_pc .site_map .main_menu li:hover>a {
    color: #81b825;
}

#hd_pc .site_map .main_menu>li>a,
#hd_pc .site_map .main_menu .no_sub a {
    font-weight: 500;
    margin-bottom: 14px;
    display: block;
}

#hd_pc .site_map .sub_menu li a {
    display: block;
    padding: 5px 0;
    font-size: 0.875rem;
}


/* 헤더 mobile */

#hd_m {
    display: none;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #e8e8e8;
}

#hd_m.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
}

#hd_m .hd_m_wr {
    display: flex;
    font-size: 1.3rem;
}

#hd_m .hd_m_wr .hd_btn:first-child {
    margin-right: 16px;
}

#hd_m .navbar-brand {
    margin-right: 0;
}

#hd_m .navbar-toggler {
    z-index: 9999;
    border-color: transparent;
    padding: 0;
    width: 34px;
}

#hd_m .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
}

#hd_m .navbar-collapse .layout {
    padding: 16px;
}

#hd_m .navbar-collapse .util {
    display: flex;
    font-size: 0.8125rem;
}

#hd_m .navbar-collapse .util li {
    width: 93px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hd_m .navbar-collapse .util .btn_login {
    background-color: #47ad1a;
    color: #fff;
    margin-right: 9px;
}

#hd_m .navbar-collapse .util .btn_signup {
    border: 1px solid #ccc;
}

#hd_m .navbar-collapse .util .btn_language {
    border: 1px solid #ccc;
}

#hd_m .navbar-collapse .util li a {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hd_m .navbar-collapse hr {
    margin-bottom: 0.2rem;
}

#hd_m .navbar-collapse .navbar-nav .nav-item .nav-link {
    font-size: 1.063rem;
}

#hd_m .navbar-nav .nav-link:focus,
#hd_m .navbar-nav .nav-link:hover {
    color: #47ad1a;
}

#hd_m .navbar-collapse .navbar-nav .nav-item .dropdown-menu {
    padding: 0;
    border: none;
}

#hd_m .navbar-collapse .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    color: #999;
    padding: .25rem 1rem;
}


/* 전체메뉴 아이콘 */

header .nav-icon4 {
    width: 60px;
    height: 45px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    transform: scale(.35);
    margin-left: -10px;
}

header .nav-icon4 span {
    display: block;
    position: absolute;
    height: 9px;
    width: 100%;
    background: #333;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

header .nav-icon4 span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

header .nav-icon4 span:nth-child(2) {
    top: 18px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

header .nav-icon4 span:nth-child(3) {
    top: 36px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

header .nav-icon4.open span {
    background-color: #81b825;
}

header .nav-icon4.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
}

header .nav-icon4.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

header .nav-icon4.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 39px;
    left: 8px;
}


/* 헤더 검색창 모달 */

header .modal .form-group {
    margin-bottom: 0;
    text-align: center;
}

header .modal .form-group .btn {
    margin-top: .5rem !important;
    margin-bottom: 0 !important;
}

main {
    padding-top: 115px !important;
}


/* 푸터 */

footer {
    background-color: #fafafa;
}

footer .ft_menu {
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 8px 0;
    font-size: 0.875rem;
    color: #666;
    background-color: #fff;
}

footer .ft_menu ul {
    display: flex;
}

footer .ft_menu ul li {
    margin-right: 10px;
}

footer .ft_menu ul li:hover {
    font-weight: 500;
    color: #a6774e;
}

footer .ft_wr {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
}

footer .ft_wr .ft_logo a img {
    width: 106px;
}

footer .ft_cont {
    font-size: 0.8125rem;
    max-width: 85%;
    padding-left: 20px;
    color: #666;
}

footer .ft_cont .ft_top {
    line-height: 2;
}

footer .ft_cont .ft_top span {
    margin-right: 15px;
    display: inline-block;
}

footer .ft_cont .ft_btm {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

footer .ft_cont .ft_btm span {
    font-size: 0.75rem;
    color: #979797;
}

footer .ft_cont .ft_btm .ft_sns {
    display: flex;
    font-size: 1.75rem;
}

footer .ft_cont .ft_btm .ft_sns li {
    transition: .2s;
}

footer .ft_cont .ft_btm .ft_sns li:hover {
    color: #a6774e;
}

footer .ft_cont .ft_btm .ft_sns li a {
    padding: 0 4px;
}

footer #btn_top {
    background-image: url("../images/btn_top.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 30px;
    right: 14px;
    z-index: 999;
    width: 52px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px;
    color: #281815c2;
    font-size: 0.9rem;
    transition: .2s;
}

footer #btn_top:hover {
    transform: rotate(-20deg);
}


/* 서브 페이지 공통부분 */

.content_wr {
    margin-bottom: 85px;
}

.cate_ban {
    background: url("../images/cate_ban/cate_ban_01.png") no-repeat;
    height: 316px;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.cate_ban .layout {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cate_ban .title {
    text-transform: uppercase;
    font-size: 2.625rem;
    font-weight: 400;
}

.cate_depth {
    color: #999;
    font-weight: 300;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 10px;
}

.cate_depth span {
    display: inline-block;
    padding: 0 5px;
}

.cont_title {
    font-size: 2rem;
    margin-top: 40px;
}

.paging {
    display: flex;
    justify-content: center;
    color: #999;
}

.paging ul {
    display: flex;
    font-size: 0.75rem;
    align-items: center;
}

.paging ul li {
    border-radius: 50%;
    height: 28px;
    width: 28px;
    background-color: #ececec;
    margin: 0 2px;
}

.paging ul li.on {
    background-color: #47ad1a;
    color: #fff;
}

.paging ul li a {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#shelterdetail #shelter-content {
    width: 100%;
    padding-left: 100px;
    padding-right: 100px;
    margin-left: -13px;
}

@-webkit-keyframes whirl-bounce {
    0% {
        -webkit-transform: translate(0, -10%) scaleX(1) scaleY(1);
        transform: translate(0, -10%) scaleX(1) scaleY(1);
    }
    100% {
        -webkit-transform: translate(0, 10%) scaleX(1.1) scaleY(0.9);
        transform: translate(0, 10%) scaleX(1.1) scaleY(0.9);
    }
}

@keyframes whirl-bounce {
    0% {
        -webkit-transform: translate(0, -10%) scaleX(1) scaleY(1);
        transform: translate(0, -10%) scaleX(1) scaleY(1);
    }
    100% {
        -webkit-transform: translate(0, 10%) scaleX(1.1) scaleY(0.9);
        transform: translate(0, 10%) scaleX(1.1) scaleY(0.9);
    }
}

#down_arrow {
    -webkit-animation: whirl-bounce 0.5s cubic-bezier(0.6, 0.5, 0.8, 0.5) alternate infinite;
    animation: whirl-bounce 0.5s cubic-bezier(0.6, 0.5, 0.8, 0.5) alternate infinite;
    background: var(--primary);
    border-radius: 100%;
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    -webkit-transform-origin: bottom center;
    transform-origin: bottom center;
}


/* 미디어쿼리 */

@media screen and (max-width: 1080px) {
    #shelterdetail #shelter-content {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
        margin-left: 0px;
    }
}

@media screen and (max-width: 992px) {
    #hd_pc {
        display: none;
    }
    #hd_m {
        display: flex;
    }
    main {
        padding-top: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .content_wr {
        margin-bottom: 60px;
    }
    .layout {
        padding: 0 16px;
    }
    .cate_ban {
        background-attachment: inherit;
    }
    footer .ft_wr {
        display: block;
    }
    footer .ft_wr .ft_logo a img {
        width: 80px;
    }
    footer .ft_cont {
        max-width: 100%;
        padding-left: 0;
        margin-top: 15px;
    }
    footer .ft_cont .ft_btm {
        display: block;
        margin-top: 15px;
    }
    #shelterdetail #shelter-content {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
        margin-left: 0px;
    }
}

@media screen and (max-width: 576px) {
    .cate_ban {
        height: 200px;
    }
    .cate_ban .title {
        font-size: 2.125rem;
    }
    .cate_depth,
    .cont_title {
        text-align: center;
    }
    .cate_depth {
        letter-spacing: -.5px;
        margin-top: 20px;
    }
    .cont_title {
        margin-top: 28px;
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    #shelterdetail #shelter-content {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
        margin-left: 0px;
    }
}