@media screen {

html,body,div,dir,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,textarea,legend,object,a,td,address { margin: 0; padding: 0; outline: none } h1,h2,h3,h4,h5,h6,b,pre,code,address,caption,cite,code,em,input,th,textarea,legend { font-size: 1em; font-weight: 400; font-style: normal } ul { list-style: none } fieldset,img,textarea { border: none } caption,th { text-align: left } table { border-collapse: collapse; border-spacing: 0 } a,input {outline: none}

/* Globals */
body {font-size: 13px; height: 100%; width: 100%; background-color: #fff; text-align: center; color: #4d4d4d; min-height: 100%}
body * {font-family: Arial, Tahoma, sans-serif}
input::-moz-focus-inner, button::-moz-focus-inner { padding: 0; border: 0; }
hr {width: 100%; display: block; clear: both; margin: 0; height: 0; color: #fff; border: none; //margin: -7px 0}
a {color: #007fd4}
h2 {font-size: 20px; color: #181818; margin: 0 0 10px}
h4 {font-size: 18px;}
.ap-fl-l {float: left!important}
.ap-fl-r {float: right!important}
.ap-fs13 {font-size: 13px!important}
.ap-fs14 {font-size: 14px!important}
.ap-fs20 {font-size: 20px!important}
.ap-cf06 {color: #f06!important}
.ap-cf00 {color: #f00!important}
.ap-c7 {color: #777!important}
.ap-c9 {color: #999!important}
.ap-c4d {color: #4d4d4d!important}
.ap-cf {color: #fff!important}
.ap-cgreen {color: #6acb09!important}
.ap-mb10 {margin-bottom: 10px!important}
.ap-mb15 {margin-bottom: 15px!important}
.ap-mb20 {margin-bottom: 20px!important}
.ap-mb25 {margin-bottom: 25px!important}
.ap-mb30 {margin-bottom: 30px!important}
.dotted {text-decoration: none; border-bottom: 1px dotted #007fd4; color: #007fd4; cursor: pointer}
.middle {vertical-align: middle}
.base {vertical-align: -1px; margin: 0 2px}
.overlay {position: absolute; left: 0; top: 0; bottom: 0; width: 100%; height: 100%; background: #000; opacity: .5; z-index: 9998; overflow: hidden; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);}
.ap-pinkbut {padding: 2px 10px!important; background-color: #f06; color: #fff; border: none!important}
.ap-greybut {padding: 2px 10px!important; background-color: #999; color: #fff; border: none!important}
#preview {width: 100%; text-align: center}
#preview img {border: 3px solid #fff}
#preview .close {position: absolute; left: 0; top: 0; width: 100%; height: 100%}

.ap-top, .ap-bottom {background-image: url('images/ap-corners.png'); display: block!important; display: none; background-position: 0 0; background-repeat: no-repeat; top: -1px; position: absolute; width: 682px; height: 6px; z-index: 2; left: -1px; overflow: hidden}
.ap-bottom {background-position: 0 -6px!important; top: auto; bottom: -1px}

.ap-wrapper {width: 970px; margin: 0 auto; text-align: left; min-height: 100%; height: auto!important; height: 100%}

.ap-header {position: relative; z-index: 2; padding-left: 290px; margin: 20px 0}
.ap-header b {color: #007fd4}


/*------------------------------------------------------------*/

.ap-main {float: right; width: 680px; overflow: hidden; position: relative}
.ap-main h2 img {vertical-align: middle; margin-right: 10px}
.ap-text p {margin-bottom: 10px}
.ap-text ol {list-style: decimal; padding-left: 20px; margin-bottom: 10px}

.ap-sex {text-align: center}

/* Photos */
.ap-lenta {width: 700px; float: left; margin-top: -5px}
.ap-lenta img {float: left; margin: 5px 20px 15px 0; display: inline}

/* Ratings */
.ap-tops {border: 1px dotted #d1d1d1; border-width: 0 0 1px; width: 982px; float: left; margin: 35px 0 0 -21px}
.ap-tops div {width: 180px; border: 1px dotted #d1d1d1; border-width: 0 0 0 1px; float: left; padding: 0 10px 15px 170px; font-size: 12px; color: #4a4a4a; text-align: left}
.ap-tops div h4 {color: #1a1a1a; margin: 0 0 10px -150px}
.ap-tops div .ap-ava {float: left; margin: 0 0 15px -150px; border: 1px solid #f2f2f2}
.ap-tops div p {margin-bottom: 15px}
.ap-tops div p b {color: #4e4e4e; font-weight: bold; font-size: 13px}
.ap-tops div p a {text-decoration: none}
.ap-tops div p a img {margin: 0 5px 0 0; vertical-align: middle}
.ap-tops div p i {color: #777; display: block; font-style: normal}
.ap-tops div p strong {color: #1a1a1a; margin-right: 25px}
.ap-s-output {border-bottom: 3px solid #d9d9d9; margin: 0; padding-bottom: 5px}
.ap-s-output table {width: 680px}
.ap-s-output table td {border-top: 1px dotted #d1d1d1; text-align: right}
.ap-s-output table td.ap-sex-small {background: url('images/ap-sex-small.gif') no-repeat 100% 15px; color: #999}
.ap-s-output table td.ap-sex-small-xy {background-image: url('images/ap-sex-small-xy.gif')}
.ap-s-output div {border: 0; width: auto; padding: 15px 10px 0 150px}
.ap-s-output div .ap-ava {margin-left: -140px}
.ap-msg-ctrl {border-bottom: 3px solid #d9d9d9; background-color: #f2f2f2; position: relative; margin: 20px 0 -5px; border-top: 1px dotted #d1d1d1}
.ap-msg-ctrl p {padding: 5px 15px; }
.ap-msg-ctrl select {border: 1px solid #ccc; padding: 1px}

/* Menu top */
.ap-menu {background: url('images/ap-menu.gif') repeat-x 0 50% #f2f2f2; font-size: 13px; float: left; width: 680px; border-top: 1px solid #fcfcfc; border-bottom: 1px solid #f1f1f1; position: relative; clear: both; margin-bottom: 30px}
.ap-menu a {line-height: 34px; color: #555; text-decoration: none}
.ap-menu a:hover {text-decoration: underline}
.ap-menu-l {padding: 0; margin: 0; background: url('images/ap-menu-lr.gif') no-repeat -6px 50%; float: left; list-style: none; width: 500px; position: relative; z-index: 1}
.ap-menu-l li {padding: 0; margin: 0; float: left; background: url('images/ap-menu-delim.gif') no-repeat 100% 50%; border-right: 1px solid #fff}
.ap-menu-l li a {color: #1a1a1a!important; padding: 0 10px 0 43px; float: left; position: relative}
.ap-menu-l li a i {font-style: normal; width: 23px; background: url('images/ap-menu-i1.gif') no-repeat 100% 0; text-align: center; color: #fff; height: 30px; font-size: 11px; overflow: hidden; top: 50%; position: absolute; margin-top: -15px; margin-left: -33px; padding-top: 2px}
.ap-menu-l li .selected, .ap-menu-l li .selected span {background: url('images/ap-menu-sel.gif') repeat-x 0 50% #989898; color: #fff!important; text-decoration: none!important; cursor: text}
.ap-menu-l li .selected i {background-image: url('images/ap-menu-i2.gif')}
.ap-menu-l li.ap-menu-s a {padding-left: 56px}
.ap-menu-l li.ap-menu-s i {width: 30px; background-position: 0 0; margin-left: -40px}
.ap-menu-l li.ap-menu-m a {padding-left: 44px; text-decoration: none}
.ap-menu-l li.ap-menu-m a:hover span {text-decoration: underline}
.ap-menu-l li.ap-menu-m i {width: 24px; background-position: -33px 0; margin-left: -34px}
.ap-menu-l li.ap-menu-m i.unread {background-position: -33px -30px}
.ap-menu-r {float: right; background: url('images/ap-menu-lr.gif') no-repeat 171px 50%; color: #999; padding-right: 6px; width: 170px; overflow: hidden; text-align: right; position: relative; z-index: 1}
.ap-menu-r a {margin: 0 6px}
.ap-menu-top, .ap-menu-bottom {background-image: url('images/ap-menu-bord.png') !important; background-image: none; background-position: 0 0; background-repeat: no-repeat; top: -1px; position: absolute; width: 682px; height: 6px; z-index: 2; left: -1px; overflow: hidden}
.ap-menu-bottom {background-position: 0 -6px; top: auto; bottom: -1px}
.ap-menu-login .ap-menu-l, .ap-menu-login .ap-menu-r {width: 300px; color: #555}
.ap-menu-login .ap-menu-l a {margin-left: 6px; padding-left: 19px; color: #007fd4; background: url('images/lock.gif') no-repeat 6px 50%}
.ap-menu-login .ap-menu-r {background-position: 301px 50%}

/* Custom links */
.ap-reg, .ap-menu-login .ap-menu-r a {color: #007fd4; padding-left: 19px; background: url('images/heart.gif') no-repeat 0 50%}
.ap-more {background: url('images/ap-more.gif') no-repeat 100% 60%; padding-right: 10px; font-weight: bold; margin-right: 10px; text-decoration: none}
.ap-addfav {color: #007fd4; padding-left: 15px; background: url('images/addfav.gif') no-repeat 0 50%}
.ap-delete {color: #999; padding-left: 15px; background: url('images/ap-delete.gif') no-repeat 0 50%}
.ap-alert {padding: 5px 30px; background: url('images/ap-alert2.gif') no-repeat 0 50%; text-decoration: none}
.ap-foto {color: #007fd4; padding-left: 23px; background: url('images/ap-foto.gif') no-repeat 0 50%; text-decoration: none}
.ap-album {color: #007fd4; padding-left: 23px; background: url('images/top-foto.gif') no-repeat 0 50%; text-decoration: none}
.ap-send {padding-left: 25px; background: url('images/ap-mail.gif') no-repeat 0 50%}
.ap-addprof {background: url('images/ap-addprof.gif') no-repeat 0 50%; padding: 5px 0 5px 25px}
.ap-editprof {background: url('images/edit.gif') no-repeat 5px 50%; padding: 5px 0 5px 25px}
.ap-msg {padding-left: 15px; background: url('images/ap-msg.gif') no-repeat 0 50%}
.ap-metro {padding-left: 15px; background: url('images/ap-metro.gif') no-repeat 0 50%}
.ap-vipicon {padding-left: 15px; background: url('images/heart.gif') no-repeat 0 50%; color: #f06; white-space: nowrap; display: inline-block}
.ap-edit {padding: 5px 18px 0 0; background: url('images/edit.gif') no-repeat 100% 50%; color: #b2b2b2; white-space: nowrap; display: inline-block; font-size: 12px; text-decoration: none; line-height: 15px}
.ap-comment {background: url('images/ap-comment.gif') no-repeat 0 50%; padding-left: 20px; text-decoration: none}
.ap-back {background: url('images/ap-l-select.gif') no-repeat -6px 50%; padding-left: 20px; text-decoration: none}
.ap-pinkbutton {background: url('images/ap-pinkgrad.gif') repeat-x 0 0 #f06; color: #fff; padding: 3px 10px!important; font: 13px Arial, Tahoma, sans-serif; font-weight: bold; -moz-border-radius: 4px; border: 0!important; cursor: pointer; overflow: visible}
.ap-urate, .ap-drate {position: relative; background: url('images/ap-rate.gif') no-repeat 0 0; width: 22px; height: 24px; float: left; margin: 4px -5px 0 10px; overflow: hidden; text-indent: -2000px; display: inline}
.ap-drate {background-position: 100% 0}
.slide-close, .slide-open {position: absolute; height: 7px; width: 11px; overflow: hidden; text-indent: -2000px; background: url('images/ap-l-select-y.gif') no-repeat top; margin: 3px 0 0 3px}
.slide-open {height: 11px; width: 7px; background-image: url('images/ap-l-select.gif'); background-position: left}

/* Standart Form*/
.ap-form {padding-top: 20px}
.ap-form input, .ap-form select {vertical-align: middle}
.ap-form label {margin-left: 5px}
.ap-form dl {float: left; width: 508px; line-height: 26px; margin-bottom: 10px; font-size: 14px}
.ap-form dt {float: left; width: 108px; color: #777; text-align: right}
.ap-form dd {float: left; margin-left: 5px; display: inline; position: relative}
.ap-form dl.ap-form-input dd {width: 240px; height: auto!important; height: 26px; min-height: 26px; margin-left: 5px; border: 1px solid #d1d1d1; padding: 0 1px}
.ap-form dl.ap-age dd {width: 74px}
.ap-form dl dd.ap-form-msg {width: 131px; background-color: #d1d1d1; border-width: 1px 0; margin-left: 0; padding: 0 10px; font-size: 12px}
.ap-form dl dd.ap-form-sub {margin-left: 113px; border: none; font-size: 11px; z-index: 2}
.ap-form dl.invalid dd {border-color: #f00}
.ap-form dl.invalid dt span {border-bottom: 2px solid #f00}
.ap-form dl.invalid .ap-form-msg {background-color: #f00; color: #fff;}
.ap-form .ap-form-input input, .ap-form .ap-form-input select {border: none; padding: 0; width: 100%; font: 14px Arial, Tahoma, sans-serif}
.ap-form .ap-paging {margin-left: 98px!important}
.ap-form-auto {font-size: 14px; position: absolute; width: 222px; top: -1px; left: 0; z-index: 2; border: 1px solid #d1d1d1; float: left; padding: 0 10px;}
.ap-form-auto li {float: left; clear: both; width: 100%}
.ap-form-auto a {padding: 0 10px; display: block; float: left; height: 1%; width: 100%; margin: 0 -10px; position: relative; text-decoration: none; color: #4d4d4d; background-color: #ffc}
.ap-form-auto a:hover {color: #fff; background-color: #007fd4}

.ap-form-info {position: absolute; color: #4d4d4d; width: 271px; height: 66px; bottom: -106px; left: 0; background: url('images/form-info.gif'); line-height: 15px; padding: 20px 30px; font-weight: normal; z-index: 1000; font-size: 12px}

/* Registration Form*/
.ap-register {font-size: 13px; float: left; width: 100%; text-align: center; color: #777}
.ap-register p {margin-bottom: 30px}
.ap-register dl {text-align: left; float: left; width: 590px; line-height: 30px; margin: 6px 0}
.ap-register dt {width: 140px; text-align: right; float: left; padding-right: 10px}
.ap-register dd {float: right; width: 440px}
.ap-register dd table td {vertical-align: top}
.ap-register dd input {vertical-align: middle;}
.ap-register dd label {margin-left: 5px}
.ap-register dd img {margin: 10px 25px 0 0}
.ap-register dd .textinput {width: 288px; border: none; height: 28px; padding: 0 5px; float: left; border: 1px solid #d1d1d1; line-height: 28px}
.ap-register dd .ap-age {width: 300px; float: left; line-height: 1px}
.ap-register dd .ap-age select {border: 1px solid #d1d1d1; height: 30px; width: 70px }
.ap-register dd .ap-age select.clear {width: 135px}
.ap-register dd em {background: #d1d1d1; float: left; width: 140px; text-align: center; color: #333}
.ap-register .ap-error input {border-color: #f00}
.ap-register .ap-error em {color: #fff; background: #f00}
.ap-register .ap-paging {margin-left: -15px; border: none; position: relative; }

/* Paging */
.ap-paging {margin: 20px auto 0; clear: both;}
.ap-paging td {width: 100%; text-align: center; font-size: 16px; padding: 0; vertical-align: middle; line-height: 1em}
.ap-paging td b, .ap-paging td a {padding: 5px 10px; position: relative; font-weight: normal; line-height: 28px; text-decoration: none}
.ap-paging td b {color: #4d4d4d; background: url('images/ap-pages.gif') no-repeat 50% 0}
.ap-paging td.ap-but {text-align: left; width: auto; background: url('images/ap-paging.gif') repeat-x 0 0 #6cba20; border: 15px solid #fff; border-width: 0 15px}
.ap-paging td.ap-but a, .ap-paging td.ap-but b, .ap-paging td.ap-but button {color: #fff; background: url('images/ap-paging-next.gif') no-repeat 100% -28px; padding: 0; display: block; height: 28px; position: static; margin: 0}
.ap-paging td.ap-but b {position: relative}
.ap-paging td.ap-but button {overflow: visible; border: 0; font: 16px Arial, Tahoma, sans-serif; cursor: pointer; width: auto!important; width: 1%}
.ap-paging td.ap-but a span, .ap-paging td.ap-but b span, .ap-paging td.ap-but button span {padding: 0 30px 0 20px; background: url('images/ap-paging-next.gif') no-repeat 0 -28px; max-height: 28px; line-height: 28px; vertical-align: middle; white-space: nowrap; display: block}
.ap-paging td.ap-but button span {float: right}
.ap-paging td.ap-but .ap-back, .ap-paging td.ap-but .ap-back span {background-image: url('images/ap-paging-back.gif')}
.ap-paging td.ap-but .ap-back span {padding: 0 20px 0 30px}
.ap-paging td.ap-disabled {background-position: 0 -29px; background-color: #c3c3c3}
.ap-paging td.ap-disabled a, .ap-paging td.ap-disabled b {background-position: 100% 0; font-weight: normal; cursor: default}
.ap-paging td.ap-disabled a span, .ap-paging td.ap-disabled b span {background-position: 0 0}

/* Tabs&Bars */
.ap-bar, .ap-tabs {float: left; background: #f2f2f2; margin: 10px 0 20px; position: relative; padding: 0 10px 0 25px; line-height: 32px; width: 645px}
.ap-bar p {float: left}
.ap-bar p b {font-weight: bold}
.ap-bar li {display: inline; margin-left: 10px}
.ap-bar .ap-view {float: right; position: relative; margin-right: 15px; display: inline}
.ap-bar .ap-view b, .ap-bar .ap-view a {font-weight: normal; margin-left: 10px}
.ap-bar .ap-view span {width: 14px; height: 11px; background: url('images/ap-view.gif') no-repeat 100% 0; position: absolute; top: 50%; margin: -5px 0 0 -18px; overflow: hidden}
.ap-tabs, .ap-tabs ul {width: 940px; padding: 0}
.ap-tabs ul {margin-left: -5px}
.ap-tabs li {width: 25%; position: relative; float: left; margin-right: -5px; color: #808080}
.ap-tabs li span {background: url('images/ap-tab1.png') no-repeat 100% 0; float: left; width: 100%; display: block}
.ap-tabs li span b {background: url('images/ap-tab1.png') no-repeat -5px -32px; float: left; height: 32px; font-size: 18px; padding: 0 5px 0 20px; font-weight: bold}
.ap-tabs .current {background: url('images/current-tab.gif') repeat-x 0 0 #979797; color: #fff}
.ap-tabs .current span {background-position: 100% -32px}
.ap-tabs .current span b {background-position: -5px 0}

/* Profile */
.ap-p {float: left; width: 100%; margin-bottom: 20px}
.ap-p .ap-bar {padding: 3px 10px 5px 5px; border-top: 1px solid #e1e1e1; width: 100%; line-height: 24px; margin-top: 0}
.ap-p .ap-bar h2 {background: url('images/ap-p-h.gif') 0 50% repeat-x #fff; margin: 0; float: left; font-size: 18px; border: 1px solid #e1e1e1; border-bottom: 0; margin-bottom: -1px; position: relative; padding: 5px 15px 5px 45px; -moz-border-radius: 5px 5px 0 0; color: #1a1a1a}
.ap-p .ap-bar h2 .ap-sex {position: absolute; margin-left: -30px; width: 30px; height: 30px; overflow: hidden; top: 50%; margin-top: -15px; line-height: 30px}
.ap-p .ap-bar input {border: 1px solid #dadada; padding: 2px 4px; color: #4d4d4d; margin-right: 5px}
.ap-p-side {width: 250px; margin-bottom: 25px; position: relative; z-index: 1}
.ap-p-main {width: 400px}
.ap-p-main .ap-s-output {border-bottom: 0}
.ap-p-main table {width: 400px; margin-left: 0}
.ap-p-main .ap-paging {width: auto; margin-left: auto}
.ap-p-foto-range {width: 320px; float: right; margin-top: 4px; display: inline; margin-right: 10px}
.slider {background: #ccc; height: 3px; position: relative; cursor: pointer; width: 200px; float: right; margin-left: 10px; border: 8px solid #fff; border-width: 8px 0}
.progress, .range {display: none}
.handle {background: #f06; border: 1px solid #f06; height: 13px; width: 6px; top: -6px; position: absolute;  cursor: move; -moz-border-radius: 2px }
.ui-slider-handle {padding: 0!important}
.disabled .slider {background-color: #f2f2f2}
.disabled .handle {background-color: #fff; border-color: #ccc}
.ap-p-foto a {float: left; padding: 5px; border: 1px solid #ccc; margin: 0 10px 10px 0; position: relative; text-decoration: none}
.ap-p-foto a.main {border-color: #f06}
.ap-p-foto a.main .a-main {display: none}
.ap-p-foto a img {float: left}
.ap-p-foto a .controls {position: absolute; left: 5px; bottom: 5px; padding: 5px 0; height: 35px; cursor: default; visibility: hidden}
.ap-p-foto a .controls span {color: #fff; margin: 0 5px; border-bottom: 1px dotted #fff; font-size: 12px; cursor: pointer; position: relative; z-index: 1}
.ap-p-foto a .controls ins {position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: #000; opacity: .5; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);}
.ap-p-foto a:hover {text-indent: 0}
.ap-p-foto a:hover .controls {visibility: visible}
.ap-p-par-m {float: left; border: 1px solid #e5e5e5; -moz-border-radius: 5px; width: 388px; padding: 0 10px 10px; margin: 0 0 25px -10px; position: relative}
.ap-p-par-m p {width: 50%; float: left; margin-top: 10px}
.ap-p-par-m p a {text-decoration: none}
.ap-p-par {float: left; width: 390px; padding-right: 10px; margin-bottom: 25px; position: relative; border-bottom: 1px dotted #ccc}
.ap-p-par h4 {margin-bottom: 10px}
.ap-p-par p {float: left; width: 100%; margin-bottom: 10px}
.ap-p-par dl {float: left; margin-bottom: 10px}
.ap-p-par dt {float: left; width: 160px; padding-right: 10px; clear: left}
.ap-p-par dd {color: #4d4d4d; float: left; width: 220px}
.ap-p-edit, .ap-p-delete {background-color: #f2f2f2; padding: 10px; margin: -10px 0 15px -10px; -moz-border-radius: 5px}
.ap-p-edit .ap-edit {display: none}
.ap-p-edit textarea {border: 1px solid #dadada; padding: 1px; position: relative; margin: 0 -2px 10px; width: 100%!important}
.ap-p-edit select, .ap-p-edit dl input {border: 1px solid #dadada; padding: 1px; margin: 1px 0; width: 150px}
.ap-p-edit fieldset {float: right; width: 220px; margin: 10px 0; display: inline; clear: both}
.ap-p-edit fieldset dl {position: relative; margin-left: -170px; display: inline}
.ap-p-edit fieldset input {vertical-align: middle; margin-right: 5px}
.ap-p-delete {background-color: #fffbe6; float: left}
.ap-p-delete dt {width: 25px; clear: left; padding-bottom: 0}
.ap-p-delete dd {width: 345px}
.ap-p-delete dd textarea {position: relative; margin: 10px 0 -10px; width: 341px; border: 1px solid #dadada; padding: 1px}
.ap-p-msg {border: 1px solid #e2e2e2; width: auto; padding: 10px 10px 0; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; position: relative}
.ap-p-msg p, .ap-p-msg blockquote {width: 378px; margin-bottom: 10px}
.ap-p-msg b {font-weight: bold}
.ap-p-msg blockquote {border-top: 1px dotted #ccc; float: left; padding-top: 10px; }
.ap-p-msg blockquote cite {font-size: 14px; display: block; margin-top: 10px}
.ap-p-msg .baloon {position: absolute; bottom: -19px; left: 30px; width: 30px; height: 19px; background: url('images/baloon.gif'); overflow: hidden}
.ap-p-msg .ap-moder {background-color: #f9f5c5; padding: 10px; font-size: 13px}
.ap-p-msg .ap-p-edit {position: relative; margin: 0; padding: 0; border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; float: left; background-color: transparent}
.ap-p-msg .ap-p-edit input {border: 1px solid #dadada; margin: 1px 0; padding: 1px;}
.ap-p-msg .ap-p-edit textarea {margin: 0; padding: 0; width: 376px!important}
.ap-p-msg .ap-edit {margin-top: -4px}
.ap-contacts {margin-bottom: 5px}
.ap-contacts dt {background: url('images/contacts.gif') no-repeat left; width: 16px; height: 16px; overflow: hidden; margin: 0 10px 5px 0; text-indent: -2000px; padding: 0}
.ap-contacts dd {margin-bottom: 5px}

/* Profile's menu */
.ap-p-menu {float: right; width: 200px; clear: right}
.ap-p-menu ul {float: left}
.ap-p-menu li {text-align: right; padding: 5px 10px 5px 0; margin-bottom: 5px; float: left; clear: both; width: 190px}
.ap-p-menu .active {background: url('images/ap-greengrad.gif') repeat-x 0 0 #6ebd00; color: #fff; -moz-border-radius: 5px}
.ap-p-menu .active b {background: url('images/ap-p-menu-act.gif') no-repeat 8px 50% !important}
.ap-p-menu .active a {color: #fff}
.ap-p-menu li ul {text-align: left; padding-left: 20px; float: none}
.ap-p-menu li li {display: inline; padding: 0; margin: 0; font-size: 12px; border-left: 1px solid #fff; padding-left: 5px; margin-left: 5px; width: auto; float: none}
.ap-p-menu li li:first-child {border-left: 0; margin: 0; padding: 0}
.ap-p-menu b {float: left; padding-left: 20px; font-weight: bold}
.ap-p-menu .ap-star {background: url('images/ap-star.gif') no-repeat 5px 50%}
.ap-p-menu b a {text-decoration: none}
.ap-p-menu strong a {color: #4d4d4d}
.ap-p-menu-cr {border-top: 1px dotted #ccc; padding: 10px 5px; margin-top: 20px; clear: both; float: left; width: 190px}
.ap-p-menu-cr form {padding-left: 15px}
.ap-p-menu-cr form p {margin-bottom: 10px}
.ap-p-menu-cr form input {border: 1px solid #dadada; padding: 3px}


/* Feedback */
.ap-feedback {position: relative; background: #f2f2f2; font-size: 15px; line-height: 17px; padding: 30px 10px 15px; width: 660px; float: left; margin: 10px 0 0}
.ap-feedback dl {margin-top: 30px; float: left}
.ap-feedback dt {float: left; clear: left; width: 170px; padding-right: 10px; text-align: right; margin-bottom: 15px; line-height: 22px}
.ap-feedback dd {font-size: 12px; float: left; width: 400px; margin-bottom: 15px}
.ap-feedback dd select, .ap-feedback dd textarea, .ap-feedback dd input {width: 100%; border: 1px solid #d1d1d1; float: left; padding: 0; margin: 0; vertical-align: middle; font-size: 16px; height: 24px}
.ap-feedback dd textarea {width: 392px!important; padding: 0 3px; height: auto}
.ap-feedback dd input {width: auto; margin-top: 5px}
.ap-feedback dd .remain {padding: 5px 15px; background-color: #d1d1d1; float: left;}
.ap-feedback dd .dotted, .ap-feedback dd button {float: left; clear: both}
.ap-feedback dd button {margin-top: 15px}
.ap-feedback dd img {margin: 0 10px 5px 0; background-color: #fff}

/* Articles */
.ap-main .ap-art {padding-bottom: 0; border-bottom: 0; margin: 0; width: auto}
.ap-art img {margin: 0 15px 12px 0 !important; float: left!important}
.ap-art div {border: 0; width: auto; padding: 15px 0 0 0; border-top: 1px dotted #d1d1d1}
.ap-art h4 {margin-bottom: -1px; background-color: #fff; position: relative; z-index: 1}
.ap-art-c {clear: both; margin: 15px 0 -1px; padding: 0 0 5px !important; border-bottom: 1px dotted #d9d9d9 !important; min-height: 105px; height: auto!important; height: 105px; border-top: none!important}
.ap-art-c h4 {margin-bottom: 10px; font-weight: bold; font-size: 14px}
.ap-art-c p {margin-bottom: 10px; margin-left: 115px}
.ap-art-big {border: none!important}
.ap-art-big h4 {background-color: transparent; position: static}
.ap-art-big p {margin-left: 0}
.ap-art-big blockquote {color: #999; font-size: 16px; font-style: italic; font-weight: bold; padding: 5px 0 15px 40px; background: url('images/ap-quote.gif') no-repeat 10px 5px}
.ap-art-big address {font-style: italic; color: #999; text-align: right; margin: 10px 0 25px}

.ap-comments {background: #f2f2f2; margin: 10px 0 20px; position: relative}
.ap-comments dl {padding: 15px 75px}
.ap-comments dt {font-weight: bold; font-size: 16px}
.ap-comments dd {margin-top: 10px}
.ap-comments dd textarea {height: 85px; width: 390px!important; border: 1px solid #ccc}

/*------------------------------------------------------------*/

.ap-side {float: left; width: 245px; position: relative}
.ap-side p {margin-bottom: 10px}
.ap-side a {text-decoration: none}
.ap-side .ap-art {padding: 0 14px 0 22px; margin: 50px 0 0; border: none}
.ap-side .ap-logo {background-image: url('images/lubovniki-logo.gif'); position: relative; width: 220px; height: 56px; overflow: hidden; white-space: nowrap; text-indent: -2000px; font-size: 1px; float: left; display: inline; margin: -18px 11px 25px;}
.ap-side .ap-style {background: url('images/ap-style.gif') no-repeat 10px 0; border-bottom: 1px dotted #ccc; padding-bottom: 30px; padding-left: 85px}

/* Search Form */
.ap-s {float: left; width: 100%; background: url('images/ap-s.gif') repeat-y 100% 0 #e5e5e5}
.ap-s form {float: left; padding-bottom: 20px; width: 100%; text-align: center; background: url('images/ap-s.gif') no-repeat 50% 100%}
.ap-s input, .ap-s label {overflow: visible; padding: 0; vertical-align: middle}
.ap-s h2 {color: #1a1a1a; text-align: left; padding: 15px 24px 12px 22px; background: url('images/ap-s.gif') no-repeat 0 0; margin: 0}
.ap-s dl {float: left; width: 199px; display: inline; padding: 0 24px 10px 22px; line-height: 22px; color: #333}
.ap-s dt {float: left; width: 60px; text-align: right}
.ap-s dd {float: right; width: 129px; text-align: left}
.ap-s dd select {width: 100%}
.ap-s dd .ap-fl-l, .ap-s dd .ap-fl-r {width: 50px}
.ap-s fieldset {float: left; width: 239px; background: url('images/ap-s-arr.gif') no-repeat 115px -4px #f5f5f5; position: relative; display: inline; margin-left: 2px}
.ap-s fieldset dl {padding: 12px 20px; border-top: 1px solid #e7e7e7; margin-top: -1px; line-height: 18px; font-size: 13px; width: 199px; overflow: hidden}
.ap-s fieldset dt {width: 189px; text-align: left; padding-right: 20px; position: relative; background: url('images/ap-s-close.gif') no-repeat 199px 50%; cursor: pointer}
.ap-s fieldset dd {background: none; width: 100%; float: left; color: #555; font-size: 11px; padding-top: 5px}
.ap-s div {float: left; border: 0 solid #fff; border-width: 0 0 1px; display: inline; width: 239px; margin: 0 0 15px 2px; padding-bottom: 15px}
.ap-s div ul {text-align: left; font-size: 11px; padding: 20px 20px 0; float: left}
.ap-s div ul li {text-decoration: underline; cursor: pointer}
.ap-s p {background: url('images/ap-s-arr.gif') no-repeat 115px 0; margin: -5px 0 0; float: left; width: 100%; position: relative; padding: 5px 0 0; z-index: 1; clear: both}
.ap-s p a {font-size: 14px; padding: 10px 0; display: block; position: relative; margin-bottom: -15px; text-decoration: underline}
.ap-s p a.ap-hide {border-top: 1px solid #fff; display: block!important}
.ap-s p input {font-size: 16px; padding: 1px 15px; margin-right: 2px}
.ap-s .ap-hide {display: none}

/* Overlay */
.ap-l {background: url('images/ap-l.png') no-repeat -568px 100% transparent !important; background: #fff; padding-bottom: 15px; width: 568px; position: absolute; top: 20%; left: 50%; margin-left: -294px; z-index: 9999; text-align: left}
.ap-l .ap-top, .ap-l .ap-bottom {background-image: url('images/ap-corners-l.png') !important; background: none;}
.ap-l .ap-paging {margin: 20px 9px 0}
.ap-l-container {background: url('images/ap-l.png') repeat-y 0 0 !important; background: none;}
.ap-l-close {color: #007fd4; line-height: 20px; margin: 0 30px -20px 0; padding-right: 20px; position: relative; z-index: 1; float: right; height: 20px; cursor: pointer; background: url('images/ap-l-close.gif') no-repeat 100% 50%}
.ap-l-h {background: url('images/ap-l.png') no-repeat 100% 0 !important; background: none; top: -15px; position: relative; padding-top: 10px}
.ap-l-h h2 {background: url('images/ap-l-header.gif') no-repeat 50% 100%; padding: 0 130px 10px 30px; margin: 0; color: #1a1a1a; font-size: 18px; line-height: 20px}
.ap-l-c {position: relative; top: -5px; margin: 0 30px; font-size: 16px; float: left; width: 508px; display: inline; overflow: hidden}
.ap-l-c .ap-tabs {margin: 0 0 10px}
.ap-l-c .ap-tabs, .ap-l-c .ap-tabs ul {width: 715px; font-size: 12px}
.ap-l-c h4 {font-weight: bold; font-size: 15px; margin: 0 0 10px}
.ap-l-vip {background: url('images/ap-l-vip.gif') no-repeat 0 0; position: relative; height: auto!important; height: 115px; min-height: 115px; padding: 30px 30px 0 155px; clear: both}
.ap-l-vip p strong {color: #804100}
.ap-l-vip dl {margin-top: 10px; font-size: 14px}
.ap-l-vip dd {margin-bottom: 5px}
.ap-l-vip dd label {margin-right: 15px}
.ap-l-upl {background-image: url('images/ap-l-upl.gif'); background-repeat: repeat-x; height: auto!important; height: 125px; min-height: 125px; padding: 20px 30px 0 30px;}
.ap-l-upl p {font-size: 13px}
.ap-l-upl .ap-l-alert {font-weight: normal; background: url('images/ap-l-alert.gif') no-repeat 0 3px; padding-left: 10px; display: inline-block}
.ap-l-upl input {width: 440px; border: 1px solid #ccc; padding: 5px 3px}
.ap-l-video {background-color: #000; color: #fff; margin: 0 auto; width: 400px; height: 300px; text-align: center}
.ap-l-video p {padding-top: 90px; font-size: 16px}
.ap-l-tabs {line-height: 30px}
.ap-l-tabs h4 {margin-bottom: 0}
.ap-l-tabs ul {float: right}
.ap-l-tabs ul li {float: left}
.ap-l-tabs ul li a {text-decoration: none; font-size: 13px; float: left; padding: 0 15px; margin-left: 5px; border-style: solid; border-width: 1px 1px 0; border-color: #e0e0e0; -moz-border-radius: 4px 4px 0 0}
.ap-l-tabs ul .current a {cursor: text; color: #4d4d4d; font-weight: bold; background-color: #f9f5c3; border-color: #f9f5c3}
.ap-l-info {background: url('images/ap-l-info.gif') no-repeat 50% 0; height: auto!important; height: 104px; min-height: 104px}
.ap-l-info a {color: #333; font-weight: bold; text-decoration: none; font-size: 14px; margin-top: 13px; display: block; text-align: right; width: 140px; height: 55px; padding: 20px 110px 0 0}
.ap-l-f {background: url('images/ap-l-f.gif') no-repeat 0 100%; padding-bottom: 18px; bottom: -4px; margin: 0 6px; position: relative; clear: both}
.ap-l-f div {background: url('images/ap-l-f.gif') no-repeat 100% 0 #fff; padding: 23px 0 0 220px; display: block}
.ap-l-f div a img {border: 3px solid #fff}
.ap-l-f .ap-l-select {color: #007fd4; font-weight: bold; position: relative; width: 120px; margin-left: -174px; padding-right: 32px; background: url('images/ap-l-select.gif') no-repeat 145px 50%; display: inline; float: left; text-align: right}
.ap-l-f-alt {margin: 0 24px; border-bottom: 1px dotted #ccc; position: relative; width: 508px}
.ap-l-f-alt td {padding-bottom: 15px; padding-right: 10px}
.ap-l-f-alt td img, .ap-l-f .ap-l-f-alt td input, .ap-l-f .ap-l-f-alt td select {vertical-align: middle}
.ap-l-f-alt td input[disabled] {border: 1px solid #d1d1d1; padding: 2px; background-color: #f2f2f2; color: #4d4d4d}
.ap-l-f-alt td select {width: 150px}
.ap-l-f-alt ul {border: 1px solid #ccc; margin-bottom: 20px; position: relative; overflow: auto; height: 315px}
.ap-l-f-alt ul li a {display: block; text-decoration: none; margin: 5px; padding: 5px 10px; height: 1%}
.ap-l-f-alt ul li a.selected {color: #fff; background-color: #999!important; cursor: default}
.ap-l-f-alt ul li a:hover {color: #fff; background-color: #007fd4}

/* Overlay - Chat */
.ap-l-scroll {position: relative; width: 480px; margin: -5px 0 0 -4px; overflow: hidden; float: left; display: inline;}
.ap-l-scroll .items {position: relative; width: 20000px}
.ap-l-scroll .items div {float: left}
.ap-l-scroll .items a {float: left; padding: 4px; border: 1px solid #e5e5e5; margin: 5px 5px 10px; position: relative; -moz-border-radius: 3px}
.ap-l-scroll .items a img {float: left; border: 1px solid #fff}
.ap-l-scroll .items .active {background: url('images/ap-l-msg.gif') repeat-x 0 0 #e5e5e5; padding: 9px 9px 14px; margin: 0; -moz-border-radius: 3px 3px 0 0 }
.ap-l .prev, .ap-l .next {width: 16px; height: 40px; cursor: pointer; z-index: 2; position: relative; float: left; display: inline; margin: 40px 15px 0 !important; background: url('images/ap-scroll.gif') no-repeat}
.ap-l .next {float: right; background-position: 100% 0}
.ap-l .disabled {visibility: hidden}
.ap-l-msg {background: url('images/ap-l-msg.gif') repeat-x 0 1px #e5e5e5; margin: 0 6px; width: 556px; float: left; display: inline}
.ap-l-msg .ap-name {padding: 20px 45px}
.ap-l-msg .ap-name b {color: #4e4e4e; font-weight: bold; font-size: 13px}
.ap-l-msg .ap-name a {text-decoration: none}
.ap-l-msg .ap-name a img {margin: 0 5px 0 0; vertical-align: middle}
.ap-l-msg .ap-name i {color: #777; display: block; font-style: normal}
.ap-l-chat {border: 1px solid #ccc; margin: 0 9px 0; background-color: #fff; padding: 0 15px 25px; margin-bottom: 5px; height: 175px; overflow: auto}
.ap-l-chat-new {background: url('images/ap-msg.gif') no-repeat 0 4px}
.ap-l-chat p {width: 345px; padding-left: 20px; margin-top: 25px; padding-right: 120px;}
.ap-l-chat p small {display: inline; text-align: right; width: 120px; float: right; margin-right: -120px; font-size: 11px; line-height: 16px; color: #999; display: inline}
.ap-l-chat p strong {display: block; color: #59b201}
.ap-l-chat p strong span {color: #f06; font-weight: normal}
.ap-l-msg textarea {margin: 5px 9px 10px; border: 1px solid #ccc; width: 526px!important; padding: 5px; overflow: auto; height: 70px}
.ap-l-msg-paging {text-align: right; margin: 0 42px}
.ap-l-msg-paging a {margin: 0 2px; text-decoration: none; border-bottom: 1px dotted #007fd4}
.ap-l-msg-paging .current {color: #f06; border: none; cursor: text}

/* Groups */
.ap-group .ap-view {width: 490px!important; height: 60px; margin-right: 0!important}
.ap-group h2 {padding-left: 15px!important; color: #007FD4!important; min-height: 50px; height: auto!important; height: 50px; width: 140px!important}
.ap-group .ap-l-scroll {position: absolute; bottom: 0; width: 410px}
.ap-group .ap-l-scroll .items a {width: 72px; position: relative; background-color: #fff; color: #4d4d4d; text-decoration: none; overflow: hidden; line-height: 1.2em; height: 35px; padding-left: 47px} 
.ap-group .ap-l-scroll .items a b {width: 500px; font-weight: bold; margin: 0; display: block}
.ap-group .ap-l-scroll .items a img {position: absolute; left: 4px; top: 3px; width: 35px; height: 35px}
.ap-group .ap-l-scroll .items .active {background-color: #e1e1e1; padding-left: 52px}
.ap-group .ap-l-scroll .items .active img {left: 9px; top: 8px}
.ap-group .prev, .ap-group .next {width: 16px; height: 40px; cursor: pointer; z-index: 2; position: relative; float: left; display: inline; margin: 7px 15px 0; background: url('images/ap-scroll.gif') no-repeat}
.ap-group .next {float: right; background-position: 100% 0}
.ap-group .disabled {visibility: hidden}


/*------------------------------------------------------------*/

.ap-footer {width: 100%; float: left; border-top: 1px solid #d9d9d9; color: #808080; padding: 15px 0; margin-top: 100px; background: url('images/footer.gif') no-repeat 100% 50%; margin-bottom: 20px; font-size: 12px}
.ap-footer ul {float: right; padding-right: 13px}
.ap-footer ul li {float: left; padding-right: 10px; margin-right: 10px; border-right: 1px solid #d9d9d9; display: inline}
.ap-footer ul li a {text-decoration: none; float: left}

}