*{
    font-family: sans-serif;
}
a{
    text-decoration: none;
    color:black;
}
ul, ol{
    list-style-type: none;
    margin:0;
    padding:0;
}
header{
    height: 200px;
    display: flex;
    justify-content: center;
}
input{
    border: 1px solid #c6c6c6;
    border-radius:0.5rem;
    width:282px;
    height: 41px;
    line-height:20px;
    font-size: 17px;
    padding-left: 5px;
}

#idtxt{
    border: 1px solid #c6c6c6;
    border-radius:0.5rem;
    width:282px;
    height: 41px;
    line-height:35px;
    font-size: 17px;
    padding-left: 5px;
    padding-top:5px;
}
input[type="search"]{
    border: 0px;
    width:140px;
    padding-left:3px;
    box-sizing: border-box;
    font-size: 17px;
    border-radius: 0px;
    height: 28px;
}

td{
    height: 60px;
}
#blank{
    width:390px;
}
header > #logo{
padding-top: 50px;
}
.mybox{
    width: 520px;
    height: 100px;
    margin-top: 40px;
    background-color:white;
    box-shadow: 0px 0px 10px #aaa;
    text-align: center;

}

.container{
    display:flex;
    justify-content: center;
    border-bottom: 1px groove rgb(175, 173, 173) ;
    height: 1100px;
}

@media(min-width:1335px){
    .question, .answer {
        width: 920px;
        height: 660px;
        margin:10px;
        border-radius: 1rem;
        border: 1px solid black;
    }
}
@media(max-width:1334px){
    .question, .answer {
        width: 90%;
        height: 660px;
        margin:10px;
        border-radius: 1rem;
        border: 1px solid black;
    }
}


.question {
    width: 920px;
    height: 500px;
    margin:10px;
    border-radius: 1rem;
    border: 1px solid black;
    margin-bottom: 40px;
}
.answer {
  width: 920px;
  height: 500px;
  margin:10px;
  border-radius: 1rem;
  border: 1px solid black;
}
.mypage > div{
    display: block;
    float: left;
}

.title input {
  height: 65px;
  border: none;
}

.mybox > div {
    display: inline-block;
    margin: 5px 2px;
}

.content {
  margin: 0px 45px;
  display: flex;
  align-items: center;
}
.question > .content {
  margin: 0px 75px;
  margin-top: 40px;
}
.content input {
  height: 350px;
  border: none;
}

.answer > .title > input {
  width: 880px;
}
.answer > .content > input {
  border: 1px solid rgba(9,31,64,1);
  width: 870px;
  margin-top: 5px;
}

.title{
  height: 150px;
  width: 770px;
  margin: 0px 45px;
  padding: 0px 30px;
  border-bottom: 1px solid black;
  display: flex;
  align-items: center;
}

.answer > .title, .content {
  padding: 0px;
}

.answer > .title {
  width: 830px;
}

#catetag {
  background-color: rgba(9,31,64,1);
  color: white;
}

.whitespace {
  height: 30px;
}
.answer > .title {
  height: 80px;
}

.addfile img {
  max-width: 40px;
  vertical-align: middle;
  margin: 10px 20px;
  display: inline;
}

.addfile {
  float: left;
}

.mybox img {
  margin-top: 5px;
  margin-left: 15px;
}

#mytext {
  margin-left: 5px;
  margin-left: 4px;
}

footer{
    display: flex;
    float: right;
    padding: 20px;
}
.icon_list li{
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
}

.anonymous {
  float: right;
  top: 40px;
  left: 20px;
  transform: translate(-50%, -50%);
}

.toggle-btn{
  display:inline;
  float: right;
  margin-bottom: -20px;
  margin-top: 40px;
  width: 60px;
  height: 20px;
  background: gray;
  border-radius: 30px;
  padding:5px;
  transition: all 500ms ease-in-out;
  text-align: center;
}

.toggle-btn > .innercircle {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
}

.toggle-btn.active {
  background: rgba(9,31,64,1);
}

.toggle-btn.active > .innercircle {
  margin-left: 40px;
}
.postbtn {
  float: right;
  margin: 10px 20px;
}

.postbtn > a > button {
  border-radius: 30px;
  width: 90px;
  height: 30px;
  padding: 20px 5px;
  line-height: 0px;
  background-color: rgba(9,31,64,1);
  border: 1px solid rgba(9,31,64,1);
  color: white;
}

.post input {
  display: inline;
}

nav {
    display: block;
    position: relative;
    width: 180px;
    height: 720px;
    overflow: visible;
    border-left-style: groove;
    border-bottom-style: groove;
    font-size: 19px;
}

#maintitle {
  font-size: 20px;
  font-weight: 700;
}

#postinfo {
  font-size: 12px;
  color: gray;
}

nav > ul {
    width:180px;
    text-align: center;
}
nav li a:hover{
    text-decoration: none;
}
nav li {
    display:block;
    padding: 0 30px;
    line-height: 60px;
    height:65.5px;
}
.sidebar{
    width:200px;
    height: 650px;
    box-sizing: border-box;
    text-align: center;
    font-size: 19px;
}
nav li:hover{
    background-color:rgba(9,31,64,1);
}
nav li:hover #univ {
    color: white;
}
.sub li:hover a{
    color: white;
}

.sidebar li:hover{
    background-color:rgba(9,31,64,1);
}
.sidebar li:hover a{
    color: white;
}

nav > ul :hover .sub{
    left: 180px;
    display:inline-block;
    z-index: 100;
    transition-property: all;
    transition-delay: .5s;
}
.sub {
    display:none;
    position:absolute;
    padding: 0px;
    background-color:white;
    width: 80%;
    left: -0.5%;
    border: 0px;
}

.sidebar > div {
    margin-top:10px;
}
.search{
    width: 200px;
    height: 35px;
    fill: rgba(255,255,255,1);
    border-bottom:1px solid black;
    font-size: 20px;
}
#searchbox{
    display: inline-block;
}
#side1{
    margin-top: 20px;
    position: relative;
    width: 200px;
    height: 280px;
    overflow: visible;
}
#side2{
    width: 200px;
    height:220px;
}
#banner{
    width: 200px;
    height: 122px;
    overflow: visible;
    border-right-style: groove;
    border-bottom-style: groove;
    margin-top: 10px;
    text-align: center;
    overflow: hidden;
}
#banner img{
    transform: scale(1);
    -webkit-transform: scale(1);
}
#banner:hover img{
    transform: scale(1.1);
}
.button{
    background-color: white;
    border: 1px solid rgba(9,31,64,1);
    width: 90px;
    height: 27px;
    border-radius: 5rem;
    padding-top: 10px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin-right: 10px;
    margin-top: 10px;
}
.buttonlogout{
    background-color:  rgba(9,31,64,1);
    border: 1px solid rgba(9,31,64,1);
    width: 90px;
    height: 27px;
    border-radius: 5rem;
    padding-top: 10px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin-right: 10px;
    margin-top: 10px;
}
.buttonlogout >a{
    color:white;
}
.sidebar ul{
    border-right-style: groove;
    border-bottom-style: groove;
}
.sidebar li {
    display:block;
    padding: 15px;
}
.sidebar li:hover{
    text-decoration: none;
}
#profile{
    top:0px;
}

#onlywhite:hover {
  background-color: white;
  text-decoration: none;
}
