
#page-user-preferences {
	#page-content {
		.card {
			@include mb2_border_radius(.15rem);
			border: solid 1px $color_box_border;
			background-color: $color_box_bg;
			margin: 0 0 1.3rem 0;
			padding: 1rem;

			.card-body {
				background-color: transparent;
				@include mb2_box_shadow(0 0 0, rgba(255,255,255,0));
				padding: 0;
			}

			.card-text {
				> div {
					margin: .4rem 0;
				}
			}

			h4 {
				font-size: $fsbig;
				font-weight: $fwheadings2;
				background-color: rgba(0,0,0,.05);
    			padding: .3rem 1rem;
    			@include mb2_border_radius(.15rem);
				background-image: url([[pix:theme|svg/strip1_black8]]);
				border-left: solid 2px $accent1;
			}

			a {
				color: inherit;

				&:hover,
				&:focus {
					color: $linkcolor;
				}
			}
		}
	}
}

.userprofile {

	.profile_tree {

		section.node_category {
			@include mb2_border_radius(.15rem);
			border: solid 1px $color_box_border;
			background-color: $color_box_bg;
			margin: 0 0 1.3rem 0;
			padding: 1rem;

			.card-body {
				background-color: transparent;
				@include mb2_box_shadow(0 0 0, rgba(255,255,255,0));
				padding: 0;
			}

			dt {
				color: $headingscolor;
				font-weight: $fwheadings2;
			}

			h3 {
				font-size: $fsbig;
				font-weight: $fwheadings2;
				background-color: rgba(0,0,0,.05);
    			padding: .3rem 1rem;
    			@include mb2_border_radius(.15rem);
				background-image: url([[pix:theme|svg/strip1_black8]]);
				border-left: solid 2px $accent1;
			}

			a {
				color: inherit;

				&:hover,
				&:focus {
					color: $linkcolor;
				}
			}
		}
	}

}

.page-context-header {

	margin-bottom: 1rem;
	overflow: visible;
	@include clearfix();


	.userpicture,
	.page-header-image img {
		width: 5.6rem;
		@include mb2_box_shadow(0 0 0 5px, rgba(0,0,0,.05));
		@include mb2_border_radius(50%);
	}

	.page-header-image {
		margin: 0;
	}

	.userpicture {
		margin-right: .8rem;
		margin-bottom: 1rem;
	}

	.page-header-headings {
		margin-right: .8rem;
	}

	.page-header-headings,
	.page-header-image,
	.header-button-group {
        display: inline-block;
		position: relative;
		float: none;
    }

	.page-header-headings {
		top: -.3rem;
	}

	.header-button-group {
		top: .2rem;
	}

	.page-header-headings h1,
	.page-header-headings h2 {
		margin: 0;
		font-size: $fsheading3;
	}
}

#user-picture {
	img {
		@include mb2_border_radius(50%);
	}

	a {
		display: inline-block;
		vertical-align: middle;
	}
}



@media only screen and (max-width: $wmediumdevice){


	.userprofile .page-context-header {

		.userpicture,
		.page-header-image img {
			width: 3rem;
		}

		.page-header-headings h1,
		.page-header-headings h2 {
			font-size: $fsbig;
		}
	}


}
