
* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

a {
  text-decoration: none;
}

.pic img {
	width: 200px;
	height: 200px;	
	cursor: pointer;
}

.pos-relative {
	position:relative;	
}

.badge {
	position:absolute;
	left: 120px;
	top: 2px;
	background-image:url(../images/badge.png);
	width: 80px;
	height: 80px;
	z-index: 100;	
}

.main-header-login {
  background: #004899;
  background: linear-gradient(#378ae8, #004899);
  padding: 5px;
  text-align: center;
  color: white;
  text-shadow: #222 0px -1px 1px;
  width: 100%;
  left: 0;
  font-size: 12px;
}

@media screen {
	.main-header-caption {
	  font-size: 26px;
	  padding-top: 8px;
	  padding-bottom: 8px;	
	}
	
    .main-header {
	  background: linear-gradient(#378ae8, #004899);
	  padding: 5px;
	  text-align: center;
	  color: white;
	  text-shadow: #222 0px -1px 1px;
	  position: fixed;
	  width: 100%;
	  left: 0;
	  transition: all 0.3s ease;
	  font-size: 12px;
	  z-index:100;
	}
	
	.main-header-menu {
	  position: absolute;
	  left: 20px;
	  top: 15px;
	  color: white;
	  font-size: 32px;
	}
	
	.main-nav {
	  position: fixed;
	  top: 0;
	  width: 0;
	  height: 100%;
	  background: #3B3B3B;
	  overflow-y: auto;
	  transition: width 0.3s ease;
	}
	.main-nav a {
	  display: block;
	  background: linear-gradient(#3e3e3e, #383838);
	  border-top: 1px solid #484848;
	  border-bottom: 1px solid #2E2E2E;
	  color: white;
	  padding: 15px;
	}
	
	.content {
	  padding: 80px 20px 20px 0px;
	}
}

@media print {
	.main-header-caption {
	  font-size: 0px;
	  padding-top: 0px;
	  padding-bottom: 0px;	
	  height: 0px;
	  displan:none;
	}
	
    .main-header {
	  padding: 0px;
	  text-align: center;
	  color: white;
	  width: 0%;
	  font-size: 0px;
	  height: 0px;
	  display:none;
	}
	
	.main-header-menu {
	  font-size: 0px;
	  height: 0px;
	}
	
	.main-nav {
	  width: 0;
	  height: 0%;
	  display:none;
	}
	.main-nav a {
	  display: none;
	}
	
	.content {
	  padding: 0px 20px 20px 0px;
	}
}

.main-header-add {
  position: absolute;
  right: 20px;
  top: 15px;
  color: white;
  font-size: 32px;
}

.page-wrap {
  float: right;
  width: 100%;
  transition: width 0.3s ease;
}

.main-nav {
  position: fixed;
  top: 0;
  width: 0;
  height: 100%;
  background: #3B3B3B;
  overflow-y: auto;
  transition: width 0.3s ease;
}
.main-nav a {
  display: block;
  background: linear-gradient(#3e3e3e, #383838);
  border-top: 1px solid #484848;
  border-bottom: 1px solid #2E2E2E;
  color: white;
  padding: 15px;
}
.main-nav a:hover, .main-nav a:focus {
  background: linear-gradient(#484848, #383838);
}
.main-nav:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 34px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
}

.content-login {
  margin: 0px auto;
  padding-top: 10px;
}

.close-menu {
  display: none;
}

#main-nav:target {
  width: 20%;
}

#main-nav:target + .page-wrap {
  width: 80%;
}
#main-nav:target + .page-wrap .open-menu {
  display: none;
}
#main-nav:target + .page-wrap .close-menu {
  display: block;
}
#main-nav:target + .page-wrap .main-header {
  width: 80%;
  left: 20%;
}