.strong { font-weight: bold; }
div#wrap { max-width: none; padding-top:0px; }

#site-description { width:100% !important; }

#logowrap { display: inline-block; width: 33%; }
#sloganwrap { display: inline-block; margin: 0.5em 0 0 1em; vertical-align: top; width: 61%; }
#sloganwrap h1 { font-size:0; width: 220px; height: 65px; 
                 background-repeat:no-repeat;
                 background-size:contain;
                 background-position:center;
}

#mikai-icon-panel div {
    display: inline-block;
}

.head-bar {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #0077b2 0%, #12a3eb 100%) repeat scroll 0 0;
    margin-top: 19px;
}

#page-header .headerbar {
    display: none;
}

#postingbox #smiley-box {
    height: 300px;
    overflow: auto;
}

/* --- выдача  --- */
span.wait { color:#f89406; }
span.ready { color:#468847; }


/* --- export_report  --- */
#export_report div.report_item { page-break-before:auto; page-break-inside: avoid; min-height:130px; }
#export_report table.report_item td { vertical-align:top; }
#export_report div.qr-code { float:left; width:100px; height:120px; margin-right:10px; margin-bottom:0px; margin-top:9px; }
#export_report div.barcode {  }
#export_report div.cv { float:left; margin:9px 0 0 2px; text-align: center; width:27px; height:27px; color:white; background:#000000; font-size:16pt; }
#export_report p.info { margin-top:0; }

/* --- my_purchases --- */

.caption { color:#666; }
.summary .caption { min-width: 65px; display: inline-block; text-align: right; }
.summary .value { display: inline-block; min-width: 60px; text-align: right; }
.summary small.info { white-space: pre-line; font-weight: normal; font-size: 90%; color: grey; }
.caption.btd, .value.btd { border-top:1px dotted #666 }
#myPurchases .red {color:#f00;}
#myPurchases .grey { color:#999; }
#myPurchases .caption { font-size:85%; color:#666; margin-top:0.5em; }

#myPurchases .odd, #myPurchases .even { clear:both; }
.purchaseDescription { float:left; width:30%; }
.purchaseDescription .name, .purchaseDescription .statement, .purchaseDescription .url { width:100%;}
.purchaseDescription .name input, .purchaseDescription .statement input, .purchaseDescription .url input { width:100%; padding:0.2em;}
.purchaseDescription .code { clear:right; }
.purchaseDescription .statement { float:right; width:58%; }
.purchaseDescription .status { float:left; }
.purchaseCats {float:right; width:65%; }

table.report_table { border-collapse: collapse; width: 100%; font-size: 100%; background: #fff; 
}
table.report_table tr.summary { font-weight:bold; font-size:9pt; }
.report_table tr.summary, .report_table tr.divider, .report_table tr.username { display: none; }

/*.report_table.full span.name { display: none; }*/
.report_table.full tr.summary, .report_table.full tr.divider, .report_table.full tr.username { display: table-row; }
.report_table.hideRefusal tr.refusal, .report_table.hideRefusal tr.refuseAll { display: none; }
.report_table.full.debitors tbody > tr { display: none; }
.report_table.debitors tbody > tr.need_payment { display: table-row; }
.report_table span.paymentMode { display: none; }
.report_table.paymentMode tbody > tr, .report_table.paymentMode tbody > tr.username { display: none; }
.report_table.paymentMode tbody > tr.unverified { display: table-row; }
.report_table.paymentMode span.paymentMode { display: inline; }
.report_table.full.shortChange tbody > tr { display: none; }
.report_table.full.shortChange tbody > tr.shortChange { display: table-row; }

table.report_table tr.filter td { padding-top:0px; }
.report_table tr { vertical-align:top; }
.report_table td { padding:4px; vertical-align:top; }
tr.even { background:#cadceb; }
tr.odd { background:#F8F8FF; }

.report_table span.cat { font-size:80%; white-space: normal; max-width: 70%; color:grey; }
.report_table span.cat a { color:grey; }
.report_table span.model { white-space: normal; max-width: 70%;  }
.report_table ul.profile-icons { margin:0; padding-top:5px; }
.report_table td { border-bottom:1px dotted #999999; }
.report_table tr.header, .report_table tr.filter { background:#0481bf; color:#ecf1f3; }
.report_table tr.header a, .report_table tr.filter a { text-decoration:underline; color:#fff; }
tr.header td, tr.filter td { border-left: 1px solid #ecf1f3; border-bottom:none; }


.report_table tr.header2 { /* background: #CADCEB; */ color: #999; font-size: 85%; font-weight: bold; }
.report_table tr.footer { border-top:5px solid #CADCEB; }
.report_table td.payment_info { background: #ffffa6; color: #FF00FF; color:#000; }
.report_table tr.divider { background: #CADCEB; }
.order_image { max-width:150px; max-height:150px; }

.bs .report_table { font-size:85%; }

#purchase_report_footer input[type="submit"]{ width:250px; }
#purchase_report_footer input[type="button"]{ width:200px; }
#purchase_report_footer input[type="text"], #purchase_report_footer select { width:200px; }

/*sdf*/

tr.header2 td { border-left: 1px solid white; border-bottom:1px dotted grey; }
.purchase h2 { padding:0.75em; cursor:pointer; font-size:100% !important; line-height: 1.3em; position:relative; margin: 0.25em 0; }
div.h_container { padding-left:45px; min-height: 28px; }
span.h_purchase_name { text-transform: uppercase; }
span.h_purchase_state, span.itemRubric, span.itemTag { font-size:85%; color:#666; }
.disabled span.h_purchase_state, .disabled span.itemRubric, .disabled span.itemTag { color:#999999; }

span.new_orders { font-size:90%; color:red; }

.even h2 { background:#CADCEB; }
.odd h2 { background:#dae6ef; }
.disabled h2 { background:#EEEEEE !important; color:#999999 !important; } 

div.wo_money_checkbox {padding:3px; height:20px;}
div.report_link { position:absolute; right:6px; top:6px; text-align:right; }
@media (max-width: 767px) {
    div.report_link { position:relative !important; margin-bottom:0.5em; font-size:90%; }
}
a#user_list { text-decoration:underline; cursor:pointer; }
textarea.comment { border: 1px solid #CCCCCC; font-size: 85%; width: 98%; }

.content ul.catalog_items { margin:0; list-style:none; }
.content .catalog_items h2 { padding:0.5em 0.5em; font-size:1em; height: 30px; }
.content .catalog_items h2 span { cursor: pointer; }
.content .catalog_items h2 div.itemCaption { float:left; margin-top: -3px; }
.content .catalog_items h2 div.dragPad { float:left; margin:4px 10px 0 4px;  }
.content .catalog_items h2 span.itemName { display: inline-block; }
.content .catalog_items h2 div.headerPrice  { float: right; }
.content .catalog_items h2 div.checkBox { float:left; text-align: right; padding: 4px 5px 15px 5px; cursor:pointer }
div.cat, div.catalog_item { border-top:1px dotted #666; }
.catalog .name {width:80%; display:inline-block; }
.catalog .name .caption { font-weight:bold; }
.catalog .org { width:10%; display:inline-block; }
.catalog .vars { clear:both; }
.catalog .bundle { clear:left; }
.catalog .bundle .caption { display:inline; }
.catalog .bundle .selector { display:inline; }
/*.catalog_item { border-top: 1px dotted #ccc; margin-top:10px; }*/
.cat .serviceButtons { position:absolute; right:0; top:0; }
div.headerPrice input[type=text] {  }

.orderVars { font-size: 80%; }
#orders .orderVars input, #orders .orderVars select { }

.cat_item .caption { font-size:90%; margin-top: 7px; line-height:1.3em; }
.cat_item .left { width:50%; display:inline-block; }
.cat_item .right { width:45%; display:inline-block; vertical-align:top; }
.headerPrice input { width:70px; }
.cat_item div.price, .cat_item div.org  { width: 100px; display:inline-block; }
.cat_item div.removelink { display:inline-block; float:right; }
.cat_item div.addtobasket { margin-top:10px; }
.cat_item div.name input, .cat_item div.sku input { width:95%; }
.cat_item div.name { display:inline-block; width:100%; }
.cat_item .vars input, .cat_item .row input { width:100%; }
.catalog_item .item-image { width:200px; vertical-align: top; padding: 10px; }
.catalog_item img { max-width:180px; vertical-align: top; }
.cat_item div.hide, .cat_item div.showcase, .cat_item div.disabled { margin:0.25em 0 }
.cat_item div.showcase { margin-top:1em; }

#sp_win_bg { position:fixed; width:100%; height:100%; left:0; top:0; opacity:0.5; background:#000; z-index:15; }
#sp_win { position:fixed; width:300px; height:200px; left:50%; top:50%; margin:-50px 0 0 -150px; border:grey 1px solid; background:white; z-index:20; padding:10px; }

#mycalendar-panel img, #mycalendar-panel select {
    vertical-align: middle;
}
.calendar_panel ol { list-style: none; }
.calendar_panel { background-color: #ECF1F3; border: solid 1px #536482; }
.calendar, .monthyear, .dayheaders { width: 18em; overflow: hidden; margin: 0px; padding: 0px; padding-left: 0.25em; text-align: center; }
.calendar li a { display: block; }
.calendar li { width: 2.3em; height: 2.3em; margin: 0.1em; background-position: top left; display: inline; /* For IE */ }
.calendar li a { display: block; width: 2.3em; height: 1.8em; padding-top: 0.5em; background-position: bottom right; }
.monthyear li { display: block; height: 2em; width: 12em; }
.content ol { margin: 0; }
.monthyear li.previous, .monthyear li.next { width: 2.5em; }
.dayheaders li.left { width: 2.5em; }
.dayheaders li { display: block; width: 2.5em; height: 1.5em; }
.calendar li, .monthyear li, .dayheaders li { float: left; }
.calendar a { text-decoration: none; }
.calendar li:hover { background-color: #ccb; }
.calendar li.bg1 { background-color: #ffffff; }
.sundaystart .firstday { margin-left: 0.1px; }
.mondaystart .firstday { margin-left: 2.6em; }
.tuesdaystart .firstday { margin-left: 5.1em; }
.wednesdaystart .firstday { margin-left: 7.6em; }
.thursdaystart .firstday { margin-left: 10.1em; }
.fridaystart .firstday { margin-left: 12.6em; }
.saturdaystart .firstday { margin-left: 15.1em; }

#results .desc td div.substr, .full_results .desc td div.substr { margin-top: 0.5em; font-size: 90%; color:#999; }

/* ---- Шапка и хлебные крошки сверху ---- */
#mikai-search { width: 75%}
@media screen and (max-device-width: 768px) {
    #mikai-search { width: 99%}
    #page-header .navbar { height: 59px; }
}


/* ---- Анонс ---- */
.announce h3 { margin:0; padding:0.5em; border:none; font-size: 1em; cursor: pointer; }
.announce ul { padding-bottom: 1em; } 
.announce ul li { list-style: none outside none; margin: 0.5em 1em 0; font-size:1.2em; } 
.announce ul li a:visited { color: #910062;  }
div.announce_gallery { height:120px; margin:20px 30px; }
span.galStarter, span.galFinisher { cursor: pointer; }
table.table1 tbody tr:hover { background:#fff; }

/*---- Форма регистрации  ----*/
.success { color:#005e00; font-weight:bold; }

form#register {  }
form#register .inputbox { font-size:1.5em; }
form#register dd span { line-height:1.5em; }

/* ---- Карусельки  ---- */
div.galleryItem { margin:5px; background:url("images/loader.gif") no-repeat center center white; height:150px; border-radius:5px;  border:6px solid white; position:relative; }
div.galleryItem img { max-height:150px; max-width:150px; margin:0 auto; border-radius:4px; vertical-align: middle; }
div.galleryItemPrice { position:absolute; background:white; bottom:0px; right:0; border-radius:3px; padding:2px; }

#allGallery, #popularGallery { margin: 0 20px; height: 122px; }
div.wide div.galleryItem { 
    height: 100px; 
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}
div.wide div.galleryItem img { max-height:100px; max-width:100px; }
div.wide div.slick-list { background: white; border-radius: 5px; }

/* ---- Наверх ---- */
#top-link { display:none; position:fixed; width:60px; height:104px; left:5px; bottom:5px; 
            background:url("images/topRocket.png") no-repeat center center; cursor: pointer; z-index: 1000; }

/* ---- Каталог ---- */
a.dashed { text-decoration: none; border-bottom: dashed 1px; }
a.red { color: #ce4844; border-bottom-color: #ce4844; }

.details { margin:10px 0; }

@media print
{    
    .no-print, .no-print *  { display: none !important; }
}

.purchase_status {
    background-repeat: no-repeat;
    background-position: left center;
}
.purchase_status_0 {
    background-image: url("images/icons/misc/status_0.png");    
}
.purchase_status_1 {
    background-image: url("images/icons/misc/status_1.png");
}
.purchase_status_2 {
    background-image: url("images/icons/misc/status_2.png");
}
.purchase_status_3 {
    background-image: url("images/icons/misc/status_3.png");
}
.purchase_status_4 {
    background-image: url("images/icons/misc/status_4.png");
}
.purchase_status_5 {
    background-image: url("images/icons/misc/status_5.png");
}
.purchase_status_6 {
    background-image: url("images/icons/misc/status_6.png");
}
.purchase_status_7 {
    background-image: url("images/icons/misc/status_7.png");
}

ol.unstyled, ul.unstyled {
    list-style: none;
}

.thumbnails.sp-items img {
    /*width: 100% !important;*/
    height: 150px !important;
    object-fit: cover; /* Do not scale the image */
    object-position: center;
}

.rubricWeight {
    color: #999;
    font-size: 70%;
    font-weight: bold;
    vertical-align: super;
}

.label-warning, .badge-warning {
    background-color: #FF8400 !important;
}

.label-important, .badge-important {
    background-color: #CC0000 !important;
}

.label-success, .badge-success {
    background-color: #18A11A !important;
}

.label-info, .badge-info {
    background-color: #0099FF !important;
}

.nav .dropdown {
    top:0; margin:0; border:none; padding:0;
    z-index: initial;
}

.nav .dropdown li {

}

.nav .dropdown li li {
    padding-left:0;
}

.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}

.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}
.nav .dropdown li li:first-child {
    margin-top: 0px;
}

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
/*.dropdown-submenu:hover>.dropdown-menu{display:block;}*/
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

.bs .modal {
    overflow-y: scroll;
}

body.modal-open {
    overflow: hidden;
}

.bs .modal-body .img-responsive { margin:0 auto; }

.bs .navbar-brand .label { font-size: 55% !important; }
.bs .navbar-brand [class^="icon-"], .bs .navbar-brand [class*=" icon-"] { vertical-align: middle !important; }
.bs .popover-content { text-align: center; }
.bs .popover-title { white-space: nowrap; }

.nav.toolbar > li {
    padding:10px 0;
}

img.itemImage { margin: 0 auto; }
catalog_item div.pages { margin:0 auto }
div.pages ul.pagination { margin:0 auto; float:none; }

.msg-body blockquote { font-size: 0.95em; }

.d-check-green {
    padding-left:22px;
    background:url('images/check-green.png') no-repeat left center;
}

.d-attention {
    padding:3px 0 3px 22px;
    background:url('images/attention.png') no-repeat left center;
    color: #D98900;
}

.d-wait {
    padding:3px 0 3px 22px;
    background:url('images/wait.png') no-repeat left center;
    color: #D98900;
}

.d-alert10 {
    padding-left:12px;
    margin-left: -6px;
    background:url('images/alert10.png') no-repeat left bottom;
}

#busyOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    left:0;
    top:0;
    background: rgba(255, 255, 255, 0.85 );
    display: block;
}
.busyOverlayContent {
    display: inline;
    text-align: center;
    vertical-align: middle;    
}
.busyOverlayContent.global {
    display: table-cell;
}
.busyOverlayContent.busyInput  {
    width: 20px;
    position: absolute;
    z-index: 10000;
}

ul.order-caption {
    margin-left: 0;
}

.order-caption {
    font-weight: bold;
    text-transform: uppercase;
}

.order-caption small {
    text-transform: none;
    font-weight: normal;
    font-size: 80%;
}

.text-normal { font-weight: normal !important; }

.purchase .panel-title a { display: block; }
tr.tabs td { padding: 0.5em 0 0 0 !important; }

a.sortBy.active { text-decoration: none !important; }
a.sortBy.active::after { content: " ↓ ";  }
a { outline:none !important; }

/* catalog bundles */
span.notTaken { opacity: 0.4 }
span.notTaken:hover { opacity: 1 }

small.bundleRow {
    display: flex;
    gap: 1em;
    font-size: 80%;
}
small.bundleRow:not(:last-of-type) {
    border-bottom: 1px dotted #80808080;
    margin-bottom: 4px
}
