*{
    box-sizing: border-box;
}
body{
    background:url(form-bg-desktop-mobile.jpg) no-repeat center;
    background-size: cover;
    font-family: 'Open Sans',sans-serif;
    padding:0;
    margin:0;
    --c-accent: #ED1C24;
    min-height: 100vh;
    color:#111;
}
@media(min-width:520px){
    body {
        background-image: url('form-bg-desktop-tablet.jpg');
    }
}
@media(min-width:768px){
    body {
        background-image: url('form-bg-desktop.jpg');
    }
}
@media(min-width:996px){
    body {
        background-image: url('form-bg-desktop-big.jpg');
    }
}
@media(min-width:1260px){
    body {
        background-image: url('form-bg-desktop-max.jpg');
    }
}
body > header{
    height: 58px;
    background:#fff;
}
.container-fluid{
    width:100%;
    max-width: 1240px;
    padding:0 10px;
    margin:0 auto;
}
nav{
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
nav ul, nav li{
    margin:0;
    padding:0;
    list-style: none;
}
nav ul{
    display: flex;    
}
nav li a{
    font-size: 14px;
    display: flex;
    height:58px;
    padding: 0 15px;
    align-items: center;
    border-bottom: 3px solid #fff;
}
nav li.active a{
    border-color:var(--c-accent);
}
nav li:first-child a{
    padding-left: 0;
}
a{
    text-decoration: none;
    color:#000;
}
a:hover, a:active, a:focus{
    color:var(--c-accent);
}
main{
    margin:40px 0;
}
main.not-front h1, main.not-front h2, main.not-front h3, main.not-front h4{
    font-family: Montserrat, sans-serif;
}
main.not-front p, main.not-front li, main.not-front table{
    line-height: 1.68em;
    margin-top: 0;
    margin-bottom: 1em;
}
main.not-front p:last-child, main.not-front li:last-child, main.not-front table:last-child{
    margin-bottom: 0;
}
main.not-front{
    padding: 0 10px;
}
main.not-front > .container-fluid{
    padding:40px 30px;
    background: #fff;
}

h1.main-title{
    font-weight: 800;
    margin:0;
    margin-bottom: 30px;
    font-size: 30px;
}
.news-date{
    margin-bottom: 10px;
    font-size: 14px;
}
.news-date .day{
    color:var(--c-accent);
    font-weight: 600;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}
section.dane .content{
    background:#fff;
    padding:40px;
    width:50%;
}
section.dane .content header, section.uslugi header{
    padding-bottom: 30px;
    font-weight: 900;
    font-family: Montserrat, sans-serif;
    font-size: 30px;
}
section.dane{
    display: flex;
    margin-bottom: 15px;
}
section.dane .row{
    display: flex;
    padding:9px 0;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid #dbdbdb;
}
section.dane .row.address{
    display: block;
    border-bottom: none;
}
section.dane .row.address .label{
    margin-bottom: 10px;
}
section.dane .row.address br{
    display: none;
}
section.dane .value{
    display: block;
}
section.dane .label{
    font-weight: bold;    
    text-transform: uppercase;
    margin-right: 10px;
    display: block;
}
.map{
    width:50%;
}
.map iframe{
    width:100%;
    height:100%;
    min-height:300px;
    vertical-align: middle;
}
section.uslugi{
    background:#fff;
    padding:40px;
}
.marki{
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin:10px auto 0 auto;
}
img{
    max-width: 100%;
}
.marki a, .marki img{
    vertical-align: middle;
}
.marki img{
   width:110px; 
}
.news-list-row{
    border-top: 1px solid #f2f2f2;
    padding:15px 25px;
}
.news-list-row:last-child{
    border-bottom: 1px solid #f2f2f2;
}
.news-list-date{
    line-height: 1.2em;
    font-size: 11px;
    margin-bottom: 10px;
}
.news-list-date .day{
    color:var(--c-accent);
    font-size: 13px;
    line-height: 0.7em;
    font-weight: bold;
}
.news-list-title{
    line-height: 22px;
    font-size: 18px;
    font-weight: 700;
}
@media(max-width:600px){
    section.dane .row{
        display: block;
    }
    section.dane .row.address .label,
    section.dane .row .label{
        margin-bottom: 3px;
    }
    section.dane .content, section.uslugi, main.not-front > .container-fluid{
        padding:35px 20px;
    }
}
@media(max-width:768px){
    section.dane{
        flex-wrap: wrap;
    }
    section.dane .content, .map{
        width: 100%;
    }
    .marki .logo{
        display: inline-block;
        width:33.33%;
        text-align: center;
    }
    .marki .logo img{
        max-width: 90%;
        display: inline-block;
    }
    section.dane .row.address br{
        display: block;
    }
}