img {
    max-width: 100%;
    vertical-align: middle;
}

/*OBECNÉ*/

@media (max-width: 1439px) and (min-width: 1200px) {
    .products-inline.products-top > div .p {
        flex-direction: column;
    }
    .products-inline.products-top > div .p .p-in {
        padding: 0;
        width: 100%;
        text-align: center;
    }
    .products-inline.products-top > div .p .p-in .p-bottom>div {
        justify-content: center;
        text-align: center;
        align-items: center;
    }
    .products-inline > div .p .p-in .p-in-in {
        padding-right: 0;
    }
    .products-inline > div .p .p-in .p-in-in .ratings-wrapper {
        justify-content: center;
    }
}

.msg.msg-success, .msg.msg-notice {
    background: #007B9B;
}

.remedio {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
    color: #000;
}

.btn.btn-default, a.btn.btn-default, .btn.btn-conversion, a.btn.btn-conversion, .btn.btn-cart, a.btn.btn-cart {
    background-color: #0165FE;
    color: #fff;
    font-weight: 400 !important;
    border-color: #0165FE;
    height: auto;
    line-height: 1;
    padding: 12px 26px;
}

.filters-wrapper .filters-unveil-button-wrapper .btn.btn-default.unveil-button, .filters-wrapper .filters-unveil-button-wrapper .btn.btn-default.unveil-button:hover {
    background-color: #0165FE;
    color: #fff;
}

.btn.btn-primary, a.btn.btn-primary, .btn.btn-conversion:hover, a.btn.btn-conversion:hover, .btn.btn-cart:hover, a.btn.btn-cart:hover {
    font-weight: 400 !important;
    border-color: #0165FE;
    color: #0165FE;
    background: #fff;
}

.btn.btn-primary:hover, a.btn.btn-primary:hover, .btn.btn-primary:hover, a.btn.btn-primary:hover {
    border-color: #0165FE;
    background: #0165FE;
    color: #fff;
}

.products-block > div .p .p-bottom > div .p-tools .btn.btn-primary, .products-block > div .p .p-bottom > div .p-tools .btn.btn-cart.btn-primary {
    line-height: 20px;
    text-transform: uppercase;
}

.quantity .decrease:hover:before, .quantity .increase:hover:before {
    background-color: #0165FE;
    color: #fff;
}

.consents a {
    color: #0165FE;
}

.btn.btn-default:hover, a.btn.btn-default:hover {
    background-color: #fff;
    color: #0165FE;
    border-color: #0165FE;
}

.add-to-cart-button, .cart-related-button .btn.btn-sm, .variant-list select, .surcharge-list select {
    line-height: 40px;
}

@media (min-width: 768px) {
    .fitted .navigation-in ul {
        justify-content: center;
    }
    .navigation-buttons a[data-target="cart"]::before {
        content: "";
        background: url("/user/documents/upload/cart.svg");
        width: 29px;
        height: 29px;
        background-size: 29px;
        margin-right: 15px;
    }
    #header .container {
        align-items: flex-end;
        padding: 0 50px;
    }
    #header .search-form::after {
        content: none;
    }
    #formSearchForm fieldset {
        border: 1px solid #E5E5E5;
    }
    .search-button, .search .btn.btn-default {
        display: block;
        height: 40px;
        background: #E5E5E5;
        text-transform: uppercase;
        color: #000;
        top: 1px;
        border-color: #E5E5E5;
        font-weight: 600 !important;
        padding: 0 10px;
    }
    header .search-form {
        max-width: 300px;
        margin: 0 auto;
    }
    .search-input::placeholder {
        color: #BEBCBC;
    }
    #header .search-input:focus, #header .search-input:hover, .search-focused #header .search-input, .search-window-visible #header .search-input, .search-input-icon:hover~.search-input {
        box-shadow: none;
    }
    .search-focused::before {
        background-color: transparent;
    }
    header .form-control {
        height: 40px;
    }
    .navigation-in {
        background-color: #0165FE;
        font-size: 17px;
        line-height: 17px;
    }
    .header-bottom-wrapper {
        background-color: #0165FE;
    }
    #navigation {
        height: 63px;
        max-width: 1800px;
        margin: 0 auto;
    }
    .navigation-in>ul>li>a {
        padding-top: 23.5px;
        padding-bottom: 23.5px;
        color: #fff;
    }
    .navigation-in ul li a b {
        font-weight: 600;
        text-transform: uppercase;
    }
    .menu-helper>span {
        color: #fff;
        font-size: 16px;
        line-height: 16px;
        padding: 24px 10px;
        font-weight: 400;
        background: #0165FE;
    }
    .menu-helper>ul{
        background-color: #0165FE;
    }
    .menu-helper {
        font-size: 16px;
        height: 63px;
    }
    .menu-helper > ul > li a {
        color: #fff;
    }
    .menu-helper > ul {
        top: calc(50% + 32px);
    }
    .menu-helper>ul>li.exp>a, .menu-helper>ul>li.exp>ul>li {
        background-color: #0165FE;
    }
    .navigation-in>ul>li.exp>a, .navigation-in>ul>li>a:hover, .menu-helper > ul > li a:hover {
        color: #fff;
        text-decoration: underline;
    }
    #navigation .navigation-in ul li:hover > a > b, #navigation .navigation-in ul li:hover>div>a>span {
        text-decoration: none;
    }
    .menu-helper .menu-level-2 a {
        font-size: 14px;
        color: #bebebe;
    }
    .navigation-in ul.menu-level-2 {
        background-color: #0165FE;
    }
    #navigation .menu-level-2>li>div>a {
        font-weight: 400;
        color: #fff;
        font-size: 16px;
    }
    .navigation-in .has-third-level div > ul a {
        color: #fff;
        font-size: 14px;
    }
    .navigation-in>ul>li.ext>ul>li>div>ul>li>a {
        padding-left: 10px;
        position: relative;
    }
    .navigation-in>ul>li.ext>ul>li>div>ul>li>a::before {
        content: "-";
        color: #fff;
        position: absolute;
        left: 0;
    }
    #navigation .menu-level-2 {
        border-bottom-width: 0;
    }
    #navigation .menu-level-2 {
        align-items: flex-start;
    }
    .navigation-in>ul>li.ext>ul>li>div {
        width: auto;
    }
    #header .site-name a img {
        max-height: 105px;
    }
    #header .navigation-buttons a[data-target="cart"] {
        align-items: flex-end;
    }
    #header .navigation-buttons a {
        line-height: 25px;
    }
    #header .header-top {
        padding: 15px 0 45px;
    }
    .top-navigation-bar {
        background-color: #fff;
        border-width: 0;
        padding: 6px 0;
    }
    .top-navigation-bar .container {
        border-bottom: 1px solid #E5E5E5;
        padding-bottom: 5px;
    }
    .search-focused::before, .navigation-hovered::before {
        background-color: transparent;
    }
    .admin-logged .popup-widget.cart-widget {
        top: 180px;
    }
    #navigation .menu-level-2>li>div>a:hover {
        text-decoration: underline;
    }
    .navigation-in>ul>li.ext>ul>li>div>ul>li>a:hover {
        text-decoration: underline;
        color: #fff;
    }
    #header .search {
        text-align: center;
    }
    .btn.btn-icon.cart-count {
        font-size: 14px;
        font-weight: 600;
    }
    .external-fonts-loaded #navigation .menu-level-3 {
        color: #fff;
    }
    #navigation .has-more-items .more-items-trigger {
        display: none;
    }
    #header .header-bottom {
        border-width: 0;
    }
}

.navigation-buttons > a[data-target="cart"] i {
    background-color: #0165FE;
}


/*Homepage*/

.in-index .products {
    border-top: 1px solid #E5E5E5;
}

.about {
    background-color: #FAFAFA;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 100px;
}

.about-img {
    width: calc(60% - 80px);
    margin-right: 80px;
}

.about-description {
    width: 40%;
}

.about p {
    line-height: 1.3;
    color: #000;
    font-size: 16px;
}

.about-description > p:last-of-type {
    margin-bottom: 50px !important;
}

.contact-form {
    max-width: 1000px;
    margin: 0px auto;
}

.contact-form h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.contact-form .form-group {
    display: flex;
    flex-wrap: wrap;
}

.contact-form .form-group label {
    width: 20%;
    font-weight: 600;
}

.contact-form fieldset > .form-group:nth-child(4) > label {
    width: 100%;
}

.contact-form .form-control {
    width: 80%;
    max-width: 400px;
}

.contact-form fieldset > .form-group:nth-child(4) > .form-control {
    width: 100%;
    max-width: 100%;
}

.contact-form .form-group label.whole-width {
    width: 100%;
}

.contact-form .btn.btn-primary {
    line-height: 1;
    height: auto;
    background: #0165FE;
    color: #fff;
}

/*HOMEPAGE PRODUKTY*/

.in-index .p-bottom > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.in-index .products-block > div .p .p-bottom > div .p-tools {
    display: block;
    width: auto;
    padding: 0;
}

.in-index .products-block > div .p {
    text-align: left;
}

.in-index .products-block .p-bottom > div:before, .products-block .p-bottom>div:after {
    content: none;
}

.in-index .products-block > div .p .availability {
    text-align: left;
    padding: 0 10px;
}

.in-index .products-block > div .p .name {
    text-align: left;
    padding: 0 10px;
    font-weight: 600;
    height: auto;
}

.in-index .products-block > div .p .p-bottom > div .p-tools .btn.btn-primary {
    line-height: 1;
    height: auto;
    background: #0165FE;
    color: #fff;
    padding: 10px 26px;
}

.in-index .products-block > div .p .p-bottom {
    padding: 40px 10px 0;
}

/*USP*/

.usps {
    background-color: #FAFAFA;
    padding: 30px 0;
}

.usps > div {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.usps > div > div {
    width: calc(25% - 100px);
    margin: 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.usp-title {
    color: #3362AB;
    font-size: 18px;
    text-align: center;
    line-height: 1;
    margin: 15px 0 8px;
    font-weight: 600;
}

.usp-description {
    text-align: center;
    color: #000;
    font-size: 18px;
    line-height: 1.3;
}

.usps img {
    max-width: 90px;
    width: 100%;
}

/*O NÁS*/

.in-o-nas .content-inner header {
    display: none;
}

.about-withimg {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.about-withimg__description {
    max-width: 450px;
    margin-left: 50px;
    line-height: 1.2;
}


.about-rest {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.about-rest > div {
    width: calc(50% - 80px);
    margin: 0 40px 20px;
    line-height: 1.2;
}

/*FOOTER*/

#footer {
    padding-top: 0;
    background: #0165FE;
}

.footer-bottom {
    background: #0165FE;
}

.custom-footer > div {
    width: 33.333%;
}

.custom-footer {
    padding-top: 70px;
}

.custom-footer > .custom-footer__banner1 {
    width: 0px;
    padding: 0;
}

#footer a, #footer ul li, #footer p, #footer {
    color: #fff;
    font-weight: 300;
}

#footer h4 {
    color: #fff !important;
    font-size: 16px;
}

#footer .banner {
    margin-bottom: 0;
}

@media (max-width: 1439px) {

}

@media (max-width: 1199px) {
    .usps > div > div {
        width: calc(25% - 40px);
        margin: 0 20px;
    }
    .custom-footer {
        display: flex;
        padding-top: 20px;
    }
    .welcome-wrapper {
        padding: 0;
        margin: 0;
    }
    .contact-form {
        margin: 40px auto;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    #header .header-top-wrapper > .site-name {
        flex: 0 0 40%;
    }
    #header .header-top-wrapper > .navigation-buttons {
        flex: 0 0 20%;
    }
    #header .header-top-wrapper > .search {
        flex: 0 0 40%;
    }
    #header .container {
        padding: 0px;
    }
    #header .header-top {
        padding: 15px 0;
    }
}

@media (max-width: 991px) {
    .about {
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
    }

    .about-img {
        margin-right: 0;
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
    .about-description {
        width: 100%;
        text-align: center;
    }
    .about-withimg__description h1 {
        display: none;
    }
    .in-o-nas .content-inner header {
        display: block;
    }
    .in-o-nas .content-inner header h1 {
        text-transform: uppercase;
    }
    .about-withimg {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .about-withimg__img {
        margin-bottom: 20px;
    }
    .about-withimg__description {
        max-width: 100%;
        margin-left: 0;
    }
    .about-rest > div {
        margin: 0 40px 20px 0;
        width: calc(50% - 40px);
    }
}

@media (max-width: 767px) {
    .usps > div {
        flex-wrap: wrap;
    }
    .usps > div > div {
        width: auto;
        max-width: 300px;
        margin: 10px auto;
    }
    .custom-footer > div {
        width: 100%;
        text-align: center;
    }
    .custom-footer {
        flex-wrap: wrap;
    }
    #footer .banner {
        min-height: auto;
    }
    .about-rest > div {
        margin: 0 0 20px;
        width: 100%;
    }
}

@media (max-width: 499px) {
    .contact-form {
        text-align: center;
    }
    .contact-form .form-group {
        flex-direction: column;
    }
    .contact-form .form-group label {
        width: 100%;
    }
    .contact-form .form-control {
        width: 100%;
        max-width: 100%;
    }
    .about-page {
        text-align: center;
    }
    .in-o-nas article ul {
        text-align: left;
    }
}