/*
Theme Name: Fapesb
*/

/* Estrutura Basica */


#h2_destaque{padding-top:20px;}
* {margin:0;padding:0;font-family: "Trebuchet MS",Helvetica,Jamrul,sans-serif;}
.mbottom{margin-bottom:35px;}
p {padding: 12px 2px 2px 2px;}
ul{text-decoration: none;}
li{text-decoration: none;}
a:hover{color:#EB981B;}
a img{text-decoration:none;border:none;}
.a_link{cursor:pointer; color:#000;}
/*body {background:#E0EBF1;}*/
body {background-image:url(http://www.fapesb.ba.gov.br/wp-content/uploads/2012/09/fundo.jpg);}
.both{clear:both;}
h2{font-size:17px;color:#043C6B;padding-bottom:0px;}
div#wrapper { position:absolute;left:50%;margin-left:-480px;width:960px;background:#FFF; }
div#container {position:relative;width:100%;}
#bannerdiv{display:none;}

div#top_background{position:absolute;top:25px;width:100%;height:180px;background:transparent;display:none;}
div#top_background #left_top_side{width:50%;height:180px;float:left;background:transparent url(images/left_header.jpg) repeat-x;}
div#top_background #right_top_side{width:50%;height:180px;float:left;background:transparent url(images/right_header.jpg) repeat-x;}

/* PRE HEADER */
#preheader {position:relative;width:100%;height:25px;background: transparent url(images/preheader.jpg) repeat-x; }
#sub_preheader { width:34px;height:100%; background: transparent url(images/first_preheader.jpg) no-repeat;}
#search_gov{ position:absolute;right:10px;}
#gov_name {border:none;background:#e7f0f7;width:220px;}
#submit_gov { border:1px solid #c0c0c0;background:#0860a8;color:white;cursor:pointer; }

/* HEADER */
#header {position:relative;width:100%;height:180px;background: transparent url(/wp-content/uploads/2013/09/header.jpg) no-repeat;}
h1 {position:relative;float:left;width:400px;font-size:0.9em;text-transform:uppercase;margin:5px 0;color:#476D8F;}
h1 a {text-decoration:none;color:#fff;}
h1 a:hover {color:#aaa;}
#description {position:relative;float:right;width:400px;text-align:right;margin:5px 0;color:#779DBF;}

#header #search { position:absolute;text-align:right;right:5px;bottom:23px;width:auto; }
#header #search input#s {-moz-border-radius:3px 3px 3px 3px; -moz-box-shadow:0 1px 3px #CCCCCC inset; background:url("/wp-content/themes/fapesb/images/fundoCampoBusca.png") no-repeat scroll 4px center #FFFFFF; border:0 none; font:10pt Arial,Helvetica,Jamrul,sans-serif; padding:3px 3px 3px 22px; width:240px;}
#header #search #searchsubmit {border:none;background:transparent;color:#085792;font-weight:bold;cursor:pointer;}

#header #the_time { color:#E0EBF1;position:absolute;text-align:left;left:10px;top:2px;width:auto;background:transparent;font-size:13px; }
#header #header_links {z-index:20; position:absolute;text-align:right;right:35px;bottom:161px;width:auto;font-size:13px;  color:#fff; }
#header #header_links a {text-decoration:none;color:#fff;padding:1px;font-size:11px;}
#header #header_links a:hover {text-decoration:underline;}
/* #header #logo_fapesb{margin-top:45px;margin-left:15px;} --logo normal-- */
#header #logo_fapesb{padding-top:29px;margin-left:780px;}
#header #logo_fapesb a img{border:none;text-decoration:none;}
#rss {position:absolute; padding-left:932px;padding-top:-1px;}
#fb-like {position:absolute; padding-left:565px;padding-top:99px;}


/* SIDEBAR MENU */
ul.children{z-index:10;}
#sidebar {width:200px;font-size:0.9em;float:left; padding-left:8px;z-index:100;position:relative;}
#sidebar ul {list-style: none;position:relative;}
#sidebar ul li {list-style: none;width:100%;position:relative;}
#sidebar ul li ul {position: absolute;left:180px;top:0px;display:none;z-index:100;margin:0px;padding:0px;}
#sidebar ul li:hover>ul{display:inline;z-index:100;margin:0px;padding:0px;}
#sidebar ul li ul li {list-style:none;color:#999;margin-left:20px;text-transform:none;clear:both;}

#sidebar ul li a {display:block;font-size:0.9em;padding:8px;color:#0b6cb0;font-weight:bold;text-decoration:none;border-bottom:1px solid #ddd;}
#sidebar ul li a.li_kids{background: #FFF url(images/seta.gif) no-repeat right;}
#sidebar ul li a.li_kids:hover{border-left: 2px solid #7CBDE0; background: #E0EBF1 url(images/seta.gif) no-repeat right;}
#sidebar ul li a:hover {border-left: 2px solid #7CBDE0; background:#E0EBF1;}
#sidebar ul li ul li a {border:1px solid #C0C0C0;list-style: none;text-transform:none;width:184px;}
#sidebar ul li ul li a:hover {border-left: 2px solid #C0C0C0; background:#E0EBF1;}

/* SIDEBAR */
#sidebar h2 {padding-top:10px;margin:0px;}
#sidebar h2 a {text-decoration:none;color:#000;}
#sidebar h2 a:hover {text-decoration:underline;}
#sidebar a img{margin-top:5px;margin-bottom:1px;}
#sidebar h2 img {margin:0 5px -2px 0;}
#sidebar .current-cat a, #sidebar .current_page_item a {background:#EEE;}
#sidebar .current-cat a, #sidebar .page_item a {background:#FFF;}
.page_item a:hover{background:#E0EBF1;}
#sidebar ul#recentcomments li.recentcomments {display:block;text-transform:uppercase;font-size:0.9em;width:190px;padding:15px 5px 8px;color:#000;text-decoration:none;border-bottom:1px dotted #ddd;}
#sidebar ul#recentcomments li.recentcomments a {border-bottom:none;font-size:1em;}
#sidebar .textwidget {padding:10px 0 20px 5px;font-size:0.9em;line-height:1.2em;}
#sidebar select {margin:15px 0 30px 5px;width:195px;border:1px dotted #555;padding:3px;font-size:0.8em;}
#sidebar select option {padding:3px;}
#sidebar table#wp-calendar {width:190px;margin:10px 0 0 5px;}
#sidebar table#wp-calendar caption {margin:15px 0 0 0;font-weight:bold;}
#sidebar table#wp-calendar td {height:25px;text-align:center;}
#sidebar table#wp-calendar td a {color:#000;font-weight:bold;text-decoration:none;}
#sidebar table#wp-calendar td a:hover {background:#ddd;}
#sidebar table#wp-calendar tfoot a {padding:5px;text-decoration:none;background:#eee;border:1px solid #ddd;color:#000;}
#fale_com { width:205px;height:49px;background: transparent url(images/fale_com_fapesb.gif) no-repeat;margin-bottom:10px;cursor:pointer; }
#manual_pesquisador { width:205px;height:49px;background: transparent url(images/manual_pesquisador.gif) no-repeat;margin:10px 0px 15px 0px;cursor:pointer; }
#fale_com,#manual_pesquisador {margin-left: 15px;}

/* CONTENT */

.all_posts{border-bottom:1px dotted #C0C0C0;}
#content #posts {top:15px;position:relative;float:right;width:720px;margin-left:10px;z-index:0;}
#content #posts h2 {margin:0 0 5px 0;}
#content #posts h2 a {font-size:1.1em;font-weight:normal;color:#000;text-decoration:none;}
#content #posts .post {position:relative;margin-top:10px;font-size:12px;}

#content #posts #middle_post .post a {text-decoration:none;color:#EB981B;font-weight:bold;font-size:18px;}
.news_page{font-size:18px;}
#content #posts #middle_post .post a:hover {text-decoration:none;color:#085792;font-weight:bold;font-size:18px;}

#content #posts .post h2{border-bottom:none;}
#content #posts .post .content_post {margin:0px 0px 0px 6px; width:707px;font-size:14px;color:#333333;position:relative;}

#content #posts .post .content_post #action_bar{position:relative;width:100%;font-size:13px;}
#content #posts .post .content_post #action_bar .item_action_bar{float:right;margin-left:1px;color:white;padding:3px;font-weight:bold;height:18px;width:auto;text-align:center;-moz-border-radius:4px 0px 4px 0px;}
#content #posts .post .content_post #action_bar .item_action_bar a{color:white;}

#action_bar_news{position:relative;width:100%;text-align:right;}
.item_action_bar_news{float:right;width:auto;margin-left:5px;text-decoration:underline;}

#content #posts .post h2{font-size:14px;} /* Padronizar */
#content #posts .post h2.page_title {color:white;background:#085792;height:auto;padding:5px 2px 2px 0px;min-height:20px;text-indent:5px;font-size:13px;margin:3px 0px 0px 0px; }
#content #posts .post h2.page_title a{color:white;text-decoration:none;font-weight:bold; }
#content #posts .post div.page_subtitle{color:white;height:auto;position:relative;background:#E0EBF1;margin:1px 0px 35px 0px;}

#content #posts .post div.page_subtitle .item_page_subtitle{float:left;margin-right:5px;width:auto;text-align:center;padding:5px;font-size:11px;background:#E0EBF1;margin:1px 0px 0px 0px;min-height:12px; }

#content #posts .post div.page_subtitle .barra_page_subtitle{float:left;width:1px;background:white;height:25px; }
#content #posts .post div.page_subtitle .item_page_subtitle a{color:#085792;}
#content #posts .post div.page_subtitle .item_page_subtitle a:hover{color:#EB981B;}

#content #posts .post .post_footer{margin-top:40px; width:712px;height:25px;-moz-border-radius:4px;background:#E0EBF1;clear:both;}
.item_post_footer_right,.item_post_footer_left{color:#085792;font-weight:bold;cursor:pointer;}
#content #posts .post .post_footer .item_post_footer_right{margin:5px 15px 0px 0px;float:right;}
#content #posts .post .post_footer .item_post_footer_left{margin:5px 0px 0px 15px;float:left;}

#content #posts .post a {color:#085792;text-decoration:none;}

.postcontent {line-height:1.3em;color:#333;font-size:12px;margin-right:5px;padding-bottom:10px;border-bottom:1px dotted #C0C0C0;}
.postcontent table.margem{margin:15px;}
#content #posts .post .postcontent p {margin:0px;line-height:20px;padding-top:4px;padding-bottom:4px;text-align:justify;}
#content #posts .post .postcontent ul {padding:10px 0 10px 40px;}
#content #posts .post .postcontent ol {padding:10px 0 10px 40px;}
#content #posts .post .postcontent ol li {list-style:none;}
#content #posts .post .postcontent .more-link a{font-size:12px;}
#content #posts .post .postcontent img {border:none;margin:0px 5px 5px 0px;}
#content #posts .post .postcontent table img{border:none;margin:0px;padding:0px;}
#content #posts .post .postcontent blockquote {background:#eee;border:1px dotted #ccc;padding:15px;font-style:italic;}
#content #posts .post a:hover {text-decoration:none;color:#EB981B;}
#content #posts .post .commentlink {position:relative;float:right;margin:10px 0 20px 0;}
#content #posts .post .commentlink a {padding:8px;border:1px solid #999;background:#eee;text-decoration:none;color:#333;}
#content #posts .post .commentlink a:hover {color:#000;border:1px solid #000;background:#ddd;}
.metadataAllNews {color:#8BA6BC; padding-bottom:5px;}
.metadataNewsHome {color:#808080; padding-bottom:2px; font-size:10px;}
#content .pre_navigation{clear:both;}
#content .navigation {margin-top:20px;}
#content .navigation .alignleft {float:left;}
#content .navigation .alignright {float:right;}
#content .navigation .alignright .link{color:#EB981B;cursor:pointer;font-weight:bold;text-transform: uppercase;font-size:13px;}
#content .navigation .alignright .link:hover{color:#085792;}
#content .navigation .alignleft a, #content .navigation .alignright a {text-decoration:none;color:#000;padding:8px;border:1px solid #ddd;background:#eee;}
#content .navigation .alignleft a:hover, #content .navigation .alignright a:hover {background:#ddd;border:1px solid #aaa;}

#banner_on_news{display:none;}
#main_banner_content{right:13px;margin-top:0px;text-align:center;width:100%;position:relative;z-index:0;}
.pre_controls{position:absolute;left:0px;bottom:40px;background:#0C70B5;width:712px;height:5px;}
#banner_gallery_controls.banner_controls{width:712px;position:absolute;left:0px;bottom:0px;height:40px;background:#0C70B5 url(images/barra_noticias.png) repeat-x;z-index:0;cursor:pointer;}
#control_position{float:right;width:auto;height:32px;color:white;font-size:24px;font-family:arial;font-weight:bold;cursor:pointer;}
#banner_gallery_controls .control_on{width:18px;height:32px;background:#0C70B5;padding:4px;float:left;}
#banner_gallery_controls .control_off{width:18px;height:32px;background:transparent;padding:4px;float:left;}
#banner_gallery_options{display:none;}

#banner_gallery{border-top:2px solid #0C70B5;border-right:2px solid #0C70B5;border-left:2px solid #0C70B5;cursor:pointer;}

/* POST Content */
#middle_post{width:63%;margin-right:1%;position:relative;}
#sidebar_posts{width:32%; padding-left:16px;}
#middle_post,#sidebar_posts{left:8px;height:auto;float:left;margin-top:25px;}

#middle_post #post_gallery_options{display:none;}

#middle_post #post_gallery_panel{display:inline;width:auto;height:20px;position:absolute;top:0px;right:0px;z-index:0;}
#middle_post #post_gallery_panel div{height:7px;margin-right:15px;margin-top:6px;float:left;cursor:pointer;}
#middle_post #post_gallery_panel .panel_off{width:7px;background:transparent url(images/panel_image.png) no-repeat;}
#middle_post #post_gallery_panel .panel_on{width:8px;background:transparent url(images/panel_image_sel.png) no-repeat;}

#middle_post #post_gallery_panel .panel_next{width:6px;height:8px;background:transparent url(images/panel_prev.png) no-repeat;}
#middle_post #post_gallery_panel .panel_prev{width:6px;height:8px;background:transparent url(images/panel_next.png) no-repeat;}

#middle_post #post_gallery_title.ativado{width:100%;height:42px;background:black;position:absolute;top:257px;left:0px;background:transparent url(images/barra_noticias.png) no-repeat;color:white;font-weight:bold;padding:0 5px 0px 5px;z-index:1px;}
#middle_post #post_gallery_title.ativado a{color:white;text-decoration:none;}

h2.noticias{color:#EB981B;border-bottom:1px solid;font-size:18px;}

#editais,#resultados {width:230px;height:28px;cursor:pointer;-moz-border-radius:4px;margin-bottom:2px;}
#sidebar_posts #editais {background:transparent url(images/editais.jpg) no-repeat;}
#sidebar_posts #resultados {background:transparent url(images/resultados.jpg) no-repeat;}
#sidebar_posts ul{margin:0px;padding:0px;}

.eventos{font-size:11px;}
.eventos h2{color:#043C6B;border-bottom:1px solid;font-size:18px;}
.eventos ul li{border-bottom:1px dotted #C0C0C0;list-style:none;margin-left:0px;padding-left:0px;}
.eventcontent{line-height:1.3em;color:#333;font-size:12px;margin-right:5px;margin-top:-5px;padding-bottom:10px;margin-left:10px;}

#sidebar_posts li.mais_eventos{color:#3F637F;cursor:pointer;font-weight:bold;text-transform: uppercase;font-size:13px;text-align:right;}
#sidebar_posts li.mais_eventos:hover{color:#EB981B;}

#mais_eventos{color:#085792;cursor:pointer;font-weight:bold;text-transform: uppercase;font-size:13px;text-align:right;width:98%;margin-top:10px;}
#mais_destaques{color:#085792;cursor:pointer;font-weight:bold;text-transform: uppercase;font-size:13px;text-align:right;width:90%;}
#mais_destaques:hover{color:#EB981B;}
#mais_eventos:hover{color:#EB981B;}

#sidebar_posts li.enquete{font-size:11px;margin:0px 0px 5px 0px;padding:0px;}
#sidebar_posts li.enquete h2{color:#018458;border-bottom:1px solid;font-size:18px;}
#sidebar_posts a img{margin-bottom:3px;}

/* Fapesb */
.wp-polls-subbar {border-top:1px dotted #018458;padding-top:3px;}

#clear_posts{clear:both;}

h3 #searchresults {color:#FF000A;}

/* ARCHIVES */
#content .categoryposts h3 {font-size:1.2em;margin:0 0 30px 0;}
#content .categoryposts h3 a {color:#000;text-decoration:none;}
#content .categoryposts h3 a:hover {text-decoration:underline;}
#content #posts li {list-style:none;margin:10px 0 0 3px;}
#content #posts li a {color:#000;text-decoration:none;}
#content #posts li a:hover {text-decoration:underline;}

/* COMMENTS */
#comments{position:relative;float:left;width:650px;}
#comments h2 {position:relative;float:left;font-size:1.2em;font-weight:normal;padding:10px;margin:10px 0 0 0;}
#comments p {margin:0 10px 10px 10px;clear:both;}
#comments ul#commentlist {position:relative;float:left;width:650px;}
#comments ul#commentlist li {position:relative;float:left;padding:20px 10px 25px 10px;width:630px;border-bottom:1px dotted #555;margin:0;}
#comments ul#commentlist li.graybox {background:#eee;}
#comments ul#commentlist li .commentheader {position:relative;float:left;width:200px;}
#comments ul#commentlist li .commentheader cite {position:relative;float:left;width:200px;padding:5px 0 8px 0;font-style:normal;font-weight:bold;clear:both;}
#comments ul#commentlist li .commentheader cite a {color:#333;text-decoration:none;}
#comments ul#commentlist li .commentheader cite a:hover {text-decoration:underline;color:#000;}
#comments ul#commentlist li .commentheader .commentnumber {position:relative;float:left;width:200px;font-size:0.8em;}
#comments ul#commentlist li .commentheader .commentnumber a {color:#333;text-decoration:none;}
#comments ul#commentlist li .commentheader .commentnumber a:hover {color:#000;text-decoration:underline;}
#comments ul#commentlist li .commentheader small {color:#888;font-size:0.8em;}
#comments ul#commentlist li .commenttext {position:relative;float:right;width:400px;font-size:0.9em;color:#555;line-height:1.2em;padding:8px 0 0 0;}
#comments ul#commentlist li .commenttext a {color:#000;}
#comments ul#commentlist li .commenttext a:hover {text-decoration:none;}
#comments form#commentform {position:relative;float:left;padding:10px;background:#eee;border:1px solid #ddd;width:630px;}
#comments form#commentform p {padding:5px 0;}
#comments form#commentform input {border:1px solid #ddd;margin:0 10px 0 0;}
#comments form#commentform label {font-size:0.9em;}
#comments form#commentform textarea {width:600px;border:1px solid #ddd;}
#comments form#commentform input#submit {float:right;margin:5px 25px;padding:8px 5px 5px;background:#555;color:#fff;}

/* FOOTER */
#prefooter{clear:both;margin-bottom:15px;}
#footer { position:relative;width:100%;height:214px;text-align:center;font-size:0.8em;color:#888;background:transparent url(images/footer.jpg) no-repeat; }
#footer #info_fapesb {position:absolute; top:125px; right:30px;bottom:8px;font-size:11px;color:white;text-align:right;}
#footer #Maps {position:absolute; top:50px; right:-20px;bottom:8px;font-size:11px;color:white;text-align:right;}
#footer #footer_logo_fapesb{position:absolute;left:0px;bottom:25px;background: transparent;width:auto;height:auto;}
#footerbar div{margin-top:33px;float:left;margin-left:3px;}

#footerbar .wp_bannerize a{margin-right:22px;}

/* IMAGES */
img.centered {display: block;margin-left: auto;margin-right: auto;}
img.alignright {padding: 4px;margin: 0 0 2px 7px;display: inline;}
img.alignleft {padding: 5px;margin: 0 5px 5px 0;display: inline;}
.alignright{float:right;}
.alignleft{float:left;}

.print_page{width:74px;height:17px;background:transparent url(images/botao_imprimir.gif) no-repeat;}
.mail_page{width:63px;height:17px;background:transparent url(images/botao_enviar.gif) no-repeat;}

/* PLUGINS CSS */
.event_date{font-size:12px;color:#085792;font-weight:bold;}
.wp-polls{color:#04498D;}
.event_body{padding:0px;margin:0px;color:#04498D;}

/* Mail Window */
#sendMail{background:#F9FCFF;position:fixed;top:150px;left:50%;margin-left:-225px;width:450px;height:auto;border:1px solid #C0C0C0;-moz-border-radius:4px;}
#contentSendMail{position:relative;width:100%;height:100%;}
#titleSendMail{width:100%;height:25px;background:#085792;text-indent:5px;color:white;font-weight:bold;}
#closeSendMail{width:auto;position:absolute;top:2px;right:5px;cursor:pointer;}
#textSendMail{padding:4px;}
#textareaOf{width:98%;font-size:11px;padding:2px;}
#textareaFor{width:98%;height:50px;font-size:11px;padding:2px;}
#buttonSendMail{margin-top:15px;}
.titleMail{color:#085792;font-weight:bold;}
#hiddenMessage{display:none;}

.td_edital{background:url("/wp-content/themes/fapesb/images/fundo_box.gif") repeat-y;}
.td_base_res{background:url("/wp-content/themes/fapesb/images/base_tb_resultado.jpg") no-repeat;}
.td_aviso{background:url("/wp-content/uploads/2010/11/meio_tb_aviso.jpg") repeat-y;}

.p_wp{background:#E0EBF1;color:#0D73BB;padding-top:2px;text-align:center;font-size:10px;} 
.p_wp a{font-weight:bold;color:#0D73BB;text-decoration:none;}

.more-link {font-size:10px;}