* { margin: 0; padding: 0; }

.hasfloat:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 
.hasfloat { display: inline-block; } 
/* Hides from IE-mac \*/ 
* .hasfloat { height: 1%; } 
.hasfloat { display: block; } 
/* End hide from IE-mac */

html, body { height: 100%; }
html { font: 100% "lucida grande", trebuchet, arial, sans-serif; background: #fff url(images/header-bg.jpg) no-repeat 50% 0; }
body { height: auto; font-size: 0.75em; color: #666; background: url(images/footer.jpg) repeat-x 50% bottom; }

a { color: #6aa709; overflow: hidden; text-decoration: none; }
a:hover { color: #005500; }

fieldset, abbr, img { border: 0; }

:focus { outline: 0; }

img.aligncenter { display: block; margin: 30px auto; }

#container { width: 1000px; margin: 0 auto; }

#header { height: 199px; background: url(images/header.jpg) 0 0 no-repeat; }
#header h2 a { display: block; float: left; width: 210px; height: 180px; text-indent: -9999em; }
#header p.slogan { text-indent: -9999em; }
#header p.info { float: right; margin: 155px 0 0 0; }

#menu { height: 51px; margin-bottom: 10px; background: url(images/menu-bg.jpg) 0 0 no-repeat; }
#menu ul { list-style: none; font-size: 1.25em; }
#menu ul li { display: inline; }
#menu ul li a { float: left; padding: 16px 15px 14px; text-decoration: none; text-align: center; }
#menu ul li.igreja a { width: 58px; }
#menu ul li.eventos a { width: 173px; }
#menu ul li.ministerios a { width: 64px; }
#menu ul li.pastorais a { width: 64px; margin-left: 150px; }
#menu ul li.midia a { width: 150px; }
#menu ul li.contato a { width: 158px; }

#content { background: url(images/sidebar-bg.gif) 100% 0 repeat-y; }

#content #inside { float: left; width: 590px; padding-right: 18px; }
#content #inside h1, #content #inside h2 { margin: 15px 0 5px; font-size: 2em; font-weight: normal; }
#content #inside h1 a, #content #inside h2 a { text-decoration: none; }
#content #inside h3 { margin: 25px 0 15px; font-size: 1.46em; font-weight: normal; }

#content #inside p, #content #inside ul, #content #inside ol { font: 1.08em georgia, times, serif; margin: 20px 0; text-align: justify; line-height: 1.5em; }
#content #inside ul, #content #inside ol { margin-left: 25px; }
#content #inside li { margin: 5px 0; }

#content #inside strong { color: #555; }

#content #inside div.post { margin-bottom: 50px; }
#content #inside div.youtube { width: 560px; margin: 30px auto; }

#content #inside p.info { margin: 5px 0 15px; font-size: 0.92em; font-style: italic; color: #999; }
#content #inside p.info strong { color: #888; }

#content #sidebar { float: right; width: 376px; padding: 8px; background: #e6f0f9 url(images/sidebar-top.gif) 0 0 no-repeat; }
#content #sidebar h3 { margin: 20px 0 15px; font-size: 1.5em; font-weight: normal; color: #5491cf; }
#content #sidebar h3 a { color: #5491cf; }
#content #sidebar h3 a:hover { color: #24719f; }
#content #sidebar ul { margin: 15px 0; list-style: none; }
#content #sidebar ul li { margin: 10px 0; text-transform: capitalize; }

#content #sidebar form ol { list-style: none; }
#content #sidebar form ol li { margin-bottom: 10px; }
#content #sidebar form ol li label { display: none; }
#content #sidebar form ol li input, #content #sidebar form ol li textarea { width: 368px; padding: 3px; font: 1em "lucida grande", trebuchet, arial, sans-serif; border: 1px solid #ccc; }
#content #sidebar form button { display: block; float: right; padding: 5px; font-size: 1em; font-weight: bold; color: #fff; background: #7499b7; border: 2px solid #6489a7; cursor: pointer; }

#content #sidebar h3.conecte { margin-top: 0; }
#content #sidebar ul.conecte li { text-align: center; margin-bottom: 30px; }

#content #sidebar form#searchform input#s { display: block; width: 368px; margin: 10px 0; padding: 3px; font: 1em "lucida grande", trebuchet, arial, sans-serif; border: 1px solid #ccc; }
#content #sidebar form#searchform input#searchsubmit { padding: 5px; font-size: 1em; font-weight: bold; color: #fff; background: #7499b7; border: 2px solid #6489a7; cursor: pointer; }

#footer { height: 200px; padding-top: 20px; background: url(images/sidebar-bottom.gif) 100% 0 no-repeat; }
#footer h4 a { display: block; float: left; width: 118px; height: 96px; margin-left: 20px; background: url(images/footer-logo.jpg) 0 0 no-repeat; text-indent: -9999em; }
#footer p.vcard { float: right; width: 386px; margin-top: 25px; }
#footer p.vcard span.tel { display: block; margin-top: 10px; }
#footer h5#codekings a { display: block; float: right; clear: both; width: 122px; height: 40px; margin-top: 20px; background: url(images/codekings.gif) -42px 0 no-repeat; text-indent: -9999em; }

/* -- home -- */

body#home #header h1 a { display: block; float: left; width: 210px; height: 180px; text-indent: -9999em; }
body#home #content #inside h2 { margin-bottom: 5px; font-size: 2em; font-weight: normal; }
body#home #content #inside h2 a { text-decoration: none; }