﻿/*Font & 전체 설정*/

* {
    box-sizing: border-box;
}

html{
    /*overflow-x: hidden;*/
}

/*페이지 설정*/
.wrap>div {
    padding: 0 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 160px;
}

@media (max-width:580px){

    .wrap>div{
        margin-top: 120px;
    }

}

/*#region 텍스트*/
.title_wrap{
    padding-bottom: 2rem;
    border-bottom: 4px solid var(--main-color);
}

.title_wrap h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.title_wrap p{
    color: #616161;
    font-size: 1.25rem;
}

.wrap_title{
    font-size: 1.5rem;
    font-weight: 700;
}

.create_wrap>div>div .label{
    font-size: 0.83rem;
}

@media (max-width:768px) {

    .title_wrap h1 {
        font-size: 2rem;
    }

    .title_wrap p {
        font-size: 1rem;
    }

    .wrap_title{
        font-size: 1.25rem;
    }

}

@media (max-width:480px) {

    .title_wrap h1 {
        font-size: 1.88rem;
    }

}
/*#endregion*/

/*#region input 디자인*/
.inp {
    position: relative;
    margin: 1.5rem 0;
    width: 100%;
    height: 40px;
    font-weight: 500;
    padding-bottom: 10px;
    display: block !important;
    font-size: 0.83rem;
}

.detail.inp{
    height: 100%;
    margin: 1.5rem 0 0;
}

.inp .label {
    position: absolute;
    left: 0;
    transform-origin: 0 0;
    transition: all 0.2s ease;
    font-size: 0.83rem;
}

.inp input,
.request{
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    margin: 1.5rem 0;
    padding: 0 0.7rem;
    background: #F9F9F9;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.inp input::placeholder,
.request::placeholder{
    color: #C3C3C3;
    line-height: 140%;
}

.inp input:focus {
    outline: none;
    background: var(--light-color);
}

.ess{
    color: var(--main-color);
    padding-left: 0.1rem;
}

.inp svg.form_input {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 26px;
    fill: none;
}
/*#endregion*/

/*#region radio 버튼*/
/*radio 버튼 제거*/
.invisible {
    position: absolute;
    z-index: -1;
    width: 0;
    height: 0;
    opacity: 0;
}

.radio_wrap {
    user-select: none;
    cursor: pointer;
    margin-bottom: 0;
}

.radio_wrap input[type="radio"]:checked + span,
.radio_wrap input[type="checkbox"]:checked + span{
    color: var(--main-color);
    background: var(--light-color);
    border: 1px solid var(--main-color);
}

.radio_wrap img{
    display: none;
}

.radio_wrap input[type="radio"]:checked + span img,
.radio_wrap input[type="checkbox"]:checked + span img{
    display: block;
}

.radiobtn{
    background: #F9F9F9;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.83rem;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border: 1px solid transparent;
    color: #454545;
}

.inq_wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.3rem;
}

@media (max-width:984px) {

    .radiobtn{
        padding: 1rem;
    }

}

/*@media (max-width:768px) {

    .inq_wrap {
        grid-template-columns: repeat(1, 1fr);
    }

}

@media (max-width:580px) {

    .inq_wrap {
        grid-template-columns: repeat(2, 1fr);
    }

}*/
/*#endregion*/


/*#region 공통*/
.service_wrap {
    padding: 4rem 0;
}

.create_wrap{
    padding: 4rem 0 0;
}

.service_wrap>div,
.create_wrap>div{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    column-gap: 7rem;
}

@media (max-width:984px) {

    .service_wrap > div,
    .create_wrap > div {
        column-gap: 2rem;
    }

}

@media (max-width:768px) {

    .service_wrap > div,
    .create_wrap > div {
        grid-template-columns: repeat(1, 1fr);
    }

}
/*#endregion*/


/*#region 고객기본정보*/
.service_wrap {
    border-bottom: 1px solid #D8D8D8;
}

/*이메일*/
.autocomplete {
    position: relative;
    top: 10px;
    border-radius: 10px;
    background: #f2f2f2; 
}

.autocomplete li {
    width: 100%;
    height: 40px;
    padding: 0 1rem;
    font-size: 0.94rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.autocomplete li:hover {
    background: #9098a9;
    color: #fff;
}

.autocomplete .highlighted {
    background: #9098a9;
    color: #fff;
}

/*#endregion*/


/*#region 제작정보*/
/*문의유형*/
@media (max-width:480px) {
    .solution .inq_wrap {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*제작예산*/
.info{
    color: #808080;
    margin-bottom: 1rem;
    font-size: 0.83rem;
}

/*첨부파일*/
.filebox .inp{
    margin-bottom: 0;
}

.filebox input[type="file"] {
    display: none;
}

.filebox.upload .upload-name{
    color: #000;
}

.file-info {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.file-info input{
    cursor: pointer;
}

.upload-name{
    margin-top: -20px !important;
    color: #c3c3c3;
}

.delete{
    display: block;
    width: 20px;
    position: absolute;
    top: 0;
    right: 15px;
}

/*상세내용*/
.request {
    height: 150px;
    resize: none;
    padding: 0.7rem;
}

@media (max-width:768px) {

    .info{
        font-size: 0.87rem;
    }

}

@media (max-width:580px) {

    .info{
        margin-bottom: 0;
    }

}

/*#endregion*/


/*#region 개인정보보호정책*/
.privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.privacy .inp input{
    width: 30px;
    height: 30px;
    margin: 0;
    margin-right: 0.3rem;
    cursor: pointer;
    padding: 0 0.5rem;
}

.privacy .inp label{
    display: flex;
    align-items: center;
    column-gap: 0.2rem;
    cursor: pointer;
}

.privacy .inp input:checked{
    background: var(--light-color);
    content: url(/common/img/contact/select_check.svg);
}

.privacy .inp label button {
    border: none;
    outline: none;
    padding: 0;
    background: #fff;
    font-size: 1rem;
    color: var(--main-color);
    text-decoration: underline;
    margin-left: 0.3rem;
}

.privacy .inp span{
    color: #727272;
    font-size: 0.94rem;
}

@media (max-width:580px){

    .privacy .inp input{
        width: 25px;
        height: 25px;
        padding: 0 0.4rem;
    }

    .privacy .inp label,
    .privacy .inp label button,
    .privacy .inp span{
        font-size: 0.83rem;
    }

}

/*#endregion*/



/*문의 버튼*/
.submit {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 8rem;
}

.submit input {
    border: none;
    padding: 10px 5px;
    background: var(--main-color);
    color: #fff;
    width: 100%;
    height: 50px;
    max-width: 280px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.94rem;
}

.submit input:hover {
    color: #fff;
    transform: scale(1.04);
    cursor: pointer;
}

@media (max-width:580px){

    .submit {
        margin-bottom: 6rem;
    }

}



/*#region 모달창*/
/*개인정보보호정책 모달*/
.privacy_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    justify-content: center;
    display: none;
    z-index: 99999;
}

.privacy_modal.show {
    display: flex !important;
}

.modal_wrap {
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 550px;
    padding: 3rem;
    border-radius: 15px;
    background: #fff;
    overflow-y: hidden;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal_content{
    flex: 1;
    overflow-y: auto;
}

.modal_title {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
}

.modal_title p {
    font-weight: 700;
    font-size: 1.5rem;
}

/*닫기*/
.modal_close{
    background: none;
    width: 22px;
    padding: 0;
}

/*내용*/
.modal_body{
    margin-bottom: 1.5rem;
}

.modal_body>p:first-child{
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.modal_body p{
    color: #888;
    font-size: 0.94rem;
}

@media (max-width:768px) {

    .modal_wrap{
        width: 80%;
        height: 80%;
        max-height: 500px;
        padding: 2.5rem;
    }

    .modal_title p{
        font-size: 1.25rem;
    }

    .modal_close{
        width: 18px;
    }

}


/*접수완료 모달*/
.overone {
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.4);
    display: none;
}

.overone.block {
    display: block;
}

.register {
    border: none;
    border-radius: 10px;
    max-width: 400px;
    max-height: 250px;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: white;
    padding: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    display: none;
}

.close_btn{
    width: 100%;
    display: flex;
    justify-content: center;
}

.close_btn button{
    background: var(--main-color);
    color: #fff;
    padding: 1rem 1.5rem;
    max-width: 230px;
    width:100%;
}

.register_txt{
    text-align: center;
    margin: 2rem 0;
}

.register_txt h3{
    margin-bottom: 1rem;
}

/*오류 모달창*/
.swal2-container {
    display: grid;
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    height: 100%;
    padding: .625em;
    overflow-x: hidden;
    transition: background-color .1s;
    -webkit-overflow-scrolling: touch;
    background: rgba(0,0,0,.4);
}

.swal2-popup {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0,100%);
    width: 100%;
    max-width: 400px;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #545454;
    font-family: inherit;
    font-size: 1rem;
    padding: 2rem;
    border: none;
    border-radius: 10px;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
}

/*모달 타이틀*/
.swal2-title { 
    font-size:1.2rem;
    text-align: center;
    padding: 16px 16px 0 16px;
    word-break: keep-all;
}

/*모달 서브텍스트*/
.swal2-html-container { 
    text-align: center;
    padding: 16px;
    word-break: keep-all;
}

/*버튼*/
.swal2-styled.swal2-confirm,
.swal2-styled.swal2-deny ,
.swal2-styled.swal2-cancel { 
    border: none;
    outline: none;
    background-color: var(--main-color);
    padding: 1rem 2rem;
    margin-top: 1rem;
    max-width: 230px;
    width: 100%;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
}

.swal2-actions {
    display: flex;
    justify-content: center;
}

.swal2-icon.swal2-error { /*모달 아이콘*/
    display: none !important;
}

.swal2-container.swal2-bottom,
.swal2-container.swal2-center,
.swal2-container.swal2-top {
    grid-template-columns: auto minmax(0,1fr) auto;
}

@media (max-width:580px) {

    .swal2-popup{
        width: 80%;
        padding: 1.5rem;
    }

}

/*#endregion*/


/*#region 오픈일 달력 커스텀*/
.opendate input {
    position: relative;
}

div.datedropper.primary {
    position: absolute;
    left: 30%;
    top: 1150px;
}

div.datedropper:before {
    display: none;
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    -webkit-transform: translateX(-50%) rotate(45deg);
    -moz-transform: translateX(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) rotate(45deg);
    -o-transform: translateX(-50%) rotate(45deg);
    border-top-left-radius: 4px;
}

.btn:hover {
    color: #fff;
}

.input-text:focus {
    box-shadow: 0px 0px 0px;
    border-color: #f8c146;
    outline: 0px;
}

.input-group {
    width: 204px;
}

.date{
    color: #000;
}

.btn-outline-warning {
    color: #F44336 !important;
    background-color: #fff;
    background-image: none;
    border-color: #ed433e !important;
}


@media (max-width:1280px) {

    div.datedropper.primary{
        left: 18%;
    }

}

@media (max-width:984px) {

    div.datedropper.primary{
        left: 110px;
    }

}

@media (max-width:768px) {

    div.datedropper.primary{
        top: 1580px;
        left: 110px;
    }

}

@media (max-width:580px) {

    div.datedropper.primary{
        top: 1560px;
    }

}

@media (max-width:528px) {

    div.datedropper.primary{
        top: 1590px;
    }

}

@media (max-width:480px) {

    div.datedropper.primary{
        top: 1650px;
    }

}

@media (max-width:436px) {

    div.datedropper.primary{
        top: 1685px;
    }

}

@media (max-width:341px) {

    div.datedropper.primary{
        top: 1710px;
    }

}
/*#endregion*/




input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
    -webkit-text-fill-color: #000;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    box-shadow: 0 0 0px 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}
