/*
	Theme Name: Fexco
	Theme URI: http://fexco.com/
	Description: Fexco white theme
	Version: 1.0
	Author: grzegorz.okonski@gmail.com
*/
/* ---------------------------
	reset
--------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,  blockquote,
pre, a, zacronym, address, code, del, dfn,  img, q, dl, dt, 
dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, 
thead, tr, th, td, p { margin:0;padding:0;border:0;font-weight:normal;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline; }
body { line-height:1.5;font-size:67.5%; }
a { cursor:pointer; text-decoration:underline; }
a img { border:none; }
table { border-collapse:collapse; border:none; }
:focus { outline: 0; }

/* ---------------------------
	default
--------------------------- */
a { color:#333; text-decoration:none; }
body { background:#fff; font-family:verdana, arial, sans-serif; color:#444; }
li { list-style:none; }
html { overflow-y:scroll; }     
hr { display:none; }
p { margin-bottom:7px; }
img { display:block; }
h2 { color:#555; font-size:24px; margin-bottom:24px; line-height:100%; }
h3 { font-size:18px; color:#777; margin:20px 0 3px 0; }
h4 { font-size:24px; margin:0 0 20px 0; }
h5 { color:#be0028; font-size:14px; height:30px; line-height:30px; background:url(images/line.png) 0 0 no-repeat; margin-bottom:20px; text-transform:uppercase; }
h5 a { color:#be0028; }
small { color:#777; }

/* ---------------------------
	forms
--------------------------- */
#searchform { position:absolute; right:0; top:40px; text-align:right; }
#searchform input { padding:2px 3px; }
#searchform .text { border:1px solid #666; width:110px; }
#searchform .submit { background:#c0022b; color:#fff; border:1px solid #c0022b; font-size:10px; }

.wpcf7-not-valid-tip { padding:3px 10px !important; color:#fff; background:#DF454B !important; }

/* ---------------------------
	layout
--------------------------- */
#header { position:relative; padding:20px 15px; }
#header h1 { margin:0; }
#header h1 a { display:block; background:url(images/fexco-logo.png); width:350px; height:60px; text-indent:-9999px; }

#nav { background:#be0028; text-transform:uppercase; padding:0; }
#nav li { display:block; float:left; position:relative; z-index:600; }
#nav li a { color:#fff; display:block; float:left; font-size:12px; padding:4px 10px; margin:0 16px; border-bottom:3px solid #be0028; }
#nav li ul { display:none; position:absolute; left:16px; top:29px; background:#fff; width:200px; padding:5px 10px; border:1px solid #eee; border-top:none; border-bottom:5px solid #be0028; }
#nav .active a, 
#nav .hover a { background:#fff; color:#be0028; }
#nav .active a { border-bottom:3px solid #8F0006; }
#nav .hover a { border-bottom:3px solid #fff; }
#nav .hover ul { display:block; }
#nav .hover ul a { color:#666; padding:2px 0 !important; margin:0 !important; width:190px; }
#nav .hover ul a:hover { color:#be0028; }

#body { padding:20px 0; min-height:400px; height:auto !important; height:300px; }

#content a { text-decoration:underline; }
#content img { margin-bottom:15px; border-bottom:5px solid #f59614; }
#content ul,
#content ol { margin:10px 20px; }
#content ul li { margin-bottom:5px; list-style:circle; }
#content ol li { list-style:decimal !important; }
#content-secodary { padding:20px; color:#fff; background:#be0028; border-bottom:4px solid #f59614; font-size:17px; }

#aside li a { color:#666; display:block; font-size:12px; margin:0 0 2px 0; border-left:2px solid #be0028; padding:4px 10px; background:url(images/gradient.png) 0 0 repeat-y; }
#aside li li a { font-size:11px; border:none; background:none; border-bottom:1px solid #eee; padding:2px 12px; }
#aside li li li a { padding:0 0 0 10px; margin:0 0 2px 10px; }
#aside li.active  > a { color:#be0028; }
#aside li .active > a, 
#aside li a:hover { background-position:-220px 0; color:#be0028; }

#footer { padding:15px 24px; border-top:5px solid #be0028; position:relative; }
#footer ul { margin-bottom:7px; }
#footer ul li { display:inline; }
#footer a { color:#be0028; margin:0 10px 0 0; padding:0 10px 0 0; border-right:1px solid #aaa; }
#footer a:hover { text-decoration:underline; }
#footer ul li:last-child a { border:none; }
#footer #oc-group { position:absolute; right:0; top:10px; border:none; }

/* ---------------------------
	specific
--------------------------- */
.alignright { float:right; margin:0 0 10px 20px !important; }
.avatar { float:left; margin:0 10px 10px 0; }

.breadcrumb { font-size:90%; margin:0 0 30px 0; }
.breadcrumb a { text-decoration:none !important; color:#888; }

.commentlist { margin:20px 0; }
.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0; }
.clearfix { display:inline-block; }
* html .clearfix { height:1%; }
.clearfix { display:block; }

.home a { color:#be0028; }
.home img { border:none !important; }
.home #intro { margin:0 0 20px 0; }
.home #intro .intro-carousel { float:left; width:600px; height:262px; overflow:hidden; }
.home #intro .intro-text { float:left; width:220px; }
.home #intro h5 { margin:30px 0; }
.home #intro a { margin:8px 0 0 0; display:block; font-size:24px; color:#555; height:36px; line-height:36px; padding:8px 20px; width:180px; background:url(images/gradient.png) 0 0 repeat-y; }
.home #intro a:hover { background-position:-220px 0; color:#be0028; }
.home #aside { padding:0 0 0 15px; width:217px; }
.home #content a { text-decoration:none; }
.home-news { float:left; width:250px; padding:0 15px 0 25px; }
.home-news ul { margin:0 !important; }
.home-news li { margin-bottom:15px !important; list-style:none !important; }
.home-news a { display:block; }
.home-text { float:left; width:280px; }

.products  #intro { height:160px; padding:20px 0 60px 20px; background:url(images/products-bg.png) no-repeat; margin-bottom:5px; position:relative; }
.products  #intro h2 { line-height:1.3; }
.products  #intro ul { position:absolute; bottom:10px; left:22px; font-size:16px; line-height:1.2; }
.products  #intro ul a { color:#fff; display:block; float:left; width:175px; border-right:1px solid #fff; margin-right:18px; height:40px; }
.products  #intro ul a:hover { color:#c0022b; }
.products  #intro ul li { display:inline; }

.home #body, .products #body { padding-top:10px; }

.site-map #content ul { margin:4px 30px; }
.site-map #content li { list-style:circle; }

.vcard h4 { margin:10px 0 0 0; }
.vcard big { display:block; margin:10px 0 2px; color:#c0022b; }

.post big { display:block; }
.post .entry { margin-top:10px; }

/* ---------------------------
	grid
--------------------------- */
#container { width:820px; margin:0 auto; }   
#content { width:588px; }
#aside { width:185px; padding:50px 20px 0 27px; }
#content, #aside { float:left; overflow:hidden; }
