/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body{
	background-color: #333333;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;	
	font-size: 13px;
}

a {color:#006C99;}

.header{
	background: #fff;
	width: 100%;	
}

header{
	height: 100px;
	padding-top: 10px;
	padding-bottom: 30px;
}

header h1{
	background: url(../img/sprite.png) 0 0 no-repeat;
	text-indent:-999em;  
  	overflow: hidden;
  	height:60px;
	float:left;	
	width: 542px;
	margin-left:10px;
	margin-right:25px;
}

header h1 a{
	height:60px;
	width: 542px;
	display:block;	
}

header .sugestions{
	width: 130px;
	float:left;
	height:100px;
	background: url(../img/sprite.png) 0 -60px no-repeat;
	border-left: solid 1px #E8E8E8;
	border-right: solid 1px #E8E8E8;
	text-indent:-999em;  
  	overflow: hidden;  	
}
header .sugestions a{
	height:100px;
	width: 130px;
	display:block;
}

header .lang_search{
	width: 220px;
	float:right;
	padding: 0px 10px 0px 10px;	
}

header .lang_search .lang{
	border-bottom: solid 1px #E8E8E8;
	width:100%;
	height:23px;
	padding-bottom: 20px;
	margin-bottom:20px;
}
header .lang_search .lang ul{
	padding: 0;
	margin: 0;
	list-style-type: none;	
	width:150px;
	height:23px;
	float:right;
}
header .lang_search .lang li{
text-indent:-999em;  
  	overflow: hidden; 
	width:64px; 
	height:23px;
	float:left
}

header .lang_search .lang li.en{
	background: url(../img/sprite.png) 0 -190px no-repeat;
}
header .lang_search .lang li.fr{
	background: url(../img/sprite.png) 0 -220px no-repeat;
	margin-right: 20px;
}
header .lang_search .lang li a{
	width:64px; 
	height:23px;
	display:block;
}

.main{
	width:100%;
	background: url(../img/shadow.png) repeat-x #f9f9f9;
}

.wrapper{
	width: 960px;
	margin: 0 auto;
}

nav.menu_top{
	background: #066D97;
	/*height: 40px;*/
}/*
nav.menu_top ul{
	padding-top: 10px;
	margin-left: 10px;
}
nav.menu_top li{
	float: left;
	margin: 0 10px;
}
nav.menu_top li a{
	text-decoration:none;
	color: #fff;
}*/

.menu_container {
	width:100%;
	background-color: #D60A2A;
	color: #fff;
	height:90px;
	font-weight: 700;
	font-size: 18px;
	margin-left: 0;
}

.menu_container ul{
	list-style-type: none;
	padding: 0;
	margin: 0;
	display:table;
}

.menu_container li{
	/*float: left;*/
	display: table-cell;
	height:90px;
	vertical-align:middle;
}
.menu_container li a{
	text-decoration: none;
	display:block;
	color: #fff;
}
.menu_container ul li.noticias {
	background: url(../img/noticias.png) no-repeat;
	width: 120px;
	/*padding-top: ;*/
	padding-left: 100px;
	border-right: solid 1px #73000F;
}
.menu_container ul li.irssolidario {
	background: url(../img/irss.png) no-repeat;
	width: 160px;
	/*padding-top: ;*/
	padding-left: 90px;
	border-right: solid 1px #73000F;
}	
.menu_container ul li.missao{
	background: url(../img/sprite.png) 0 -245px no-repeat;
	width: 150px;
	border-right: solid 1px #73000F;
	/*padding-top: 20px;*/
	padding-left: 70px;	
}
.menu_container ul li.voluntariado{
	background: url(../img/sprite.png) 0 -335px no-repeat;
	width: 160px;
	border-right: solid 1px #73000F;
	padding-left: 100px;
	/*padding-top: 30px;*/
}
.menu_container ul li.ajuda{
	background: url(../img/sprite.png) 0 -425px no-repeat;
	width: 170px;
	padding-left: 80px;
	/*padding-top: 30px;*/
}
.menu_container ul li.trans{
	background: url(../img/sprite.png) 0 -515px no-repeat;
	padding-left: 90px;
	border-right: solid 1px #73000F;
}
.fotos_destaque {padding-top:20px;}
.container_wrapper {margin:30px 0; background:url(../img/bg_wrappercontainer.png) 729px 0 repeat-y;}
.container{
	float: left;
	width: 710px;
}

aside{
	float:right;
	width: 210px;
	border-left: solid 1px #B9C7CD;
	padding-left: 20px;
}


footer ul{
	padding: 0;
	margin: 0;
	list-style-type: none;
}
footer .menu_footer{
	float:left;
	width:705px;
	padding:20px 20px 20px 0;
	
}

footer .aside_footer{
	width: 210px;
	float:right;
	border-left: solid 1px #666666;
	padding-left: 20px;
}

footer .aside_footer ul{
	text-indent:-999em;  
  	overflow: hidden;	
	color: #999999;
	font-size: 12px;
}

footer .aside_footer ul li{
	padding: 20px 0;
}

footer .aside_footer ul li a{
	text-decoration: none;
	display: block;
	height:42px;
}
	

footer .aside_footer ul li.menu1{
	padding-top: 0;
	text-indent:0em;  
  	overflow: visible;	
	border-bottom: solid 1px #666666;
	text-indent:0em;  
  	overflow: visible;	
}
footer .aside_footer ul li.menu2{
	background:url(../img/sprite.png) 0 -640px no-repeat;
	height: 42px;
	border-bottom: solid 1px #666666;
}
footer .aside_footer ul li.menu3{
	background:url(../img/sprite.png) 0 -720px no-repeat;
	height: 42px;
	border-bottom: solid 1px #666666;
}
footer .aside_footer ul li.menu4{
	background: url(../img/sprite.png) 0 -800px no-repeat;
	height: 42px;
	border-bottom: solid 1px #666666;	
}
footer .aside_footer ul li.menu5{
	text-indent:0em;  
  	overflow: visible;	
}
footer .aside_footer ul li.menu5 a{
	text-indent:0em;  
  	overflow: visible;	
	text-decoration: none;
	display: inline;
	color:#999999;
}

footer .moduletable{
	font-size: 16px;
}
footer .moduletable h3{
	color: #fff;
	font-weight:700;
	font-size: 18px;
}

aside .moduletable h3 {color: #006C99;
	font-size: 22px;
	margin-top:0; }
aside .moduletable h4 {color: #333;
	font-size: 18px;
	margin:0; }
aside .moduletable p {margin-top:0; font-size:12px;}
.search{
	
}

.search .element-invisible{
	display: none;
}
.acymailing_form{
	font-size: 16px;
}
.acymailing_form input[type=text], .search input[type=text], .search input[type="search"] {
	width: 160px;
	height: 26px;
	border: solid 1px #F5F5F5;
	background-color: #E8E8E8;
	padding-left: 10px;
	color: #666666;
	-webkit-border-radius: 4px 0px 0px 4px;
	border-radius: 4px 0px 0px 4px;
	-webkit-appearance: none;
	margin:0;
	font-size: 13px;
	float:left;
}
.acymailing_form input[type=submit] {
	width: 40px;
	height: 30px;
	text-indent: -999em;
	background: url(../img/sprite.png) 5px -948px no-repeat #006C99;
	border: 0;
	padding: 0;
	-webkit-border-radius: 0px 4px 4px 0px;
	border-radius: 0px 4px 4px 0px;
	margin:0;
	float:left;
}
.search button {
	width: 40px;
	height: 30px;
	text-indent: -999em;
	background: url(../img/sprite.png) 0 -903px no-repeat #006C99;
	border: 0;
	padding: 0;
	-webkit-border-radius: 0px 4px 4px 0px;
	border-radius: 0px 4px 4px 0px;
	margin:0;
	float:left;
}

footer .moduletable_menu{
	float: left;
	width: 200px;
	padding-right: 30px;
	font-size: 12px;
}
footer .moduletable_menu a{
	text-decoration: none;	
}

/*first level*/
footer .moduletable_menu ul a{
	text-transform: uppercase;
	font-weight: 700;
	color: #999999;
}
/*second level*/
footer .moduletable_menu ul li ul a, footer .moduletable_menu .item-218 a, footer .moduletable_menu .item-224 a{
	text-transform: none;
	font-weight: 400;
	color: #fff;
}
/*third level*/
footer .moduletable_menu ul li ul li ul a:before, footer .moduletable_menu .item-218 ul a:before, footer .moduletable_menu .item-224 ul a:before{
	content: "- ";
}


h2{
	color: #006C99;
	font-size: 22px;
	margin-top:0; 
}
h2 a{
	text-decoration: none;
	color: #006C99;	
}
.items-leading h2{
	color: #333;
	font-size: 18px;
	margin-top:0; 
}

.items-leading h2 a{
	text-decoration: none;
	color: #333;	
}

.pagination-list {display:table; border-collapse:collapse;}
.pagination-list li{display:table-cell; width:20px; height:20px; background:#F0F4F6; padding:5px; text-align:center; border:solid 1px #B9C7CD;}
.pagination-list li a {padding:5px;margin:-5px; display:block;}
.pagination-list li.active {background:#D5DDE0;}
.pagination-list li.disabled {display:none;}
.pagination-list li i{font-style:normal;}
.pagination-list li i.icon-first:before {content:"Inicio"; }
.pagination-list li i.icon-previous:before  {content:"Anterior";}
.pagination-list li i.icon-next:before  {content:"Seguinte";}
.pagination-list li i.icon-last:before  {content:"Fim";}

.fotos_destaque .moduletable {padding:10px; background:#fff; border: solid 1px #B9C7CD; border-radius:6px;}

.noticias {background:url(../img/bg_news.png) repeat-y;}

.ccms_form_element {padding: 5px 0px 5px 5px;}
.ccms_form_element label {margin: 6px 20px 9px 0; text-align:right;}
.ccms_form_element input[type="submit"] {margin-left: 170px; background:#333; border:0; border-radius:4px; text-align:center; font-size:14px; color:#fff;}
.ccms_form_element input[type="text"], .ccms_form_element textarea{width:320px;}
.chrono_credits{display:none !important;}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
