/* ----------- GENERAL ------------------- */

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600&display=swap&subset=latin-ext');

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*:focus {
    outline: none;
}

html,
body {
    font-family: 'Source Sans Pro', sans-serif;
    background: #f4f5f7;
    font-size: 14px;
    font-weight: 400;
    color: #323438;
    position: relative;
    margin: 0;
}

a,
a:link,
a:active,
a:hover,
a:focus {
    outline: none;
}

.btn.focus,
.btn:focus {
    box-shadow: none;
}

.page {
    margin: 0;
}

.text-blue {
    color: #4383ff;
}

a.btn,
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-align: center;
    background: #2684ff;
    color: #fff;
    text-transform: uppercase;
}

.btn:hover {
    color: #fff;
    background: #3694ff;
}

.btn.btn-block {
    display: block;
}

#page {
    background: #fff;
}

.container {
    max-width: 1200px;
}

section header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding: 0 0 10px;
    margin: 0 0 40px;
    letter-spacing: 1px;
}

section header h2::after {
    content: '';
    display: inline-block;
    width: 78px;
    height: 3px;
    position: absolute;
    background: #4aa7f9;
    margin: auto;
    bottom: 0;
    left: 0;
    right: 0;
}

section.white h2 {
    color: #72777c;
}

section.white header h2::after {
    background: #2684ff;
}

@media screen and (max-width: 1230px) {
    .container {
        padding: 0 30px;
    }
}

/* ----------- TOPLINE ------------------- */

#topline {
    height: 60px;
    background: #333;
}

#topline .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

#topline a {
    display: inline-block;
    height: 34px;
    line-height: 34px;
    margin-left: 10px;
    text-decoration: none;
    padding: 0 10px 0 40px;
    color: #98a0a8;
    font-weight: 600;
}

#topline a.btn-contact {
    background: url('../img/icon_contact.svg') no-repeat 10px center;
    background-size: auto 17px;
}

#topline a.btn-help {
    background: url('../img/icon_help.svg') no-repeat 10px center;
    background-size: auto 17px;
}

#topline a.btn-register {
    background: url('../img/icon_register.svg') no-repeat 10px center;
    background-size: auto 17px;
}

#topline a:hover {
    color: #555;
}

#topline a.btn-login {
    background: #2684ff url('../img/icon_login.svg') no-repeat 15px center;
    color: #fff;
    border-radius: 5px;
    padding: 0 25px 0 50px;
}

#topline a.btn-login:hover {
    background-color: #3694ff;
}

@media only screen and (max-width: 549px) {
    #topline .container {
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        justify-content: space-between;
    }
    #topline .container > a {
        margin: 0 4px;
        padding: 0 8px 0 32px;
        background-position: 6px center;
    }
    #topline .container a.btn-login {
        background-position: 10px center;
    }
}
@media only screen and (max-width: 399px) {
    #topline .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    #topline .container > a {
        margin: 0 4px;
        padding: 0 8px;
        background-image: none;
    }
}

/* ------------- FORM --------------------- */

form fieldset span.error {
    color: #cc0000;
    padding: 0;
    display: block;
}

/* ------------- NAV --------------------- */

#masthead {
    height: 80px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(30, 30, 30, 0.1);
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 100;
}

#masthead.fixed {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

#masthead > .container {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

#masthead .site-branding {
    display: flex;
    align-items: center;
}

#masthead .site-branding .custom-logo-link {
    display: block;
    height: auto;
    max-height: 62px;
}
#masthead .site-branding img {
    display: block;
    max-height: 62px;
    height: auto;
    max-width: none;
}

#site-navigation {
    display: flex;
    padding-left: 30px;
    justify-content: flex-end;
}

#primary-menu {
    display: flex;
    height: 100%;
    position: relative;
}

#primary-menu a:focus {
    outline: none;
}

#primary-menu > li {
    position: relative;
}

#primary-menu > li > a {
    display: flex;
    padding: 4px 15px 0;
    height: 100%;
    align-items: center;
    color: #2d2d2d;
    font-size: 1.143rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out 0s;
    border-bottom: 4px solid transparent;
}

#primary-menu > li:hover > a,
#primary-menu > li > a:hover,
#primary-menu > li.current_page_item > a {
    border-color: #2684FF;
}

#primary-menu .sub-menu {
    transition: all 0.2s ease-in-out 0s;
    background: #fff;
    padding: 30px 0;
    box-shadow: none;
    border: 1px solid rgba(30,30,30,0.1);
    width: 320px;
}

#primary-menu .sub-menu > li {
    float: none;
}

#primary-menu .sub-menu a {
    display: block;
    padding: 10px 50px;
    font-size: 1.143rem;
    color: #2d2d2d;
    font-weight: 500;
    width: auto;
    transition: all 0.2s ease-in-out 0s;
}

#primary-menu .sub-menu a:hover {
    text-decoration: none;
    background: #fbfbfb;
}

#primary-menu .sub-menu a > .sub {
    font-weight: normal;
    color: #8791aa;
    font-size: 1rem;
    line-height: 1.3em;
    display: inline-block;
}

@media only screen and (max-width: 1199px) {
    #primary-menu > li > a {
        padding: 4px 8px 0;
        font-size: 1rem;
    }
}

@media only screen and (max-width: 991px) {
    .menu-toggle {
        display: inline-block;
        width: 35px;
        height: 30px;
        border: none;
        border-top: 4px solid #bbb;
        border-bottom: 4px solid #bbb;
        padding: 0;
        position: absolute;
        background: none;
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .menu-toggle:focus {
        outline: none;
    }
    .menu-toggle::before {
        content: '';
        display: inline-block;
        width: 100%;
        height: 4px;
        background: #bbb;
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        left: 0;
    }
    .menu-toggle:hover {
        border-color: #aaa;
    }
    .menu-toggle:hover::before {
        background: #aaa;
    }
    #primary-menu {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        background: #fff;
        width: 100vw;
        max-width: 320px;
        height: auto;
        max-height: calc(100vh - 135px);
        border-top: 1px solid #f0f0f0;
        transition: 0.3s all ease-in-out 0s;
        box-shadow: 0 1px 1px #bbb;
        overflow-y: auto;
    }
    #primary-menu > li {
        display: block;
        float: none;
        width: 100%;
    }
    #primary-menu > li > a {
        padding: 16px 24px;
        font-size: 1.143rem;
        box-shadow: 0 1px 0 #f0f0f0;
        border: none;
        border-left: 3px solid transparent;
        position: relative;
    }
    #primary-menu[aria-expanded="true"] {
        transition: 0.3s all ease-in-out 0s;
        display: block;
    }
    #primary-menu .sub-menu {
        transition: none;
    }
    #primary-menu > li > ul {
        position: relative;
        top: auto;
        left: auto;
        float: none;
        display: none;
    }
    #primary-menu > li.menu-item-has-children > a {
        padding-right: 75px;
    }
    #primary-menu > li.menu-item-has-children > a > i {
        display: block;
        width: 60px;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        background: url('../img/icon_arrow_down_blue.svg') no-repeat center center;
        background-size: auto 20%;
        opacity: 0.75;
    }
}

/* --------------- HEADING SLIDER ------------------ */

rs-sbg::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('../img/mask_slider.svg') no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* --------------- HOME BOXES ------------------ */

.home-boxes {
    padding: 45px 0;
}

.home-boxes > .container > .row > div {
    margin: 15px 0;
}

.home-boxes .box {
    padding: 0 30px 30px;
    margin: 0;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    background: #fff url("../img/mask_grey_small.svg")no-repeat right top;
    background-size: 60% auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-boxes .box:hover {
    border-color: transparent;
    background: #0074e4 url("../img/mask_blue_small.svg") no-repeat right top;
    background-size: 60% auto;
    color: #fff;
}

.home-boxes .box .icon {
    display: flex;
    width: 100%;
    height: 100px;
    align-items: center;
    justify-content: center;
}

.home-boxes .box .icon img {
    display: block;
    max-height: 80%;
}

.home-boxes .box .title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #4383ff;
    margin-bottom: 10px;
}

.home-boxes .box:hover .title {
    color: #fff;
}

.home-boxes .box .subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.home-boxes .box .content p {
    margin-bottom: 20px;
}

.home-boxes .box:hover .content p {
    color: #fff;
}

/* --------------- HOME ARTICLES ------------------ */

.home-articles {
    padding: 60px 0;
}

.home-articles header h2::after {
    right: auto;
}

#blog-carousel {
    position: relative;
}

#blog-carousel .carousel-item.active,
#blog-carousel .carousel-item.carousel-item-prev,
#blog-carousel .carousel-item.carousel-item-next {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#blog-carousel .carousel-item img {
    display: block;
}

#blog-carousel .nav-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 53px;
    width: 20%;
    display: flex;
}

#blog-carousel .carousel-control-next,
#blog-carousel .carousel-control-prev {
    position: relative;
    width: 50%;
    height: 100%;
    display: block;
}

#blog-carousel .carousel-control-prev {
    background: url('../img/icon_arrow_left_blue.svg') no-repeat center center;
    opacity: 0.5;
    transition: all 0.3s ease-in-out 0s;
}
#blog-carousel .carousel-control-next {
    background: url('../img/icon_arrow_right_blue.svg') no-repeat center center;
    opacity: 0.5;
    transition: all 0.3s ease-in-out 0s;
}
#blog-carousel .carousel-control-prev:hover,
#blog-carousel .carousel-control-next:hover {
    opacity: 1;
    transition: all 0.3s ease-in-out 0s;
}

/* --------------- HOME TECHNICAL STATEMENTS ------------------ */

.home-technical-statements {
    color: #fff;
    padding: 60px 0;
    text-align: center;
    background: #0074e4 url('../img/mask_statements.svg') no-repeat left center;
    background-size: auto 100%;
}

.home-technical-statements #statements-carousel {
    position: relative;
}

.home-technical-statements #statements-carousel .carousel-inner {
    padding: 0 60px;
}

.home-technical-statements #statements-carousel .carousel-inner h3 {
    font-weight: 600;
    font-size: 2rem;
}

.home-technical-statements #statements-carousel .carousel-inner .entry-meta {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.home-technical-statements #statements-carousel .carousel-inner .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 0;
    font-size: 1.071rem;
}

.home-technical-statements #statements-carousel .carousel-inner .read-more a {
    display: inline-block;
    padding: 10px 30px;
    background: url('../img/icon_double_arrow.svg') no-repeat left center;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    outline: none;
}

.home-technical-statements .carousel-control-next,
.home-technical-statements .carousel-control-prev {
    width: 60px;
    height: 100%;
    top: 0;
    bottom: 0;
    display: block;
    margin: 0;
}

.home-technical-statements .carousel-control-prev {
    background: url('../img/icon_arrow_left.svg') no-repeat center center;
    opacity: 0.5;
    transition: all 0.3s ease-in-out 0s;
}
.home-technical-statements .carousel-control-next {
    background: url('../img/icon_arrow_right.svg') no-repeat center center;
    opacity: 0.5;
    transition: all 0.3s ease-in-out 0s;
}
.home-technical-statements .carousel-control-prev:hover,
.home-technical-statements .carousel-control-next:hover {
    opacity: 1;
    transition: all 0.3s ease-in-out 0s;
}

/* --------------- HOME GUIDE ------------------ */

.home-guide {
    color: #fff;
    padding: 60px 0;
    background: #0074e4 url('../img/mask_guide.svg') no-repeat right center;
    background-size: auto 100%;
}

.home-guide header h2::after {
    right: auto;
}

.home-guide article {
    padding-right: 30px;
}

.home-guide .read-more a {
    display: inline-block;
    padding: 10px 30px;
    background: url('../img/icon_double_arrow.svg') no-repeat left center;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    outline: none;
}

/* --------------- HOME PARTNERS ------------------ */

.home-partners {
    text-align: center;
    padding: 60px 0;
}

.home-partners a {
    display: inline-block;
}

.home-partners img {
    display: block;
    margin: 15px auto;
    max-width: 100%;
    max-height: 40px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease-in-out 0s;
}

.home-partners a:hover img {
    opacity: 1;
    filter: none;
}

/* --------------- HOME INFO BOXES ------------------ */

.home-info-boxes {
    padding: 40px 0;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    background-position: center center;
    background-size: cover;
    position: relative;
}

.home-info-boxes::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/mask_info_boxes.svg') no-repeat center top;
    background-size: cover;
}

.home-info-boxes .box {
    margin: 0 auto;
    padding: 20px;
    max-width: 260px;
}

.home-info-boxes .middle-line {
    font-weight: 600;
    font-size: 2em;
    padding: 15px 0;
}

/* --------------- CENNIKI ------------------ */

.menu-cennik {
    border-bottom: 3px solid #f5f5f5;
    margin: 30px 0;
}

#cennik-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: stretch;
}

#cennik-menu li {
    margin-bottom: -3px;
}

#cennik-menu li:not(:first-child) {
    margin-left: 30px;
}

#cennik-menu a {
    padding: 20px 50px 20px 0;
    height: 100%;
    color: #98a0a8;
    transition: all 0.3s ease-in-out 0s;
    text-decoration: none;
    border-bottom: 5px solid transparent;
    font-size: 1.3rem;
    font-weight: 600;
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#cennik-menu li.current-menu-item a,
#cennik-menu a:hover {
    color: #323438;
    border-bottom: 5px solid #2684ff;
}

.filters .filter-category:focus,
.filters .filter-category {
    outline: none;
    cursor: pointer;
}

.filters .btn,
.filters .filter-category {
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: auto 14px;
}

.filters .filter-bestsellers {
    background-image: url('../img/icon_filter_bestseller.svg');
}

.filters .filter-new {
    background-image: url('../img/icon_filter_nowosc.svg');
}

.filters .filter-category {
    background-image: url('../img/icon_filter_branza.svg');
}

.filters .filter-off {
    background-image: url('../img/icon_filter_all.svg');
}

@media only screen and (max-width: 991px) {
    #cennik-menu a {
        padding: 15px 5px 15px 0;
    }
}
@media only screen and (max-width: 767px) {
    #cennik-menu li:not(:first-child) {
        margin-left: 15px;
    }
}
@media only screen and (max-width: 649px) {
    #cennik-menu {
        flex-wrap: wrap;
        margin: 0 -8px;
    }
    #cennik-menu li {
        display: inline-block;
        width: 33%;
        padding: 0 8px 16px;
        margin: 0;
    }
    #cennik-menu li:not(:first-child) {
        margin: 0;
    }
    #cennik-menu a {
        border: none;
        text-align: center;
        padding: 12px;
        background: #fafafa;
        border-radius: 3px;
        justify-content: center;
    }
    #cennik-menu li.current-menu-item a,
    #cennik-menu a:hover {
        border: none;
        background: #2684ff;
        color: #fff;
    }
}
@media only screen and (max-width: 569px) {
    #cennik-menu li {
        width: 50%;
    }
}
@media only screen and (max-width: 399px) {
    #cennik-menu li {
        width: 100%;
    }
}

/* --------------- SOCIALS ------------------ */

#socials {
    width: 50px;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    z-index: 20;
}

#socials a {
    display: block;
    margin: 3px 0;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: all 0.3s ease-in-out 0s;
}

#socials a:hover {
    opacity: 1;
}

#socials a.social-facebook {
    background-image: url('../img/social_facebook.png');
}

#socials a.social-twitter {
    background-image: url('../img/social_twitter.png');
}

#socials a.social-linkedin {
    background-image: url('../img/social_linkedin.png');
}

/* --------------- FOOTER ------------------ */

#footer {
    padding: 70px 0 0;
    background: #f4f5f7;
    color: #8791aa;
}

#footer h3 {
    font-size: 1.143rem;
    font-weight: 600;
    margin: 0 0 15px;
}

#footer p {
    margin: 0 0 15px;
    line-height: 21px;
}

#footer .company-details p {
    max-width: 240px;
}

#footer ul {
    list-style: none;
    margin: 15px 0 48px;
    padding: 0;
}

#footer ul li {
    margin: 0 0 10px;
    padding: 0;
    line-height: 21px;
}

#footer a {
    color: #8791aa;
}

#footer .copyrights p {
    line-height: 48px;
}
#footer .footer-logo {
    max-height: 40px;
}

/* ------------- RESPONSIVE FEATURES ------------- */

.hscroll {
    display: block;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
}

.hscroll table {
    margin-bottom: 0;
}