html {
    background-color: #8d9d8f;
}

body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 1em;
    color: #000000;
}

#container {
    border-style: solid;
    border-width: thin;
    margin-left: auto;
    margin-right: auto;
    background-color: #F2F2F2;
}
@media (min-width: 850px) {
    #container {
        width: 800px;
    }
}

#main-title {
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    font-size: .7em;
    letter-spacing: 5px;
    text-align: right;
    padding-bottom: 8px;
    font-weight: bold;
    padding-top: 8px;
    padding-right: 50px;
    background-color: #333333;
    color: #ffffff;
    border-top: 1px #000000 solid;
    border-bottom: 1px #000000 solid;
}

#header-image {
    background-color: #4d80b9;
    background-image: url(images/flower.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    height: 177px;
    border-top: 2px #ff4700 solid;
    border-bottom: 2px #ff4700 solid;
    margin-left: 0px;
    margin-right: 0px;
}

@media (max-width: 600px) {
    #header-image {
        height: 100px;
    }
}

#navbar {
    margin-bottom: 0;
    margin-left: 0px;
    margin-right: 0px;
    text-align: center;
    margin-top: 0;
    padding-bottom: 8px;
    font-weight: bold;
    padding-top: 8px;
    background-color: #333333;
    color: #ffffff;
    word-spacing: 0.5em;
    line-height: 2em;
    border-bottom: 2px #ff4700 solid;
}

#navbar a:link, #navbar a:visited {
    color: #ffffff;
    word-spacing: none;
}

#navbar a.current {
    color: #ff4700;
}

#navbar a:hover {
    color: #ff4700;
    text-decoration: underline;
}


p.byline {
    text-align: right;
    margin-bottom: 0;
}

#main-text h1 {
    margin-left: 0px;
    margin-right: 0px;
    font-size: 1.6em;
    padding-bottom: 3px;
    padding-top: 35px;
    padding-right: 0;
    color: #000000;
    border-bottom: 1px #ff4700 solid;
    letter-spacing: 2px;
    font-weight: normal;
    background-color: #F2F2F2;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 50px;
    margin-right: 50px;
}


#main-text {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0px;
    margin-right: 0px;
    font-size: 1em;
    line-height: 1.6em;
    background-color: #F2F2F2;
}

#main-text p {
    text-align: justify;
    margin-left: 50px;
    margin-right: 50px;
}



h2 {
    padding-bottom: 3px;
    padding-right: 0;
    color: #000000;
    border-bottom: 1px #000000 solid;
    letter-spacing: none;
    margin-left: 50px;
    margin-right: 50px;
    font-size: 1em;
    margin-top: 20px;
    padding-top: 10px;
    background-color: #F2F2F2;
}

p, ul, ol {
    margin-top: 17px;
    margin-bottom: 0;
}

ol, ul {
    margin-left: 50px;
    margin-right: 50px;
    list-style-position: outside;
    padding-left: 1em;
}

@media (max-width: 400px) {
    #main-text p {
        text-align: left;
        margin-left: 20px;
        margin-right: 20px;
    }
    #main-text h2 {
        margin-left: 20px;
        margin-right: 20px;
    }
    #main-text h1 {
        margin-left: 20px;
        margin-right: 20px;
    }

    ol, ul {
        margin-left: 20px;
        margin-right: 20px;
    }
}


a:link, a:visited {
    text-decoration: none;
    color: #FF0000;
}

a:hover {
    text-decoration: underline;
}

#books {
    overflow: hidden; // necessary for books to have proper background color
}
@media (min-width: 600px) and (max-width: 849px) {
    #books {
        width: 550px;
        margin: 0 auto;
    }
}
@media (min-width: 850px) {
    #books {
        width: 800px;
    }
}


div.book {
    text-align: center;
    font-size: smaller;
    margin: 0px;
    padding: 0px;
    margin-top: 25px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
}

div.sliderpack {
    margin-left: auto;
    margin-right: auto;
}


@media (min-width: 600px) {
    div.book {
     width: 250px;
     float: left;
     margin-left: 15px;
     min-height: 350px;
    }
    div.sliderpack {
        margin-left: 15px;
        display:block;
        width:250px !important;
        float:left;
    }
}


.howmanyleft {
    cursor: pointer;
    float: left;
    background-color: darkgray;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
    -moz-box-shadow: 10px 10px 5px #888;
    -webkit-box-shadow: 10px 10px 5px #888;
    box-shadow: 10px 10px 5px #888;
}

ul.realizacje {
    list-style-position: outside;
    padding-left: 1em;
}

ul.realizacje li {
    margin-top: 30px;
}

div.realizacje {
    overflow: hidden;
    margin-left: 0px;
    margin-right: 0px;
}

div.realizacja {
    text-align: center;   
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 400px) {
    div.realizacja {
        float: left;
        margin-right: 10px;
    }
}

#main-text div.realizacja p {
    text-align: center;
}

div.realizacja img {
    margin-top: 10px;
}

.clear {
    clear: both;
}

div.cennik {
    overflow: hidden;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 20px;
}


div.cennik-elem-1 {
    float: left;
    width: 60%;
}

div.cennik-elem-2 {
    text-align: center;
    float: left;
    width: 40%;
}

div.cennik-elem-3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

@media (max-width: 600px) {

    div.cennik-elem-1 {
        float: none;
        width: 100%;
    }

    div.cennik-elem-2 {
        display: none;
    }

    div.cennik-elem-3 {
        width: 100%;
    }
}

@media (max-width: 400px) {
    div.cennik {
        margin-left: 20px;
        margin-right: 20px;
    }
}

table {
    border-collapse:collapse;
}

table.cennik {
    table-layout: fixed;
    width: 100%;
}

table.cennik th {
    background-color: #CCCCCC;
}

table.cennik th.head {
    background-color: #999999;
}

table.cennik th.left {
    padding-left: 25px;
    text-align: left;
}

table.cennik td.big {
    font-size: large;
}
table.cennik .center {
    text-align: center;
}

th {
    background-color: #CCCCCC;
    padding:5px;
    border:1px solid;
}


td
{
    border:1px solid;
    padding:5px;
    text-align:right;
}

td.legenda {
    text-align:left;
}

td.book {
    width: 33%;
    border:0px solid black;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 20px;
    vertical-align: top;
    text-align: center;
}

img.book {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 0;
    border: 1px solid black;

}
#main-text p.book {
    color: black;
    border:0px solid gray;
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
}


#footer {
    margin-bottom: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 8px;
    margin-top: 40px;
    padding-right: 20px;
    background-color: #4d80b9;
    color: #ffffff;
    font-weight: bold;
    border-top: 1px #000000 solid;
    border-bottom: 1px #000000 solid;
    clear:both;
}

#footer a:link, #footer a:visited {
    color: #ffffff;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.right {
    text-align: right;
}

.right h3 {
    margin-top: 0px;
    text-align: right;
}

img {
    border: 0;
}

#logotypy {
    margin-left: 50px;
    margin-right: 50px;
}

@media (max-width: 400px) {
    #logotypy {
        margin-left: 20px;
        margin-right: 20px;
        overflow: hidden;
    }
}

#logotypy img {
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    height: 40px;
    border: 1px solid black;
}

#klienci {
    margin-left: 50px;
    margin-right: 50px;
}

@media (max-width: 400px) {
    #klienci{
        margin-left: 20px;
        margin-right: 20px;
    }
}

#klienci h3 {
    text-decoration: underline;
}

#klienci ul {
    margin-left: 0px;
}

.klientbox {
    float: left;
    width: 50%;
}

@media (max-width: 600px) {

    .klientbox {
        float: none;
        width: 100%;
    }
}

.klientbox a {
    text-decoration: none;
    color: black;
}
.klientbox a:hover {
    text-decoration: underline;
    color: black;
}
