body.tpl-dashboard-details {
	background-color: #F0F1F6;
}

body.tpl-user-dashboard {
	background-color: #f2f3f6;
}

body.tpl-dashboard-details .container,
body.tpl-user-dashboard .container, 
body.contribution-tpl .container {
	max-width: 100%;
}

#dashboard-nav-wrapper {
	margin: 20px 0;
	background: #FFF;
}

#dashboard-nav ul {
	margin: 0;
	list-style: none;
	list-style-type: none;
}

#dashboard-nav ul li {
	display: inline-block;
}

#dashboard-nav ul li.vr a {
	padding-right: 13px;
	margin-right: 3px;
	border-right: 1px solid #535959;
}

#dashboard-nav ul li a {
	display: inline-block;
	padding: 5px 10px;
	margin: 5px 0;
	color: #535959;
	font-size: 12px;
	font-weight: 600;
}

#dashboard-nav ul li.current-menu-item a {
	color: #e94f0b;
}

#user-dashboard {
	margin: 0 auto;
	max-width: 1030px;
}

.dashboard-details-container {
	margin: 0 auto;
	max-width: 680px;
}

.dashboard-details-container .listed-article-wrapper,
.dashboard-details-container .listed-article-wrapper .article-linear {
	max-width: 680px;
}

.profile-box {
	margin: 10px 0;
	padding: 15px;
	background: #FFF;
}

#user-profile-wrapper h2 .logout-link {
	float: right;
	color: #FFF;
	font-size: 11px;
}

.profile-image {
	height: 150px;
	width: 150px;
	border-radius: 100px;
	border: 5px solid #DDD;
	background-color: #EEE;
	margin: 0px 20px 0 40px;
	cursor: pointer;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	float: left;
	overflow: hidden;
}

.dashboard-welcome .profile-image.no-image {
	border: 0px;
}

.profile-box .profile-image i {
	display: block;
	width: 30px;
	height: 30px;
	margin: 60px auto 0;
	font-size: 30px;
	display: none;
}

.dashboard-welcome .profile-image a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.profile-data {
	width: calc(100% - 210px);
	float: right;
	margin: 15px 0 0 0;
	padding: 0 30px 0 20px;
	position: relative;
}

.profile-image.no-image {
	background-size: contain;
	border: 0px;
}

.profile-image .edit-icon {
	display: block;
	position: absolute;
	left: 0;
	bottom: 30px;
	width: 40%;
	height: 30px;
	background-color: rgba(0,0,0,0.3);
}

.profile-image .edit-icon:after {
	content: "\f030";
	font-family: "FontAwesome";
	display: block;
	width: 20px;
	height: 20px;
	font-size: 20px;
	color: #EEE;
	position: absolute;
	right: 10px;
	top: 5px;
}

.profile-image.no-image .edit-icon {
	display: none;
}

input.profile-update {
	display: block;
	width: 100%;
	margin: 0 0 10px;;
	text-align: left;
	clear: both;
	border: 1px solid #e2eaec;
	padding: 0 5px;
}

input.profile-update:focus {
	border: 1px solid #a8b5b8;
	background-color: #FAFAFA;
}

.profile-input-wrapper {
	position: relative;
	margin: 0 auto;
}

.obvi-edit {
	display: inline-block;
	padding: 10px 20px;
	color: #a8b6b8;
	border: 1px solid #c6d1d3;
	background: #f9fafa;
	font-size: 11px;
	line-height: 11px;
	position: absolute;
	right: 30px;
	bottom: -40px;
	cursor: pointer;
}

.obvi-edit.active {
	color: #EAA95C;
	border: 1px solid #EAA95C;
	background: #FFF;
	cursor: pointer;
}

input#profile_name {
	font-size: 21px;
	line-height: 34px;
	height: 34px;
	font-family: "Libre Baskerville";
}

input#profile_email {
	font-size: 14px;
	line-height: 14px;
	height: 30px;
}

.bio-wrapper {
	margin: 0px auto 20px;
	width: 96%;
	max-width: 560px;
}

.bio-readable {
	font-size: 24px; 
	line-height: 36px;
	margin: 0px 0 20px;
}

.bio-readable p {
	color: #000000; 
	font-family: "Open Sans"; 
	font-size: 18px; 
	line-height: 28px; 
	font-weight: 300;
}

input[name='savebio'] {
	display: block;
	width: 100%;
	text-align: center;
	border: 1px solid #EAA95C;
	color: #EAA95C;
	text-transform: uppercase;
	padding: 15px 20px;
	background: #FFF;
	cursor: pointer;
}

input[name='savebio']:hover {
	background: #EAA95C;
	color: #FFF;
	transition: 300ms;
}

.bio-wrapper {
	position: relative;
	padding: 15px;
}

.bio-wrapper .loading {
	display: none;
}

.bio-wrapper.loading .loading {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.15);
	text-align: center;
	padding: 20px 0 0;
}

.bio-wrapper .loading i {
	color: #FFF;
}

.password-change-wrapper {
	background: #FFF;
	padding: 10px 40px;
	margin: 10px 0 20px;
}

.password-change-wrapper h4 {
	color: #EAA95C;
	font-weight: bold;
}

.password-change-wrapper .update-password-errors {
	color: red;
	margin-left: 30px;
	font-size: 12px;
	font-weight: normal;
}

.password-change-wrapper .update-password-errors.success {
	color: green;
}

.password-change-wrapper input[type="text"],
.password-change-wrapper input[type="password"] {
	display: block;
	width: 100%;
	border: 1px solid #CCC;
	background: #EEE;
	height: 40px;
	margin: 0 0 20px;
	font-size: 20px;
	line-height: 40px;
	padding: 0 10px;
}

.password-change-wrapper input.invalid {
	border-color: red;
}

.password-change-wrapper label {
	color: #999;
	font-size: 13px;
	line-height: 20px;
}

input[name='update_password'] {
	display: inline-block;
	border: 1px solid #EAA95C;
	color: #EAA95C;
	background: #FFF;
	text-transform: uppercase;
	padding: 15px 20px;
	cursor: pointer;
}

input[name='update_password']:hover {
	background: #EAA95C;
	color: #FFF;
	transition: 300ms;
}

body.ej-page-user-dashboard #account-subscriptions {
	background: #FFF;
	padding: 40px;
}

#user-dashboard h2 {
	background: #EA9641;
	color: #FFF;
	text-transform: uppercase;
	padding: 10px 20px;
	font-weight: bold;
	font-size: 18px;
	line-height: 18px;
}

.dashboard-welcome {
	background: #FFF;
}

.welcome-message {
	margin: 20px 0 20px 75px;
	position: relative;
	text-align: left;
}

.dashboard-welcome .profile-image {
	width: 100px;
	height: 100px;
	border-radius: 50px;
	border: 5px solid #DDD;
	background-color: #EEE;
	display: inline-block;
	margin: 30px 10px 30px 0px;
}

.dashboard-welcome span.welcome {
	line-height: 140px;
	margin: 0px;
	font-family: "Libre Baskerville";
	font-size: 40px;
	font-weight: bold;
	vertical-align: top;
}

.dashboard-welcome .edit {
	display: inline-block;
	margin-left: 10px;
	font-size: 11px;
	text-transform: uppercase;
	position: absolute;
	left: 100px;
	top: 91px;
}

.dashboard-blocks {
	padding: 0;
	margin: 20px 0;
}

.dashboard-block {
	width: 31.25%;
	margin: 0 1.5% 20px;
	padding: 0 30px;
	float: left;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	background: #FFF;
	text-align: center;
	min-height: 235px;
}

.dashboard-block.first {
	margin-left: 0;
}

.dashboard-block.last {
	margin-right: 0;
}

.dashboard-block .icon {
	width: 40px;
	height: 40px;
	margin: 30px auto 5px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.dashboard-block h3 {
	text-transform: uppercase;
	font-size: 18px;
	line-height: 20px;
	color: #e5502c;
	font-weight: bold;
	margin: 0 0 5px;
	padding: 0;
}

.dashboard-block p {
	font-size: 13px;
	line-height: 17px;
	margin: 0;
	color: #333;
}

.dashboard-block a {
	display: inline-block;
	margin: 10px auto 20px;
	padding: 10px 15px;
	background: #F3BC58;
	border: 1px solid #F3BC58;
	color: #FFF;
	font-size: 12px;
	line-height: 12px;
	font-weight: bold;
	text-transform: uppercase;
}

.dashboard-block a:hover {
	background: #FFF;
	border: 1px solid #F3BC58;
	color: #F3BC58;
	text-decoration: none;
}

.dashboard-quote {
	background: #fff5d2;
	padding: 40px;
	width: 31.25%;
	margin: 0 0 20px 1.5%;
	float: left;
	min-height: 235px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.dashboard-quote p.quote {
	font-family: "Libre Baskerville";
	font-style: italic;
	font-size: 15px;
	line-height: 20px;
	text-align: center;
}

.dashboard-quote span.quote-author {
	font-size: 16px;
	line-height: 17px;
	display: block;
	text-align: center;
}

.dashboard-block.heart-block .icon {
	background-image: url('/wp-content/themes/elephant_eco/images/eco-heart-icon.png');
}
.dashboard-block.share-block .icon {
	background-image: url('images/share-red.png');
}
.dashboard-block.read-block .icon {
	width: 60px;
	background-size: 100% auto;
	background-image: url('/wp-content/themes/elephant_eco/images/eco-reads-icon.png');
}
.dashboard-block.following-block .icon {
	background-image: url('/wp-content/themes/elephant_eco/images/eco-author.png');
}
.dashboard-block.comment-block .icon {
	background-image: url('images/comment-red.png');
}
.dashboard-block.write-block .icon {
	background-image: url('images/writings.png');
}

.dashboard-block.first {
	clear: left;
}

.dashboard-block.empty .icon {
	-moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	-o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	-webkit-filter: grayscale(100%);
	filter: gray;
}

.dashboard-block.empty h3 {
	color: #c2c2c2;
}

#user-dashboard h2.account {
	background: #EBB958;
}

.account-blocks {
	padding: 0px;
	background: transparent;
	margin: 20px 0;
}

.account-block {
	min-height: 120px;
	position: relative;
}

.profile-block {
	margin-left: 0;
}

.payment-method-block {
	margin-right: 0;
}

.account-block a,
.account-block a:hover {
	position: absolute;
	z-index: 5;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: transparent;
	border: 0px;
}

.account-block .icon {
	width: 40px;
	height: 40px;
	margin: 20px auto 5px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.account-block.profile-block .icon {
	background-image: url('images/profile-account.png');
}
.account-block.subscription-block .icon {
	width: 50px;
	background-size: 100% auto;
	background-image: url('images/subscription.png');
}
.account-block.payment-method-block .icon {
	background-image: url('images/credit.png');
}

#dashboard-nav {
	position: relative;
	height: 40px;
	width: 100%;
	overflow-y: auto;
}
#dashboard-nav {
	height: 40px;
	padding-left: 20px;
	padding-right: 20px;
}
#dashboard-nav ul {
	white-space: nowrap;
	text-align: center;
}
#dashboard-nav::-webkit-scrollbar {
    width: 0px;
	height: 0px;
    background: transparent; /* make scrollbar transparent */
}

.user-posts-by-score {
	float: right;
	color: #ea973e;
	font-size: 11px;
	line-height: 20px;
	text-decoration: none;
	text-transform: none;
	margin-top: 0px;
	display: inline-block;
	padding: 5px 10px;
	border: 1px solid #FFF;
	border-radius: 3px;
	background: #FFF;
	transition: 300ms;
}

.user-posts-by-score:hover {
	color: #FFF;
	background: #ea973e;
	text-decoration: none;
	transition: 300ms;
}

.user-posts-by-score i {
	color: #ea973e;
}

.user-posts-by-score:hover i {
	color: #FFF;
}

.loadmore-dash, .loadmore-dash:hover {
	display: block;
	background: #CCC;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	padding: 20px 0;
	font-size: 16px;
	line-height: 16px;
	text-transform: uppercase;
	font-weight: bold;
	margin: 5px 0 10px;
}

#email-preferences-wrapper .overlay-wrapper {
	position: relative;
	padding: 2px;
}

#email-preferences-wrapper .overlay-wrapper.on:before {
	display: block;
	content: " ";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.65);
	z-index: 11;
}

#email-preferences-wrapper {
	position: relative;
}

#email-preferences-wrapper.on:before {
	display: block;
	content: " ";
	position: absolute;
	top: 50px;
	left: 0;
	width: 100%;
	height: calc(100% - 50px);
	background: rgba(255,255,255,0.65);
}

#email-preferences-wrapper .profile-box {
	padding-bottom: 20px;
}

#email-preferences-wrapper h3 {
	border-bottom: 1px solid #666;
	font-size: 16px;
	line-height: 19px;
	font-weight: bold;
	margin: 10px 0 10px;
	color: #333;
}

#email-preferences-wrapper .largelabel,
#email-preferences-wrapper span.all {
	display: inline-block;
	font-size: 16px;
	line-height: 26px;
	font-weight: bold;
	color: #333;
}

#email-preferences-wrapper input[type="checkbox"],
#email-preferences-wrapper input[type="radio"] {
	margin: 0 10px 0 0;
}

#email-preferences-wrapper input[type="checkbox"] {
	position: relative;
	top: -2px;
}

#email-preferences-wrapper label {
	font-size: 14px;
	line-height: 14px;
	margin: 0 0 5px;
}

.onoffswitch {
    position: relative; 
	width: 65px;
	float: left;
	margin-right: 10px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #FFFFFF; border-radius: 21px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 23px; padding: 0; line-height: 23px;
    font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #008CFF; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; 
	width: 19px; 
	height: 19px;
	margin: 4px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 38px;
    border: 2px solid #FFFFFF; border-radius: 21px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}
.slug-wrapper {
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #EEE;
}
.slug-wrapper span {
	font-size: 12px;
	line-height: 20px;
}
.slug-wrapper p {
	font-size: 14px;
	line-height: 20px;
}
.slug-wrapper p.slugerrors {
	font-size: 12px;
	line-height: 16px;
	color: red;
}
#user_slug {
	border: 1px solid #EEE;
	height: 20px;
	line-height: 20px;
	padding: 0 5px;
}
#saveslug {
	display: inline-block;
	background: #EAA95C;
	color: #FFF;
	text-align: center;
	border: 1px solid #EAA95C;
	text-transform: uppercase;
	padding: 0px 10px;
	margin-right: 10px;
	height: 20px;
	line-height: 20px;
	cursor: pointer;
}
#saveslug.disabled {
	background: #AAA;
	border: 1px solid #AAA;
	opacity: 0.8;
}
.slug-wrapper i.fa-spin {
	position: absolute;
	top: 5px;
}

@media screen and (max-width: 768px){
	#user-dashboard .sub-container,
	.dashboard-details-container .sub-container {
		padding: 0;
	}
	body.tpl-dashboard-details,
	body.tpl-user-dashboard {
		background-color: #e2e3e7;
	}
	
	.dashboard-block {
		width: 100%;
		box-shadow: 0 2px 4px rgba(0,0,0,0.2);
		margin: 0 0 10px;
		min-height: 0;
		position: relative;
	}
	.dashboard-welcome .edit {
		line-height: 14px;
		text-align: left;
		position: relative;
		top: -45px;
		left: 10px;
	}
	.welcome-message {
		padding: 15px 40px;
		margin: 20px auto;
		text-align: left;
	}
	.dashboard-welcome span.welcome {
		line-height: 115px;
		font-size: 20px;
		margin: 0 0 0 20px;
		vertical-align: top;
	}
	.dashboard-welcome .profile-image {
		float: none;
		margin: 0 auto;
		display: block;
	}
	.dashboard-welcome span.welcome {
		display: block;
		float: none;
		line-height: 24px;
		text-align: center;
		margin: 5px 0;
	}
	.dashboard-welcome a.edit {
		display: block;
		float: none;
		line-height: 11px;
		text-align: center;
		position: static;
		margin: 0;
	}
	#user-dashboard .sub-container > p {
		margin: 20px;
		border: 5px solid #DEDEDE;
		background: #FFF;
		padding: 15px;
		text-align: left; 
		font-size: 16px; 
		line-height: 21px;
	}
	.dashboard-blocks,
	.account-blocks {
		background: transparent;
		padding: 0;
	}
	.dashboard-block .icon {
		float: left;
		width: 20%;
		height: 100%;
		margin: 0px 5% 0 0px;
		padding: 50px 0 0;
		background-position: center;
		position: absolute;
		background-size: auto 40%;
	}
	.dashboard-block .dashboard-copy {
		float: right;
		width: 70%;
		text-align: left;
	} 
	.dashboard-block .dashboard-copy h3 {
		margin: 25px 0 0;
		color: #d75933;
	}
	.dashboard-block.empty h3 {
	    color: #c2c2c2;
	}
	.dashboard-block .dashboard-copy p {
		font-size: 11px;
		line-height: 14px;
		text-align: left;
	}
	.dashboard-block .dashboard-copy a {
		background: transparent;
		border: 0px;
		text-align: left;
		color: #F3BC58;
		margin: 0 0 25px;
		padding: 0;
		font-weight: normal;
		text-decoration: underline;
	}
	.dashboard-quote {
		display: none;
	}
	.account-block {
		min-height: 80px;
	}
	.account-block h3 {
		float: right;
		width: 70%;
		margin-top: 30px;
		text-align: left;
	}
	
	/*profile page*/
	.bio-wrapper {
		padding: 15px 0;
	}
	.dashboard-details-container h2.list-title {
		border: 0px;
		text-align: left;
	}
	.dashboard-details-container .profile-image {
		height: 150px;
		width: 150px;
		border-radius: 75px;
		border: 2px solid #DDD;
		float: none;
		margin: 0 auto;
	}
	.profile-data {
		width: 100%;
		float: none;
		margin-top: 15px;
		padding: 0;
	}
	.obvi-edit {
		right: 0px;
	}
	.profile-image .edit-icon {
		display: block;
		position: absolute;
		left: 0;
		bottom: 10px;
		width: 40%;
		height: 20px;
	}
	.profile-image .edit-icon:after {
		width: 13px;
		height: 13px;
		font-size: 13px;
		right: 3px;
	}
	input[name='savebio'] {
		display: block;
		width: 100%;
		padding: 10px 20px;
	}
	
	.password-change-wrapper {
		padding: 10px 10px 20px;
	}
	
	input[name='update_password'] {
		display: block;
		width: 100%;
		margin-top: 20px;
	}
	
	.bio-readable p {
		font-size: 18px;
		line-height: 24px;
	}
	
	.update-password-errors {
		margin-left: 0;
	}
	
	.password-change-wrapper input[type="text"], .password-change-wrapper input[type="password"] {
		margin: 0 0 10px;
	}
	#dashboard-nav-wrapper {
		position: relative;
		padding-right: 0px;
	}
	#dashboard-nav-wrapper:after {
		display: block;
		content: "\f0da";
		font-family: "FontAwesome";
		width: 60px;
		height: 100%;
		color: #AAA;
		font-size: 17px;
		position: absolute;
		text-align: right;
		padding-top: 11px;
		padding-right: 8px;
		top: 0;
		right: 0px;
		box-sizing: border-box;
		background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
	}
}