/* Custom button
-------------------------------------------------- */

/* Override base .btn styles */
/* Apply text and background changes to three key states: default, hover, and active (click). */
.btn-ttc,
.btn-ttc:hover,
.btn-ttc:active {
    color:darkgray;
}

/* Apply the custom-colored gradients */
/* Note: you'll need to include all the appropriate gradients for various browsers and standards. */
.btn-ttc {
  /*background-repeat: repeat-x;*/
  background-image: url("/static/imgs/btn.png");
}

/* Set the hover state */
/* An easy hover state is just to move the gradient up a small amount. Add other embellishments as you see fit. */
.btn-ttc:hover {
  color: gray;
}

.navbar-kiosk {
    background-image: url("/static/imgs/header.jpg");
    height: 60px;
}

.navbar-header.navbar-header-kiosk {
    margin-left: 5%;
    margin-right: 3%;
}

.navbar-form-kiosk{
    margin-top:0;
    left: 15%;
    position: absolute;
}

@media (min-width: 992px) {
    .navbar-form-kiosk  {
        width:40%;
        margin-top:8px;
    }
}

@media (max-width: 767px){
    .navbar-form-kiosk  {
        left: 0;
        position: static;
    }

}

.tovar-view-mob  {
    padding-left:0;
    }

.nav-stacked-kiosk > li {
    background-image: url("/static/imgs/fon/kiosk_fon-7grey.jpg");
    height: 70px;
}

.nav-stacked-kiosk > li >a,
.nav-stacked-kiosk > li >a:hover,
.nav-stacked-kiosk > li >a:focus {
    background-color:transparent;
    color:gray;
    font-weight:bold;
    vertical-align: middle;
    padding:0;
    height:100%;
    padding:5%;
}


.nav-stacked-kiosk > li.active > a{
    background-image: url("/static/imgs/fon/kiosk_fon-7yel.jpg");
}

.nav-stacked-kiosk-blue > li {
    background-image: url("/static/imgs/fon/kiosk_fon-7bl.jpg");
    height: 70px;
}

.nav-stacked-kiosk-blue > li >a,
.nav-stacked-kiosk-blue > li >a:hover,
.nav-stacked-kiosk-blue > li >a:focus {
    background-color:transparent;
    color:white;
    font-weight:bold;
    vertical-align: middle;
    padding:0;
    height:100%;
    padding:5%;
}

.img-left-btn {
    width: 31px;
    height: 31px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: 50%;
}

.img-shtrih-kod {
    background-image: url("/static/imgs/menu/kod.png");
}

.img-shtrih-kod.active {
    background-image: url("/static/imgs/menu/kod_active.png");
}

.img-dk {
    background-image: url("/static/imgs/menu/dk.png");
}

.img-dk.active {
    background-image: url("/static/imgs/menu/dk_active.png");
}

.img-poisk {
    background-image: url("/static/imgs/menu/poisk.png");
}

.img-poisk.active {
    background-image: url("/static/imgs/menu/poisk_active.png");
}

.img-prodaja {
    background-image: url("/static/imgs/menu/prodaja.png");
}

.img-prodaja.active {
    background-image: url("/static/imgs/menu/prodaja_active.png");
}

.img-zakaz {
    background-image: url("/static/imgs/menu/zakaz.png");
}

.img-zakaz.active {
    background-image: url("/static/imgs/menu/zakaz_active.png");
}


.img-rating {
    background-image: url("/static/imgs/menu/rating.png");
}

.img-calc-white {
    background-image: url("/static/calc/calc_white.png");
    display: block;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;;
    background-position: 50%;
    background-size: 67%;
    cursor: pointer;
}

.btn-left-menu {
    display: table;
    height: 100%;
}

.btn-left-menu-itm {
    display:table-cell;
    vertical-align:middle;
    padding-left:5px;
    padding-right:5px;
}

.circle-color {
    width: 15px;
	height: 15px;
	background: red;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
	display: block;
	color: transparent;
}

.tovar-txt-color {
    font-size: large;
    color: #509dd3;
}

.tovar-txt-color-light {
    font-size: large;
    color: #85acd5;
}

.tovar-val{
    font-size: medium;
    padding-left:15px
}

#tovar-table > tbody > tr> td {
    padding-top:7px;
}

.table-razmery > thead > tr > th {
    background: #ececf4;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: large;
    border-width: 1px;
    border-color: #D0D0D0;
    border-style: solid;
}

.table-razmery > tbody > tr > td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: large;
    border-width: 1px;
    border-color: #D0D0D0;
    border-style: solid;
}

button.close-modal {
    margin-top: -7%;
    margin-right: -5%;
    display: block;
    width: 50px;
    height: 50px;
    background: #428bca;
    border-radius: 25px;
    opacity: 1;
    color: white;
    font-weight: normal;
    font-size: xx-large;
}

.close-modal:hover,
.close-modal:focus {
    color:white;
    cursor: pointer;
    opacity: 1;
}

.gruppa_btn {
    display: block;
    width: 215px;
    height: 161px;
    text-align: center;
    font-weight: bold;
    color:#5F5F5F;
    font-size: larger;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  /*-webkit-appearance: none;*/
  margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.input_number {
    color:#f6931f;
    width:45px;
    font-weight: bold;
    font-size: larger;
    text-align:center;
    border-style: solid;
    border-color: #DDDDDD;
}

a.list-group-item.kiosk {
    padding-top:5px;
    padding-bottom:5px;
    cursor: pointer;
}

.list-group.kiosk {
    margin-bottom:10px;
}

a.list-group-item.f-select {
    background:#f5f5f5;
}

.badge.kiosk {
    font-size: 9px;
}

a.btn.kiosk {
    background-image: url("/static/imgs/fon/kiosk_fon-7grey.jpg");
    color: gray;
    font-weight: bold;
}

.badge.badge-disable {
    background-color: rgb(204, 204, 204);
}

.loader {
	position: absolute;
	left: 0%;
	top: 0%;
	width: 100%;
	height: 100%;
	min-height: 300px;
	z-index: 9999;
	background: url("/static/imgs/loader.gif") 50% 50% no-repeat rgba(255,255,255,0);
}

.razmery-head-tt {
    display:table-cell;
    padding:5px;
    border-bottom: 1px solid lightgray;

}

.razmery-head-cell {
    display:table-cell;
    background: #ececf4;
    padding: 5px;
    font-size: 135%;
    border-width: 1px;
    border-color: #D0D0D0;
    border-style: solid;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    min-width: 42px;
}

.razmery-head-cell-zakaz {
    display:table-cell;
    background: #ececf4;
    padding: 5px;
    font-size: 135%;
    border-width: 1px;
    border-color: #D0D0D0;
    border-style: solid;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    min-width: 48px;
}

.razmery-cell {
    display:table-cell;
    font-size: 140%;
    font-weight: bold;
    border-width: 1px;
    border-color: #D0D0D0;
    border-style: none solid solid solid;
    text-align: center;
    vertical-align: middle;


}

.razmery-row:nth-child(odd) {background: #FFF}
.razmery-row:nth-child(even) {background: #f9f9f9}

.razmery-magaziny-cell {
    display:table-cell;
    background:#ececf4;
    font-size:large;
    padding-left: 20px;
    padding-right: 20px;
    vertical-align: middle;
    min-width: 263px;
    max-width: 350px;
    border-bottom: 1px solid lightgray;
    padding:5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}

.razmery-magaziny-cell-right {
    display:none;
    background:#ececf4;
    font-size:large;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    min-width: 260px;
    border-bottom: 1px solid lightgray;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;

}

.cell-zakazat {
    cursor: pointer;
    display: block;
    font-size: 9px;
    color: red;
    transform: rotate(25deg);
    font-family: Comic Sans MS;

}

@media (max-width: 767px) {
    .tovar-view-mob  {
        padding-left:0;
        padding-right:0;
        overflow: auto;
    }
    .razmery-head-tt {
        font-size:smaller;
        margin-left:0;
        max-width: 125px;
    }
    .razmery-magaziny-cell {
        min-width: 50px;
        font-size:smaller;
        max-width: 125px;
    }
    .razmery-magaziny-cell-right {
        min-width: 50px;
        font-size:smaller;
        display:table-cell;
    }
    .razmery-head-cell {
        font-size: small;
        min-width: 30px;
        padding:1px;
    }
    .razmery-head-cell-zakaz {
        font-size: small;
        min-width: 50px;
        padding:1px;
    }
    .razmery-cell {
        font-size: small;
    }
    .tovar-txt-color-light {
        font-size:large;
    }
    .tovar-val {
        font-size:x-large;
    }
    .navbar {
        margin-bottom:0px;
    }
}

.img_sign {
    float: right; /* Выравнивание по правому краю */
    border: 1px solid #333; /* Параметры рамки */
    padding: 7px; /* Поля внутри блока */
    margin: 10px 0 5px 5px; /* Отступы вокруг */
    background: #f0f0f0; /* Цвет фона */
}
.img_sign figcaption {
    margin: 0 auto 5px; /* Отступы вокруг абзаца */
   }

