@import "./report.css";

.user-header {
	height: 256px;
	position: relative;
}

.user-header .btn{
	height: 40px;
	border-width: 2px;
	line-height: 38px;
}

.user-header__container {
	height: 256px;
}

.user-header__banner::before {
	content: '';
	position: absolute;
	background: rgba(0, 0, 0, 0.2);
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	background: -o-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	background: -moz-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	background: linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	background: -ms-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	margin: 0 -86px;
	top: 50%;
	left: 0;
	right: 0;
	bottom: 0;
}

.user-header__banner {
	width: 100%;
	height: 256px;
	margin: 0 -86px;
	padding: 0 86px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.user-header__content {
	position: absolute;
	color: #fff;
	left: 0;
	right: 0;
	bottom: -40px;
}

.user-header__img-container {
	width: 124px;
	height: 124px;
	position: relative;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 50%;
	border: solid 4px #fff;
	overflow: hidden;
	background-color: #fff;
	text-align: center;
	z-index: 20;
}

.user-header__img {
	width: 100%;
	height: 100%;
	background-color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.user-header__img-container .icon--profile {
	color: #757575;
	font-size: 8rem;
	vertical-align: -32px;
}

.user-header__name {
	width: 100%;
	padding: 0 16px;
	font-size: 1.8rem;
	font-weight: bold;
}

.user-header__btn {
	vertical-align: bottom;
	padding-bottom: 60px;
	position: relative;
	z-index: 20;
}

.user-header__btn:nth-of-type(n + 2) {
	padding-left: 16px;
}

.user-header__btn .btn__text {
	margin: 0 20px;
}

/* for fixed header */
.user-header__container--fixed {
	height: 56px;
	position: fixed;
	margin: 0;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
	z-index: 20;
}

.user-header__container--fixed::before {
	content: '';
	position: absolute;
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	background: -o-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	background: -moz-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	background: linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
	margin: 0 -72px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}

.user-header__container--fixed .user-header__banner {
	height: 56px;
}

.user-header__container--fixed .user-header__banner::before {
	content: none;
}

.user-header__container--fixed .user-header__content {
	width: 948px;
	margin: 0 auto;
	bottom: 10px;
}

.user-header__container--fixed .user-header__img-container {
	width: 36px;
	height: 32px;
	border: solid 2px #fff;
	border-radius: 50%;
	overflow: hidden;
}

.user-header__container--fixed .user-header__img-container .icon--profile {
	color: #757575;
	font-size: 3rem;
	vertical-align: -8px;
}

.user-header__container--fixed .user-header__img {
	width: 32px;
	height: 32px;
	max-height: 32px;
}

.user-header__container--fixed .user-header__name {
	visibility: visible;
}

.user-header__container--fixed .user-header__btn {
	vertical-align: middle;
	padding: 0;
}

.user-header__container--fixed .user-header__btn:nth-of-type(n + 3) {
	padding-left: 16px;
}

.user-header__container--fixed .btn {
	height: 32px;
	line-height: 28px;
}
