/** basic styles **/
* {
    font-family: arial, verdana, sans-serif;
}

p, li, fieldset, td, th, dl, dl {
    font-size: 12px;
    color: #333;
}

li.separator-below {
    padding-bottom: 1em;
}

td {
    padding: 1px 0;
}

img {
    border: none;
}

input, select {
    color: #161622;
}

input:disabled {
    color: #c0c0c0;
}


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


a:hover {
	text-decoration: underline;
}


h3 {
	font-weight: bold;
}

/** messages **/

#messages {
	margin: 10px;
	background-color: #fff;
	padding: 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;	
}

#messages p {
    background-repeat: no-repeat;
    background-position: 0 0;
    padding-left: 22px;
    height: 18px;
    color: #000;
    font-weight: bold;
}

#messages .info {
    background-image: url(../img/icons/exclamation.png);
}

#messages .warn {
    background-image: url(../img/icons/exclamation.png);
}

#messages .crit {
    background-image: url(../img/icons/exclamation.png);
}

/** forms **/

fieldset {
    padding: 0;
    margin: 0 0 10px;
    border: none;
}

fieldset * {
    vertical-align: top;
}

fieldset:last-child {
    margin-bottom: 10px;
}

button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.form-large legend {
    padding: 4px 0;
    font-weight: bold;
}

.form-large fieldset ul {
    padding-left: 0;
    list-style: none;
}

.form-large fieldset li {
	padding: 2px 0;
/*     margin-bottom: 8px; */
    width: 300px;
}

.form-large fieldset li:last-child {
    margin-bottom: 0px;
}

.form-large label {
    display: block;
    float: left;
    font-size: 89%;
    color: #666;
}

.form-large input {
    width: 294px;
    line-height: 20px;
	 border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border: solid 1px #9a9a9a;
}

.form-large input[type=checkbox] {
	width: auto;
}

.form-large .error-message {
    color: red;
	 position: relative;
	 left: 0.5em;
    font-size: 89%;
}

.form-large .error-message:before {
    content: ' ▼ ';
}

.form-inline {
    display: inline;
}

.form-large button,
.form-submit button,
.cart-sheet button,
.form-inline button,
.cart-service button,
a.button,
a.pager_link,
span.pager_curpage {
	font-family: verdana;
	padding: 0 8px;
	margin: 4px 0 0 0;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border: solid 1px #9a9a9a;
	background: transparent url('../lay/button.bg.png') repeat-x;
	color: black;
	font-weight: bold;
	font-size: 12px;
	line-height: 21px;
}

.form-large button:hover,
.form-submit button:hover,
.cart-sheet button:hover,
.form-inline button:hover,
.cart-service button:hover,
a.button:hover,
a.pager_link:hover,
span.pager_curpage:hover {
	background: transparent url('../lay/button.bg.png') repeat-x 0 -28px;
}


span.pager_curpage {
    color: white;
	background: none;
	background-color: #666;
}

.form-large .form-submit {
    margin: 10px 0;
}

.login-form {
    width: 50%;
    float: left;
}

.form-large .label-inline {
    display: inline;
    float: none;
    position: relative;
    top: 3px;
}

/** cart **/

.cart-sheet {
    width: 100%;
    margin-bottom: 10px;
}

.cart-sheet form {
    display: inline;
}

.cart-sheet th {
	font-weight: bold;
	padding: 4px 0;
}

.cart-sheet th:first-child {
    text-align: left;
}

.cart-sheet th:last-child {
    text-align: right;
}

.cart-sheet .numeric {
	text-align: right;
}

.cart-sheet td {
	padding: 4px 0;
	
}

.cart-sheet tfoot td {
	padding-top: 4px;
	border-top: dotted 1px #999;
    font-weight: bold;
}

.payment-type-chooser > form > table {
    width: 100%;
}

.payment-type-chooser > form > table > tbody > tr > td {
    background-color: white;
}

.payment-type-chooser td {
    color: black;
}


ul#billto-fields {
	margin-top: 8px;
}



/** newspapers **/

.newspaper,
.issue {
    overflow: auto;
    margin-bottom: 20px;
    padding: 10px;
}

.logo,
.cover {
    float: left;
    border: none;
}

.newspaper .info,
.newspaper h4,
.issue > p,
.issue h4,
.cart-service {
    margin-top: 0;
    margin-left: 160px;
    margin-bottom: 10px;
}

.cover {
	border: solid 1px #999;
	background: #fff;
	padding: 4px;
}

.cart-service {
/*     width: 450px; */
}

.cart-service label.next_issue {
    line-height: 20px;
}

.cart-service fieldset {
    border-bottom: dotted 1px silver;
    padding-bottom: 5px;
    padding-top: 2px;
}

.cart-service button {
    float: right;
    height: 31px;
}

.cart-service .button {
    float: right;
}

.cart-service .name {
    font-weight: bold;
    width: 280px;
    display: block;
    float: left;
}

.cart-service .name.one-line {
    position: relative;
    top: 7px;
}

.newspaper h4 a,
.issue h4 a {
    font-size: 14px;
}

/** small cart **/
#cart .operations a {
	color: #fff;
}

.layAuth .operations li {
	list-style-type: none;
	float: left;
	margin: 4px 8px;
}

.layAuth .operations li a.button {
	margin-left: 36px;
	clear: left;
	margin-top: 5px;
}

div#lay > div.layHead div.layAuth ul li a {
	font-size: 11px;
	font-weight: bold;
}

div#lay > div.layHead div.layAuth form fieldset a span	{
	line-height: 34px;
}

#cart .cart-content {
	width: 240px;
	height: 56px;
	overflow-y: auto;
}

#cart .cart-content li {
	font-size: 11px;
	padding-bottom: 3px;
	color: #fff;
}

.cart-view {
    float: left;
    font-weight: bold;
    line-height: 28px;
    margin-top: 5px;
}

.cart-order {
    float: right;
    font-weight: bold;
    margin: 1px 4px 0 0;
}

di dd {
    margin-bottom: 10px;
}

di:last-child dd {
    margin-bottom: 0;
}

dd {
    font-style: italic;
}

.frontend-admin {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: red;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.frontend-admin ul {
    padding: 10px 10px 10px 20px;
    margin: 0;
}

.frontend-admin li {
    color: white;
}

.frontend-admin a {
    color: white;
    font-weight: bold;
}

.frontend-admin a:hover {
    text-decoration: underline;
}

.issues-navigation {
    font-size: 0.8em;
}

.issues-navigation a {
    margin-right: 0.5em;
}

.issue-extra-caption {
    font-weight: bold;
}

.issue-extra-info:before {
    content: '(';
}

.issue-extra-info:after {
    content: ')';
}



.issue h4,
.issue h4 a {
font-family: trebuchet, sans-serif;
color: #000;
font-weight: bold;
}


.issue label.name,
.issue-extra-caption {
font-family: trebuchet, sans-serif;

}


.issue p.caption {
	font-size: 12px;
	line-height: 15px;
}



.pagination {
	text-align: center;
}

/* frontpage */


.featured .row {
	clear: left;
/* 	overflow: hidden; */
}

.featured .col-left .issue {
	width: 445px;
	float: left;
}

.featured .col-right .issue {
	width: 445px;
/* 	margin-left: 30px; */
}


.featured .issue fieldset {
	width: 260px;
/* 	margin-top: -7px; */
	margin-bottom: 0;
}

.featured .issue .cart-service fieldset button,
.featured .issue .cart-service fieldset .button {
	float: none;
	margin-top: 12px;
	clear: left;
}

.featured .issues-navigation {
	margin-top: -5px;
}




/* fix pre front.css */
.content {
	padding: 8px 12px;
}

.layHead h1 a {
	text-indent: -99999px;
}

.layBasket h3 a {
	color: #fff;
	text-decoration: none;
}

.layBasket p {
	color: #fff;
	font-size: 11px;
}

.empty p {
	text-indent: 46px;
	margin: 0;
	
}

div#lay > div.layHead div.layAuth h4 {
	color: #fff;
	margin-top: -8px;
	margin-right: 12px;
	margin-bottom: 0px;
	text-align: center;
	font-weight: normal;
	font-size: 10px;
	line-height: 14px;
	width: 205px;
	height: 14px;
	overflow: hidden;
}

.menuSearch form fieldset button {
	position: absolute;
	margin-left: -172px;
	margin-top: -2px;
}

#skin {
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

#skin ul li a {
	line-height: 1.2em;
}

#skin ul li a:hover {
	font-weight: bold;
}

#breadcrumbs h3 {
	font-weight: bold;
}

#breadcrumbs p {
	padding: 4px 10px 0 10px;
	font-size: 11px;
	color: #888;
}

#breadcrumbs p a {
	text-decoration: none;
	color: #888;
}

#breadcrumbs p a:hover {
	text-decoration: underline;
	color: #000;
}

.clear {
border: solid 1px transparent;
}



/* kategorie */

.layMenuCategoriesWrap ul {
	margin: 0 18px;
}

div.layMenuCategoriesWrap ul.categories-0 {
	position: absolute;
	margin-left: 20px;
	margin-top: 8px;
}

div.layMenuCategoriesWrap ul.categories-1 {
	position: absolute;
	margin-left: 20px;
	margin-top: 56px;
}


div.layMenuCategoriesWrap ul.categories-2 {
	margin-left: 240px;
}

div.layMenuCategoriesWrap ul.categories-3 {
	position: absolute;
	margin-left: 460px;
	width: 480px;
	float: right;
}

div.layMenuCategoriesWrap ul.categories-3 li {
	width: 240px;
	float: left;
}


/* story */

.story-abstract,
.story-article {
	line-height: 1.3em;
}

.story-article p {
	margin-bottom: 1em;
}

.story-abstract ol,
.story-article ol {
	margin-left: 2em;
}

.story-abstract ol li,
.story-article ol li {
	list-style-type: decimal;
	margin-bottom: 0.5em;
}

.story-abstract h3,
.story-article h3 {
	margin-bottom: 0.5em;
}

/* guziki */
.cart-service button span {
	position: relative;
	display: inline;
	white-space: nowrap;
	margin-top: 0px;
	margin-left: 0px;
}

.cart-service button img, 
.button img {
	display: inline-table;
	vertical-align: middle;
	padding-bottom: 3px;
}

button span { 
	position: relative;
	display: block; 
	white-space: nowrap;	
}

a.button, a.button span {
	border: none;
	display: inline-block;
	position: relative;
	text-decoration: none;
}


button.button, a.button { 
	font-family: verdana;
	padding: 2px 8px;
	margin: 4px 0 0 0;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border: solid 1px #9a9a9a;
	background: transparent url('../lay/button.bg.png') repeat-x;
	color: black;
	font-weight: bold;
	font-size: 12px;
	line-height: 20px;
	height: 20px;
}

button.button:hover, a.button:hover {
	background-position: right -28px; 
}
	
button.button:hover span, a.button:hover span {
	background-position: 0 -28px;
}






/* stare guziki i formularze w naglowku */
.layHead button span { 
	position: relative;
	display: block; 
	white-space: nowrap;	
}

.layHead a.button, .layHead a.button span {
	border: none;
	display: inline-block;
	position: relative;
	height: 28px;
	line-height: 13px;
	text-decoration: none;
}

.layHead button.button, .layHead a.button { 
	padding: 0 9px 0 0; 
	margin: 4px 0; 
	font-family: verdana;
	font-size: 12px; 
	text-align: center; 
	background: transparent url('../lay/button.end.png') no-repeat right -0px; 
	border: none;
	line-height: 1;
	height: 28px;
}
	
.layHead button.button span, .layHead a.button span {
	padding: 7px 0px 0px 11px; 
	height: 21px; 
	background: transparent url('../lay/button.start.png') no-repeat left top; 
	color: #000000;
	font-weight: bold;
}

.layHead a.button span {
	padding-right: 2px;
	margin-left: 2px;
}
	
.layHead button.button:hover, .layHead a.button:hover {
	background-position: right -28px; 
}
	
.layHead button.button:hover span, .layHead a.button:hover span {
	background-position: 0 -28px;
}

.layHead .form-large legend {
    padding: 0;
}

.layHead .form-large fieldset li:last-child {
    margin-bottom: 0px;
}

.layHead .form-large input {
    width: 294px;
	line-height: 1;
	border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border: none;
}
