﻿/*  폰트 적용 */
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);

body {

    font-size:12px;
    margin: 0;
    background-color: #ffffff;

}
    

input{
    text-indent: 5px;
    height: 30px;
    border: 1px solid #aaaaaa;
    border-radius: 3px;
}


html {
    font-family: "Noto Sans KR", sans-serif;
}

/* 노말라이즈 */
body, ul, li, h1 {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 라이브러리 */
.con {
    margin: 0 auto;
}

.img-box > img {
    width: 100%;
    display: block;
}

.row::after {
    content: "";
    display: block;
    clear: both;
}

.cell {
    float: left;
    box-sizing: border-box;
}

.cell-right {
    float: right;
    box-sizing: border-box;
}

.margin-0-auto {
    margin: 0 auto;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.text-align-center {
    text-align: center;
}

.line-height-0-ch-only {
    line-height: 0;
}

    .line-height-0-ch-only > * {
        line-height: normal;
    }

.relative {
    position: relative;
}

.absolute-left {
    position: absolute;
    left: 0;
}

.absolute-right {
    position: absolute;
    right: 0;
}

.absolute-middle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.width-100p {
    width: 100%;
}

.table {
    display: table;
}

.table-cell {
    display: table-cell;
}

.vertical-align-top {
    vertical-align: top;
}

.vertical-align-middle {
    vertical-align: middle;
}

.vertical-align-bottom {
    vertical-align: bottom;
}

/* 커스텀 */

.con {
    width: 1180px;
}

.con-min-width {
    min-width: 1180px;
}

header {
    background: -webkit-linear-gradient(rgba(255,255,255,1) 80px,rgba(255,255,255,0.2) 66px);
    transition: 0.3s ease-in;
    height: 66px;
    overflow: hidden;
    font-size: 1.4rem;
    border-bottom: 1px solid #bbbbbb;
    position: fixed;
    top: 2rem;
    left: 0;
    margin-left: 2rem;
    margin-right: 2rem;
    width: calc(100% - 4rem);
    border-radius: 2px;
}


nav {
    width: 60vw;
    margin: 0 auto;
    background: #f3e970;
}

    nav > ul > li {
        float: left;
        line-height: 65px;
        position: relative;
        cursor: pointer;
        text-align: center;
        width: 12vw;
    }

        nav > ul > li :hover {
            border-bottom: 2px solid #e99f44;
        }

#menu-bar {
    background-color: #ffffff;
    width: 100%;
    position: fixed;
    top: calc(16vh + 9rem - 5px);
    display: none;
    border-bottom: 0px solid #bbbbbb;
}

#menu-bar table {
    margin: 0 auto;
}

    #menu-bar td {
        width: calc(12vw - 4px);
        height: 22px;
        line-height: 22px;
        font-size: 1rem;
        text-align: center;
        border: 0;
    }

    #menu-bar td :hover{       
        cursor: pointer;
    }

#logo {
    position: absolute;
    top: calc(3px);
    left: calc(6px);
    width: 165px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    border-radius: 5px;
    border: 0;
    background-image: url('../images/logo.jpg');
    background-size: contain;
    cursor: pointer;
}

#logo2 {
    position: absolute;
    top: calc(10px);
    left: calc(6px);
    width: calc((8vh - 12px) * 2.76);
    height: calc(8vh - 12px);
    text-align: center;
    line-height: 60px;
    border-radius: 5px;
    border: 0;
    background-image: url('../images/logo.jpg');
    background-size: contain;
}

.main-image{
    background-image: url('../images/main_01.jpg');
    height: calc(100vh - 1px);
    background-size: cover;
}

#slide-top {
    height: 8vh;
    width: 100%;
    transition: 1s;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
    display: none;
}

#slide-sub {
    height: 100%;
    width: 90%;
    transition: 2s;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #ffffff;
    border-left: 1px solid #aaaaaa;
    overflow: hidden;
    display: none;
}

.goods{
    width: 100%;
    border: 0;
}

.user-wrap{
    width: 20%;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.user-image{
    width: 100%;
    height: auto;
    display: inline-block;
}

.user-text {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50% );
    color: white;
    width: 100%;
    text-align: center;
    font-size: 1.5vw;
}

.sub-text {
    position: absolute;
    top: 60%;
    left: 0%;
    transform: translate(0%, -50% );
    color: rgba(255,255,255, 0.7);
    width: 100%;
    text-align: center;
    font-size: 1.1vw;
}


.user-image:hover {
    transition: 0.5s;
    filter: brightness(25%);
    cursor: pointer;
    transform: scale(1.2);
    -webkit-transform: scale(1.2); /* 크롬, 사파리 */
    -moz-transform: scale(1.2); /* 파이어폭스 */
    -ms-transform: scale(1.2); /* IE */
    -o-transform: scale(1.2); /* 오페라 */
}

.gallery {
    width: calc(80vw - 17px);
    padding-left: calc(10vw + 5px);
    padding-right: 10vw;
}

    .gallery div {
        display: inline-block;
        width: calc(20vw - 15px);
        margin-right: 3px;
        margin-left: 3px;
        height: calc((20vw - 15px) * 0.75);
        line-height: calc((20vw - 15px) * 0.75);
        margin-top: 10px;
        border: 1px solid #aaaaaa;
        text-align: center;
        background-size: cover;
        overflow: hidden;
        font-size: 1.2rem;
        font-weight: bold;
        color: #fff;
    }

        .gallery div:hover {
            transition: 0.5s;
            filter: brightness(90%);
            cursor: pointer;
        }

.sub-title{
    line-height: 7rem;
    text-align: center;
    font-size: 1.9rem;
    width: calc(100% - 2px);
}

#goods-list{
    width: calc(80vw - 17px);
    padding-left: 10vw;
    padding-right: 10vw;
}

    #goods-list div {
        display: inline-block;
        width: calc(20vw - 15px);
        margin-right: 3px;
        margin-left: 3px;
        height: calc((20vw - 15px) * 0.75);
        margin-top: 10px;
        border: 1px solid #444444;
        border-radius: 10px;
        text-align: center;
        background-color: #f0f0f0;
    }

.footer{
    width: calc(100% - 10vw);
    height: 20vh;
    background-color: #f3f3f3;
    color: #363636;
    font-size: 1rem;
    margin-top: 2vh;
    padding-left: 10vw;
}

#slide-top {
    height: 0;
    width: 100%;
}

#slide-sub {
    display: none;
}

.sidebar-container{
    position: fixed;
    right: 0;
    top: 50vh;
    border-radius: 3px;
    background-color: transparent;
    width: 6vw;
}

.sidebar {
    height: 6vw;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid #888888;
    border-radius: 6px;
    margin-top: 2px;
    color: white;
    padding-top: 3px;
    background-color: #c73232;
}

#notice {
    width: calc(80vw - 17px);
    padding-left: 10vw;
    padding-right: 10vw;
    min-height: 20vh;
}

#notice div{
    line-height: 3rem;
    font-size: 1rem;
    border-bottom: 1px dashed #979797;
    text-indent: 3px;
}

.sub-container{
    width: 100%;
    display: inline-block;
}

.sub-menu{
    width: 185px;
    margin-left: 15vw;
}

.content {
    min-height: 50vh;
    width: calc(85% - 50px);
    margin-left: 50px;
    margin-right: 15vw;
}

.sub-table{
    border: 0;
    border-collapse: collapse;
    width: 100%;
}

    .sub-table th:first-child {
        width: calc(15vw + 152px);
        vertical-align: top;
    }

.sub-menu-title {
    width: calc(100% - 4px);
    border-radius: 1px;
    font-size: 1.3rem;
    border: 1px solid #eaeaea;
    line-height: 7rem;
    background-image: url('../images/title_box.jpg');
    background-size:cover;
    color: white;
    text-align: center;
}

.sub-menu-item {
    width: calc(100% - 4px);
    border-radius: 1px;
    font-size: 1rem;
    display: inline-block;
    height: 2.8rem;
    line-height: 2.8rem;
    text-indent: 5px;
    text-align: left;
    font-weight: 400;
    cursor: pointer;
    border-bottom: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

.sub-menu-item li{
    float: right;
}

    .sub-menu-item li::after{
        content: '\003b';
    }

.sub-menu-select {
    color: #ff0000;
    font-weight: bold;
}

.content-title{
    margin-top: 3rem;
    width: calc(100% - 0px);
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 2.5rem;
    border-bottom: 3px solid #ae610e;
    display: block;
}

span.size_5 {
    font-size: 3.5rem;
    margin-top: -1rem;
}

.btn_list {
    width: 100%;
    text-align: right;
    display: inline-block;
    height: 4rem;
    margin-top: 0.5rem;
}

button{
    min-width: 5rem;
    height: 2rem;
    margin: 3px;
    border-radius: 5px;
    border: 1px solid #707070;
    background-color: #fff;
}

button:hover{
    font-weight: bold;
    cursor: pointer;
}

.sub-image{
    width: 100%;
    height: 35vh;
    background-color: #1a1c26;
}

.ani01 {
    margin-top: 3rem;
    font-size: 2.3rem;
    line-height: 2.9rem;
    opacity: 0.2;
    display: none;
    color: #171717;
}

.ani02 {
    font-size: 1.3rem;
    line-height: 2.8rem;
    opacity: 0.8;
    color: #171717;
}

.opt-ani{
    opacity: 1;
    transition: 1s;
}

.quick-container {
    padding-left: calc(10vw + 3px);
    padding-right: calc(10vw + 6px);
    width: calc(100% - 20vw - 9px);
    min-height: 10vh;
}

    .quick-container table{
        width: 100%;
        border: 0;
        border-collapse: collapse;
    }

    .quick-container td {
        border: 1px solid #6c6c6c;
        border-collapse: collapse;
        text-align: center;        
    }

.tel-pic{
    width: 40vw;
    height: calc(40vw * 0.36);
}

.tel-pic img{
    width: 100%;
    height: 100%;
    border: 0;
}

.qicon1 {
    width: 13vw;
    height: 6vw;
    background-color: #353434;
    color: white;
    font-size: 1.4rem;
}

.qicon1:hover{
    transition: 1s;
    font-weight: bold;
    cursor: pointer;
}

.qicon2 {
    width: 14vw;
    height: 6vw;
    background-color: #c70000;
    color: white;
    font-size: 1.4rem;
}

    .qicon2:hover {
        transition: 1s;
        font-weight: bold;
        cursor: pointer;
    }

.width-50 {
    width: 50%;
}

/* 탭메뉴*/
.tabmenu {
    max-width: calc(100% - 20vw - 14px);
    margin: 0 auto;
    height: 235px;
}

    .tabmenu ul {
        position: relative;
    }

        .tabmenu ul li {
            display: inline-block;
            width: 33.33%;
            float: left;
            text-align: center;
            background: #f9f9f9;
            line-height: 38px;
            font-size: 1rem;
        }

    .tabmenu label {
        display: block;
        width: 100%;
        height: 56px;
        line-height: 56px;
        font-size: 1.3rem;
        cursor: pointer;
    }

    .tabmenu input {
        display: none;
    }

.tabCon {
    display: none;
    width: 100%;
    text-align: left;
    padding: 20px;
    position: absolute;
    left: 0;
    top: 40px;
    box-sizing: border-box;
    border: 5px solid #f9f9f9;
    height: 150px;
}

.tabmenu input:checked ~ label {
    border-bottom: 4px solid #e24500;
}

.tabmenu input:checked ~ .tabCon {
    transition: 2s;
    display: block;
}

.login-container {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 3rem;
}

    .login-container div {
        line-height: 3.5rem;
    }

    .login-container input {
        line-height: 3.0rem;
        height: 3.0rem;
        font-size: 1.2rem;
        width: 30%;
    }

    .login-container button {
        line-height: 4.0rem;
        height: 4.0rem;
        font-size: 1.2rem;
        width: calc(30% + 6px);
        color: white;
        background-color: #1f1d1d;
    }

.button-group{
    text-align: right;
}

.question {
    text-align: center;
    max-width: 300px;
}

/*회원가입 스타일*/
.member-table {
    width: 100%;
    font-size: 1rem;
    border-collapse: collapse;
}

    .member-table th:first-child {
        width: 200px;
        vertical-align: middle;
        font-weight: 400;
        border-bottom: 1px solid #eeeeee;
        border-right: 1px solid #eeeeee;
        background-color: #fafafa;
        height: 38px;
    }

    .member-table td {
        border-bottom: 1px solid #eeeeee;
        text-indent: 5px;
    }

.long-text {
    width: 70%;
}

.private{
    width: 100%;
    height: 25vh;
    overflow-x:hidden;
    overflow-y: scroll;
    font-size: 1.1rem;
    border: 1px solid #eeeeee;
}

/*제품등록 스타일*/

.grid-container{
    width: 100%;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 0px;
    text-align: left;
}

.grid-title{
    display: inline-block;
    border-right: 0px solid #dddddd;
    line-height: 32px;
    height: 32px;
    width: 80px;
    text-align: center;
    font-size: 0.9rem;
    vertical-align: top;
}

.grid-content {
    line-height: 32px;
    height: 32px;
    display: inline-block;
    width: calc(100% - 96px);
    margin-left: 14px;
}

/*#################################*/

input[type=file] {
    border: 0;
}

    input[type=file]::file-selector-button {
        width: 100px;
        height: 30px;
        background: #fff;
        border: 1px solid rgb(77,77,77);
        border-radius: 0px;
        cursor: pointer;
    }

@media screen and (max-width: 1200px) {

    body {
        font-size: 0.9rem;
        margin: 0;
    }

    .main-image {
        height: 50vh;
        background-size: cover;
    }

    header {
        background: -webkit-linear-gradient(rgba(255,255,255,1) 80px,rgba(255,255,255,0.2) 80px);
        transition: 0.3s ease-in;
        height: 0px;
        overflow: hidden;
        font-size: 1rem;
        border-bottom: 0px solid #ffffff;
    }

    .goods td {
        text-align: center;
        border: 1px solid #aaaaaa;
        font-size: calc(100vw / 30);
        color: rgba(100, 100, 100, 0.3);
    }

        .goods td:hover {
            transition: 0.9s;
            font-size: 1.3rem;
            color: rgba(100, 100, 100, 0.9);
            font-weight: bold;
            cursor: pointer;
        }

    .sub-title {
        line-height: 10vh;
        text-align: center;
        font-weight: bold;
        height: 10vh;
    }

    #goods-list {
        width: calc(100% - 4px);
        padding-left: 2px;
        padding-right: 2px;
    }

        #goods-list div {           
            width: calc(50% - 8px);
            margin-right: 2px;
            margin-left: 2px;
            height: calc((50vw - 19px) * 0.75);     
            margin-top: 8px;
        }

    .gallery {
        width: calc(100% - 4px);
        padding-left: 2px;
        padding-right: 2px;
    }

        .gallery div {
            width: calc(50% - 8px);
            margin-right: 2px;
            margin-left: 2px;
            height: calc((50vw - 19px) * 0.75);
            margin-top: 8px;
        }

    #slide-top {
        height: 8vh;
        width: 100%;
        transition: 1s;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #dddddd;
        display: block;
    }

    #slide-sub {
        height: 100%;
        width: 90%;
        transition: 2s;
        position: fixed;
        top: 0;
        right: 0;
        background-color: #ffffff;
        border-left: 1px solid #aaaaaa;
        overflow: hidden;
        display: none;
    }

    .toggle-btn{
        float: right;
        height: 8vh;
        width: 200px;
        font-size: 1.1rem;
        text-align: center;
        line-height: 8vh;  
        display: inline-block;
        text-align: right;
    }

    span.size_2 {
        margin-top: 0.5vh;
        font-size: 7vh;
    }

    span.size_5 {
        font-size: 3.5rem;
        margin-top: -1rem;
    }

    /*아코디언 메뉴 스타일*/
    .accordion-wrapper {
        border-radius: 8px;
        overflow: hidden;
        /*box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);*/
        width: calc(100% - 20px);
        margin: 0 auto;
    }

    .accordion {
        width: 235px;
        color: #333333;
        overflow: hidden;
        margin-bottom: 0;
    }

        .accordion:last-child {
            margin-bottom: 0;
        }

    .accordion-label {
        display: flex;
        -webkit-box-pack: justify;
        justify-content: space-between;
        padding: 16px;
        background: rgba(255,255,255,.8);
        font-weight: bold;
        cursor: pointer;
        font-size: 20px;
    }

        .accordion-label:hover {
            background: rgba(255,255,255,1);
        }

        .accordion-label::after {
            content: "\276F";
            width: 16px;
            height: 16px;
            text-align: center;
            -webkit-transition: all 0.1s;
            transition: all 0.1s;
        }

    .accordion-content {
        max-height: 0;
        padding: 0 20px;
        color: #444444;
        background: white;
        -webkit-transition: all 0.1s;
        transition: all 0.1s;
        font-size: 16px;
    }

        .accordion-content p {
            margin: 0;
            color: rgba(4,57,94,.7);
            font-size: 18px;
        }

    .accordion input {
        position: absolute;
        opacity: 0;
        z-index: -1;
    }

    .accordion input:checked + .accordion-label {
        background: rgba(255,255,255,1);
    }

    .accordion input:checked + .accordion-label::after {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .accordion input:checked ~ .accordion-content {
        max-height: 100vh;
        padding-left: 26px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    #logo {
        width: 7vh;
        height: 7vh;
        top: 0.5vh;
        left: 10px;
    }

    /*퀵버튼 스타일*/
    .sidebar-container {
        position: initial;
        display: block;
        border-radius: 3px;
        background-color: transparent;
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }

    .sidebar {
        width: calc(33% - 6px);
        text-align: center;
        font-size: 1.2rem;
        border: 1px solid #888888;
        border-radius: 6px;
        margin-top: 2px;
        color: white;
        padding-top: 3px;
        background-color: #c73232;
        height: calc((33vw - 1px) * 0.75);
        display: inline-block;
    }

    #notice {
        width: calc(100% - 4px);
        padding: 2px;
    }

    .sub-menu {
        overflow: scroll;
        height: calc(3rem + 23px);
        width: 100%;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin-left: 0;
        margin-top: 2rem;
        display: none;
    }


    .sub-menu-select {
        font-weight: bold;
        border-bottom: 1px solid #ff0000;
        border-top: 1px solid #ff0000;
    }

    .sub-menu-item {
        max-width: calc(25% - 6px);
        margin: 0;
        font-size: 3vw;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        border-top: 1px solid #eeeeee;
    }

    .content {
        min-height: 40vh;
        width: 100%;
        margin-left: 0;
        margin-left: 0;
    }

    .ani01 {
        margin-top: 2vh;
        font-size: calc(100vw / 17);
        line-height: calc(100vw / 8);
        opacity: 1;
        display: block;
    }

    .ani02 {
        font-size: calc(100vw / 37);
        line-height: calc(100vw / 18);
    }

    .tabmenu {
        max-width: calc(100%);
        margin: 0 auto;
        height: 235px;
    }

    .quick-container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .qicon1 {
        width: 13vw;
        height: 20vw;
        background-color: #353434;
        color: white;
        font-size: 3vw;
    }

        .qicon1:hover {
            transition: 1s;
            font-weight: bold;
            cursor: pointer;
            font-size: 3vw;
        }

    .qicon2 {
        width: 14vw;
        height: 20vw;
        background-color: #c70000;
        color: white;
        font-size: 3vw;
    }

        .qicon2:hover {
            transition: 1s;
            font-weight: bold;
            cursor: pointer;
            font-size: 3vw;
        }

    .tel-pic {
        width: 100%;
        height: calc(100vw * 0.41);
    }

    .width-50{
        width: 0;
        display: none;
    }

    .sub-menu-title {
        width: 0;
        border-radius: 0;
        font-size: 1.3rem;
        border: 1px solid #eaeaea;
        line-height: 7rem;
        background-color: #bb0000;
        color: white;
        text-align: center;
        display: none;
    }

    .sub-table th:first-child {
        width: calc(100% - 2px);
    }

    .sub-table > tr {
        display: block;
        float: left;
        width: calc(100% - 2px);
    }

    .sub-table th {
        display: block;
        width: calc(100% - 2px);
    }

    .sub-table > td {
        display: block;
        width: calc(100% - 2px);
    }

    .content-title {
        width: calc(100%);
        margin-left: 0;
        font-size: 1.3rem;
        text-align: center;
        border-bottom: 1px solid #f8a700;
        margin-left: 0;
        margin-right: 0;
    }

    .login-container {
        width: 100%;
        display: block;
        text-align: center;
        margin-top: 3rem;
    }

        .login-container div {
            line-height: 3.5rem;
        }

        .login-container input {
            line-height: 3.0rem;
            height: 3.0rem;
            font-size: 1.2rem;
            width: 90%;
        }

        .login-container button {
            line-height: 4.0rem;
            height: 4.0rem;
            font-size: 1.2rem;
            width: calc(90% + 6px);
        }

/*회원가입 스타일*/

    .member-table th:first-child {
        height: 30px;
    }

    .member-table td {
        border-top: 1px solid #eeeeee;
        text-indent: 0px;
    }

    .member-table input {
        width: 100%;
    }

    .long-text{
        width: 100%;
    }
}

@keyframes enter {
    from {
        opacity: 0;
        transform: scaleY(0.98) translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
