/* ============================================================
   Bootstrap Glyphicons
   ============================================================ */

[class^="icon-"],
[class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("/images/glyphicons-halflings.png");
    background-position: 14px 14px;
    background-repeat: no-repeat;
}

.icon-pencil {
    background-position: 0 -72px;
}

.icon-trash {
    background-position: -456px 0;
}


/* ============================================================
   CART GRID
   Иконки действий: сохранить / удалить
   ============================================================ */

/* Общие настройки кнопок действий */
#cart-grid .cart_update_quantum,
#cart-grid .delete {
    display: inline-block;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0 3px;
    vertical-align: middle;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    text-indent: -9999px;
    overflow: hidden;
    border: 0;
}


/* ------------------------------------------------------------
   UPDATE — сохранить количество
   ------------------------------------------------------------ */

#cart-grid .cart_update_quantum {
    background-image: url("/images/icons/save.png");
}


/* ------------------------------------------------------------
   DELETE — удалить
   ------------------------------------------------------------ */

#cart-grid .delete {
    background-image: url("/images/admin_icons/icon-trash.png");
}


/* Убираем стандартную Glyphicons-иконку внутри кнопок */
#cart-grid .cart_update_quantum i,
#cart-grid .delete i {
    display: none;
}


/* ============================================================
   PRICES GRID
   ============================================================ */

#prices-frontend-grid .summary,
#prices-frontend-grid th a span.caret {
    display: none;
}

#prices-frontend-grid th {
    text-align: center;
    vertical-align: middle;
}

#prices-frontend-grid table.items tr th {
    text-align: left;
    vertical-align: top;
}

#prices-frontend-grid table.items tr td {
    text-align: left;
}

#prices-frontend-grid img {
    max-width: 80px;
}


/* ============================================================
   PAGINATION
   ============================================================ */

.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
    background-color: #0068d9 !important;
    color: white !important;
}


/* ============================================================
   NAV TABS
   ============================================================ */

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
    color: #0068d9 !important;
}


/* ============================================================
   INFO
   ============================================================ */

#inf4 h4 img {
    margin: 0 10px 0 5px;
}


/* ============================================================
   NEWS
   ============================================================ */

#newsList div.post p {
    text-align: left;
}

div.to_more {
    text-align: left;
}

div.to_more div.btn-info a {
    color: white;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

ul.nav ul {
    list-style: none;
    position: absolute;
    left: -9999px;
    opacity: 0;
    -webkit-transition: .25s linear opacity;
}

ul.nav ul li {
    padding-top: 0;
    float: none;
}

ul.nav ul a {
    white-space: nowrap;
    display: block;
}

ul.nav li:hover ul {
    left: 0;
    opacity: 1;
}

ul.nav li:hover ul li a {
    background: #0068d9;
    margin: 0;
}

ul.nav li:hover ul a {
    margin: 0 !important;
    text-decoration: none;
    -webkit-transition: -webkit-transform .075s linear;
}

.o_nav li a {
    margin: 0 !important;
}


/* ============================================================
   DROPDOWN MENU
   ============================================================ */

.dropdown-menu {
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}