@charset "utf-8";
/* 견적서 */
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap { overflow: hidden; padding: 20px 0 200px 0; }

#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .search-box { height: 45px; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .search-box input[type=text] { border: 1px solid #eee; background: #fff; height: 42px; padding-right: 40px; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .search-box .search-btn { line-height: 42px; width: 40px; }

#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .estimate-form .add-product-btn { margin-left: 0; width: 100%; height: 45px; line-height: 45px; font-size: 1.3rem; letter-spacing: -1px; margin-bottom: 10px; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .estimate-form textarea { width: 100%; border: 1px solid #e5e5e5; height: 200px; padding: 10px 8px; font-size: 1.4rem; }

#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .estimate-form .product-list-wrap .btn-wrap { overflow: hidden; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .estimate-form .product-list-wrap .btn-wrap .add-btn { float: right; font-size: 1.3rem; display: inline-block; color: #999; letter-spacing: -0.5px; height: 25px; transition: color 0.25s ease; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .estimate-form .product-list-wrap .btn-wrap .add-btn i { font-size: 1.6rem; line-height: 16px; display: inline-block; vertical-align: top; margin-right: 5px; margin-top: 5px; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .estimate-form .product-list-wrap .btn-wrap .add-btn span { line-height: 25px; display: inline-block; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .estimate-form .product-list-wrap .btn-wrap .add-btn:hover { color: #555; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .search-result-wrap .product-list-wrap .box-wrap .product-box .product-info-wrap .product-info { position: relative; }
#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .search-result-wrap .product-list-wrap .box-wrap .product-box .product-info-wrap .product-info .add-product-btn { position: absolute; z-index: 2; bottom: 3px; right: 0; height: 25px; line-height: 25px; }

#ebric_mobile_wrap #main-content-wrap .sub-view-wrap .search-result-wrap { padding-top: 0; }

.option-select { display: inline-block; width: 100%; position: relative; vertical-align: middle; height: 35px; }
.option-select label { display: block; border: 1px solid #ddd; font-size: 1.3rem; height: 35px; border-radius: 3px; line-height: 34px; padding: 0 15px 0 10px; font-weight: 400; background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #f2f2f2)); background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 100%); background: -webkit-linear-gradient(top,  #ffffff 0%, #f2f2f2 100%); background: -o-linear-gradient(top,  #ffffff 0%, #f2f2f2 100%); background: -ms-linear-gradient(top,  #ffffff 0%, #f2f2f2 100%); background: linear-gradient(top,  #ffffff 0%, #f2f2f2 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2', gradientType=0); transition: border-color .2s ease; }
.option-select label:hover { border-color: #ccc; }
.option-select label i { float: right; line-height: 35px; }
.option-select label i.fa-angle-up { display: none; }
.option-select .custom-check:checked + label i.fa-angle-up { display: block; }
.option-select .custom-check:checked + label i.fa-angle-down { display: none; }
.option-select .select-list { background: #fff; border: 1px solid #ccc; padding: 3px 0; display: none; position: absolute; left: 0; width: 100%; top: 35px; z-index: 3; }
.option-select .select-list li { border-bottom: 1px solid #eee; }
.option-select .select-list li:last-child { border-bottom: none; }
.option-select .select-list li a { font-size: 1.2rem; color: #555; padding: 5px 15px 5px 10px; display: block; transition: background .2s ease, color 0.2s ease; }
.option-select .select-list li a:hover { background: #E4EDFF; color: #222; }
.option-select .select-list li a .type { margin-right: 20px; }
.option-select .select-list li a .price { position: relative; }
.option-select .select-list li a .price:before {  width: 1px; height: 12px; background: #e5e5e5; left: -12px; content: ''; position: absolute; top: 50%; margin-top: -5px; }
.option-select .custom-check:checked ~ .select-list { display: block; }

.option-select .select-list li a .dchain-info { margin-bottom: 2px; }
.option-select .select-list li a .dchain-info .code { display: inline-block; color: #fff; padding: 2px 5px; font-size: 1rem; letter-spacing: 0; font-family: 'Arial','dotum'; margin-right: 3px; }
.option-select .select-list li a .dchain-info .description { font-size: 1.1rem; }
.option-select .select-list li a .dchain-info.dchain-01 .code { background: #F40000; }
.option-select .select-list li a .dchain-info.dchain-02 .code { background: #8900D0; }
.option-select .select-list li a .dchain-info.dchain-01 .description { color: #F40000; }
.option-select .select-list li a .dchain-info.dchain-02 .description { color: #8900D0; }

.selected-option .dchain-info { display: block; }

.selected-option { margin-top: 10px; border: 1px solid #eee; background: #fff; padding: 15px; border-radius: 4px; box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.1); }
.selected-option:first-child { margin-top: 0; }
.selected-option .head { position: relative; padding-right: 15px; margin-bottom: 10px;  }
.selected-option .head .type { font-size: 1.3rem; font-weight: 500; padding-right: 15px; }
.selected-option .head .close-btn { position: absolute; color: #999; transition: color 0.2s ease; right: 0; top: 3px; width: 12px; height: 12px; }
.selected-option .head .close-btn img { width: 100%; height: 100%; }
.selected-option .head .close-btn:hover { color: #555; }

.selected-option-wrap { margin-bottom: 10px; }
.selected-option-wrap .option-select-wrap .count input[type=text] { height: 35px; margin-top: 5px; }
.selected-option-wrap .option-select-wrap>.price { text-align: right; font-size: 1.5rem; font-weight: 700; }

.btn-wrap .cancel-btn { width: 49%; border: 1px solid #ddd; display: block; height: 50px; border-radius: 3px; line-height: 48px; font-size: 1.4rem; text-align: center; background: #F5F7F9; letter-spacing: -0.5px; transition: background .2s ease, color .2s ease, border-color .2s ease; color: #777; margin-top: 20px; float: left; }
.btn-wrap .cancel-btn:hover { background: #2f6ed5; color: #fff; border-color: #2f6ed5; }
.btn-wrap .request-btn { width: 49%; display: block; height: 50px; text-align: center; background: #2f6ed5; color: #fff; font-size: 1.4rem; line-height: 50px; border-radius: 4px; margin-top: 20px; transition: background .25s ease; letter-spacing: -1px; float: right; }
.btn-wrap .request-btn:hover { background: #1E5CC3; }

.selectbox { position: relative; z-index: 1; display: inline-block; border: 1px solid #ddd; height: 32px; width: 120px; border-radius: 3px; transition: border-color .2s ease, box-shadow .2s ease; vertical-align: top; cursor: pointer;  }
.selectbox:before { content: "";  position: absolute; top: 48%; right: 10px; width: 0; height: 0; margin-top: -1px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid #ccc; transition: border-top .25s ease; }
.selectbox:hover:before { border-top: 6px solid #AAAAAA; }
.selectbox label { position: absolute; top: 1px; left: 0; color: #2d2d2d;  z-index: -1;  /* IE8에서 label이 위치한 곳이 클릭되지 않는 것 해결 */ font-size: 1.3rem; line-height: 30px; text-align: left; width: 80%; padding-left: 10px; font-weight: 400; }
.selectbox select { width: 100%; line-height: 30px;  /* line-height 초기화 */ font-family: inherit; border: 0; opacity: 0;  /* 숨기기 */  filter:alpha(opacity=0);  /* IE8 숨기기 */ -webkit-appearance: none; /* 네이티브 외형 감추기 */  -moz-appearance: none; appearance: none; margin-left: 0; height: 31px; cursor: pointer;  }
.selectbox select option { font-size: 13px; }
