@import url('//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i&subset=latin-ext');

body, html {
    font-family: 'Open Sans', sans-serif;
}

.s_content {
    padding-top: 10px;
    min-width: 320px;
}

* {
    -webkit-font-smoothing: antialiased;
}

h1, h2 {
    font-weight: 100;
}

h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

h2 {
    font-size: 18px;
    margin: 5px 0 10px;
    font-weight: 700;
}

.s_container { overflow-x: hidden; }

#cartIcon a {
    min-width: 50px;
    text-align: center;
    color: #fff;
    position: relative;
    line-height: 47px;
    padding-top: 1px;
    background: #b00c28;
}
#cartIcon a:hover {
    color: #fff;
    background: #bd243d;
}

#cartIcon i {
    padding: 0;
    font-size: 14px;
}
#cartIcon span.counter {
    position: absolute;
    top: 4px;
    right: 10px;
    font-size: 11px;
    font-weight: 700;
    background-color: #3e8acc;
    border: 2px solid #b00c28;
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    line-height: 15px;
}

#preloader {
    visibility: hidden;
    margin-left: 10px;
}

/*************
 * PRICE ROW *
**************/
.price-row {
    width: 100%;
    margin-top: 25px;
    border: 1px solid #b20324;
}

.price-row table {
    width: 100%;
    table-layout: fixed;
}

.price-row table td {
    text-align: center;
}

.price-row .price {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #b20324;
    padding: 6px;
}

.price-row .price span.catalog-price {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    text-decoration: line-through;
}

.price-row .add-cart, .price-row .add-cart-fast {
    width: 100%;
    background-color: #b20324;
    color: #fff;
    text-transform: uppercase;
}

.price-row .add-cart-fast {
    border-left: 1px solid #fff;
}

.price-row .add-cart i {
    margin-right: 5px;
}

.price-row.out-of-stock {
    background-color: #eee;
    color: #333;
    text-transform: uppercase;
    border: 1px solid #ccc;
    text-align: center;
}

/**************
 * BUTTON ROW *
***************/
.button-row {
    margin-top: 25px;
}

.button-row .left a {
    padding: 12px 0;
    color: #b20324;
    text-decoration: underline;
}

.button-row .right {
    text-align: right;
}

.button-row .right .btn {
    background-color: #40ba60;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 30px;
    letter-spacing: 5px;
}

.price-row .add-cart i {
    margin-right: 5px;
}

.button-row label.radio-inline, .button-row label.checkbox-inline
{
    margin-right: 40px;
}


/******************
* DEFAULT BROWSER *
*******************/
.products .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.products .row>div, .products .product {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.products .product, .products .product-caption {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.products .product-caption {
    padding-bottom: 70px;
}

.products .price-row {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
}

.product {
    border: 1px solid #e6e6e6;
    text-align: center;
    margin-bottom: 25px;
}

.product .product-image img {
    width: 100%;
    height: auto;
    margin: auto;
}

.product-caption {
    border-top: 1px solid #e6e6e6;
    padding: 20px;
    font-size: 12px;
}

.product-image {
    position: relative;
}

.image-tags {
    position: absolute;
    top: 0;
    left: 0;
    text-align: left;
}

.image-tags .image-tag {
    float: left;
    clear: both;
    color: white;
    background: black;
    background: rgba(0, 0, 0, 0.6);
    margin-bottom: 1px;
    padding: 8px 12px;
    line-height: 14px;
    font-size: 12px;
    font-weight: 700;
}

.image-tags .image-tag img {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

div.filter {
    margin-bottom: 20px;
    font-size: 16px;
}

div.filter label {
    margin-left: 5px;
}

div.filter img {
    background: black;
    width: 20px;
    display: inline-block;
}

.image-tags .image-tag i {
    display: inline-block;
    margin-right: 4px;
}

/*****************
* PRODUCT DETAIL *
******************/
.product-detail .product-image {
    margin-bottom: 25px;
}

.product-detail .product-gallery {
    margin: 25px 0;
    display: flex;
}

.product-detail .product-gallery a {
    float: left;
    width: 75px;
    margin: 0 15px 15px 0;
    opacity: 0.5;
    padding: 5px;
    border: 1px #e6e6e6 solid;
    flex: 1 0 auto;
    position: relative;
    height: 160px;
    max-width: 50%;
}

.product-detail .product-gallery a:hover {
    opacity: 1;
    border: 1px #b20324 solid;
}

.product-detail .product-gallery a img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.product-detail ul {
    margin: 25px 0;
}

.product-detail ul li {
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 0;
    list-style: none;
}

.product-detail ul li span {
    font-weight: 700;
    min-width: 120px;
    display: inline-block;
}

/*******
* CART *
********/
.cart .add-cart-message {
    background-color: #f7f7f7;
    border: 1px solid #e6e6e6;
    padding: 20px 0;
    margin-bottom: 25px;
}

.cart .cart-header {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

.cart .cart-product {
    border: 1px solid #e6e6e6;
    border-bottom: none;
    padding: 10px 0;
    display: table !important;
}

.cart .cart-product div[class*='col-'] {
    display: table-cell !important;
    vertical-align: middle;
    float: none;
}

.cart .cart-product .product-image {
    width: 150px;
    text-align: center;
}
.cart .cart-product .product-image img {
    height: calc(100vw * 70.0 / 1280.0);
    margin: auto;
    max-height: 125px;
}

.cart .cart-product .input-group {
    padding: 0 10px;
}
.cart .cart-product .input-group a, .cart .input-group input {
    background-color: #f7f7f7;
    border-radius: 0;
    font-weight: 300;
}

.cart .cart-product .price {
    font-weight: 700;
}

.cart .cart-product .remove {
    padding-right: 0;
}

.cart .cart-product .remove a {
    border-left: 1px solid #e6e6e6;
    padding: 6px 15px;
}

.cart-summary {
    border: 1px solid #e6e6e6;
    background-color: #f7f7f7;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 0 10px;
}

.cart-empty {
    margin-top: 25px;
}

._cart ._pad { padding: 10px; }
._cart ._price, ._cart ._total { width: 10%; }
._cart ._head, ._cart ._item, ._car ._foot { clear: both; }
._cart ._product { width: 54%; }
._cart ._image { width: 14%; }
._cart ._title { width: 40%; }
._cart ._amount { width: 20%; }
._cart ._amount a { border-radius: 0; }
._cart ._item, ._cart ._foot { margin-top: -1px; border: 1px solid #e6e6e6; }
._cart ._item { display: flex; flex-direction: row; align-items: center; justify-content: center; }
._cart ._item>div, ._cart ._head>div, ._cart ._head>div, ._cart ._label { float: left; }
._cart ._head { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #999; }
._cart ._foot { background-color: #f7f7f7; text-transform: uppercase; font-weight: 700; }
._cart ._together { float: right; text-align: right; }

/*=========================================
bounce animation used on errors
==========================================*/
@-webkit-keyframes bounce {
    0% { -webkit-transform:translateY(-100%); }
    5% { -webkit-transform:translateY(-100%); }
    15% { -webkit-transform:translateY(0); }
    20% { -webkit-transform:translateY(-80%); }
    25% { -webkit-transform:translateY(0%); }
    30% { -webkit-transform:translateY(-70%); }
    35% { -webkit-transform:translateY(0%); }
    40% { -webkit-transform:translateY(-60%); }
    45% { -webkit-transform:translateY(0%); }
    50% { -webkit-transform:translateY(-50%); }
    55% { -webkit-transform:translateY(0%); }
    60% { -webkit-transform:translateY(-30%); }
    65% { -webkit-transform:translateY(0%); }
    70% { -webkit-transform:translateY(-15%); }
    75% { -webkit-transform:translateY(0); }
    80% { -webkit-transform:translateY(-10%); }
    85% { -webkit-transform:translateY(0); }
    90% { -webkit-transform:translateY(-5%); }
    95% { -webkit-transform:translateY(0); }
    100% { -webkit-transform:translateY(0); }
}

/* Mozilla Firefox 15 below */
@-moz-keyframes bounce {
    0% {
        -moz-transform:translateY(-100%);
        opacity: 0;
    }
    5% {
        -moz-transform:translateY(-100%);
        opacity: 0;
    }
    15% { -moz-transform:translateY(0); }
    30% { -moz-transform:translateY(-50%); }
    40% { -moz-transform:translateY(0%); }
    50% { -moz-transform:translateY(-30%); }
    70% { -moz-transform:translateY(0%); }
    80% { -moz-transform:translateY(-15%); }
    90% { -moz-transform:translateY(0%); }
    95% { -moz-transform:translateY(-10%); }
    97% { -moz-transform:translateY(0%); }
    99% { -moz-transform:translateY(-5%); }
    100% {
        -moz-transform:translateY(0);
        opacity: 1;
    }
}

/* Opera 12.0 */
@-o-keyframes bounce {
    0% {
        -o-transform:translateY(-100%);
        opacity: 0;
    }
    5% {
        -o-transform:translateY(-100%);
        opacity: 0;
    }
    15% { -o-transform:translateY(0); }
    30% { -o-transform:translateY(-50%); }
    40% { -o-transform:translateY(0%); }
    50% { -o-transform:translateY(-30%); }
    70% { -o-transform:translateY(0%); }
    80% { -o-transform:translateY(-15%); }
    90% { -o-transform:translateY(0%); }
    95% { -o-transform:translateY(-10%); }
    97% { -o-transform:translateY(0%); }
    99% { -o-transform:translateY(-5%); }
    100% {
        -o-transform:translateY(0);
        opacity: 1;
    }
}

/* W3, Opera 12+, Firefox 16+ */
@keyframes bounce {
    0% {
        transform:translateY(-100%);
        opacity: 0;
    }
    5% {
        transform:translateY(-100%);
        opacity: 0;
    }
    15% { transform:translateY(0); }
    30% { transform:translateY(-50%); }
    40% { transform:translateY(0%); }
    50% { transform:translateY(-30%); }
    70% { transform:translateY(0%); }
    80% { transform:translateY(-15%); }
    90% { transform:translateY(0%); }
    95% { transform:translateY(-7%); }
    97% { transform:translateY(0%); }
    99% { transform:translateY(-3%); }
    100% {
        transform:translateY(0);
        opacity: 1;
    }
}

/***********
* CHECKOUT *
************/
.checkout fieldset {
    border: 1px solid #e6e6e6;
    position: relative;
    margin: 60px 0 20px;
    padding: 20px 20px 10px;
}

.checkout fieldset legend {
    position: absolute;
    top: -35px;
    left: 0;
    font-size: 18px;
    font-weight: 700;
    border: none;

}

.checkout label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 300;
}

.checkout label span {
    text-transform: none;
}

.checkout input[type="text"], .checkout input[type="number"], .checkout input[type="email"], .checkout input[type="password"], .checkout select, .checkout textarea {
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    padding: 6px;
    font-size: 12px;
    width: 100%;
    max-width: 350px;
}

.checkout label.radio-inline, .checkout label.checkbox-inline  {
    font-size: 14px;
    text-transform: none;
    margin-right: 40px;
}

.checkout span.error {
    font-size: 12px;
    font-weight: 300;
    color: #f00;
}

.checkout input.error {
    border: 1px solid #f00;
    color: #f00;
    -webkit-animation: bounce 0.8s ease-out;
    -moz-animation: bounce 800ms ease-out;
    -o-animation: bounce 800ms ease-out;
    animation: bounce 0.8s ease-out;
}

.checkout .shipping-type span {
    font-weight: 700;
    color: #b20324;
}

.checkout .payment-type:before {
    background: url('../images/payments-new-1.png') no-repeat;
    height: 35px;
    width: 61px;
    display: inline-block;
    margin: -8px 0 0;
    position: absolute;
}

.checkout .payment-type.tatrapay:before {
    background-position:  0 -35px;
}

.checkout .payment-type.paypal:before {
    background-position: 0 -105px;
}

.checkout .payment-type.bank_transfer:before {
    background-position: 0 -70px;
}

.checkout .payment-type.viamo:before {
    background-position: 0 -142px;
}

.checkout .payment-type.trustpay:before {
    background-position: 0 -182px;
}

.checkout .payment-type span {
    padding-left: 65px;
}

.checkout #user h2 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
}
.checkout #password {
    display: none;
}

.checkout .coupon-label {
    font-size: 12px;
    font-weight: 300;
    margin-bottom: 5px;
}

.checkout .cart-header {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    margin: 30px 0 5px;
    padding-top: 30px;
    border-top: 1px solid #e6e6e6;
}

.checkout .cart-product {
    border: 1px solid #e6e6e6;
    border-bottom: none;
    padding: 10px 0;
}

.checkout .checkout-submit .checkbox-inline {
    margin-right: 0;
}

/***********
* DennikN integration (e.g. recommendation styling) *
************/

.a_footer { width: 25%; float: left; padding: 9px; }
.a_footer img { max-height: none !important; }
.a_footer h3 { font-size: 18px; line-height: 1.25; margin-top: 9px; }

/***********
* Media queries
************/

@media only screen and (max-width: 640px) {
    .s_content { padding: 0 9px !important; }
    .button-row .left { text-align: center }

    .button-row .right { text-align: center; }
    ._cart ._item { display: block; }
    ._cart ._image, ._cart ._head, ._cart ._price { display: none; }
    ._cart ._title { width: 100%; }
    ._cart ._total { width: 30%; line-height: 30px; }
    ._cart ._amount { width: 45%; }
    .checkout input[type="text"], .checkout input[type="number"], .checkout input[type="password"] { font-size: 16px; }
    .checkout label.radio-inline, .checkout label.checkbox-inline { margin: 10px 0 0; }
    .button-row label.radio-inline, .button-row label.checkbox-inline { margin-right: 0; margin-bottom: 10px; }
}

.product-detail .image-tags .image-tag { font-size: 14px; }
.product-detail .image-tags .image-tag img { margin-top: -2px; }
.product-detail .product-gallery { margin: 25px -15px 25px 0; }
.image-tags .image-tag img { margin-top: -1px; }
