@import '../../style_config/config.scss';

// 강제 변경이 필요한 경우들 이니 !important 사용 허용
// ⛔️ 진짜 필요한 기능이 아니면 글로벌 속성을 쓰지 않습니다. ⛔️
p {
    margin-top: 0;
    margin-bottom: $standard-margin-bottom;
    line-height: 1.3;
}



button {
    padding: 0;
}

input {
    background-color: transparent;
}
ul, menu, dir {
    display: block;
    list-style-type: none;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0em;
    list-style:none;
    margin:0;
    padding:0;
}

.clear-fix:after {
    content:"";
    display: block;
    clear:both;
}

a.JDanchor {
    outline: 0;
    text-decoration: none;
    cursor:pointer;
    &:hover {
        text-decoration:underline;
    }
    &:focus {
    }
}



// .JDinfoBox__contents::-webkit-scrollbar {
//     background-color:#f3f3f3;
//     width:16px
// }
// .JDinfoBox__contents::-webkit-scrollbar-track {
//     background-color:#f3f3f3
// }
// .JDinfoBox__contents::-webkit-scrollbar-track:hover {
//     background-color:#f0f0f0
// }
// .JDinfoBox__contents::-webkit-scrollbar-thumb {
//     background-color:#babac0;
//     border-radius:16px;
//     border:5px solid #f3f3f3
// }
// .JDinfoBox__contents::-webkit-scrollbar-thumb:hover {
//     background-color:#a0a0a5;
//     border:4px solid #f0f0f0
// }
// .JDinfoBox__contents::-webkit-scrollbar-button {display:none}

// }

.JDoverflow-visible {
    overflow: visible!important;
}

.JDsectionDistroy {
    .docs-section {
        padding: 0!important;
    }
    .container {
        max-width: none!important;
    }
}

.JDstandard-margin-bottom {
    margin-bottom: $standard-margin-bottom;
}

// 특수한 경우가 아니면 쓰지마시요.
.JDmarginTop {
    margin-top: $standard-margin-bottom;
}

.JDstandard-space {
    margin-right: $standard-space;
}


.JDstandard-space0 {
    margin-right: 0px!important;
}

.JDstandard-small-space {
    margin-right: $standard-small-space;
}

.JDletterSpace0 {
    letter-spacing: 0;
}

.JDflex--center {
    display:flex;
    align-items: center;
    justify-content: center;
}

.JDflex--between {
    display:flex;
    justify-content: space-between;
}

.JDflex--spaceAround {
    display:flex;
    justify-content: space-around;
}

.JDflex--vCenter {
    display:flex;
    line-height: 0;
    align-items: center;
}

#JDpreloaderPortal {
    position:relative;
    z-index: 999999!important;
}

.JDflex {
    display:flex;
}


#root,.ReactModalPortal {
    .JDmargin-bottom0 {
        margin-bottom: 0!important;
        @include responseUpClass() {
            margin-bottom: 0!important;
        }
    }
    .JDstandard-margin0 {
        margin:0!important;
    }
    .JDstandard-margin-bottom {
        @include responseClass() {
            margin-bottom: $standard-margin-bottom;
        }
    }
    
    .JDbox__content {
        *:last-child {
            margin-bottom: 0;
        }
    }
}


.JDtext-align-center {
    text-align: center;
}

.JDlarge-text {
    font-size: $typho-large
}

.JDsmall-text {
    font-size: $typho-small
}

.JDtiny-text {
    font-size: $typho-tiny
}

.JDtextColor--primary {
    color: $primary-color
}
.JDtextColor--error {
    color: $error-color
}
.JDtextColor--point {
    color: $point-color
}

.JDtextColor--placeHolder {
    color: $grey-level1
}

.JDtextColor-warring-text {
    color: $error-color
}

.JDnoWrap {
    white-space: nowrap;
}

.JDz-index-1 {
    position: relative;
    z-index: $z-index-1!important
}

.JDz-index-2 {
    position: relative;
    z-index: $z-index-2!important
}

.JDz-index-3 {
    position: relative;
    z-index: $z-index-3!important
}

.JDz-index-4 {
    position: relative;
    z-index: $z-index-4!important
}

.JDz-index-5 {
    position: relative;
    z-index: $z-index-5!important
}

.JDz-index-6 {
    position: relative;
    z-index: $z-index-6!important
}

.JDz-index-7 {
    position: relative;
    z-index: $z-index-7!important
}

.JDz-index-8 {
    position: relative;
    z-index: $z-index-8
}

.JDz-index-9 {
    position: relative;
    z-index: $z-index-9
}

.JDz-index-10 {
    position: relative;
    z-index: $z-index-10
}

// .JDdisplay-none--(이것일때)
.JDdisplay-none {
    display:none;
    // Up 클래스
    @include responseUpClass() {
        display:none!important;
    }
    // Down클래스 Down 생략
    @include responseClass() {
        display:none!important;
    }
}

.JDhoverBox {
    &:not(:hover) .JDhoverBox__ {
        display:none;
    }
}

ul.JDlist {
}

body {
    letter-spat_g: 0px;
}

body *::-moz-selection {
    background: $point-color;
    color: #fff;
}
body *::selection {
    background: $point-color;
    color: #fff;
 }

 html{
    overflow-y: scroll;
    background-color: $background-color;
    line-height: 1.3!important;
}


