/*BOOTSTRAP*/
/*.container {width:960px;padding: 0px;}*/

html,body{height: 100%; font: 10pt Verdana; background: #e9e9e9 url(../img/tiny_grid.png) repeat 0 0;}
h1{font-size: 18pt;}
h2{font-size: 16pt;}
ul {padding-left:0;margin-bottom: 0;}
a {outline: 0;}
a:hover {outline: 0;text-decoration: none;}
body.modal-open {overflow: hidden;}
.r, .table td.r,.table th.r{ text-align: right;}
.c, .table td.c,.table th.c{ text-align: center;}
.b { font-weight: bold;}
.color-green{color:green;}
.color-red{color:red;}
.nodisplay{ display: none;}
table.matrix td.cell-hidden,table.matrix th.cell-hidden{ visibility: hidden;padding: 0px;border: none;}
table.matrix td.cell-hidden>*,table.matrix th.cell-hidden>*{ display: none;}
.muted{ color: #666666;}

/*#wrap .container { width: 1170px !important;}*/
#wrap > .container {padding-top: 60px;}
.white-box {background: #FFF;border: 1px solid #D5D5D5;padding: 15px 20px 15px 20px;}

.nav.pull-right .popover {width: 248px;height: 92px;}
.nav.pull-right .popover .btn {float: right;}
.widget.menu .widget-content {padding: 0;}

/*Validace*/
.validation-summary-errors {background:#f2dede;padding: 10px;margin: 10px 0;color:#c7254e;}
.validation-summary-errors li {list-style: none;}
input.input-validation-error {border: 1px solid red !important;}

/*.modal {overflow-y: hidden; }*/
.modal-wide .modal-dialog {width: 850px;}

footer {height: 30px;background-color: #1B1B1B;font-size: x-small;}
footer p{ margin: 8px 0;}

.font9{ font-size: 9pt;}
.font8{ font-size: 8pt;}

.tree {border-radius: 3px;border: 1px solid #E5E5E5;overflow: auto;}
.tree .treeview{background-color: #f5f5f5;}

/*.table { margin-bottom: 0px;}*/
.table .td-icon{ text-align: center;}
.table .td-currency{ text-align: right;}
.table .td-quantity{ text-align: center;}
.table td.c,.table th.c{text-align: center}
.table .table-row-select tr.hover td{ background-color: #e5e5e5;cursor: pointer;}
.table .sumary{ font-weight: bold;}

.table-grouped tr.group td{ background-color: #f0f0f0;border-bottom: solid 1px #333333;padding-left: 5px;font-weight: bold;cursor: pointer;}
.table-grouped td:first-child{ padding-left: 20px;}


#products .navbar{ margin-bottom: 5px;min-height:30px !important}
#products .navbar-nav > li > a {padding-top:5px !important; padding-bottom:5px !important;}
#products .navbar-form { margin: 2px;}

ul.product-items-box:after {clear: both;}
ul.product-items-box:before, .product-items-box:after {content: "";display: table;}
ul.product-items-box {list-style: disc outside none;margin: 0;}
ul.product-items-box li {display: inline-block;float: left;list-style-type: none;margin: 0;padding: 0;position: relative;}
ul.product-items-box li a.product-link {background-color: #f5f5f5;border:solid 1px #e5e5e5;/*border-radius: 5px*/;display: block;float: left;width: 195px;margin: 0 5px 10px;position: relative;text-align: center;text-decoration: none;min-height: 245px;color: black;}
ul.product-items-box li a.product-link:hover{ border-color: #a5a5a5;}
ul.product-items-box li a.product-link .product-image{ background-color: white; margin: 1px;}
ul.product-items-box .name{ overflow: hidden;font-weight: bold;margin-bottom: 5px;padding: 3px 5px 0 5px; font-size: 12px; height:32px; overflow: hidden;}
ul.product-items-box .image-not-found{ height: 150px;display: block;vertical-align: middle;color: #a5a5a5;}
ul.product-items-box .info { font-size: 8pt;}
ul.product-items-box li .price del{text-decoration: line-through;margin: 0 auto;color: #aba8a3;}
ul.product-items-box li .voc {font-size: 12px;padding: 5px 0 3px 0;background-color: #e0e0e0;height: 39px;}
ul.product-items-box li .moc, ul.product-items-box li .disp {color: #999;}
ul.product-items-box li .icona {display: inline; z-index: 99; }
ul.product-items-box .disp a { float: none;}
ul.product-items-box li.more-items a { text-align: center; color:#666}

.product-items-row2 .product-image{text-align: center; background: white; padding: 0; margin: 0;}
.product-items-row2 .product-description{padding: 8px 8px 8px 25px;}
.product-items-row2 .image-not-found{ height: 85px;display: block;vertical-align: middle;color: #a5a5a5;font-size: 8pt;text-align: center;padding: 10px 5px;}
.product-items-row2 .name{ font-weight: bold;font-size: 14px;}
.product-items-row2 .popis { color: #666;font-size: 10px; line-height: 15px;margin: 0; font-weight: normal;}
.product-items-row2 .voc .value{ font-weight: bold;font-size: 14px;}
.product-items-row2 .voc { margin-bottom: 5px; color: #6B6B6B;}
.product-items-row2 .moc { font-size: 12px; color: #999; margin-bottom: 5px;}
.product-items-row2 .disp { color: #999; }
.product-items-row2 .Ceny { width: 200px; text-align: right;}

.product-items-column a.product {display: block; text-align: center;margin: 0 0 5px 0;background-color: #f5f5f5;/*padding: 3px 5px*/;color: #333333;font-size: 10px;/*border-radius: 5px*/;border: solid 1px #e5e5e5;}
.product-items-column a.product:hover{ border-color: #a5a5a5;}
.product-items-column a.product .name{ font-weight: bold; overflow: hidden; padding: 3px;}
.product-items-column a.product .voc{ padding: 2px 3px 5px 3px;}
.product-items-column a.product .voc-prev{ text-decoration: line-through;color: #a5a5a5;}
.product-items-column .product-image { background: white; margin: 1px;}

ul.product-items-box-small:after {clear: both;}
ul.product-items-box-small:before, .product-items-box-small:after {content: "";display: table;}
ul.product-items-box-small {list-style: disc outside none;margin: 0;}
ul.product-items-box-small li {display: inline-block;float: left;list-style-type: none;margin: 0;padding: 0;position: relative;}
ul.product-items-box-small li a.product-link {background-color: #f5f5f5;border:solid 1px #e5e5e5;/*border-radius: 5px*/;display: block;float: left;width: 265px;margin: 0 5px 10px;position: relative;text-align: center;text-decoration: none;color: black;width: 128px;height: 128px;}
ul.product-items-box-small li a.product-link:hover{ border-color: #a5a5a5;}
ul.product-items-box-small li a.product-link .product-image{ background-color: white; margin: 1px;}
ul.product-items-box-small li .name {margin: 0;font-size: 10px;overflow: hidden;}
ul.product-items-box-small li .voc {font-size: 10px;}
ul.product-items-box-small li .moc {font-size: 10px;}
ul.product-items-box-small img {width: 60px;height: 60px;}

.stickers { position: absolute; top: 5px; }
.stickers .sticker { right: 5px; position: relative; width: 120px; margin-bottom: 7px;padding: 10px 0 10px 0;text-align: center;color: white;font-size: 14px;border-radius:0; }
.stickers .sticker-mini { width: 80px;font-size: 8pt; padding: 5px 0; border-radius:0; }
.stickers .sticker-vyprodej {background: #9C5052 no-repeat center right; } /*#0077ff*/
.stickers .sticker-akce { background: #649B54 no-repeat center right;} /*#ff8800*/
.stickers .sticker-novinka { background: #79C8D6 no-repeat center right; } /*#79C8D6*/
.stickers .sticker-tip { background: #ffdd00 no-repeat center right; }
.sticker-mini {font-size: 9pt;font-weight: normal;text-align: center; border-radius:0;color: white; }
.sticker-mini .sticker-akce { background: #ff8800 no-repeat center right; padding: 0 5px;}
.sticker-mini .sticker-novinka { background: #3c763d no-repeat center right; padding: 0 5px;}

table.matrix {font-size: 8pt;border-collapse: separate;width: 100%;}
table.matrix th{background-color: #F5F5F5;padding: 3px 5px;vertical-align: top;border: solid 1px #E5E5E5;}
table.matrix td{padding: 3px 10px 3px 5px;border-bottom: 1px solid #E5E5E5;border-right: 1px solid #E5E5E5;text-align: center;}
table.matrix td input{text-align:center;width:30px;margin: 0;padding: 0;font-size: 9pt;}
table.matrix span.MnozstviNe{color:red;display: block;font-size: 8pt;}
table.matrix span.MnozstviAno{color:green;display: block;font-size: 8pt;}
table.matrix input{ padding: 0;font-size: 9pt;display: inline-block;height: 22px;width: 22px;}
table.matrix .rank_01 input{ border:solid 2px #588538;}
table.matrix .rank_02 input{ border:solid 2px #458dc5;}
table.matrix .rank_03 input{ border:solid 2px #faac87;}
table.matrix .rank_04 input{ border:solid 2px #abd37f;}
table.matrix .rank_05 input{ border:solid 2px #004b7c;}
table.matrix .rank_06 input{ border:solid 2px #ff6969;}
table.matrix .rank_07 input{ border:solid 2px #588538;}
table.matrix .price { font-size: 7pt;}
table.matrix tfoot tr:first-child th{border-top: solid 2px #999999;}
table.matrix tfoot tr:last-child th{border-bottom: solid 2px #999999;}
table.matrix tfoot th{ font-size: 10pt;}
table.matrix td.bold { font-weight: bold;}
table.matrix input.input-validation-error {background-color:red;color: white;}
table.matrix td.nodisp div.Obsah { color: #ff0000;}

.table-availability { font-size: 8pt;}
.table-availability .rank i{display: inline-block;height: 10px;width: 10px;border-bottom: 10px solid rgba(0, 0, 0, 0);line-height: 10px;margin: 0 2px;}
.table-availability .rank_01 span i{border-color: #588538;}
.table-availability .rank_02 span i{border-color: #458dc5;}
.table-availability .rank_03 span i{border-color: #faac87;}
.table-availability .rank_04 span i{border-color: #abd37f;}
.table-availability .rank_05 span i{border-color: #004b7c;}
.table-availability .rank_06 span i{border-color: #ff6969;}
.table-availability .rank_07 span i{border-color: #588538;}                                                  

.MnozstviAno {color: #008000;}
.MnozstviNe {color: red;}

.disp .MnozstviPod,.disp .MnozstviNad, .disp .MnozstviAno{ color: green;}
.disp .MnozstviNe{ color: red;}

.seller .widget-content{ text-align: center;padding: 15px 5px;}
.rounded-border{border-radius: 3px;border: 1px solid #E5E5E5;}

ul.inline:after{ clear: both;}
ul.inline:before, .inline:after {content: "";display: table;}
ul.inline li{float: left;list-style-type: none;margin: 0;padding: 0;position: relative;}

ul.news-top { margin-bottom: 4px; max-height: 120px; }
ul.news-top li { width: 196px;overflow: hidden;padding: 0 10px 0 20px; background: transparent url('../img/product_box_separator.png') no-repeat bottom right;}
ul.news-top li:last-child { width: 196px;overflow: hidden;padding: 0 10px 0 20px; background: none;}
ul.news-top h3{ font-size: 10pt;margin: 0;padding: 0;line-height: 20px;}
ul.news-top p{ font-size: 8pt;margin: 0;padding: 0;line-height: 20px;color:#777}
ul.news-top i { position: absolute;top: 0;left: 0;width: 15px;height: 15px;display: block;}

.overview-inputs{ margin-bottom: 15px;}
.overview-inputs table input, .overview-inputs table select{ margin: 0;font-size: 10pt;padding: 2px;height: 24px;}
.overview-inputs .DatePicker{ width: 100px;}
.overview-inputs .short-cuts{ font-size: 8pt;}
.overview-inputs table th{ font-size: 8pt;text-align: left;font-weight: normal;}
.overview-inputs table td{ padding-right: 5px;}

#product-detail .product-prices label{ font-weight: normal;}
#product-detail .product-prices { font-size: 11pt;}
#product-detail .product-prices #price-voc{ font-weight: bold;}
#product-detail .product-prices #price-voc-old{ text-decoration: line-through;}
#product-detail .product-prices #discount{ font-weight: bold;}
#product-detail .tab-pane {margin: 20px;}
#product-detail .detail-image-thumbnails img{ max-width: 65px; margin: 0 5px;}
#product-detail .detail-image-thumbnails a{ border: solid 1px #cccccc;display: inline-block;}
#product-detail .detail-image-thumbnails .thumbnail-title{ text-align: center;font-size: 8pt;background-color: #f0f0f0;}

/*Velikostni tabulka*/
.vta table { border-collapse: collapse;}
.vta table td{padding: 3px 8px;}
.vta table tr.sizetableheader td{ background-color: #f0f0f0;text-align: center;}
.vta table td.sizetablecontentsheader{ background-color: #f0f0f0;}

.preorder-summary{ font-size: 12pt;padding: 11px 5px;}
#preorder .span4 {min-height: 97px;}
#preorder span.name {color: #888;font-size: 18px;}
.preorder-tab table td {line-height: 10px;}
.preorder-tab table .span1 {width: 100%;min-height: 25px;margin: 0;}

#preorder-item-detail .tab-pane {margin: 20px;max-height: 150px;overflow: auto;}

.bnf-icon-pdf{ background-image: url('../img/icons/pdf.png');background-position: 0 0;background-repeat: no-repeat;display: inline-block;height: 14px;line-height: 14px;margin-top: 1px;vertical-align: text-top;width: 14px;}
/*[class^="icon-info-sign"] {color: green;font-size: 15px;}*/

.info-hodnota {display: block;margin-bottom: 5px;font-size: 24px;color: #6B6B6B;text-align:right;}
.info-popis {display: block;vertical-align: top;font-size: 11px;color: #999;text-align:right;}
.info-hodnota.important {color: #F90;}

.save {float: right;}
.fa-info-circle {color: #008000;}
.fa-times-circle {color: red;}

#order label {display: inline-block;min-width: 145px;font-size: 11px;color: #888;}

.home-info a[data-toggle="popover-hover"]{display:block;}
.home-info li.info {padding: 5px 20px 0 0;width: 230px;background: transparent url('../img/product_box_separator.png') no-repeat bottom right;}
.home-info li.info:last-child {background: none;}
.home-info .popover-content li {float: right;text-align: right;}
.popover-content li .info-hodnota {/*display: inline;*/font-size: 18px;}
.popover-content li .info-popis{/*display: inline;*/font-size: 11px;}

.objednavky .popover {max-width: 160px;}
.predobjednavky .popover {max-width: 180px;}
.faktury .popover {max-width: 200px;}

ul.inline li .popover-content li {display: block;}
ul.hidden {visibility: hidden;position: absolute;}

.modal-header{ padding: 2px 10px;background-color: #f0f0f0;}
.modal-header .close{ margin-top :5px;}
.modal-footer {padding: 5px 10px;}

#cart-popup { width: 270px;}
#cart-popup .cart-popup-operation{ padding: 10px;background-color: #DFF0D8;white-space: nowrap;}
#cart-popup .cart-popup-operation.cart-popup-operation-delete{ background-color: #F2DEDE;}
#cart-popup .cart-popup-count{ float: left;}
#cart-popup .cart-popup-price{ float: right;}

/*.modal-body {max-height: 390px;overflow: auto;}
.modal-body .preorder-img {float: left;width: 200px;}
.modal-body .preorder-price {float: right;width: 250px;}
.modal-body .preorder-price .Radek {padding: 5px 0;border-bottom: 1px dotted #dddddd;text-align: right;}
.modal-body .preorder-price label {float: left;}
.modal-body .preorder-price #CenaVoc{font-weight: bold;}
.modal-body .preorder-price .Mena{padding-left: 10px;}
.modal-body .preorder-tab {padding: 20px 0 0 0;}*/

.cart table img { height: 85px;}
.cart .product-name{ font-weight: bold;}

.search {min-width: 270px;}
.search input[type="submit"] {margin-bottom: 4px;}

.badge-dark-red {
	background: #a24037;
	background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0,#b5473e), color-stop(100%,#a24037));
	background-image: -webkit-linear-gradient(top,#b5473e,#a24037);
	background-image: -moz-linear-gradient(top,#b5473e,#a24037);
	background-image: -o-linear-gradient(top,#b5473e,#a24037);
	background-image: linear-gradient(to top,#b5473e,#a24037);
	-webkit-box-shadow: 0 0 0 1px #692924;
	-moz-box-shadow: 0 0 0 1px #692924;
	box-shadow: 0 0 0 1px #692924;
}

.badge-small{ font-size: 75%;padding: 2px 4px;}
.badge-top {z-index: 999;position: relative;top: -10px;left: 12px;}

.widget {margin-bottom: 20px;}
.widget .widget-header {
	position: relative;
	height: 40px;
	line-height: 40px;
    background: white;
	background: #E9E9E9;
	background: -moz-linear-gradient(top, #fafafa 0, #e9e9e9 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fafafa), color-stop(100%, #e9e9e9));
	background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
	/*background: -o-linear.su-gradient(top, #fafafa 0%, #e9e9e9 100%);*/
	background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
	background: linear-gradient(to top, #fafafa 0%, #e9e9e9 100%);
	filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
	-ms-filter: "progid: DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
	border: 1px solid #D5D5D5;	
	-webkit-background-clip: padding-box;
}

.widget .widget-header + .widget-content {
	border-top: none;
	-webkit-border-top-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-topright: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.widget .widget-header [class^="fa-"], .widget .widget-header [class*=" fa-"],.widget .widget-header [class^="icon-"], .widget .widget-header [class*=" icon-"] {
	display: inline-block;
	margin-left: 13px;
	margin-right: -2px;
	font-size: 14px;
	color: #555;
}
.widget .widget-header.katalog a i {margin: 2px 7px;}

.widget .widget-header .brand { font-weight: normal;}

.widget .widget-content {padding: 10px;background: #FFF;border: 1px solid #D5D5D5;
	/*-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;*/
}
.widget h1 {position: relative;display: inline-block;font-size: 10pt;font-weight: bold;margin: 0;padding: 0;top: 0;left: 10px;}

.tooltip.tooltip-error .tooltip-inner{ background-color: red;}
.tooltip.tooltip-error .tooltip-arrow { border-bottom-color: red;}
.tooltip-inner { max-width: 350px;}

div.search-group-header{padding: 5px 10px; font-size: 1.1em;border-top: 1px solid #e2e1df;border-bottom: 1px solid #e2e1df;background: #f4f0e6;color: #1a171b;}

@media (max-width: 767px)
{
    #footer { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px;}      
    .not-mobile{ display: none;}
    .navbar li { float: left;}

    .navbar-nav .open .dropdown-menu {
        position: absolute;
        margin-top: 8px;
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, .15);
        border-radius: 4px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
        background-clip: padding-box;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
        color: #000;
    }

    #searchForm {
        width: auto;
        padding-top: 0;
        padding-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .navbar-nav {
        margin: 0;
    }
}

@media (max-width: 560px) {
    #main-nav-container {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #navbar-collapse {
        margin-right: auto;
    }

    #navbar-menu {
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    #searchForm {
        padding: 0;
    }

    #cart-sum {
        padding-left: 0;
        padding-right: 5px;
        padding-top: 12px;
        padding-bottom: 17px;
        white-space: nowrap;
    }
}

@media (max-width: 430px) {
    
    .nav>li>a {
        padding: 10px;
    }
}