/* - - - - - - - - - - - - - - - - - - - - -

Title : Televila Styles

- - - - - - - - - - - - - - - - - - - - - */


/* ------------------------------------------------------------

	css

------------------------------------------------------------ */

*{
	margin: 0;
	padding: 0;
}
body{
	background: url("images/bg.png") repeat-x;
	color: #333;
	font: 12px/20px Arial, Helvetica, Geneva, sans-serif ;
	text-align: center;
	margin-bottom: 30px;
}

/* links  */

a{
	color: #FEC20F;
}
a:hover{
	text-decoration: none;
}

/* headings */

h1 {font-size:2em}  /* displayed at 24px */
h2 {font-size:1.5em}  /* displayed at 18px */
h3 {font-size:1.25em}  /* displayed at 15px */
h4 {font-size:1em}  /* displayed at 12px */

/* tables & forms */

input, select, th, td {font-size:1em}

/* ------------------------------------------------------------

	page structure

------------------------------------------------------------ */

#wrap{
	margin: 0 auto;
	text-align: left;
	width: 770px;
}
#header{
	position: relative;
	width: 770px;
	height: 105px;
	z-index: 1;
}
#components{
	overflow: hidden;
	background: url("images/comp.png") no-repeat;
	height: 62px;
	position: relative;
}
#content{
	background: url("images/content_bg.png") repeat-y;
	height: 1%;
}
#main-content{
	float: left;
	width: 580px;
	padding-left: 10px;
}
#primary-content{
	float: right;
	width: 410px;
}
#secondary-content{
	float: left;
	width: 165px;
	font-size: 11px;
	line-height: 16px;
}
#thirdiary-content{
	float: right;
	width: 165px;
	padding-right: 10px;
	font-size: 11px;	
}
#footer{
	position: relative;
	background: url("images/footer.png") no-repeat;
	height: 46px;
}

/* ------------------------------------------------------------

	header

------------------------------------------------------------ */

#header h1{
	text-indent: -10000px;
	background: url("images/logo.png") no-repeat;
	width: 245px;
	height: 140px;
	position: absolute;
	top: 0;
	left: 25px;
	z-index: 1;
}
* html #header h1{
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://televila.pt/css/images/logo.png", sizingMethod="crop"); 
}
#header h2{
	text-indent: -10000px;
	background: url("images/phone.png") no-repeat;
	width: 147px;
	height: 64px;
	position: absolute;
	top: 35px;
	right: 25px;
}
* html #header h2{
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://televila.pt/css/images/phone.png", sizingMethod="crop"); 
}

/* login */ 	

#login-box{
	position: absolute;
	background: url("images/box.png") no-repeat; 
	top: 20px; 
	right: 5px; 
	padding: 10px;
	color: #fff;
	width: 180px;
	z-index: 100 !important;
	padding: 17px 20px 30px 23px;
}
* html #login-box{
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://televila.pt/css/images/box.png", sizingMethod="crop"); 
}

#login-box input.text{
	border: 1px solid #333;
	width: 95%;
	margin: 3px 0;
	}	
#login-box input.button{
	margin-top: 5px;
	cursor: pointer;
	}
#login-box a{
	color: #FEC20F !important;
	font-size: 11px;
}

/* --- */

#top-menu{
	position: absolute;
	top: 0;
	right: 20px;
	font-size: 11px;
}
#top-menu li{
	display: inline;
}

/* ------------------------------------------------------------

	components

------------------------------------------------------------ */

#search{
	position: absolute;
	right: 80px;
	top: 5px;
	color: #FFF;
	font-weight: bold;
}
#search .search-img{
	position: absolute;
	top: 1px;
	right: -25px;
}
#search .text{
	width: 200px;
}

/* --- */

#navigation{
	position: absolute;
	top: 30px;
	left: 90px;
	font-weight: bold;
	font-size: 13px;
}
#navigation li{
	float: left;
	display: block;	
}
#navigation li a{
	text-decoration: none;
	color: #3D3937;
	padding: 3px 12px 3px 12px;
	border-left: 1px solid #999;
	display: block;	
}
#navigation li a.last-child{
	border-right: 1px solid #999;
}
#navigation li a:hover{
	color: #FFF;
	background: #ACACAC;
}
#navigation li a.active{
	color: #FEC20F;
	border-bottom: 1px solid #FEC20F;
	background: #3D3937;
	padding: 3px 12px 2px 12px;
}
#navigation li a.last-child{
	border-right: 1px solid #999;
}

/* ------------------------------------------------------------

	primary-content

------------------------------------------------------------ */

/* pages */

#pages{
	padding: 5px 10px;
}
#pages h2{
	font-size: 1.8em;
	border-bottom: 1px solid #CCC;
	padding-bottom: 10px;
	margin-top: 10px;
	letter-spacing: -1px;
	font-weight: normal;	
}
#pages h3{
	border-bottom: 1px solid #EEE;
	padding: 0 0 10px 0;
	margin-bottom: 0;
	font-weight: normal;	
}
#pages .meta{
	margin: 10px 0 10px 0;
}
#pages .img{
	float: left;
	padding: 3px;
	border: 1px solid #EEE;
	margin: 0 5px 0 0;
}
#pages img.right{
	float: right;
	padding: 3px;
	border: 1px solid #EEE;
	margin: 0 0 0 5px;
}

/* lists */

#primary-content dl dt{
	font-weight: bold;
}
#primary-content dl dd{
	margin-left: 20px;
}
#primary-content dt.indent, #primary-content dd.indent{margin-left: 40px;}

#primary-content img.left{
	float: left;
	padding: 3px;
	border: 1px solid #EEE;
	margin: 0 5px 0 0;
}
#primary-content img.right{
	float: right;
	padding: 3px;
	border: 1px solid #EEE;
	margin: 0 0 0 5px;
}
#primary-content p{ margin:1em 0; }
#primary-content ul, #primary-content ol{ 
	margin: 0 0 10px 20px;
	font-size: 11px;
}

/* --- */

.wrap-prod{
	background: url("images/prod_wrap.png") no-repeat;
	padding: 3px;
	height: 1%;
}
.wrap-prod h3 {
	padding: 10px;
	color: #999;
	font-size: 16px;
}
.wrap-prod h3 a{
	color: #333;
}

.wrap-prod h4 {
	padding: 10px;
	color: #999;
}
.prod{
	padding: 10px;
	float: left;
	background: url("images/prod.png") no-repeat;
	width: 113px;
	height: 184px;
	margin-left: 1px;
	text-align: center;
}
.prod h4{
	line-height: 14px;
	padding: 10px 0;
}
.prod h4 a{
	color: #333;
}

/* --- */

.prod-img{
	background: #FFF;
	border: 1px solid #DDD;	
	height: 80px;
	width: 100%;
	overflow: hidden;
}
	
/* begin thumbs */

.item-thumb{
	height: 80px;
	width: 100%;
	display: table;
	overflow: hidden;
}	
.item-thumb a{
	display: table-cell;
	vertical-align: middle;
	margin: 0px auto;
	text-align: center;
	line-height: 80px;
}

/* end thumbs */	

/* details */

.details .product-image{
	border: 1px solid #CCC;
	background: #FFF;
	text-align: center;
	margin-top: 10px;
	overflow: hidden;
}
.details .price-details{
	font-size: 18px;
	padding: 10px 10px;
	margin: 15px 0;
	border-top: 1px solid #EEE;	
	border-bottom: 1px solid #EEE;
	background: #FAFAFA;
	position: relative;
}
.details .price-details .add-cart{
	font-size: 11px !important;
	position: absolute;
	right: 5px;
	top: 10px;
}
.details .description{}
.details h3{
	margin: 15px 0 5px 0 !important;
	padding: 0 0 5px 0 !important;
}

/* item pics */

#primary-content .item-pics{
	overflow: hidden;
	margin: 10px 0 10px 0;
	position: relative;
	text-align: center;
	}
#primary-content .item-pics li {
	list-style: none;	
	float: left;
	padding: 0px;
	background: none;
	border: none;
	margin: 3px;
}
.item-pics li span {
	margin: 1px;
	width: 110px;
	height: 80px;
	display: block;
	background: white;
}
#primary-content .item-pics li span {
	width: 110px;
	height: 80px;
	background: white;	
	display: table;
	_position: relative;
	overflow: hidden;
	border-width: 1px;
	border-color: #ddd;
	border-style: solid;
}
#primary-content .item-pics li span a {
	_position: absolute;
	_top: 50%;
	display: table-cell;
	vertical-align: middle;
	margin: 0px auto;
	text-align: center;
}		
#primary-content .item-pics li span a img {
	_position: relative;
	_top: -50%;
	_left: -50%;
}				

/* cart */

table#carrinho th{
	padding: 3px 0;
	border-bottom: 1px solid;
}
table#carrinho input.text{
	width: 40px;
}
table#carrinho td {
	padding: 5px 0;
	border-bottom: 1px solid #CCC;
	line-height: 20px;
}
table#carrinho td.no-border {
	border-bottom: 0px;
}
table#carrinho td img{
	width: 40px;
	float: left;
	margin-right: 5px;
	border: 1px solid #000;
}
table#carrinho td#carrinho-total {
	border: 0px;
	font-size: 1.2em;
}

/* encomendas list */

table#encomendas-list {
	margin: 10px 0 20px 0;
	width: 100%;	
}
table#encomendas-list th{
	padding: 8px 5px;
	border-top: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	background: #EEE;
}
table#encomendas-list td{
	padding: 8px 5px;
	border-bottom: 1px solid #DDD;
}

/* address details */	

dl.addressDetails {
	background: #fafafa;
	padding: 10px;
	border-top: 1px solid #d3d3d3;
	margin-top: 10px;
}
dl.addressDetails dt {
	overflow: hidden; 
	padding: 3px 0;
}
dl.addressDetails dt strong{
	display: block;
	width: 85px;
	text-align: right;
	float: left;
	padding-right: 10px;
}
.actions{
	padding: 10px 5px;
	margin: 15px 0;
	border-top: 1px solid #EEE;	
	border-bottom: 1px solid #EEE;
	background: #FAFAFA;
}

/* pagination links */

.pagination_links{
	text-align: center;
	font-size: 1.2em;
	}

/* forms */

#primary-content .details{
	margin-bottom: 20px;
}
div.errors { margin: 10px 0 10px 0; padding: 0 10px; border: #FC6 1px solid; background-color: #FFC; }
div.form-container p.required-error {color: #C00; }
div.form-container p.note { margin-left: 170px; font-size: 90%; color: #333; }
div.form-container fieldset { margin: 10px 0; padding: 10px 10px; border: #DDD 1px solid; }
div.form-container legend { font-weight: bold; color: #666; }
div.form-container .legend em { color: #C00; font-weight:bold }
div.form-container label { margin-right: 10px; padding-right: 10px; width: 90px; display: block; float: left; text-align: right; position: relative; }
div.form-container label em, 
div.form-container span.label em { position: absolute; right: 0; font-size: 120%; font-style: normal; color: #C00; }
div.form-container input:focus,
div.form-container input.error:focus, 
div.form-container textarea:focus {	background-color: #FFC; border-color: #FC6; }
div.form-container input.text, div.form-container textarea{
	padding: 3px;
	border: 1px solid #ddd;
	width: 220px;
	}	
select{
	width: 220px;
	}		


/* class's */

.banner{
	margin: 5px 0 10px 0;
	border: 1px solid #DDD;
	width: 405px;
	overflow: hidden;
}
.price{
	font-style: italic;
	font-size: 16px;
	line-height: 13px;
	margin-top: 10px;
	font-weight: bold;
}
.strike{
	font-size: 12px;
	text-decoration: line-through;
	color: red;
	font-weight: bold;
}
.wrap-rss{
	position: relative;
	overflow: hidden;
}
.wrap-rss span{
	position: absolute;
	right: 10px;
}

/* ------------------------------------------------------------

	secondary-content

------------------------------------------------------------ */

#secondary-content .sidebar-mod h3{
	padding: 5px 10px 15px 15px;
	text-align: left;
}

#secondary-content li{display: inline;}
#secondary-content ul li a{
	display: block;
	padding: 3px 0;
	border-bottom: 1px solid #EEE;
	text-decoration: none;
}
#secondary-content ul li a:hover{
	text-decoration: underline;
}

/* menu */

#menu a{
	color: #FEC20F !important;
}
#menu .active{
	background: transparent !important;
	color: #333 !important;
}

/* ------------------------------------------------------------

	thirdiary content

------------------------------------------------------------ */

.sidebar-mod{
	background: url("images/sidebar_mod.png") no-repeat;
	margin-bottom: 10px;
}
.sidebar-mod h3{
	background: url("images/sidebar_mod_top.png") no-repeat 3px bottom;
	padding: 5px 15px 15px 10px;
	color: #999;
	font-size: 12px;
	text-align: right;
}
.mod-elements{
	background: url("images/sidebar_mod_main.png") no-repeat bottom;
	margin-left: 3px;
	line-height: 14px;
	width: 137px;
	padding: 0 10px 20px 10px;
}
.mod-elements h4{
	padding: 0 0 10px 0;
	text-align: center;
}
.mod-elements .price{
	text-align: center;
}

/* --- */

.mod-elements dt{
	font-weight: bold;
	display: block;
}
.mod-elements dd a{
	color: #FEC20F;
	text-align: right;
	display: block;
	margin-bottom: 10px;
	font-size: 11px;
}

/* ------------------------------------------------------------

	footer

------------------------------------------------------------ */

#footer p{
	position: absolute;
	left: 40px;
	top: 12px;
}
#footer ul{
	position: absolute;
	right: 40px;
	top: 10px;
}
#footer ul li{
	display: inline;
}
#footer a{
	color: #333;
}

/* ------------------------------------------------------------

	misc.

------------------------------------------------------------ */

pre code{
	width: 390px;
	display: block;
	overflow: auto;
}
small{
	font-size: 11px;
	font-weight: normal;
}
a img {
	border: none;
	}
hr, .hide {
	display: none;
	}
.clear{
	clear:both;
}

.pagination_links {
	clear: both;
	overflow: hidden;
	padding: 10px 0;
}

/* ------------------------------------------------------------

	browser fixes

------------------------------------------------------------ */

.floatclear:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.floatclear {display: inline-table;}

/* Hides from IE-mac \*/
* html .floatclear {height: 1%;}
.floatclear {display: block;}
/* End hide from IE-mac */
/* clearing floats end here */

* html .prod{
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://tuxserver/televila/web/css/images/prod.png", sizingMethod="crop");
}

/* buttons */


a.button {
    background: transparent url('images/bg_button_a.gif') no-repeat scroll top right;
    color: #444;
    display: block;
    float: left;
    height: 24px;
    margin-right: 6px;
    padding-right: 18px; /* sliding doors padding */
    text-decoration: none; 
}
a.button span {
    background: transparent url('images/bg_button_span.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
}
a.button:active {
    background-position: bottom right;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}
a.button:active span {
    background-position: bottom left;
    padding: 6px 0 4px 18px; /* push text down 1px */
}
