/* 반응형 */
/* 태블릿 */
/* 배너광고 변경 */
.readerbord_banner{
    display: block;
    width: 606.6666666666667px;
    height: 75px;
}

/* header */
header{
    width: 100%;
    height: 1.7cm;
    display: flex;
    justify-content: center;
    align-items: center;

    #headerAll{
        width: 100%;
        height: 100%;

        display: flex;
        justify-content: space-between;
        align-items: center;

        /* logo */
        #logoBox{
            width: 200px;
            height: 100%;

            img{
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        /* 메뉴 */
        nav{
            #mainMenu{
                display: flex;

                li{
                }
                li>a{
                    font-size: 1rem;
                    padding: 0 10px;
                    font-family: "KOHIBaeumOTF";
                    
                    font-weight: bolder;
                    color: #636363;
                    &:hover{
                        border-bottom: 2px solid #000;
                        color: #000;
                    }
                }
            }
        }

    }
}

/* ======================= */

/* visualSection */
#visualSection{
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;

    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #visual_text{
        position: absolute;
        top: 20%;
        left: 5%;
        width: 500px;

        p{
            font-size: 4rem;
            font-family: "sansFont";
            font-weight: bolder;
        }
    }
}

/* ======================= */
/* main */
main{
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 10px;

    /* 배너 광고판 */
    .bannerBox{
        width: 150px;
        height: 310px; /* 10px은 top 여유 공간 */
        position: sticky;
        display: flex;
        align-items: end;
        top: 0;
        
        .banner{
            background: #fff;
            width: 100%;
            height: 300px;
        }
    }

    .leftBanner{
        display: none;
    }

    /* mainContentBox */
    #mainContentBox{
        width: 100%;
    }
}


/* 메인 타이틀 */
.titleText{
    font-family: "titleFont";
    font-size: 2rem;
    font-weight: 600;
}

/* 서브 타이틀 */
.subText{
    font-family: "contentFont";
    font-size: 1.3rem;
}

#titleTextBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}


/* 기본정보 입력창 */
#calcMain{
    width: 100%;
    height: 900px;
    margin-top: 30px;

    .row{
        width: 100%;
        display: flex;
        position: relative;
        
        form.default{
            width: 50%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-left: 30px;

            .input_row{
                width: 80%;
                margin-bottom: 10px;

                label{
                    font-size: 0.9rem;
                }
                select{
                    width: 140px;
                }
                select,input{
                    margin-top: 5px;
                    height: 43px;
                    padding-left: 5px;
                    font-size: 1rem;
                    width: 100%;
                }
            }
        }

        .valueBox{
            border-radius: 10px;
            box-shadow: inset 0 0 5px #9a9a9a;
            background: #fff;
            padding: 5px 10px;
            bottom: 360px;
            width: 40%;
            height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            p{
                font-size: 1rem;
                margin-bottom: 5px;
            }
        }

        #calcBtn{
            position: absolute;
            bottom: 220px;
            right: 16%;
            width: 28%;
            height: 120px;
            font-size: 2rem;
            font-family: "sansFont";
            font-weight: bolder;
            transition: 0.1s all;
            background: #fff;
            border: 5px solid #989898;
            border-radius: 3px;
            
            &:hover{
                cursor: pointer;
                box-shadow: inset 0 0 20px #000;
            }
        }
        
        #warning{
            position: absolute;
            bottom: 320px;
            width: 50%;
            right: 5%;
            font-size: 0.8rem;
            font-family: "sansFont";
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;

            span{
                color: #ff0000;
            }
        }
    }
}


/* ----------------- */
/* ================= */

/* footer */
footer{
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;

    #footerAll{
        width: 79%;
        display: flex;
        align-items: center;
        justify-content: center;
        

        #f_content{
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            #f_logo{
                width: 300px;
                height: 150px;
    
                img{
                    object-fit: contain;
                    width: 100%;
                    height: 100%;
                }
            }

            span{
                font-size: 1.1rem;
            }
            p{
                margin-top: 20px;
                font-size: 1.1rem;
                color: #000000;
            }
        }
    }
}