
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
body{
    font-family: 'Montserrat', sans-serif;
    background: #fff;
}

.tar{
    text-align: right;
}
.tac{
    text-align: center;
}

.m0{
    margin:0;
}
.m30x0{
    margin:30px 0;
}
.p0{
    padding: 0;
}
.p0x30{
    padding: 0 30px;
}
.pl30{
    padding-left: 30px;
}
a:hover,
a:focus,
a:active{
    text-decoration: none;
}
b{
    font-weight: 600;
}
h1, h2, h3, h4, h5, h6{
    font-weight:600;
    position: relative;
}
.mb100{
    margin-bottom: 100px;
}

.navbar-brand{
    display: inline-block;
    vertical-align: middle;
    height: auto;
    float: none;
}
.center-header{
    display: inline-block;
    vertical-align: middle;
}
.navbar-header{
    float:none;
    padding: 20px 0;
}
.navbar-header h5{
    float: left;
    color:#254d4b;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.6;
    margin-top: 24px;
}
.navbar{
    margin-bottom: 0;
    border-bottom: none;
}
#menu ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#menu{
/*    padding: 34px 0;*/
}
#menu ul li{
    display: inline-block;
}
#menu a{
    color:#254d4b;
    font-size: 18px;
    font-weight: 600;
    padding: 46px 10px;
    display: inline-block;
    text-align: center;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
/*    border-radius: 5px;*/
}
#menu a:hover,
#menu .active a,
#menu a.active{
/*    color:#fff;*/
    background: #e7eded;
}
.navbar-collapse{
    background: #f6fafa;
}
.navbar-toggle .icon-bar{
    background: #254d4b;
    height: 3px;
}
.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 3px;
}
.navbar-toggle {
    margin-right: 0;
/*    margin-top: 40px;*/
}
.navbar-brand img{
    width: 295px;
    max-width: 100%;
}
.header-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.center-header a{
    color:#254d4b;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    padding: 3px 0;
    padding-left: 32px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.center-header a:hover{
    color:#d61f26;
}
.phone{
    background: url(../img/phone.png) no-repeat center left;
    background-size: 24px;
}
.center-header a.phone{
    padding-left: 25px;
    margin-right: 15px;
}
.email{
    background: url(../img/email.png) no-repeat center left;
    background-size: 24px;
}
.btn{
    font-size: 14px;
    font-weight: 400;
    padding: 12px 20px;
    border-radius: 5px;
    background: #d61f26;
    color:#fff;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.btn:hover{
    color:#fff;
    background: #b10f15;
}
.contact-btn{
    font-weight: 600;
    text-transform: uppercase;
}

footer,
.navbar{
    border-top: 5px solid #d61f26;
}
#main-top{
    padding: 50px 0 80px;
}
.block{
    background: #f6fafa;
    padding: 59px 45px;
    display: flex;
    flex-wrap: wrap;
}
h2{
    font-size: 45px;
    font-weight: 800;
    color:#254d4b;
    margin-bottom: 40px;
    width: 100%;
}
.block1{
    margin-bottom: 30px;
    background-image: url(../img/aparat.png);
    background-repeat: no-repeat;
    background-position: bottom right 55px;
    background-size: 154px;
}
.block2{
    text-align: right;
    background-image: url(../img/glowica.png);
    background-repeat: no-repeat;
    background-position: bottom 20px left;
    background-size: 158px;
    justify-content: flex-end;
}
.block3{
    height: 276px;
    background: url(../img/img4.jpg) no-repeat top center;
    background-size: cover;
    margin-bottom: 30px;
}
.block4{
    height: 460px;
    background: url(../img/img2.jpg) no-repeat top center;
    background-size: cover;
}
.block5{
    height: 460px;
    background: url(../img/img1.jpg) no-repeat top center;
    background-size: cover;
    margin-bottom: 30px;
}
.block6{
    height: 276px;
    background: url(../img/img3.jpg) no-repeat top center;
    background-size: cover;
}
.contact{
    background: #f6fafa;
    padding: 60px 0 80px;
}
h3{
    color:#254d4b;
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 50px;
}
footer{
    padding: 45px 0 20px;
}
.footer-logo{
    display: inline-block;
}
.footer-logo img{
    width: 193px;
    max-width: 100%;
}
.menu-footer ul{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-footer li{
    display: inline-block;
    list-style: none;
    color:#254d4b;
    font-size: 14px;
    font-weight: 600;
}
.menu-footer li a{
    color:#254d4b;
}
.copyright{
    margin-top: 40px;
    font-size: 12px;
    color:#254d4b;
}
.copyright a{
    color:#254d4b;
}
.contact p{
    color:#254d4b;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}
.contact-phone,
.contact-email{
    padding-left: 35px;
}
.contact-phone{
    margin-bottom: 30px;
    background: url(../img/phone.png) no-repeat top left 3px;
    background-size: 24px;
}
.contact-email{
    background: url(../img/email.png) no-repeat top left;
    background-size: 24px;
}
.contact-phone a,
.contact-email a{
    color:#254d4b;
    font-size: 18px;
    font-weight: 500;
}
.allegro{
    padding-left: 75px;
    background: url(../img/allegro.png) no-repeat center left;
    background-size: 55px;
    margin-bottom: 18px;
}
.olx{
    padding-left: 75px;
    background: url(../img/olx.png) no-repeat center left 10px;
    background-size: 33px;
}
.olx .btn{
    background: #254d4b;
    font-size: 18px;
    max-width: 328px;
    width: 100%;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.olx .btn:hover{
    background: #142f2d;
}
.allegro .btn{
    font-size: 18px;
    max-width: 328px;
    width: 100%;
}







/* media queries */

@media (max-width:1199px){ 
    .menu-footer li{
        font-size: 13px;
    }
    #menu a {
        font-size: 15px;
        padding: 38px 10px;
    }
    h2 {
        font-size: 40px;
    }
    .block {
        padding: 47px 35px;
    }
    .block3,
    .block6 {
        height: 230px;
    }
    .block4,
    .block5 {
        height: 424px;
    }
    h3 {
        font-size: 30px;
    }
}


@media (max-width:991px){ 
    .menu-footer ul{
        flex-wrap: wrap;
    }
    .menu-footer li{
        margin-bottom: 10px;
    }
    h2 {
        font-size: 25px;
        margin-bottom: 22px;
    }
    .block {
        padding: 32px 25px;
    }
    .block1{
        background-position: bottom right 5px;
        background-size: 105px;
    }
    .btn {
        padding: 8px 13px;
        font-size: 13px;
    }
    .block2{
        background-position: bottom 3px left;
        background-size: 110px;
    }
    .block3, .block6 {
        height: 150px;
    }
    .block4, .block5 {
        height: 279px;
    }
    .navbar{
        border-bottom:1px solid #f6fafa;
    }
    #main-top {
        padding: 30px 0 50px;
    }
    .navbar-brand img {
        width: 195px;
    }
    .phone,
    .email {
        background-size: 16px;
    }
    .center-header a {
        font-size: 13px;
        padding-left: 22px;
    }
    .center-header a.phone {
        padding-left: 18px;
    }
    #menu ul {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 15px 0;
    }
    #menu ul li {
        width: 100%;
        text-align: center;
    }
    #menu a {
        font-size: 14px;
        padding: 10px 10px;
    }
    #menu a:hover,
    #menu .active a,
    #menu a.active{
        background: none;
        color:#d61f26;
    } 
    .allegro .btn,
    .olx .btn{
        font-size: 14px;
        padding: 10px 13px;
    }
    .contact p {
        font-size: 14px;
    }
    .contact-phone a, .contact-email a {
        font-size: 16px;
    }
    .contact-phone, .contact-email {
        padding-left: 30px;
        background-size: 20px;
    }
    h3 {
        font-size: 25px;
        margin-bottom: 40px;
    }
    .contact {
        padding: 40px 0 50px;
    }
}

@media (max-width:767px){
    .menu-footer ul{
        align-items: center;
        justify-content: center;
        column-gap: 15px;
    }
    footer{
        text-align: center;
    }
    .footer-logo{
        margin-bottom: 30px;
    }
    .copyright {
        margin-top: 30px;
    }
    .center-header{
        text-align: right;
    }
    .center-header a{
/*        display: block;*/
    }
    .center-header a.phone{
        margin-right: 0;
    }
    .center-header a.email{
        margin-left: 15px;
    }
    .header-top{
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .navbar-brand,
    .center-header{
        width: 50%;
    }
    .center-header a {
        font-size: 12px;
    }
    .navbar-toggle{
        margin:0;
        margin-left: 15px;
    }
    .navbar-header{
        padding: 0;
        padding-bottom: 15px;
    }
    .block h2{
        max-width: 80%;
    }
    .block2,
    .block1,
    .block3,
    .block4,
    .block5{
        margin-bottom: 20px;
    }
    .block-img .col-xs-6{
        padding: 0 10px;
    }
    .block3, .block6 {
        height: 310px;
    }
    .block4, .block5 {
        height: 465px;
    }
    .contact-phone,
    .contact-email {
        margin-bottom: 25px;
    }
    .allegro .btn,
    .olx .btn {
        max-width: none;
        width: auto;
    }
    .allegro {
        padding-left: 0;
        padding-right: 65px;
        background: url(../img/allegro.png) no-repeat center right;
        background-size: 55px;
        display: inline-block;
        margin-right: 20px;
    }
    .olx {
        padding-left: 0;
        padding-right: 45px;
        background: url(../img/olx.png) no-repeat center right;
        background-size: 33px;
        display: inline-block;
    }
    h3 {
        font-size: 20px;
        margin-bottom: 30px;
    }

}


@media (max-width:610px){
    
}

@media (max-width:460px){
    .block4, .block5 {
        height: 279px;
    }
    .block3, .block6 {
        height: 150px;
    }
    .block4, .block5 {
        height: 279px;
    }
    h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .block {
        padding: 25px 18px;
    }
    .allegro {
        margin-right: 0;
    }
}

@media (max-width:430px){
    .navbar-brand, .center-header {
        width: 100%;
        text-align: center;
    }
    .navbar-brand img {
        margin: 0 auto;
    }
    .center-header{
        margin-bottom: 15px;
    }
    .header-top {
        justify-content: center;
    }
}
@media (max-width:370px){
    
}