*{
    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: 840px;
}

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


.post {
    width: 920px;
    height: 750px;
    margin:10px;
    border-radius: 1rem;
    border: 1px solid black;
    font-size:16px;
}

.pagelist {
  margin-top: 20px;
}

.pagelist ul {
  float: right;
}
.pagelist ul li {
  float: left;
  margin: 0px 10px;
  padding: 5px 20px;
  border: 1px solid  rgba(9,31,64,1);
  color:  rgba(9,31,64,1);
  border-radius: 0.5rem;
}

.pagelist ul li:nth-child(1){
  padding: 5px 10px;
}

.pagelist ul li:nth-child(7){
  padding: 5px 10px;
}
.mypage > div{
    display: block;
    float: left;
}


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


#catetag {
  background-color: rgba(9,31,64,1);
  color: white;
  display: inline-block;
  margin: 35px 30px;
  margin-left: 60px;
}

#catetag > p{
  margin: 0px;
}

.post > div {
  display: inline;
}


.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;
}



.postbtn {
  float: right;
  margin-right: 60px;
  display: block;
  margin-top: 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;
}

.postlist {
  padding: 0px auto;
}

.postlist ul {
  display: block;
}
.postlist ul li {
  float: left;
}

.postlist ul:hover li:nth-child(n) {
  background-color: rgba(9,31,64,1);
  color: white;
}

.postlist ul li:nth-child(1){
  width: 80px;
  padding: 0px 40px;
  padding-left: 60px;
  margin: 5px 0px;
  text-align: center;
}
.postlist ul li:nth-child(2){
  width: 450px;
  padding-left: 30px;
  margin: 5px 0px;
}
.postlist ul li:nth-child(3){
  width: 150px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-right: 110px;
}


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;
}
