body {
    padding-top: 60px;
    padding-bottom: 40px;
}

#ZFDebug_info [class*="span"] { /* bootstrap css fix*/
    float:none;
    margin-left:0px;
}

#product-wrapper .pagination {
    clear:both;
}

.icon-gray {
    background-image: url("/bootstrap/img/glyphicons-halflings-gray.png")
}
.icon-gray:hover {
    background-image: url("/bootstrap/img/glyphicons-halflings.png")
}

.ajax-loader {
    background-image: url('/images/ajax-loader.gif');
    background-position: top center;
    background-repeat: no-repeat;
    height: 11px;
    position: relative;
    width: 100%;
    margin: auto;
    margin-bottom: -11px;
    /*display: none;*/
}

.main-site a {
    color: #333;
    display:block;
    width: 100%;
    height: 100%;
}

.main-site .bs-icon {
    float: left;
    margin: 7px 10px 0 0;
    opacity: .8;
}

.news-not-published td, .news-not-active td {
    background-color: #FCEDED  !important;
}
.news-not-published:hover td {
    background-color: #FCEDED  !important;
}
.news-not-published td.news-date, .news-not-active td.news-active {
    color: red;
}

.btn.pull-left {
    margin-left: 4px;
    white-space: nowrap;
}
.btn.pull-right {
    white-space: nowrap;
}
.btn:first-child {
    margin-left: 0px;
}

.page-header > h2.header-group {
    overflow: hidden;
}

.well hr {
    margin-top: 0px;
    margin-bottom: 15px;
    border-top-color: #ddd;
    border-bottom-color: #fff;
}

#filter-wrapper .select-options {
    float:left
}

#filter-wrapper .tristate-checker {
    width: 24px;
    height: 20px;
    float:left;
    background: transparent url('/images/tristate-unchecked.png') no-repeat top left;
    margin-left:-15px;
}
#filter-wrapper .tristate-checker.checked {
    background-image: url('/images/tristate-checked.png');
}
#filter-wrapper .tristate-checker.partial {
    background: transparent url('/images/tristate-partial.png') no-repeat top left;
}
#filter-wrapper .disabled.confirmation-btn {
    text-align: center;
}

#filter-wrapper .results-info {
    color: #999;
    text-align: right;
    float:right;
    line-height: 30px;
}
#filter-wrapper a.filterByStatus .status-icon {
    width: 45px;
    height: 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-left:10px;
}

.btn-group.separator {
    width:0px;
    height: 30px;
    margin-left: 10px;
    margin-right: 5px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #fff;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }



.product-box {
    padding: 7px;
    color: #666;
}
.product-box.selected {
    background-color: #F5F571;
}
.product-box.associated {
    border-color: #DDB242;
}
.product-box > .title {
    font-size: 12px;
    height: 40px;
}

.associate-btn-group {
    font-size: inherit;
}

.product-box .associate {
    margin:1px;
    width: 14px;
    height: 14px;
    border: 0px none;
    border-radius: 4px;
    cursor: pointer;
}

.product-box .associate:hover {
    border: 1px solid #ddd;
    margin: 0px;
    background-color: #fff;
    width: 14px;
    height: 14px;
}

.product-box .thumbnail {
    width:174px;
    height: 150px;
    background-color: #fff;
    cursor: pointer;
}

.product-box .colors {
    width: 137px;
    float:left;
}
.product-box .product_symbol {
    float: right;
    width: 40px;
    color: #999;
    font-size: 0.8em;
    text-align: right;
    line-height: 24px;
}
.product-box .colors ul, .product-box .colors li, .colorpicker, .color-picker li {
    padding: 0;
    margin: 0;
    list-style: none;
}
.product-box .colors ul {
    overflow: hidden;
    padding: 2px;
    cursor: pointer;
    width: 137px;
    margin-top: 2px;
    border-radius: 4px;
}
.product-box .colors ul:hover {
    padding: 1px;
    border: 1px solid #ddd;
    background-color: #fff;
    width: 135px;
}

.product-box .colors li.title, .product-box .colors li.descr {
    float:left;
    font-size: 10px;
    padding-right: 5px;
}

.colors li.color, .color-picker .color {
    float:left;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 2px;
    margin-right: 2px;
}

.product-box .colors li.color {
    width: 15px;
    height: 15px;
}

.product-box .product_category {
    clear:both;
}
.product-box .product_category ul, .product-box .product_category li {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 10px;
}
.product-box .product_category ul {
    padding: 2px;
}
.product-box .product_category li {
    float:left;
    line-height: 12px;
}
.product-box .product_category li.title {
    padding-right: 5px;
}

form .color-picker {
    width: 420px;
}

form .color-picker a.color {
    width: 25px;
    height: 25px;
}
form .color-picker a.color.btn {
    width: 374px;
    height: 20px;
}
form .color-picker a.color.btn.active {
    background-image: none;
}

form .color-picker a.color {
    box-shadow: inset 4px 4px 4px rgba(255, 255, 255, 0.3)
}

form .color-picker a.active {
    border-color: #585858;
    box-shadow: inset 4px 4px 4px rgba(0, 0, 0, 0.3) !important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url('/images/color-picked-big.png');
}
.color_00 {
    background: transparent url('/images/icon-color_multi.jpg') no-repeat 50% 50%;
}
.color_66 {
    background: transparent url('/images/icon-color_transparent.jpg') no-repeat 50% 50%;
}
.color_00-big {
    background: transparent url('/images/icon-color_multi-big.jpg') no-repeat 50% 50%;
}
.color_66-big {
    background: transparent url('/images/icon-color_transparent-big.jpg') no-repeat 50% 50%;
}
form .color-picker a.active_00 {
    background: transparent url('/images/icon-color_multi-big_active.jpg') no-repeat 50% 50%
}

form .color-picker a.active_66 {
    background: transparent url('/images/icon-color_transparent-big_active.jpg') no-repeat 50% 50%
}

.product-box .statusses {
/*    width: 50px;
    height:37px;*/
    position:absolute;
    margin-top:-149px;
    margin-left: 149px;
}

.product-box .statusses .status {
    width: 50px;
    height: 37px;
    margin-top: -15px;
}

#sortable .thumbnail {
    background-color: #fff;
}
#sortable .sort-handler {
    cursor: move;
}

footer {
    margin: 50px 0px 80px;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
    color: #aaa;
    text-align: right;
    font-size: .8em;
}

#product-wrapper [class*="span"]:first-child {
    margin-left: 2.127659574468085%;
}