button{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    cursor: pointer;
}
#contract-dashboard,#contract-list-page{
    width: 100%;
    height: 100%;
    position: relative;
    padding: 18px 18px 0 18px;
    font-family: NotoSansKR,sans-serif;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    color: white;
    min-height: max-content;
}

#contract-dashboard .scroll-bar{
    overflow: scroll;
}

#contract-dashboard .scroll-bar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

#contract-dashboard .scroll-bar::-webkit-scrollbar-thumb {
    background: rgba(203, 203, 203, 0.62);
    border-radius: 3px;
}

#contract-dashboard input:focus {outline:none;}

#contract-dashboard>div:nth-child(1){
    height: 48px;
    padding-bottom: 12px;
    width: 100%;
}

#contract-dashboard>div:nth-child(1)>h1,#contract-list-page>div:nth-child(1)>h1{
    color: #f5bd41;
    float: left;
    font-size: 24px;
}

#contract-list-page>div:nth-child(2){
    height: calc(100% - 50px);
    width: 100%;
}

#contract-dashboard>div:nth-child(1)>div{
    background: rgba(255, 255, 255, 0.26);
    width: 197px;
    height: 34px;
    padding: 6px 8px;
    float: right;
    border-radius: 5px;
}

#contract-dashboard>div:nth-child(1)>div>input{
    background: none;
    color: white;
    border: none;
    border-bottom: #a4a4a4 1px solid;
    width: 100%;
    text-align: center;
}
#contract-list-page>div:nth-child(1){
    width: 100%;
    height: 50px;
    justify-content: flex-start;
}

#contract-sample-zone>div:nth-child(1){
    height: 26px;
    margin-bottom: 13px;
}

.sub-title-h2{
    float: left;
    font-size: 20px;
    color: #a4a4a4;
    width: 100%;
}

#contract-sample-zone>div:nth-child(1)>span{
    float: right;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    margin-top: 3px;
}

#contract-dashboard>div:nth-child(2){
    width: 100%;
    min-height: calc(100% - 50px);
    padding: 24px 24px 0px 24px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.07);
}

#contract-sample-list{
    width: 100%;
    height: 100%;
}

#contract-sample-list.height-max{
    height: max-content !important;
}

#contract-sample-list.width-max{
    width: max-content !important;
}

#contract-sample-list .flex-box,#contract-list-page .flex-box{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contract-popup-background .scroll-bar{
    overflow: scroll;
}

.contract-popup-background .scroll-bar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.contract-popup-background .scroll-bar::-webkit-scrollbar-thumb {
    background: rgba(203, 203, 203, 0.62);
    border-radius: 3px;
}

.contract-sample-box{
    position: relative;
    height: 256px;
    width: 189px;
    display: inline-block !important;
    cursor: pointer;
    margin: 12px;
    box-sizing: border-box;
    border: 1.5px solid #4a4a4a;
    border-radius: 3px;
}

.contract-sample-box:hover{
    border: 2px solid #ffba00;
}

.contract-sample-box.active{
    border: 2px solid #ffba00;
    border-radius: 3px;
}

.contract-template-unit{
    padding: 12px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid #4A4A4A;
    width: 196px;
    height: 236px;
    margin: 6px;
    background: #CCCCCC;
    border-radius: 5px;
}

.contract-template-unit > .update-end{
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 8px 12px;
    background: #4a4a4a;
    color: white;
    font-size: 10px;
    border-radius: 25px;
}

.contract-template-unit > .thumbnail-img{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.contract-template-unit > .thumbnail-info{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 196px;
    height: 93px;
    background: #2C2C2C;
    border: 1px solid #4A4A4A;
    padding: 12px;
    pointer-events: none;
}

.contract-template-unit > .thumbnail-info > h3{
    font-family: 'Noto Sans KR',sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    padding-bottom: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.contract-template-unit > .thumbnail-info > label{
    display: block;
    font-family: 'Noto Sans KR',sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    color: #A4A4A4;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.contract-sample-box .contract-sample-imgzone{
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.16);
    position: relative;
}
.contract-sample-box .contract-sample-imgzone > label{
    display: flex;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    font-size: 22px;
    text-align: center;
    flex-direction: column;
}

.contract-sample-box .contract-sample-imgzone > label:hover{
    color: #ffba00;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.contract-sample-box .contract-sample-imgzone .top-menu-area{
    width: 40px;
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    background: #36363660;
    z-index: 3;
}

.contract-sample-box .contract-sample-imgzone .top-menu-area>img{
    width: 25px;
    padding: 7px;
    float: right;
}

.contract-sample-box .contract-sample-namezone{
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 10px 0px;
}

.contract-sample-title {
    color: #ffffff;
    text-align: center;
    margin-top: 5px;
}

.contract-sample-box .contract-sample-namezone>span:nth-child(1){
    font-size: 18px;
    width: 100%;
    color: white;
    padding-left: 12px;
}
.text-overflow{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.contract-sample-box .contract-sample-namezone>span:nth-child(2){
    font-size: 12px;
    color: #a4a4a4;
    width: 100%;
}
#confirm-popup-background{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0px;
    top: 0px;
    background-color: #11111140;
    z-index:10006;
}

.contract-popup-background{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0px;
    top: 0px;
    background-color: #11111140;
    z-index:10005;
}

.contract-popup-background button {
    outline:none;
    border: none;
    cursor: pointer;
}

.contract-popup{
    width: 100%;
    max-width: 900px;
    height: 100%;
    max-height: 800px;
    border-radius: 5px;
    background-color: #333333;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.contract-popup label{
    width: 213px;
    height: 34px;
    margin: 12px 53px 12px 52px;
    padding: 7px 37px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.36);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    outline: 0;
    color: white;
    cursor: pointer;
}

.contract-popup label:hover{
    background-color: rgba(255, 255, 255, 0.46);
}

.contract-popup label:active{
    background-color: rgba(255, 255, 255, 0.26);
}

.contract-popup input[type="file"] { /* 파일 필드 숨기기 */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip:rect(0,0,0,0);
    border: 0;
}

.contract-popup>h3{
    color: white;
    position: absolute;
    top: 23px;
    left: 23px;
    cursor: none;
}

.contract-popup>img{
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
    width: 14px;
    padding: 16px;
}

.contract-popup .contract-upload-header{
    width: 100%;
    height: 90px;
    border-bottom: 1px solid #979797;
    padding-top: 50px;
}

.contract-popup .contract-upload-header .contract-header-btnzone{
    width: 100%;
    padding: 0px 23px;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.contract-popup .contract-upload-header .contract-header-btnzone button{
    width: max-content;
    padding: 5px 10px;
    height: 100%;
    background: none;
    outline: none;
    color: white;
}

.contract-popup .contract-upload-header .contract-header-btnzone button.active{
    border-bottom: 2px solid #f5bd41;
    font-weight: bold;
}

.contract-popup .contract-upload-contents{
    width: 100%;
    height: calc(100% - 90px);
    flex-direction: column;
}

.contract-popup .contract-upload-contents .contract-basic-btn{
    width: max-content;
    padding: 10px 23px;
    border-radius: 5px;
    margin-left: 10px;
    background: #4a4a4a;
    color: white;
    font-family: NotoSansKR, sans-serif;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
}

.contract-popup .contract-upload-contents .contract-basic-btn.none-active{
    background: #7c7c7c !important;
    color: #bfbfbf !important;
    pointer-events: none;
}

.contract-popup .contract-upload-area{
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    border: 1px dashed white;
    border-radius: 5px;
    flex-direction: column;
    position: relative;
}

.contract-popup .contract-upload-area>h3{
    color: white;
}

.contract-popup .contract-upload-area>span{
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: center;
    color: #a4a4a4;
}

#sample-edit-zone{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    background-color: #4F4F4F;
}

#sample-edit-zone>div:nth-child(1){
    width: 100%;
    height: 72px;
    position: relative;
    justify-content: space-between;
    padding: 12px 24px;
}

#sample-edit-zone>div:nth-child(1)>span>img{
    width: 15px;
    cursor: pointer;
}

#sample-edit-zone>div:nth-child(1)>button{
    width: max-content;
    height: 48px;
    border-radius: 3px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    background-color: #ffba00;
    color: white;
    font-weight: bold;
    font-family: NotoSansKR,sans-serif;
}

#sample-edit-zone>div:nth-child(1)>button:hover{
    background-color: #ffc11a;
}

#sample-edit-zone>div:nth-child(1)>button:active{
    background-color: #e7a902;
}

#sample-edit-zone>div:nth-child(2){
    width: 100%;
    height: calc(100% - 72px);
    background: #121212;
}

#sample-grid-btn{
    padding: 10px;
    border-radius: 3px;
    background: #222222;
    position: fixed;
    right: 18px;
    align-items: flex-start;
    z-index: 6;
    max-height: calc(100% - 100px);
    top: 85px;
    color: white;
    cursor: pointer;
}

#sample-grid-btn.active{
    background: #007fff;
    color: white;
}

#sample-option-edit.hidden{
    overflow: hidden !important;
    width: 33px;
    height: 33px;
}

#sample-option-edit>div{
    width: 100%;
    padding: 12px;
    border-radius: 3px;
    background-color: #2c2c2c;
}

#sample-option-edit>div>h3{
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.96px;
    color: #a4a4a4;
    padding-top: 30px;
}

#sample-option-edit .sample-edit-btn{
    width: 272px;
    height: 36px;
    padding: 7px 12px;
    border-radius: 3px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    background-color: #4a4a4a;
    color: white;
    text-align: left;
    opacity: 0.5;
}

#sample-option-edit .sample-edit-btn:hover{
    opacity: 1;
}

#sample-option-edit .sample-edit-btn:active{
    opacity: 1;
}

#sample-contract-view{
    width: 100%;
    min-height: 100%;
    background: #121212;
    justify-content: space-between;
    display: inline-flex;
}

#contract-sample-img{
    width: 21cm;
    /*min-height: 29.7cm;*/
    margin: 1cm auto;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    position: relative;
    line-height: normal;
}

#contract-sample-img>img{
    width: 100%;
    pointer-events: none;
    position: relative;
    top: 0px;
}

#contract-sample-img .focus {
    position:fixed;
    border:1px solid red;
    background-color: rgba(128, 0, 0, 0.3);
}
#contract-sample-img .highlight {
    border:1px solid #000099;
}

#contract-sample-img .contract-text-box-wrapper{
    position: absolute;
    background: none;
    border: none;
    overflow-wrap: break-word;
    padding: 2px;
    border-radius: 3px;
    background: #fffaef;
    font-weight: 700;
    z-index: 2;
}

#contract-sample-img .contract-check-box-wrapper{
    position: absolute;
    border: 1px solid #0b0b0b;
    border-radius: 3px;
    overflow-wrap: break-word;
    padding: 0px;
    background: #fffaef;
    z-index: 2;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    /*min-width: 16px;*/
    /*min-height: 16px;*/
}

#contract-sample-img .contract-text-box-wrapper .contract-agree-zone{
    position: absolute;
    width: 100%;
    height: 40px;
    justify-content: flex-start;
}
#contract-sample-img .contract-text-box-wrapper .contract-agree-zone .agree-box {
    height: 15px;
    width: 15px;
    display: inline-flex;
    background: rgb(255, 255, 255);
    margin: 0px 10px;
    border-radius: 2px;
    border: 1px solid #979797;
}

#contract-sample-img .contract-text-box-wrapper .contract-agree-zone .agree-box img{
    background: #2b72f4;
    width: 100%;
    height: 100%;
    padding: 2px;
    box-sizing: border-box;
}

#contract-sample-img .contract-text-box-wrapper .contract-agree-zone .agree-box img.print-mood{
    background: #686868;
}
#contract-sample-img .contract-text-box-wrapper.none-active{
    border: none;
}

#contract-sample-img .contract-text-box-wrapper.print-mood{
    background: none;
}

#contract-sample-img .contract-sign-box-wrapper.print-mood{
    background: none;
}

#contract-sample-img .contract-check-box-wrapper.print-mood{
    background: none;
    border: none;
}

#contract-sample-img .contract-text-box-wrapper .x-contract-box-wrapper, #contract-sample-img .contract-sign-box-wrapper .x-contract-box-wrapper,
#contract-sample-img .contract-check-box-wrapper .x-contract-box-wrapper{
    position: absolute;
    right: -10px;
    top: -10px;
    width: 20px;
    height: 20px;
    background: url("./images/only-xmark-black.png") #ffffff;
    border-radius: 25px;
    cursor: pointer;
    background-size: 100% 100%;
    padding: 5px;
}

#contract-sample-img .contract-text-box-wrapper>textarea{
    width: 100%;
    height: 100%;
    min-width: max-content;
    min-height: max-content;
    resize: none;
    position: relative;
}

#contract-sample-img .contract-text-box-wrapper>span{
    word-break: break-all;
}

#contract-sample-img .contract-sign-box-wrapper{
    position: absolute;
    background: #4d5dff24;
    border: none;
    overflow-wrap: break-word;
    padding: 2px;
    border-radius: 3px;
    cursor: pointer;
    z-index: 2;
}

#templet-title{
    padding-left : 200px;
    font-size: 24px;
    color: white;
    font-family: NotoSansKR,sans-serif;
    font-weight: bold;
}

.contract-custom-menu{
    width: 85px;
    height: min-content;
    padding: 8px 0 8px 0;
    margin: 0;
    border-radius: 5px;
    border: 1px solid #555;
    background: #222;
    position: absolute;
    top: 0;
    left: 0;
    user-select: none;
    z-index: 10008;
    display: flex;
    flex-direction: column;
}


.contract-custom-menu .custom-menu-item{
    text-align: center;
    font-size: 16px;
    padding: 2px 11px 2px 10px;
    margin: 0 3px;
    border-radius: 3px;
    color: #ccc;
    cursor: pointer;
}

.contract-custom-menu .custom-menu-item:hover{
    background: #505050;
}

.simple-editor{
    width: 100%;
    height: max-content;
    min-height: 100%;
    min-width: max-content;
    position: relative;
    top: -35px;
}
.editor-tool-box.is-app{
    opacity: 0;
    pointer-events: none;
}
.editor-tool-box{
    width: 100%;
    height: 30px;
    background: #feffff;
    border-radius: 3px;
    justify-content: flex-start;
    justify-items: flex-start;
    border: 1px solid #a4a4a4;
    color: black;
    min-width: 200px;
    margin-right: 30px;
}

.editor-tool-box a{
    color: black;
    padding: 0 3px;
}

.editor-text-area{
    height: 100%;
    width: 100%;
    padding: 1px;
    display: inline-block;
    float: left;
}
.broj-confirm-popup{
    position: fixed;
    height: auto;
    width: 100%;
    max-width: 500px;
    z-index: 10002;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: #2c2c2c;
    font-family: NotoSansKR,sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #a4a4a4;
}

.broj-confirm-popup input{
    outline: none;
}

.broj-confirm-popup .confirm-popup-top {
    height: 50px;
    font-size: 18px;
    font-family: NotoSansKR,sans-serif;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.6px;
    justify-content: space-between;
    position: relative;
    padding: 20px 24px 0px;
    text-align: left;
    color: #ffba01;
}

.broj-confirm-popup .confirm-popup-content{
    height: auto;
    flex-direction: column;
    width: 100%;
    padding: 15px 30px;
    align-items: flex-start;
    position: relative;
}

.broj-confirm-popup .confirm-popup-content .confirm-popup-button{
    outline: none;
    background: #4a4a4a;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    height: 100%;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-family: NotoSansKR, sans-serif;
}
.broj-confirm-popup .confirm-popup-content .confirm-popup-button:hover{

}
.broj-confirm-popup .confirm-popup-content .confirm-inner-popup{
    position: absolute;
    width: 250px;
    height: 100px;
    background: #383838;
    border-radius: 3px;
}

.broj-confirm-popup .confirm-popup-content .radio-box{
    width: 14px;
    height: 14px;
    display: inline-flex;
    background: rgb(255, 255, 255);
    margin:0px 10px;
    border-radius: 2px;
    border: 1px solid #979797;
}

.broj-confirm-popup .confirm-popup-content .radio-box img{
    background: #2b72f4;
    width: 100%;
    height: 100%;
    padding: 2px;
}

.broj-confirm-popup .confirm-popup-content>div .broj-confirm-input{
    width: calc(100% - 100px);
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.broj-confirm-popup .confirm-popup-content>div .broj-confirm-select{
    width: calc(100% - 100px);
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
    background: none;
    border: solid 1px #979797;
    color: white;
    outline: none;
}

.broj-confirm-popup .confirm-popup-content>div .broj-confirm-input.none-active{
    border-radius: 2px;
    border: solid 1px #7c7c7c;
    background-color: #2c2c2c;
    pointer-events: none;
}


.broj-confirm-popup .confirm-popup-content>div{
    width: 100%;
    height: 55px;
    padding-bottom: 15px;
}

.broj-confirm-popup .confirm-popup-content>h4{
    width: 100px;
    height: 30px;
    justify-content: flex-start;
}

.broj-confirm-popup .confirm-popup-btnzone{
     width: 100%;
     height: 54px;
    flex-direction: row;
}

.broj-confirm-popup .confirm-popup-btnzone>div{
    width: 50%;
    background: #4a4a4a;
    color: white;
    height: 100%;
    cursor: pointer;
}

.confirm-popup {
    padding: 15px;
    position: fixed;
    height: auto;
    width: auto;
    z-index: 10002;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: #ffffff;
    font-family: IropkeBatangM,sans-serif;
}

.confirm-popup .confirm-popup-content{
    flex-direction: column;
    width: 100%;
    height: 200px;
    justify-content: space-between;
    position: relative;
    padding: 20px 10px 45px;
}

.confirm-popup .confirm-popup-top {
    height: 23px;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.6px;
    color: #000000;
    justify-content: space-between;
    position: relative;
    padding: 20px 10px 30px;
    text-align: center;
}

.confirm-popup .confirm-popup-bye {
    cursor: pointer;
    position: absolute;
    right: 2px;
    top: 8px;
    color: white;
    font-weight: 600;
    font-size: 12pt;
    background: transparent;
    border: none;
}

.confirm-popup .confirm-popup-bye>img{
    cursor: pointer;
}

.confirm-popup>div>button{
    margin: 0px;
    background: white;
    padding: 7px;
    border: solid 1px #979797;
    outline: none;
    cursor: pointer;
    right: 10px;
    bottom: 10px;
    position: absolute;
}

.confirm-popup .popup-response-input{
    height: 32px;
    text-align: left;
    width: 100%;
    border-radius: 3px;
    border: solid 1px #979797;
    padding: 0px 10px;
    box-sizing: border-box;
}

.confirm-popup .popup-response-checkbox{
    height: 20px;
    text-align: left;
    width: max-content;
    font-size: 12px;
    font-weight: 500;
    display: flex;
}

.confirm-popup .popup-response-checkbox .check-box>img,.confirm-popup .popup-response-checkbox .radio-box>img{
    background: #2b72f4;
    width: 100%;
    height: 100%;
    padding: 2px;
}

.confirm-popup .popup-response-checkbox .check-box,.confirm-popup .popup-response-checkbox .radio-box{
    width: 14px;
    height: 14px;
    display: inline-flex;
    background: rgb(255, 255, 255);
    margin:0px 10px;
    border-radius: 2px;
    border: 1px solid #979797;
}

.confirm-popup .popup-response-label{
    height: 32px;
    text-align: left;
    width: 100%;
    justify-content: flex-start;
    border-radius: 3px;
    font-weight: 700;
}

.confirm-popup .popup-response-wrapper{
    width: 100%;
    min-height: 32px;
    height: max-content;
    justify-content: flex-start;
}

.confirm-popup .popup-response-wrapper>button{
    margin: 0px;
    background: white;
    padding: 7px;
    border: solid 1px #979797;
    outline: none;
    cursor: pointer;
}

.confirm-popup .popup-product-box{
    width: 100%;
    margin: 10px 0;
    border: 1px solid #979797;
    border-radius: 5px;
}

.confirm-popup .popup-product-box.none-active{
    height: 40px;
    overflow: hidden;
}

.confirm-popup .popup-product-box.active{
    height: max-content;
}

.confirm-popup .popup-product-box .row-wrapper{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 5px 5px 15px;
}

.confirm-popup .popup-product-box .term-date-wrraper{
    height: 100%;
    width: calc(100% - 100px);
    justify-content: space-between;
    position: relative;
}

.confirm-popup .popup-product-box .term-date-wrraper>span{
    text-align: center;
}

.row-date-contents{
    height: 100%;
    width: 140px;
    position: relative;
}

.row-date-contents>input{
    height: 100%;
    width: 100%;
    padding-right: 30px;
    border: none;
    border-bottom: 1px solid #979797;
    box-sizing: border-box;
}

.confirm-popup .popup-product-box .subhead-span{
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #979797;
    z-index: 1;
}

.confirm-popup .popup-product-box .number-input{
    height: 30px;
    width: 140px;
    position: relative;
    border: none;
    border-bottom: 1px solid #979797;
}

.row-date-contents>img{
    position: absolute;
    right: 5px;
    top: 8px;
    width: 15px;
    cursor: pointer;
}

.popup-product-box .row-wrapper>span{
    width: 100px;
}

.popup-product-box .row-wrapper>.close-img{
    position: absolute;
    right: 10px;
    width: 20px;
    cursor: pointer;
}

.popup-product-box .row-wrapper>.open-img{
    position: absolute;
    right: 40px;
    width: 20px;
    cursor: pointer;
}

.popup-product-box.active .row-wrapper>.open-img{
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(
            180deg
    );
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(
            180deg
    );
}

#contract-edit-zone{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    background-color: #4F4F4F;
}

#contract-edit-zone>div:nth-child(1){
    width: 100%;
    position: relative;
}
#contract-edit-zone>div:nth-child(1)>#back-page-btn{
    position: absolute;
    left: 10px;
    width: 30px;
    height: 30px;
}
#contract-edit-zone>div:nth-child(1)>span>img{
    width: 15px;
    cursor: pointer;
    padding: 0px 10px;
}

#contract-edit-zone>div:nth-child(1) .contract-header-btnbox>button{
    width: max-content;
    border-radius: 3px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    background-color: #ffba00;
    color: white;
    position: relative;
    font-weight: bold;
    font-family: NotoSansKR,sans-serif;
}

#contract-edit-zone>div:nth-child(1) .save-btn-brother{
    width: 100%;
    height: max-content;
    position: absolute;
    border: 0px;
    background: white;
    left: 0px;
    bottom: -77px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    z-index: 7;
}

#contract-edit-zone>div:nth-child(1) .save-btn-brother>button{
    height: 31px;
    background: #ffba00;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

#contract-edit-zone>div:nth-child(1) .contract-header-btnbox>button:hover, #contract-edit-zone>div:nth-child(1) .save-btn-brother>button:hover{
    background-color: #ffad00;
}

#contract-edit-zone>div:nth-child(1) .contract-header-btnbox>button:active, #contract-edit-zone>div:nth-child(1) .save-btn-brother>button:hover{
    background-color: #ffa300;
}

#contract-edit-zone>div:nth-child(2){
    width: 100%;
    background: #121212;
}

#contract-view{
    width: 100%;
    min-height: 100%;
    background: #121212;
    justify-content: space-between;
    display: inline-flex;
}

#contract-edit-img{
    width: 21cm;
    min-height: 29.7cm;
    margin: 1cm auto;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

#contract-edit-img>img{
    width: 100%;
    pointer-events: none;
}

#contract-edit-img .focus {
    position:fixed;
    border:1px solid red;
    background-color: rgba(128, 0, 0, 0.3);
}
#contract-edit-img .highlight {
    border:1px solid #000099;
}

#contract-edit-img .contract-text-box-wrapper{
    position: absolute;
    background: none;
    border: none;
    overflow-wrap: break-word;
    padding: 2px;
    border-radius: 3px;
    background: #fffaef;
    font-weight: 700;
}

#contract-edit-img .contract-text-box-wrapper.none-active{
    border: none;
}
#contract-edit-img .contract-text-box-wrapper .x-contract-box-wrapper{
    position: absolute;
    right: -10px;
    top: -10px;
    width: 20px;
    height: 20px;
    background: url("./images/only-xmark.png") #ffffff;
    border-radius: 25px;
    cursor: pointer;
    background-size: 100% 100%;
}

#contract-edit-img .contract-text-box-wrapper>textarea{
    width: 100%;
    height: 100%;
    min-width: max-content;
    min-height: max-content;
    resize: none;
    position: relative;
}

#contract-edit-img .contract-text-box-wrapper>span{
    word-break: break-all;
    white-space: pre-line;
}

#contract-edit-img .contract-sign-box-wrapper{
    position: absolute;
    background: #4d5dff24;
    border: none;
    overflow-wrap: break-word;
    padding: 2px;
    border-radius: 3px;
    cursor: pointer;
}

#contract-view #sign-background {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10006;
    background: rgba(56, 56, 56, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

#contract-view #sign-background .contract-sign-pad {
    height: 70%;
    background: rgb(255, 255, 255);
    border: 1px solid;
    border-radius: 5px;
    cursor: crosshair;
    width: 100%;
    max-height: 450px;
    max-width: 600px;
    position: relative;
    top: auto;
    left: auto;
    z-index: 5;
}

.contract-sign-pad{
    z-index: 10001;
}

#contract-view #sign-background .contract-sign-pad .contract-sign-label{
    background-color: #000000;
    width: 100%;
    height: 37px;
    position: absolute;
    line-height: 15px;
    color: white;
    top: 35px;
    font-family: AppleSDGothicNeo,sans-serif;
    font-size: 18px;
    font-weight: 800;
    padding: 10px;
}

#contract-view #sign-background .contract-sign-pad .contract-sign-label>div{
    right: 10px;
    background: rgb(214 214 214);
    cursor: pointer;
    position: absolute;
    top: 5px;
    font-weight: 600;
    font-size: 14px;
    height: 26px;
    width: 110px;
    border-radius: 15px;
    color: #6b6b6b;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#contract-view #sign-background .contract-sign-pad .contract-sign-label2 {
    border-radius: 5px 5px 0 0;
    background-color: #4d4d4d;
    width: 100%;
    height: 35px;
    position: absolute;
    text-align: left;
    line-height: 15px;
    color: white;
    top: 0;
    font-family: AppleSDGothicNeo,sans-serif;
    font-size: 16px;
    font-weight: 800;
    padding: 10px;
}

#contract-view #sign-background .contract-sign-pad .contract-sign-form {
    background-color: #000000;
    width: 5px;
    height: 80%;
    position: absolute;
    top: 60px;
}

#contract-view #sign-background .contract-sign-pad .contract-sign-form2 {
    background-color: #000000;
    width: 100%;
    height: 5px;
    position: absolute;
    bottom: 40px;
}

#contract-view #sign-background .contract-sign-pad .contract-check-btn {
    width: 50%;
    height: 40px;
    position: absolute;
    text-align: center;
    line-height: 40px;
    background: dimgrey;
    color: white;
    bottom: 0;
    cursor: pointer;
    font-family: AppleSDGothicNeo,sans-serif;
    font-size: 18px;
    font-weight: 800;
}

#contract-edit-img .contract-text-box-wrapper.print-mood{
    background: none;
}

#contract-edit-img .contract-sign-box-wrapper.print-mood{
    background: none;
}

.contract-preview-popup{
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #121212;
    position: fixed;
    z-index: 101;
    flex-direction: column;
    justify-content: space-between;
}

.contract-preview-popup>div:nth-child(1){
    width: 100%;
    background: #4a4a4a;
    border-radius: 5px;
    justify-content: center;
    padding: 0 20px;
}

.contract-preview-popup>div:nth-child(1) .preview-icon{
    width: 30px;
    cursor: pointer;
}
.customer-search-list{
    position: absolute;
    max-width: 460px;
    width: 100%;
    height: 200px;
    background: white;
    border-radius: 5px;
    border: #979797 1px solid;

}
.customer-search-list label{
    width: 100%;
    height: 30px;
    color: black;
    justify-content: flex-start;
    padding: 10px;
    box-sizing: border-box;
}

.customer-search-list label:hover{
    background: rgb(252, 255, 220);
    cursor: pointer;
}

.contract-text-box-wrapper>table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
    text-align: center;
    line-height: 1.5;
}

.contract-text-box-wrapper>table th{
    padding: 5px;
    font-weight: bold;
    vertical-align: top;
    background: #dbd5c6;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 150px;
}
.contract-text-box-wrapper>table td{
    padding: 5px;
    vertical-align: top;
    border-bottom: 1px solid #ccc;
    background: #eee;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 150px;
    font-size: 12px;
}

.placeholder-text-style{
    color: #979797;
    opacity: 0.7;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.placeholder-text-style.print-mood{
    display: none;
}

#sample-edit-zone #hide-zone-btn,#sample-edit-zone #add-zone-btn, #contract-edit-zone #hide-zone-btn{
    position: absolute;
    left: 8px;
    top: 8px;
    width: 15px;
    cursor: pointer;
}

#sample-edit-zone #edit-box-hide-btn,#sample-edit-zone #edit-box-open-btn,#contract-edit-zone #edit-box-hide-btn,#contract-edit-zone #edit-box-open-btn{
    width: 100%;
    height: 35px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.7;
}

#sample-edit-zone #edit-box-hide-btn:hover{
    opacity: 1;
}

.mini-popup {
    position: absolute;
    margin: 20px;
    width: auto;
    height: auto;
    border-radius: 3px;
    border: solid 1px #979797;
    background-color: #353535;
    z-index: 100;
    padding: 5px 0px;
    flex-direction: column;
}
.mini-popup .mini-popup-row {
    width: 100%;
    min-width: max-content;
    height: auto;
    padding: 5px 14px;
    text-align: left;
    font-family: AppleSDGothicNeo,sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.17px;
    color: #a4a4a4;
    cursor: pointer;
}

.mini-popup .mini-popup-row:hover{
    background-color: #121212;
    color: #f5bd41;
}
.horizontal-line{
    background: #0075fe;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 10;
}

.horizontal-line.top-line{
    width: 100%;
    height: 1px;
    opacity: 0.6;
}

.horizontal-line.left-line{
    height: 100%;
    width: 1px;
    opacity: 0.6;
}

.white-btn{
    width: max-content;
    height: 28px;
    padding: 5px 8px;
    border-radius: 12px;
    background-color: #ffffff;
    border: none;
}
.contract-status-btn.active:hover{
    cursor: pointer;
    color: #0e99ff;
}

.contract-status-btn.success{
    background: #dcf2eb;
    color: #67d5b5;
    font-family: NotoSansKR,sans-serif;
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
}
.contract-status-btn.success:hover{
    background: #67d5b5;
    color: white;
}
.contract-status-btn.ongoing{
    background: #faeed3;
    font-family: NotoSansKR,sans-serif;
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #fdc23e;
}
.contract-status-btn.ongoing:hover{
    background: #fdc23e;
    color: white;
}
.box-red-border{
    border: #ff353b solid 1px !important;
}
[contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}
.add-contract-title{
    color: white;
}

#contract-edit-zone>div:nth-child(1) .contract-header-btnbox{
    position: absolute;
}

#contract-list-page .contract-date-input {
    outline: none;
    font-size: 10pt;
    color: white;
    height: 30px;
    padding: 5px;
    box-sizing: border-box;
    background: none;
    border: none;
    background: #4a4a4a;
}

#contract-list-page>div>.contract-basic-btn {
    width: max-content;
    padding: 8px 23px;
    border-radius: 5px;
    margin-left: 10px;
    background: #4a4a4a;
    color: white;
    font-family: NotoSansKR, sans-serif;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
}

.contract-preview-popup>div:nth-child(1)>div{
    position: fixed;
    right: 15px;
}
#print-btn,#download-btn{
    opacity: 0.7;
    cursor: pointer;
}

#print-btn:hover,#download-btn:hover{
    opacity: 1;
}

#contract-edit-zone #contract-status-view>div{
    width: 100%;
    max-width: 500px;
    height: 100%;
}
#contract-edit-zone #contract-status-view>div .status-display{
    width: 100%;
    height: 50px;
    color: white;
    font-size: 20px;
    position: relative;
    font-weight: bold;
    font-family: NotoSansKR,sans-serif;
    flex-direction: row;
}

#contract-edit-zone #contract-status-view>div .status-display>button{
    outline: none;
    background: #2c2c2c;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-family: NotoSansKR, sans-serif;
    width: max-content;
}

#broj-policy-agree.screenshot-mood{
    background: none;
    margin: 0px;
}

#broj-policy-agree.screenshot-mood>.contract-agree-zone,#broj-policy-agree.screenshot-mood>.ui-resizable-handle{
    height: 0px;
    overflow: hidden;
}

@media screen and (min-width: 601px) {
    .add-contract-title{
        font-size: 30px;
    }
    #contract-edit-zone>div:nth-child(1) .contract-header-btnbox{
        right: 20px;
    }
    #contract-edit-zone>div:nth-child(1) .contract-header-btnbox>button{
        height: 43px;
        margin-left: 15px;
        padding: 0 50px;
        font-size: 20px;
    }
    #contract-edit-zone>div:nth-child(1)>img{
        width: 62px;
        height: 62px;
        opacity: 0.7;
        position: absolute;
        right: 230px;
        cursor: pointer;
    }
    #contract-edit-zone>div:nth-child(1)>img:hover{
        opacity: 1;
    }
    #contract-edit-zone>div:nth-child(1){
        height: 72px;
        padding: 12px 24px;
    }
    #contract-edit-zone>div:nth-child(2){
        height: calc(100% - 172px);
    }
    #contract-edit-zone #contract-status-view{
        width: 100%;
        height: 100px;
    }
    .placeholder-text-style {
        font-size: 12px;
    }

    #sample-option-edit{
        width: min-content;
        height: max-content;
        background: #222222;
        position: fixed;
        left: 10px;
        padding: 10px 0px 5px 10px;
        align-items: flex-start;
        z-index: 6;
        max-height: calc(100% - 100px);
        top: 85px;
        border-top: 5px solid #f5bd41;
    }
    .confirm-popup .confirm-popup-content{
        width: 460px;
    }
    .contract-preview-popup>div:nth-child(2){
        position: relative;
        height: calc(100% - 100px)
    }
    .contract-preview-popup>div:nth-child(1) {
        height: 80px;
    }
    .contract-preview-popup>div:nth-child(1)>h4{
        font-family: NotoSansKR,sans-serif;
        font-size: 20px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        text-align: center;
        color: #ffba01;
    }
    #sample-option-edit .sample-edit-btn{
        margin-top: 12px;
        font-size: 16px;
    }
    #sample-edit-zone>div:nth-child(1)>button{
        padding: 0px 50px;
        font-size: 20px;
    }
    #print-btn,#download-btn{
        height: 50px;
        width: 50px;
        margin-left: 12px;
    }
    #contract-edit-zone #contract-status-view>div .status-display>button{
        padding: 12px 10px;
        margin: 0 10px;
    }
    #contract-view #sign-background .contract-sign-pad .contract-sign-label{
        text-align: center;
    }
}
@media screen and (max-width: 600px) {
    .add-contract-title{
        font-size: 20px;
        padding-left: 30px;
    }
    #contract-edit-zone>div:nth-child(1) .contract-header-btnbox{
        right: 10px;
    }
    #contract-edit-zone>div:nth-child(1) .contract-header-btnbox>button{
        height: 30px;
        margin-left: 5px;
        font-size: 12px;
    }
    #contract-edit-zone>div:nth-child(1){
        height: 50px;
        padding: 10px 16px;
        justify-content: flex-start;
    }
    #contract-edit-zone>div:nth-child(2){
        height: calc(100% - 150px);
    }
    #contract-edit-zone>div:nth-child(1)>img{
        width: 42px;
        height: 42px;
        opacity: 0.7;
        position: absolute;
        right: 86px;
        cursor: pointer;
    }
    .placeholder-text-style {
        font-size: 8px;
    }
    #sample-option-edit{
        width: 100%;
        height: 75px;
        background: #222222;
        position: fixed;
        z-index: 6;
        bottom: 0px;
        overflow: hidden;
    }
    #contract-view{
        padding-bottom: 75px;
    }
    .confirm-popup .confirm-popup-content{
        width: 300px;
    }
    .contract-preview-popup>div:nth-child(2){
        position: relative;
        height: calc(100% - 50px)
    }
    .contract-preview-popup>div:nth-child(1) {
        height: 50px;
    }
    .contract-preview-popup>div:nth-child(1)>h4{
        font-family: NotoSansKR,sans-serif;
        font-size: 12px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        text-align: center;
        color: #ffba01;
    }
    #sample-edit-zone #hide-zone-btn, #contract-edit-zone #hide-zone-btn{
        display: none;
    }
    #sample-option-edit>div{
        align-items: center;
        justify-content: center;
        display: flex;
    }
    #sample-option-edit .sample-edit-btn{
        font-size: 10px;
        ;
    }

    #contract-edit-check-zone{
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    #sample-edit-zone #edit-box-hide-btn, #sample-edit-zone #edit-box-open-btn, #contract-edit-zone #edit-box-hide-btn, #contract-edit-zone #edit-box-open-btn{
        display: none !important;
    }
    #sample-edit-zone>div:nth-child(1)>button{
        font-size: 12px;
    }
    #print-btn,#download-btn{
        height: 25px;
        width: 25px;
        margin-left: 10px;
    }
    .editor-text-area, #contract-sample-img .contract-text-box-wrapper{
        font-size: 11px;
    }
    #contract-edit-zone #contract-status-view>div .status-display>button{
        padding: 7px 5px;
        margin: 0 5px;
    }
    #contract-view #sign-background .contract-sign-pad .contract-sign-label{
        text-align: left;
    }
}

#broj-contract-confirm{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: #00000070;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100009;
}
#broj-contract-confirm > div {
    width: 100%;
    max-height: 100%;
    height: 100%;
    position: relative;
    background: white;
}
#broj-contract-confirm > div > img {
    position: absolute;
    right: 24px;
    top: 24px;
    height: 24px;
    width: 24px;
    cursor: pointer;
}

#broj-contract-confirm > div > div:nth-child(2) {
    height: 84px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#broj-contract-confirm .contract-confirm-content {
    height: calc(100% - 84px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    flex-direction: column;
}
#broj-contract-confirm .contract-confirm-content > h3 {
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    font-family: NotoSansKR,sans-serif;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000;
    padding: 0px 24px;
}

#broj-contract-confirm .contract-confirm-content > div:nth-child(2) {
    width: calc(100% - 48px);
    height: calc(100% - 150px);
    padding: 12px;
    border-radius: 8px;
    border: solid 1px #979797;
    font-family: NotoSansKR,sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000;
    margin: 0px 24px;
}

#broj-contract-confirm .contract-confirm-content > div:nth-child(3) {
    width: 100%;
    height: 100px;
    padding: 12px 24px 0px 24px;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

#broj-contract-confirm .contract-confirm-content > div:nth-child(3) label {
    font-family: NotoSansKR,sans-serif;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    height: 18px;
    width: 100%;
    text-align: left;
}

#broj-contract-confirm .contract-confirm-content > div:nth-child(3) button {
    outline: none;
    background: none;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    border-radius: 0px;
    border: none;
    width: 50%;
    height: 50px;
    color: white;
}

.contract-template-zone{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 12px;
}

.contract-template-type-zone{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 32px;
}

.contract-template-type-zone > .contract-template-type {
    width: max-content;
    height: 100%;
    padding: 0px 12px 6px 12px;
    font-family: 'Noto Sans KR',sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #A4A4A4;
    cursor: pointer;
}

.contract-template-type-zone > .contract-template-type.active{
    color: white;
    font-weight: 600;
    border-bottom: 2px rgb(255, 186, 0) solid;
}

.contract-template-filter-zone{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 93px;
    position: relative;
    padding: 24px 0px;
}

.template-list-zone{
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap : wrap;
    flex-direction: row;
}

.template-list-zone .scroll-bar{
    overflow: scroll;
}

.template-list-zone .scroll-bar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.template-list-zone .scroll-bar::-webkit-scrollbar-thumb {
    background: rgba(203, 203, 203, 0.62);
    border-radius: 3px;
}

.add-template-infozone > .add-template-stepzone{
    width: 100%;
    height: 100px;
    padding: 24px;
    box-sizing: border-box;
}

.add-template-infozone > .add-template-selectzone{
    width: 100%;
    height: calc(100% - 156px);
    padding: 24px 24px 0px 24px;
}

.add-template-infozone > .add-template-btnzone{
    width: 100%;
    display: flex;
    height: 56px;
}

.add-template-infozone > .add-template-btnzone > button{
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: #7C7C7C;
    font-family: 'Noto Sans KR',sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 29px;
    letter-spacing: -0.3px;
    outline: none;
    border: none;
}

.add-template-selectzone > .template-type{
    width: calc(50% - 12px);
    height: 256px;
    background: #4A4A4A;
    border-radius: 10px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    color: #A4A4A4;
}

.add-template-selectzone > .template-type:hover{
    transform: scale(0.99);
}

.add-template-selectzone > .template-type.active{
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid #FFBA01;
    color: rgba(164, 164, 164, 0.3);
}

.add-template-selectzone > .template-type.active > img{
    opacity: 0.4;
}

.add-template-selectzone > .template-type >.template-type-check{
    opacity: 1 !important;
    position: absolute;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
    width: 48px;
    height: 48px;
}

#contract-background{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10005;
    background: black;

    font-family: 'Noto Sans KR',sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
}

#contract-background .scroll-bar{
    overflow: scroll;
}

#contract-background .scroll-bar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

#contract-background .scroll-bar::-webkit-scrollbar-thumb {
    background: rgba(203, 203, 203, 0.62);
    border-radius: 3px;
}

#contract-background > .top-area{
    height: 72px;
    width: 100%;
    background: #4A4A4A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 30px;
    position: relative;
    padding: 12px 24px;
    box-sizing: border-box;
    border-bottom: 3px solid #3b3b3b;
}
#contract-background > .top-area > img{
    position: absolute;
    top: 24px;
    left: 24px;
    width: 18px;
    height: 24px;
    cursor: pointer;
}
#contract-background > .top-area > .template-controll-zone{
    position: absolute;
    top: 12px;
    right: 24px;
    width: 345px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
#contract-background > .top-area > .template-controll-zone > .template-zoom-btn{
    box-sizing: border-box;
    flex-direction: row;
    background: #4A4A4A;
    border: 1px solid #7C7C7C;
    border-radius: 5px;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 135px;
    font-size: 17px;
}
#contract-background > .top-area > .template-controll-zone > .template-save-btn{
    width: 186px;
    height: 48px;
    background: #FFBA01;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 17px;
}
#contract-background > .top-area > .template-controll-zone > .template-zoom-btn > img{
    width: 24px;
    height: 24px;
    cursor: pointer;
}

#contract-background > .bottom-area.is-app > .template-controll-zone{
    width: 120px;
    height: 100%;
    flex-direction: column;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
#contract-background > .bottom-area.is-app > .template-controll-zone > div:nth-child(1){
    background: #FAFAFA;
    border: 1px solid #DEE3E8;
    border-radius: 5px;
    color: #72BFA4;
    width: 100%;
    height: 44px;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    cursor: pointer;
}
#contract-background > .bottom-area.is-app > .template-controll-zone > .template-zoom-btn{
    background: #FAFAFA;
    border: 1px solid #DEE3E8;
    border-radius: 5px;
    color: #000000;
    width: 100%;
    height: 44px;
    justify-content:space-around;
}
#contract-background > .bottom-area.is-app > .template-controll-zone > .template-zoom-btn > img{
    width: 24px;
    height: 24px;
    cursor: pointer;
}
#contract-background > .bottom-area.is-app > .template-controll-zone > .template-save-btn{
    border-radius: 50px;
}

#contract-background > .main-area{
    height: calc(100% - 72px);
    width: 100%;
    display: flex;
}

#contract-background > .main-area.contract-zone{
    height: calc(100% - 207px);
    width: 100%;
    display: flex;
    flex-direction : column;
}

#contract-background > .main-area.contract-zone.is-app {
    height: calc(100% - 118px);
    width: 100%;
    display: flex;
    flex-direction: column;
}

#contract-background > .bottom-area{
    height: 135px;
    width: 100%;
    display: flex;
    background: #4A4A4A;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

#contract-background > .bottom-area > div:nth-child(2){
    display: inline-flex;
    background: #65B49F;
    width: max-content;
    height: 104px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    right: 300px;
    padding: 0px 24px;
    border-radius: 10px;
}

#contract-background > .bottom-area > div:nth-child(3){
    display: inline-flex;
    border-radius: 0px 50px 50px 0px;
    background: #FFBA01;
    width: 257px;
    height: 104px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

#contract-background > .bottom-area.is-app{
    height: 118px;
    background: #FFFFFF;
    color: black;
    position: relative;
}

#contract-background > .bottom-area.is-app > div:nth-child(2){
    width: calc(100% - 306px);
    height: 94px;
    background: #E1F7F0;
    color: #55C2A3;
    right: 150px;
    font-size: 14px;
}

#contract-background > .bottom-area.is-app > div:nth-child(3){
    width: 112px;
    height: 94px;
    font-size: 14px;
    color: white;
    border-radius: 10px;
}

#contract-background > .main-area > .option-zone{
    display: inline-block;
    width: 350px;
    height: 100%;
    padding: 24px;
    background: #4A4A4A;
    border-right: 1px solid #3b3b3b;
}

#contract-background > .main-area > .option-zone > .option-unit-row{
    width: 100%;
    height: max-content;
}
#contract-background > .main-area > .option-zone > .option-unit-row > .unit-menu-box{
    width: 100%;
    overflow: hidden;
    border: 1px solid #7C7C7C;
    border-radius: 5px;
    font-family: 'Noto Sans KR',sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
}

#contract-background > .main-area > .option-zone > .option-unit-row > .unit-menu-box > ul{
    width: calc(100% - 12px);
    height: max-content;
    margin-left: 12px;
}

#contract-background > .main-area > .option-zone > .option-unit-row > .unit-menu-box ul > label{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0px 0px 0px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    color: #CCCCCC;
    cursor: pointer;
}
#contract-background > .main-area > .option-zone > .option-unit-row > .unit-menu-box ul > li{
    width: 100%;
    height: 45px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    border: 1px solid #7C7C7C;
    box-shadow: 4px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 5px;
    color: #CCCCCC;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px;
}

#contract-background > .main-area > .option-zone > .option-unit-row > .unit-menu-box ul > li+li{
    margin-top: 12px;
}

#contract-background > .main-area > .option-zone > .option-unit-row > .unit-menu-box > label{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
#contract-background > .main-area > .contents-zone{
    display: flex;
    width: calc(100% - 350px);
    height: 100%;
    flex-direction: column;
}
#contract-background > .main-area > .contents-zone > .contract-template-wrapper{
    display: inline-flex;
    width: 100%;
    height: calc(100% - 45px);
    padding: 24px;
    background: #000000;
    /*align-items: center;*/
    justify-content: center;
    /*position: relative;*/
}

#contract-background > .main-area.contract-zone > .contract-template-wrapper{
    display: inline-block;
    width: 100%;
    height: calc(100% - 45px);
    padding: 24px;
    background: #000000;
    justify-content: center;
}

#contract-background > .main-area.contract-zone.is-app > .contract-template-wrapper{
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    background: #FAFAFA;
    height: 100%;
}

#contract-background > .main-area > .contents-zone >  #text-edit-menu-zone, #contract-background > .main-area.contract-zone >  #text-edit-menu-zone{
    width: 100%;
    height: 45px;
    position: relative;
    background: #4A4A4A;
    top: 0px;
    left: 0px;
}

#contract-background > .main-area > .contents-zone >  #text-edit-menu-zone.none-active, #contract-background > .main-area.contract-zone >  #text-edit-menu-zone.none-active{
    pointer-events: none;
    opacity: 0.6;
}

#contract-background > .main-area.is-app > .contents-zone > #text-edit-menu-zone, #contract-background > .main-area.is-app.contract-zone > #text-edit-menu-zone{
    background: #FAFAFA;
    box-shadow: 0px 4px 10px rgba(131, 134, 163, 0.12);
    opacity: 1 !important;
    display: none;
}
#contract-background > .main-area.is-app .j-util-editor-menu-area{
    /*background: #FAFAFA !important;*/
    display: none;
}

#receipt-zone{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: white;
}

#receipt-zone > .receipt-unit{
    width: 100%;
    max-width: 375px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 24px;
}

#receipt-zone > .receipt-unit > ul{
    width: 100%;
    height: max-content;
    font-family: Noto Sans KR,sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
}

#receipt-zone > .receipt-unit > ul > li{
    margin-bottom: 24px;
}

#receipt-zone > .receipt-unit > ul > li.text-center{
    text-align: center;
}

#receipt-zone > .receipt-unit > ul > li.m12{
    margin-bottom: 12px;
}

#receipt-zone > .receipt-unit > ul > li.dashed-line{
    border-bottom: 2px dashed #000000;
}

#receipt-zone > .receipt-unit > ul > li.value-line{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#receipt-zone > .receipt-unit > ul > li > span.bold-text{
    font-weight: bold;
}

#receipt-zone > .receipt-unit > ul > li > span.gray-text{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #A4A4A4;
}

.contract-template-wrapper > #create-template-viewer{
    width: 825px;
    height: max-content;
    min-height: 1000px;
    background: white;
    transform: scale(1);
    transform-origin: left top;
    margin: 0px auto;
    overflow: hidden;
    line-height: normal;
}
.contract-template-wrapper > #template-viewer-page-bar{
    width: 30px;
    left: 0px;
    top: 0px;
    position: relative;
}

.contract-template-wrapper > #template-viewer-page-bar > span{
    position: absolute;
    left: 0px;
    color: white;
    font-size: 12px;
}

.contract-template-wrapper > #template-viewer-page-bar > span.remove-btn{
    cursor: pointer;
    font-weight: bold;
    transform: scale(0.98);
}
#contract-background .contract-text-box-wrapper{
    position: absolute;
    background: none;
    overflow-wrap: break-word;
    padding: 2px;
    background: #EAEAEA;
    border-radius: 5px;
    font-weight: 700;
    color: black;
    z-index: 2;
    cursor: text;
    line-height: normal;
}

#contract-background .contract-text-box-wrapper.contract-print-mode{
    background: none !important;
}

#contract-background .contract-custom-box-wrapper.contract-print-mode{
    background: none !important;
}

#contract-background .contract-text-box-wrapper > .remove-box-btn, #contract-background .contract-sign-box-wrapper > .remove-box-btn
#contract-background .contract-check-box-wrapper > .remove-box-btn, #contract-background .contract-date-box-wrapper > .remove-box-btn,
#contract-background .contract-image-box-wrapper > .remove-box-btn, .template-standard-row ul.drag-sortable-zone li > .remove-box-btn{
    position: absolute;
    right: -10px;
    top: -10px;
    width: 20px;
    height: 20px;
    background: url("./images/only-xmark-black.png") #ffffff;
    border-radius: 25px;
    cursor: pointer;
    background-size: 100% 100%;
    padding: 5px;
}

#contract-background .contract-check-box-wrapper .remove-box-btn,
#contract-background .contract-sign-box-wrapper .remove-box-btn{
    position: absolute;
    right: -10px;
    top: -10px;
    width: 20px;
    height: 20px;
    background: url("./images/only-xmark-black.png") #ffffff;
    border-radius: 25px;
    cursor: pointer;
    background-size: 100% 100%;
    padding: 5px;
}

#contract-background .contract-check-box-wrapper{
    position: absolute;
    border: 1px solid #0b0b0b;
    border-radius: 3px;
    overflow-wrap: break-word;
    padding: 0px;
    background: #fffaef;
    z-index: 2;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

#contract-background .placeholder-text{
    color: #979797;
    opacity: 0.7;
    display: inline-block;
    width: max-content;
    box-sizing: border-box;
    position: relative;
    font-size: 11px;
}
#contract-background .placeholder-text.contract-print-mode{
    display: none;
}

#contract-background .contract-check-box-wrapper > .placeholder-text{
    right: -22px;
    top: 0px;
}

#contract-background .contract-check-box-wrapper > img{
    width: 100%;
    height: 100%;
    position: absolute;
    box-sizing: border-box;
    top: 0px;
    left: 0px;
}

#contract-background .contract-sign-box-wrapper {
    position: absolute;
    background: #4d5dff24;
    border: none;
    overflow-wrap: break-word;
    padding: 2px;
    border-radius: 3px;
    cursor: pointer;
    z-index: 2;
}

#contract-background .contract-sign-box-wrapper > .placeholder-text{
    top: 4px;
    left: 4px;
}

#contract-background .contract-sign-box-wrapper.contract-print-mode{
    background: none !important;
}

#contract-background .contract-date-box-wrapper{
    position: absolute;
    border: none;
    overflow-wrap: break-word;
    padding: 2px;
    background: #EAEAEA;
    border-radius: 5px;
    font-weight: 700;
    color: black;
    z-index: 2;
    cursor: pointer;
    text-align: center;
}
#contract-background .contract-date-box-wrapper > img{
    width: 100%;
    height: 100%;
}
#contract-background .contract-date-box-wrapper.contract-print-mode{
    background: none !important;
}
#contract-background .j-util-editor-text-area.contract-print-mode{
    background: none !important;
}
#contract-background .contract-image-box-wrapper{
    position: absolute;
    border: none;
    overflow-wrap: break-word;
    padding: 2px;
    background: #EAEAEA;
    border-radius: 5px;
    font-weight: 700;
    color: black;
    z-index: 2;
    cursor: pointer;
}

.broj-name-box > .placeholder-text{
    top: 2px;
    left: 2px;
}

.contract-template-wrapper #template-area-more-btn{
    width: calc(100% - 360px);
    height: 30px;
    position: absolute;
    background: none;
    bottom: 0px;
    text-align: center;
    opacity: 0;
    padding: 8px;
    box-sizing: border-box;
}

.contract-template-wrapper #template-area-more-btn:hover{
    background: black;
    opacity: 0.6;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -ms-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
    cursor: pointer;
}

.contract-template-wrapper > #create-template-viewer > .template-standard-row{
    width: 100%;
    height: max-content;
    position: relative;
    margin-top: 24px;
    color: black;
    font-family: 'Noto Sans KR',sans-serif;
}

.contract-template-wrapper > #create-template-viewer > .template-standard-row p{
    min-height: 16px;
    font-size: 13px;
    line-height: normal;
}

.contract-template-wrapper > #create-template-viewer > .template-standard-row.gray-border{
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    padding: 12px;
}

.template-standard-row#header-box{
    display: flex;
    justify-content: center;
    align-items: center;
}

.template-standard-row#header-box > div:nth-child(1){
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EAEAEA;
    left: 0px;
    top: 0px;
    height: 58px;
    width: 87px;
    border-radius: 3px;
    color: #A4A4A4;
    cursor: pointer;
}

.template-standard-row#header-box > input:nth-child(2) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    background: #EAEAEA;
    left: 0px;
    top: 0px;
    width: 466px;
    height: 54px;
    border-radius: 3px;
    color: black;
    font-family: 'Noto Sans KR', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    border: none;
    text-align: center;
}

.contract-template-wrapper > #create-template-viewer > .template-standard-row > h4{
    padding-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
}

.template-standard-row ul.drag-sortable-zone{
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.template-standard-row ul.drag-sortable-zone li {
    width: calc(50% - 3px);
    margin-bottom: 12px;
    height: 33px;
    line-height: 33px;
    font-weight: 400;
    font-size: 14px;
    border: 1px dashed #CCCCCC;
    padding: 6px;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.template-standard-row ul.drag-sortable-zone li:hover{
    opacity: 0.9;
}

.template-standard-row ul.drag-sortable-zone li > summary {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    width: 70px;
}

.template-standard-row ul.drag-sortable-zone li > input {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    outline: none;
    background: none;
    width: calc(100% - 66px);
    height: 100%;
    color: black;
    border: none;
    text-align: left;
    flex-wrap: wrap;
    align-content: center;
    height: 33px;
}
.template-standard-row ul.drag-sortable-zone li > div{
    color: black;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    outline: none;
    background: none;
    width: calc(100% - 66px);
    height: 100%;
    border: none;
    text-align: left;
}

#text-edit-menu-zone #simple-grid-btn{
    padding: 10px;
    border-radius: 3px;
    background: #222222;
    position: absolute;
    right: 12px;
    top: 4px;
    align-items: flex-start;
    z-index: 6;
    color: white;
    cursor: pointer;
}

#text-edit-menu-zone #simple-grid-btn.active{
    background: #007fff;
}

/* Phone*/
@media screen and (max-width: 800px) {
    body{
        -webkit-text-size-adjust: none;
    }
}
