#dynPhoto {
 padding: 0 10px;
}
#photoModalWrap, #photoModalWrap td {
 font: 12px/1.5 'Arial';
 color: #5d5d5d;
}
#photoModalWrap a {
 color: #20a7fd;
}
#photoModalWrap a:hover {
 color: #027fcf;
}
#photoModalWrap hr {
 margin: 5px 0;
 border: 0;
 height: 2px;
 overflow: hidden;
 background: url(./../../img/photopage/hr.png) repeat-x;
}
#photoModalWrap .uphoto-entry {
 margin-bottom: 20px;
}
#photoModalWrap input[type=text], #photoModalWrap input[type=password], #photoModalWrap textarea {
 vertical-align: middle;
 height: 24px;
 margin: 3px 0;
 padding: 2px 5px;
 *padding: 0px;
 font-family: 'Tahoma', 'Arial';
 font-size: 13px;
 line-height: 18px;
 color: #000;
 background: #fff;
 border: 1px solid #dcdcdc;
 box-shadow: inset 0 1px 0 1px rgba(0, 0, 0, 0.03);
 outline: none;
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
}
#photoModalWrap input[type=text]:focus, #photoModalWrap input[type=password]:focus, #photoModalWrap textarea:focus {
 border-color: #9c9c9c;
}
#photoModalWrap textarea {
 padding: 3px 5px;
 height: auto;
 overflow: auto;
 resize: none;
}
#photoModalWrap .securityCode {height: auto !important;}
#photoModalWrap #message {
 width: 100%;
 height: 100px !important;
}
#photoModalWrap input[type=button], #photoModalWrap input[type=submit], #photoModalWrap input[type=reset], #photoModalWrap .button, #photoModalWrap select {
 position: relative;
 display: inline-block;
 vertical-align: middle;
 min-width: 20px;
 padding: 0 10px;
 text-align: center;
 text-decoration: none !important;
 font: 13px/31px 'Verdana', 'Arial';
 height: 31px;
 color: #777 !important;
 text-shadow: 0 1px 0 #fffcf6;
 border: 1px solid #aaa;
 border-radius: 3px;
 background-color: #fff;
 background-image: -webkit-linear-gradient(bottom, rgba(85,85,85,.1), rgba(255,255,255,.1));
 background-image: -moz-linear-gradient(bottom, rgba(85,85,85,.1), rgba(255,255,255,.1));
 background-image: -o-linear-gradient(bottom, rgba(85,85,85,.1), rgba(255,255,255,.1));
 background-image: -ms-linear-gradient(bottom, rgba(85,85,85,.1), rgba(255,255,255,.1));
 background-image: linear-gradient(to top, rgba(85,85,85,.1), rgba(255,255,255,.1));
 box-shadow: inset 0 0 1px #fff;
 *display: inline; /*--FOR-IE--*/
 overflow: visible;
 zoom: 1; /*--FOR-IE--*/
 cursor: pointer;
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
}
#photoModalWrap select {height: auto !important;}
#photoModalWrap ::-moz-focus-inner {
 border: 0;
 padding: 0;
}
#photoModalWrap input[type=button]:hover, #photoModalWrap input[type=submit]:hover, #photoModalWrap input[type=reset]:hover, #photoModalWrap .button:hover {background-color: #fafafa;}
#photoModalWrap input[type=button]:active, #photoModalWrap input[type=submit]:active, #photoModalWrap input[type=reset]:active, #photoModalWrap .button:active {background-color: #fafafa;box-shadow: inset 0 1px 2px rgba(0,0,0,.17);}
#photoModalWrap .codeButtons {
 min-width: 20px;
 margin: 2px 1px !important;
 padding: 1px 4px !important;
 width: auto !important;
 height: auto !important;
 line-height: 1.4 !important;
}
#photoModalWrap .cBlock1, #photoModalWrap .cBlock2, #photoModalWrap .cBlock1 td, #photoModalWrap .cBlock2 td {
 font-size: 11px;
 font-family: 'Tahoma', 'Arial';
}
#photoModalWrap .cTop {
 border: 0;
}
#photoModalWrap .cBlock1, #photoModalWrap .cBlock2, #photoModalWrap .cMessage {
 border: 0 !important;
 background: none !important;
}
#photoModalWrap .cBlock1, #photoModalWrap .cBlock2 {
 border-top: 1px solid #e9edf1 !important;
}
#photoModalWrap .cMessage a:first-child img {
 margin: 0 5px 2px;
}
#photoModalWrap #addform, #photoModalWrap .commTable, #photoModalWrap .smiles {
 margin: 0 !important;
 background: none !important;
 border: 0 !important;
}
#mphoto-addcmt {
 margin-top: 22px;
}

#mphoto-addcmt-btn.photo-comment-open-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 160px;
 height: 44px;
 margin: 0 0 16px;
 padding: 0 20px;

 color: #ffffff !important;
 background: #ea1c1c !important;
 border: 1px solid #ea1c1c !important;
 border-radius: 7px;

 font-family: "Open Sans", Arial, sans-serif;
 font-size: 14px;
 font-weight: 700;
 line-height: 1;
 text-decoration: none !important;
 text-shadow: none !important;

 box-shadow: 0 5px 14px rgba(234, 28, 28, 0.2);
 transition:
 background 0.2s ease,
 border-color 0.2s ease,
 transform 0.2s ease;
}

#mphoto-addcmt-btn.photo-comment-open-btn:hover {
 color: #ffffff !important;
 background: #111111 !important;
 border-color: #111111 !important;
 transform: translateY(-1px);
}

.photo-comment-login-notice {
 padding: 16px;
 color: #555555;
 background: #fafafa;
 border: 1px solid #e5e7eb;
 border-radius: 8px;
 text-align: center;
}

.photo-comment-login-links {
 margin-top: 8px;
}

.photo-comment-login-links a {
 color: #ea1c1c;
 font-weight: 700;
 text-decoration: none;
}

.photo-comment-login-links span {
 margin: 0 7px;
 color: #aaaaaa;
}

@media only screen and (max-width: 600px) {
 #mphoto-addcmt-btn.photo-comment-open-btn {
 width: 100%;
 }
}
/* =========================================
 FOTO GALEREYA KARTASI
========================================= */

.h-photo-card {
 width: 100%;
 min-width: 0;
 overflow: hidden;
 background: #ffffff;
 border: 1px solid #e5e7eb;
 border-radius: 10px;
 box-sizing: border-box;
 box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
 transition:
 transform 0.25s ease,
 box-shadow 0.25s ease;
}

.h-photo-card:hover {
 transform: translateY(-4px);
 box-shadow: 0 9px 22px rgba(0, 0, 0, 0.13);
}


/* ---------- RASM ---------- */

.h-photo-mtr {
 position: relative;
 width: 100%;
 overflow: hidden;
 background: #eeeeee;
 aspect-ratio: 1 / 1;
}

.h-photo-image-link {
 display: block;
 width: 100%;
 height: 100%;
 color: inherit;
 text-decoration: none;
}

.h-photo-image {
 display: block;
 width: 100% !important;
 height: 100% !important;
 margin: 0 !important;
 padding: 0 !important;
 object-fit: cover;
 object-position: center;
 border: 0 !important;
 transition: transform 0.35s ease;
}

.h-photo-card:hover .h-photo-image {
 transform: scale(1.045);
}


/* ---------- MODERATOR PANELI ---------- */

.h-photo-moder {
 position: absolute;
 top: 8px;
 right: 8px;
 z-index: 5;
}


/* ---------- RASM MA’LUMOTLARI ---------- */

.h-photo-info {
 padding: 12px 13px 13px;
}

.h-photo-name {
 display: -webkit-box;
 min-height: 40px;
 margin: 0 0 10px !important;
 padding: 0;
 overflow: hidden;
 font: 700 14px/1.4 "Open Sans", Arial, sans-serif;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 2;
}

.h-photo-name a {
 color: #171717;
 text-decoration: none;
}

.h-photo-name a:hover {
 color: #ea1c1c;
}


/* ---------- STATISTIKA ---------- */

.h-photo-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 5px 12px;
 padding-top: 9px;
 color: #777777;
 border-top: 1px solid #eeeeee;
 font: 400 11px/1.4 "Open Sans", Arial, sans-serif;
}

.h-photo-meta span {
 display: inline-flex;
 gap: 4px;
 align-items: center;
}

.h-photo-meta strong {
 color: #444444;
 font-weight: 700;
}


/* ---------- MOBIL ---------- */

@media only screen and (max-width: 600px) {
 .h-photo-card {
 border-radius: 8px;
 }

 .h-photo-info {
 padding: 10px;
 }

 .h-photo-name {
 min-height: auto;
 font-size: 13px;
 }

 .h-photo-meta {
 gap: 4px 9px;
 font-size: 10px;
 }
}

@media (prefers-reduced-motion: reduce) {
 .h-photo-card,
 .h-photo-image {
 transition: none;
 }

 .h-photo-card:hover {
 transform: none;
 }

 .h-photo-card:hover .h-photo-image {
 transform: none;
 }
}
/* =========================================
 FOTO SAHIFASI — QO‘SHIMCHA DIZAYN
========================================= */


/* ---------- BREADCRUMBS ---------- */

.photo-breadcrumbs {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 align-items: center;
 margin: 0 0 22px;
 padding: 12px 15px;
 color: #7a7a7a;
 background: #fafafa;
 border: 1px solid #e8e8e8;
 border-radius: 8px;
 font-size: 12px;
 line-height: 1.5;
}

.photo-breadcrumbs a {
 color: #333333;
 text-decoration: none;
}

.photo-breadcrumbs a:hover {
 color: #ea1c1c;
}

.photo-breadcrumbs > span[aria-hidden="true"] {
 color: #aaaaaa;
}

.photo-breadcrumb-current {
 min-width: 0;
 overflow: hidden;
 color: #777777;
 text-overflow: ellipsis;
 white-space: nowrap;
}


/* ---------- FOTO SARLAVHASI ---------- */

.photo-entry-header {
 margin-bottom: 18px;
}

.photo-etitle {
 margin: 0 0 10px;
 color: #171717;
 font-size: clamp(22px, 3vw, 30px);
 line-height: 1.3;
 overflow-wrap: anywhere;
}

.photo-edescr {
 color: #666666;
 font-size: 14px;
 line-height: 1.7;
}

.photo-edescr:empty {
 display: none;
}


/* ---------- FOTO BLOKI ---------- */

#u-photos .photo-block {
 width: 100%;
 overflow: hidden;
 background: #ffffff;
 border: 1px solid #e5e7eb;
 border-radius: 10px;
 box-sizing: border-box;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

#u-photos .ph-wrap {
 position: relative;
 width: 100%;
 overflow: hidden;
 background: #111111;
 text-align: center;
}

#u-photos .ph-wrap img {
 display: block;
 width: auto;
 max-width: 100%;
 height: auto;
 margin: 0 auto;
 border: 0;
}


/* ---------- TO‘LIQ HAJMDAGI RASM ---------- */

.photo-fullsize-link {
 display: inline-flex;
 flex-wrap: wrap;
 gap: 5px 8px;
 align-items: center;
 justify-content: center;
 margin: 10px;
 padding: 8px 12px;
 color: #ffffff !important;
 background: rgba(0, 0, 0, 0.78);
 border-radius: 6px;
 text-decoration: none !important;
 font-size: 12px;
}

.photo-fullsize-link:hover {
 color: #ffffff !important;
 background: #ea1c1c;
}

.photo-fullsize-link strong {
 font-size: 11px;
 font-weight: 600;
 opacity: 0.8;
}


/* ---------- STATISTIKA ---------- */

.photo-edetails {
 display: flex;
 flex-wrap: wrap;
 gap: 8px 18px;
 align-items: center;
 margin: 0;
 padding: 12px 15px;
 color: #666666;
 border-top: 1px solid #eeeeee;
 border-bottom: 1px solid #eeeeee;
}

.photo-edetails2 {
 display: flex;
 flex-wrap: wrap;
 gap: 8px 14px;
 align-items: center;
 justify-content: space-between;
 padding: 12px 15px;
 color: #777777;
 font-size: 12px;
}

.photo-edetails2 a {
 color: #ea1c1c;
 font-weight: 700;
 text-decoration: none;
}


/* ---------- MODERATOR PANELI ---------- */

.photo-moder-panel {
 display: block;
 margin: 12px 0;
 white-space: nowrap;
}


/* ---------- YAQIN RASMLAR ---------- */

.photo-slider {
 margin: 25px 0;
 padding: 15px;
 overflow: hidden;
 background: #fafafa;
 border: 1px solid #e8e8e8;
 border-radius: 9px;
}


/* ---------- IZOH BO‘LIMI ---------- */

.photo-comments-section {
 margin-top: 30px;
 padding-top: 25px;
 border-top: 1px solid #e5e7eb;
}

.photo-comments-header {
 display: flex;
 gap: 15px;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 18px;
}

.photo-comments-title {
 margin: 0;
 color: #222222;
 font-size: 18px;
 line-height: 1.4;
}

.photo-comments-title strong {
 color: #ea1c1c;
}

.photo-comments-pagination {
 min-width: 0;
}

.photo-comments-list {
 width: 100%;
}

.photo-comments-pagination-bottom {
 margin: 18px 0;
 text-align: center;
}


/* ---------- KIRISH XABARI ---------- */

.photo-comment-register {
 margin-top: 20px;
 padding: 18px;
 color: #555555;
 background: #fafafa;
 border: 1px solid #e5e7eb;
 border-radius: 8px;
 text-align: center;
}

.photo-comment-register p {
 margin: 0;
}

.photo-comment-register-links {
 margin-top: 9px;
}

.photo-comment-register-links a {
 color: #ea1c1c;
 font-weight: 700;
 text-decoration: none;
}

.photo-comment-register-links span {
 margin: 0 8px;
 color: #aaaaaa;
}


/* ---------- MOBIL ---------- */

@media only screen and (max-width: 700px) {
 .photo-breadcrumbs {
 margin-bottom: 16px;
 padding: 10px 12px;
 font-size: 11px;
 }

 .photo-comments-header {
 flex-direction: column;
 align-items: flex-start;
 }

 .photo-edetails2 {
 flex-direction: column;
 align-items: flex-start;
 }

 .photo-slider {
 margin: 18px 0;
 padding: 10px;
 }
}
/* ==================================================
 UZIGABEK — FOTO MODULI YAKUNIY QO‘SHIMCHALAR
================================================== */


/* ==================================================
 SECTION VA CATEGORY SAHIFALARI
================================================== */

.photo-section-header,
.photo-category-header {
 margin: 0 0 22px;
}

.photo-section-title,
.photo-category-title {
 margin: 0;
 color: #171717;
 font-family: "Open Sans", Arial, sans-serif;
 font-size: clamp(24px, 3vw, 32px);
 line-height: 1.3;
 font-weight: 700;
 overflow-wrap: anywhere;
}

.photo-section-description,
.photo-category-description {
 margin-top: 13px;
 padding: 15px 18px;
 color: #606060;
 background: #fafafa;
 border: 1px solid #e8e8e8;
 border-left: 4px solid #ea1c1c;
 border-radius: 7px;
 font-size: 14px;
 line-height: 1.7;
}

.photo-section-description:empty,
.photo-category-description:empty {
 display: none;
}

.photo-section-description p:first-child,
.photo-category-description p:first-child {
 margin-top: 0;
}

.photo-section-description p:last-child,
.photo-category-description p:last-child {
 margin-bottom: 0;
}


/* ==================================================
 RASMLAR SONI VA TOOLBAR
================================================== */

.photo-section-toolbar {
 display: flex;
 gap: 15px;
 align-items: center;
 justify-content: space-between;
 margin: 0 0 20px;
 padding: 11px 14px;
 color: #666666;
 background: #ffffff;
 border-top: 1px solid #e7e7e7;
 border-bottom: 1px solid #e7e7e7;
 font-size: 12px;
}

.photo-section-count {
 min-width: 0;
}

.photo-section-count strong {
 margin-left: 3px;
 color: #ea1c1c;
 font-size: 14px;
 font-weight: 700;
}


/* ==================================================
 SECTION, CATEGORY VA BODY KONTEYNERLARI
================================================== */

.photo-section-entries,
.photo-section-categories,
.photo-section-body,
.photo-category-content {
 display: block;
 width: 100%;
 min-width: 0;
}

.photo-section-entries #uEntriesList,
.photo-section-categories #uEntriesList,
.photo-section-body #uEntriesList,
.photo-category-content #uEntriesList {
 width: 100%;
 min-width: 0;
 margin: 0;
}

.photo-category-content .h-photo-in {
 width: 100%;
 min-width: 0;
}


/* ==================================================
 FOTO GRID
================================================== */

.h-photo-in #uEntriesList {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 20px;
 width: 100%;
 margin: 0;
 padding: 0;
 overflow: visible;
 list-style: none;
}

.h-photo-in #uEntriesList > .uEntryWrap {
 float: none !important;
 display: block !important;
 width: auto !important;
 min-width: 0;
 max-width: none !important;
 height: 100%;
 margin: 0 !important;
 padding: 0 !important;
 box-sizing: border-box;
}

.h-photo-in #uEntriesList > .uEntryWrap > .entryBlock {
 display: block !important;
 width: 100% !important;
 height: 100%;
 margin: 0 !important;
 padding: 0 !important;
}


/* ==================================================
 PAGINATION
================================================== */

.photo-section-pagination,
.photo-category-pagination {
 min-width: 0;
 font-size: 0;
}

.photo-section-pagination-top {
 text-align: right;
}

.photo-section-pagination-bottom,
.photo-category-pagination {
 width: 100%;
 margin: 24px 0 5px;
 text-align: center;
}

.photo-pagination-label {
 display: inline-block;
 margin: 0 6px 0 0;
 color: #777777;
 font-size: 12px;
 vertical-align: middle;
}

.photo-section-pagination a,
.photo-section-pagination b,
.photo-category-pagination a,
.photo-category-pagination b {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 34px;
 min-height: 34px;
 margin: 3px;
 padding: 5px 10px;
 box-sizing: border-box;
 border-radius: 5px;
 font-size: 12px;
 line-height: 1;
 text-decoration: none;
}

.photo-section-pagination a,
.photo-category-pagination a {
 color: #555555;
 background: #f2f2f2;
 border: 1px solid #e5e5e5;
}

.photo-section-pagination a:hover,
.photo-category-pagination a:hover {
 color: #ffffff;
 background: #ea1c1c;
 border-color: #ea1c1c;
 text-decoration: none;
}

.photo-section-pagination b,
.photo-category-pagination b {
 color: #ffffff;
 background: #171717;
 border: 1px solid #171717;
}


/* ==================================================
 FOTO QO‘SHISH VA TAHRIRLASH FORMASI
================================================== */

#addEntForm .form-fields {
 display: grid;
 grid-template-columns: minmax(150px, 28%) minmax(0, 1fr);
 gap: 12px 16px;
 width: 100%;
 margin: 0;
 padding: 0;
 list-style: none;
 box-sizing: border-box;
}

#addEntForm .form-fields > li {
 min-width: 0;
 margin: 0;
 padding: 0;
}

#addEntForm .form-fields > li > label,
#addEntForm .xPhtBlock > li > label {
 display: block;
 padding-top: 10px;
 color: #333333;
 font-size: 13px;
 line-height: 1.4;
 font-weight: 700;
}

#addEntForm .form-fields > .notcolumn,
#addEntForm .xPhtBlock > .notcolumn {
 grid-column: 1 / -1;
}

#addEntForm .form-separator {
 margin: 3px 0 !important;
}

#addEntForm .form-separator hr {
 height: 1px;
 margin: 5px 0;
 overflow: hidden;
 background: #e5e7eb;
 border: 0;
}


/* Dinamik foto bloki */

#addEntForm .allPhotoCont {
 width: 100%;
}

#addEntForm .xPhtBlock {
 display: grid;
 grid-template-columns: minmax(150px, 28%) minmax(0, 1fr);
 gap: 12px 16px;
 width: 100%;
 margin: 0 0 15px;
 padding: 16px;
 list-style: none;
 background: #fafafa;
 border: 1px solid #e5e7eb;
 border-radius: 9px;
 box-sizing: border-box;
}

#addEntForm .xPhtName {
 color: #222222;
 font-size: 15px;
}

#addEntForm .xPhtAction {
 display: flex;
 justify-content: flex-end;
}

#addEntForm .xPhtAction span {
 display: inline-flex;
 gap: 6px;
}

#addEntForm .xPhtAction button {
 width: 34px;
 height: 34px;
 padding: 0;
 background-color: #ffffff;
 border: 1px solid #d9dde3;
 border-radius: 6px;
 cursor: pointer;
}

#addEntForm .xPhtAction button:hover {
 border-color: #ea1c1c;
}


/* Forma maydonlari */

#addEntForm input[type="text"],
#addEntForm input[type="password"],
#addEntForm input[type="email"],
#addEntForm input[type="url"],
#addEntForm input[type="file"],
#addEntForm select,
#addEntForm textarea {
 width: 100%;
 max-width: 100%;
 min-height: 42px;
 margin: 0;
 padding: 9px 11px;
 color: #222222;
 background: #ffffff;
 border: 1px solid #d9dde3;
 border-radius: 7px;
 outline: none;
 box-sizing: border-box;
 font-family: "Open Sans", Arial, sans-serif;
 font-size: 14px;
}

#addEntForm textarea {
 min-height: 110px;
 resize: vertical;
}

#addEntForm input:focus,
#addEntForm select:focus,
#addEntForm textarea:focus {
 border-color: #ea1c1c;
 box-shadow: 0 0 0 3px rgba(234, 28, 28, 0.1);
}

#addEntForm input[type="checkbox"],
#addEntForm input[type="radio"] {
 width: auto;
 min-height: 0;
}


/* Yana rasm qo‘shish tugmasi */

#newPhtBtDiv {
 text-align: center;
}

#newPhtBt {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 46px !important;
 height: 46px !important;
 padding: 0 !important;
 color: #ffffff !important;
 background: #ea1c1c !important;
 border: 1px solid #ea1c1c !important;
 border-radius: 50% !important;
 font-size: 25px !important;
 line-height: 1 !important;
 font-weight: 600;
 text-shadow: none !important;
 cursor: pointer;
}

#newPhtBt:hover {
 color: #ffffff !important;
 background: #111111 !important;
 border-color: #111111 !important;
}


/* Forma pastidagi tugmalar */

.photo-form-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 align-items: center;
 justify-content: center;
 margin-top: 22px;
 padding-top: 20px;
 border-top: 1px solid #e5e7eb;
}

.photo-form-actions input,
.photo-form-actions button,
.photo-form-actions .button,
.photo-form-actions a {
 display: inline-flex !important;
 align-items: center;
 justify-content: center;
 min-width: 145px;
 min-height: 44px;
 margin: 0 !important;
 padding: 0 20px !important;
 border-radius: 7px !important;
 font-family: "Open Sans", Arial, sans-serif !important;
 font-size: 14px !important;
 line-height: 1 !important;
 font-weight: 700 !important;
 text-decoration: none !important;
 text-shadow: none !important;
 cursor: pointer;
}

.photo-form-actions input[type="submit"],
.photo-form-actions button[type="submit"] {
 color: #ffffff !important;
 background: #ea1c1c !important;
 border: 1px solid #ea1c1c !important;
}

.photo-form-actions input[type="submit"]:hover,
.photo-form-actions button[type="submit"]:hover {
 color: #ffffff !important;
 background: #111111 !important;
 border-color: #111111 !important;
}

.photo-form-actions input[type="button"],
.photo-form-actions input[type="reset"],
.photo-form-actions .button,
.photo-form-actions a {
 color: #444444 !important;
 background: #f2f2f2 !important;
 border: 1px solid #dddddd !important;
}

.photo-form-actions input[type="button"]:hover,
.photo-form-actions input[type="reset"]:hover,
.photo-form-actions .button:hover,
.photo-form-actions a:hover {
 color: #ffffff !important;
 background: #555555 !important;
 border-color: #555555 !important;
}


/* ==================================================
 FOTO MODAL — IZOH YUBORISH TUGMASI FIX
================================================== */

#photoModalWrap #forma_comment input.kn_dobavit {
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;

 width: auto !important;
 min-width: 180px !important;
 height: 46px !important;

 margin: 0 !important;
 padding: 0 24px !important;

 color: #ffffff !important;
 -webkit-text-fill-color: #ffffff !important;

 background: #ea1c1c !important;
 background-image: none !important;

 border: 1px solid #ea1c1c !important;
 border-radius: 7px !important;

 font-family: "Open Sans", Arial, sans-serif !important;
 font-size: 14px !important;
 line-height: 1 !important;
 font-weight: 700 !important;
 text-transform: none !important;

 text-decoration: none !important;
 text-shadow: none !important;

 opacity: 1 !important;
 filter: none !important;
 appearance: none !important;
 -webkit-appearance: none !important;

 cursor: pointer;

 box-shadow: 0 5px 14px rgba(234, 28, 28, 0.22) !important;
}

#photoModalWrap #forma_comment input.kn_dobavit:hover {
 color: #ffffff !important;
 -webkit-text-fill-color: #ffffff !important;

 background: #111111 !important;
 background-image: none !important;
 border-color: #111111 !important;

 text-shadow: none !important;
 transform: translateY(-1px);

 box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2) !important;
}


/* ==================================================
 RESPONSIVE
================================================== */

@media only screen and (max-width: 1024px) {
 .h-photo-in #uEntriesList {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 16px;
 }
}

@media only screen and (max-width: 700px) {
 .photo-section-header,
 .photo-category-header {
 margin-bottom: 17px;
 }

 .photo-section-title,
 .photo-category-title {
 font-size: 23px;
 }

 .photo-section-description,
 .photo-category-description {
 padding: 12px 14px;
 font-size: 13px;
 }

 .photo-section-toolbar {
 flex-direction: column;
 gap: 10px;
 align-items: flex-start;
 margin-bottom: 15px;
 }

 .photo-section-pagination-top {
 width: 100%;
 text-align: left;
 }

 .photo-pagination-label {
 display: block;
 margin: 0 0 6px;
 }

 #addEntForm .form-fields,
 #addEntForm .xPhtBlock {
 grid-template-columns: minmax(0, 1fr);
 gap: 7px;
 }

 #addEntForm .form-fields > .notcolumn,
 #addEntForm .xPhtBlock > .notcolumn {
 grid-column: 1;
 }

 #addEntForm .form-fields > li > label,
 #addEntForm .xPhtBlock > li > label {
 padding-top: 4px;
 }

 .photo-form-actions {
 flex-direction: column;
 align-items: stretch;
 }

 .photo-form-actions input,
 .photo-form-actions button,
 .photo-form-actions .button,
 .photo-form-actions a {
 width: 100% !important;
 }

 #photoModalWrap #forma_comment input.kn_dobavit {
 width: 100% !important;
 min-width: 0 !important;
 }
}

@media only screen and (max-width: 520px) {
 .h-photo-in #uEntriesList {
 grid-template-columns: minmax(0, 1fr);
 gap: 14px;
 }
}

@media (prefers-reduced-motion: reduce) {
 .photo-section-pagination a,
 .photo-category-pagination a,
 #newPhtBt,
 .photo-form-actions input,
 .photo-form-actions button,
 .photo-form-actions a {
 transition: none !important;
 }
}