/* Responsive design */
@media screen and (max-width: 720px) {
	body
	{
		padding: 0 !important;
		min-width: 200px !important;
		max-width: 720px;
	}
	#wrapper, div#wrapper, #admin_content
	{
		width: 100% !important;
		min-width: 240px !important;
		max-width: 720px !important;
	}
	
	.coverphoto-container, .coverphoto-container, .coverphoto-photo-container, .coverphoto, .coverphoto img{
		height: auto;
	}
	
	.profile_name
	{
		width: 300px !important;
	}
	
	.sp_not_mobile{
		display: none !important;
	}
	
	.sp_mobile{
		display: block !important;
	}
}

@media screen and (min-width: 240px) and (max-width: 640px) {
	.profile_detailed_info{
		width: 100%;
	}
	#basicinfo
	{
		width: 100%;
	}
	#detailedinfo
	{
		width: 100%;
		margin-top: 20px;
	}
	body
	{
		min-width: 240px !important;
	}
	
	.profile_header_actions{
		display: none;
	}
	
	.profile_below_actions{
		text-align: center;
		display: block !important;
		margin-bottom: 20px;
	}
	
	.profile_name
	{
		width: 200px !important;
	}
}

@media screen and (max-width: 640px) {
	body
	{
		padding: 0 !important;
		min-width: 200px !important;
		max-width: 720px;
	}
	#wrapper, div#wrapper, #admin_content
	{
		width: 100% !important;
		min-width: 240px !important;
		max-width: 720px !important;
	}
	
	.coverphoto-container, .coverphoto-container, .coverphoto-photo-container, .coverphoto, .coverphoto img{
		height: auto;
	}
	
	.friend_block
	{
		width: 33% !important;
	}
}

.profile_below_actions{
	display: none;
}

/* Our own styles */
.friend_block > a > img
{
	width: 80px;
	height: 80px;
}
.profile_visitor
{
	float: left;
	width: 33%;
	text-align: center;
}
.no_margins
{
	margin: 0 !important;
}
.no_vertical_margins{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.social_profile_avatar
{
	float: left;
	margin-right: 20px;
}

.social_profile_name
{
	font-size: 14pt;
	font-weight: normal;
	margin-bottom: 10px;
}

.social_profile_online
{
	color: green;
}

.social_profile_offline
{
	color: red;
}

.social_profile_left_sidebar
{
	float: left;
	width: 25%;
	margin-right: 5%;
}

.social_profile_summary_block
{
	float: none !important;
	width: 100% !important;
	font-size: 10px;
}

.social_profile_right_bar
{
	float: right;
	width: 70%;
}

.social_profile_miniavatar
{
	max-width: 30px;
	max-height: 30px;
}

.social_profile_avatar
{
	margin-right: 5px;
}

.social_profile_div_list
{
	margin-bottom: 10px;
}

.nodisplay_comment
{
	display: none;
}
#comments, .replies_container
{
	display: flex;
    flex-wrap: wrap;
}
.replies_container .reply_row
{
	flex-basis: 100%;
}
#comment_loader
{
	display: none;
	float: right;
	margin: 6px 0 0 0;
}
#comment_success, #comment_error
{
	float: right;
	display: none;
	margin: 6px 0 0 0; 
}

#main_admsection #profile_comments
{
	width: 100%;
}
#show_reply_button
{
	position: relative;
	float: right;
	padding: 6px;
	margin: 3px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#show_reply_button img
{
	position: relative;
	top: 3px;
}
	
#input_title, .modify_title
{
	display: block;
	width: 98%;
	margin: 2px auto;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#input_body, .modify_body
{
	display: block;
	width: 90%;
	height: 7em;
	margin: 2px auto;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 5px;
}
.reply_body
{
	display: block;
	width: 80%;
	height: 7em;
	margin: 2px 0px 2px auto;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 5px;
}
#input_submit, #input_cancel, .modify_submit, .modify_cancel
{
	display: block;
	float: right;
	padding: 6px;
	margin: 5px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#input_submit {
	padding: 2px 6px;
}
#input_submit:hover, #input_cancel:hover, .modify_submit:hover, .modify_cancel:hover
{
	text-decoration: none;
}
.replies_container{
	margin-left: 50px;
}
.new_comment_submit{
	  display: block;
	  float: right;
	  padding: 6px;
	  margin: 5px;
	  -moz-border-radius: 4px;
	  -webkit-border-radius: 4px;
	  border-radius: 4px;
	  margin-bottom: 10px;
	  background: #cde7ff url(../images/theme/submit_bg.png) no-repeat;
	  border: 1px solid #aaa;
	  cursor: pointer;
	  font-weight: normal;
}

.comment_container
{
	margin: 5px 0 0 0;
	flex-basis: 100%;
}

.social_profile_btn{
	color: #fff !important;
	background-color: #3498db;
	border-color: #3498db;
	display: inline-block;
	padding: 10px 15px;
	margin-bottom: 0;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.428571429;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
.social_profile_btn_red{
	color: #fff !important;
	background-color: #e74c3c;
	border-color: #e74c3c;
	display: inline-block;
	padding: 10px 15px;
	margin-bottom: 0;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.428571429;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.comment_user_info
{
	width: 7em;
	float: left;
	text-align: center;
}
.comment_user_info img
{
	max-width: 68%;
}
.comment_avatar
{
	display: block;
	margin: 6px auto 0 auto;
	max-width: 55px;
	max-height: 55px;
}

.comment_body
{
	margin: 0 0 0 7em;
	padding: 5px;
	min-height: 80px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}
.friend_row{
	float:left;
	width: 50%;
}
.friend_block{
	float: left;
	width: 16.5%;
	text-align: center;
}
.comment_delete, .comment_modify
{
	float: right;
	margin: 0 2px;
}

.social_profile_miniavatar
{
	width: 20px;
	height: 20px;
}

.social_profile_mediumavatar
{
	width: 50px;
	height: 50px;
}

.social_profile_friend
{
	width: 10%;
	margin: 0 2%;
	text-align: center;
	float: left;
}

.social_profile_friend:hover
{
	text-decoration: none;
}

.socialfriend
{
	width: 45%;
	float: left;
	margin-right: 4%;
}

.socialfriend_avatar
{
	float: left;
	margin-right: 10px;
	vertical-align: middle;
}

.social_profile_date
{
	float: right;
	color: #bdbdbd;
	margin-bottom: 10px;
}

.social_profile_replies
{
	width: 80%;
	margin-left: auto;
}

.dropmenu li ul
{
	z-index: 9999;
}

.comment_user_info > h2, .comment_user_info > h5
{
	font-size: 14px;
	font-weight: bold;
	width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.profile_visitor a, .friend_block a
{
	width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}

.profile_name
{
	width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}

/* Tabs */
.responsive-tabs__heading { display: none;}
.responsive-tabs__list__item { display: inline; cursor:pointer;}

.responsive-tabs-wrapper { 
	clear: both;
	zoom: 1; 
}
.responsive-tabs-wrapper:before,
.responsive-tabs-wrapper:after {
    content: "";
    display: table;
} 
.responsive-tabs-wrapper:after {
    clear: both;
}

.responsive-tabs__heading:focus,
.responsive-tabs__list__item:focus { outline: 1px solid #ccc;  }

.responsive-tabs__heading--active:focus,
.responsive-tabs__list__item--active:focus { outline: none !important;}

.responsive-tabs__list { font-size: 1.2em; margin: 0 0 0 0; padding: 0;border-bottom: 1px solid #ddd; line-height: 1em; display: flex;}
.responsive-tabs__list__item { background: #eee; padding: 5px 5px;  margin-right: 0.5em; border-top-left-radius: 5px; border-top-right-radius: 5px;border: 1px solid #ddd; }
.responsive-tabs__list__item:hover {background: #efefef }
.responsive-tabs__list__item--active, 
.responsive-tabs__list__item--active:hover {  background: #fff; border-bottom-color: #fff;}

.responsive-tabs__panel { margin-bottom: 50px;}

@media (max-width: 767px) {
	.responsive-tabs__list { display: none;}
	.responsive-tabs__heading { display: block; cursor: pointer; }
	.responsive-tabs__panel--closed-accordion-only { display: none;}
}

@media (min-width: 768px) {
	.responsive-tabs__panel--closed-accordion-only { display: block !important;}
}

@media (max-width: 767px) {
	.responsive-tabs__heading { 
		padding: 0.5em; border-radius: 5px; border: 1px solid #ccc; box-shadow: 0px 2px 3px rgba(0,0,0,0.4);
		background: #ddd;
		position: relative;
	}

	.responsive-tabs__heading:after {
		content:"";
		display: block;
		position: absolute;
		right: 20px;
		top: 40%;
		width: 0; 
		height: 0; 
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-top: 10px solid #000;
	}
	.responsive-tabs__heading:hover,
	.responsive-tabs__heading--active:hover { background-color: #efefef}
	.responsive-tabs__heading--active { background: #fff;}
	.responsive-tabs__heading--active:after {
		border-bottom: 10px solid #000;
		border-top:0;
	 }
}

/* Slimbox */
#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}

.lbLoading {
	background: #fff url('../images/socialprofile/slimbox/loading.gif') no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: 0;
}

#lbPrevLink:hover {
	background: transparent url('../images/socialprofile/slimbox/prevlabel.gif') no-repeat 0 15%;
}

#lbNextLink {
	right: 0;
}

#lbNextLink:hover {
	background: transparent url('../images/socialprofile/slimbox/nextlabel.gif') no-repeat 100% 15%;
}

#lbBottom {
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url('../images/socialprofile/slimbox/closelabel.gif') no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
}

/* Cover Photo */
.coverphoto-container {
  position: relative;
  font: 12px "Helvetica";
  width: 100%;
  height: 100%;
  max-width: 800px;
  margin-bottom: 50px;
}
.coverphoto-container canvas {
  position: absolute;
  display: none;
  z-index: 101;
}
.coverphoto-container .coverphoto-photo-container {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 800px;
  overflow: hidden;
}
.coverphoto-container .coverphoto-form {
  display: none;
}
.coverphoto-container .actions {
  position: absolute;
  width: 200px;
  top: 165px;
  right: 10px;
  z-index: 4;
}
.coverphoto-container .actions .chooser {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 5;
}
.coverphoto-container .actions .chooser ul,
.coverphoto-container .actions .chooser li {
  margin: 0;
  padding: 0;
}
.coverphoto-container .actions .chooser a {
  display: block;
  width: 180px;
  height: 100%;
  text-decoration: none;
  padding: 5px 10px;
  color: #fff;
}
.coverphoto-container .actions .chooser .item {
  display: block;
  background-color: #4261b8;
}
.coverphoto-container .actions .chooser .item:hover {
  background-color: #657fc8;
}
.coverphoto-container .actions .chooser .sub-menu {
  display: none;
}
.coverphoto-container .actions .edit {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 6;
}
.coverphoto-container .actions .edit ul,
.coverphoto-container .actions .edit li {
  margin: 0;
  padding: 0;
}
.coverphoto-container .actions .edit .item {
  background-color: #4261b8;
  width: 80px;
  float: left;
}
.coverphoto-container .actions .edit .item a {
  display: block;
  width: 70px;
  height: 100%;
  text-decoration: none;
  padding: 5px 10px;
  color: #fff;
}
.coverphoto-container .actions .edit .item:hover {
  background-color: #657fc8;
}
.coverphoto-container .actions .edit .save {
  margin-left: 20px;
  width: 100px;
}

.coverphoto
{
	width: 100%;
	height: 200px;
	max-width: 800px;
	margin: 10px auto 30px auto;
	border: 1px solid black;
}

.coverphoto img
{
	width: 100%;
	height: 200px;
	max-width: 800px;
}

.basic_profile_info{
	position: absolute !important;
	z-index: 1;
	bottom: 5px;
	left: 10px;
}
.profile_header{
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}
.text_in_profile_cover {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.custom_fields_below_avatar {
	position: absolute;
	bottom: 0rem;
}
.profile_name {
	position: relative;
	left: 110px;
	bottom: 10px;
}
.profile_group_info{
	position: relative;
	left: 110px;
	bottom: 10px;
}
.profile_header_actions{
	position: absolute;
	right: 30px;
	bottom: 10px;
	z-index: 10;
}
.basic_profile_info .avatar{
	position: absolute;
	left: 0px;
	bottom: 0px;
}
.comment_action_bar{
	margin: 20px 0px;
}
.social_profile_content {
	padding: 0.5em 1.2em;
    margin: 0;
    border: none;
}
.social_profile_content dt {
	float: left;
	clear: both;
}

/* Tab Content - menucool.com */
ul.tabs
{
    padding: 7px 0;
    margin:0;
    font-size: 0;
    list-style-type: none;
    text-align: left; /*set to left, center, or right to align the tabs as desired*/
    padding-left:20px; /* Offset of the first tab */
}
        
ul.tabs li
{
    display: inline;
    margin: 0;/*no distance between tabs*/
    background: White;
    margin-left: -4px;
}
        
ul.tabs li a
{
    font: normal 12px Verdana;
    text-decoration: none;
    position: relative;
    padding: 7px 22px;
    color: #000;
    outline:none;
    background: #F6F6F9;
    border:1px solid #CCC;
    border-right:0;
}

/*Note: IE8 and earlier doesn't support li:last-child. You have to add another class to the last tab (LI) and specify its border-right as below.*/
ul.tabs li:last-child a
{
    border-right:1px solid #CCC;
}
  
        
ul.tabs li a:hover
{
    color: #000;
    background: white;
}
        
ul.tabs li.selected a, ul.tabs li.selected a:hover
{
    top: 0px;
    font-weight:normal;
    background: #FFF;
    border-bottom: 1px solid #FFF;
    color: #000;
}
        
        
ul.tabs li.selected a:hover
{
    text-decoration: none;
}

div.tabcontents
{
    border-top: 1px solid #CCC; padding: 30px 10px;
}

.sp_not_mobile{
	display: block;
}
	
.sp_mobile{
	display: none;
}

.social_profile_view_more{
	text-align: center;
    background-color: #f1f0f0;
    border-radius: 10px;
    margin-top: 20px;
}
.characters_left_container
{
	width: 90%;
    padding: 5px;
    margin: 0px auto;
    padding: 5px;
}
.initial_height
{
	height: initial;
}