#main h1 {color: black;}

#main #subscribe.nopad {
	padding-top: 0px;
}

#main .timespan, .js .pad, #main .price {
	display: inline-block;
	width: 50px;
}

#main .price {
	text-align: right;
}

.js .pad {
	width: 660px;
	border-bottom: 1px dotted gray;
}

#main table {
	width: 100%;
	margin: auto;
	border-collapse: collaspe;
	margin-bottom: 1em;
}


#main td, #main th {
	text-align: left;
	padding: 5px;
}

#main th {
	border-bottom: 1px solid silver;
}

#main tr.total td {
	border-top: 1px dotted silver;	
}

#main .tprice {
	text-align: right;
}

#main .discount {
	background: #EFEFEF;
}

#main .message {
	font-size: 18px;
	line-height: 100px;
	text-align: center;
}

#main #address_country_code {
	width: 50px; 
	text-align: center; 
	display: inline;
}

#main #debug {
	padding: 0px;
	padding-top: 15px;
	padding-bottom: 15px;
	line-height: 1;
	background: #FCC;
	color: #300;
	border-top: 1px solid #300;
	font-size: 12px;
	text-align: center;
	position: static;
	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px;
	width: 100%;
	-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
	-moz-box-shadow: 0px 0px 5px #000;
	-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
	box-shadow: 0px 0px 5px #000;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
}

#main #debug p {
	margin: 0px;
	padding: 0px;
	margin: auto;
	padding-left: 20px;
	padding-right: 20px;
}

#main table#header {
	border-spacing: 0px !important;
	border-collapse: collaspe !important;
	width: 770px;
	margin: 0px;
	margin-top: 1px;
	position: relative;
}

#main table#header td * {
	text-align: left;
}

#main table#header a {
	border: 0px;
}
#main table#header img {
	display: inline;
	float: left;
}

#main table#header td div img {
	float: none !important;
	margin: auto !important;
	display: block !important;
}

#main table#header td, table#header th {
	vertical-align: middle !important;
	text-align: right !important;
	padding: 0px !important;
	margin: 0px !important;
}

#main table#header th {
	border-bottom: 0px;
}


#main form div {
	text-align: right;
}

#main .img img {
	display: inline !important;
	float: none !important;
	padding: 0px !important;
}

#main ul.auto li {
	overflow: hidden;
	display: block !important;
	list-style-type: none !important;
	clear: both;
}

#main ul.auto li * {
	float: left !important;
	margin-right: 5px;
}

#main .bad {
	text-align: center !important;
	font-size: 18px !important;
	color: red !important;
	padding: 10px !important;
}


form {
	padding: .5em;
	width: auto;
}

form, form * {
	font-family: inherit;
	font-size: 1em;
}

.required {
	font-weight: bold;
}

span.required {
	float: left;
	position: relative;
	clip: auto;
	overflow: hidden;
	width: 1px;
	height: 1px;
	font-size: 10px;
	line-height: 20px;
}

form div {
	text-align: right;
}

form fieldset {
	border: 1px solid #7C7C7C;
	margin-bottom: .75em;
	padding: 1em;
}

form legend {
	padding-left: 1em;
	padding-right: 1em;
}

form div > input, button {
	border: 1px solid #C3C3C3;
	border-bottom-color: #7C7C7C;
	border-top-color: #DDDDDD;
	background-color: #D0D0D0;
	margin-left: .5em;
	background-image: url(../images/fr-forms-bg-top-button.png);
	background-repeat: repeat-x;
	background-position: top;
	background-image: url(../images/fr-forms-bg-top-button.png), url(../images/fr-forms-bg-bottom-button.png);
	background-repeat: repeat-x, repeat-x;
	background-position: top, bottom;
}

form div > label {
	padding: 0px;
	margin-bottom: .75em;
}

form div > label, 
form div > label > input, 
form div > label > select, 
form div > label > textarea {
	font-family: inherit;
	font-size: 1em;
	display: block;
	width: 100%;
	text-align: left;
	padding: 0px;
	margin-top: .2em;
}

form div > label > input,  
form div > label > textarea {
	border: 0px;
	outline: 1px solid #7C7C7C;
	background: #FAFAFA;
	color: #666;
}

form div > label > input:focus, 
form div > label > select:focus, 
form div > label > textarea:focus {
	outline: 1px solid #ACACAC;
	background: #FFF;
	color: #000;
}

form div > label > select {
	border: 1px solid #7C7C7C;
	height: 1.8em;
}

form div > label > input, 
form div > label > textarea,
form div > label > input:focus, 
form div > label > textarea:focus {
	padding-top: .25em;
	padding-bottom: .25em;
	text-indent: .25em;
	height: 1.2em;
}

form div > label > textarea,
form div > label > textarea:focus,
form div > label > select[multiple] {
	height: 6em;
}

form div > label > input[type=radio], 
form div > label > input[type=checkbox] {
	display: inline;
	width: auto;
	padding: 0px;
	margin: 0px;
	outline: 0px;
	height: auto;
}

form div > label > input[type=hidden] {
	display: none;
}

form div.related {
	overflow: hidden;
	padding-left: 1px;
	padding-right: 1px;
}

form div.related:nth-child(1n+0) {
	overflow: visible;
	display: table;
	width: 100%;
	margin-bottom: .75em;
}

form div.related-2 > label {
	float: left;
	width: 48%;
	margin-right: 1%;
	margin-left: 1%;
}

form div.related-2 > label:first-child {
	margin-left: 0em;
	margin-right: 2%;
}

form div.related-2 > label:last-child {
	margin-right: 0em;
	margin-left: 2%;
}

form div.related-2 > label:nth-child(1n+0) {
	float: none;
	display: table-cell;
	width: 48%;
}

form div.related-2 > label:nth-child(1) {
	padding-right: 1%;
}

form div.related-2 > label:nth-child(2) {
	padding-left: 1%;
}

form div.related-3 > label {
	float: left;
	width: 31%;
	margin-right: 1%;
	margin-left: 1%;
}

form div.related-3 > label:first-child {
	margin-left: 0em;
	margin-right: 2.5%;
}

form div.related-3 > label:last-child {
	margin-right: 0em;
	margin-left: 2.5%;
}

form div.related-3 > label:nth-child(1n+0) {
	float: none;
	display: table-cell;
	width: 33%;
}

form div.related-3 > label:nth-child(2) {
	padding-left: 1.5%;
	padding-right: 1.5%;
}

form .calbutton {
	width: 1.7em;
	height: 1.7em;
	position: absolute;
	bottom: 0px;
	right: 0px;
	background: transparent url(../images/fr-forms-calendar-icon.png) no-repeat center;
}

form .integer:focus, form .decimal:focus, form .money:focus {
	background: transparent url('../images/fr-forms-numbers-toggle.png') no-repeat right;
}

#fr-date-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: transparent url(../images/fr-forms-calendar-overlay.png);
	background: rgba(0,0,0,.8);
	z-index: 999;
}

#fr-date-picker {
	z-index: 1000;
	position: absolute;
	width: 499px;
	height: 464px;
	top: 50%;
	left: 50%;
	margin-top: -250px;
	margin-left: -232px;
	border: 0px;
	background: #4c4d4d;
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	-opera-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #999;
}

#fr-date-picker h1 {
	text-align: center;
	font-size: 1em;
	font-weight: bold;
	padding: .5em;
	background: #be2529;
	color: white;
	margin: 0px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
	border: 1px solid #743e3f;
	position: relative;
}

#fr-date-picker h1 span {
	padding-left: .5em;
	padding-right: .5em;
	cursor: pointer;
}


#fr-date-picker-prev-month {
	margin: auto;
	right: auto;
	left: 2em;
	position: absolute;
}
#fr-date-picker-prev-year {
	margin: auto;
	right: auto;	
	left: 0em;
	position: absolute;
}

#fr-date-picker-next-month {
	margin: auto;
	left: auto;
	right: 2em;
	position: absolute;
}
#fr-date-picker-next-year {
	margin: auto;
	left: auto;
	right: 0em;
	position: absolute;
}

#fr-date-picker ol {
	margin: 0px;
	padding: 1px;
	overflow: hidden;
	list-style-type: none;
}

#fr-date-picker ol li {
	float: left;
	width: 70px;
	height: 70px;
	margin-right: 1px;
	margin-bottom: 1px;
	background: #EEE;
	text-align: center;
	line-height: 70px;
	cursor: pointer;
}
#fr-date-picker ol li.fr-date-picker-current {
	background: #AAA;
}

#fr-date-picker ol li:hover {
	background: #FFF;
}

#fr-date-picker ol li:empty {
	background: transparent;
	outline: 1px solid #4c4d4d;
	cursor: default;
}
