html{
	height: auto;
	overflow: auto;
}

body{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.main{
	flex: 1 0 auto;
	min-height: unset;
	padding-top: 140px;
}

.footer{
	flex-shrink: 0; 
}

.join_box{
	width: 50%;
    margin: 0 auto;
    padding-top: 40px;
}

.joinForm{
	min-height: 500px;
	margin: 0 auto;
	box-sizing: border-box;
    border-radius: 2px;
    position: relative;
    padding-bottom: 60px;
}

.joinForm.step1 textarea{
  font-family:'Noto Sans KR', sans-serif;
    resize: none;
    outline: none;
    border: none;
    background-color: #eee;
    width: 100%;
    height: 180px;
    padding: 15px;
    font-size: 14px;
    display: none;
}

.joinForm.step1 > .termsLine1{
	padding: 30px 10px 5px 10px;
	font-size: 16px;
	font-weight: bold;
}

.joinForm.step1 > .termsLine2{
	padding: 10px 10px 5px 10px;
	font-size: 15px;
}

.termsLine2 > i.fa{
    float: right;
    margin : 2px 8px 0px 0px;
    color: #bfbfbf;
    font-size: 24px;
    cursor: pointer;
}

.joinForm input[type='checkbox']{
	display: none;
}

.joinForm label{
	cursor: pointer;
}

.joinForm label > .checkbox{
	width: 18px;
    height: 18px;
    background: url(/img/uncheck.png);
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    margin: 4px 5px 0px 0px;
}

.joinForm input[type='checkbox']:checked + label>.checkbox{
	background: url(/img/checked.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.joinForm .bottom{
	margin-top: 50px;
}

.joinForm.step2 {
	width: 520px;
}

.joinForm.step2 .inputForm{
	margin-bottom: 50px;
}

.joinForm.step2 .inputForm .blue{
	color: #00A0E3;
}

.joinForm.step2 .inputForm .red{
	color: #d81c1c;
}

.joinForm.step2 .inputForm .bold{
	font-weight: bold;
}

.joinForm.step2 .inputForm .inputTitle{
	font-size: 14px;
	margin-top: 20px;
}

.joinForm.step2 .inputForm .inputTitle > label{
	float: right;
}

.joinForm.step2 .inputForm .inputTitle > label > .checkbox{
	width: 14px;
	height: 14px;
}

.inputForm > label >.serviceBox{
	width: 170px;
    border: 1px solid #ccc;
    display: inline-block;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    margin-top: 15px;
    margin-right: 10px;
    font-size:15px;
}

.inputForm > input[type='checkbox']:checked + label>.serviceBox{
	color: #00A0E3;
	border: 1px solid #00A0E3;
	font-weight: bold;
}

.joinForm.step2 .inputForm .inputText{
	border: 1px solid #ccc;
	padding: 7px;
    margin-top : 5px;
}

.inputText > .fa-eye,
.inputText > .fa-eye-slash{
    font-size: 18px;
    color: #bbb;
    cursor: pointer;
}

.joinForm.step2 .inputForm > .inputFile{
    margin-top: 5px;
    border: 1px solid #ccc;
}


.joinForm.step2 .inputForm > .comment{
	font-size: 12px;
}

.comment.fail{
	color: #e00303;
}

.comment.success{
	color: #036ff4;
}

.joinForm.step2 .inputForm table {
   width: 96%;
   border: 1px solid #ccc;
   border-collapse: collapse;
   font-size: 12px;
   color: #616161;
   margin-top: 15px;
 }
.joinForm.step2 .inputForm table th, td {
   border: 1px solid #ccc;
   padding: 5px;
 }
 
 .joinForm.step2 .inputForm table th{
 	width: 75px;
 	background-color: #efefef;
 }

.joinForm.step2 .inputForm  button { 
    border: 1px solid #ccc;
    outline: none;
    padding: 8px;
    margin: 0px 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    background: #fff;
}

.joinForm.step2 .inputForm button:hover{
	background-color: #f5f5f5;
}

.joinForm.step2 .inputForm input[type="text"],
.joinForm.step2 .inputForm input[type="password"],
.joinForm.step2 .inputForm select{
	font-size: 15px;
	outline: none;
    border-radius: 0px;
    border: none;
    width: 100%;
}
.joinForm.step2 .inputForm input[type="file"]{
	font-size: 14px;
	outline: none;
    width: 100%;
}

/* IE10 이상을 위한 css */
input::placeholder {
  color: #ccc;
  opacity: 1; /* 파이어폭스에서 뿌옇게 나오는 현상을 방지하기 위한 css */
  font-style: normal;
}
input::-webkit-input-placeholder {
  color: #ccc;
  font-style: normal;
}
/* IE */
input:-ms-input-placeholder {
  color: #ccc;
  font-style: normal;
}
/* Firefox */
input:-mos-input-placeholder {
  color: #ccc;
  opacity: 1; /* 파이어폭스에서 뿌옇게 나오는 현상을 방지하기 위한 css */
  font-style: normal;
}

.joinForm > .complete{
	text-align: center;
    border: 1px solid #ddd;
    padding: 30px;
}
.joinForm > .complete strong{
	font-size: 24px;
}
.joinForm > .complete .fa-check-circle{
	font-size: 50px;
    color: #7575ff;
    width: 100%;
    margin-bottom: 20px;
}

.rightWrap .info{
	position: absolute;
	top: 360px;
    left: 30px;
    font-size: 20px;
    animation: fadeInUp 1s 1;
}

.rightWrap .info .emp{
	font-size:24px;	
	font-weight: bold;
}
.rightWrap .info .blue{
	color: #00A0E3;
}

.bottom button { 
	border: none;
    outline: none;
    padding: 10px;
    margin: 0px 5px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #d6d6d6;
    color: #fff;
    font-size: 16px;
    width: 100%;
}

.bottom button.active{
	background-color : #254381;
	color: #fff;
}

.modalContainer{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	background-color:rgba(0,0,0,0.4);
	z-index:999;
}

.modalContent {
    position: absolute;
    top: 5%;
    left: calc(50% - 325px);
    width: 650px;
    height: 90%;
	min-height: 500px;
    background-color: white;
    border: 1px solid #afafaf;
}
.modalContent > .title{
    font-weight: bolder;
    font-size: 25px;
    padding-bottom: 18px;
    border-bottom: 2px solid #5DABE3;
    margin: 30px 40px;   
}

.modalContent > .closeBtn{
	width: 20px;
	height: 20px;
    background: url(../images/mbheader_close.png) no-repeat;
    cursor: pointer;
    background-size: contain;
    position: absolute;
    top: 20px;
    right: 25px;
}

.modalContent #termsContent{
	font-size: 13px;
    padding: 0px 40px 15px 40px;
    height: calc(100% - 135px);
    overflow: auto;
}

.addition{
	display : none;
}

.additionItem{
	display : none;
}

#termsContent h2{
	font-size: 18px;
}

#termsContent .subText{
	margin: 5px 12px;
}

#fax_msg {
    display: none;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: -1px;
    margin: 2px 5px;
}

.adpay-join-btn{
    padding: 8px;
    font-weight: bold;
    margin-left: 10px;
    border-radius: 8px;
    font-size: 14px;
    background-color: #9debf4;
}

.adpay-join-btn > i{
	vertical-align: middle;
	margin-left: 3px;
}

.adpay-join-btn:hover{
	background-color: #95e1ea;
}


.help-tip {
    display: inline-block;
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
    line-height: 16px;
    margin-left: 3px;
    cursor: help;
    position: relative;
}
.help-tip:hover::after {
    content: attr(data-tip);
    white-space: pre-line;
    position: absolute;
    left: 50px;
    top: -5px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    width: 250px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.form-link {
    border: 1px solid #c6c6c6 !important;
    background: linear-gradient(to bottom, #ffffff, #f0f0f0) !important;
    color: #1d1d1f !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 
                0 1px 0 rgba(255, 255, 255, 1) inset !important;
    outline: none;
    padding: 4px 10px !important;
    transition: all 0.15s ease;
    font-size: 13px !important;
}
.form-link:hover {
    background: linear-gradient(to bottom, #ffffff, #e8e8e8) !important;
    border-color: #b0b0b0 !important;
}

.form-link:active {
    background: linear-gradient(to bottom, #e0e0e0, #d5d5d5) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) inset !important;
}

.info-tip {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    cursor: help;
    position: relative;
    user-select: none;
    vertical-align: middle;
}

.info-tip::after {
    content: attr(data-tip);
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 7px 11px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    pointer-events: none;
}

.info-tip:hover::after {
    opacity: 1;
    visibility: visible;
}
#adpayChk:checked + label{

}

input[name="ap_busin_type"]{
	margin-right: 5px;
}

@media (max-width: 1080px){
	.join_box{
		width: 80%;
	}
}

@media screen and (max-width:640px){
    html{
        overflow: auto;
        height: auto;
    }

    div.main{
        display: block;
        height: auto !important;
        min-height: unset !important;
	    min-width: unset;
        overflow: visible !important;
    }
    
	.main > .leftWrap{
		width: 100%;
	}
	
	.leftWrap .joinForm {
    	padding: 40px 20px;
   		width: 100%;
	}
	.joinForm > .bottom {
	    width: calc(100% - 45px);
	}
	.joinForm.step2 {
	    width: 100%;
	}
	
	.main > .rightWrap{
		display: none;
	}
	
    .modalContent{
    	position: absolute;
	    top: calc(50% - 270px);
	    left: 5%;
	    width: 90%;
	    min-height: 500px;
	    background-color: white;
	    border: 1px solid #afafaf;
    }
    
    .modalContainer#termsDetailPop > .modalContent {
	    position: absolute;
	    top: 2%;
	    left: 5%;
	    width: 90%;
	    height: 95%;
	    background-color: white;
	    border: 1px solid #afafaf;
	}
    
    .modalContent > .title{
        font-weight: bolder;
    	font-size: 25px;
    	padding-bottom: 10px;
    	border-bottom: 2px solid #5DABE3;
    	margin: 15px 25px;
    }

	.join_box{
		width: 92%;
	}
}
