.avatar {
    border-radius: 8px;
    margin: 20px 0;
}

.userEdit{
    margin-top:15px
}

#profile-header{
    background:#eee;
}
  
#profile-match{
    background:#fff;
}

#profile-match-nav{
    background:#eee;
    border-bottom: 1px solid #7D0000;
}

.tabnav-tabs { 
    list-style:none;
    padding:0;
    display: block;
    font-weight:normal;
}
.tabnav-tabs li { 
    float: left;
    padding:5px 10px;
    cursor:pointer;
}
.selected { 
    background:white;
    border: 1px solid #7D0000;
    border-bottom: 1px solid #ffffff;
    margin-bottom: -1px;
    padding-top:6px;
}
.stat-count{
    font-size:28px;
    font-weight:bold;
}
/* Reset results_counter margin-top and top values. These were initially specified in match.css which messes with the styling of this element on this page */
#results_counter{
    margin-top:0;
}
/* Reset the result_container's margin and top properties */
#results_container {
    display:block;
    margin-top:0;
    top:0;
}
/* Save Form */
#save_form {
    width:100%;
    font-weight:700;
    padding:0;
    margin:0;
}
#save_form > #user_name {
    margin-top:0.5em;
}
#main_drop_down a:hover {
    color:#fff;
}
input {
	line-height: normal;
	background: #eee;
	line-height: inherit;
	height: 24px;
	padding: 2px;
	border: none;
	border-bottom: 1px solid #7D0000;
	outline: none;
}
*,*:after,*:before {
	box-sizing: border-box;
}

@mixin basefont {
	font-family: sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #555;
	-webkit-font-smoothing: antialiased;
}

body {
	@include basefont;
	background-color: #d1d2d3;
}


h1 {
	margin: 0 0 16px 0;
}

#Form {
	background-color: white;
	padding: 20px;
	max-width: 400px;
	margin: 100px auto;
	overflow: hidden;
	box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
}

button {
	border: none;
	background-color: #ccc;
	height: 24px;

}

.right {
	float: right;
}

.input-container label {
		position: absolute;
		top: 14px;
		left: 4px;
		color: #aaa;
		transition: all 0.2s;
		cursor: text;
		font-family: sans-serif;
		font-size: 16px;
		line-height: 24px;
}
.input-container input {
		height: 24px;
		padding: 2px;
		border: none;
		border-bottom: 1px solid #ccc;

		@include basefont;

		outline: none;
		width: 100%;
}
.input-container input:focus, .input-container input.filled {
		border-bottom: 1px solid #aaa;
}
.input-container input:focus + label {
		font-size: 11px;
		line-height: 12px;
		top: 0px;
		color: #777;
}
.input-container input.filled + label {
		font-size: 11px;
		line-height: 12px;
		top: 0px;
		color: #777;
}
.input-container {
	margin: 0;
	margin-bottom: 5px;
	padding-top: 12px;
	position: relative;
}
.input-container select {
	max-width:200px;
}
.profile_image {
    position: relative;
    height: 200px;
    border: 5px solid #7D0000;  <-- THIS STYLE WHEN EDIT
    border: 1px solid #7D0000;  <--- USE THIS STYLE WHEN not edit
    border-radius: 12px;
    width: 200px;
    background: #fff;
    margin: 25px auto 25px;
}
.profile_image * {
    border-radius:0;
}
.profile-image-overlay {
    background: #000;
    opacity: 0.5;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    box-sizing: border-box;
}
.edit-mode-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    outline: 0;
    box-sizing: border-box;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.userEdit > button {
	width:200px;
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #C8C8C8),
	color-stop(1, #FFFFFF)
);
background-image: -o-linear-gradient(bottom, #C8C8C8 0%, #FFFFFF 100%);
background-image: -moz-linear-gradient(bottom, #C8C8C8 0%, #FFFFFF 100%);
background-image: -webkit-linear-gradient(bottom, #C8C8C8 0%, #FFFFFF 100%);
background-image: -ms-linear-gradient(bottom, #C8C8C8 0%, #FFFFFF 100%);
background-image: linear-gradient(to bottom, #C8C8C8 0%, #FFFFFF 100%);
	border:1px solid #aaa;
}
.error {
    border: 1px solid #ff0000 !important;
}