html,
body {
    background: #ffffff;
    margin: 0;
    padding: 0;
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    font-size: 14px;
}

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word;
}

ul {
    -webkit-padding-start: 0px;
    margin: 0;
    padding: 0;
}

a, a:active, a:after, a:before, a:hover {
    text-decoration: none;
    color: #191919;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    font-style: normal;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    color: #0069aa;
}

img {
    border: 0;
}

ul.errors {
    margin: 0;
    padding: 0;
}

ul.errors li {
    font-size: 13px;
    color: #c10000;
}


/* sprites */
.header_text_end, .bg_menu_unactive, .bg_menutop_active, .bg_menutop_first, .flags a {
    background: url(gfx/sprites_uk.png) no-repeat;
}

.header_text_end {
    background-position: -457px 0;
    width: 6px;
    height: 23px;
}

.bg_menu_unactive {
    background-position: -118px 0;
    /*    width: 92px;*/
    height: 28px;
}

.bg_menutop_active {
    background-position: -306px 0;
    /*    width: 149px;*/
    height: 26px;
}

.bg_menutop_first {
    background-position: -212px 0;
    /*    width: 92px;*/
    height: 28px;
}


/* end sprites */

.toplangs {
    background: #ffffff url(gfx/bg_langs.png) repeat-x;
    background-clip: content-box;
    height: 20px;
}

.flags {
    background: #ffffff;
    display: block;
    height: 20px;
    float: right;
}

.flags a {
    display: inline-block;
    width: 29px;
    height: 20px;
}


.flags a.pl {
    background-position: 0 0;
}

.flags a.en {
    background-position: -29px 0;
}

.flags a.de {
    background-position: -58px 0;
}

.flags a.ru {
    background-position: -87px 0;
}

.flags a.ua {
    background-position: -480px 0;
}


.header {
    margin-top: 8px;
    background: #ededed;
}

.header .background {
    margin: 0 auto;
    display: block;
    position: relative;
}

.header .logo {
    position: absolute;
    top: -8px;
    left: 12px;
    z-index: 10000;
}

.searchresultheader {
    margin: 10px 25px 10px 10px;
    display: block;
    overflow: hidden;
    clear: both;
}

.header .search {
    position: absolute;
    bottom: -10px;
    right: 0px;
    z-index: 10000;
    width: 217px;
    height: 29px;
    background: #ededed;
    padding: 8px 0 2px 0;
}

.header .search div.label {
    float: left;
    height: 19px;
    background: #0080cf url('gfx/search_end.png') no-repeat top right;
    padding: 4px 10px 0 8px;
    color: #ffffff;
    display: block;
    vertical-align: middle;
    z-index: 15000;
    position: relative;
}

.header .search div.searchform {
    float: left;
    z-index: 10000;
    width: 145px;
    left: -10px;
    position: relative;
    padding: 1px 0 0 0;
}

input#search_txt {
    margin: 0;
    padding: 0 0 0 10px;
    height: 13px;
    width: 108px;

}

input#search_submit {
    border: none;
    margin: 0;
    padding: 0;
    display: inline;
    width: 19px;
    height: 16px;
    background: url('gfx/search_btn.png') no-repeat;
    cursor: pointer;
}

.box {
    border: 1px solid #cfcfcf;
    margin-bottom: 5px;
    display: block;
    overflow: hidden;
    color: #7a7a7a;
    padding-bottom: 25px;
}


.line {
    height: 2px;
    background: #0e94c9;
}

.line.top {
    margin-top: 8px;
    margin-bottom: 5px;
    clear: both;
}


.topmenu {
    background: #ededed;
    border-bottom: 2px solid #0080cf;
}


.ui-tabs {
    zoom: 1;
}

.ui-tabs .ui-tabs-nav {
    list-style: none;
    position: relative;
    padding: 0;
    margin: 0;
}

.ui-tabs .ui-tabs-nav li {
    position: relative;
    float: left;
    margin: 0 3px -2px 0;
    padding: 0;
}

.ui-tabs .ui-tabs-nav li a {
    display: block;
    padding: 5px 10px 4px 10px;
    border: 1px #ccc solid;
    border-bottom-color: #ccc;
    outline: none;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a {
    padding: 5px 10px 6px 10px;
    background: #fff;
    border-bottom-style: none;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,
.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
.ui-tabs .ui-tabs-nav li.ui-state-processing a {
    cursor: default;
}

.ui-tabs .ui-tabs-nav li a,
.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
    cursor: pointer;
}

.ui-tabs .ui-tabs-panel {
    display: block;
    clear: both;
    border: 1px #ccc solid;
    padding: 10px;
}

.ui-tabs .ui-tabs-hide {
    display: none;
}


h2.caption {
    background: #ededed;
    height: 23px;
    line-height: 23px;
    margin-bottom: 10px;
}

h2.caption span {
    background: #0080cf url('gfx/header_end.png') no-repeat bottom right;
    color: #ffffff;
    font-size: 18px;
    font-style: italic;
    font-weight: normal;
    height: 23px;
    line-height: 23px;
    display: inline-block;
    padding: 0 24px 0 19px;
}

h2.caption span a {
    color: #ffffff;
}


.desc > h3,
.desc > h3 > a {
    font-size: 14px;
    font-weight: bold;
    color: #0069aa;
}

.date {
    padding: 3px;
}

.date.border {
    border-right: 5px solid #ea0000;
    text-align: center;
}

.date a {
    margin-top: 13px;
    display: inline-block;
    font-size: 14px;
    color: #595959;
    text-align: center;
}

.wladzedesc {
    border-left: 6px solid #ea0000;
    padding-left: 20px;
}

.newsimage img {
    border-left: 6px solid #ea0000;
    width: 143px;
}

.singlenews {
    margin: 0 0 15px 0;
}

a.more {
    color: #0069aa;
    font-size: 12px;
}

.oferta {
    overflow: hidden;
    margin: 0 auto 7px auto;
    border-bottom: 1px solid #cfcfcf;
}


.products {
    background: #ebebeb url('gfx/bg_products_top.png') no-repeat top center;
    border-bottom: 4px solid #b9b9b9;
    margin: 3px 0 10px 0;
    min-height: 56px;
    display: block;
    position: relative;
}

.products .info {
    position: absolute;
    display: block;
    height: 31px;
    line-height: 31px;
    z-index: 10000;
    top: 12px;
    padding: 0 20px 0 20px;
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
    color: #4c4c4c;
}

.products .info.left {
    left: -7px;
    float: left;
    border-left: 7px solid #cbcbcb;
    background: #c1c1c1 url('gfx/arrow_right.png') no-repeat right center;
}

.products .info.right {
    background: #c1c1c1 url('gfx/arrow_left.png') no-repeat left center;
    border-right: 7px solid #cbcbcb;
    border-left: 0;
    right: -7px;
    float: right;
}


.bx-wrapper,
#productsslider {
    display: block;
    top: 7px;
    width: 465px;
    margin: 0 auto;
}

.bx-window {
    height: 45px;
}

#productsslider a {
    text-align: center;
    width: 101px;
    display: inline-block;
}

a.toggle-next-div {
    cursor: pointer;
}

.slidemargin {
    margin: 8px 0;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}


/* #################### NEW NEW NEW ############################ */

.navbar-makarony {
    background-color: #ffffff;
    border-color: #ffffff;
}

.navbar-makarony {
    background-color: transparent;
    border-color: transparent;
    margin: 0;
    min-height: 27px;
}

.navbar-makarony .navbar-brand {
    color: #777;
}

.navbar-makarony .navbar-brand:hover,
.navbar-makarony .navbar-brand:focus {
    color: #5e5e5e;
    background-color: transparent;
}

.navbar-makarony .navbar-text {
    color: #777;
}

.navbar-makarony .navbar-nav > li > a {
    color: #333;
    padding: 0 12px 0 16px;
}

.navbar-makarony .navbar-nav > li > a:hover,
.navbar-makarony .navbar-nav > li > a:focus {
    color: #333;
    background-color: transparent;
}

.navbar-makarony .navbar-nav > .active > a,
.navbar-makarony .navbar-nav > .active > a:focus {
    color: #555;
    background-color: #e7e7e7;
}

.navbar-makarony .navbar-nav > .disabled > a,
.navbar-makarony .navbar-nav > .disabled > a:hover,
.navbar-makarony .navbar-nav > .disabled > a:focus {
    color: #ccc;
    background-color: transparent;
}

.navbar-makarony .navbar-toggle {
    border-color: #ddd;
}

.navbar-makarony .navbar-toggle:hover,
.navbar-makarony .navbar-toggle:focus {
    background-color: #ddd;
}

.navbar-makarony .navbar-toggle .icon-bar {
    background-color: #888;
}

.navbar-makarony .navbar-collapse,
.navbar-makarony .navbar-form {
    border-color: #e7e7e7;
}

.navbar-makarony .navbar-nav > .open > a,
.navbar-makarony .navbar-nav > .open > a:hover,
.navbar-makarony .navbar-nav > .open > a:focus {
    color: #555;
    background-color: #ffffff;
}


.navbar-makarony .navbar-link {
    color: #777;
}

.navbar-makarony .navbar-link:hover {
    color: #333;
}

.navbar-makarony .btn-link {
    color: #777;
}

.navbar-makarony .btn-link:hover,
.navbar-makarony .btn-link:focus {
    color: #333;
}

.navbar-makarony .btn-link[disabled]:hover,
fieldset[disabled] .navbar-makarony .btn-link:hover,
.navbar-makarony .btn-link[disabled]:focus,
fieldset[disabled] .navbar-makarony .btn-link:focus {
    color: #ccc;
}

.contactlist {
    padding-left: 0;
}

.contactlist ul {
    list-style: none;
}

.contactlist ul li {
    /*height: 23px;*/
    line-height: 23px;
    margin-bottom: 3px;
    background: #ededed url('gfx/list_end.png') no-repeat top right;
    background-size: contain;
    font-size: 16px;
    color: #777777;
}

.contactlist ul li a {
    margin-right: 3px;
    display: block;
}

.contactlist ul li.active {
    background: #adadad url('gfx/list_end_active.png') no-repeat top right;
    background-size: contain;
}

.contactlist ul li.active a {
    color: #ffffff;
}

.contactlist ul li a {
    margin-left: 14px;
}

.certsbox {
    padding: 0 0 0 4px;
}


ul#certslider {
    height: 215px;
    overflow: hidden;
    list-style: none;
}

ul#certslider li {
    text-align: center;
}


.shortcuts {
    background: #ffffff url('gfx/bg_shortcuts_top.png') no-repeat top center;
    min-height: 12px;
    padding: 12px 0 0 0;
    text-align: center;
}

.shortcuts.bottom {
    background: #ffffff url('gfx/bg_shortcuts_bottom.png') no-repeat bottom center;
    height: 12px;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.shortcuts ul {
    overflow: hidden;
    display: block;
    margin: 5px 60px 0 60px;
}

.shortcuts ul li {
    display: inline-block;
    border-left: 5px solid #c2c2c2;
    margin: 0 43px 10px 0;
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    min-width: 158px;

}

.shortcuts ul li a {
    display: inline-block;
    margin-left: 8px;
    color: #474747;
}


ul.bottommenu {
    list-style: none;
    margin: 12px 0;
    padding: 0;
    white-space: nowrap;
}

ul.bottommenu li {
    display: inline-block;
    line-height: 19px;
    border-right: 2px solid #50b0d6;
}

ul.bottommenu li a {
    line-height: 16px;
    height: 16px;
    padding: 0 6px 0 10px;
    text-decoration: none;
    background-size: 100%;
    overflow-y: hidden !important;
    overflow-x: auto !important;
    color: #50b0d6;
    font-size: 14px;
}

ul.bottommenu li.last {
    border: none;
}


ul.bottommenu li a:hover {
    font-weight: normal;
    color: #005a7d;
}

ul.bottommenu li.investors a,
ul.bottommenu li.investors a:hover {
    color: #d60009;
    font-weight: bold;
}

ul.bottommenu li.active a {
    color: #005a7d;
    font-weight: bold;

    line-height: 16px;
    height: 16px;
    padding: 0 6px 0 10px;
    text-decoration: none;
    background-size: 100%;
    overflow-y: hidden !important;
    overflow-x: auto !important;
    font-size: 14px;
}

ul.products-list {
    overflow: hidden;
    margin: 0 0 35px 0;
}

ul.products-list li {
    display: inline-block;
    margin: 0 12px 0 12px;
}


@media (min-width: 1024px) {

    .navbar-left {
        float: left !important;
    }

    .navbar-right {
        float: right !important;
        margin-right: -15px;
    }

    .navbar-right ~ .navbar-right {
        margin-right: 0;
    }

    /* ### */
    .navbar-makarony .navbar-nav > li > a.first {
        background: none;
    }

    .navbar-makarony .navbar-nav > li > a.last {
        border: none;
    }

    .navbar-makarony .navbar-nav > li {
        line-height: 27px;
        background: url(gfx/bg_menuend.png) no-repeat right top;
    }

    .navbar-makarony .navbar-nav > li.active,
    .navbar-makarony .navbar-nav > li:hover {
        background: #0c7bbf url(gfx/bg_menuend_active.png) no-repeat right top;
    }

    .navbar-makarony .navbar-nav > li > a {
        display: block;
        line-height: 27px;
        height: 27px;
        text-decoration: none;
        /*font-size: 15px;*/
        font-style: italic;
        background-size: 100%;
        overflow-y: hidden !important;
        overflow-x: auto !important;
        background: url(gfx/bg_menulink.png) no-repeat left top;
    }

    .navbar-makarony .navbar-nav > li.active > a,
    .navbar-makarony .navbar-nav > li > a:hover {
        display: block;
        text-decoration: none;
        /*font-size: 16px;*/
        font-style: italic;
        color: #ffffff;
        background: url(gfx/bg_menulink_active2.png) no-repeat left top;
    }

    .navbar-makarony .navbar-nav > li.investors:hover,
    .navbar-makarony .navbar-nav > li.investors {
        background: #d6050d url(gfx/bg_menuend_red.png) no-repeat right top;
    }

    .navbar-makarony .navbar-nav > li.investors:hover a,
    .navbar-makarony .navbar-nav > li.investors a {
        display: block;
        line-height: 27px;
        height: 27px;
        text-decoration: none;
        font-size: 18px;
        font-style: italic;
        background-size: 100%;
        overflow-y: hidden !important;
        overflow-x: auto !important;
        background: url(gfx/bg_menulink_red.png) no-repeat left top;
        color: #ffffff;
    }

    .navbar-makarony .navbar-nav > li.investors:hover,
    .navbar-makarony .navbar-nav > li.investors {
        background: #d6050d url(gfx/bg_menuend_red.png) no-repeat right top;
    }

    ul.products-list {
        text-align: center;
    }

}


@media (max-width: 767px) {
    .autogaleria {
        text-align: center;
    }


}

@media (max-width: 1024px) {
    ul.products-list {
        margin: 0 0 20px 0;
        border-bottom: 1px solid #dedede;
        text-align: center;
    }

    ul.products-list li {
        display: inline-block;
        width: 50%;
        text-align: center;
        margin: 6px 0;
    }


    ul.products-list li a img {
        display: block;
        margin: 0 auto;
    }

    .navbar-makarony .navbar-nav > li > a {
        padding: 12px;
        border-bottom: 1px solid #bbb;
    }

    .navbar-makarony .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
        padding: 15px;
    }

    .navbar-makarony .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-makarony .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333;
        background-color: transparent;
        padding: 15px;
    }

    .navbar-makarony .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-makarony .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-makarony .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #555;
    }

    .navbar-makarony .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-makarony .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-makarony .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #ccc;
        background-color: transparent;
    }

    .desc > h3 {
        margin: 15px 0;
    }

    .singlenews {
        border-bottom: 1px solid #dedede;
        padding: 0 0 5px 0;
    }

    a.more {
        padding: 6px 8px;
        background: #0069aa;
        color: #ffffff;
        margin-bottom: 4px;
    }

    .ui-tabs .ui-tabs-panel {
        border: none;
        border-top: 1px #ccc solid;
    }

    .box {
        padding: 0;
    }

    .certsbox {
        padding: 0;
    }


    .shortcuts ul {
        overflow: hidden;
        display: block;
        margin: 0;
    }

    .shortcuts ul li {
        display: inline;
        border: none;
        margin: 8px 0;
        font-size: 16px;
        font-weight: bold;
        font-style: italic;
        width: 50%;
        padding: 0;

    }

    .shortcuts ul li a {
        display: inline-block;
        margin: 8px;
        padding: 8px;
        color: #474747;
    }


    .products {
        background: #ebebeb url('gfx/bg_products_top.png') no-repeat top center;
        border-bottom: 4px solid #b9b9b9;
        margin: 3px 0 10px 0;
        min-height: 56px;
        display: block;
        position: relative;
    }

    .products .info {
        position: absolute;
        display: block;
        height: 31px;
        line-height: 31px;
        z-index: 10000;
        top: 12px;
        padding: 0 20px 0 20px;
        font-size: 16px;
        font-style: italic;
        font-weight: normal;
        color: #4c4c4c;
    }

    .products .info.left {
        left: -7px;
        float: left;
        border-left: 7px solid #cbcbcb;
        background: #c1c1c1 url('gfx/arrow_right.png') no-repeat right center;
    }

    .products .info.right {
        background: #c1c1c1 url('gfx/arrow_left.png') no-repeat left center;
        border-right: 7px solid #cbcbcb;
        border-left: 0;
        right: -7px;
        float: right;
    }

    .bx-wrapper {
        float: right;
    }

    .bx-wrapper,
    #productsslider {
        display: block;
        top: 7px;
        width: 100% px;
        margin: 0 auto;
    }

    .bx-window {
        height: 45px;
    }

    #productsslider a {
        text-align: center;
        width: 101px;
        display: inline-block;
    }

    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-nav > li.investors > a {
        color: #c10000;
    }

    .collapse.in {
        display: block !important;
    }

    ul.bottommenu li {
        display: block;;
        line-height: 19px;
        border: none;
    }

    ul.bottommenu li a {
        display: inline;
    }


    .ui-tabs .ui-tabs-nav li {
        position: relative;
        float: left;
        margin: 4px 3px -2px 0;
        padding: 0;
    }

    .ui-tabs .ui-tabs-nav li a {
        display: block;
        padding: 5px 10px 4px 10px;
        border: 1px #ccc solid;
        outline: none;
    }

    .ui-tabs .ui-tabs-nav li.ui-tabs-active a {
        padding: 5px 10px 5px 10px;
        background: #cdcdcd;
    }

}


ul#topslider {
    height: 226px;
    list-style: none;
}

.bx-window, .bx-viewport {
    height: 225px !important;
}

.products .bx-wrapper .bx-window,
.products .bx-wrapper .bx-viewport {
    height: 45px !important;
}

.bx-wrapper {
    top: 0 !important;
}


.ui-tabs .ui-tabs-nav li {
    margin: 0 2px -2px 0 !important;
}


.bottommenu li a.footershow {
    display: inline !important;
    line-height: 19px;
    height: 19px;
    padding: 0 6px 0 10px;
    text-decoration: none;
    background-size: 100%;
    overflow-y: hidden !important;
    overflow-x: auto !important;
    color: #50b0d6;
    font-size: 14px;
}

.btn-primary {
    background: #0080cf !important;

}