/* @group General */

*{padding: 0; margin: 0;}

body {
    margin: 0 auto;
	padding: 0;
	color: black;
	font: 12px Tahoma, "Lucida Grande", Lucida, sans-serif;
	text-align: center;
	background: white url(../gfx/body-bg.jpg) repeat-x 0 top;
}

acronym, abbr {
	cursor: help;
	border-bottom: 1px dashed #666;
}

a {
	color: #143a72;
	font-weight: bold;
	text-decoration: none;
}

a span {
	color: #c7348d;
}

a:hover {
	color: #619ddb;
	text-decoration: underline;
}

ul {
	margin: 10px 0px 0px 10px;
	padding: 0;
    list-style-position: inside;
}

li {
    list-style-type: disc;
}

dl { border-bottom: 1px solid #999; width: 90%; margin: 15px;}

dt {
    width: 15em;
    padding: .5em;
    float: left;
    margin: 0;
    border-top: 1px solid #999;
    font-weight: bold;
    clear: both;
}

dd {
    margin-left: 16em;
    padding: .5em;
    border-top: 1px solid #999;
}

dd.first { border-top: 1px solid #999; }

pre {
	color: black;
	padding: 5px;
	margin: 10px 20px 10px 20px;
	border: 1px solid black;
	text-align: left;
	font-size: 12px;
}

img {
	border: 0;
}

h1, h2, h3 {
    color: #b04086;
    font: normal 20px Tahoma, "Lucida Grande", Lucida, Verdana, sans-serif;
}

h2 a {
    color: #b04086;
    font-weight: normal;
}

h2 a:hover {
    color: #b04086;
}

h3 {
	font-size: 12px;
	margin: 0 0 0 10px;
	padding: 0 0 5px 0;
}

h1 em, h2 em, h3 em {
 /*color: #80c036;*/
 font-style: normal;
}

h1 span, h2 span {
	display: block;
	position: relative;
	z-index: 1;
}

.end {
	clear: both;
}

div.hr {
	margin: 15px 0px 15px 0px;
	padding: 0px;
	border: 0;
	background: url(../gfx/hr.gif) repeat-x;
	height: 1px;	
	clear: both;
}
div.hr hr {
	display: none;
}

a.more {
	float: right;
}

.icon {
    vertical-align: middle;
    margin:0px;
    padding:0px;
}

.yes {
	color: green;
}

.no {
	color: red;
}

.date {
	font-size: 10px;
	color: #c0c0c0;
}

p.date {
	margin: 0px 0px 0px 20px;
	font-size: 10px;
	padding: 0;
	color: #c0c0c0;
}

/* @group Messages */

#messages div {
    margin: 10px 0 10px 0;
    background-color: white;
}

#messages div p {
    margin: 10px 10px 10px 10px;
    padding: 0;
}

#messages .msg_error {
    border: 3px solid #ff0000;
    color: #ff0000;
}

#messages .msg_info {
    border: 3px solid #3377be;
    color: #3377be;
}

#messages .msg_ok {
    border: 3px solid #189670;
    color: #189670;
}

/* @end */

/* @group Paging */

.paging {
    list-style-type: none;
    margin: 20px 0 10px 0;
    padding: 0px;
    display: inline;
    background-color: #f4f4f4;
	border: 1px solid #d4d4d4;
}
.paging li {
    display: inline;
    margin: 0px 3px 0px 0px;
    padding: 1px 3px 1px 3px;
}
.paging a {
    margin: 0px;
    padding: 0px;
}
.paging li.active a {
    color: #666;
}

/* @end */

/* @end */

/* @group Form
 */

/* @group General */

form {
    border:1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f1f1f1;
}

fieldset {
    border:0;
}

label {
    float:left;
    width:30%;
    margin-right:1em;
    padding-top:0.2em;
    text-align:right;
    font-weight:normal;
}

label.checkbox {
    width: 100%;
    text-align: left;
    margin:0;
}

textarea, input, select {
	border: 1px solid #ccc;
	margin: 0 5px 0 0;
	font: 11px Tahoma, "Lucida Grande", Lucida, Verdana, sans-serif;
	padding: 2px
}

input.submit {
	background: #397ec4;
    color: white;
    text-align: center;
    border: 1px solid white;
    font-weight: bold;
	padding: 2px;
    /*line-height: 15px;*/
}

/* @end */

/* @group Login */

#h-nav-login form {
	background-color: transparent;
    border:0;
    padding: 0;
    margin: 0;
}

#h-nav-login fieldset {
    border:0;
}

#h-nav-login submit {
    width: 20px;
}

#h-nav-login label {
    display: none;
}

#h-nav-login span {
    display: none;
}

/* @end */

/* @group Newsletter */

#m-newsletter form {
	background-color: transparent;
    border:0;
    padding: 0;
    margin: 0;
}

#m-newsletter fieldset {
    border:0;
}

#m-newsletter input.radio {
	border: 0;
	margin: 0 5px 0 0;
	padding: 0;
	vertical-align: top;
}

#h-newsletter submit {
    width: 20px;
}

#m-newsletter input#newsletter {
	color: #564f38;
}

#m-newsletter #newsletter-label {
	display: none;
}

#m-newsletter label {
	padding: 0;
	text-align: left;
	float: none;
}

/* @end */

/* @end */

/* @group Layout */

/* @group Management */

#management {
    background-color: black;
    color: white;
    text-align: left;
    font-size: 15px;
}

#management ul {
    margin: 0 20px 0 20px;
}

#management li {
    display: inline;
    line-height: 35px;
}

#management ul li a {
    color: #80c036;
    text-decoration: none;
    font-size: 15px;
}

#management ul li a:hover {
    color: black;
    background-color: #80c036;
    text-decoration: none;
}

#management #mng-logo a {
    padding: 0;
}

#management span {
    margin: 0 5px 0 5px;
    display: inline;
}

#management #mng-logo img {
    vertical-align: middle;
}

/* @end */

/* @group Header */

#header {
	width: 100%;
}

#h-top {
	width: 900px;
	text-align: left;
	margin: 0 auto;
}

#h-logo {
	width: 245px;
	height: 39px;
	margin: 50px auto 0 auto;
	padding: 0 0 15px 0;
	float: left;
}

#h-top ul {
    float: right;
    margin: 25px 0 0 0;
    height: 70px;
    padding: 0;
    font-size: 11px;
}

#h-top li {
    float: left;
    margin: 0;
    list-style-type: none;
    text-align: center;
}

#h-top li a {
    display: block;
    width: 70px;
    padding: 50px 0 0 0;
    background-position: top center;
    color: #619ddb;
}

#h-top li a:hover {
    color: #619ddb;
    text-decoration: underline;
}

#ico-home { background: url(../gfx/ico-home.gif) no-repeat; }
#ico-sklep { background: url(../gfx/ico-sklep.gif) no-repeat; }
#ico-katalog { background: url(../gfx/ico-katalog.gif) no-repeat; }
#ico-forum { background: url(../gfx/ico-forum.gif) no-repeat; }
#ico-wsp { background: url(../gfx/ico-wsp.gif) no-repeat; }

#h-nav-box {
	width: 100%;
	text-align: center;
	height: 180px;
	float: left;
	background: url(../gfx/h-nav-bg.gif) repeat-x;
	border-bottom: 5px solid #b8b8b8;
}

#h-nav {
	width: 900px;
	height: 180px;
	text-align: left;
	margin: 0 auto 0 auto;
	position: relative;
}

#h-nav h2 {
	display: none;
}

#h-nav ul {
	float: left;
	width: 200px;
	font-size: 12px;
	margin-top: 20px;
}

#h-nav li {
	color: #bee8fa;
	line-height: 20px;
}

#h-nav li a {
	color: white;
	text-decoration: none;
	line-height: 20px;
}

#h-nav li a:hover {
	text-decoration: underline;
	color: #bee8fa;
}

#h-nav-decor {
	background: url(../gfx/h-nav-decor.jpg) no-repeat;
	width: 227px;
	height: 180px;
	position: absolute;
	left: 300px;
	top: 0px;
	z-index: 3;
}

#h-nav-decor-top {
	background: url(../gfx/h-nav-decor-top.gif) no-repeat;
	width: 125px;
	height: 83px;
	position: absolute;
	left: 355px;
	top: -83px;
}

#h-nav-login {
	width: 400px;
	height: 63px;
	position: absolute;
	right: 0;
	bottom: 1px;
	z-index: 2;
	background: #002957 url(../gfx/h-nav-login-bg.gif) no-repeat right top;
	font-size: 11px;
}

#h-nav-login fieldset, #h-nav-login-info {
	width: 260px;
	float: right;
	margin: 10px 0 0 0;
	color: white;
}

#h-nav-login input {
	width: 90px;
}

#h-nav-login input.submit {
	width: 20px;
}

#h-nav-login a {
	color: #b8e2ff;
	font-weight: normal;
	text-decoration: underline;
}

#h-nav-login a:hover {
	text-decoration: none;
}

#h-nav-login fieldset div {
	width: 100px;
	float: left;
	margin: 5px 10px 0 0;
}

#h-nav-motto {
	position: absolute;
	right: 10px;
	top: 20px;
}

#h-nav-motto p a, #h-nav-motto p a span {
	width: 357px;
	height: 55px;
	display: block;
	z-index: 1;
	background: url(../gfx/h-nav-motto.gif) no-repeat;
	margin: 0;
	cursor: pointer;
}

#h-nav-motto p a span {
	margin-bottom: -55px;
	display: block;
	position: relative;
	z-index: 1;
}


/* @end */

/* @group Main */

#main {
	width: 900px;
	text-align: left;
	margin: 0 auto 0 auto;
	/*background: url(../gfx/main-bg.gif) repeat-y;*/
	position: relative;
	padding: 10px 0 20px;
	clear: both;
}

#m-central {
	float: left;
	width: 540px;
}

#m-central h1,
#m-central h2,
#m-central h3,
#m-central h4,
#m-central h5,
#m-central h6,
#m-central p {
	margin: 10px 0 10px 0;
}

#m-central h3 {
    padding-left: 10px;
}

#m-right {
	float: right;
	width: 330px;	
}

#m-warto {
    margin-top: 10px;
    margin-bottom: 10px;
}

#m-okulary h2, #m-wady h2 {
    margin-top: 0;
}

#m-okulary h2 span, #m-okulary h3 span {
    display: none;
}

#m-wady h2 span, #m-wady h3 span {
    display: none;
}

#m-okulary, #m-wady, #m-soczewki, #m-choroby, #f-partners, #m-article-list {
	background: transparent url(../gfx/container-bg.gif) repeat-x 0 top;
	margin: 10px 0 10px 0;
}

#m-okulary h2, #m-wady h2, #m-soczewki h2, #m-choroby h2, #f-partners h2, #m-article-list h2 {
    padding: 15px 0 10px 10px;
}

#m-warto h3 {
    margin-top: 5px;
    margin-bottom: 3px;
}

#m-warto h3 span, #m-warto h2 span {
    display: none;
}

#m-warto img, #m-wady img, #m-okulary img, #m-soczewki img, #m-choroby img {
	float: left;
	margin: 0 10px 5px 10px;
}

#m-warto img {
    margin: 5px 20px 10px 10px;
}

#m-article img {
    margin: 5px 20px 10px 0px;
}

#m-warto ul, #m-wady ul, #m-okulary ul, #m-soczewki ul, #m-choroby ul {
	padding: 0;
	margin: 0;
	float: left;
	width: 535px;
	display: block;
	margin-bottom: 5px;
}

#m-okulary ul.fleft, 
#m-okulary ul.fleft li, 
#m-wady ul.fleft, 
#m-wady ul.fleft li,
#m-warto ul.fleft, 
#m-warto ul.fleft li {
    width: 260px;
    float: left;
}

#m-okulary ul.fright, 
#m-wady ul.fright, 
#m-warto ul.fright {
    width: 260px;
    float: right;
}

#m-okulary ul.fright li, 
#m-wady ul.fright li,
#m-warto ul.fright li {
    width: 100%;
}

#m-soczewki ul.fleft, 
#m-soczewki ul.fleft li,
#m-choroby ul.fleft, 
#m-choroby ul.fleft li  {
    width: 195px;
    float: left;
}

#m-soczewki ul.fright, 
#m-soczewki ul.fright li,
#m-choroby ul.fright, 
#m-choroby ul.fright li {
    width: 195px;
    float: right;
}

#m-soczewki ul, #m-choroby ul {
	width: 380px;
	float: left;
	clear: none;
	padding: 0;
}

#m-warto li, #m-wady li, #m-okulary li, #m-soczewki li, #m-choroby li {
	list-style-type: none;
	float: left;
	/*width: 49%;*/
	line-height: 18px;
	/*text-indent: 10px;*/
	margin: 0;
	padding: 0 0 0 10px;
}

#m-warto li {
    width: 100%;
}

#m-warto p, #m-wady p, #m-okulary p, #m-soczewki p, #m-choroby p, #m-article p {
	padding: 0 0 10px 0;
	margin: 0 0 0 10px;
	text-align: justify;
}


#m-okulary .m-w-left, #m-wady .m-w-left {
	width: 260px;
	float: left;
}

#m-okulary .m-w-right, #m-wady .m-w-right {
	width: 260px;
	float: right;
}

/* @group Article */
#m-article {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
}

#m-article table caption {
    font-style: italic;
    margin: 10px 0 0 0;
}

#m-article table {
	margin: 0px 20px 10px 20px;
	border-collapse: collapse;
}

#m-article table td, #m-article table th {
	border-bottom: 1px solid black;
	padding: 0.5em 1.5em 0.5em 1.5em;
}

#m-article table td+td, 
#m-article table th+th, 
#m-article table th+td,
#m-article table td+th {
    border-left: 1px solid black;
}

#m-article blockquote {
    font-style: italic;
    margin: 20px 20px 20px 40px;
}

#m-article ul, #m-article ol {
    margin: 10px 10px 20px 30px;
}

#m-article li {
    margin: 0;
    list-style-position: outside;
}

#m-article img.fleft, #m-art-list img.fleft {
    float: left;
    margin: 0 10px 5px 0px;
}

#m-article img.fright, #m-art-list img.fright {
    float: right;
    margin: 0 0 5px 10px;
}

#m-art-list p {
  clear: both;
}

#m-article #thumb {
    margin: 5px 20px 10px 0px;	
    float: left;
}

#m-article h1,
#m-article h2,
#m-article h3,
#m-article h4,
#m-article h5,
#m-article h6 {
    color: #b04086;
    margin: 0;
    padding:  0 0 10px 0;
}

#m-article h2 {
	margin-top: 0;
	padding-top: 0;
}

#m-article p {
    text-align: justify;
    margin: 0;
    padding:  0 0 10px 0;
    line-height: 1.3em;
}

#m-article p.podpis {
    font-size: 11px;
    color: #999;
    text-align: right;
}

#m-article p.left {
    text-align: left;
}

#m-article p.right {
    text-align: right;
}

#m-article p.center {
    text-align: center;
}

#m-article div.hr hr {
    display: none;
}

#m-article div.hr {
    display: block;
    height: 1px;
    background: url(../gfx/hr.gif) repeat-x;
}

/* @end */

#m-feeds {
    text-align: right;
    padding-top: 10px;
}

#m-feeds img {
margin-right: 3px;
}

#font-change p {
	font-weight: normal;
	text-align: right;
}

#font-change a, #font-change a:hover {
	color: #619ddb;
	text-decoration: none;
	margin-left: 5px;
}

#m-central #font-small { font-size: 12px; }
#m-central #font-normal { font-size: 15px; }
#m-central #font-big { font-size: 18px; }

#m-central .font-small { font-size: 12px; }
#m-central .font-normal { font-size: 15px; }
#m-central .font-big { font-size: 18px; }

#m-central .font-small h1,#m-central .font-small h2 { font-size: 20px; }
#m-central .font-small h3,#m-central .font-small h4,#m-central .font-small h5,#m-central .font-small h6 { font-size: 12px; }

#m-central .font-normal h1,#m-central .font-normal h2 { font-size: 23px; }
#m-central .font-normal h3,#m-central .font-normal h4,#m-central .font-normal h5,#m-central .font-normal h6 { font-size: 15px; }

#m-central .font-big h1,#m-central .font-big h2 { font-size: 26px; }
#m-central .font-big h3,#m-central .font-big h4,#m-central .font-big h5,#m-central .font-big h6 { font-size: 18px; }

#m-article-list {
	border-right: 1px solid #d99fc3;
	border-bottom: 1px solid #d99fc3;
	border-left: 1px solid #d99fc3;
}

#m-article-list ul {
	padding: 0;
	margin: 10px 10px 20px 26px;
	list-style-position: outside;
}

#m-article-list li {
	list-style-type: square;
	margin-bottom: 10px;
	color: #b04086;
}

#m-article-list-nav ul, #m-article-list-nav li {
	margin: 0;
	padding: 0;
	line-height: 30px;
}

#m-article-list-nav {
    background-color: #d99fc3;
    text-align: center;
}

#m-article-list-nav li {
	display: inline;
}

#m-article-list-nav a {
	color: #143a72;
}

#m-article-list-nav a:hover {
	color: #b04086;
}

#m-konkurs {
	border: 1px solid #c25898;
	margin-top: 10px;
}

#m-konkurs img {
	margin: 15px;
	float: left;
}

#m-konkurs p {
	margin: 15px 15px 15px 0;
}

#m-konkurs a {
	color: #5a9ad8;
}

#m-konkurs h2 {
	display: block;
	width: 100%;
	height: 30px;
	line-height: 30px;
	color: white;
	background: url(../gfx/m-konkurs-bg.jpg) repeat-x;
	margin: 0;
	padding: 0;
	text-indent: 15px;
}

#ads-billboard {
    clear: both;
    padding-top: 15px;
}

#ads-box1, #ads-box2 {
	margin-top: 15px;
	margin-bottom: 15px;
}

#m-expert, #m-newsletter {
	width: 332px;
	height: 155px;
	margin-bottom: 15px;
    color: white;
}

#m-expert p, #m-newsletter p {
	margin: 5px 0 0 20px;
}

#m-expert h2, #m-newsletter h2 {
	color: white;
	padding-top: 10px;
	text-indent: 20px;
}

#m-expert div {
	width: 200px;
}

#m-expert a {
	display: block;
	border: 1px solid white;
	color: white;
	background: #005339;
	text-align: center;
	width: 115px;
	line-height: 18px;
	text-decoration: none;
	margin-top: 10px;
}
	
#m-newsletter div {
	width: 210px;
	margin-left: 110px;
}

#m-expert {
	background: url(../gfx/m-expert-bg.jpg) no-repeat;
}

#m-newsletter {
	background: url(../gfx/m-newsletter-bg.jpg) no-repeat;
}

#m-newsletter label input {
  margin-left: 0;
  padding-left: 0;
}

#m-polecamy {
   margin-bottom: 10px;
}

#m-polecamy div {
	padding-top: 15px;
}

#m-polecamy div div {
	margin: 0;
	width: 75px;
	height: 75px;
	float: left;
	margin-right: 15px;
	padding:0;
}

#m-polecamy p {
	margin-bottom: 5px;
}

#m-polecamy h2 {
	margin-left: 0px;
}

#m-polecamy h2 span, #m-polecamy h3 span {
    display: none;
}


/* @end */

/* @group Partners */

#f-partners {
	width: 900px;
	margin: 0 auto 10px auto;
	text-align: left;
	clear: both;
}

#f-partners ul {
	margin: 10px 0 0 0;
	padding: 0;
}

#f-partners li {
	float: left;
	list-style-type: none;
	height: 80px;
	display: table-cell;
	line-height: 80px;
	text-align: center;
	margin: 0 15px 0 15px;
}

#f-partners li span {
    display: inline-block;
    width: 1px;
    margin: 0 0 0 -1px;
    padding: 0;
    height: 100%;
    vertical-align: middle;
}

#f-partners li img {
	vertical-align: middle;
	margin:0;
	padding:0;
}

/* @end */

/* @group Footer Navigation */

#footer-nav {
	padding: 10px 0px 10px 0px;
	color: white;
	background: #002957;
	clear: both;
}

#footer-nav h2 {
	display: none;
}

#footer-nav ul {
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: center;
	font-size: 11px;
}

#footer-nav li {
	display: inline;
	margin: 0 0 0 5px;
	line-height: 18px;
}

#footer-nav li span {
	margin-left: 5px;
	color: red;
}

#footer-nav li a {
	color: white;
	text-decoration: none;
	font-weight: normal;
}

#footer-nav li a:hover {
	color: #619ddb;
	text-decoration: underline;
}

/* @end */

/* @group Copyrights */

#copyrights {
	width: 100%;
	color: #30383b;
	text-align: center;
	padding: 5px 0px 5px 0px;
    border-top: 1px solid white;
	font-size: 10px;
	background-color: #9bbfe3;
}

#copyrights h2 {
	display: none;
}

#copyrights a {
	color: white;
	text-decoration: none;
}

#copyrights a:hover {
	text-decoration: underline;
}

/* @end */

/* @end */

