
.grid-photos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
/* Navigation */
.pagi-nav {line-height:40px; text-align:center; font-size:18px; padding:15px 2000px 10px 2000px; margin:40px -2000px 0 -2000px; 
    background-color:#4a596e; color:#000;}
    .pagi-nav > span {display:inline-block;}
    .pprev, .pnext {}
    .pnext a, .pprev a {display:block; width:40px; text-align:center; border-radius:20px; background-color:#d7e1ef;}
    .navigation {padding:0 20px; display: flex; justify-content: center;}
    .navigation a, .navigation span {display:inline-block; padding:0 5px; min-width:40px; margin:0 10px 5px 0; 
    background-color:#d7e1ef; border-radius:20px; box-shadow:2px 2px 2px 0 rgba(0,0,0,0.4);}
    .navigation span {background-color:#fed233;}
    .pagi-nav a:hover {background-color:#fed233; color:#000;}
    .navigation span.nav_ext {}
    .dle-comments-navigation .pagi-nav {margin-bottom:0; padding-bottom:20px;}
    .full-inner .pagi-nav {padding:15px 20px 10px 20px; margin:40px -20px 0 -20px !important;}
    
    /* errors */
    .berrors {background: #fce5ba; color: #a76846; margin: 0 0 20px 0; padding: 10px 20px;}
    .berrors a { color: #aa4e43; text-decoration:underline; }
    
    /* Votes */
    .vote-box {}
    .vote-title {font-size:18px; line-height:21px; margin-bottom:20px;}
    .vote {margin-bottom:10px;}
    .vote:after {content: ""; display: table; clear: both;}
    .vote input {display:none;}
    .vote label {position:relative;}
    .vote label:before { content:""; float:left; margin:1px 10px 0 0; cursor:pointer; 
    width:16px; height:16px; border-radius:8px; background-color:#e3e3e3;}
    .vote input:checked + label:before {box-shadow:inset 0 0 0 3px #e3e3e3; background-color:#00a69c;}
    .vote label:hover {cursor:pointer; color:#00a69c;}
    .vcount {margin-top:10px;}
    
    .vote-buts {padding:10px 0 0 0;}
    .vote-buts button {float:left;}
    .votebuts button:hover {opacity:0.8;}
    .vvote {margin-right:8px;}
    .vres, .vall {width:auto; background:#f6f6f6 !important; margin-left:10px; color:#2a2a2a;}
    .vres:hover, .vall:hover {background:#f0f0f0 !important;}
    .vote-buts i {color:#2a2a2a;}
    
    /* Content-other */
    #pollbox { border-bottom: 1px dashed #E3E3E3; padding-bottom: 22px }
    #dle-poll-list, #searchtable, .pm_status { padding: 20px; border-radius: 6px; background-color:#f0f0f0; }
    
    /*---BB CODES ---*/
    .bbcodes,.bbcodes_poll,{ margin:10px 10px 0 0;}
    .bbcodes_poll{width:100px}
    .fbutton {margin-right:10px;}
    
    /* forms */
    #addcoment-dialog form { margin: 0 }
    .tableform { width: 100%; }
    .tableform td, .tableform th { border-top: 1px dotted #ebebeb; padding: 10px 0; text-align: left; }
    .tableform tr:first-child td, .tableform tr:first-child th { border: 0 none; }
    .tableform th, .tableform .label, .tableform .addnews { width: 25%; font-weight: normal; vertical-align: top; padding-right: 10px; padding-top: 8px; }
    .imp::after { color: #e46950; content: "*"; font-weight: bold; }
    
    .recipient select { width: 298px; }
    .checkbox { color: #787878; padding: 4px 0; line-height: 1em; }
    .checkbox input { margin-top: -2px; vertical-align: middle; }
    
    textarea { resize: vertical; }
    .f_textarea, textarea.ui-corner-all { width: 96.7%; }
    .fieldtr select, .f_textarea, .f_input, .xfields textarea, .xprofile textarea, .tdfield select, .lfield input, 
    .editor input[type="text"], #category, textarea.ui-corner-all, .pm select,
    .xfields input, .xprofile input, .xfields select, .xprofile select, .mass_comments_action select, 
    .bbeditor select, .textin, select.rating { padding: 4px; background: #f7f7f7; border:1px solid #ccc;}
    
    .fieldtr select:focus, .pm select:focus, .textin:focus, .f_textarea:focus, .f_input:focus, .xfields textarea:focus, 
    .xprofile textarea:focus, .editor input[type="text"]:focus, #category:focus, textarea.ui-corner-all:focus, 
    .tdfield select:focus, .lfield input:focus, .xfields input:focus, .xprofile input:focus, .xfields select:focus, 
    .xprofile select:focus, .mass_comments_action select:focus, .bbeditor select:focus {background: #fff;}
    
    .form-wrap {}
    .form-title {text-align:left; padding:0 15px 20px 15px;}
    .form-title h1 { font-size:24px;}
    .form-wrap > div {border-top:1px dashed #CCC;} 
    .form-wrap > div:nth-child(2n) {background-color:#f6f6f6;}
    .form-wrap select {border:1px solid #ccc; background-color:#fff;}
    .sep-input {padding:10px 10px 10px 170px;}
    .label {float:left; width:150px; margin-left:-160px;}
    .input {float:right; width:100%; position:relative;}
    .label label {display:block; height:40px; line-height:40px; font-weight:bold; font-size:14px;}
    .impot {color:#E90206; margin-right:5px;}
    .input input, .xfields input {display:block; width:100%; max-width:550px; height:38px; line-height:38px; padding:0 15px;
    color:#000000; background-color:#fff; border:1px solid #ccc; border-radius:3px;}
    .input input:focus {background-color:#ffffff; border-color:#04a2dc; box-shadow:0 0 10px 0 rgba(4,162,220,0.5);}
    .input select {width:100%; max-width:400px;}
    .sep-textarea, .sep-vote-rel, .sep-xfield, .sep-checks {padding:10px;}
    .textarea-title {height:40px; line-height:40px; padding:0 20px; background-color:#1D3242; color:#FFF; font-size:16px;}
    .sep-textarea textarea, .vote-textarea, #category {width:100% !important;}
    .radio {height:25px; line-height:25px;}
    .radio input {float:left; display:inline-block; margin-right:0px; width:25px; height:25px; line-height:25px;}
    .sep-title {padding:0 20px; font-size:16px; background-color:#1D3242; color:#FFF; height:40px; line-height:40px;}
    .add-findrel, .add-votebut {display:block !important; width:50%; height:40px !important; line-height:40px !important; 
    padding:0 10px !important; text-align:center; border-radius:0 !important;
    float:left; background-color:#fec007; color:#000 !important; font-size:16px !important;}
    .findrelated {background: #ffc; border:1px solid #9E9E9E; padding: 5px; margin: 10px 0;}
    .sep-xfield .addnews {vertical-align:middle;}
    .sep-xfield input { display:inline-block; width:300px !important; height:38px !important; padding:0 15px !important;}
    .sep-checks input#allow_main { margin-left:50px; }
    .sep-checks label, #allow_subscribe + label { display:inline-block; line-height:30px; margin-left:10px; position:relative; top:1px;}
    .sep-submit {padding:30px 10px;}
    .secur .label label { background-color:#CF0003; position:relative; color:#fff; text-align:center; font-size:14px;}
    .sec-label {margin-bottom:10px; font-weight:bold; font-size:14px;}
    .secur .input input {margin-bottom:20px;}
    .sec-capcha input {float:left; max-width:150px; margin-right:10px;}
    #dle-captcha {display:inline-block;}
    .register-check {position:absolute; right:0; top:0; width:120px !important; font-size:11px !important; padding:0 !important; text-align:center; 
    border-radius:0 5px 5px 0 !important; height:38px !important; line-height:38px !important;}
    .full-text.sep-textarea {margin:0; padding:10px !important;}
    
    /* Userinfo */
    .user-prof {border:1px solid #ddd; background-color:#fff; margin-bottom:20px;}
    .up-first {padding:30px 170px 0 150px; position:relative; background:#4a596e; color:#FFF; height:100px; z-index:20;}
    .up-img {width:100px; height:100px; border-radius:3px; border:5px solid #FFF; box-shadow:2px 2px 5px 0 rgba(0,0,0,0.2); 
    position:absolute; left:30px; bottom:-30px;}
    .up-first h1 {font-size:18px; font-weight:700; margin-bottom:10px;}
    .up-group span {color:#fff !important; font-weight:700;}
    .up-status {text-align:center; width:100px; position:absolute; left:30px; bottom:-73px;}
    .offline, .online {padding: 5px 10px; display:inline-block; 
    color: #fff; background-color: #626262; border-radius:3px;}
    .online {background:#99ce1b;}
    .up-second {height:100px; background-color:#f6f6f6; padding:20px 30px 20px 150px;}
    .up-second li {width:23%; display:flex; flex-direction:column; justify-content:center; text-align:center; font-weight:700;}
    .up-second li p {font-weight:400; font-size:12px; text-transform:uppercase; margin-top:10px;}
    .up-second li:first-child {border-right:1px solid #ddd;}
    .up-second li a {padding:0 10px; line-height:36px !important;}
    .up-third {padding:0 30px; background: linear-gradient(to bottom, #fff 0px,#fff 50px, #f6f6f6 51px, #f6f6f6 100px); 
    background-repeat:repeat; background-size:100px 100px; 
    border-bottom:1px solid #e3e3e3; border-top:1px solid #e3e3e3; box-shadow:inset 0 5px 5px -5px rgba(0,0,0,0.2);}
    .up-third li {padding:0 20px 0 0; width:48%; display:inline-block; line-height:50px; 
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
    .up-third li a {text-decoration:underline; color:#06c;}
    .up-edit {padding:20px;}
    .up-edit a {padding:0 10px; line-height:36px !important; display:block; text-align:center;}
    
    .user-popup {padding:20px 0; position:relative; margin:-20px;}
    .upop-left {width:28%; float:left; position:relative; z-index:50; text-align:center;}
    .upop-left .up-img {position:static; display:block; margin:0 auto 10px auto;}
    .upop-right {width:72%; float:right;}
    .upop-right li {padding:5px 0;}
    
    
    @media screen and (max-width: 1220px) {
    .up-second {height:auto; padding:10px 30px 10px 150px;}
    .up-second li {width:48%; padding:5px 0; border:0 !important;}
    .up-third li {padding:0; width:100%;}
    }
    @media screen and (max-width: 760px) {
    .up-first {padding:20px 10px; height:auto; text-align:center;}
    .up-img {position:static; margin:10px auto;}
    .up-status {position:static; margin:0 auto;}
    .up-second, .up-edit {padding:20px 10px;}
    .up-third {padding:0 10px;}
    }
    
    
    /* search */
    .search-page {margin-bottom:20px;}
    .searchstyle { width: 480px }
    .search { padding: 0 }
    #searchtable, #searchtable td { vertical-align: top; text-align: left }
    #searchtable fieldset { font-size: 11px; border: 1px solid #d7d7d7; padding: 10px; text-align: left; 
    margin: 0 4px 4px 0 !important; border-radius: 6px }
    fieldset legend { font-size: 11px; font-weight: bold; color: #696969; }
    #searchtable table, #searchtable form { margin: 0; width:100%;}
    #searchtable select { background-color: #fff }
    #searchuser, #searchinput { width: 90% !important; }
    .search > div {margin-bottom:10px;}
    .search input[type="text"], .search select {display:block; width:100% !important; margin-bottom:10px;}
    .search input[type="checkbox"], .search input[type="radio"] {margin-right:5px;}
    #searchinput + br, #searchinput + br + br {display:none;}
    
    .sres-wrap {background-color:#fff; display:block; padding:15px 15px 15px 230px; border:1px solid #e3e3e3; position:relative;}
    .sres-wrap:nth-child(2n) {background-color:#f6f6f6;}
    .sres-wrap:hover {z-index:100; border-color:#04a2dc; box-shadow:0 0 10px 0 rgba(4,162,220,0.5);}
    .sres-img {float:left; margin-left:-215px; width:200px; position:relative;}
    .sres-img img {width:100%;}
    .sres-text { float:right; width:100%; color:#000;}
    .sres-text h2 {font-size:16px; color: #CF151E; margin-bottom:20px; display:block;}
    .sres-date {position:absolute; left:0; top:0; padding:10px; background-color:rgba(0,0,0,0.7); color:#FC0;}
    
    /* statistics */
    .statistics ul.stat-list { min-height: 71px; margin-left: -1px; width: 33.3% }
    .statistics ul.stat-list li { clear: both; padding: 0 15px 0 1px; margin-bottom: 10px }
    .statistics h4 { font-weight: bold; border-bottom: 1px solid #E2E2E2; margin-bottom: .5em; padding-bottom: .6em }
    .statsbox li { border-top: 1px dotted #ebebeb; padding: 8px 0 }
    .statsbox li:first-child { border-top: 0 none }
    
    /* PM */
    .pm_menu {margin-bottom: 10px; height: 42px;}
    .pm_menu li { float: left }
    .pm_menu a {padding: 0 15px; background: #f5f5f5; color: #444; margin-right: 10px; height: 40px; line-height: 40px; display:block;}
    .pm_menu a:hover {background:#0297dc; color: #fff !important;}
    .pm .navigation {display:none;}
    
    .pm_status { margin-bottom:40px }
    .pm_status_head { border-bottom: 1px solid #E3E3E3; font-size: 0.9em; height: 22px; padding: 0; font-weight: bold; text-align: center; color: #4e4e4e }
    .pm_progress_bar { border-radius: 4px; border: 1px solid #d8d8d8; background-color: #fff; padding: 4px; margin-top: 10px; margin-bottom: 10px }
    .pm_progress_bar span { border-radius: 2px; background: #fb643c; font-size: 0; text-indent: -2000em; height: 10px; display: block; overflow: hidden }
    
    .pm-lists {}
    .pm, .userstop {border:1px solid #ccc;}
    .pm tr td, .userstop tr td {padding:10px; border:1px solid #ccc; font-size:12px; }
    .pm tr:nth-child(1) {background-color:#0297dc !important; color:#FFF;font-size:18px !important;}
    .pm tr:nth-child(2n+2), .userstop tr:nth-child(2n+2) {background-color:#f9f9f9;}
    .pm select {width:100%; margin-bottom:10px;}
    
    @media screen and (max-width: 490px) {
    .form-title h1 {font-size:16px;}
    .sep-input {padding:10px !important;}
    .label, .input {float:none; width:100%; margin-left:0;}
    .add-findrel, .add-votebut, .textarea-title {font-size:12px !important;}
    .sres-wrap {padding:15px;}
    .sres-img {float:none; margin-left:0; width:100%;}
    .sres-text { float:none; width:100%; color:#f0f0f0; padding:10px;
    position:absolute; left:0; bottom:0; background-color:rgba(0,0,0,0.7);}
    .sres-text h2 {color: #fff; margin-bottom:0;}
    .sres-desc {display:none;}
    .user-main {padding:30px;}
    .u-avatar {width:100px; float:none; margin:0 auto 0 auto; padding:0 0 20px 0;}
    .u-name {float:none; text-align:center;}
    .offline, .online { margin:0 auto;}
    .user-info div, .user-connect div {width:100%; border-right:0; border-bottom:1px dashed #d8d8d8;}
    }
    
    
    
    
    
    
    
    
    #dle-pm-preview .bform { display: none; }
    
    /*--- AJAX---*/
    #loading-layer {display: block;background-color: #000;background-color: rgba(0,0,0,0.5);z-index:8888 !important;
    position: fixed;top: 0; left: 0; right: 0; bottom: 0;width: 100%; height: 100%; text-indent: -9999px;overflow: hidden;white-space: nowrap;}
    #loading-layer:before, #loading-layer:after {content: "";border-radius: 50%;background-color: #7db625;position: absolute;left: 50%; top: 50%;}
    #loading-layer:before {width: 100px; height: 100px;margin: -50px 0 0 -50px;}
    #loading-layer:after {width: 40px; height: 40px;background-color: #cd3560;margin: -20px 0 0 -20px;}
    #loading-layer:before {animation: load1 1s infinite ease;}
    #loading-layer:after {animation: load2 1s infinite -0.32s ease;}
    @keyframes load1 {0%, 80%, 100% { transform: scale(1,1); } 40% { transform: scale(.6,.6); }}
    @keyframes load2 {0%, 80%, 100% { transform: scale(1,1); } 40% { transform: scale(.5,.5); }}
    
    /*--- QUOTES ---*/
    .scriptcode, .title_spoiler, .text_spoiler { padding: 3px 5px; background: #f0f0f0; border: 1px solid #e3e3e3; }
    .title_quote { margin-top: 2px; font-weight: bold; }
    .quote { margin: 5px 0 5px 10px; padding: 15px; border-left: 4px solid #4e8ccc;
     font-family: Georgia, serif; font-style: italic; color: #000; background-color:#f5f5f5 }
    .title_spoiler { margin-top: 2px; }
    .text_spoiler { margin-bottom: 2px; }
    .title_spoiler img { vertical-align: middle !important; margin:0 5px 0 0; border:0;}
    .scriptcode { color: #4c6d0f; text-align: left; font-family: "Courier New" }
    .title_spoiler { font-weight: normal; }
    .text_spoiler { border-top: 0; text-align: justify; }
    .hide { background-color: #f0f0f0; padding: 5px; color: #000; margin: 0 0 1em 0 }
    .hide a { text-decoration: underline; } 
    .hide a:hover { text-decoration: none }
    .inhide { border: 1px solid #d1e3ef; padding: 5px; background-color: #fff; margin-bottom: 5px }
    
    /*--- CALENDAR---*/
    .calendar { font-size:12px; width: 100%; color:#444; }
    .calendar td, .calendar th { padding: 7px 0; vertical-align: middle; text-align: center; }
    .calendar td.day, .calendar td.day-active-v, .calendar th.workday { border: 1px solid #e9e9e9; background-color: #fff; }
    .calendar td.weekday, .calendar td.day-active, .calendar th.weekday { border: 1px solid #e3e3e3; background-color: #f6f6f6; }
    .weekday-active-v, .day-active-v, .weekday-active, .day-active { font-weight: bold; }
    .day-active a, .day-active-v a {color:#94bee6;}
    .calendar td.day-current { background: #94bee6; }
    .day-current a, .day-current { color: #fff !important; }
    
    th.monthselect { text-align: left; padding-bottom:5px; }
    th.monthselect b { font-weight: normal; }
    th.monthselect center { text-align: right; }
    
    
    /*--- RATING ---*/
    .unit-rating {list-style: none; margin:0; padding: 0; width: 100%; height: 100%;
    position: relative; background: url("../dleimages/rating.png") repeat-x;}
    .unit-rating li {text-indent: -90000px; padding: 0; margin: 0; float: left;}
    .unit-rating li a {display: block; width: 21px; height: 21px; text-decoration: none; text-indent: -900px;
    z-index: 17; position: absolute; padding: 0; overflow:hidden;}
    .unit-rating li a:hover {background: url("../dleimages/rating.png") 0 -21px; z-index: 2; left: 0;}
    
    .unit-rating a.r1-unit {left: 0;}
    .unit-rating a.r1-unit:hover {width:21px;}
    .unit-rating a.r2-unit {left: 21px;}
    .unit-rating a.r2-unit:hover {width: 42px;}
    .unit-rating a.r3-unit {left: 42px;}
    .unit-rating a.r3-unit:hover {width: 63px;}
    .unit-rating a.r4-unit { left: 63px;}
    .unit-rating a.r4-unit:hover {width: 84px;}
    .unit-rating a.r5-unit {left: 84px;}
    .unit-rating a.r5-unit:hover {width: 105px;}
    
    .unit-rating li.current-rating {background: url("../dleimages/rating.png") 0 -44px; position: absolute;
    height: 21px; display: block; text-indent: -900px; overflow:hidden; z-index: 1;}
    
    
    
    /*---BB ��������---*/
    
    .bb-pane { height: 1%; overflow: hidden; border: 1px solid #BBB; background-image: url("../bbcodes/bg.gif"); }
    .bb-btn, .bb-sep { height: 25px; float: left; display: block; overflow: hidden; text-indent: -9999px; white-space: nowrap; }
    .bb-sel { float: left; padding: 4px 2px 0 2px; }
    .bb-sel select { font-size: 11px; }
    .bb-sep { width: 5px; background-image: url("../bbcodes/brkspace.gif"); }
    .bb-btn { cursor: pointer; width: 23px; }
    
    #b_font { width: 118px;}
    #b_size { width: 65px;}
    #b_font select { padding: 0px;}
    #b_size select { padding: 0px;}
    #b_b { background-image: url("../bbcodes/b.gif"); }
    #b_i { background-image: url("../bbcodes/i.gif"); }
    #b_u { background-image: url("../bbcodes/u.gif"); }
    #b_s { background-image: url("../bbcodes/s.gif"); }
    #b_img { background-image: url("../bbcodes/image.gif"); }
    #b_up { background-image: url("../bbcodes/upload.gif"); }
    #b_emo { background-image: url("../bbcodes/emo.gif"); }
    #b_url { background-image: url("../bbcodes/link.gif"); }
    #b_leech { background-image: url("../bbcodes/leech.gif"); }
    #b_mail { background-image: url("../bbcodes/email.gif"); }
    #b_video { background-image: url("../bbcodes/mp.gif"); }
    #b_audio { background-image: url("../bbcodes/mp3.gif"); }
    #b_hide { background-image: url("../bbcodes/hide.gif"); }
    #b_quote { background-image: url("../bbcodes/quote.gif"); }
    #b_code { background-image: url("../bbcodes/code.gif"); }
    #b_left { background-image: url("../bbcodes/l.gif"); }
    #b_center { background-image: url("../bbcodes/c.gif"); }
    #b_right { background-image: url("../bbcodes/r.gif"); }
    #b_color { background-image: url("../bbcodes/color.gif"); }
    #b_spoiler { background-image: url("../bbcodes/spoiler.gif"); }
    #b_fla { background-image: url("../bbcodes/flash.gif"); }
    #b_yt { background-image: url("../bbcodes/youtube.gif"); }
    #b_tf { background-image: url("../bbcodes/typograf.gif"); }
    #b_list { background-image: url("../bbcodes/list.gif"); }
    #b_ol { background-image: url("../bbcodes/ol.gif"); }
    #b_tnl { background-image: url("../bbcodes/translit.gif"); }
    #b_br { background-image: url("../bbcodes/pbreak.gif"); }
    #b_pl { background-image: url("../bbcodes/page.gif"); }
    
    .clr {
        clear: both;
    }
    
    .bb-editor textarea { 
        -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
        padding: 2px; border: 1px solid #bcc0c2; width: 100%; background: #fff url("../images/fields.png") repeat-x;
    }
    .editorcomm .bb-editor { width: 465px;}
    .editorcomm .bb-editor textarea { height: 156px; }
    
    /*--- XFIELDS ---*/
    .xfields textarea, .xprofile textarea {height: 186px;margin: 0px 1px 0px 0px;padding: 0px;}
    .xfields input, .xprofile input {width: 250px;height: 14px;padding: 2px;}
    .xfields_table td {vertical-align: top;}
    
    /*--- DROP NENU ---*/
    #dropmenudiv { font: 12px Arial; padding: 10px; display: none; background: #fff; 
    border-radius: 8px;  box-shadow: 0 0 50px 0 rgba(0,0,0,0.22); z-index:200 !important;}
    #dropmenudiv a { display: block; text-decoration: none; padding: 5px 8px; width: 154px }
    
    /*--- ---*/
    fieldset {border: 1px solid #bfced6;padding: 5px;text-align: left;}
    
    /*--- HIGHSLIDE GALLERY ---*/
    .highslide-wrapper, .highslide-outline { background: #fff }
    .highslide-image { border: 2px solid #fff }
    .highslide-active-anchor { visibility: hidden } 
    .highslide-active-anchor img { visibility: hidden }
    .highslide-dimming { background-color: black }
    .highslide-html { background-color: white }
    .highslide-loading { display: block; color: white; font-size: 9px; font-weight: bold; text-decoration: none; padding: 3px; border: 1px solid white; background-color: black }
    a.highslide-full-expand { background: url("../dleimages/fullexpand.gif") no-repeat; display: block; margin: 0 10px 10px 0; width: 34px; height: 34px }
    .highslide-display-block { display: block }
    .highslide-display-none { display: none }
    .highslide-caption { display: none; padding: 5px; background: white }
    .highslide-controls { width: 195px; height: 40px; background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 0 -90px; margin-right: 15px; margin-bottom: 10px; margin-top: 10px }
    .highslide-controls ul { position: relative; left: 15px; height: 40px; list-style: none; margin: 0; padding: 0; background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 100% -90px }
    .highslide-controls li { float: left; padding: 5px 0; }
    .highslide-controls a { background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif"); display: block; float: left; height: 30px; width: 30px; outline: none }
    .highslide-controls a.disabled { cursor: default }
    .highslide-controls a span { display: none }
     
    /*---The CSS sprites for the controlbar---*/
    .highslide-controls .highslide-previous a { background-position: 0 0 }
    .highslide-controls .highslide-previous a:hover { background-position: 0 -30px }
    .highslide-controls .highslide-previous a.disabled { background-position: 0 -60px !important }
    .highslide-controls .highslide-play a { background-position: -30px 0 }
    .highslide-controls .highslide-play a:hover { background-position: -30px -30px }
    .highslide-controls .highslide-play a.disabled { background-position: -30px -60px !important }
    .highslide-controls .highslide-pause a { background-position: -60px 0 }
    .highslide-controls .highslide-pause a:hover { background-position: -60px -30px }
    .highslide-controls .highslide-next a { background-position: -90px 0 }
    .highslide-controls .highslide-next a:hover { background-position: -90px -30px }
    .highslide-controls .highslide-next a.disabled { background-position: -90px -60px !important }
    .highslide-controls .highslide-move a { background-position: -120px 0 }
    .highslide-controls .highslide-move a:hover { background-position: -120px -30px }
    .highslide-controls .highslide-full-expand a { background-position: -150px 0 }
    .highslide-controls .highslide-full-expand a:hover { background-position: -150px -30px }
    .highslide-controls .highslide-full-expand a.disabled { background-position: -150px -60px !important }
    .highslide-controls .highslide-close a { background-position: -180px 0 }
    .highslide-controls .highslide-close a:hover { background-position: -180px -30px }
    
    /*--- TAGS CLOUD ---*/
    .clouds_xsmall, .clouds_small, .clouds_medium, .clouds_large, .clouds_xlarge {display:inline-block; 
    border-radius:6px; margin:0 2px 5px 0; border:1px solid #f0f0f0;}
    .clouds_xsmall { font-size: 1em }
    .clouds_small { font-size: 1.1em; font-weight: bold }
    .clouds_medium { font-size: 1.2em; font-weight: bold }
    .clouds_large { font-size: 1.3em }
    .clouds_xlarge { font-size: 1.4em }
    .clouds_xsmall:hover, .clouds_small:hover, .clouds_medium:hover, .clouds_large:hover, .clouds_xlarge:hover {}
    .cloud-tags span a {display:block; padding:5px 7px;}
    .cloud-tags span a:hover {background-color:#00a69c; box-shadow:0 0 10px 0 rgba(0,0,0,0.2); color:#fff;}
    .tags_more {margin-top:10px;}
    
    /*--- SEARCH SUGGESTIONS---*/
    #searchsuggestions {z-index: 998; width: 320px; font-size: 12px; background: #fff; 
    border-radius: 5px; box-shadow: 0 0 1.6em rgba(0,0,0, 0.2) }
    #searchsuggestions:after {}
    #searchsuggestions a, #searchsuggestions span.notfound { padding:8px 10px; display: block; text-decoration: none; 
    border-bottom: 1px solid #e3e3e3; font-weight:normal;}
    #searchsuggestions a { color: #4a84c4; }
    #searchsuggestions a:hover { text-decoration:none; color:#444; background-color:#f5f5f5}
    #searchsuggestions span.searchheading { display: block; margin-bottom: .2em; }
    #searchsuggestions span.seperator { display: block; }
    #searchsuggestions span.seperator a { padding: 10px 0; text-align: center; border: 0 none; background-color:#4a84c4; color: #fff; }
    #searchsuggestions span.notfound { padding: 15px 20px; display: block; }
    #searchsuggestions .break { display: none; }
    
    /*--- UI WIDGETS ---*/
    .ui-widget-overlay { background: #000; opacity:0.5; left: 0; top: 0; right: 0; bottom: 0; position: fixed }
    .ui-helper-clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden }
    .ui-helper-clearfix { display: inline-block }
    * html .ui-helper-clearfix { height: 1% }
    .ui-helper-clearfix { display: block }
    
    .ui-dialog { background-color: #fff; overflow: hidden; padding: 0; position: absolute; width: 300px; 
    box-shadow:3px 3px 10px 0 rgba(0,0,0, 0.2); border-radius:6px;}
    .ui-dialog-titlebar { padding:20px 20px; background-color:#4a596e; border-bottom:1px solid #ddd;}
    .ui-dialog-title { margin-top: 2px; float: left; font-size: 18px; color: #fff;}
    
    .ui-dialog .ui-dialog-content {padding:20px; border: 0; overflow: auto; position: relative; zoom: 1; }
    .ui-dialog-content h2 { display: inline; font-size: 1em; font-weight: bold }
    .ui-dialog .ui-dialog-buttonpane { border-top: 1px solid #ddd; padding: 15px 20px; text-align: center; background-color:#f6f6f6; }
    
    .ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
    .ui-draggable .ui-dialog-titlebar { cursor: move; }
    
    .ui-state-error { background: #fef1ec 50% 50% repeat-x !important; border: 1px solid #cd0a0a; color: #cd0a0a; }
    
    .ui-icon-closethick {cursor: pointer; position:absolute; right:10px; top:18px; width:30px; height:30px;}
    .ui-icon-closethick:before {content:"X"; width:30px; height:30px; line-height:30px; text-align:center; color:#fff; 
    position:absolute; right:0; top:0; text-indent:0; font-size:28px; transform:scale(1,0.7);}
    a:hover .ui-icon-closethick {opacity:0.8;}
    .ui-dialog .ui-dialog-buttonset button { margin-right:10px !important; line-height:15px !important; font-size:12px; padding:0 10px;}
    
    /*--- VOTE BARS ---*/
    .voteprogress,.pollprogress{overflow:hidden;height:15px;margin-bottom:5px;background-color:#f7f7f7;background:linear-gradient(to bottom, #f5f5f5, #f9f9f9);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);border-radius:4px}
    .voteprogress span,.pollprogress span{color:#ffffff;text-align:center;text-indent:-2000em;height:15px;display:block;overflow:hidden;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background:#0e90d2;background:linear-gradient(to bottom, #149bdf, #0480be)}
    .voteprogress .vote2, span.poll1{background-color:#dd514c;background:linear-gradient(to bottom, #ee5f5b, #c43c35)}
    .voteprogress .vote3, span.poll2{background-color:#5eb95e;background:linear-gradient(to bottom, #62c462, #57a957)}
    .voteprogress .vote4, span.poll3{background-color:#4bb1cf;background:linear-gradient(to bottom, #5bc0de, #339bb9)}
    .voteprogress .vote5, span.poll4{background-color:#faa732;background:linear-gradient(to bottom, #fbb450, #f89406)}
    
    /* ---  UI MENU --- */
    .ui-autocomplete { position: absolute; cursor: default; }
    * html .ui-autocomplete { width:1px } /* without this, the menu expands to 100% in IE6 */
    .ui-menu { list-style:none; padding: 2px; margin: 0; display:block; float: left; background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222; }
    .ui-menu .ui-menu { margin-top: -3px; }
    .ui-menu .ui-menu-item { margin:0; padding: 0; zoom: 1; float: left; clear: left; width: 100%; }
    .ui-menu .ui-menu-item a { text-decoration:none; display:block; padding:.2em .4em; line-height:1.5; zoom:1; }
    .ui-menu .ui-menu-item a.ui-state-hover,
    .ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; border: 1px solid #a7a7a7; color: #4e4e4e; font-weight: bold; }
    
    /*--- TEXT [code]---*/
    pre code { display: block; padding: 0.5em; background: #f9fafa; border: 1px solid #dce7e7; overflow:auto; white-space: pre; }
    pre .comment, pre .template_comment, pre .diff .header, pre .doctype, pre .lisp .string, pre .javadoc { color: #93a1a1; font-style: italic; }
    pre .keyword, pre .css .rule .keyword, pre .winutils, pre .javascript .title, pre .method, pre .addition, pre .css .tag, pre .lisp .title { color: #859900; }
    pre .number, pre .command, pre .string, pre .tag .value, pre .phpdoc, pre .tex .formula, pre .regexp, pre .hexcolor { color: #2aa198; }
    pre .title, pre .localvars, pre .function .title, pre .chunk, pre .decorator,
    pre .builtin, pre .built_in, pre .lisp .title, pre .identifier, pre .title .keymethods, pre .id { color: #268bd2; }
    pre .tag .title, pre .rules .property, pre .django .tag .keyword { font-weight: bold; }
    pre .attribute, pre .variable, pre .instancevar, pre .lisp .body, pre .smalltalk .number, pre .constant, pre .class .title,
    pre .parent, pre .haskell .label { color: #b58900; }
    pre .preprocessor, pre .pi, pre .shebang, pre .symbol,
    pre .diff .change, pre .special, pre .keymethods, pre .attr_selector, pre .important, pre .subst, pre .cdata { color: #cb4b16; }
    pre .deletion { color: #dc322f; }
    pre .tex .formula { background: #eee8d5; }
    
    /*--- MARK AND SHARE ---*/
    #marker-bar,#txtselect_marker{display:block;visibility:hidden;position:absolute;bottom:0;z-index:1200;opacity:0;transition:opacity .4s, visibility .1s linear .4s}
    #txtselect_marker{cursor:pointer;width:32px;height:32px;background:url(../dleimages/marker.png) -0px -0px no-repeat}
    #txtselect_marker:hover{background-position:-0px -32px}
    #marker-bar{border:1px solid #ccc;border-radius:15px;background:#fff;padding:5px 10px;cursor:default;box-shadow:0px 0px 4px #ccc}
    #marker-bar.show,#txtselect_marker.show{visibility:visible;transition:opacity .4s, visibility 0s;opacity:1}
    #marker-bar .masha-social,#marker-bar .masha-marker{cursor:pointer;display:block;margin:0 5px;float:left}
    #marker-bar .masha-marker{line-height:1em;color:#aaa;border-bottom:1px dotted #aaa;margin-right:10px}
    #marker-bar .masha-marker:hover{color:#ea3e26;border-color:#ea3e26}
    .user_selection,.user_selection_true{background:#c4f47d;padding:2px 0}
    .user_selection a.txtsel_close,.user_selection_true a.txtsel_close{display:none}
    .user_selection .closewrap,.user_selection_true .closewrap{position:relative}
    .user_selection.hover a.txtsel_close,.user_selection_true.hover a.txtsel_close{display:inline-block;position:absolute;top:-7px;left:-5px;width:33px;height:33px;background:url(../dleimages/closemarker.png) -0px -0px no-repeat}
    .user_selection.hover a.txtsel_close:hover,.user_selection_true.hover a.txtsel_close:hover{background-position:-0px -33px}
    #share-popup{background:#fff;border:1px solid #aaa;border-radius:5px;box-shadow:0 0 5px rgba(0,0,0,0.5);position:absolute;width:414px;display:none;z-index:100;padding:10px 0;opacity:0;transition:opacity .4s, visibility .1s linear .4s}
    #share-popup.show{display:block;opacity:1;transition:opacity .4s, visibility 0s}
    #share-popup .social{padding:0 0 10px 17px;height:40px}
    #share-popup .social p{padding-bottom:10px;margin:0;font-weight:bold}
    #share-popup .social ul{list-style:none;margin:0;padding:0}
    #share-popup .social ul li{float:left;margin-right:20px;padding-top:2px;position:relative}
    #share-popup .social ul a{text-decoration:none;font-size:11px;display:inline-block;color:#aaa;padding-left:25px}
    #share-popup .social ul a:hover{text-decoration:underline;color:#ea3e26}
    #share-popup .social a span{cursor:pointer;width:20px;height:20px;background:url(../dleimages/social-icons.png) 20px 20px no-repeat;position:absolute;left:0;top:0}
    #share-popup .social .tw span{background-position:0 -20px}
    #share-popup .social .tw:hover span{background-position:0 0}
    #share-popup .social .fb span{background-position:-20px -20px}
    #share-popup .social .fb:hover span{background-position:-20px 0}
    #share-popup .social .vk span{background-position:-40px -20px}
    #share-popup .social .vk:hover span{background-position:-40px 0}
    #share-popup .social .gp span{background-position:-60px -20px}
    #share-popup .social .gp:hover span{background-position:-60px 0}
    #share-popup .link{clear:both;border-top:1px solid #d9d9d9;padding:10px 5px 0 10px;line-height:1.2;overflow:hidden;margin:0 7px}
    #share-popup .link p{font-weight:bold;padding:0 0 3px 0;margin:0}
    #share-popup .link span{color:#999;font-size:10px;display:block;padding-top:3px}
    #share-popup .link a{display:block}

    .navigation {
        padding: 0;
    }
    .pagination {
        display: flex;
        flex-wrap: wrap;
    }

    .icon-gallery {
        color: #2aa198;
        margin-right: 5px;
    }

    .tags {
        margin-bottom: 20px;
    }

    .play-slider {
        margin-bottom: 20px;
    }

    .rating-wrapper {
        display: flex;
    }
    .rating_btn {
        font-size: 18px;
        margin-right: 10px;
    }

    .thumb-photo {
        min-height: 400px;
        min-width: 298px;
    }

    /*.pswp button {
        background: transparent;
        color: #fff;
    }

    .pswp button:hover {
        background: transparent;
        color: #fff;
    }*/

    li.active a {
        background-color: #fed233;
    }

    .grid-photos a {
        display: inline-block;
        width: 318px;
        height: 400px;
        margin-bottom: 20px;
    }

    .photo-link,
    .photo-link:hover {
        text-decoration: none !important;
    }
    @media (max-width: 991.98px) {
        .thumb-photo a {
            width: calc(50% - 10px) !important;
        }
    }

    @media screen and (min-device-width: 720px) {

        .thumb-photo a {
            width: 100% !important;
        }
    }