*{
    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;
}
input[type="checkbox"]
{
    position: relative;
    width: 40px;
    height: 20px;
    -webkit-appearance: none;
    background: #c6c6c6;
    outline: none;
    border-radius: 20px;
    box-shadow: inset 0 0 5px rgba(0,0,0,-2);
    transition: .5s;
}
input:checked[type="checkbox"]
{
    background: rgba(9,31,64,1);
}
input[type="checkbox"]:before{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    top:0;
    left:0;
    background:#fff;
    transform: scale(1.1);
    box-shadow:0 2px 5px rgba(0,0,0,-2);
    transition: .5s;
}
input:checked[type="checkbox"]:before{
    left: 20px;
}
td{
    height: 60px;
}
header > #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;
    line-height: 27px;
}
.mybox > div {
    display: inline-block;
    margin: 5px 2px;
}
.mybox > div:nth-child(2){
    margin: 0px 5px;
}
.container{
    display:flex;
    justify-content: center;
    border-bottom: 1px groove rgb(175, 173, 173) ;
}
.article {
    width:950px;
    height: 1200px;
    font-size: 20px;
}
.content {
    width: 840px;
    height: 750px;
    margin:10px;
    border-radius: 1rem;
    border: 1px solid black;
    padding: 40px 40px;
}
#maintitle {
    width: 840px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
#title{
  width: 770px;
  padding: 15px 30px;
  padding-top: 30px;
  border-bottom: 1px solid black;
}
#postinfo {
    height: 30px;
    font-size: 13px;
    color: gray;
    margin-top:10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
#writerinfo{
    height: 30px;
}
#cbox{
    padding: 20px 30px;
}
.tabs{
    text-align: center;
    display: block;
}
.tabs >.button{
    text-align: center;
    padding-left: 20px;
    width: 80px;
}
.thumb{
    width:50px;
    line-height: 30px;
    display: flex;
    float: left;
}
#thumb_num{
    width: 30px;
    line-height: 30px;
    font-size: 20px;
}
#thumbimg{
    background: url(icon_thumb3.png) center;
    background-size: cover;
    width: 40px;
    border: none;
}
#thumbimg:hover{
    background: url(icon_thumb3.png) center;
    background-size: cover;
    width: 41px;
    height: 41px;
    border: none;
}
.comment >input{
    width: 900px;
    height: 140px;
    border: 1px solid black;
    border-radius: 1.5rem;
}
.comment{
    width: 900px;
    height: 150px;
    margin:10px;
    padding: 20px 0px;
    padding-left: 20px;
    border-radius: 1rem;
    border: 1px solid black;
    display: flex;
    float: left;
}
.buttons{
    padding-left:20px;
    width: 120px;
}
input[type="checkbox"]
{
    position: relative;
    width: 90px;
    height: 40px;
    -webkit-appearance: none;
    background: #c6c6c6;
    outline: none;
    border-radius: 20px;
    box-shadow: inset 0 0 5px rgba(0,0,0,-2);
    transition: .5s;
}
input:checked[type="checkbox"]
{
    background: rgba(9,31,64,1);
}
input[type="checkbox"]:before{
    content: '';
    position: absolute;
    width: 45px;
    height: 40px;
    border-radius: 40px;
    top:0;
    left:0;
    background:#fff;
    transform: scale(1.1);
    box-shadow:0 2px 5px rgba(0,0,0,-2);
    transition: .5s;
}
input:checked[type="checkbox"]:before{
    left: 45px;
}
.prof_input > label{
    width:100px;
    text-align: right;
    margin-right:10px;
}
.prof_input{
    padding-top:100px;
    width:460px;
    height: 400px;
    padding:20px 10px;
    margin-top:100px;
}
nav {
    display: block;
    position: relative;
    width: 180px;
    height: 720px;
    overflow: visible;
    border-left-style: groove;
    border-bottom-style: groove;
    font-size: 19px;
}
nav > ul {
    width:180px;
    text-align: center;
}
nav li:hover{
    background-color:rgba(9,31,64,1);
}
nav li:hover #univ {
    color: white;
}
.sub li:hover a{
    color: white;
}
nav li {
    display:block;
    padding: 0 30px;
    line-height: 60px;
    height:65.5px;
}
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{
    width:200px;
    height: 650px;
    box-sizing: border-box;
    text-align: center;
    font-size: 19px;
}
#onlywhite:hover{
    text-decoration: none;
    background-color: white;
}
.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: 8px;
    padding-bottom: 3px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin-right: 10px;
    margin-top: 10.5px;
}
.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: 8px;
    padding-bottom: 3px;
    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{
    background-color:rgba(9,31,64,1);
}
.sidebar li:hover a{
    color: white;
}
#onlywhite:hover{
    text-decoration: none;
    background-color: white;
}
#profile{
    top:0px;
}

.imglist {
  display: block;
  margin: 25px 0px;
  height: 200px;
}

.imglist ul {
  display: block;
  padding: 0px 20px;
}

.imglist ul li img {
  display: inline-block;
  min-width: 100%;
  height: 100%;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
}

.imglist ul li {
  width: 200px;
  height: 200px;
  border-radius: 0.5rem;
  margin: 0px 10px;
  overflow: hidden;
  display: inline-block;
}

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