/*
Theme Name:     cf_framework_skeleton
Theme URI:      http: //corefactor.pt/
Description:    Child theme to overide Cf Framework Theme
Author:			CoreFactor
Template:       cf_framework
*/

/* Torre do Frade */

@import url("../cf_framework/style.css");

body {
	background-color: #F2F2F2;
	font-family: Serif;
	color: #4D4D4D;
}

a, a:link {
	text-decoration: none;
	color: #B65000;
}

a:visited{
	color: #C7733F;
}

a:hover{
	color: #D25E01;
}

a:active {
	color:#B65000;
	} 

p, ul, dl, ol, table {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 0.9em;
}

dt {
	margin-bottom: 5px;
}

h1, h2, h3, h4, h5{
	font-weight: normal;
}

h1 {
	
	display: block;
	width: 120px;
	height: 230px;
	background:  url(assets/img/logotipo_torredofrade.png) no-repeat;
	text-indent: -2000px;
	float: left;
}

h2, h3, h4, h5, dt{
	font-family: 'Droid Serif', 'Times New Roman', Times, serif;
}

h2 {
	font-size: 1.3em;
	margin-top: 40px;
	margin-bottom: 10px;
	padding-left: 15px;
	float:left;
}

h3 {
	font-size: 1.2em;
}

h4 {
	font-size: 1.1em;
}
img {
	margin:0;
}

.float_right{
	float: right;
}

.float_left{
	float: left;
}

blockquote, blockquote cite, pre{
	background: #F2F2F2;
}

.clear{
	clear: both;
}

table{
	margin: 10 0px;
}

table td {
	padding: 0 6px;
}

th h5{
	color:  #B65000;;	
}

#header {
	background: url(assets/img/header_bg.png) repeat-x top;
}

#header-inner{
	min-height:  201px;
	border-bottom: 1px solid #FFF;
	background: url(assets/img/nav_bg.png) repeat-x bottom;
	position: relative;
}

.inner {
	width: 960px;
	margin: 0 auto;
}
/* nav */
ul#nav {	
}

ul#nav li{
	margin-top: 160px;
	float: left;
	border-left: 1px solid #D9D9DA;
	border-right:  1px solid #FFF;
}

ul#nav li:first-child, ul#nav li.first{
	border-left: none;
}

ul#nav li:last-child, ul#nav li.last{
	border-right: none;
}

ul#nav li a{
	font-family: 'Droid Serif', 'Times New Roman', Times, serif;
	display:  inline-block;
	padding-left: 15px;
	padding-right: 15px;
	height: 40px;
	line-height:40px;
	color:  #4D4D4D;
}
ul#nav li a:hover{
	background: #FFF;
	color: #B65000;
}

ul#nav li a.selected{
	color: #B65000;
}
/* end nav*/

/* language picker */
ul#language-picker{
	position: absolute;
	top: 0;
	right: 10px;
}

ul#language-picker li{
	float: left;
	font-family: 'Droid Serif', 'Times New Roman', Times, serif;
	font-weight: bold;
	font-size: 0.8em;
}

ul#language-picker li a {
	display: block;
	width: 34px;
	height: 40px;
	background: url(assets/img/language_sprite.png) no-repeat -40px -5px;
	color:  #FFF;
	text-align: center;
	padding-top: 5px;
	text-shadow: 0px -1px 1px #000000;
	filter: dropshadow(color=#000000, offx=-1, offy=0);

}

ul#language-picker li a:hover{
	background: url(assets/img/language_sprite.png) no-repeat -40px 0;
	padding-top: 10px;
}


ul#language-picker li.active a {
	background: url(assets/img/language_sprite.png) no-repeat 0 0;
	padding-top: 10px;
}

ul#language-picker li.active a:hover {
	cursor: default;
}



/* END language picker*/


/* social */
#social {
	text-align: left;
	float:right;
}

#social ul li{
	margin-top: 165px;
	display: block;
	margin-right:10px;
	float: left;
}

#social ul li a{
	display: block;
	width: 32px;
	height: 32px;
}

a.facebook {
	background: url('assets/img/social_sprite_2.png') 0 0;
}

a.facebook:hover {
	background: url('assets/img/social_sprite_2.png') 0 32px;
}

a.flickr {
	background: url('assets/img/social_sprite_2.png') -32px 0;
}

a.flickr:hover {
	background: url('assets/img/social_sprite_2.png') -32px 32px;
}

a.rss {
	background: url('assets/img/social_sprite_2.png') -64px 0;
}

a.rss:hover {
	background: url('assets/img/social_sprite_2.png') -64px 32px;
}

a.twitter {
	background: url('assets/img/social_sprite_2.png') -96px 0;
}

a.twitter:hover {
	background: url('assets/img/social_sprite_2.png') -96px 32px;
}

a.vimeo {
	background: url('assets/img/social_sprite_2.png') -160px 0;
}

a.vimeo:hover {
	background: url('assets/img/social_sprite_2.png') -160px 32px;
}

a.youtube {
	background: url('assets/img/social_sprite_2.png') -192px 0;
}

a.youtube:hover {
	background: url('assets/img/social_sprite_2.png') -192px 32px;
}

/* end social */


#main {
	clear: both;
	margin-bottom: 30px;	
}

#content {
	width: 660px;
	float: left;
}

/*.single-vinhos #content{
	width: 960px;
}*/

#content .navigation {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 0.8em;
	margin-bottom: 5px;
}

#content #breadcrumbs{
	font-size:0.8em;
	float:right;
	margin-top: 40px;
	margin-bottom: 10px;
	background: #fff;
	/*border:1px solid #BEBEBE;*/
	border:1px solid #D5D5D5;
	height: 17px;
	line-height: 17px;	
}

 #breadcrumbs a{
	float:left;
	padding:0 5px;
}

 #breadcrumbs span.current{
	padding-left:5px;
	padding-right: 10px;
}

#breadcrumbs span.delimiter{
	background: url(assets/img/delimiter.png) left no-repeat;
	width:10px;
	height:17px;
	display:block;
	float:left;
}



.home h3 {
	border-left: 5px solid #B65000 !important;
	padding-left: 5px !important;
}

#content .post-info{
	font-size: 0.8em;
	display: block;
	margin-top:  10px;
	margin-bottom: 20px;
}

.box{
	clear:both;
	background: #FAFAFA url(assets/img/boxtop.png) repeat-x;
	border: 1px solid #E5E5E5;
	/*border-bottom: none;*/
	padding: 15px;
}


#content .box span#galeria-icon, #content .box span#blog-icon, #content .box span#receita-icon{
	display:block;
	width: 85px;
	height:  80px;
	float:  right;
	margin-right:10px;
	margin-top:  -90px;
	background:url(assets/img/icon_fotos.png) no-repeat;
}

#content .box span#blog-icon {
	background:url(assets/img/icon_blog.png) no-repeat;
}
#content .box span#receita-icon {
	background:url(assets/img/icon_video.png) no-repeat;
}


#content .box {
	width: 640px;
	padding-top: 30px;
}

.entry-meta{
	margin-bottom:15px;
	font-size: 12px;
}


#content .shadow{
	clear: both;
	display:  block;
	height: 10px;
	margin-bottom: 20px;
}

#content .shadow.w670 {
	width: 670px;
	background: url('assets/img/boxshadow-670.png') left top no-repeat;
}

#content .shadow.w950 {
	width: 950px;
	background: url('assets/img/boxshadow-950.png') left top no-repeat;
}

#content .pic, #content .vid {
	width:240px;
	height: 165px;
	float: right;
	margin-bottom:  15px;
}

#content .pic img, #content .vid img {
	position:absolute;
	width: 240px;
	height:165px;
	overflow: none;
}

#content .pic span, #content .vid span{
	display: block;
	width: 240px;
	height: 167px;
	position: relative;
	top: 0;
	left: 0;
	background: url(assets/img/img_frame.png) no-repeat ;
	
}

.entry-content ul li{
	list-style: disc;
	margin-left: 25px;
}

.entry-content ol li{
	list-style: decimal;
	margin-left: 25px;
}


#older-posts{
	margin-top: 15px;
	padding-top:10px;
	border-top: #E5E5E5 1px solid;
	clear:  both;
}

#older-posts ul li:before{
	content: "» ";
	color: #B65000;
}

#older-posts ul li{
	margin-bottom: 3px;
	font-size: 0.95em;
}

ul#gallery{
	height: 110px;
	}
	
ul#gallery li{
	float: left;
	margin-right: 13px;
	list-style: none;
	position: relative;
	width: 150px;
	height: 106px;
	overflow:hidden;
	text-align: center;
}

ul#gallery li.last-child{
	margin-right: 0;
}
ul#gallery li img{
	margin: 0 auto;
	margin-top:-20%;
}

ul#gallery li span{
	width: 150px;
	height: 106px; 
	position: absolute;
	top: 0;
	left: 0;
	background: url(assets/img/galeria_frame.png) no-repeat ;
}



.more-btn{
	clear:  both;
	text-align:right;
	margin: 15px 0;
}
.more-btn a, .gform_wrapper input.button, input#submit{
	background: #B65000;
	border:  double 3px #DAA77F;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	padding: 3px 10px;
	color:  #FFF !important;
	margin-top:10px;
	font-family: serif;
	}

div.gform_footer.top_label {
	padding-left: 25px;
}

.more-btn a:hover, .gform_wrapper input.button:hover, input#submit:hover{
	background: #D25E01;
}





#sidebar{
	width: 230px;
	margin-left: 50px;
	float: left;
	}

#sidebar h3{
	margin-top: 40px;
}

#sidebar-vinhos ul {
	clear: both;
}

#sidebar-vinhos ul li{
	width: 100px;
	margin: 10px;
	float: left;
	text-align: center;
	margin-right: 0;
	font-family: Serif;
	font-size: 1.1em;
	}


#sidebar-vinhos ul li img{
	width: 100px;
	height: 320px;	
}

#sidebar-vinhos {
	padding-bottom: 20px;
	border-bottom: 1px solid #D9D9DA;
}

#sidebar-vinhos select{
	width:  230px;
	margin-top: 20px;

}

#sidebar-sinal{
	padding-top:  30px;
	border-top: 1px solid #FFF;
	padding-bottom: 30px;
	border-bottom: 1px solid #D9D9DA;
}

#sidebar-sinal ul{
	background: url(assets/img/sinal_bg.png) no-repeat;
	width: 230px;
	height:  212px;	
}

#sidebar-sinal.en ul{
	background: url(assets/img/sinal_bg_en.png) no-repeat;
}

#sidebar-sinal ul li a{
	display: block;
	height: 60px;
	text-indent: -2000px;
}

#sidebar-fb {
	padding-top: 30px;
	border-top: 1px solid #FFF;
	padding-bottom: 30px;
	border-bottom: 1px solid #D9D9DA;
}

#sidebar-wim {
	padding-top: 20px;
	border-top: 1px solid #FFF;
	margin-bottom: 30px;
}

#sidebar-wim a{
	display: block;
	width: 320px;
	height: 55px;
	background: url(assets/img/wim.png) no-repeat;
	text-indent: -2000px;
}


/* wines */
#dropdown{
	float: right;
	margin-top: -30px;
}

#dropdown select{
	width: 220px;
}

ul#wines > li {
	width: 46%;
	float: left;
	padding:  0 10px;
}

ul#wines > li.first{
	border-right: 1px solid #D9D9DA;
}

ul#wines > li.last{
	border-left: 1px solid #FFF;
}

ul#wines > li p {
	margin-top:  10px;
}

ul#wines > li p img {
	float: right;
	margin-left:10px
}

/* end wines */

/* wine page */

#wine-info {

}

#wine-info .tabbox{
	margin-top: 20px;
	clear:both;
	}

#wine_info_box ul li label{
	display: inline-block;
	padding: 2px 5px;
	/**/
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	/**/
	font-weight: bold;
	background-color: #F2F2F2;
}

#wine_info_box ul li span{
	display: block;
	padding-left: 10px;
}


#wine_info_box ul li{
	padding:7px 0;
}

/*#wine_info_box ul li:nth-child(odd){
	background-color: #FAFAFA;
}*/

ul#wine_premios {
	margin-top: 10px;
	padding-bottom: 20px;
}

ul#wine_premios li{
	display: block;
	float: left;
	margin-right: 26px;
	width:60px;
	/*height:30px;*/
	padding-top: 83px;
	text-align: center;	
}

ul#wine_premios li.last-child{
	margin-right: 0;
}

ul#wine_premios li a{
	display:block;
/*	text-indent: -2000px;*/
}

li.ouro, li.ouro a{
	background: url(assets/img/ouro.png) no-repeat;
}

li.prata, li.prata a{
	background: url(assets/img/prata.png) no-repeat;

	/*text-indent:-2000px;*/
}

li.bronze, li.bronze a{
	background: url(assets/img/bronze.png) no-repeat;
}

li.honrosa, li.honrosa a{
	background: url(assets/img/menc_honrosa.png) no-repeat;
}


#wine_video, #wine_links{
	padding: 10px 0;
	margin: 10px;
	/*border-top: 1px solid #FFF;
	border-bottom: 1px solid #D9D9DA;*/
}

#wine_video{
	display:none;
}

ul#wine_links li{
	margin-bottom: 10px;
}

.wine_pic {
	margin-left: 30px;
	float: right;
}

/* wine_meta */

#wine_meta{
	width: 240px;
	padding: 0 10px;
	float: right;
}

#wine_meta h3 {
	border-left: none;
	padding-left: 10px;
	margin-top: 40px;
	margin-bottom: 10px;
}

#wine_meta select{
	width: 220px;
	margin: 10px;
	margin-top: 20px;
}

#wine_meta select:first-child{
	margin-top: 20px;
}

/* wine_info_tabs */

ul#wine_info_tabs {
	margin: 0px;
	padding: 0px;
}

ul#wine_info_tabs li {
	float: left;
	display: inline;
	margin: 0px;
}

ul#wine_info_tabs li a{
	float: left;
	-moz-border-radius: 8px 8px 0 0;
	-webkit-border-radius: 8px 8px 0 0;
	border-radius:  8px 8px 0 0;
	border: 1px solid #CCC;
	padding: 7px 10px;
	margin-right: 2px;
	margin-bottom: -1px;
	margin-top: 3px;
	background: #FAFAFA;
	font-family: 'Droid Serif', 'Times New Roman', Times, serif;
	color: #4C4C4C;
	display: inline;
}

ul#wine_info_tabs li.pdf a{
	background: none;
	border: none;
	font-family: 'Droid Serif', 'Times New Roman', Times, serif;
	display: inline;
	font-size: 0.7em;
}


ul#wine_info_tabs li a:hover{
	color:  #B65000;
	background: #fff;
}

ul#wine_info_tabs li.pdf a:hover{
	background: none;
}

ul#wine_info_tabs li.tab_selected a{
	background: #fff;
	border-bottom: 1px solid #fff;
	color:  #B65000;
}

ul#wine_info_tabs li.tab_selected a:hover{
	cursor:	default;
}

#wine_info_box{
	font-size: 0.9em;
	clear: left;
	border: 1px solid #CCC;
	background: #fff;
	padding: 10px;
	min-height: 200px;
	/*margin-top: 30px;*/
}

#wine_info_box dd{
	margin-bottom: 10px;
	padding-left:  5px;
}
/* end wine_info_tabs */

/* sidebar-areas-negocio */

ul#sidebar-areas-negocio h3{
	margin-top: 40px;
	margin-bottom: 15px;
}

ul#sidebar-areas-negocio {
	font-size: 1.05em;
}

ul#sidebar-areas-negocio li{
	margin-bottom: 7px;
	line-height: 22px;
}

ul#sidebar-areas-negocio ul li{
	margin-bottom: 5px;
	line-height: 18px;
}

ul#sidebar-areas-negocio ul li a{
	/*margin-left: 10px;*/
	color: #007F4A; /**/
	}

ul#sidebar-areas-negocio li.vinha{
	background: url(assets/img/icon_small_vinha.png) no-repeat top left;
	padding-left:  30px;	
}

ul#sidebar-areas-negocio li.pecuaria{
	background: url(assets/img/icon_small_pecuaria.png) no-repeat top left;
	padding-left:  30px;	
}
ul#sidebar-areas-negocio li.agricultura{
	background: url(assets/img/icon_small_agricultura.png) no-repeat top left;
	padding-left:  30px;	
}
ul#sidebar-areas-negocio li.floresta{
	background: url(assets/img/icon_small_floresta.png) no-repeat top left;
	padding-left:  30px;	
}

/* end sidebar-areas-negocio*/

#pre-footer{
	clear: both;
	border-left: 1px solid #D9D9DA;
	border-right:  1px solid #FFF;
	margin-bottom: 30px;
	margin-top: 30px;
	}

#pre-footer h2 {
	padding-left: 10px;
	display:block;
}

ul#pre-footer div{
	border-left:  1px solid #FFF;
	border-right: 1px solid #D9D9DA;
}

ul#pre-footer p{
	clear:both;
	margin: 0 10px;
	padding-bottom: 30px;
	}

ul#pre-footer li{
	width:  218px;
	float: left;
	padding: 10px;
	border-left: 1px solid #FFF;
	border-right:  1px solid #D9D9DA;
	padding-top:  100px;
	margin-top: 0;
}

ul#pre-footer li p{
	margin: 10px 0;
	padding: 0 10px 0 0;
}

ul#pre-footer li#agricultura{
	background: url(assets/img/bg_agricultura.png) no-repeat top left;
}
ul#pre-footer li#pecuaria{
	background: url(assets/img/bg_pecuaria.png) no-repeat top left;
}
ul#pre-footer li#floresta{
	background: url(assets/img/bg_floresta.png) no-repeat top left;
}
ul#pre-footer li#vinha{
	background: url(assets/img/bg_vinha.png) no-repeat top left;
}
#footer {
	clear: both;
	background: #D9D9DA url(assets/img/footer_bg.png) top repeat-x;
	min-height: 200px;
	border-bottom: 1px solid #fff;
}

#sobre-nos{
	float: left;
	width: 400px;
	min-height: 200px;
	background:  url(assets/img/footer_logo.png) no-repeat 0px 2px;
	padding-left:  90px;
}

#sobre-nos p{
	padding-right:  10px;
}

#sobre-nos p{
	margin-top: 10px;
}

#footer h3 {
	margin-bottom: 10px;
	margin-top: 20px;
}

 #footer li{
 	margin-top:3px
 }

#footer ul{
	width: 230px;
	float: left;
}


/* entry content */

h3 {
	/*border-left: none !important; */
	color: #B65000;
/*	padding-left: 0 !important; */
	margin-bottom: 20px;
	margin-top: 15px;
	font-size: 1.3em;

}

h4, h4 a {
	font-size: 1.1em;
	color: #007F4A;
/*	border-left: none !important;
	padding-left: 0 !important; */
	margin-bottom: 10px;
	margin-top: 15px;

}

.entry-content li {
	margin-bottom: 5px;
}

.entry-content {
	letter-spacing: 0.03em;
	line-height: 1.4;
	/*padding-left: 25px;
	padding-right: 30px;
	width: 615px !important;*/
	margin-bottom: 10px;
}

.entry-utility{
	font-size: 12px;
	padding-top: 5px;
	border-top: 1px solid #E5E5E5;
	clear: both;
}

.category-blog .entry-utility, .category-video .entry-utility{
	font-size: 12px;
	padding-top: 5px;
	border-top: none;
}

#comments{
	padding: 15px;
}

#comments p.nocomments {
	/*display: none*/;
}

form#commentform label{
	width: 100px;
	display: block;
}
form#commentform .required{
	color: #B65000;
}

span.clear {
	display: block;
}

div#error404 {
	background: url(assets/img/404.png) no-repeat;
	width:606px;
	height: 222px;
	margin-bottom: 20px;
}

.nav-previous, .nav-next{
	width: 49%;
	display: inline-block;
	margin-bottom: 10px;
}

.nav-next{
	text-align: right;
}

.hentry {
	padding-bottom: 10px;
	border-top: 1px solid #E5E5E5;
}

.hentry:first-child{
	border-top: none;
}

ul.post-categories, ul.post-categories li{
	display: inline-block;
	font-family: Serif;
}

