/* RESET AND GENERAL */
body { margin: 0; padding: 0; padding-top: 65px; }
form { margin: 0; padding: 0;}
fieldset { border: none; margin: 0; padding: 0; }
.clr { clear: both; }
/* SEE ALSO editor.css */


/* WIREFRAME */
#hBannerWrap,
#main,
#imgmenu-wrap,
#imgmenufooter-wrap,
#footersearch,
#footer,
#header-wrap { margin: 0 auto; width: 990px; }

#main { padding: 0 0 5px; margin-bottom: 10px; position: relative; }
#defaultpage #main { width: 980px; padding: 5px; min-height: 400px;
-moz-box-shadow: 0px 5px 10px #ccc; -webkit-box-shadow: 0px 5px 10px #ccc; box-shadow: 0px 5px 10px #ccc; }

#front-articles { float: left; width: 415px; padding: 0; margin-right: 30px; }
#front-news { float: left; width: 301px; padding: 0; margin-right: 30px; }
#front-right { float: left; width: 214px; padding: 0; }

#left { float: left; width: 230px; padding-right: 20px; margin-top: 35px; }
#content { float: right; width: 726px; padding: 0 2px; margin-top: 35px; }
#content.wide { float: none; width: auto; }

/* STYLES */

img { max-width: 100%; height: auto; }

#header { position: fixed; top: 0; left: 0; right: 0; z-index: 99; padding: 0; margin: 0; 
background-color: #fff; border-bottom: 1px solid #f3f3f3;  box-shadow: #e5e5e5 0 0 10px; }

#header-wrap { position: relative; height: 50px; }
#logo { position: absolute; top: 0; left: 0; width: 120px; }
#logo a { display: block; height: 40px; text-indent: -25000px; 
background: url(http://cdn.apee.pt/2013/logo-apee.png) no-repeat 0 10px; background-size: 112px 30px; }


/* TOP MENU (UL) */
#topmenu { float: right; margin: 0; padding: 0; }
#topmenu li { list-style: none; text-transform: lowercase; display: block; float: left; margin: 0; }
#topmenu a { display: block; height: 50px; line-height: 50px; padding: 0 8px; color: #666; font-size: 14px;
font-family: "Book Antiqua", Georgia, serif; }
#topmenu a:hover { color: #ff7700; text-decoration: none; }
#topmenu .active a { color: #ff7700; }


/* HOME BANNER */
#hBannerWrap { overflow: hidden; background: #fff url(http://cdn.apee.pt/2011/loader.gif) no-repeat center center;
-moz-box-shadow: 0px 5px 10px #ccc; -webkit-box-shadow: 0px 5px 10px #ccc; box-shadow: 0px 5px 10px #ccc; margin-bottom: 6px; }


/* IMAGE MENU (front) */
#imgmenu-wrap { margin-bottom: 20px; }
#imgmenu { margin: 0; padding: 0; overflow: hidden; height: 105px; white-space: nowrap; }
#imgmenu li { display: inline-block; list-style: none; font-size: 11px; }
#imgmenu a { display: block; width: 105px; height: 105px; padding: 0; margin-right: 6px; text-indent: -25000px;
background: #fff url(http://cdn.apee.pt/2011/imgmenu/btn-apee.png) no-repeat 0 0; }
#imgmenu a:hover { background-position: 0 -105px; }

.lteIE7 #imgmenu li { display: block; float: left; }
.lteIE7 #imgmenu a { margin-right: 5px; }

#imgmenu .item-116 a { background-image: url(http://cdn.apee.pt/2011/imgmenu/btn-associados.png); }
#imgmenu .item-126 a { background-image: url(http://cdn.apee.pt/2011/imgmenu/btn-srs.png); }
#imgmenu .item-117 a { background-image: url(http://cdn.apee.pt/2011/imgmenu/btn-formacao.png); }
#imgmenu .item-118 a { background-image: url(http://cdn.apee.pt/2011/imgmenu/btn-agenda.png); }
#imgmenu .item-119 a { background-image: url(http://cdn.apee.pt/2011/imgmenu/btn-projetos.png); }
#imgmenu .item-127 a { background-image: url(http://cdn.apee.pt/2011/imgmenu/btn-normalizacao.png); }
#imgmenu .item-120 a { background-image: url(http://cdn.apee.pt/2011/imgmenu/btn-protocolos.png); }
#imgmenu .item-121 a { background-image: url(http://cdn.apee.pt/2011/imgmenu/btn-gcnp.png); }


/* IMAGE MENU (others) */
#imgmenufooter-wrap { padding-bottom: 0; padding-top: 0px; border: none; margin-bottom: 10px; }
#imgmenufooter { margin: 0; padding: 0; overflow: hidden; height: 50px; text-align: right; white-space: nowrap; }
#imgmenufooter li { display: inline-block; list-style: none; font-size: 11px; }
#imgmenufooter a { display: block; width: 50px; height: 50px; margin-left: 10px; margin-right: 0; text-align: left;
background: #fff url(http://cdn.apee.pt/2011/imgmenubottom/btn-apee.png) no-repeat 0 0; text-indent: -25000px; }
#imgmenufooter .active a,
#imgmenufooter a:hover { background-position: 0 -50px; }

.lteIE7 #imgmenufooter { float: right; }
.lteIE7 #imgmenufooter li { display: block; float: left; }
.lteIE7 #imgmenufooter a {  }
.lteIE7 #imgmenufooter li:last-child a { margin-left: 0; }

#imgmenufooter .item-139 a { background-image: url(http://cdn.apee.pt/2011/imgmenubottom/btn-associados.png); }
#imgmenufooter .item-140 a { background-image: url(http://cdn.apee.pt/2011/imgmenubottom/btn-srs.png); }
#imgmenufooter .item-141 a { background-image: url(http://cdn.apee.pt/2011/imgmenubottom/btn-formacao.png); }
#imgmenufooter .item-142 a { background-image: url(http://cdn.apee.pt/2011/imgmenubottom/btn-agenda.png); }
#imgmenufooter .item-143 a { background-image: url(http://cdn.apee.pt/2011/imgmenubottom/btn-projetos.png); }
#imgmenufooter .item-144 a { background-image: url(http://cdn.apee.pt/2011/imgmenubottom/btn-normalizacao.png); }
#imgmenufooter .item-145 a { background-image: url(http://cdn.apee.pt/2011/imgmenubottom/btn-protocolos.png); }
#imgmenufooter .item-146 a { background-image: url(http://cdn.apee.pt/2011/imgmenubottom/btn-rpgc.png); }


#footersearch { position: relative; z-index: 999; }
#footersearch .moduletable { overflow: hidden; position: absolute; margin-top: -62px;}
#footersearch h3 { margin-bottom: 8px; }
#footersearch #mod-search-searchword { width: 224px; padding: 0 2px; border-color: #ddd; height: 20px; line-height: 20px; }
#footersearch input[type=submit] { position: absolute; margin: 3px 0 0 -19px; border:none; background-color: #ccc; outline: none;
padding: 0 0 0 25px; width: 16px; height: 16px; background: transparent url(http://cdn.apee.pt/2011/pesquisa.png) no-repeat 0 0;
cursor: pointer; }
#footersearch input[type=submit]:hover { background-position: 0 -16px; }

/* LOGOS ASSOCIADOS */
#homeLogosAssoc,
#leftLogosAssoc { border: 1px solid #ddd; }
#footersearch .leftLogosAssoc { position: absolute; bottom: 75px; left: 5px; margin: 0; z-index: 99; width: 220px; }
.leftLogosAssoc h3 { margin-bottom: 0.5em; }

#homeLogosAssoc a {  }

#footersearch.noLeft .leftLogosAssoc { display: none; }

/* FOOTER */
#footer { font-family: "Book Antiqua", Georgia, serif; background: #999 url(http://cdn.apee.pt/2011/footer-bg.jpg) repeat-x 0 0; 
text-transform: lowercase; height: 30px; line-height: 30px; margin-bottom: 10px; white-space: nowrap; font-size: 12px; }
#footer a { color: #333; }
#footer a:hover { color: #111; }
#footer-copy { float: left; margin-left: 15px; color: #333; text-shadow: #ccc 0 1px 0; }
#footermenu { float: right; margin: 0 15px 0 0; padding: 0; }
#footermenu li { list-style: none; display: inline-block; }
#footermenu a { display: block; padding: 0 3px; margin-left: 5px; text-shadow: #ccc 0 1px 0; }

.lteIE7 #footermenu li { display: block; float: left; }

/* JOOMLA CUSTOM */
.moduletable h3 { color: #222; }
.search { margin-bottom: 10px; }
#mod-search-searchword { border: 1px solid #777; padding: 2px 3px; outline: none; }
.article-info-term { display: none; }
.readmore { margin: -5px 0 0; text-align: right; text-transform: lowercase; }
.readmore a { display: inline-block; padding: 4px 10px; }

/* article buttons */
.article-buttons { margin: 0; padding: 0; float: right; margin-top: -3em; }
.article-buttons li { list-style: none; display: inline-block; }
.lteIE7 .article-buttons li { display: block; float: left; }
.article-buttons a { display: block; width: 16px; height: 18px; line-height: 0; margin-right: 3px; }
.article-buttons img { display: none; }
.article-buttons .email-icon a { background: transparent url(http://cdn.apee.pt/2011/art-buttons/email-apee.png) no-repeat 0 1px; }
.article-buttons .print-icon a { background: transparent url(http://cdn.apee.pt/2011/art-buttons/print-apee.png) no-repeat 0 1px; }
.article-buttons a:hover { background-position: 0 -18px; }

.article-info { float: right; font-size: 10px; margin: 5px 0 10px 17px; color: #222; }
.article-info dd { margin: 0; background-color: #eee; padding: 2px 5px 2px; line-height: 1em; }

#article-index { float: right; border: 1px solid #ddd; background-color: #eee; margin: 0 0 10px 10px; }
#article-index ul { margin: 5px 20px 5px 5px; }
#article-index li { margin: 0; }

.pagenavcounter { margin: -5px 0 10px; color: #777; font-size: 11px; }
.pagination { text-align: center; }
.pagination .counter { display: none; }
.pagination ul { padding: 0; margin: 20px 0; }
.pagination li { list-style: none; display: inline-block; margin: 0 3px; color: #777; }
.pagination a,
.pagination span { display: block; padding: 5px 14px; background-color: #eee; color: #444; border-radius: 3px; }
.pagination span { color: #aaa; background-color: #f2f2f2; }
.pagination a:hover { background-color: #bbb; color: #222; text-decoration: none; }

/* MAIN CONTENT (front) */
#frontpage h1,
#frontpage h3 { font-size: 1.35em; color: #222; margin: 0 0 10px 0; }

#frontpage h4,
#frontpage h2 { font-size: 1.1em; margin: 0 0 2px; }


#front-articles .item-separator { margin: 5px 0 10px; border-top: 1px solid #f4f4f4; }

#front-news ul { margin: 0; padding: 0; }
#front-news li { list-style: none; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #f4f4f4; }
#front-news .mod-articles-category-date { float: right; background-color: #eee; color: #222; margin: 3px 0 0 5px; padding: 3px 5px 1px; font-size: 10px; line-height: 10px; }
#front-news .mod-articles-category-readmore { text-align: right; margin: -1em 0 5px; text-transform: lowercase; }

#front-right .moduletable { margin-bottom: 1.1em; }

.mod-contact { text-transform: lowercase; }


/* MAIN CONTENT (others) */
#defaultpage .item-content.moocols {
	-moz-column-count: 2;
	-moz-column-gap: 1.5em;
	-moz-column-rule: none;
	-webkit-column-count: 2;
	-webkit-column-gap: 1.5em;
	-webkit-column-rule: none;
	/* future proof */
	column-count: 2;
	column-gap: 1.5em;
	column-rule: none;
}


#content,
#left { border-top: 1px solid #ddd; }
#left { position: relative; margin-bottom: 250px; }
#leftmenu { margin: 0; padding: 0; text-transform: lowercase; }
#leftmenu li { list-style: none; margin: 0; border: 1px solid #ddd; border-width: 0 1px; }
#leftmenu .separator {border-bottom: 1px solid #ddd;padding: 6px 10px;line-height:1.8em;font-weight:bold;display:block;}
#leftmenu li a { border-bottom: 1px solid #ddd; display: block; padding: 4px 10px;  }
#leftmenu li a:hover { background-color: #eee; text-decoration: none; color: #222; }
#leftmenu li.active a { background-color: #eee; color: #222; }
#leftmenu li.active li a{ background-color: #fff; }
#leftmenu li.active li a:hover { background-color: #eee; text-decoration: none; color: #222; }
#leftmenu li.active li.current a{ background-color: #eee; color: #222; }
#leftmenu li ul{margin:4px 2px 0px 2px;}
#leftmenu li li {border:none;}
#leftmenu li li a { border-bottom: 1px solid #ddd; display: block; padding: 4px 6px;  }
#leftmenu li li li a {padding:1px 6px;}
.contentWrap h1 { position: absolute; top:0; left: 10px; height: 35px; line-height: 38px; margin: 3px 0 0; background: transparent none no-repeat 0 0; }

.contentWrap .item-content { font-size: 14px; }
#content h2 { padding-top: 15px; font-size: 22px; line-height: 1.25; }

.blog .article-buttons {}
.blog .item-separator { height: 1em; }

.item-page .article-buttons { position: absolute; top: 10px; right: 5px; float: none; margin: 0; }

.cols-2 { overflow: auto; }
.lteIE7 .cols-2 { overflow: hidden; }
.cols-2 .column-1 { float: left; width: 48%; }
.cols-2 .column-2 { float: right; width: 48%; }


#contacts-table { width: 100%; border-spacing: none; margin: 5px 0 25px; }
#contacts-table td { vertical-align: top; }
#contacts-table h2 { margin-bottom: 0; }
#contacts-map { width: 550px; }
#contacts-map iframe { border: none; height: 400px; }
#contacts-address { padding: 0 20px; }
#contacts-form { width: 0px; }


#left .category-module { margin: 0; padding: 0; }
#left .category-module li { list-style: none; margin: 0; border: 1px solid #ddd; border-width: 0 1px; }
#left .category-module h4 { padding: 0; }
#left .category-module a { border-bottom: 1px solid #ddd; display: block; padding: 4px 10px;  }
#left .category-module a:hover { background-color: #eee; text-decoration: none; color: #222; }

/* SECTION CUSTOMS */

/* PAGE TITLE AND ICON */
/* .section-apee  */
.contentWrap h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/apee.png); }
.contentWrap.section-associados h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/associados.png); }
.contentWrap.section-srs h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/srs.png); }
.contentWrap.section-formacao h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/formacao.png); }
.contentWrap.section-eventos h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/agenda.png); }
.contentWrap.section-projectos h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/projetos.png); }
.contentWrap.section-normalizacao h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/normalizacao.png); }
.contentWrap.section-protocolos h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/protocolos.png); }
.contentWrap.section-rpgc h1 { padding: 0 0 0 40px; background-image: url(http://cdn.apee.pt/2011/section-icons/gcnp.png); }

/* LEFT MENU + ARTICLE TITLES */

.section-apee .menu_left a,
.section-apee h2 { color: #5E9732; }
.section-associados .menu_left a,
.section-associados h2 { color: #7AC143; }

.section-srs .menu_left a,
.section-srs h2 { color: #F1CB00; }
.section-formacao .menu_left a,
.section-formacao h2 { color: #F9A253; }
.section-eventos .category-module a,
.section-eventos .menu_left a,
.section-eventos h2 { color: #D9531E; }

.section-projectos .menu_left a, .section-projectos .separator,
.section-projectos h2 { color: #D60C8C; }
.section-normalizacao .menu_left a,
.section-normalizacao h2 { color: #7A5EA3; }
.section-protocolos .menu_left a,
.section-protocolos h2 { color: #0054A4; }
.section-rpgc .menu_left a,
.section-rpgc h2 { color: #009DDC; }

/* print icon */
.section-apee .print-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/print-apee.png); }
.section-associados .print-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/print-associados.png); }
.section-srs .print-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/print-srs.png); }
.section-formacao .print-icon a { /* DEFAULT */ }
.section-eventos .print-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/print-eventos.png); }
.section-projectos .print-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/print-projectos.png); }
.section-normalizacao .print-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/print-normalizacao.png); }
.section-protocolos .print-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/print-protocolos.png); }
.section-rpgc .print-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/print-rpgc.png); }
/* email icon */
.section-apee .email-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/email-apee.png); }
.section-associados .email-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/email-associados.png); }
.section-srs .email-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/email-srs.png); }
.section-formacao .email-icon a { /* DEFAULT */ }
.section-eventos .email-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/email-eventos.png); }
.section-projectos .email-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/email-projectos.png); }
.section-normalizacao .email-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/email-normalizacao.png); }
.section-protocolos .email-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/email-protocolos.png); }
.section-rpgc .email-icon a { background-image: url(http://cdn.apee.pt/2011/art-buttons/email-rpgc.png); }



/* SEARCH PAGE */
#searchPage {}
#searchForm { float: left; width: 230px; padding-top: 5px; position: relative; }
#searchBox { width: 224px; margin-bottom: 10px; padding: 0 2px; border: 1px solid #ddd; height: 20px; line-height: 20px; }
#searchBtn { position: absolute; margin: 3px 0 0 -19px; border:none; background-color: #ccc; outline: none;
padding: 0 0 0 16px; width: 16px; height: 16px; background: transparent url(http://cdn.apee.pt/2011/pesquisa.png) no-repeat 0 0;
cursor: pointer; overflow: hidden; } 
#searchBtn:hover { background-position: 0 -16px; }
#sfTotal { margin: 5px 0; font-weight: bold; color: #666; }
#searchForm .ordering-box label,
#searchForm .form-limit label { display: inline-block; width: 80px; }

#searchResults { margin: 0 0 0 250px; padding-top: 5px; }
.searchResult { position: relative; padding: 0 0 0 30px; margin: 0 0 1.2em 0; }
.srIndex { position: absolute; top: 1px; left: 0; width: 30px; text-align: center; display: block;
font-size: 14px; color: #777; font-family: "Book Antiqua", Georgia, serif; }
#searchResults .srTitle { padding: 0 2px; margin: 0 0 5px 0; }
.srCategory { float: right; display: block; background-color: #eee; color: #222; margin: 0 0 0 5px; padding: 3px 5px 3px; font-size: 12px; line-height: 12px; }
.srText { color: #555; }
.srText .highlight { font-weight: bold; }

.assoc-colect h3 { margin-bottom: 2px; color: #666; border: 1px solid #eee; padding: 2px 5px; }
.assoc-colect h3 a { display: block; color: #666; margin: -2px -5px; padding: 2px 5px; }
.assoc-colect h3 a:hover { color: #7AC143; text-decoration: none; }

.protocolos-item { width: 100%; }
.protocolos-logo { border: 1px solid #ddd; width: 150px; text-align: center; height: 70px; }
#content .protocolos-label h2 { margin: 0; padding: 0 5px; }
.protocolos-label a { display: block; padding: 0 2px; color: #0054A4; }

#content iframe { border: none; }

/* PRINT */
#component { padding: 15px; }
#component #header-wrap { width: auto; padding: 0; }
#component #logo { position: static; width: auto; }
#component #logo a { float: right; width: 113px; }
#component .item-content { text-align: justify; }
#component .item-page { margin-top: 1.5em; }
#component .item-page h1 { display: none; }


#softag { clear: both; width: 960px; margin: 0 auto; font-size: 10px; text-align: right; padding-bottom: 5px; }
#softag a { color: #bbb; text-decoration: none; }
#softag a:hover { color: #555; }


/* !- RESPONSIVE */

#topmenuMobile { display: none; }

@media (max-width: 1024px) {

	body { -webkit-text-size-adjust:none; font-size: 14px; }

	#hBannerWrap,
	#main,
	#imgmenu-wrap,
	#imgmenufooter-wrap,
	#footersearch,
	#footer,
	#softag,
	#header-wrap { width: auto; margin: 0 20px; }
	
	#imgmenu-wrap { border-bottom: none; }
	#imgmenu { display: table; width: 101%; height: auto; margin: 10px 0 30px; }
	#imgmenu li { display: table-cell; }
	#imgmenu a { width: auto; padding-bottom: 90%; line-height: 0; height: auto; background-size: cover; margin: 0; border-right: 3px solid #fff; }
	#imgmenu a:hover { background-position: left bottom; opacity: 0.9; }
	
	#hBannerWrap { box-shadow: none; }

	#front-articles,
	#front-right *,
	#left,
	#content,
	#front-news { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }

	#front-articles { width: 56%; padding-right: 30px; margin: 0 0 30px; }
	#front-news { width: 44%; margin-right: 0; margin-bottom: 30px; }

	#front-right { float: none; clear: both; width: auto; margin-top: 30px; height: auto !important }
	#front-right .moduletable { float: left; width: 56%; padding-right: 30px; }
	#front-right .homeLogosAssoc { width: 44%; padding-right: 0;  }

	#defaultpage #main { width: auto; padding: 5px 0; box-shadow: none; }
	#left { width: 35%; margin-bottom: 0; }
	#content { width: 65%; }
	#defaultpage .item-content.moocols { -webkit-column-count:1; -moz-column-count:1; column-count:1; }
	
	.readmore a { background-color: #eee; border-radius: 3px; color: #222;  }
	
	#footersearch,
	.leftLogosAssoc { display: none; }
	
	#imgmenufooter-wrap { margin-bottom: 10px; }

}

@media (max-width: 880px) {

	#topmenu { position: absolute; top: 10px; right: 0; margin: 0 22px; width: 35%; z-index: 999; box-shadow: 0 0 10px #999;
		padding: 3px; background-color: #222;
		/* MOBILE JERKY ANIMATION FIX */
		-webkit-transform: translate3d(150%,0,0);
		-moz-transform: translate3d(150%,0,0);
		-ms-transform: translate3d(150%,0,0);
		-o-transform: translate3d(150%,0,0);
		transform: translate3d(150%,0,0);
		-webkit-transition: -webkit-transform 0.2s ease;
		-moz-transition: -moz-transform 0.2s ease;
		-ms-transition: -ms-transform 0.2s ease;
		-o-transition: -o-transform 0.2s ease;
		transition: transform 0.2s ease;
		border-radius: 3px 0 3px 3px;
		overflow: hidden;
	}

	#topmenu.show {
		-webkit-transform: translate3d(0,0,0);
		-moz-transform: translate3d(0,0,0);
		-ms-transform: translate3d(0,0,0);
		-o-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}
	
	#topmenu li { display: block; float: none; margin:0; border-bottom: 1px solid #444; }
	#topmenu a { display: block; background: #222; color: #fff; margin: 0; height: auto; line-height: 1em; padding: 8px 40px 8px 12px; font-size: 1.2em; }
	#topmenu .active a { background-color: #444; }

	#topmenuMobile { display: block; position: absolute; z-index: 9999; border-radius: 3px; right: -7px; top: 10px; width: 30px; height: 30px; line-height: 30px;
	text-align: center; background-color: #444; color: #fff; font-size: 2em; }
	#topmenuMobile:before { content: "\2630"; }
	#topmenuMobile:hover { background-color: #222; cursor: pointer; }
	#topmenuMobile.open { background-color: #222; border-radius: 0 3px 3px 0; }
	#topmenuMobile.open:before { content: "›"; }

	.cols-2 .column-1 { float: none; width: auto; }
	.cols-2 .column-2 { float: none; width: auto; }
	.blog .item { border-bottom: 1px solid #eee; margin-bottom: 20px; }


}

@media (max-width: 600px) {

	#topmenu { width: auto; }

	#front-articles { float: none; width: auto; margin: 0; padding: 0; border: none; }
	#front-news { float: none; width: auto; margin: 0; padding: 0; }

	#front-right .moduletable { width: 50% }
	#front-right .homeLogosAssoc { width: 50%; }
	
	#content { float: none; width: auto; border: none; margin: 0; }
	#left { float: none; width: auto; padding: 0; margin: 25px 0; border: none; }
	#left:before { content: "Mais nesta secção"; display: block; padding: 0 0 10px 10px; border-bottom: 1px solid #ddd;
	color: #222; font-size: 18px; font-family: "Book Antiqua",Georgia,serif; text-transform: lowercase; }
	#left .category-module a,
	#left li a { padding: 8px 10px; font-size: 1.1em; }

	td img { width: 100%; }
	.protocolos-logo { width: 40% !important; }

	.contentWrap h1 { position: relative; top: 0; left: 0; margin-bottom: 25px; line-height: 1.1em; height: auto; min-height: 30px; border-bottom: 1px solid #ddd; }
	.article-buttons { display: none; }
	
	#imgmenufooter { display: table; width: 100%; height: auto; margin: 10px 0 30px 0; }
	#imgmenufooter li { display: table-cell; }
	#imgmenufooter a { width: auto; padding-top: 90%; line-height: 0; height: auto; background-size: cover; margin: 0; border-right: 3px solid #fff; }
	#imgmenufooter .active a { background-position: left bottom; }
	#imgmenufooter a:hover { background-position: left top; opacity: 0.9; }
	
	#searchForm { float: none; width: auto; }
	#searchBox { height: auto; line-height: 1em; font-size: 1.1em; padding: 4px; }
	#searchBtn { margin-top: 5px; }
	#searchForm .ordering-box { display: none; }
	#searchResults { margin: 0; }
	
	.assoc-colect table { display: block; }
	.assoc-colect tr { display: block; }
	.assoc-colect td { display: block; width: 100% !important; }
	.assoc-colect h3 { border: none; padding: 8px 0; border-bottom: 1px solid #ddd; font-size: 1.2em; }
	.assoc-colect h3 a { color: #444; }
	
	#contacts-map { display: none; }
	
	#footer { margin: 20px 20px; }
	#footer-copy { display: none; }
	#footermenu { float: none; display: table; width: 100%; text-align: center;  }
	#footermenu li { display: table-cell; }
	
	#softag { margin-bottom: 20px;}
}