/* Start of CMSMS style sheet 'lion-main' */
/* CSS */

a:link, a:visited {
    color: #790000;
    text-decoration: underline;
}
a:hover, a:focus, a:active {
    color: #790000;
    text-decoration: none;
}
.clr {
    clear: both;
}
#skip-links {
    display: none;
}
.container {
    width: 960px;
    margin: 0 auto;
    display: block;
}
.container:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Header */

#header {
    width: 989px;
    height: 233px;
    margin: 0 auto;
    background: url(uploads/backgrounds/bg-header.png) no-repeat 1px 0;
    position: relative;
}
#header h1 {
    width: 466px;
    height: 64px;
    position: absolute;
    top: 50px;
    left: 84px;
    text-indent: -999em;
    overflow: hidden;
    background: url(uploads/backgrounds/h1-familylife.png) 0 0;
}
#header h1 a {
    width: 466px;
    height: 64px;
    display: block;
}
#header h2 {
    width: 214px;
    height: 135px;
    position: absolute;
    top: 20px;
    left: 659px;
    text-indent: -999em;
    overflow: hidden;
    background: url(uploads/backgrounds/h2-lion.png) 0 0;
}
#home {
    width: 150px;
    height: 25px;
    position: absolute;
    top: 138px;
    left: 10px;
    overflow: hidden;
}
#home a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.6em;
    color: #fff;
    text-decoration: none;
}

/* Menu główne */

#nav-main {
    width: 989px;
    height: 70px;
    position: absolute;
    top: 163px;
    overflow: hidden;
}
#nav-main ul {
    width: 989px;
    height: 70px;
    list-style-type: none;
    background: url(uploads/backgrounds/bg-menu.png) 0 0;
}
#nav-main ul li {
    float: left;
}
#nav-main ul li a {
    width: 139px;
    height: 70px;
    margin-left: 2px;
    display: block;
    background: url(uploads/backgrounds/bg-nav-main.png) 0 0;
    text-indent: -999em;
    overflow: hidden;
}
li#it-1 a:link,
li#it-1 a:visited {
    background-position: -2px 0;
}
li#it-1 a:hover,
li#it-1 a:focus,
li#it-1 a:active,
#firma li#it-1 a {
    background-position: -2px -70px;
}
li#it-2 a:link,
li#it-2 a:visited {
    background-position: -143px 0;
}
li#it-2 a:hover,
li#it-2 a:focus,
li#it-2 a:active,
#certyfikaty li#it-2 a {
    background-position: -143px -70px;
}
li#it-3 a:link,
li#it-3 a:visited {
    background-position: -284px 0;
}
li#it-3 a:hover,
li#it-3 a:focus,
li#it-3 a:active,
#klienci li#it-3 a {
    background-position: -284px -70px;
}
li#it-4 a:link,
li#it-4 a:visited {
    background-position: -425px 0;
}
li#it-4 a:hover,
li#it-4 a:focus,
li#it-4 a:active,
#opinie li#it-4 a {
    background-position: -425px -70px;
}
li#it-5 a:link,
li#it-5 a:visited {
    background-position: -566px 0;
}
li#it-5 a:hover,
li#it-5 a:focus,
li#it-5 a:active,
#pomagamy li#it-5 a {
    background-position: -566px -70px;
}
li#it-6 a:link,
li#it-6 a:visited {
    background-position: -707px 0;
}
li#it-6 a:hover,
li#it-6 a:focus,
li#it-6 a:active,
#konkurs li#it-6 a {
    background-position: -707px -70px;
}
li#it-7 a:link,
li#it-7 a:visited {
    background-position: -848px 0;
}
li#it-7 a:hover,
li#it-7 a:focus,
li#it-7 a:active,
#kontakt li#it-7 a {
    background-position: -848px -70px;
}

/* Page contetnt */

#page {
    width: 989px;
    margin: 0 auto;
    padding-bottom: 25px;
    background: url(uploads/backgrounds/bg-page.png) repeat-y 0 0;
}
#start #page {
    background: url(uploads/backgrounds/bg-page-start.png) repeat-y 0 0;
}

#splash {
    width: 702px;
    height: 423px;
    padding: 2px 0 0 0;
    background: #070236 url(uploads/backgrounds/tlo-splash.png) no-repeat 0 bottom;
    display: block;
}
#box-start-1, #box-start-2, #box-start-3 {
    width: 234px;
    padding-top: 127px;
    float: left;
}
#box-start-1 { background: url(uploads/backgrounds/bg-boxstart-1.png) no-repeat 0 0;}
#box-start-2 { background: url(uploads/backgrounds/bg-boxstart-2.png) no-repeat 0 0;}
#box-start-3 { background: url(uploads/backgrounds/bg-boxstart-3.png) no-repeat 0 0;}
#box-start-1 h3, #box-start-2 h3, #box-start-3 h3 {
    width: 194px;
    height: 24px;
    margin: 23px 0 20px 20px;
    text-indent: -999em;
    overflow: hidden;
}
#box-start-1 h3 { background: url(uploads/backgrounds/h3-firma.png) no-repeat 0 0;}
#box-start-2 h3 { background: url(uploads/backgrounds/h3-certyfikaty.png) no-repeat 0 0;}
#box-start-3 h3 { background: url(uploads/backgrounds/h3-klienci.png) no-repeat 0 0;}
#box-start-1 h3 a, #box-start-2 h3 a, #box-start-3 h3 a {
    width: 150px;
    height: 24px;
    display: block;
}

#box-start-1 p, #box-start-2 p, #box-start-3 p {
    margin: 0 20px;
    padding-bottom: 0.5em;
    text-align: justify;
    line-height: 1.3em;
}
#box-start-1 p a:link, #box-start-1 p a:visited,
#box-start-2 p a:link, #box-start-2 p a:visited,
#box-start-3 p a:link, #box-start-3 p a:visited {
    color: #000;
    text-decoration: none;
}
#box-start-1 p a:hover, #box-start-1 p a:focus, #box-start-1 p a:active,
#box-start-2 p a:hover, #box-start-2 p a:focus, #box-start-2 p a:active,
#box-start-3 p a:hover, #box-start-3 p a:focus, #box-start-3 p a:active {
    color: #000;
    text-decoration: underline;
}
#box-start-1 .more, #box-start-2 .more, #box-start-3 .more {
    margin-right: 22px;
    text-align: right;
}
#box-start-1 .more a:link, #box-start-1 .more a:visited,
#box-start-2 .more a:link, #box-start-2 .more a:visited,
#box-start-3 .more a:link, #box-start-3 .more a:visited {
    color: #790000;
    text-decoration: none;
}
#box-start-1 .more a:hover, #box-start-1 .more a:focus, #box-start-1 .more a:active,
#box-start-2 .more a:hover, #box-start-2 .more a:focus, #box-start-2 .more a:active,
#box-start-3 .more a:hover, #box-start-3 .more a:focus, #box-start-3 .more a:active {
    color: #790000;
    text-decoration: underline;
}
#content {
    width: 703px;
    margin-left: 2px;
    float: left;
    font-size: 0.75em;
}
#column {
    width: 283px;
    float: right;
    font-size: 0.7em;
}

/* Contetnt Page */

#content-page {
    width: 584px;
    margin-left: 2px;
    padding: 50px 75px 0 45px;
    float: left;
    font-size: 0.75em;
    background: url(uploads/backgrounds/bg-contentpage.png) no-repeat 0 0;
}
#content-page p {
    padding-bottom: 1em;
    text-align: justify;
    line-height: 1.35em;
}
#content-page ul, #content-page ol {
    margin-left: 45px;
    padding-bottom: 1em;
    line-height: 1.35em;
}
#content-page ul li, #content-page ol li {
    padding-bottom: 0.5em;
}
#content-page ul li ul, #content-page ol li ul, #content-page ol li ol {
    padding: 0.5em 0 0 0;
}
#content-page h4 {
    padding: 0.8em 0;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 1.5em;
    color: #790100;
}
#content-page h5 {
    padding: 0.8em 0;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 1.4em;
}
#content-page h6 {
    padding: 0.8em 0;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 1.1em;
    font-weight: bold;
}
.lewa {
    margin: 2px 20px 0.5em 0;
    padding: 1px;
    float: left;
    overflow: auto;
}
.prawa {
    margin: 2px 0 0.5em 20px;
    padding: 1px;
    float: right;
    overflow: auto;
}
hr {
    height: 1px;
    border: 0;
    color: #e0e0e0;
    background-color: #e0e0e0;
    clear: both;
}

/* Newsletter */

#newsletter h3 {
    width: 283px;
    height: 58px;
    text-indent: -999em;
    overflow: hidden;
    background: url(uploads/backgrounds/h3-newsletter.png) no-repeat 0 -2px;
}
#start #newsletter h3 {
    width: 283px;
    height: 58px;
    text-indent: -999em;
    overflow: hidden;
    background: url(uploads/backgrounds/h3-newsletter.png) no-repeat 0 0;
}
#newsletter p {
    margin: 0 30px 0 20px;
    padding-bottom: 0.5em;
    text-align: justify;
    line-height: 1.35em;
}
#newsletter .nms_message {
    margin-top: 0.5em;
    text-align: left;
    color: #d60000;
    font-weight: bold;
    display: block;
}

#newsletter form {
    width: 232px;
    margin: 1em 0 1em 23px;
}
#newsletter form div {
    padding: 0;
}
#newsletter form label {
    padding: 0.3em 5px 0.3em 0;
    width: 130px;
    display: block;
    float: left;
}
#newsletter form input {
    width: 215px;
    padding: 0.2em 0.1em;
    background-color: #fff;
    border: 2px solid #cfcdcd;
}
#newsletter form div.wyslij {
    text-align: right;
}
#newsletter form .wyslij input {
    width: auto;
    margin: 10px 12px 0 0;
    padding: 0.1em 15px;
    color: #000;
    background-color: #cfcdcd;
    cursor: pointer;
}

#certyfikaty-col {
    width: 242px;
    height: 58px;
    margin: 40px 20px;
}

/* Newsy */

#newsy {
    margin: 0 30px 0 20px;
}
#newsy h3 {
    width: 232px;
    height: 26px;
    margin-bottom: 15px;
    text-indent: -999em;
    overflow: hidden;
    background: url(uploads/backgrounds/h3-newsy.png) no-repeat 0 0;
}
#newsy h3 a {
    width: 232px;
    height: 26px;
    display: block;
}
#newsy .news {
    width: 232px;
    margin-bottom: 15px;
    padding-bottom: 0.5em;
    overflow: auto;
    border-bottom: 1px solid #e0e0e0;
}
#content-page .news {
    width: 584px;
    margin-bottom: 15px;
    padding-bottom: 0.5em;
    overflow: auto;
    border-bottom: 1px solid #e0e0e0;
}
#newsy .news img, #content-page .news img.lewa {
    margin: 2px 10px 0.5em 0;
    padding: 1px;
    border: solid 1px #cfcdcd;
    float: left;
    overflow: auto;
}
#newsy .news h4 {
    margin-bottom: 0.5em;
    font-weight: bold;
}
#newsy .news h4 a {
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}
#content-page .news h4 {
    padding: 0.8em 0;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 1.4em;
}
#newsy .news p {
    padding-bottom: 0.5em;
    text-align: justify;
    line-height: 1.3em;
}
#newsy .news a {
    color: #000;
    text-decoration: none;
}
#newsy .more, #content-page .more {
    padding-bottom: 0.5em;
}
#newsy .all {
    text-align: right;
}
#newsy .more a:link, #newsy .more a:visited,
#newsy .all a:link, #newsy .all a:visited,
#content-page .news .more a:link, #content-page .news .more a:visited {
    color: #790000;
    text-decoration: none;
}
#newsy .more a:hover, #newsy .more a:focus, #newsy .more a:active,
#newsy .all a:hover, #newsy .all a:focus, #newsy .all a:active,
#content-page .news .more a:hover, #content-page .news .more a:focus, #content-page .news .more a:active {
    color: #790000;
    text-decoration: underline;
}

#paginacja {
    text-align: center;
}
#paginacja .preev, #paginacja .prev {
    padding-right: 8px;
}
#paginacja .nexxt, #paginacja .next {
    padding-left: 8px;
}
#paginacja a:link, #paginacja a:visited {
    color: #790000;
    text-decoration: none;
}
#paginacja a:hover, #paginacja a:focus, #paginacja a:active {
    color: #790000;
    text-decoration: underline;
}

/* Footer */

#footer {
    width: 989px;
    margin: 0 auto;
    height: 70px;
    background: url(uploads/backgrounds/bg-footer.png) no-repeat 1px 0;
}
#footer p {
    padding-top: 20px;
    font-size: 0.65em;
    color: #242f3e;
    text-align: center;
}

/* Kontakt */

#kontakt-page {
    width: 230px;
    float: left;
}
#kontakt-mapa {
    width: 300px;
    height: 310px;
    float: right;
}
#koszalin, #olsztyn, #bialystok, #gorzow, #radom, #krakow, #bielsko, #rzeszow, #gdynia, #szczecin, #pila, #elblag, #torun, #bydgoszcz, #warszawa-1, #warszawa-2, #poznan, #zielona, #ostrow, #lodz, #wroclaw, #legnica, #lublin, #sosnowiec, #tychy, #zory, #raciborz, #opole, #kielce {
    width: 230px;
    display: none;
}

/* End of 'lion-main' */

