@import url("//fonts.googleapis.com/css?family=Lato:400,400i,700,700i");

* {
    box-sizing: border-box;
}

html, body {
    box-sizing: inherit;
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background: url('/img/bg-mb3.jpg') no-repeat;
    color: #444;
}

.container {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
}

.clearfix::after {
    clear: both;
    display: table;
    content: '';
}

header .container {
    border-top: 3px solid #ce3839
}

#logo {
    margin: 30px 0 30px 10px;
}

header {
    background: url('/img/produkty.png') no-repeat top 140px center;
}

header .intro {
    background-color: rgba(255,255,255, 0.8);
    border: 1px solid #bbb;
    box-shadow: 0 0 10px 0 #ddd inset;
    border-radius: 5px;
    margin: 10px 10px 20px 10px;
    padding: 30px 15px 15px 15px;
    position: relative;
}

header .intro .iframe {
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

header .intro iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

header .intro__title {
    position: absolute;
    top: -15px;
    background: #ce3839;
    color: white;
    padding: 10px 15px;
    box-shadow: 3px -3px 2px 0 #990000; 
    font-weight: bold;
    margin: 0 20px;
    border-radius: 5px;
}

header .intro__title h1 {
    font-size: 16px;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}

header .intro__img  {
    float: right;
    margin: 0 0 10px 5px;
    width: 210px;
    border-radius: 5px;
}


header .intro__description {
    line-height: 140%;
}

header .catalog {
    text-align: center;
    line-height: 40px;
}

header .catalog__button {
    color: #fff;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 50px;
    text-decoration: none;
    background: #7b7b7b;
    box-shadow: 3px -3px 2px 0 #666;
    font-weight: bold;
    white-space: nowrap;
}

header .catalog__button:hover {
    box-shadow: 2px -2px 2px 0 #666;
}

main {
    margin-top: 40px;
}

main h2 {
    text-align: center;
    font-size: 30px;
}

aside h3 {
    text-align: center;
}

aside h4 {
    margin-top: 0;
}

aside .col {
    float: left;
    width: 46%;
    padding: 10px;
    margin: 2%;
    border: 1px solid #bbb;
    box-shadow: 0 0 10px 0 #ddd inset;
    height: 160px;
    overflow: hidden;
}

aside .col p {
    overflow: hidden;
}


.row {
    margin: 30px 0;
    box-shadow: 5px 5px 5px 0 #ddd;
    padding: 10px;
    border-radius: 5px;
}

.row__column1 img {
    width: 100%;
    float: left;
    margin: 5px;
}

.row__column1 {
    max-width: 210px;
    height: 100%;
}

.row__column2 {
    margin-left: 230px
}

.info__description {
    line-height: 140%;
}

a {
    color: #C11E1F;
    text-decoration: none;
}

 a:hover {
    text-decoration: underline;
}

.info__title h3 {
    margin-top: 0;
    padding-top: 0;
}

footer {
    text-align: center;
}

footer a {
    background: #ce3839;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
}

footer .container {
    border-top: 3px solid #ce3839
}

footer p {
    height: 50px;
}


#nav {
    text-align: center;
    position: relative;
}

#nav button {
    background: #47484a;
    color: #fff;
    position: absolute;
    right: 20px;
    top: 0;
    border: 0;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    display: none;
}

#nav ul, #nav li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav li {
    display: inline-block;
    position: relative;
    padding: 0 10px;
    line-height: 30px;
}

#nav > ul {
    padding: 5px 10px 0 10px;
    border: 1px solid #990000;
    display: inline-block;
    height: 39px;
    background: #47484a;
    border-width: 0 1px 1px 1px;
    border-color: #464845;
    border-radius: 0 0 5px 5px;
}

#nav ul ul {
    top: 30px;
    position: absolute;
    background: #47484a;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
    display: none;
    width: 220px;
    z-index: 1000;
}

#nav ul ul.submenu {
    top: 0;
    left: 200px;
}

#nav ul.submenu ul {
    position: static;
    left: 0;
    top: 0;
    padding-left: 0;
    display: block;
    width: 100%;
}

#nav ul.submenu li {
    text-align: left;
}

#nav li:hover > ul {
    display: block;
}


#nav li li {
    display: block;
    padding-top: 5px;
}


#nav a {
    display: inline-block;
    padding: 0 5px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    font-style: italic;
    text-decoration: none;
}

#nav a:hover {
    background: #ce3839;
    border-radius: 5px;
}

#breadcrumbs {
    margin: 10px 20px;
}

.home header {
    min-height: 400px;
    background-position: top 220px center;
}

.home header.blog {
    height: 200px;
    min-height: 200px;
}

.home h1 {
    font-size: 36px;
}

.home header #logo {
    text-align: center;
}

.home main {
    padding: 0 20px;
    text-align: center;
}

.home main img {
    width: 100%;
}

@media (max-width: 1000px) {
    body {
        font-size: 20px;
    }
    
    #nav {
        z-index: 1000;
    }
    
    #nav button {
        display: block;
    }
    
    #nav > ul.show {
        display: block!important;
    }

    #nav ul {
        position: absolute;
        left: 0;
        top: 0;
        display: block!important;
        position: static!important;
        width: auto!important;
        height: auto;
        background-color: rgba(71,72,74, 0.9);
        border-radius: 0;
    }
    #nav > ul {
        position: absolute!important;
        display: none!important;
        max-height: 360px;
        overflow: auto;
        margin-right: 80px;
    }
    
    
    #nav ul ul {
        background: none;
    }
    
    #nav li {
        display: block;
        text-align: left;
        
    }
}