html, body{
    overflow-x:hidden;   
}
.item-title a:visited {color:#666;}
.img-responsive img {max-width:100%;}
.img-fix-height img {max-height:200px;}
.date-expired-expired span{display:none;}

.item-dark .item-title A{color:#fff;}

.divPager{background:#fff; text-align:center; padding:20px; border-radius:4px;}
.divPager span, .divPager A{display:inline-block; padding:1px 3px;}
.divPager span.pagerCur{background:#888; color:#fff; border-radius:2px;  padding:1px 6px;}

@media screen and (min-width: 900px) { 
    .header-user{min-width:200px;}
}

.post A{color:#008DD2;}

.page-image{margin-bottom:10px;}
.page-video{margin-top:10px;}
.fa-user {color:#ccc;}

.block-hidden {display:none;}
.block-visible {display:block;}

.btn-group{position:static;}
.btn-group .btn{position:static;}

.tag.srch0{display:none;}

.popupInline{z-index:1000;}

.badge:empty{display:none;}
.white-inner {padding:0px 10px;}
.white-footer {
    border-top: 1px solid #e7e7e7;
    color: #737373;
    margin: 0 -10px 25px;
    padding: 20px;
}

.post { font-size: 15px }
.post img {margin-bottom:15px;}
.post iframe, .page-videos iframe {width:100%; height:436px; margin-bottom:20px;}

.likes-display--{display:none;}
.item{height:auto;}

.h1, h1 {font-size:32px; color:#000;  font-weight:bold;}
.h2, h2 {font-size:20px; margin-bottom:20px; font-weight:bold;}

.bookmark_normal {cursor:pointer; color:#888;}
.bookmark_normal:hover {color:#444;}
.bookmark_active {cursor:pointer; color:#000;}

.likes_normal {cursor:pointer; color:#888;}
.likes_normal:hover {color:#444;}
.likes_active {cursor:pointer; color:#000;}

.page-top .pull-left{margin-right:20px;}
.page-top .pull-left.tags{margin-top:-1px;}
.page-bottom .pull-right{margin-left:20px;}
.page-bottom .pull-left{margin-right:20px;}

.comments_actions a, .comments_actions a:visited { color:#888; }
.offers-item-text { margin:7px 0px; }

.grade-minus, .grade-plus { display:inline-block;  color:#888; cursor:pointer; font-size:9px; font-weight:100;}
.grade-amount { display:inline-block; color:#00cc00; font-size:11px; margin:0px 10px; text-align:center; border-radius:50%;}
.grade-frame {}

.ss {color:#888;}
.s-s {color:#cc0000;}

.photos0{display:none;}
.photos1{display:none;}
.photos2{display:none;}

.item-title {color:#888;}

.dTreeNode, .dtree a.node, .dtree a.nodeSel {
    white-space: nowrap;
    font-size:11px;
}

.item-tree{padding:15px 0px 15px 15px; max-height:600px; overflow:auto; overflow-x:hidden;}

.tag-premium{display:inline-block; border-radius:2px; background:#efefef; color:#000; padding:3px 12px; font-size:13px; margin:0px 3px 3px 0px;}
/*.tag-premium:hover{color:#fff;}*/

.tag{display:inline-block; margin:0px 3px 3px 0px;}


.user-xs { }
.user-xs .user-avatar {
    float: left;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    display: block;
    background:#ccc;
}
.user-xs A {color:#888;}


#DISABLING {
    position: absolute;
    z-index: 9999;
    margin: 0px;
    display: none;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
}
#resultContainer {position: fixed; display: none; z-index: 9999;}
.resultContainer {background-color: #dff0d8; border-color: #d6e9c6; color: #3c763d; border-radius: 4px; margin-bottom: 20px; padding: 15px;}

#ProgressContainer {position: fixed; z-index: 999; top: 0px; left: 0px; visibility: hidden; display: none;    }
.header-balance {
    padding: 0 20px;
}
.header-balance a{
    color: #b0b0b0;
}
.modal-backdrop{
    z-index:19000;
}
.modal {
    z-index:19001;
}

.desktop-center {padding:20px; margin:0px 0px 20px 0px;}
.inputText, fieldset > div > input[type=text] {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}
textarea.inputText{height:120px;}

.textarea-large textarea.inputText{height:400px;}

.inputText:focus {
    border-color: #66afe9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}
.inputText::-moz-placeholder {
    color: #999;
    opacity: 1;
}
.inputText[disabled], .inputText[readonly], fieldset[disabled] .inputText {
    background-color: #eee;
    opacity: 1;
}
.inputText[disabled], fieldset[disabled] .inputText {
    cursor: not-allowed;
}

fieldset {margin-bottom:10px; padding:0px 0px 10px 0px;}
fieldset > div {float:right; width:74%}
legend {float:left; width:25%; border:none; font-size:14px;}
.form-help{margin-bottom:20px;}


.formSubmit{margin-right:10px;}

.tableGridContainer { width:100%; }
.tableGridContainer > tbody tr:first-child td.tdPager { display: none; }

.gridTabActiveAsc {background: url("/templates/v5/images/old/grid/asc.gif") no-repeat 100% 50%; cursor: pointer; }
.gridTabActiveDesc {background: url("/templates/v5/images/old/grid/desc.gif") no-repeat 100% 50%; cursor: pointer;}
.gridTabActiveAsc, .gridTabActiveDesc, .gridTabNormal, .gridTabDisabled { }
.date_added .gridTabActiveAsc, .date_added .gridTabActiveDesc,  .date_added .gridTabNormal{}

.grid{table-layout: fixed;}

.grid { width:100%; }
.grid th  { font-weight:normal; text-align:left;  padding: 10px 5px 10px 10px; line-height: 1.42857; }
.grid td {padding: 10px 5px 10px 10px; vertical-align:top;}
.grid td.chk, .grid th.chk{ width: 40px; }
.grid td.id, .grid th.id {width: 80px;}

.grid td.avatar, .grid th.avatar {width: 60px;}
.grid td.category, .grid th.category {width: 100px;}
.grid td.total, .grid th.total  {width: 100px;}
.grid td.date_last, .grid th.date_last {width: 140px;}
.grid td.cities, .grid th.cities {width: 160px;}

.grid th.delete, .grid td.delete {width: 36px; text-align:center;}
.grid td.delete_thread, .grid th.delete_thread {width: 36px; text-align:center;}
.grid td.delete_message, .grid th.delete_message {width: 36px; text-align:center;}

.grid th.date_added, .grid td.date_added {width:110px;}
.grid th.date_start, .grid td.date_start {width:110px;}
.grid th.date_end, .grid td.date_end {width:150px;}
.grid th.date_expired, .grid td.date_expired {width:150px;}
.grid th.date_stamp, .grid td.date_stamp {width:150px;}
.grid th.user, .grid td.user {width:120px;}
.grid th.frontend_url, .grid td.frontend_url {width: 36px; text-align:center;}
.grid th.price, .grid td.price {width:180px;}
.grid th.billing_products_status, .grid td.billing_products_status {width:180px; text-align:right;}
.grid th.amount, .grid td.amount {width:120px;}
.grid th.amount_total, .grid td.amount_total {width:120px;}
.grid th.billing_payments, .grid td.billing_payments {width:100px;}
.grid th.billing_products, .grid td.billing_products {width:160px;}
.grid th.status, .grid td.status {width:100px;}
.grid th.folders, .grid td.folders {width:140px;}
.grid th.delivery, .grid td.delivery {width:100px;}
.grid th.users_to, .grid td.users_to {width:160px; white-space:nowrap;}
.grid th.billing_payments_button, .grid td.billing_payments_button {width:100px;}
.grid th.content, .grid td.content {width:140px;}
.grid th.name, .grid td.name {width:100px; white-space:nowrap;}
.grid th.email, .grid td.email {width:120px; white-space:nowrap;}
.grid th.description, .grid td.description {width:60%;}


.Even{background:#eee;}





.tdPager{padding:20px 0px 10px 0px; border-top:1px solid #e7e7e7;}


/* ******************************* */    

.detail-gallery{
    margin-top: 0px;
    margin-bottom: 40px;
    padding-right: 20px;        
}
.detail-gallery-list{
    margin-top: 40px;
    margin-bottom: 00px;
}

.gallery-img-big img{
    cursor: pointer;
}
.gallery-img-big{
    border:1px solid #dcdcdc;
    text-align: center;
    padding:5px;

}
.gallery-img-big:hover{
    border-color: #5c92d0;
}
.gallery-list{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.gallery-list:after{
    clear: both;
    display: table;
    content: "";
}
.gallery-list li{
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}
.gallery-list a{
    position: relative;
    display: block;
    width: auto;
    height: 112px;
    border:1px solid #e7e7e7;
    padding:5px;
}
.gallery-list a:hover{
    border-color: #999;
}
.gallery-list a img{
    width: auto;
    height: 100%;
    /*
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    */
}

.fancybox-overlay {
     z-index: 18010;
}

/* ******************************* */

.show-map {
    cursor: pointer;
    display: inline-block;
    color: black;
    
}

.show-map:hover  {
    text-decoration: underline; 
}

.modal-body-map {
    padding: 0;
    margin: 0;
}

 /*.modal-dialog-map { */
 /*    width: 602px; */
 /*} */

.modal-header-map {
    height: 0;
    min-height: 0;
    padding: 0;
}

.modal-header .close {
    color: #fff;
    opacity: 1;
    position: absolute;
    right: -15px;
    top: -18px;
}

.modal-content-map {
    border: 0;
}

.modal-header .close {
    margin-top: -2px;
}

button.close {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 0 none;
    cursor: pointer;
    padding: 0;
}

.close {
    color: #000;
    float: right;
    font-size: 21px;
    opacity: 0.2;
    text-shadow: 0 1px 0 #fff;
}

.modal-open .modal {
    overflow: hidden;
}

.modal-content {
    border: 0px solid rgba(0, 0, 0, 0.2);
    border-radius: 0px;
}

/* ******************************* */

.t0 { overflow : hidden; }
.tx { height   : 220px;  }
.textClippedButton  {color:#555; cursor:pointer; border-bottom:1px dotted #555;}


/* ******************************* */

.show_param {
    cursor:pointer;
}

.show_ {
    display:none;
}

/* bann */
.panel-floating {
    border-top: 5px solid #008dd2;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.btnbann:hover {
    color: #fff;
    background: #6b15a1;
    text-decoration: none;
}
.btnbann {
    display: inline-block;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #6b15a1;
    font-weight: 400;
}
.panel-floating-inline .panel-actions {
    -webkit-box-flex: 10;
    -webkit-flex-grow: 10;
    -ms-flex-positive: 10;
    flex-grow: 10;
}
.panel-floating-inline .panel-thumbnail {
    display: block;
    -webkit-align-self: flex-end;
    -ms-flex-item-align: end;
    align-self: flex-end;
    margin: 0 20px -21px 0;
    width: 220px;
}
.panel-floating-inline .panel-thumbnail img {
    margin:0;
}
.panel-floating-inline .panel-body {
    padding: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.banner-top {
    border-radius: 0;
    background-color: #fff;
    position: relative;
    bottom: 10px;
}
.banner-top img {
    max-height:90px;
    margin:0 auto;
}
.banner-top.yellow {
    background-color: #feed00;
}
.banner-top blockquote {
    font-size: 17px;
    line-height: 19px;
    border-width: 3px;
    border-color: #000;
    margin: 0;
}
.banner-top h2 {
    font-size:30px;
}
.banner-top a {
    text-decoration:none;
}
.table-row {
    display:table;
    width:100%;
}
.table-cell {
    float:none;
    display:table-cell;
    vertical-align:middle;
}
.m-b-0 {
    margin-bottom:0;
}
.m-t-0 {
    margin-top:0;
}
@media screen and (max-width: 991px) { 
    .table-row {
        display:block;
    }
    .table-cell {
        float:left;
        display:block;
    }
}
/* bann */

/*
Animation
 */
.circle-frame{
    

}
.top-slider-item.active .circle-box{
    width: 100%;
    height:100%;
    top:-80px;
    margin: 0 auto;
    position: absolute;
    animation: main-rotate 10s infinite linear;
    animation-delay: 2s;
}
.circle-box > div{
    position: absolute;
    width: 100%;
    height: 100%;
}
.top-slider-item.active .circle-one{
    background: url('https://celestra.ru/templates/2017/themes/clean/assets/content/1.png') no-repeat 50% 50%;
    background-size: contain;
    top:-30px;
    right: -30px;
    animation: circle-one 0.7s forwards linear;
    animation-delay: 1s;
}
.top-slider-item.active .circle-two{
    background: url('https://celestra.ru/templates/2017/themes/clean/assets/content/2.png') no-repeat 50% 50%;
    background-size: contain;
    left: -20px;
    top: 0px;
    animation: circle-two 0.7s forwards linear;
    animation-delay: 1s;
}
.top-slider-item.active .circle-three{
    background: url('https://celestra.ru/templates/2017/themes/clean/assets/content/3.png') no-repeat 50% 50%;
    background-size: contain;
    right:-20px;
    bottom: -20px;
    animation: circle-three 0.7s forwards linear;
    animation-delay: 1s;
}

@keyframes main-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes circle-one {
    100% {
        top:0;
        right:0;
    }
}
@keyframes circle-two {
    100% {
        left:0;
    }
}
@keyframes circle-three {
    100% {
        bottom:0;
        right:0;
    }
}
.arrow-frame{
    margin: -20px 0 0 -65px;
}
.top-slider-item.active .arrow-frame:before{
    content: '';
    position: absolute;
    top:0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    animation: main-wid 1.6s forwards linear;
    animation-delay: 0.5s;
    z-index: 5;
}
.arrow-box{
    width: 100%;
    height: 100%;
    position: absolute;
}
.arrow-box > div,
div.arrow-circle > div{
    position: absolute;
    width: 100%;
    height: 100%;
}
.top-slider-item.active div.arrow-one{
    background: url('https://celestra.ru/templates/2017/themes/clean/assets/content/11.png') no-repeat 50% 50%;
    background-size: contain;
    bottom:0;
    left: 0;
}
.top-slider-item.active div.arrow-two{
    background: url('https://celestra.ru/templates/2017themes/clean/assets/content/41.png') no-repeat 50% 50%;
    background-size: contain;
    left: 5px;
    bottom: 5px;
    z-index: 7;
    opacity: 0;
    animation: main-wid2 0.1s forwards 0.8s linear, main-wid3 0.5s forwards 1s linear;
}
.top-slider-item.active div.arrow-three{
    background: url('https://celestra.ru/templates/2017/themes/clean/assets/content/42.png') no-repeat 50% 50%;
    background-size: contain;
    left: 0;
    bottom: 0;
    z-index: 7;
    opacity: 0;
    animation: main-wid2 1s forwards linear;
    animation-delay: 1s;
}
.top-slider-item.active div.arrow-four{
    background: url('https://celestra.ru/templates/2017themes/clean/assets//content/43.png') no-repeat 50% 50%;
    background-size: contain;
    left: 0;
    bottom: 0;
    z-index: 7;
    opacity: 0;
    animation: main-wid2 1s forwards linear;
    animation-delay: 1.2s;
}

.top-slider-item.active div.arrow-circle{
    background-color: #fff;
    border-radius: 50%;
    width: 20%;
    height: 20%;
    border:10px solid #fff;
    position: absolute;
    bottom: 0;
    bottom: 6%;
    left: 27%;
    animation: main-rotate 5s infinite linear;
    animation-delay: 1.3s;
    z-index: 6;
}

@keyframes main-wid {
    100% {
        width: 0%;
    }
}
@keyframes main-wid2 {
    100% {
        opacity: 1;
    }
}
@keyframes main-wid3 {
    100% {
        left: 0;
        bottom: 0;
    }
}
/*
end animation
 */
 
 ul, ol {
    margin-top: 10px;
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) { 
    .header-search{
        display:none !important;
    }
}

@media screen and (max-width: 991px) { 
    .comment-form-antispam legend{
        display:none !important;
    }
    .comment-form-antispam fieldset > div{
        float:none;
        width:100%;
    }
    .comment-form-antispam fieldset > div > div{
        display:flex;
        align-items: center;
    }
    .comment-form-antispam fieldset > div > div img{
        flex: 0 0 100px;
    }
    .comment-form-antispam fieldset > div > div .form-control {
        width: calc(100% - 105px);
    }
    .filter-search-top [class*="col-"]{
        margin-bottom:15px;
    }
    .filter-search-top .chosen-select,
    .filter-search-top select,
    .filter-search-top form{
        width:100% !important;
        min-width:100%;
    }
    .filter-search-top [class*="col-"]:last-child{
        margin-bottom:0;
    }
}

@media screen and (max-width: 767px) { 
    .logo-box{
        display:flex;
        flex-direction:row;
        position:relative !important;
        top: 0;
        left: 0px;
        right: 0;
        width:100%;
        z-index: 1000;
    }
    .logo-box .logo{
        flex:1;
    }
    .form-search,
    .header-notify,
    .header-balance{
        display:none !important;
    }
    .wraper-fix .header{
        position:absolute !important;
        left: -15px;
        top: -2px;
    }
    .hot-news-title{
        display:none;
    }
    .sidebar-fix .left-menu{
        padding-top:0;
    }
    .home-table-column tr,
    .home-table-column td{
        display:block;
    }
    .home-table-column td{
        width: 100% !important;
    }
}
@media (max-width: 400px) { 
    .user-avatar, td.avatar > div{
        margin-right:10px;
    }
    .page-bottom .pull-left{
        margin-right:15px;
    }
    .page-bottom .pull-right:empty{display:none !important;}
    .page-bottom .pull-right {
        margin-left: 15px;
    }
}

blockquote {
    font-size: 16px;
    font-style: italic;
}