/*----------------------------------------------
레이아웃
----------------------------------------------*/

/* 반응형 관리 */
.dp-m {
    display: block;
}
.dp-l {
    display: none;
}

.contents {
    width: 100%;
    float: left;
    min-height: 550px;
    padding-bottom: 30px;
}
/* 중앙정렬 */
.inner {
    position: relative;
    width: calc(100% - 30px);
    padding: 15px;
    margin: 0 auto;
}

/* 폼 */
input {
    border: 1px solid #DDD;
    padding: 15px 5px;
}
table input {
    padding: 10px 5px;
}
.check-label {
    margin-left: 10px;
    margin-right: 5px;
}
.description-td {
    display: block;
    color: #777;    
}
.btn-wrap         { width: 100%; float: left; margin: 15px 0px;}
.btn-wrap a       { display: block; float: right; width: 80px; height: 35px; line-height: 35px; margin-left: 5px; color: #FFF; text-align: center; font-weight: bold;}
.btn-positive     { background-color: #e74c3c; }
.btn-blue         { background-color: #28a7e1; }    
.btn-red          { background-color: #ec5d4f; } 
.btn-gray         { background-color: #707070; } 
.btn-lgray        { background-color: #e9e9e9; color: #777 !important;} 


.input-s          { width: 115px; }
.input-m          { width: 150px; }
.input-full       { width: 100%; }

select            { border: 1px solid #DDD; padding: 7px; min-width: 100px;}

@media screen and (min-width:1060px) {
   .input-s          { width: 115px; }
   .input-m          { width: 300px; }
   .input-full       { width: 100%; } 
    
   .description-td {
        display: inline;
        margin: 0px 15px;
   }
   .mobile-hide-cell {
        display: table-cell;
   }
}


.sub-title {
    position: relative;
    font-size: 14px;
    font-weight: normal;
    color: #777;
}
.sub-title .result {
    color: #FFF;
    position: absolute;
    top: 80px;
    left: 50%;
    width: 340px;
    height: 70px;
    margin-left: -170px;
    text-align: center;
}
.sub-title .result b {
    font-size: 24px;
}

.sub-visual {
    background-image: url(../images/sub/bg_sub.png);
    background-position: center;    
    background-size: cover;
}
.sub-center {
    text-align: center;
    color: #FFF;
}
.sub-center h1 {
    padding-top: 15px;
    cursor: default;
}
@media screen and (min-width:1060px) {
    .sub-center h1 {
        padding-top: 60px;
        cursor: default;
        font-size: 40px;
		margin-top:0;
    }
}
.sub-center a {
    display: block;
    margin: 0 auto;
    width: 150px;
    height: 46px;
    line-height: 46px;
    color: #e74c3c;
    background-color: #FFF;
    border-radius: 5px;    
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}
.sub-center a:hover {
    opacity: 0.9;
}

hr {
    width: 100%;
    float: left;
    border: none;
    border-top: 1px solid #DEDEDE;
    background-color: #DEDEDE;
    margin: 20px 0px;
}
hr.red {
    color: #e74c3c;
    border-top: 1px solid #e74c3c;
    background-color: #e74c3c;
    margin: 10px 0px 20px 0px;
}
.mt-20 {
    margin-top: 30px;
    float: left;
    width: 100%;
}
.mt-30 {
    margin-top: 30px;
    float: left;
    width: 100%;
}
.mt-50 {
    margin-top: 50px;
    float: left;
    width: 100%;
}


/* 게시판 타이틀 */
.board h1.btitle {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 0px;
    text-indent: 20px;
}
.board h1.btitle .circle {
    position: absolute;
    top: 15px;
    left: 0px;
}
.board h1.btitle .breadCrumb {
    float: right;
    font-size: 12px;
    margin-top: 10px;
}
.board h1.btitle .breadCrumb a {
    font-size: 12px;
    margin: 0px 5px;
}

/* 기본 게시판 */
.table-basic, .table-left, .table-left-bg {
    width: 100%;
    border-top: 2px solid #e74c3c;
    font-size: 13px;
}
.table-basic {
    margin-bottom: 10px;
}
.table-basic .title-h1 {
    font-size: 14px;
    line-height: 18px;
    margin: 0px;
    margin-top: 25px;
    text-indent: 20px;
}
.table-basic .title-h2 {
    font-size: 12px;
    line-height: 18px;
    margin: 0px;
    margin-top: 5px;
    margin-bottom: 25px;
    color: #777;
    text-indent: 20px;
}
.table-basic thead {
    background-color: #fbfbfb;
    height: 55px;
    line-height: 55px;
    text-align: left;
}
.table-basic th {
    border-bottom: 1px solid #eaeaea;
}
.table-basic tr {
    width: 100%;
}
.table-basic td {
    border-bottom: 1px solid #eaeaea;
    text-align: left;
    line-height: 55px;
}
.table-basic .notice .badge {
    background-color: #28a7e1;
    color: #FFF;
    padding: 1px 7px 4px 7px;
    border-radius: 3px;
    cursor: default;
}
.table-basic td .title {
    display:inline-block;
    width: 70%;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space:nowrap;	
    text-align: left;
}

/* 측면 게시판 */
.table-left th {
    width: 100px;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #eaeaea;
}
.table-left td {
    border-bottom: 1px solid #eaeaea;
    border-right: none;
    padding: 10px;
}
.table-left td textarea {
    border: 1px solid #DDD;
    width: 100%;
    min-height: 300px;
}

/* 측면 게시판 배경 */
.table-left-bg th {
    width: 100px;
    text-align: center;
    font-weight: bold;
    background-color: #f8f8f8;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}
.table-left-bg td {
    border-bottom: 1px solid #eaeaea;
    border-right: none;
    padding: 10px;
}
.table-left-bg td textarea {
    border: 1px solid #DDD;
    width: 100%;
    min-height: 300px;
}

/* 폼 입력 */
.table-form {
    width: 100%;
    background-color: #FFF;
    font-size: 13px;
    margin-top: -20px;
}
.table-form tr {
    height: 60px;
}
.table-form th {
    text-align: left;
    background-color: #FFF;
    border-bottom: 1px solid #e8e8e8;
    text-indent: 20px;
    width: 150px;
    cursor: default;
}
.table-form td {
    background-color: #FFF;
    border-bottom: 1px solid #e8e8e8;
}

/* 페이지 네이션 */
.pageNation {
    text-align: center;
    margin: 0 auto;
    display: block;   
    display: table;
    text-align: center;
}
.pageNation li {
    float: left;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 3px;
    border: 1px solid #d2d2d2;
    color: #d2d2d2;
    cursor: pointer;
}  
.pageNation li.active {
    color: #ec5d4f;;
    border: 1px solid #ec5d4f;
}
.pageNation li.first, .pageNation li.end {
    width: 40px;
}
.pageNation img {
    padding: 10px 0px;
}

/* 게시판 뷰 */
.table-basic th .info {
    float: right;
}
.table-basic th .info li {
    float: left;       
    margin: 0px 5px;
}
.table-basic th .info li:first-child {
    margin-right: 0px;
}
.view th, .view td {
    text-align: left;
    padding: 0px 10px;
}
.socialLink {
    float: left;
    margin-top: -50px;
}
.socialLink li {
    float: left;
    margin-right: 5px;
}

/* 마켓 */
.thumb-goods-mini {
    border: 1px solid #DDD;
}
.table-basic .detail {
    width: 100%;
    margin: 0px;
    display: block;
    margin-top: -2px;
}
.table-basic .detail span {
    display: inline-block;
    width: calc(100% - 152px);
    text-align: left;
    text-indent: 20px;
    background-color: #FFF;
    border-bottom: 1px solid #eaeaea;
}
.table-basic .detail span:first-child {
    width: 150px;
    text-indent: 0px;
    background-color: #f8f8f8;
    text-align: center;
    border-right: 1px solid #DDD;
}

/* 메세지 */
.message-tab {
    width: 100%;
    float: left;
    border-top: 2px solid #000;
    padding: 15px 0px;
}
.message-tab ul li {
    display: block;
    float: left;
    width: 90px;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
    color: #FFF;
    text-align: center;    
    margin-right: 2px;
    cursor: pointer;
    background-color: #acacac;
}
.message-tab ul li.active {
    background-color: #f77265;
}

/* 지역별 프로 */
.district-tab {
    width: 100%;
    float: left;
    border-top: 2px solid #000;
    padding: 15px 0px;
}
.district-tab ul li {
    display: block;
    float: left;
    width: 33.33%;
}
.district-tab ul li img {
    display: block;
    margin: 0 auto;
}
.district-tab .select-wrap {
    float: right;
}
.district-tab select {
    width: 100px;
    height: 32px;
    border: 1px solid #DDD;
}
.district-tab .btn-search {
    display: inline-block;
    width: 50px;
    height: 32px;
    line-height: 30px;
    background-color: #666;
    color: #FFF;
    text-align: center;
    font-weight: bold;
    margin-left: 5px;
}   

/* 댓글 */
.comment {
    width: 100%;
    float: left;
    border: 1px solid #d7d5d5;
    margin-bottom: 10px;
}
.comment .head {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #eaeaea;
}
.comment .head .writer {
    font-weight: bold;
    margin: 0px 15px;
}
.comment .head .btn {
    float: right;
    margin-top: 5px;
    margin-right: 15px;
}
.comment .head .btn li {
    float: left;
    margin: 0px 1px;
}
.comment .con {
    padding: 15px;
}
.comment textarea {
    width: calc(100% - 110px);
    border: 1px solid #eaeaea;
    height: 70px;
    padding: 10px;
}
.comment button {
    width: 100px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    color: #FFF;
    background-color: #8c8c8c;
    border: none;
    box-shadow: none;
    border-radius: 5px;
    float: right;
}


/* 회사제휴 버튼 */
.companyIntroduce {
    border-bottom: 2px solid #000;
    margin-bottom: 20px !important;
}
.companyWords {
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    color: #777;
    word-break: keep-all;
}
.btn-company {
    margin: 20px 0px;
    float: right;
}
.btn-company a {
    display: block;
    width: 192px;
    height: 42px;
    line-height: 42px;
    border: 1px solid #000;
    text-align: center;
    margin-left: 5px;
    font-weight: bold;
    float: left;
}

/* 회원가입 */
.join-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
    font-size: 16px;
}
.join-wrap .head {
    width: 100%;
    height: 95px;
    border-bottom: 4px solid #c4c5c7;
    margin-bottom: 20px;
}
.join-wrap .head img {
    width: 125px;
    display: block
}
.join-wrap .head span {
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    top: 5px;
    left: 155px;
}
.join-wrap .welcome {
    position: relative;
    width: 100%;
    height: 270px;
    border: 1px solid #DDD;
    background-color: #FFF;
}
.join-wrap .welcome h1 {
    position: absolute;
    top: 0px;
    left: 10px;
    font-size: 20px;
    z-index: 2;
}
.join-wrap .welcome h2 {
    position: absolute;
    top: 45px;
    left: 10px;
    font-size: 12px;
    color: #777;
    z-index: 2;
}
.join-wrap .welcome img {
    position: absolute;
    top: 100px;
    right: 0px;
    width: 300px;
    z-index: 1;
}
.join-type {
    position: relative;
    color: #FFF;
    margin-top: 2px;
    float: left;    
    height: 270px;
}
.join-type h1 {
    position: absolute;
    top: 35px;
    left: 35px;
    font-size: 20px;
    font-weight: bold;
}
.join-type h1 em {
    display: block;
    width: 30px;
    margin-bottom: 5px;
    height: 1px;
    background-color: #FFF;
}
.join-type p {
    position: absolute;
    top: 100px;
    left: 35px;
    font-size: 12px;
}
.join-type .btn {
    position: absolute;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #FFF;
    bottom: 30px;
    left: 35px;
    font-size: 12px;
    font-weight: bold;
}
/* 회원구분 */
.join-type1 {
    width: 100%;
    background-color: #3a63cd;
}
.join-type1 p {
    width: 250px;
}
.join-type1 .btn {
    color: #3a63cd;
}
.join-type2 {
    width: 100%;
    background-color: #4c5f9f;
}
.join-type2 .btn {
    color: #4c5f9f;
}

/* 회원가입 입력 폼 */
.table-form-type {
    width: 100%;
    margin: 0 auto;
}
.table-form-type .title {
    font-size: 24px;
    font-weight: bold;
    border-bottom: 2px solid #0d6fb8;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.table-form-type .title b {
    color: #0d6fb8;
}

.agree-list {
    width: 100%;
    padding: 10px 5px;
    border: 1px solid #DDD;
    background-color: #FFF;
    font-size: 13px;
}
.agree-list li {
    position: relative;
    width: 100%;
    height: 30px;
    line-height: 30px;
}
.agree-list span {    
    position: absolute;
    width: 240px;
    top: -5px;
    left: 35px;
}
.agree-list a {    
    position: absolute;
    top: 0px;
    left: 255px;
}
p.etc {
    font-size: 12px;
    color: #5e5d5d;
    font-weight: bold;
    line-height: 20px;
}
.btn-next {
    display: block;
    width: 180px;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    text-align: center;
    color: #FFF;
    background-color: #e74c3c;
    font-weight: bold;
    margin: 0 auto;
    margin-top: 35px;
}
.btn-next:hover {
    color: #FFF;
    opacity: 0.8;
}
.btn-form {
    display: inline-block;
    width: 100px;
    height: 36px;
    line-height: 36px;
    color: #777;
    background-color: #f4f4f4;
    border: 1px solid #DDD;
    text-align: center;
    font-weight: bold;
    margin-left: 5px;
}
.btn-form:hover {
    opacity: 0.8;
}

/* 인증수단 */
.validate-box {
    width: 100%;
    height: 240px;
    float: left;
    background-color: #FFF;
    border: 1px solid #DDD;
    text-align: center;
    margin-bottom: 10px;
}
.validate-box img {
    margin-top: 30px;
}
.validate-box h1 {
    font-size: 16px;
    margin-bottom: 20px;
}
.validate-box .btn-next {
    width: 130px;
    height: 40px;
    line-height: 40px;
}

/* 회원가입폼 */
.phone-auth-join {
    background-color: #f4f4f4;
    border: 1px solid #DDD;
    padding: 20px 30px;
    margin-top: 20px;
}
.phone-auth-join h1 {
    font-size: 14px;
    color: #777;
}
.phone-auth-join .btn-confirm, .phone-auth-join .btn-cancel {
    display: inline-block;
    width: 70px;
    height: 35px;
    line-height: 35px;
    background-color: #666;
    color: #FFF;
    text-align: center;
    font-weight: bold;
}
.phone-auth-join .btn-resend {
    display: inline-block;
    width: 100px;
    height: 35px;
    line-height: 35px;
    color: #666;
    border: 1px solid #DDD;
    text-align: center;
    font-weight: bold;
}
.phone-auth-join .count {
    color: #fd2e2e;
}
.btn-view {
    display: inline-block;
    width: 50px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #777;
    border: 1px solid #DDD;
    margin-left: 5px;
    margin-right: 30px;
}

/* 제휴 업체 */
.title select {
    width: 100%;
    margin: 3px 0px 5px 0px;
}
.title select:first-child {
    margin-top: 15px;
}
.title .select_wrap {
    margin-top: 15px;
}

@media screen and (min-width:1060px) {
    .dp-m {
        display: none;
    }
    .dp-l {
        display: block;
    }    
    /* 중앙정렬 */
    .inner {
        position: relative;
        width: 1060px;
        margin: 0 auto;
        padding: 0px;
    }
    
    /* 회원가입 입력 폼 */
    .table-form-type {
        width: 720px;
        margin: 0 auto;
    }
    .table-form-type .title {
        font-size: 24px;
        font-weight: bold;
        border-bottom: 2px solid #0d6fb8;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    .table-form-type .title b {
        color: #0d6fb8;
    }

    .agree-list {
        width: 100%;
        padding: 25px 35px;
        border: 1px solid #DDD;
        background-color: #FFF;
        font-size: 13px;
    }
    .agree-list li {
        position: relative;
        width: 100%;
        height: 30px;
        line-height: 30px;
    }
    .agree-list span {    
        position: absolute;
        width: 240px;
        top: -5px;
        left: 35px;
    }
    .agree-list a {    
        position: absolute;
        top: 0px;
        left: 255px;
    }
    p.etc {
        font-size: 12px;
        color: #5e5d5d;
        font-weight: bold;
        line-height: 20px;
    }
    /* 인증수단 */
    .validate-box {
        width: 350px;
        height: 240px;
        float: left;
        background-color: #FFF;
        border: 1px solid #DDD;
        text-align: center;
    }
    .validate-box:last-child{
        margin-left: 15px;
    }
    .validate-box img {
        margin-top: 30px;
    }
    .validate-box h1 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .validate-box .btn-next {
        width: 130px;
        height: 40px;
        line-height: 40px;
    }
    
    /* 후원결과 */
    .sub-title .result {
        color: #FFF;
        position: absolute;
        top: 95px;
        left: 50%;
        width: 340px;
        height: 70px;
        margin-left: -170px;
        text-align: center;
    }
    
    /* 제휴 업체 */
    .title select {
        width: 150px;
        margin: 0px 3px;
    }
    .title .select_wrap {
        float: right;
        height: 50px;
        margin-top: -15px;
    }
}
