html,body {
    height: 100%
}

/* Blur для 18+ контента */
.age-restricted-blur {
    filter: blur(15px);
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strong,sub,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

article,aside,details,figure,figcaption,footer,header,hgroup,menu,nav,section {
    display: block
}

button,input,select,textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle
}

input[type="checkbox"],input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner,input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

blockquote,q {
    quotes: none
}

small {
    font-size: 80%
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic
}

blockquote:before,blockquote:after,q:before,q:after {
    content: '';
    content: none
}

input[type="submit"],.lb label,a,.f1 ul label,.ph_lvl label {
    cursor: pointer
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

p {
    padding: 6px 0;
    line-height: 1.4em
}

#basis,header,nav,.wrap,footer,.photos_week,.wrap1,.dl1,.dl2,.photos,.pager,.photo,.user,.content1 .bc,.btns,.new_mess p,hr,.f1.f1_3,.f1.f1_3 p,.vote,.vote ul {
    float: left;
    width: 100%;
    clear: both
}

body {
    background: #fff;
    color: #333;
    font: 11px Tahoma,Arial,Helvetica,sans-serif
}

#basis {
    min-height: 100%;
    height: auto!important;
    height: 100%;
    margin: 0 auto -52px;
    min-width: 1000px;
    overflow-x: hidden
}

#push {
    clear: both;
    height: 52px
}

textarea,input {
    font-family: Tahoma,Arial,Helvetica,sans-serif;
    font-size: 12px
}

ul li {
    font-size: 11px;
    line-height: 1.5em
}

a {
    color: #3d439b;
    outline: none;
    outline: 0
}

.error {
    color: red
}

header {
    padding: 3px 0;
    border-bottom: 1px solid #e5e5e5
}

header aside {
    float: right;
    padding: 0 30px 0 0;
    width: 720px;
    text-align: right
}

#logo {
    float: left;
    margin: 10px 0 0 30px
}

nav {
    background-color: #3d439b;
    font-weight: bold;
    margin: 0;
    width: 100%
}

nav ul {
    display: flex;
    width: 100%;
    text-align: center;
    list-style-type: none;
    margin: 0;
    padding: 0
}

nav li {
    flex: 1;
    font-size: 14px;
    border-left: 1px solid #6f74b5;
    padding: 5px 0 6px;
    margin: 0;
    white-space: nowrap
}

nav li.active {
    background-color: #ffc600
}

nav a {
    color: #fff;
    display: block;
    text-align: center
}

nav a:hover {
    color: #ffc600
}

nav li.active a {
    color: #333
}

nav li.active a:hover {
    color: #333
}

nav li.active a {
    color: #333
}

table.layout {
    width: 100%;
    background: #e5e5e5;
    clear: both
}

table.layout td {
    background: #fff
}

table.layout td.left,table.layout td.right {
    width: 20%;
    background: #f9f9f9;
    vertical-align: top
}

table.layout td.center {
    vertical-align: top;
    text-align: left
}

table.layout td.common {
    vertical-align: top
}

.crops {
    padding: 5px 5px 7px 10px
}

.bg_color_1 {
    background: #3d439b;
    color: #fff
}

.bg_color_2 {
    background: #ffc600;
    color: #333
}

.bg_color_3 {
    background: linear-gradient(to bottom, #e0e0e0, #d5d5d5) repeat-x;
    color: #333;
    border-bottom: 1px solid #e5e5e5
}

.rules {
    font-size: 100%;
    font-weight: bold;
    font-style: normal;
    color: #3d439b;
    margin: 1em 0em .2em 0em
}

.ads {
    text-align: center;
    padding: 20px
}

table.pagenav {
    width: 100%;
    margin: 0 0 20px 0
}

table.pagenav td {
    font-size: 11px;
    padding: 1em 1.1em
}

table.pagenav td.pages {
    width: 80%;
    text-align: center
}

table.pagenav td.pages a:link {
    padding: .5em 1em
}

table.pagenav td.pages a:visited {
    padding: .5em 1em
}

table.pagenav td.pages a:hover {
    padding: .5em 1em
}

table.pagenav td.pages a:active {
    padding: .5em 1em;
    font-weight: bold;
    background: #ffc600
}

table.pagenav td.back {
    width: 10%;
    white-space: nowrap
}

table.pagenav td.forward {
    width: 10%;
    text-align: right;
    white-space: nowrap
}

dl.header_news {
    margin: 1em 1.4em
}

dl.header_news dt,dl.header_news dd {
    font-size: 11px
}

dl.header_news dt a {
    padding: 0 0 0 .8em
}

dl.header_news dt {
    margin: 0 0 1em 0
}

dl.header_news dd {
    margin: 0 0 1em 5.3em
}

dl.header_news dd a:link {
    color: #333;
    text-decoration: none
}

dl.header_news dd a:hover {
    color: #000;
    text-decoration: underline
}

.g {
    clear: both;
    padding: 3px 0 3px 20px
}

.photos_week i img,.best_photos_day i img,.photos img,.ph1 img,.dl1 dt img {
    -webkit-box-shadow: #404040 2px 2px 5px 0;
    -moz-box-shadow: #404040 2px 2px 5px 0;
    box-shadow: #404040 2px 2px 5px 0;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    -khtml-border-radius: 1px;
    position: relative
}

span.deleted {
    color: red
}

span.active {
    font-size: 100%;
    padding: 2px 7px 4px 7px;
    background: #ffc600
}

div.auth_error {
    font-size: 80%;
    color: #600;
    padding-left: 10px
}

.sL {
    float: left;
    width: 518px
}

.sR {
    float: right;
    width: 715px;
    position: relative
}

.bnr {
    width: 997px;
    height: 120px
}

header .sR a {
    display: block;
    width: 700px;
    height: 120px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    background: none;
    text-decoration: none
}

header .sR #photo-market-widget a {
    display: inline;
    height: auto;
    position: static;
    left: 0;
    width: auto;
    background: none
}

.phm {
    float: left;
    width: 715px
}

.phm ul {
    list-style: none;
    float: left;
    padding: 10px;
    border: 1px solid #e5e5e5
}

.phm li {
    float: left;
    width: 220px
}

.phm div {
    float: left;
    width: 74px
}

.phm div img {
    width: 74px
}

.phm span {
    float: right;
    width: 105px;
    text-align: left;
    padding-right: 25px
}

.phm span a {
    color: #8c8d8d
}

.phm span i {
    display: block;
    font-style: normal;
    color: #81b6aa
}

.wrap {
    padding: 15px 0 25px
}

.content {
    padding: 0 30px
}

.wrap1 {
    background-color: #f9f9f9
}

.inWrap1 {
    float: left;
    width: 80%
}

/* Форум - центрирование контента */
.forum-page .wrap1 .content1.cont3 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    float: none;
    padding: 20px 30px;
}

/* Форум - стили для заголовка */
.forum-page .wrap1 .content1.cont3 h1 {
    margin-bottom: 20px;
    padding: 0;
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

/* Форум - стили для таблицы */
.forum-page .wrap1 .content1.cont3 .tb2 {
    margin-top: 15px;
    border: 1px solid #e5e7eb;
    border-collapse: collapse;
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.forum-page .wrap1 .content1.cont3 .tb2 th {
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    padding: 14px 12px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    border-bottom: 2px solid #e5e7eb;
}

.forum-page .wrap1 .content1.cont3 .tb2 td {
    padding: 14px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #1f2937;
}

.forum-page .wrap1 .content1.cont3 .tb2 tr:last-child td {
    border-bottom: none;
}

.forum-page .wrap1 .content1.cont3 .tb2 tr:hover td {
    background-color: #f9fafb;
}

/* Форум - хлебные крошки */
.forum-page .wrap1 .content1.cont3 .breadcrumbs {
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6b7280;
}

.forum-page .wrap1 .content1.cont3 .breadcrumbs a {
    color: #3b82f6;
    text-decoration: none;
}

.forum-page .wrap1 .content1.cont3 .breadcrumbs a:hover {
    text-decoration: underline;
}

/* Форум - кнопки */
.forum-page .wrap1 .content1.cont3 .btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.forum-page .wrap1 .content1.cont3 .btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.wrap_l {
    float: left;
    width: 100%;
    clear: left
}

.vote ul,.content1 .vote ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.vote li {
    float: left;
    width: 33%;
    padding: 0;
    cursor: pointer;
    text-align: center
}

.vote i {
    display: block;
    height: 27px;
    background: #e3e4f4;
    border-radius: 4px;
}

.vote li:hover i {
    background-color: #d8daf4;
    background-position: 50% -81px
}

.vote b {
    display: block;
    padding: 10px 0 9px
}

.rated_h a {
    color: #fff
}

.content1.cont3 h1 {
    clear: both;
    font-size: 20px;
    padding: 10px 0 10px 1%;
    font-weight: normal;
    color: #000;
}

.sidebar_l {
    float: left;
    width: 20%;
    border-right: 1px solid #e5e5e5;
    margin-right: -1px;
    padding-bottom: 20px
}

.content1 {
    float: left;
    width: 60%;
    background-color: #fff;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    margin: 0 -1px;
    padding-bottom: 20px
}

.wrap_l .content1,.content1.cont2 {
    width: 80%
}

.content1.cont2 {
    margin-right: 0;
    border-right: 0;
    position: relative;
    left: 1px
}

.content1.cont3 {
    width: 100%
}

.content1.cont4 {
    width: 100%;
    padding-bottom: 0;
    border-bottom: 1px solid #e5e5e5
}

.sidebar_r {
    float: left;
    width: 20%;
    padding-bottom: 20px;
    border-lef: 1px solid #e5e5e5;
    margin-lef: -1px;
    margin-top: 15px
}

.content1 p {
    padding: 10px 18px;
    clear: left
}

.sidebar_l article {
    padding: 10px
}

.content1 ul.btns,.btns {
    padding: 15px 0;
    list-style-type: none;
    margin: 0
}

.btns li {
    float: left;
    width: 49%;
    text-align: center;
    margin: 0
}

.f1 {
    padding: 15px 10px
}

.f1.f1_3 {
    padding: 15px 0 20px 0;
    background-color: #f9f9f9;
    margin-top: -10px
}

.f1 p {
    padding: 2px 0
}

.f1 ul label input {
    border: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0
}

.f1.f1_2 label {
    display: block;
    padding-bottom: 3px;
    cursor: pointer
}

.f1 input,.btns input,.sbmt input {
    width: 120px;
    padding: 4px 8px;
    margin-bottom: 3px;
    font: 12px Tahoma;
    border: 1px solid #dbdfe6
}

.f1 input,.btns input,.new_mess textarea,.sbmt input,.new_mess p input,.f1.f1_3 textarea {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    position: relative
}

.f1.f1_3 ul,.content1 .f1.f1_3 ul {
    margin: 0;
    padding: 0 0 10px 100px;
    list-style-type: none
}

.f1.f1_3 ul li {
    display: inline;
    padding-right: 30px
}

.f1.f1_3 p label {
    float: left;
    width: 70px;
    padding: 3px 0 0 26px
}

.comment {
    font-size: 12px;
    margin: .2em 1em 0 1em;
    padding: .5em 0 .5em 1.5em
}

.hnd {
    padding: 10px
}

.comment aside img,.hnd img,.comment p a img,.comment div.visible img {
    position: relative;
    top: 3px;
    margin: 0 2px 0 3px
}

.comment p,.content1 .comment p {
    padding: 5px 0 0;
    margin: 0;
    font-size: 16px
}

.comment em:hover i {
    visibility: visible
}

.comment aside.invisible {
    display: none
}

hr {
    color: #e5e5e5;
    background-color: #e5e5e5;
    border: 0px;
    height: 1px;
    margin: 10px 0
}

.f1 input.submit,.btns input,.sbmt input {
    width: auto;
    padding: 3px 12px;
    border-color: #abadb3;
    background-color: #f0f0f0
}

.f1 input.submit:hover,.btns input:hover,.sbmt input:hover,.f1 input[type="submit"]:hover {
    background-color: #eaeaea
}

.sidebar_l .f1 ul {
    list-style: none;
    margin-left: 0;
    padding: 0
}

.f1 ul input,.f1 .lb_rem input,.lb input {
    width: auto;
    padding: 0;
    position: relative;
    top: 2px;
    margin-right: 6px
}

.ul1,.stat,.sidebar_l ul.ul1 {
    padding: 11px 15px 13px 25px;
    margin: 0
}

.ul1 li a.active {
    color: #333;
    font-weight: bold;
    background-color: #ffc600;
    padding: 2px 5px;
    border-radius: 3px;
}

.rr {
    padding: 15px 15px 5px 15px
}

.rr a,.ul1 li,.sidebar_l ul.ul1 li {
    display: block;
    padding: 2px 0 2px 12px;
    position: relative;
}

.rr a:before,.ul1 li:before,.sidebar_l ul.ul1 li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3d439b;
}

.ul1 li {
    background-position: 0 7px
}

.dl1 dt {
    float: left;
    width: 100px;
    clear: left;
    position: relative;
    padding: 11px 0
}

.dl1 dt span {
    float: left;
    width: 49px;
    text-align: center
}

.dl1 dt img {
    float: left
}

.dl1 dd {
    float: left;
    width: 100%;
    margin-left: -100px;
    border-top: 1px solid #e5e5e5;
    padding: 11px 0
}

.dl1 dd div {
    padding: 0 20px 0 111px
}

.dl1 dd p {
    padding: 2px 0
}

.dl1 dd b {
    display: block;
    margin-top: -4px
}

.dl2 {
    padding-top: 10px
}

.dl2 dt {
    float: left;
    width: 64px;
    padding: 8px 0 8px 18px;
    position: relative
}

.dl2 dd {
    float: left;
    width: 100%;
    margin-left: -82px;
    padding: 8px 0
}

.dl2 dd div {
    padding: 0 15px 0 87px
}

.dl2 dd div div {
    padding: 0
}

.dl2 dd p {
    padding: 5px 0
}

.dl2 dd h6 {
    font-size: 11px;
    padding: 0
}

.ph1 {
    padding: 25px 12px;
    text-align: center
}

.ph1 span {
    display: block;
    padding-top: 2px
}

.ph1 img {
    display: inline-block;
    max-width: 90%;
    height: auto;
}

.ph1 a,.photos a {
    color: #333
}

.ph1 a em,.photos a em,.photos p a {
    font-style: normal;
    color: #3d439b
}

.cat th,.cat td {
    padding: 4px;
    border: 1px solid #fff
}

.cat th {
    text-align: left;
    font-weight: normal;
    background-color: #f5f5f5;
    width: 49%;
    padding-left: 22px
}

.cat td {
    background-color: #f9f9f9;
    width: 10%;
    text-align: center;
    color: #3d439b
}

.cat th a {
    color: #000
}

.photos,.content1 .photos {
    text-align: center;
    width: 100%;
    margin: 0;
    border-left: 1px solid #e5e5e5;
    list-style: none;
    padding: 0
}

.photos li,.content1 .photos li {
    float: left;
    width: 25%;
    padding: 25px 0 0 0;
    height: 245px;
    border-top: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-left: -1px;
    text-align: center
}

.photos li img,.content1 .photos li img {
    display: inline-block;
    max-width: 90%;
    height: auto;
}

.photos.phot2 li {
    height: 175px
}

.photos span {
    display: block
}

.photos p {
    padding: 0
}

.photos_week,.best_photos_day {
    text-align: center;
    margin-top: 1px;
    border-bottom: 1px solid #e5e5e5
}

.photos_week li {
    float: right;
    width: 20%;
    height: 257px;
    border-left: 1px solid #e5e5e5;
    margin-right: -1px;
    list-style-type: none;
    text-align: center
}

.best_photos_day li {
    float: left;
    width: 25%;
    height: 257px;
    border-right: 1px solid #e5e5e5;
    margin-left: -1px;
    list-style-type: none;
    text-align: center
}

.photos_week ul div {
    background: linear-gradient(to bottom, #f0f0f0, #e5e5e5) repeat-x;
    border-bottom: 1px solid #e5e5e5;
    font-weight: bold;
    padding: 5px 0;
    margin-right: 1px
}

.best_photos_day ul div {
    background: linear-gradient(to bottom, #f0f0f0, #e5e5e5) repeat-x;
    border-bottom: 1px solid #e5e5e5;
    font-weight: bold;
    padding: 5px 0;
    margin-left: 1px
}

.photos_week ul i,.best_photos_day ul i {
    display: block;
    font-style: normal;
    padding-top: 25px
}

.photos_week ul i img,.best_photos_day ul i img {
    display: inline-block;
    max-width: 90%;
    height: auto;
}

.photos_week ul b,.best_photos_day ul b {
    display: block;
    color: #000
}

.best_photos_day {
    float: left;
    width: 100%
}

.tb1 td img {
    border-radius: 3px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    background: none;
    padding: 10px 0;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #3d439b;
}

.pagination a:hover {
    background: #3d439b;
    border-color: #3d439b;
    color: #fff;
}

.pagination span.active {
    background: #3d439b;
    border: 1px solid #3d439b;
    color: #fff;
    font-weight: bold;
}

.pagination span.disabled {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.best_photos_day h5 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.best_photos_day h5 a img {
    width: auto;
    height: auto;
}

.btn-photo-day {
    display: block;
    padding: 8px 14px;
    margin: 0 10px 10px 10px;
    background: linear-gradient(to bottom, #4a50ab, #3d439b);
    color: #fff !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    white-space: nowrap;
}

.btn-photo-day:hover {
    background: linear-gradient(to bottom, #3d439b, #2d3280);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.best_photos_day li {
    width: 25%
}

.best_photos_day-empty {
    width: 100%;
    clear: both;
}

.online-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
    position: relative;
}

.online-indicator.online {
    background: #dcfce7;
    color: #166534;
}

.online-indicator.offline {
    background: #f3f4f6;
    color: #6b7280;
}

.online-indicator.online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1s infinite;
    flex-shrink: 0;
}

.online-indicator.online-site::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1s infinite;
    flex-shrink: 0;
    margin-left: 4px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.sidebar_l ul,.content1 ul {
    list-style-type: disc;
    margin-left: 40px;
    padding: 15px 10px 5px 0
}

.sidebar_l ul li,.content1 ul li {
    padding: 3px 0
}

.sidebar_l ul.ul2 {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #fff
}

.sidebar_l ul.ul2 li {
    border-top: 1px solid #fff;
    padding: 4px 5px 4px 22px
}

.sidebar_l ul.ul2 a {
    color: #333
}

.user {
    padding: 15px 0
}

.user dt {
    float: left;
    width: 120px;
    padding: 7px 0 0 13px;
    text-align: center;
    position: relative
}

.user dd {
    float: left;
    width: 100%;
    margin-left: -133px
}

.user .inU {
    margin-left: 167px
}

.user dt span {
    display: block
}

.user th {
    text-align: left;
    font-weight: normal;
    padding: 3px 0
}

.user td {
    font-weight: bold;
    padding: 3px 5px 3px 32px
}

.ph_lvl,.content1 .ph_lvl {
    clear: both;
    margin: 0;
    padding: 10px;
    list-style: none
}

.ph_lvl li,.content1 .ph_lvl li {
    display: inline;
    padding-left: 10px
}

.ph_lvl input {
    margin-right: 5px;
    position: relative;
    top: 2px
}

.ph_lvl label:hover {
    color: #000
}

.ph_lvl span#process {
    color: #900
}

.ta_r {
    text-align: right;
    clear: both;
    padding: 20px 10px
}

.pg_l {
    float: left;
    width: 80px;
    position: relative
}

.pg_r {
    float: right;
    width: 80px
}

.pager {
    list-style-type: none;
    padding: 20px 0;
    margin: 0;
    text-align: center
}

.pager li {
    display: inline;
    margin: 0;
    font-size: 105%
}

.pager a,.pager li.active {
    padding: 1px 5px
}

.pager ul,.content1 .pager ul {
    float: left;
    width: 100%;
    margin: 0 -80px;
    text-align: center;
    padding: 0
}

.pager ul li,.content1 .pager ul li {
    display: inline
}

.pager a {
    padding: 4px 12px
}

.pager li.active a {
    background-color: #ffc600;
    color: #000
}

.pager.pager2 ul {
    margin: 0
}

.tb1,.tb2 {
    width: 100%
}

.tb1 th,.tb1 td {
    padding: 7px 10px 7px 15px
}

.tb1 th {
    text-align: left;
    font-weight: bold
}

.tb1 th.number {
    width: 12px
}

.tb1 td {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5
}

.tb1 tr.trbg td {
    background-color: #f9f9f9
}

.tb1 td img {
    margin-right: 5px;
    position: relative;
    top: 1px
}

.tb2 th,.tb2 td {
    text-align: left;
    vertical-align: middle
}

.tb2 th {
    padding: 7px;
    background: linear-gradient(to bottom, #f5f5f5, #e5e5e5) repeat-x;
    border-bottom: 1px solid #e5e5e5
}

.tb2 td {
    border-bottom: 1px dashed #e5e5e5;
    padding: 9px 7px
}

.tb2 b,.tb2 small {
    display: block;
    font-size: 100%
}

.tb2 b {
    font-size: 12px
}

.tb2 td.td1 {
    text-align: center
}

.auth {
    width: 260px;
    margin: 0 auto;
    padding-top: 50px
}

.auth h5 {
    display: none;
    visibility: hidden
}

.content1 .auth p {
    padding: 4px 0
}

.auth .f1 {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    position: relative
}

.tb2.tb2_2 p {
    padding: 7px 0
}

.tb2.tb2_2 td.td_a {
    width: 150px;
    padding-left: 15px;
    border-right: 1px dashed #e5e5e5;
    font-size: 11px
}

.tb2.tb2_2 td.td_a div {
    text-align: center
}

.tb2.tb2_2 td.td_a span {
    display: block
}

.tb2.tb2_2 th {
    padding: 7px 15px
}

.tb2.tb2_2 td {
    vertical-align: top;
    padding: 9px 15px;
    font-size: 12px
}

.tb2.tb2_2 td p.z {
    font-size: 11px
}

.about {
    background-color: #fff
}

.about dt {
    padding: 7px 0;
    text-align: center
}

.about table {
    width: 100%
}

.about table th,.about table td {
    padding: 7px 0 7px 10px;
    text-align: left;
    border-top: 1px solid #f5f5f5;
    vertical-align: top
}

.about table td {
    padding: 7px
}

.photo {
    padding-bottom: 34px;
    position: relative
}

.photo #holdr {
    position: absolute;
    left: 20px;
    top: 36px
}

.photo aside {
    text-align: center;
    width: 617px;
    margin: 0 auto;
    position: relative;
    top: 20px
}

.photo i {
    padding: 3px 5px;
    cursor: pointer;
    font-style: normal
}

.photo i:hover {
    outline: 1px solid red
}

.new_mess {
    width: 643px;
    clear: both;
    margin: 20px auto 0;
    height: 361px;
    border: 1px solid #e5e5e5;
    background-color: #f9f9f9
}

.new_mess h6 {
    background-color: #e5e5e5;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold
}

.new_mess p,.content1 .new_mess p {
    padding: 12px 0 0 0
}

.new_mess label {
    float: left;
    width: 100px;
    padding: 3px 0 0 10px
}

.new_mess textarea,.new_mess p input,.f1.f1_3 textarea {
    border: 1px solid #e5e5e5;
    background-color: #fff
}

.new_mess textarea,.f1.f1_3 textarea {
    float: right;
    width: 500px;
    height: 245px;
    margin-right: 10px;
    padding: 7px
}

.new_mess.nm2 textarea {
    height: 211px
}

.f1.f1_3 textarea {
    height: 100px;
    float: left
}

.f1.f1_3 input[type="submit"] {
    margin: 10px 0 0 96px;
    clear: both
}

.f1.f1_3 textarea:focus,.f1.f1_3 input[type="submit"]:focus {
    border-color: #c3c3c3
}

.new_mess p input {
    float: left;
    width: 300px;
    margin-left: 7px;
    padding: 2px 7px
}

.new_mess aside {
    text-align: right;
    clear: both;
    padding: 6px 10px 0 0
}

.new_mess .sbmt {
    text-align: center
}

.lb {
    padding: 15px 0 0 96px;
    clear: both
}

.instruments {
    background: #fff
}

.instruments td {
    padding: 3px 6px;
    background: #e3e3e3;
    color: #2d2d2d;
    font: bold 11px Tahoma
}

.cntr {
    padding: 15px 0;
    text-align: center
}

.content1 .bc {
    list-style: none;
    padding: 10px 1%;
    width: 98%;
    margin: 0;
    font-size: 13px
}

.content1.cont3 .bc {
    padding-bottom: 0
}

.content1 .bc li {
    display: inline;
    padding: 0 2px;
    margin: 0
}

.content1 .bc a {
    margin-right: 4px
}

h5,.h5_1,.content1 h2,.content1 h5,.photo h1,.sidebar_l h5.h5_2 {
    background-color: #3d439b;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 11px;
    clear: both;
    text-align: left;
    background-image: none
}

.h5_1.h5_2 {
    margin-top: 20px
}

.sidebar_r h5,.sidebar_l h5,.h5_1,.content1 h2,.photo h1,.content1 h5.h5_1 {
    color: #333;
    background: linear-gradient(to bottom, #f0f0f0, #e5e5e5) repeat-x 0 100%;
    border-bottom: 1px solid #e5e5e5
}

header aside,.ya {
    font-size: 13px!important
}

footer {
    border-top: 4px solid #3d439b;
    height: 31px;
    padding: 8px 0 9px;
    font-size: 11px
}

.fl {
    float: left;
    width: 270px;
    position: relative;
    padding: 10px 0 0 30px;
    color: #888
}

footer code {
    float: left;
    width: 94%;
    margin: 0 -180px 0 -270px;
    text-align: center
}

.fr {
    float: right;
    width: 150px;
    padding: 0 30px 0 0;
    color: #888
}

.fr a {
    display: block
}

footer a {
    color: #888
}

a:hover,.pager a,.photos_week i a:hover b,.content1 a,.ph1 a:hover em,.photos a:hover em,.photos p a,.about a,footer a:hover,a:hover,.best_photos_day ul a:hover b,.phm span a:hover {
    text-decoration: underline
}

a,.pager a:hover,nav a,nav a:hover,footer a,.best_photos_day a,.photos_week i a:hover,.content1 a:hover,.ph1 a:hover,.photos a,.photos p a:hover,.pager li.active a,.about a:hover,.rated_h a {
    text-decoration: none
}

.dl1 a,.dl1 a:hover {
    text-decoration: none
}

/* Убрать подчеркивание ссылок в комментариях под фото */
.comments-section a,.comments-section a:hover {
    text-decoration: none
}

/* Убрать подчеркивание ссылок в таблице информации о фото */
.photo-info-table a,.photo-info-table a:hover {
    text-decoration: none
}

/* Убрать подчеркивание ссылок в рейтинге авторов */
.tb1 a,.tb1 a:hover {
    text-decoration: none
}

/* Убрать подчеркивание ссылок в блоке "Контактная информация" */
.sidebar_l h5 + ul a,
.sidebar_l h5 + ul a:hover {
    text-decoration: none
}

/* Убрать подчеркивание ссылок в блоке "Сейчас на сайте" */
.h5_1 + p a,
.h5_2 + p a,
.h5_1 + p a:hover,
.h5_2 + p a:hover {
    text-decoration: none
}

/* Убрать подчеркивание ссылок в блоке "Другие способы связи" на странице контактов */
.content1 h3 + ul a,
.content1 h3 + ul a:hover {
    text-decoration: none
}

@media screen and (min-width: 979px) and (max-width:1024px) {
    header aside {
        width:730px
    }

    .sL {
        float: left;
        width: 0
    }

    .sR {
        width: 667px
    }
}

@media screen and (min-width: 1023px) and (max-width:1280px) {
    header aside {
        width:740px
    }

    .sL {
        float: left;
        width: 0
    }

    .sR {
        width: 680px
    }
}

@media screen and (min-width: 1281px) and (max-width:1365px) {
    header aside {
        width:860px
    }

    .sL {
        float: left;
        width: 0
    }

    .sR {
        width: 680px
    }
}

@media screen and (min-width: 1367px) and (max-width:1919px) {
    header aside {
        width:1110px
    }

    .sL {
        float: left;
        width: 0
    }

    .sR {
        width: 715px
    }
}

/* Стили для страницы просмотра фото */
.photo-view {
    background-color: #f9f9f9;
}

.photo-main-wrapper {
    padding: 20px 0;
}

.photo-main-wrapper::after {
    content: '';
    display: table;
    clear: both;
}

/* Фото по центру */
.photo-display-section {
    float: left;
    width: 100%;
    padding: 0;
    text-align: center;
}

.photo-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
}

.photo-container img {
    max-width: 100%;
    max-height: 70vh; /* Ограничиваем высоту 70% от экрана */
    width: auto;
    height: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    object-fit: contain; /* Сохраняем пропорции */
}

#ipad {
    margin: 0;
    padding: 20px;
    width: 100%;
    min-width: 100%;
    display: block;
    background-color: #ffffff;
    transition: background-color 0.3s;
}

#panel {
    margin: 10px 0;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
    text-align: center;
}

.photo-tools table {
    margin: 0 auto;
    border-collapse: collapse;
}

.photo-tools td {
    padding: 3px 8px;
    font-size: 11px;
    color: #333;
}

.photo-tools i {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 2px;
    cursor: pointer;
    border: 1px solid #ccc;
    vertical-align: middle;
    line-height: 18px;
    text-align: center;
    font-size: 14px;
}

.photo-tools .tool-btn {
    display: inline-block;
    padding: 3px 8px;
    margin: 0 2px;
    font-size: 11px;
    color: #333;
    background: #e0e0e0;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
}

.photo-tools .tool-btn:hover {
    background: #d0d0d0;
}

/* Две колонки: рейтинг/инфо и комментарии */
.photo-bottom-grid {
    float: left;
    width: 100%;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.photo-sidebar {
    flex: 0 0 300px;
    padding: 0;
}

.photo-info-sidebar {
    background: #fff;
    padding: 15px;
    border: 1px solid #e5e5e5;
}

.photo-info-sidebar h5 {
    margin-top: 15px;
}

.photo-info-sidebar h5:first-child {
    margin-top: 0;
}

.photo-info-table {
    width: 100%;
    border-collapse: collapse;
}

.photo-info-table th,
.photo-info-table td {
    padding: 5px 8px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.photo-info-table th {
    width: 40%;
    font-weight: bold;
    background: #f5f5f5;
    font-size: 11px;
}

.photo-info-table td {
    font-size: 11px;
}

.exif-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: 1px solid #ddd;
    min-width: 200px;
}

.exif-table td {
    padding: 6px 10px !important;
    text-align: left !important;
    border-bottom: 1px solid #ddd !important;
    font-size: 11px !important;
    overflow-wrap: break-word;
}

.exif-table td:first-child {
    color: #888;
    font-weight: 500;
    font-size: 10px !important;
    white-space: nowrap;
    vertical-align: top;
    border: 1px solid #ddd !important;
    background: #f5f5f5;
    width: 50% !important;
}

.exif-table td:first-child.exif-label-wrap {
    white-space: normal;
}

.exif-table td:nth-child(2) {
    color: #333;
    font-weight: 600;
    font-size: 11px !important;
    word-break: break-word;
    vertical-align: top;
    border: 1px solid #ddd !important;
    width: 55% !important;
}

.comments-section {
    flex: 1;
    background: #fff;
    padding: 15px;
    border: 1px solid #e5e5e5;
}

.h5_title {
    background: #e5e5e5;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 10px;
}

.comment {
    padding: 10px 15px;
    margin: 10px 0;
    background: #f9f9f9;
    border-radius: 4px;
}

.comment p {
    margin: 5px 0 0;
    padding: 0;
    font-size: 16px;
}

.comment--with-variant {
    border-left: 3px solid #3d439b;
}

.comment--active-variant {
    background: #e8e8ff;
}

.comment-suggest-block {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.comment-suggest-block textarea {
    width: 100%;
    min-height: 100px;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.comment-suggest-block .help-text {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
}

.comment-actions {
    margin-top: 10px;
}

.comment-actions button {
    padding: 6px 12px;
    margin-right: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 3px;
    color: #555;
    font-size: 18px;
}

.comment-actions button.comment-report {
    font-size: 12px;
}

.comment-actions button:hover {
    background: #f0f0f0;
}

.comment-actions button.secondary {
    background: #e8e8ff;
    border-color: #3d439b;
}

/* Вложенные комментарии */
.comment-thread {
    margin-bottom: 10px;
}

.comment-replies {
    margin-left: 30px;
    margin-top: 10px;
}

.comment-reply {
    background: #f0f0f0;
    margin-left: 20px;
}

.reply-link {
    color: #007bff;
    font-weight: normal;
}

.reply-form {
    margin-top: 10px;
    margin-left: 20px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.reply-form textarea {
    width: 100%;
    min-height: 80px;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Адаптив для страницы фото */
@media (max-width: 900px) {
    .photo-bottom-grid {
        flex-direction: column;
    }
    
    .photo-sidebar {
        flex: none;
        width: 100%;
    }
}
\"#notifications-dropdown { text-align: left !important; } #notifications-dropdown * { text-align: left !important; } #notifications-dropdown a { text-align: left !important; } #notifications-dropdown p { text-align: left !important; } #notifications-dropdown h4 { text-align: left !important; }\" 
