@charset "utf-8";
/* 투어머치 전현진 2020-12-15 */

/* 제품문의 */
#counsel {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}

#counsel .counsel-guide {
	position: relative;
	padding: 0 10px;
	margin-bottom: 10px;
	text-align: right;
	color: #666;
}

#counsel .counselbox {
	border-top: 1px solid #333;
}

#counsel .counselbox dl {
	padding: 10px;
	border-bottom: 1px solid #dcdcdc;
}

#counsel .counselbox dl dt {
	margin-bottom: 5px;
	font-weight: 500;
}

#counsel .counselbox dl dd.select-dd .basic-select {
	width: 100%;
	margin-bottom: 5px;
}

#counsel .counselbox dl dd .counsel-input {
	height: 36px;
	line-height: 34px;
	padding: 0 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, .075);
}

#counsel .counselbox dl dd .counsel-textarea {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, .075);
}

#counsel .counselbox dl dd .agree-txt-box {
    overflow-y: auto;
    height: 200px;
    line-height: 1.6;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #dcdcdc;
    background-color: #f8f8f8;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
}

#counsel .btnArea {
	margin-top: 20px;
	text-align: center;
}

#counsel .btnArea .btns {
	padding: 0 30px;
	margin: 0 2px;
	border-radius: 4px;
	font-size: 14px;
}

/* 파일첨부 커스텀 */
.custom-file-box {
	font-size: 0;
}

.custom-file-box p.file_txt {
	display: inline-block;
	width: 200px;
	height: 36px;
	line-height: 34px;
	border: 1px solid #dcdcdc;
	border-right: none;
	background-color: #fff;
	padding: 0 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
	color: #666;
	border-radius: 4px 0 0 4px;
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, .05);
	font-size: 14px;
    vertical-align: top;
}

.custom-file-box a.btns {
	font-size: 14px;
	border-radius: 0 4px 4px 0;
}

@media screen and (min-width:767px) {
	#counsel .counselbox dl {
		display: table;
		width: 100%;
		padding: 0;
	}

	#counsel .counselbox dl dt {
		display: table-cell;
		width: 120px;
		line-height: 20px;
		padding: 10px 30px;
        vertical-align: middle;
	}

	#counsel .counselbox dl dd {
		display: table-cell;
		padding: 10px;
        vertical-align: middle;
	}

	#counsel .btnArea .btns {
		height: 50px;
		line-height: 48px;
		padding: 0 40px;
		font-size: 16px;
	}

	.custom-file-box p.file_txt {
		width: 400px;
	}
}

@media screen and (min-width:1240px) {
	#counsel .counselbox dl dd.select-dd .basic-select {
		width: auto;
	}
}