/* Reset */
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	vertical-align: baseline;
	font-size: 100%;
}

/* Lists */
ol li {list-style: decimal outside;}
ul li {list-style: disc outside;}

/* Margins */
blockquote, pre, address, ul, ol, dl, table {margin: 1.12em 0;}
ol ul, ul ol, ul ul, ol ol {margin-top: 0;margin-bottom: 0;}
ol, ul, dd {margin-left: 0.5em;}

/* Tables */
table {border-collapse: collapse;border-spacing: 0;}

/* Quotes */
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: '';}

/* Small elements */
small, sub, sup {font-size: 83%;}

/* Indexes */
sub {vertical-align: sub;}
sup {vertical-align: super;}

/* Marking changes */
ins {text-decoration: none;}
del {text-decoration: line-through;}


html {height: 100%;font-size: 100.1%;}
body {
	font-size: 14px;
	color:#000;
	font-family:Tahoma;
	background: #fff url('/images/bg.png') center top repeat-x;
}
a {outline: none;color:#357b9d;}
a:hover {color:#0b5478;}
img {border: none;}
label {cursor:pointer;}
input, textarea, button {font-family:Tahoma;}
button {cursor: pointer;}
button::-moz-focus-inner {
padding:0; 
border:0; 
} 
.button {padding: 1px 15px 1px 15px; cursor: pointer;}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

p {line-height:20px;}

.wrapper {
	width:965px;
	margin:0 auto;
}

h1 {
	font-size:14px;
	margin:0px 0px 0px 0px;
	text-align:center;
	font-family:Tahoma;
}

h2 {
	font-size:14px;
	margin:0px 0px 17px 0px;
	text-align:center;
	font-family:Tahoma;
}

h3 {
	font-size:14px;
	margin:0px 0px 0px 0px;
	text-align:center;
	font-family:Tahoma;
}

h4 {
	font-size:14px;
	margin:0px 0px 17px 0px;
	text-align:left;
	font-family:Tahoma;
}


/* // ---- header ---- // */

.buttons a{
	text-decoration:none;
}
.buttons a:hover{
	text-decoration:none;
}

.header {
	position:relative;
	margin:0px 0px 25px 0px;
}
.header .logo {
	width:300px;
	float:left;

}
.header .logo a {
	display:block;
	width:287px;
	height:38px;
	text-decoration:none;
	padding:5px 0px 0px 0px;
}
.header .logo img {
	display:block;
}
.header .logo small {
	font-size:14px;
	color:#484848;
	font-weight:normal;
}

.header .langsw {
    margin: 0;
    position: absolute;
    right: 5px;
    top: 5px;
    height: 24px;
    overflow: hidden;
    background: rgba(255,255,255) url('/images/bg.png') center -5px repeat-x;
    transition: height 0.3s;
    z-index: 10;
}
.header .langsw ul {
    transition: margin 0.3s;
    padding: 2px 0;
}

.header .langsw ul[lang='1'] { margin-top: 0; }
.header .langsw ul[lang='2'] { margin-top: -24px; }
.header .langsw ul[lang='3'] { margin-top: -48px; }
.header .langsw ul[lang='4'] { margin-top: -72px; }
.header .langsw ul[lang='5'] { margin-top: -96px; }
.header .langsw ul[lang='6'] { margin-top: -120px; }
.header .langsw ul[lang='7'] { margin-top: -144px; }
.header .langsw ul[lang='8'] { margin-top: -168px; }
.header .langsw ul[lang='9'] { margin-top: -192px; }
.header .langsw ul[lang='10'] { margin-top: -216px; }
.header .langsw ul[lang='11'] { margin-top: -240px; }
.header .langsw ul[lang='12'] { margin-top: -264px; }
.header .langsw ul[lang='13'] { margin-top: -288px; }
.header .langsw ul[lang='14'] { margin-top: -312px; }
.header .langsw ul[lang='15'] { margin-top: -336px; }
.header .langsw ul[lang='16'] { margin-top: -360px; }
.header .langsw ul[lang='17'] { margin-top: -384px; }

.header .langsw li {
  list-style-type: none;
  display: block;
  padding: 2px 4px;
  height: 20px;
  line-height: 20px;
}

.header .langsw a {
  text-decoration: none;
}

.header .langsw:hover {
    height: 418px;
    background:#f8f2d1;
  }
.header .langsw:hover ul {
    margin-top: 0;
  }

.header .sign-in {
	float:right;
	margin:5px 100px 0px 0px;
}
.header .sign-in fieldset {display:inline;}

div.login_form {
	float:right;
	width:350px;
	position:relative;
	margin:-11px -23px -10px 0px;
	font-size: 85%;
}

label.log {
	display:block;
	width:100px;
	height:20px;
	padding:6px 15px 0px 5px; 
	float:left;
	margin:0px 0px 0px 0px;
	cursor: default;
	position:relative;
}

.header .sign-in label input {
	border: 0px solid;
	width:90px;
	font-size:12px;
	color:#3b3b3b;
	outline:none;
	padding:0;
	margin:0;
	overflow:hidden;
	background:#fff;
	display:block;
	padding: 2px 1px 2px 3px;
	border: 1px solid #b2b2b2;
}
.header .sign-in button {
	display:block;
	width:54px;
	height:20px;
	background:url('/images/btnEnter.png');
	border: 0px;
	position:relative;
	float:left;
	margin:6px 0px 0px 0px;
	color:#fff;
	font-size:13px;
	font-weight:bold;
	text-align:center;
	padding:0;
}
.header .sign-in button:hover {color:#CEE1EB}
.header .sign-in .remind {
	font-size:12px;
	padding:0px 0px 0px 5px;
	display:block;
	clear:both;
}

.header .menu {
	margin:0;
	clear:both;
	width:965px;
	background:#1bb0d1 url('/images/bgNav.png') repeat-x 0 0;
	overflow:hidden;
	padding:0px 0px 0px 0px;
	font-family:Arial;
	height:35px;
	border-bottom: 1px solid #00d8ff;
}
.header .menu table {
	position:relative;
	top:-14px;
	left:-4px;
	}
.header .menu td {
	background:url('/images/navBrd.gif') left center no-repeat;
	text-align:center;
}
.header .menu td a {
	color:#fff;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:bold;
	font-size:15px;
}
.header .menu td a {
	color:#fff;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:bold;
	font-size:15px;
}

.header .menu td a:hover {color:#cee1eb;}

.header .panel {
	background:#f6efc5 url(../images/bgProfile.png) repeat-x 0 0;
	height:30px;
	border-top: 1px solid #e6f0f1;
	width:965px;
	position:relative;
}
.header .panel .user-menu {
	margin:7px 0 0 20px;
	color:#357b9d;
}
.header .panel .user-menu li {
	list-style:none;
	float:left;
	margin:0px 17px 0px 0px;
}

.header .panel .statistics {
	margin:0;
	position:absolute;
	top: 16px;
	right: 0px;
}
.header .panel .statistics dt {
	float:left;
	margin:0px 4px 0px 0px;
}
.header .panel .statistics dd {
	float:left;
	margin:0 20px 0 0;
}

/* -- ---- header ---- -- */

/* // ---- container ---- // */
.container {
	width:100%;
	margin:0px 0px 20px 0px;
}
.main {
	float:left;
	overflow:hidden;
	width:100%;
}
.main .content {
	padding:0px 0px 0px 215px;
}

.sidebar {
	width:200px;
	padding:0 25px 0 0;
	float:left;
	margin:0px 0px 0px -100%;
}

.content {}
.content .c-block {
	width:748px;
}
.content .c-block .top, .content .c-block .bottom {
	height:8px;
	background:url('/images/c-block.png') no-repeat;
}
.content .c-block .bottom {
	background-position:-748px 0;
}
.content .c-block .inner {
	border-left: 1px solid #d7d7d7;
	border-right: 1px solid #d7d7d7;
	padding:14px 10px 8px 10px;
	position:relative;
}

/* -- ---- container ---- -- */

/* // ---- sidebar ---- // */

.sidebar {}
.sidebar .block {
	width:200px;
	margin:0px 0px 25px 0px;
}
.container .sidebar .b-last {margin:0;}
.sidebar .block .headline h2 {margin:0;}
.sidebar .block .top, .sidebar .block .bottom {
	height:8px;
}
.container .sidebar .block .bottom {
	background-position:-200px 0;
}
.sidebar .block .inner {
	padding:5px 10px;
}
.sidebar .b-orange .top, .sidebar .b-orange .bottom {background:url('/images/b-orange.png') no-repeat;}
.sidebar .b-orange .inner {background:#ffca58;border-left: 1px solid #d5b56f; border-right: 1px solid #d5b56f;}
.sidebar .b-blue .top, .sidebar .b-blue .bottom {background:url('/images/b-blue.png') no-repeat;}
.sidebar .b-blue .inner {background:#c1d9dc;border-left: 1px solid #98b5b9; border-right: 1px solid #98b5b9;}
.sidebar .b-beige .top, .sidebar .b-beige .bottom {background:url('/images/b-beige.png') no-repeat;}
.sidebar .b-beige .inner {background:#f8f2d1;border-left: 1px solid #c8be8c; border-right: 1px solid #c8be8c;}
.sidebar .l-blue .top, .sidebar .l-blue .bottom {background:url('/images/l-blue.png') no-repeat;}
.sidebar .l-blue .inner {background:#f0f6fd;border-left: 1px solid #98b5b9; border-right: 1px solid #98b5b9;}

.anketa-info {}
.anketa-info dl {
	margin:0 0 13px 0;
}
.anketa-info dl dt {
	margin:0px 0px 7px 0px;
	font-size:14px;
}
.anketa-info dl dd {
	margin:0;
}
.anketa-info .button {
	display:block;
	width:152px;
	height:38px;
	font-size:13px;
	color:#855b00;
	text-transform:uppercase;
	text-decoration:none;
	font-weight:bold;
	text-shadow: 0px 1px 0px #fff;
	background:#f5c04f url('/images/anketa-b.png') no-repeat;
	text-align:center;
	line-height:38px;
	margin:0px 0px 0px -1px;
}
.anketa-info .button:hover {color:#5c3f00;}

.block .photo  {
	float:left;
	width:50px;
	height:50px;
	position:relative;
}
.block .photo i {
	display:block;
	width:50px;
	height:50px;
	position:absolute;
	top: 0px;
	left: 0px;
}
.b-blue .photo i {background:url('/images/blue-c.png');}
.b-beige .photo i {background:url('/images/beige-c.png');}

.b-blue .b-leader dt {
	background:url('/images/blue-p.gif') no-repeat;
	padding:12px 0px 0px 0px;
}
.b-beige .b-leader dt {
	background:url('/images/beige-p.gif') no-repeat;
	padding:12px 0px 0px 0px;
}
.leader .headline {
	margin:0 0 10px 0;
}
.leader .headline .location {font-size:11px;}
.b-leader {
	margin:0;
	overflow:hidden;
}
.b-leader dd {
	margin:0 0 15px;
	font-size:12px;
	text-align:center;
	overflow:hidden;
}
.b-leader dd.last  {margin:0;}
.b-leader dd .summary {
	display:block;
	margin:-3px 0px 5px 0px;
}
.b-leader dt {margin:0px 0px 10px 0px;font-size:12px;}
.b-leader .photo  {
	float:left;
	width:50px;
	height:50px;
	position:relative;
	margin:0px 11px 0px 0px;
}
.b-leader .photo i {
	display:block;
	width:50px;
	height:50px;
	position:absolute;
	top: 0px;
	left: 0px;
}
.b-leader .info {
	overflow:hidden;
}

/* -- ---- sidebar ---- -- */

/* // ---- footer ---- // */

.footer {
	width:950px;
	height:30px;
	background: #1bb0d1;
	color:#fff;
	font-size:11px;
	position:relative;
	margin:0px auto 24px auto;
}
.footer a{
	color:#fff;
}
.footer a:hover {color:#cee1eb;}
.footer .copyrights {
	line-height:30px;
	position:absolute;
	left: 20px;
	top: 0px;
}
.footer .links {
	position:absolute;
	top: 0px;
	right: 2px;
	margin:0;
	line-height:30px;
}
.footer .links  li {
	list-style:none;
	float:left;
	margin:0px 13px 0px 0px;
}
.footer .banners {
	position:absolute;
	top: 10px;
	right:10px;
	margin:0;
}
.footer .banners li {
	list-style:none;
	float:left;
	margin:0px 0px 0px 10px;
}

/* -- ---- footer ---- -- */

/* // ---- search ---- // */

div.search {
	background:#f8f2d1;
	margin:-10px 0px 22px 0px;
	position: relative;
	border-radius: 9px;
	border: 1px solid #D8CF86;
}
div.search fieldset {
	padding:5px 10px 5px 10px;
}
form.search .line {clear:both;}
form.search .param {margin:0px 0px 20px 0px;}
form.search .location {margin:0px 0px 25px 0px;}
form.search .b-checkbox {margin:0px 0px 22px 0px;}
form.search .select {
	background:url("/images/search-e.png") no-repeat;
	color:#fff;
	display:block;
	height:25px;
	line-height:25px;
	overflow:hidden;
	position:absolute;
	text-decoration:none;
	padding:0 0 0 8px;
}
form.search select {font-family:Tahoma;height:25px;}
form.search .b-select {position:relative;}
form.search .w208 .select {width:200px; background-position:0px 0px;}
form.search .w208 select {width:208px;}
form.search .w192 .select {width:184px; background-position:0px -25px;}
form.search .w192 select {width:192px;}
form.search .w158 .select {width:150px; background-position:0px -50px;}
form.search .w158 select {width:158px;}
form.search .w45 .select {width:37px;background-position:0 -75px;}
form.search .w45 select {width:45px;}
form.search .i-am {
	float:left;
	margin:0px 27px 0px 0px;
}
form.search div.looking-for {
	float:left;
	position:relative;
	margin:0px 32px 0px 0px;
}
form.search .looking-for label {float:left;padding:5px 8px 0px 0px;}
form.search .looking-for .b-select {float:left;}

form.search .age {float:left;}
form.search .age label {float:left;padding:5px 0px 0px 0px;}
form.search .age .b-select {float:left;}
form.search .age .from {margin:0px 5px 0px 9px;}
form.search .age .to {margin:0px 0px 0px 6px;}

form.search .country, form.search .region, form.search .city {float:left;}
form.search .country label, form.search .region label, form.search .city label {display:block;margin:0px 0px 5px 0px;}
form.search .country {margin:0px 27px 0px 0px;}
form.search .region {margin:0px 32px 0px 0px;}

form.search .b-checkbox label {padding:0px 28px 0px 0px;float:left;}
form.search .b-checkbox label input {float:left;margin:1px 5px 0 0;}

form.search button.find {
	display:block;
	width:68px;
	height:33px;
	background:url('/images/search-e.png') 0 -100px no-repeat;
	position:relative;
	border: 0px;
	margin:0;
	padding:0;
	text-align:center;
	font-size:13px;
	color:#fff;
	text-transform:uppercase;
	font-weight:bold;
	text-shadow:0 -1px #012537;
}

form.search button:hover {color:#CEE1EB}

/* -- ---- search ---- -- */

/* // ---- search-results ---- // */

.search-results {
	font-family:Tahoma;
}
.search-results h2 {margin-bottom:20px;}
.search-results .results {
	margin:0;
}
.search-results .results li {
	list-style:none;
	overflow:hidden;
	padding:0px 0px 25px 0px;
	border-bottom: 1px solid #dfdfdf;
	margin:0px 0px 23px 0px;
}
.search-results .results .photo  {
	float:left;
	width:50px;
	height:50px;
	position:relative;
	margin:0px 11px 0px 0px;
}
.search-results .results .photo i {
	display:block;
	width:50px;
	height:50px;
	position:absolute;
	top: 0px;
	left: 0px;
	background:url('/images/search-results-c.png') no-repeat;
}
.search-results .results .info {
	overflow:hidden;
	font-size:11px;
}
.search-results .results .info .name {font-size:12px;display:block;margin:-3px 0px 4px 0px;}

b.online {color:#f4a702;}

/* -- ---- search-results ---- -- */

/* // ---- page navigation ---- // */

.page-navigation {
	overflow:hidden;
	margin:0 0 10px 0;
}
.page-navigation li {
	float:left;
	list-style:none;
	font-size:14px;
	font-family:Arial;
	font-weight:bold;
	margin:0px 2px 0px 0px;
}
.page-navigation li.active {
	background:#ffca58 url('/images/p-nav.gif') 0 0 no-repeat;
}
.page-navigation li.active a{
	background:url('/images/p-nav.gif') right -24px no-repeat;
	color:#3b3b3b;
}
.page-navigation li a {
	float:left;
	text-decoration:none;
	padding:0px 9px;
	height:24px;
	overflow:hidden;
	line-height:24px;
}

/* -- ---- page navigation ---- -- */

/* // ---- user-page ---- // */

.user-page {
	font-size:14px;
}
.user-page .online {
	position:absolute;
	top: 16px;
	right: 24px;
}

.user-page .user {
	width:360px;
	float:left;
	margin: 0 25px 0 0;
}
.user-page .user .user-photo {
	position:relative;
	margin:0px 0px 5px 0px;
}
.user-page .user .user-photo img {
	display:block;
}
.user-page .user .user-photo .corner {
	position:absolute;
	width:4px;
	height:4px;
	display:block;
	background:url('/images/search-results-c.png') no-repeat;
}
.user-page .user .user-photo .lt {top: 0px; left: 0px; background-position:0 0;}
.user-page .user .user-photo .rt {top: 0px; right: 0px; background-position:right 0;}
.user-page .user .user-photo .lb {bottom: 0px; left: 0px; background-position:0 bottom;}
.user-page .user .user-photo .rb {bottom: 0px; right: 0px; background-position:right bottom;}

.user-page .send-message {
	display:block;
	width:251px;
	height:33px;
	background: #5f99b5 url('/images/send-message.png') no-repeat;
	text-transform:uppercase;
	font-size:13px;
	color:#fff;
	text-shadow: 0px -1px #012537;
	text-align:center;
	line-height:31px;
	text-decoration:none;
	margin:0px 0px 13px -1px;
}

.user-page .user .user-menu {
	margin:0;
}
.user-page .user .user-menu li {
	margin:0 0 10px 0;
	list-style:none;
}
.user-page .user .user-menu li a {
	padding-left:25px;
	display:block;
}
.user-page .user .user-menu li.galery a {
	background:url('/images/galery.gif') no-repeat;
	padding-top:4px;
	padding-bottom:4px;
	text-decoration:none;
}
.user-page .user .user-menu li.galery a b {text-decoration:underline;}
.user-page .user .user-menu li.galery a span {color:#3b3b3b;}
.user-page .user .user-menu li.favorite a {
	background:url('/images/favorite.gif') no-repeat;
	padding-top:1px;
	padding-bottom:2px;
}
.user-page .user .user-menu li.complaint a {
	background:url('/images/complaint.gif') no-repeat;
	padding-top:2px;
	padding-bottom:2px;
}

.user-page .description {
	width:300px;
	float:left;
}
.user-page .description p {
	overflow:hidden;
	padding:2px 0 1px 0;
}
.user-page .description p .definition {float:left;}
.user-page .description p .value {float:right;}

.user-page .user-info {
	clear:both;
	padding:15px 0px 15px 0px;
}
.user-page .user-info h3 {
	font-size:12px;
	margin:0px 0px 8px 0px;
}
.user-page .user-info p {
	line-height:14px;
}

.user-menu table {
	position:relative;
	top:-8px;
	}
/* -- ---- user-page ---- -- */

td.error-field {
	font-weight:bold; 
	color:red;
	padding-left:5px;
}

td.error-field-down {
	font-weight:bold; 
	color:red;
	padding-top:0;
	padding-bottom:5px;
}
span.required{
	font-weight:bold;
	color:red;
}

body.page-myEmail input[name='email'] {
  width: 280px;
}

.header #newMessage img {
  width: 12px;
  margin: 0 -2px 0 -10px;
  opacity: 0;
}
.header .is#newMessage img { opacity: 1; }

.header .oauth2 {
  line-height: 20px;
  text-align: right;
  padding: 0 13px 0 0;
}
.header .oauth2 a {
  background-image: url('/83488812/images/login.png');
  background-position-x: 0px;
  display: inline-block;
  width: 20px;
  color: transparent;
}
.header .oauth2 a:hover {
  background-position-x: -20px;
}
.header .oauth2 a.google {
  background-position-y: -20px;
}

.login.oauth2 {
  text-align: center;
}
.login.oauth2 a {
  display: inline-block;
  width: 189px;
  background-image: url('/83488812/images/login.large.png');
}
.login.oauth2 a:hover {
  filter: brightness(90%);
}
.login.oauth2 a.facebook {
  height: 34px;
}
.login.oauth2 a.google {
  height: 46px;
  background-position-y: -34px;
}


.loc > span,
.loc > span > span {
  display: none;
}
.loc > span.t,
.loc[p="hour"] > span.hour,
.loc[p="min"] > span.min,
.loc[p="sec"] > span.sec,
.loc[n="1"] > span > span.n1,
.loc[n="2"] > span > span.n2 {
  display: inline;
}

.mobile { display: none; }
.imobile { display: none; }
.bmobile { display: none; }

.header .menu #tab_menu #trigram {
  display: none;
}
.header .menu #tab_menu .desktop {
  display: table-cell;
}



body.page-index .content-main h3 {
  margin: 10px 0 0;
}



ul.cg {
  padding: 0;
  margin-left: 0;
  display: grid;
}
ul.cg li {
  list-style-type: none;
  white-space: nowrap;
}
ul.cg li input {
}

ul.cg_c1 { grid-template-columns: repeat(1, 1fr); }
ul.cg_c2 { grid-template-columns: repeat(2, 1fr); }
ul.cg_c3 { grid-template-columns: repeat(3, 1fr); }
ul.cg_c4 { grid-template-columns: repeat(4, 1fr); }
ul.cg_c5 { grid-template-columns: repeat(5, 1fr); }
ul.cg_c6 { grid-template-columns: repeat(6, 1fr); }

.nowrap {
  white-space: nowrap;
}
.bold {
  font-weight: bold;
}
.red {
  color: red;
}

ul.galeryHead {
  justify-content: center;
}
ul.galeryHead li {
  padding: 3px 3px;
}
ul.galeryHead li:nth-child(1),
ul.galeryHead li:nth-child(3),
ul.galeryHead li:nth-child(5) {
  text-align: right;
}
ul.galery {
  justify-content: space-evenly;
  justify-items: stretch;
}
ul.galery li {
  text-align: center;
  margin: 0 0 10px;
}
#__SYS_GallerySearchForm_Disable {
  position: absolute;
  right: 5px;
  top: 5px;
}
.profile-tbl {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 0;
}
.profile-tbl .zb {
    background-color: #ececec;
}
.profile-tbl td {
    padding: 5px 10px 6px;
    vertical-align: top;
}
.profile-tbl th {
    font-weight: bold;
    text-align: left;
    padding: 5px 10px 6px;
    vertical-align: top;
}
.for-editor {
    padding: 10px 0;
}
/* // ---- list addnav ---- // */
.list-addnav {background-image:none}
	.list-addnav li {float:left; padding:0; background:#1bb1d2 url(../images/addnav-left.png) no-repeat 0 0; height:24px; margin-right:8px; margin-bottom:20px; list-style-type: none;}
		.list-addnav li a {position:relative; display:block; color:#fff; font-size:11px; font-weight:bold; line-height:23px; background:url(../images/addnav-right.png) no-repeat 100% 0; height:24px; padding:0 11px 0 28px; text-decoration:none}
			.list-addnav li.fu-fu {background-color:#18c7bf; background-image:url(../images/addnav-fu-left.png)}
				.list-addnav li.fu-fu a {background-image:url(../images/addnav-fu-right.png)}
		.list-addnav li span {position:absolute; left:10px; top:6px; height:13px; font-size:1px; background-image:url(../images/icons-profile.gif)}
		.list-addnav li .ico-mail {background-position:-50px 0; width:12px}
		.list-addnav li .ico-fav {background-position:-62px 0; width:11px}
		.list-addnav li .ico-details {background-position:-73px 0; width:9px}
		.list-addnav li .ico-fu {background-position:-82px 0; width:11px}
/* -- ---- list addnav ---- -- */

.page-index .sidebar .b-beige .inner {
  padding: 5px 10px 15px;
}
.page-index .sidebar .b-beige .inner > * {
  text-align: center;
}
.page-index .sidebar .b-beige .inner > h2 {
  margin: 5px 0 10px;
}
.page-index .sidebar .b-beige .inner > div {
  margin-bottom: 5px;
}
.page-index .profile {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0 10px;
}
.page-index .profile .photo {
  grid-row: 1 / span 2;
}
.page-index .profile .photo img {
  max-width: 100%;
}
.page-index .profile .photo > div {
  text-align: center;
}
.page-index .controls {
  text-align: center;
  margin: 15px 0;
}
.page-index .controls > * {
  margin: 15px 0;
}
.page-index ul.birthday {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(10, auto);
  gap: 0 10px;
  margin: 15px 5px;
}
.page-index ul.birthday li {
  list-style-type: none;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 8px;
}
.page-index ul.birthday li .name > * {
  display: inline-block;
  vertical-align: middle;
}
.page-index ul.birthday li .name a {
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}
.page-index ul.birthday li.no {
  grid-row: 1 / last-line;
  text-align: center;
}
.page-index ul.birthday li.no.women {
  grid-column: 1 / span 2;
}
.page-index ul.birthday li.no.men {
  grid-column: 3 / span 2;
}
.page-index ul.galery li {
  height: 220px;
  overflow: hidden;
}
.page-index ul.galery a.image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
}
.page-index ul.galery a.image img {
  max-height: 150px;
}
.page-index ul.galery a.name {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-mailBox .sidebar .inner {
  text-align: center;
  padding: 20px 0;
}
.page-mailBox .sidebar .inner > div {
  display: inline-block;
  text-align: left;
}
.page-mailBox .sidebar .inner .folders {
  display: grid;
  grid-template-columns: repeat(2, auto);
}
.page-mailBox .sidebar .inner .folders > a {
  padding: 0 20px 0 0;
}
.page-mailBox .sidebar .inner .folders[folder="1"] > a[folder="1"],
.page-mailBox .sidebar .inner .folders[folder="2"] > a[folder="2"],
.page-mailBox .sidebar .inner .folders[folder="3"] > a[folder="3"],
.page-mailBox .sidebar .inner .folders[folder="4"] > a[folder="4"] {
  font-weight: bold;
}
.search_banner_mid { width: 728px; height: 90px;}

a.inactive_photo{
	text-decoration:none;
	font-weight:bold;
	background:none;
}
.page-mailBox .mailbox {
  display: grid;
  grid-template-columns: auto 1fr minmax(30%, auto);
  grid-template-rows: repeat(var(--items-count), auto 1fr);
  margin: 15px 0;
}
.page-mailBox .mailbox .img,
.page-mailBox .mailbox .msg {
  grid-row-end: span 2;
}
.page-mailBox .mailbox .img {
  padding: 0 0 10px;
  text-align: center;
}
.page-mailBox .mailbox .img img {
  max-width: 100%;
}
.page-mailBox .mailbox .profile {
  padding: 0 10px 10px;
}
.page-mailBox .mailbox .controls {
  padding: 0 10px 10px;
}

.page-search input[name='name'],
.page-search input[name='saveAs'] {
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
}
.page-search .back {
  text-align: center;
}

.page-profile .user-photo img {
  max-width: 100%;
}

.page-password form {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.page-password form p {
  margin: 15px;
}

@media (max-width: 721px) {
  
  body {
    font-size: 12px;
  }
  
  .desktop { display: none; }
  div.mobile { display: block; }
  span.mobile { display: inline; }
  img.mobile { display: inline-block; }
  .imobile { display: inline; }
  .bmobile { display: block; }
  .idesktop { display: none; }
  .bdesktop { display: none; }
  
  .wrapper,
  .header .menu,
  .header .panel,
  .footer {
    width: auto;
  }
  
  .header {
    margin: 0;
  }
  .header .langsw {
    margin: 0;
    position: absolute;
    right: 5px;
    top: 5px;
    height: 24px;
    overflow: hidden;
    background: rgba(255,255,255) url('/images/bg.png') center -5px repeat-x;
    transition: height 0.3s;
    z-index: 10;
  }
  .header .langsw ul {
    transition: margin 0.3s;
    padding: 2px 0;
  }
  .header .langsw ul[lang='1'] { margin-top: 0; }
  .header .langsw ul[lang='2'] { margin-top: -24px; }
  .header .langsw ul[lang='3'] { margin-top: -48px; }
  .header .langsw ul[lang='4'] { margin-top: -72px; }
  .header .langsw ul[lang='5'] { margin-top: -96px; }
  .header .langsw ul[lang='6'] { margin-top: -120px; }
  .header .langsw ul[lang='7'] { margin-top: -144px; }
  .header .langsw ul[lang='8'] { margin-top: -168px; }
  .header .langsw ul[lang='9'] { margin-top: -192px; }
  .header .langsw ul[lang='10'] { margin-top: -216px; }
  .header .langsw ul[lang='11'] { margin-top: -240px; }
  .header .langsw ul[lang='12'] { margin-top: -264px; }
  .header .langsw ul[lang='13'] { margin-top: -288px; }
  .header .langsw ul[lang='14'] { margin-top: -312px; }
  .header .langsw ul[lang='15'] { margin-top: -336px; }
  .header .langsw ul[lang='16'] { margin-top: -360px; }
  .header .langsw ul[lang='17'] { margin-top: -384px; }
  .header .langsw li {
    display: block;
  }
  .header .langsw:hover {
    height: 418px;
    background:#f8f2d1;
  }
  .header .langsw:hover ul {
    margin-top: 0;
  }
  .header table {
    margin: 0;
  }
  .header .sign-in {
    display: none;
  }
  label.log {
    width: 65px;
  }
  .header .sign-in label input {
    width: 60px;
  }
  .header .sign-in button {
    margin: 0 0 0 5px;
  }
  .header .oauth2 {
    _padding: 0 13px 0 0;
  }
  div.login_form {
    width: auto;
    margin: 0;
  }

  .header .menu {
    overflow: visible;
    background:#1bb0d1;
    height: 22px;
  }
  .header .menu table {
    left: 0;
    top: 0;
  }
  .header .menu #tab_menu {
    display: inline-table;
    width: auto;
    white-space: nowrap;
  }
  .header .menu #tab_menu td {
    padding: 0px 10px;
  }
  .header .menu #tab_menu #trigram {
    display: table-cell;
  }
  .header .menu #tab_menu #trigram > div {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 10;
    left: 0px;
    text-align: left;
    overflow: hidden;
  }
  .header .menu #tab_menu #trigram:hover > div {
    opacity: 1;
    pointer-events: all;
  }
  .header .menu #tab_menu #trigram ul {
    margin: 0;
    padding: 10px 0 6px;
  }
  .header .menu #tab_menu #trigram li {
    list-style-type: none;
    padding: 0;
  }
  .header .menu #tab_menu #trigram li a {
    padding: 3px 20px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
  }
  .header .menu #tab_menu #trigram ul.submenu {
    background-color: #1bb0d1;
  }
  .header .menu #tab_menu #trigram ul.subpanel {
    background-color: #f6efc5;
    padding: 6px 0;
  }
  .header .menu #tab_menu #trigram ul.subpanel a {
    color: #1bb0d1;
    text-transform: none;
    font-size: 100%;
    font-weight: normal;
  }
  .header .menu #tab_menu #trigram ul.subpanel a:hover {
    color: #0b5478;
  }
  .header .menu #tab_menu .desktop {
    display: none;
  }
  .header .menu #tab_menu .mobile {
    display: table-cell;
  }
  .header .menu #tab_menu .login {
    width: 100%;
    text-align: right;
    padding: 0 10px;
  }
  .header .menu #tab_menu .login a {
    line-height: 20px;
    font-size: 100%;
    text-transform: none;
    font-weight: normal;
  }
  .header .panel {
    display: none;
  }
  
  .container {
    display: flex;
    flex-direction: column;
  }
  .main {
    float: none;
    order: 2;
  }
  .sidebar {
    display: none;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    order: 1;
  }
  body.page-index .sidebar,
  body.page-mailBox .sidebar {
    display: block;
  }

  
  .main .content {
    padding: 10px 0;
  }
  .content .c-block {
    width: auto;
  }
  .content .c-block .top,
  .content .c-block .bottom {
    display: none;
  }
  .content .c-block .inner {
    border: 0;
    min-height: 400px;
  }
  
  .footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 5px;
  }
  .footer .copyrights {
    order: 2;
    line-height: 20px;
    position: unset;
  }
  .footer .links {
    order: 1;
    line-height: 20px;
    position: unset;
  }
  .footer .links li {
    display: inline;
    margin: 0 5px;
    float: unset;
  }
  
  .sidebar .b-blue .top,
  .sidebar .b-blue .bottom,
  .sidebar .b-beige .top,
  .sidebar .b-beige .bottom {
    display: none;
  }
  .sidebar .block {
    width: 100%;
    margin: 0px 0px 0px 0px;
  }
  .sidebar .block .inner {
    border: 0;
    padding: 10px 0 0;
    box-sizing: border-box;
  }

  body.page-index .sidebar .b-blue {
    display: none;
  }
  body.page-index .sidebar .block .inner {
    padding: 3px 0;
    text-align: center;
  }
  body.page-index .sidebar .b-beige .inner > * {
    display: inline-block;
    margin-left: 10px;
  }
  body.page-index .profile {
    grid-template-columns: 1fr 1fr;
  }
  body.page-index .profile .photo {
    grid-row: auto;
  }
  body.page-index .profile .controls {
    grid-column: 1 / span 2;
  }
  
  body.page-signUp form > table,
  body.page-search form > table,
  body.page-myProfile form > table,
  body.page-myEmail form > table,
  body.page-myPassword form > table,
  body.page-myProfile form > table {
    width: 100%;
  }

  
  body.page-signUp form > table td {
    vertical-align: middle;
  }
  body.page-signUp form > table tr:nth-child(3) td {
    vertical-align: baseline;
  }

  
  body.page-search form > table td {
    vertical-align: middle;
  }
  
  
  body.page-myEmail input[name='email'] {
    width: auto;
  }

  
  body.page-mailBox .sidebar .inner > div {
    text-align: center;
  }
  body.page-mailBox .sidebar .inner .folders {
    grid-template-columns: repeat(4, auto);
    padding: 5px 0 10px;
  }
  body.page-mailBox .sidebar .inner .folders > span {
    grid-row: 2;
  }
  body.page-mailBox .sidebar .inner .folders > a {
    padding: 0 10px;
  }
  body.page-mailBox .sidebar .inner .folders.r2 {
    grid-template-columns: repeat(2, auto);
  }
  body.page-mailBox .sidebar .inner .folders.r2 > span:nth-child(n+5) {
    grid-row: 4;
  }
  body.page-mailBox .sidebar .inner .folders.r2 > a:nth-child(n+5) {
    padding: 5px 10px 0;
  }
  
  body.page-mailBox .mailbox {
    grid-template-columns: minmax(75px, auto) auto 1fr;
  }

  body.page-mailBox .mailbox .msg .openChat {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  body.page-mailBox .mailbox .controls {
    display: flex;
    flex-direction: column;
  }
  body.page-mailBox .actions > a {
    padding: 2px 0;
  }
  body.page-mailBox .mailbox .s {
    display: none;
  }
  
  body.page-profile .user-page {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  body.page-profile .user-page .user {
    width: auto;
    margin: 0;
  }
  body.page-profile .user-page .user .user-photo {
    text-align: center;
  }
  body.page-profile .user-page .user .user-photo img {
    display: inline-block;
  }
  body.page-profile .user-page .description {
    margin: 0 auto;
    text-align: left;
  }

  
  body.page-myPhotos .upload .mobile {
    text-align: left;
    padding: 20px 0;
  }
  body.page-myPhotos .mobile p {
    line-height: 1.2em;
    margin: 0 0 0.5em;
  }
  body.page-myPhotos .mainPhoto {
    margin: 0 0 15px;
  }
  body.page-myPhotos .mainPhoto, .photos > li {
    grid-template-columns: 100%;
  }
  body.page-myPhotos .photos > li > h4 {
    grid-column-end: unset;
  }
  body.page-myPhotos .photos > li > .status {
    text-align: center;
  }
  body.page-myPhotos .mainPhoto .img > img,
  body.page-myPhotos .photos .img > img {
    max-width: 100%;
  }

  ul.galery li img {
    max-width: 95%;
  }
  
  
  ul.cg_c5 { grid-template-columns: repeat(4, 1fr); }
  ul.cg_c6 { grid-template-columns: repeat(5, 1fr); }
  
  ul.cg_mc1 { grid-template-columns: repeat(1, 1fr); }
  ul.cg_mc2 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_mc3 { grid-template-columns: repeat(3, 1fr); }
  ul.cg_mc4 { grid-template-columns: repeat(4, 1fr); }
  ul.cg_mc5 { grid-template-columns: repeat(5, 1fr); }
  ul.cg_mc6 { grid-template-columns: repeat(6, 1fr); }
  
  ul.galeryHead li {
    text-align: center!important;
  }
.img-block {
    max-width: 150px;
    overflow: hidden;
	}
}


@media (max-width: 400px) {
  
  ul.cg li {
    white-space: normal;
  }

  ul.cg_c1 { grid-template-columns: repeat(1, 1fr); }
  ul.cg_c2 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_c3 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_c4 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_c5 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_c6 { grid-template-columns: repeat(2, 1fr); }
  
  ul.cg_mc1 { grid-template-columns: repeat(1, 1fr); }
  ul.cg_mc2 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_mc3 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_mc4 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_mc5 { grid-template-columns: repeat(2, 1fr); }
  ul.cg_mc6 { grid-template-columns: repeat(2, 1fr); }

  body.page-mailBox .mailbox .msg {
    grid-row-end: auto;
  }
  body.page-mailBox .mailbox .controls {
    grid-column-end: span 2;
    display: block;
    padding: 0 10px 30px;
  }
  body.page-mailBox .mailbox .controls .s {
    display: inline;
  }
  
}

.tpl {
  display: none;
}

@media (max-width: 590px) {
  body.page-index .lastRegistered table table td:nth-child(5) {
    display: none;
  }
}
@media (max-width: 470px) {
  body.page-index .lastRegistered table table td:nth-child(4) {
    display: none;
  }
}
.search_banner_mid { width: 468px; height: 60px;}

