* {
	margin: 0;
	padding: 0;
	word-break: break-word;
	word-wrap: break-word;
}
#bodyappend .wait {
	background: #000;
	opacity: 0.4;
	position:fixed;
	top:0;
	right:0;
	bottom:0;
	left:0;
	z-index:11;
}
.preload {
	opacity: 0;
}
body, input, select, textarea, button {
	font-family: arial, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #000;
    margin: 0;
}
body {
	overscroll-behavior: none;
	overflow: hidden;
	background: #E7EBF2;
}
input, select, textarea {
	padding: 5px;
}
ol, ul {
	margin-left: 20px;
}
.pagebg {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	overscroll-behavior: none;
}
.header {
	position: relative;
	z-index: 13;
}
.header .container_block_top {
	border-style: none;
	border-top: solid 1px #d0d0d0;
	border-bottom: solid 2px #d0d0d0;
	background: linear-gradient(to bottom, #FDFFFF, #ECF2F4);
	width: 100%;
}
.header .block_top {
	text-align: right;
	width: 100%;
    margin: 0 auto;
    font-size: 16px;
    color: #333;
}
.header .block_top span:last-child {
	padding-right: 10px;
}
.header .container_block_bottom {
	border-style: none;
	background: linear-gradient(to bottom, #83acd1, #4477a1);
}
.header .block_bottom {
	text-align: left;
	width: 100%;
    margin: 0 auto;
    display: flex;
	justify-content: space-between;
	align-items: center;
}
.header .block_bottom a {
    display: inline-block;
}
.header .block_bottom img {
    margin: 5px 0 5px 7px;
    height: 37px;
    --height: 37px;
    width: calc(var(--height)* 270 / 60);
    border-style: none;
    vertical-align: middle;
}
#langblock {
	line-height: 1;
	padding: 0;
	margin-right: 7px;
}
#langblock .current_lang {
	background: #fff;
	padding: 3px 20px 3px 5px;
	border: 1px solid #999;
	border-radius: 5px;
	cursor: pointer;
}
#langblock .current_lang:focus {
	border: 1px solid #333;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
#langblock .current_lang::after {
	position: absolute;
	content: '';
	height: 6px;
	width: 6px;
	border-bottom: 2px solid #000;
	border-right: 2px solid #000;
	margin-top: 2px;
	margin-left: 6px;
	transform: rotate(45deg);
}
#langblock .langs_list {
	background: #fff;
	position: absolute;
	padding: 0;
	border: 1px solid #333;
	border-top: none;
}
#langblock .langs_list:not(:hover) {
	visibility: hidden;
}
#langblock .current_lang:focus + .langs_list {
	visibility: visible;
}
#langblock .langs_list span {
	display: block;
	cursor: pointer;
	padding: 7px 5px;
	font-size: 18px;
	text-decoration: none;
	color: #000;
}
#langblock .langs_list span:hover {
	background: #4477a1;
	color: #fff;
}
#langblock .langs_list :not(:first-child) {
	border-top: 1px solid #999;
}
.container_menu {
	position: sticky;
	z-index: 12;
	top: 0;
	background: linear-gradient(to top, #FDFFFF, #ECF2F4);
	border-top: solid 1px #d0d0d0;
	border-bottom: solid 1px #d0d0d0;
	box-shadow: 0 3px 3px #d0d0d0;
	width: 100%;
}
.menu {
	display: flex;
	justify-content: flex-start;
	padding: 5px 0;
	width: 100%;
	min-height: 30px;
	margin: 0 auto;
}
.menu.usermessages {
	padding: 3px 0 !important;
	line-height: 1.2;
	justify-content: space-between;
}
.menu .title_user_info {
	display:inline-block;
	text-align: center;
	vertical-align: middle;
	margin: auto 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: calc(100% - 120px);
}
.title_user_info a {
    color: #41688B;
}
.user_last_activity {
	display: none;
	font-size: 14px;
}
#top_menu_control {
	display:inline-block;
	height: 0;
	width: 20px;
	border-top: 2px solid #41688B;
	border-bottom: 2px solid #41688B;
	vertical-align: middle;
	margin: auto 0 auto 7px;
	padding: 6px 0;
	cursor: pointer;
}
#top_menu_control:before {
    content: attr(data-value);
    position: absolute;
    z-index: 1;
    display: var(--setdisplay, none);
    height: 24px;
    min-width: 20px;
    background: #f00;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
    margin: -12px 0 0 16px;
    padding: 0 2px;
    border-radius: 12px;
}
#top_menu_control:after {
    content: '';
    background: #41688B;
    width: 20px;
    height: 2px;
    margin: -1px 0 0 0;
    position: absolute;
}
.menu .items {
	display: block;
	margin: auto 0;
}
.menu .items:not(.visible) {
	margin-left: 30px;
}
.menu .items li {
	display: none;
}
.menu .items.visible {
	position: fixed;
	background: #fff;
	border: 1px solid #ddd;
	left: 0;
	padding: 5px;
	line-height: 1.5;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: none;
	scrollbar-width: thin;
}
.menu .items.visible li {
	display: block !important;
	padding: 4px;
}
.menu:not(.usermessages) .items .messages, .menu:not(.usermessages) .items .search {
	display: inline-block;
	margin: auto 20px auto 0;
}
.menu:not(.usermessages):not(.authorized) .items .home, .menu:not(.usermessages):not(.authorized) .items .search, .menu:not(.usermessages):not(.authorized) .items .contact {
    display: inline-block;
    margin: auto 7px auto 0;
}
.menu.usermessages .items {
	display: none;
}
.menu .items .messages a, .menu .items .search a {
	padding-left: 20px;
}
.menu .items.visible .messages a, .menu .items.visible .search a {
	padding-left: 30px;
}
.menu .items.visible .messages, .menu .items.visible .search {
	display: inline-block;
	margin: auto 0;
}
.menu .items.visible, .menu .more_action.visible {
	display: block;
	box-shadow: #ccc -1px 1px 6px;
}
.menu .items .home a {
	background: url(/images/top.png) no-repeat;
}
.menu .items .search a {
	background: url(/images/search.png) no-repeat;
}
.menu .items .contact a {
	background: url(/images/support.png) no-repeat;
}
.menu .items .messages a {
	background: url(/images/messages.png) no-repeat;
}
.menu .items .views a {
	background: url(/images/views.png) no-repeat;
}
.menu .items .likes a {
	background: url(/images/likes.png) no-repeat;
}
.menu .items .myprofile {
	background: url(/images/membercard.png) no-repeat;
}
.menu .items .themes {
	background: url(/images/colorpalette.png) no-repeat;
}
.menu .items .up {
	background: url(/images/arrowup.png) no-repeat;
}
.menu .items .uploadicon {
	background: url(/images/camera.png) no-repeat;
}
.menu .items .settings {
	background: url(/images/gear.png) no-repeat;
}
.menu .items .delete {
	background: url(/images/buttondelete.png) no-repeat;
}
.menu .items .notifications {
	background: url(/images/notif.png) no-repeat;
	cursor: pointer;
}
.menu .items li a {
	color: #41688B !important;
	display: inline-block;
	padding: 1px 0 1px 30px;
	background-position: 0 50% !important;
	font-weight:700;
	text-decoration: none;
}
.menu:not(.authorized) .items:not(.visible) a {
    padding-left: 20px;
}
.menu .items .messages span:after, .menu .items .views span:after, .menu .items .likes span:after {
    content: attr(data-value);
    position: absolute;
    z-index: 1;
    display: var(--setdisplay, none);
    height: 24px;
    min-width: 20px;
    background: #f00;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
    margin: 2px 0 0 5px;
    padding: 0 2px;
    border-radius: 12px;
}
.menu .items .docs a {
	padding: 1px 0;
}
.menu .items .docs .logout {
	padding: 5px 20px;
	color: #ffffff !important;
	width: auto;
}
.menu .more_action {
	display: none;
	position: fixed;
	background: #fff;
	border: 1px solid #ddd;
	right: 0;
	padding: 5px;
	line-height: 1.5;
	overflow-x: hidden;
	overflow-y: auto;
}
.container_page {
	padding: 0;
	width: 100%;
	margin: 0 auto;
}
.scroll_block {
	overflow: scroll;
	overscroll-behavior: none;
	scrollbar-width: thin;
	--sbheight: 100vh;
	height: var(--sbheight);

}
#main_content {
	display: flex;
}
#main_content .left_column {
	background: #fff;
	box-shadow: 0 0 10px #AFAFAF;
	border-start-start-radius: 5px;
	border-start-end-radius: 5px;
	width: calc(71% - 40px);
	padding: 10px 20px 20px 20px;
	min-height: 80vh;
}
#main_content .right_column {
	width: calc(29% - 20px);
}
.right_column .group_title {
	height: 25px;
	background: linear-gradient(to bottom, #83acd1, #4477a1);
	border: 1px solid #83acd1;
	border-radius: 5px;
	color: #FFFFFF;
	text-align: left;
	padding: 4px 10px 4px 30px;
	clear: both;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 1.5;
	position: relative;
	z-index: 2;
}
.right_column .group {
	border-radius: 5px;
	background: #FFFFFF;
	box-shadow: 0 0 10px #AFAFAF;
	padding: 20px 10px 10px 10px;
	margin: -10px 0 30px 0;
	text-align: center;
	position: relative;
	z-index: 1;
}
.profile_box_l {
	display: inline-block;
	width: 23.5%;
}
.profile_box_l .foto {
	width: 100%;
	height: auto;
	border-style: none;
}
h1, h2 {
	font-weight: normal;
	font-size: 26px;
	color: #333333;
	margin: 10px 0 20px 0;
	text-align:center;
}
h3 {
	font-weight: normal;
	font-size: 21px;
	color: #666666;
	margin: 10px 0;
}
.container_page a {
	color: #0066CC;
	text-decoration: underline;
}
.container_page a:hover {
	text-decoration: none;
}
.invisible {
	display: none !important;
}
.information {
	background: #FFFABE;
	border: 2px solid #FFE9AD;
	border-radius: 5px;
	color: #333;
	line-height: 1.5;
	margin: 20px auto;
	padding: 10px;
	text-align: center;
	max-width: 100%;
}
.good {
	background: #effefe;
	border: 1px solid #bcdcdc;
}
.bad {
	background: #fff1f1;
	border: 1px solid #f0d0d0;
}
.red {
	color: #ff0000;
}
.boldtext {
	font-weight: 700;
}
.nowrap {
	white-space: nowrap;
}
.center {
	text-align: center;
}
.in_bl {
    display: inline-block;
}
.is_mess {
    float: right;
    padding-left: 10px;
    text-decoration: none !important;
}
.hr {
    height: 1px;
    margin: 10px 0 10px 0;
    border-style: none;
    background-color: #D6D6FF;
    clear: both;
}
p {
	margin: 10px 0px;
}
.cust_button {
	margin-top: 5px;
	padding: 3px 10px;
	font-size: 17px;
	font-weight: 700;
	color: #FFFFFF !important;
	border: 1px solid #9c9c9c;
	border: 1px solid rgba(0, 0, 0, 0.3);
	text-shadow: 0 1px 0 rgba(0,0,0,0.7);
	text-decoration: none !important;
	box-shadow: 0 0 3px rgba(0,0,0,0.7);
	border-radius: 5px;
	background: linear-gradient(to bottom, #83acd1, #4477a1);
}
.cust_button:active {
	background: linear-gradient(to bottom, #4477a1, #81a8cb);
}
#message_form {
	position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px 0 5px 20px;
    z-index: 2;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
#message_info {
	text-align: center;
	background: #fff;
	padding: 0 5px;
	width: 100%;
}
#message_text {
	border: 1px solid #777;
	resize: none;
	height: 27px;
	max-height: 30vh;
	vertical-align: bottom;
	flex-grow: 0.99;
}
#message_button {
    padding: 0;
    margin: 0 0 0 5px;
    width: 40px;
    vertical-align: bottom;
    height: 40px;
    border-radius: 20px;
    border: none;
    background: #2977ff;
}
#message_button:before {
    content: '';
    margin: -8px -8px;
    position: absolute;
    width: 0;
	height: 0;
	border: 0 solid transparent;
	border-bottom-width: 8px;
	border-top-width: 8px;
	border-left: 20px solid #ffffff;
	border-radius: 2px;
}
#message_button.edit_message:before {
    margin: -14px -7px;
    width: 10px;
    height: 20px;
    border: none;
    border-top: 4px solid #ffffff;
    border-left: 4px solid #ffffff;
    transform: rotate(223deg);
}
#message_button:after {
    content: '';
    margin: -4px -9px;
    position: absolute;
    width: 0;
	height: 0;
	border: 0 solid transparent;
	border-bottom-width: 4px;
	border-top-width: 4px;
	border-left: 10px solid #2977ff;
}
#message_button.edit_message:after {
    content: unset;
}
#msgs_sm {
    position: sticky;
    z-index: 2;
}
#msgs_sm.normal {
	text-align: left;
	font-style: italic;
	background: #ffffff;
	padding: 0 5px;
}
#msgs_sm.error {
	background: #ff9999;
}
#msgs_sm.result {
	background: #99ff99;
}
#msgs_sm.error, #msgs_sm.result, #msgs_sm.information {
	text-align: center;
	padding: 5px;
	margin: 0;
	border: none;
}
#remove_blacklist {
	display: inline-block;
	color: #0000ff;
	text-decoration: underline;
	cursor: pointer;
}
.errors {
	background: #fedfdf;
	line-height: 1.3;
	margin: 20px 0;
	padding: 0 5px;
}
.errors p {
	padding: 8px 0;
	margin: 0;
}
.ads_top, .ads_middle {
	margin: 20px auto;
	text-align: center;
}
@media screen and (min-width: 900px) {
	.menu:not(.usermessages) .items:not(.visible) .home, .menu:not(.usermessages):not(.authorized) .items .search, .menu:not(.usermessages) .items:not(.visible) .contact, .menu:not(.usermessages) .items:not(.visible) .views, .menu:not(.usermessages) .items:not(.visible) .likes {
		display: inline-block;
		margin: auto 20px auto 0;
	}
	.menu .items .home a, .menu .items .contact a, .menu .items .views a, .menu .items .likes a {
		padding-left: 20px;
	}
	.menu .items.visible .home a, .menu .items.visible .contact a, .menu .items.visible .views a, .menu .items.visible .likes a {
		padding-left: 30px;
	}
	.menu .items .home, .menu .items .contact, .menu .items .views, .menu .items .likes {
		display: inline-block;
		margin: auto 0;
	}
	.menu .items.visible li {
		display: block;
		padding: 4px;
	}
	.menu:not(.usermessages) #top_menu_control:before {
		display: none !important;
	}
}
@media screen and (max-width: 860px) {
	#main_content .left_column {
		width: calc(100% - 40px);
	}
	#main_content .right_column {
		display: none;
	}
}
@media screen and (max-width: 600px) {
	.header .block_top {
		font-size: 15px;
	}
	.header .block_bottom {
		height: 36px;
		background-size: auto 36px;
	}
	.header .block_bottom img {
		height: 28px;
		--height: 28px;
		margin: 3px 0 3px 7px;
	}
}
@media screen and (max-width: 500px) {
	h2 {
		font-size: 24px;
	}
	#main_content .left_column {
		width: calc(100% - 20px);
		padding: 10px;
	}
	#message_form {
		padding: 5px 0 5px 10px;
	}
	.profile_box_container {
		margin: 0px 0 20px 0;
	}
}
@media screen and (max-width: 450px) {
	#main_content .left_column {
		width: calc(100% - 10px);
		padding: 5px;
	}
	#message_form {
		width: calc(100% - 5px);
		padding: 5px 0 5px 5px;
	}
}
@media screen and (max-width: 400px) {
	h2 {
		font-size: 20px;
	}
	.menu:not(.authorized) .items:not(.visible) {
		margin-left: 10px;
	}
}
@media screen and (max-width: 280px) {
	.header .block_top span:first-child {
		display: none;
	}
}
