:root {
    --main-bg-color: #32BC9C;
    --max-width: 1400px;
}

* {
    padding: 0;
    margin: 0;
}

html, body {
    height: 100%;
}

.body-wrapper {
    min-height: 100%;
    position: relative;
    padding-bottom: 200px;
}

header {
    padding: 20px 0;
    background-color: var(--main-bg-color);
}

footer {
    position: absolute;
    bottom: 0;
    background-color: #d6d6d6;
    height: 200px;
    width: 100%;
}

.eshop-logo {
    width: 100%;
    max-width: 150px;
}

h1 {
    font-size:  30px;
}

h2 {
    font-size:  26px;
}

h1, h2, a:hover, a:focus {
    color: var(--main-bg-color);
}

h1 .f-search {
    font-size: 0.6em;
}

a {
    color: #858585;
}

.nav > li > a:hover {
    background-color: #fff;
}

.nav-pills.left-menu li.active>a {
    background-color: var(--main-bg-color);
    color: white;
}

#search {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 12px;
}

#search:focus-visible {
    outline: none;
}

.breadcrumb a {
    color: var(--main-bg-color);
}

.cart, .user, .mobile-menu {
    color: #fff;
    font-size: 2em;
    position: relative;
    cursor: pointer;
    text-align: center;
}

a.cart:hover,
a.user:hover,
a.cart:active,
a.user:active,
a.cart:focus,
a.user:focus,
a.cart:hover .caption,
a.user:hover .caption {
    color: #FFF;
    text-decoration: none;
}

.cart .count {
    display: none;
    position: absolute;
    text-align: center;
    top:-5px;
    right: -5px;
    width: 23px;
    height: 23px;
    padding: 4px 3px;
    background-color: #ff0000;
    color: white;
    font-size: 0.4em;
    font-weight: bold;
    border-radius: 50%;
}

.cart-container .cart-block {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    margin-bottom: 15px;
}

.cart-container h2 .cart-count-rows {
    font-size: 0.6em;
    color: gray;
}

.cart-container .cart-row {
    display: flex;
    padding: 10px 0;
}

.cart-container .cart-row .cart-row-name {
    font-size: 1.2em;
    color: gray;
    font-weight: bold;
    flex: 2 50%;
}

.cart-container .cart-row .cart-row-count {
    flex: 1 30%;
    display: flex;
    text-wrap: nowrap;
}

.cart-container .cart-row .cart-row-price {
    font-size: 1.2em;
    color: #979696;
    font-weight: bold;
    flex: 1 20%;
    text-align: right;
    text-wrap: nowrap;
}

.cart-container .cart-row.summary {
    border-top: solid 1px lightgray;
}

.cart-container .cart-row .cart-row-count .cart-minus,
.cart-container .cart-row .cart-row-count .cart-plus {
    padding: 4px 12px;
    border-radius: 8px;
    background-color: #E2E2E2FF;
    margin: 0 8px;
    cursor: pointer;
}


.cart-container .cart-row .cart-row-count .cart-minus:hover,
.cart-container .cart-row .cart-row-count .cart-plus:hover {
    background-color: #bfbfbf;
}

.cart-container .cart-row .cart-count-val,
.cart-container .cart-row .cart-count-price,
.cart-container .cart-row .cart-row-price-val {
    text-align: right;
    width: 20px;
    border: none;
    outline: none;
}

.cart-container .cart-row .cart-count-price {
    text-align: center;
    width: 100px;
}

.cart-container .cart-row .cart-row-price-val {
    text-align: right;
    width: 150px;
}

.cart-container .remove-row {
    margin-left: 5px;
    cursor: pointer;
    color: #979696;
}

.cart-container .remove-row:hover {
    color: black;
}

.enter-form .check-code-container {
    display: none;
}

.cart-container .go-back {
    cursor: pointer;
}

.enter-form.sended .contact-container {
    display: none;
}

.enter-form.sended .check-code-container {
    display: block;
}

.enter-form .check-code-btn.code-expired .get-new-code {
    display: inline-block;
}

.enter-form .check-code-btn.code-expired .send-code,
.enter-form .check-code-btn .get-new-code {
    display: none;
}

.middle-line {
    display: flex;
    align-items: center;
    line-height: 1em;
}

.middle-line .caption {
    font-size: 0.5em;
    color: rgba(252, 251, 251, 0.75);
}

.left-menu {
    background-color: #f6f9f8;
    padding-right: 0;
}

.left-menu>li>ul>li>ul{
    display: none;
}

.left-menu li {
    list-style-type: none;
}

.left-menu li>a {
    display: block;
    padding: 10px 15px;
}

.content {
    padding-top: 15px;
    padding-bottom: 15px;
}

.product-list {
    margin-left: -8px;
    margin-right: -8px;
}

.product-list li {
    padding-right: 8px;
    padding-left: 8px;
}

.product-list .prod-item {
    display: block;
    padding: 10px;
    height: 320px;
    border: solid 1px #e7e7e7;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-list .prod-item:hover {
    border-color: var(--main-bg-color);
    background-color: #fff;
}

.product-list .img-container {
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
}

.img-container img {
    max-width: 100%;
    height: auto;
}

.product-list .prod-item .prod-caption {
    font-weight: bold;
    color: gray;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 0;
}

.product-list .prod-item:hover .prod-caption {
    margin-right: 0;
    transition: all 4s ease-in-out;
}

.product-list .prod-item:hover img {
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
}

.product-list .prod-item .prod-caption:first-letter {
    text-transform: uppercase;
}

.product-list .prod-item .price {
    font-size: 1.2em;
    color: var(--main-bg-color);
    font-weight: bold;
    padding: 8px 0;
}

.product-list .prod-item .buy-button {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 8px 10px;
    background-color: var(--main-bg-color);
    border-radius: 5px;
    width: calc(100% - 20px);
    text-align: center;
    color: #fff;
}

.search-container {
    display: none;
    background-color: #d0d0d0;
    border-radius: 12px;
    padding: 10px;
    background-color: #f9f9f9;
    border: solid 1px #e7e7e7;
    margin-bottom: 15px;
}

.prod-features {
    width: 100%;
    margin-bottom: 15px;
}

.prod-features td {
    border: solid 1px #e7e7e7;
    padding: 8px 10px;
}

.f-search {
    color: gray;
    font-size: 0.8em;
    cursor: pointer;
}

.search-caption {
    margin-bottom: 20px;
}

.gi-2x {
    font-size: 2em;
}

.txt-main-color {
    color: var(--main-bg-color);
}

.price-container {
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    text-align: center;
}

.price-container .price {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.price-container .price .price-int {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--main-bg-color);
}

.price-container .price .price-fract {
    color: var(--main-bg-color);
}

.table.order tr {
    cursor: pointer;
}

.table.order-spec td {
    vertical-align: middle;
}

.table.order-spec td:not(:first-child) {
    text-align: center;
}

.table.order-spec tr:last-child td {
    text-align: right;
}

.search-list {
    display: inline-block;
}

.search-list .image-container {
    display: inline-block;
    width: 100px;
    height: 100px;
}

.search-list .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
