/*-------------------------------공통--------------------------------*/
html, body {
    height: 100%;
    width: 100%;
    font-family: 'Noto Sans KR', sans-serif;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a{
  color: black;
  text-decoration: none;
}

.clear {
    float: none;
    clear: both;
}

/*---------------------------------광고-----------------------------------*/

.ad1{
  width: 300px;
  margin: auto;
  margin-bottom: 20px;
}
/*---------------------------------header.php-----------------------------------*/
#header{
  width: 400px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: #3b2213;
  margin-bottom: 30px;
  z-index: 99;
  position: relative;
  border-bottom: 1px solid;
}

#header p{
  font-size: 25px;
  font-weight: bold;
  color: white;
}

#jj{
  position: absolute;
  right: 10px;
  top: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
}

#nav{
  margin-top: -10px;
  font-size: 25px;
  font-weight: bold;
  background: #FFDE80;
  color: #543D00;
}

#nav{
  display:none;
}

#toggle:checked + #nav{
  display:block;
}

#nav li{
  display:block;
  width:100%;
  text-align:center;
  border-top:1px solid #ccc;
  padding: 4px;
}

label {
  display:block;
  text-align:center;
  background: url('menu.png');
  background-repeat: no-repeat;
  background-position:97% 10px;
  background-size: 24px 19px;
  font-size:20px;
  font-weight:bold;
  padding:4px 3%;
}

.sub li{
  height: 50px;
  line-height: 40px;
  background: #FFEDBB;
}

.sub a{
  font-size: 20px;
  font-weight: normal;
  color: #916A00;
}

/*-------------------------------index.php---------------------------------*/

#mobile{
    width: 400px;
    margin: auto;
    min-height: 100vh;
    background: #ffcb02;
}

#slider{
  width: 95%;
  height: 200px;
  margin: auto;
  border: 1px solid;
  margin-top: 10px;
  margin-bottom: 40px;
  background: white;
}

.bxslider div{
  height: 200px;
}

.bxslider img {
  width: 100%;
  height: 200px;
}

#prevBtn{
  display: none;
}

#big_list_wrap{
  width: 100%;
}

#big_list{
  width: 380px;
  margin: auto;
}

#big_list li{
  width: 180px;
  float:left;
  margin-top: 10px;
  border-radius: 20px;
  position: relative;
  border: 1px solid;
  box-shadow: 2px 2px 2px;
  overflow: hidden;
}

@media(min-width: 801px){
#big_list li{
  height: 180px;
}
}

#big_list li:after{
  content: "";
  display: block;
  padding-bottom: 100%;
}


#big_list li:nth-child(2n-1){
  margin-right: 5%;
}

#big_list a{
  text-decoration: none;
}

#big_list img{
  position: absolute;
  width: 100%;
  height: 100%;
}

/*---------------------------------footer.php---------------------------------*/
#ft {
    width: 400px;
    height: 60px;
    margin: auto;
    background: #3b2213;
    z-index: 2;
}

#ft li{
  line-height: 60px;
  text-align: center;
  font-size: 18px;
  float: left;
}

#ft a{
  display: block;
  text-decoration: none;
  color: white;
}
/*-------------------------------------list------------------------------------*/
#page{
  width: 1349px;
  margin: auto;
  background-color: white;
  margin-bottom: 0;
}

#bbs_list_main{
  width: 400px;
  min-height: 100vh;
  background: #ffcb02;
  margin: auto;
  padding-bottom: 60px;
}

#page_name{
  width: 400px;
  height: 70px;
  line-height: 70px;
  margin-top: 0px;
  text-align: center;
  background: #3b2213;
  margin: auto;
}

#page_name>p{
  font-weight: bold;
  color: white;
  font-family: 'nanum_neo';
  font-size: 25px;
}

#bbs_list_table{
  width: 400px;
}

#bbs_list_table > ul > li{
  width: 340px;
  height: 50px;
  line-height: 50px;
  margin: auto;
  margin-bottom: 30px;
  position: relative;
}

#bbs_list_num{
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 100%;
  float: left;
  text-align: center;
  position: absolute;
  left: 18px;
  z-index: 1;
  background: #3b2213;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

#bbs_list_con{
  width: 90%;
  height: 49px;
  line-height: 49px;
  border: 1px solid #3b2213;
  border-radius: 15px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  border-collapse: collapse;
  float: left;
  text-align: center;
  position: absolute;
  left: 20px;
  background: white;
  box-shadow: 1px 1px 1px #D0D0D0;
  font-size: 20px;
  font-weight: bold;
  color: #3b2213;
}




/*------------------------------------read------------------------------------*/
#bbs_read_main{
  width: 400px;
  margin: auto;
  min-height: 80vh;
  background-color: #FFFCF7;
  display: block;
  padding-bottom: 120px;
  padding-top: 30px;
}

#read_content{
  font-size: 22px;
}

#content_p{
  font-size: 22px;
}

#small1{
  font-size: 20.5px;
}

#small{
  font-size: 19px;
}

#content_small{
  text-align: center;
  margin-top: -10px;
}

#content_middle{
  font-size: 26px;
  font-weight: bold;
  margin: 20px 0 10px 0;
  display: inline-block;
}

#content_big{
  font-size: 35px;
  font-weight: bold;
  margin: 50px 0 10px 0;
  display: block;
}


#bbs_read_main img{
  width: 100%;
  margin: 20px 0;
  display: block;
}

#red{
  color: red;
}

#pur{
  color: #6205FF;
}

#big{
  font-size: 35px;
  font-weight: bold;
  margin: 50px 0 10px 0;
  display: block;
}

#middle{
  font-size: 26px;
  font-weight: bold;
  margin: 20px 0 10px 0;
  display: block;
}

#summ{
  font-size: 22px;
  color: red;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 30px;
}

#buttons{
  width: 400px;
  margin: auto;
  background-color: #FFFCF7;
  display: block;
  padding-bottom: 120px;
  padding-top: 30px;
}

#button1, #button2{
  font-size: 20px;
}

#button3, #button4{
  width: 50px;
  height: 30px;
  line-height: 30px;
  font-size: 20px;
}

/*-------------------------------------bbs------------------------------------*/

#read_subject{
  width: 100%;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 40px;
}

#read_section{
  width: 100%;
  min-height: 250px;
  font-size: 18px;
}

#write_wrap{
  width: 1000px;
  margin: auto;
}

#write_title_span{
  font-size: 20px;
  font-weight: normal;
  color: #B59D6E;
}

#write_form{
  width: 900px;
  margin: auto;
}

#write_label{
  width: 100px;
  float: left;
}

#write_label p{
  font-size: 17px;
  font-weight: bold;
}

#write_input{
  width: 800px;
  float: left;
}

#write_input input{
  width: 800px;
}

#write_con:last-child{
  margin-top: 20px;
  padding-top: 40px;
  border-top: 1px solid #DFDFDF;
  text-align: center;
}


/* ---------------------------------member------------------------------------- */
#login_wrap{
  width: 100%;
  border-top: solid 1px;
  margin-top: 30px;
  padding-top: 30px;
}

#login{
  width: 400px;
  margin: auto;
  height: 800px;
  margin-top: 50px;
}

#login > h1 {
  display: block;
  width: 120px;
  margin: 0 0 20px 100px;
}

#login > form > div {
  width: 250px;
  float: left;
}

#login > form > button {
  margin-left: 10px;
  width: 100px;
  height: 100px;
  padding: 0;
  font-weight: bold;
  background: #D6D6D6;
  border: none;
  box-shadow: 1px 1px 3px 1px black;
}

#login input{
  height:50px;
  width: 250px;
}



/* ---------------------------------관리자 페이지------------------------------------- */




.rhksfl_top{
    width: 100%
    margin: auto;
    height: 35px;
    line-height: 35px;
    background: #4d4d4d;
    position: relative;
}

.rhksfl_top ul{
    width: 230px;
    position: absolute;
    right: 20px;
    height: 35px;
    line-height: 35px;
}

.rhksfl_top li{
    float: left;
    width: 70px;
    text-align: center;
    color: white;
}

.rhksfl_top li:nth-child(2n){
    width: 10px;
}

.rhksfl_top a{
    text-decoration: none;
    color: white;
}

#rhksfl_top{
    width: 100%;
    height: 140px;
    text-align: center;
    background: #66aad7;
    line-height: 140px;
    border-bottom: 2px solid #338dc9;
}

#rhksfl_top a{
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    font-family: 'noto_m';
}

#rhksfl_wrap{
    width: 100%;
    min-height: 800px;
}

.rhksfl_menu {
    width: 15%;
    float: left;
    margin-top: 50px;
    margin-left: 2%;
}



#rhksfl_main{
    width: 83%;
    float: left;
    padding-top: 0;
}


.rhksfl_wrap{
    width: 100%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin-bottom: 40px;
}


#rhksfl_menu{
    width: 100%;
    margin: auto;
    list-style: none;
}

#rhksfl_menu > li{
    text-align: center;
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-top: 1px solid #E0E0E0;
}

#rhksfl_menu > li:first-child{
    border-top: none;
}

#rhksfl_menu > li:hover{
    background-color: #4d4d4d;
}

#rhksfl_menu > li:hover a{
    color: white;
}


#rhksfl_menu > li > a{
    font-family: 'noto_regular';
    color: #4d4d4d;
    text-decoration: none;
}


.menu1 >li:last-child{
    border-right: none;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

#rhksfl_content{
  width: 900px;
  margin: auto;
  margin-top: -30px;
}

.page-header{
  border-bottom: 2px solid #09c;
  padding-left: 0;
}

.page-header h1{
  font-family: 'nanum_otfB';
  color: #4d4d4d;
}

#list_wrap{
    width: 900px;
    margin: auto;
    position: relative;
    margin-top: -30px;
}

#rhksfl_find{
  position: absolute;
  right: 0;
  top: 20px;
}

#rhksfl_find form{
  width: 200px;
}

#member_table{
  margin-top: -20px;
}

.list-table{
    margin-top: 40px;
}

.list-table thead th{
    height: 40px;
    border-top: 2px solid #09c;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
}

.list-table tbody td{
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    height: 20px;
    font-size: 14px;
}

#page_num {
    font-size: 14px;
    margin-top:30px;
    text-align: center;
}

#page_num ul{
    display: inline-block;
}

#page_num ul li {
    float: left;
    margin-left: 10px;
    text-align: center;
}
.fo_re {
    font-weight: bold;
    color:red;
}

#rhksfl_join_button{
    width: 200px;
    margin: auto;
    margin-top: 50px;
}

#rhksfl_main h1{
  margin-top: 70px;
  margin-left: 40px;
}

#rhksfl_ask_table{
  width: 800px;
  margin-top: 70px;
  font-size: 20px;
  border: 1px solid;
}

#rhksfl_ask_table tr{
  border-bottom: 1px solid;
}

#rhksfl_ask_table td{
  width: 400px;
  height: 40px;
  line-height: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

#rhksfl_ask_table td:first-child{
  background: #034E91;
  border-right: 1px solid;
  font-weight: bold;
  width: 100px;
  color: white;
}

#rhksfl_ask_table pre{
  background: white;
  border: none;
  font-size: 20px;
  padding: 0;
  margin-top: 10px;
}

#homework_make_form{
  width: 590px;
}

#homework_make_form select{
  width: 586px;
  height: 33px;
  border-color: #4d4d4d;
  border-radius: 5px;
}

#homework_make_form input{
  border: 1px solid #4d4d4d;
  width: 180px;
  height: 30px;
  margin-right: 20px;
  border-radius: 5px;
}

#homework_make_form button{
  margin-right: 3px;
  width: 80px;
  background: #666666;
  color: white;
  border: none;
  border-radius: 5px;
  height: 35px;
  line-height: 30px;
}

#report_history_table{
  width: 900px;
  margin-top: 0;
}

#report_history_table thead{
  border-bottom: 1px solid #4d4d4d;
}

#report_history_table th{
  font-family: 'nanum_otfB';
  color: #4d4d4d;
  height: 50px;
  line-height: 50px;
}

#report_history_table td{
  font-family: 'nanum_otfR';
  color: #4d4d4d;
  height: 50px;
  line-height: 50px;
}

#report_history_table a{
  width: 60px;
  height: 20px;
  line-height: 20px;
  color: white;
  background: #808080;
  display: block;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
}

#bbs_list_main_rhksfl{
  margin-top: 50px;
}


@media(min-width: 1800px){
    #main_top1{
      margin-top: 150px;
    }

    #main_top3{
      bottom: 300px;
      left: 400px;
    }

}
