body { background: #AAA; font-family: Helvetica, Arial, sans-serif; }

#container { max-width: 940px; padding: 10px; margin: 10px auto; box-shadow: 0 0 21px #666; background: #FFF; border-radius: 5px; }

#header { color: #FFF; margin: 0; padding: 0; }
#header h1 { margin: 0; color: #FFF; font-weight: normal; letter-spacing: 1px; font-size: 270%; }
#header h1 a { padding: 20px 20px 20px 20px ; color: #FFF; background: #105A9D url(images/ASG_logo_art_243x115.png) center right no-repeat; display: block; text-decoration: none; border-radius: 4px; }
#header h1 a:hover { background: #004A8D url(images/ASG_logo_art_243x115.png) center right no-repeat; }

#headerclean { color: #FFF; margin: 0; padding: 0; }
#headerclean h1 { margin: 0; color: #FFF; font-weight: normal; letter-spacing: 1px; font-size: 270%; }
#headerclean h1 a { padding: 20px 20px 20px 20px ; color: #FFF; background: #105A9D; display: block; text-decoration: none; border-radius: 4px; }
#headerclean h1 a:hover { background: #004A8D; }

#topmenu { background: #777; margin: 5px 0; font-size: 90%; border-radius: 4px; }
#topmenu ul { padding: 9px 0 8px 0; margin: 0; }
#topmenu li { padding: 0; margin: 0; list-style: none; display: inline-block; }
#topmenu a { padding: 11px 9px 10px 9px; color: #FFF; text-decoration: none; }
#topmenu a:hover { background: #444; }
#topmenu a.home { padding: 11px 9px 10px 20px; border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
#topmenu a.hindmost { padding-right: 9px; /*background: #ccc;*/ }

/*#topimage { background: #CCC url(images/topimage/rotate.php); height: 230px; border-radius: 4px; }*/

#contenthome { padding: 0; margin: 0; background: #105A9D; border-top-left-radius: 4px; border-top-right-radius: 4px; }
#contenthome #texthome { float: left; padding: 40px 0 0 40px; margin: 0; width: 330px; border: 0px solid #963; }
#contenthome #texthome p { line-height: 150%; color: #FFF; margin-top: 0; }
#contenthome #texthome p:first-letter { font-size: 120%; }

#contenthome #bluemaphome { float: right; background: #105A9D; border-radius: 4px; width: 510px; height: 460px; padding: 30px 30px 0 0; margin: 0 10px 0 0; border: 0px solid #963; overflow: hidden; }

#content #afrotheriaafrica { position: relative; float: right; width: 470px; height: 368px; padding: 0; margin: 10px -30px 0 0px; /*background: #EFEFEF;*/ border-radius: 4px; text-align: center; }
#content #afrotheriaafrica #aardvark { position: absolute; top: 129px; left: 5px; }
#content #afrotheriaafrica #goldenmole { position: absolute; top: 281px; left: 147px; }
#content #afrotheriaafrica #hyrax { position: absolute; top: 24px; left: 295px; }
#content #afrotheriaafrica #sengi { position: absolute; top: 169px; left: 213px; }
#content #afrotheriaafrica #tenrec { position: absolute; top: 288px; left: 312px; }
#content #afrotheriaafrica #clickonphotos { position: absolute; top: 353px; left: 210px; color: #AAA; font-size: 80%; }

#content p.parahome { line-height: 150%; margin-top: 0; }
/*#content p:first-letter { font-size: 120%; }*/

#rightcolumn { float: right; border-radius: 4px; background: #E3E3E3; max-width: 220px; padding: 15px; margin: -20px -20px 0 20px; }

#content { padding: 20px; }
#content h2 { margin-top: 0px; line-height: 100%; font-weight: normal; color: #666; font-size: 160%; }
#content h3 { font-weight: normal; color: #555; font-size: 125%; line-height: 125%; }
#content h4 { font-weight: normal; color: #444; font-size: 115%; }
#content p, ul, ol { line-height: 150%; color: #464646; }
#content ul, ol, li { margin-left: 11px; padding-left: 0; }
#content strong, b { color: #555; }
#content strong.redlist, b.redlist { color: #C00; } 
#content a { color: #105A9D; }

#content table.systematicstop { border-radius: 4px; width: 80%; }
#content table.systematicstop td { background: #DDD; color: #444; padding: 8px 8px 7px 8px; }


#content table.systematics { border-radius: 4px; }
#content table.systematics td { background: #DDD; color: #444; padding: 8px 8px 7px 8px; }
#content table.systematics td.ul { border-top-left-radius: 4px; }
#content table.systematics td.ur { border-top-right-radius: 4px; }
#content table.systematics td.bl { border-bottom-left-radius: 4px; }
#content table.systematics td.br { border-bottom-right-radius: 4px; }

#content td blockquote { margin: 0; padding: 0; }

#content #roundedbox { background: #EEE; border-radius: 7px; padding: 15px 15px 1px 15px; }
#content #roundedbox h3.redcenter { text-align: center; color: #C00; font-weight: bold; }
#content #roundedbox p { color: #333; font-size: 90%; line-height: 130%; margin: 5px 0; font-weight: bold; }
#content #roundedbox img { border-radius: 4px; }
/*#content #roundedbox:after { content: "<br clear=\"all\">"; }*/


#content #roundedboxconservation { width: 506px; float: right; margin: 0 0 10px 18px; background: #EEE; border-radius: 7px; padding: 15px 15px 1px 15px; }


#content #roundedboxnormal { background: #EEE; border-radius: 7px; padding: 15px 15px 1px 15px; }
#content #roundedboxnormal h3.cornertag { padding: 15px 25px; margin: -15px 0 0 -15px; color: #FFF; background: #105A9D; border-top-left-radius: 7px; border-bottom-right-radius: 7px; float: left; }
#content #roundedboxnormal h3.redcenter { text-align: center; color: #C00; font-weight: bold; }
#content #roundedboxnormal p { color: #333; font-size: 100%; line-height: 130%; }
#content #roundedboxnormal img { border-radius: 4px; }
/*#content #roundedbox:after { content: "<br clear=\"all\">"; }*/

#content #image180 { float: left; background: #CCC; height: 176px; width: 176px; border-radius: 6px; padding: 0; margin: 0 5px 0 0; }
#content #image180last { float: left; background: #BBB; height: 176px; width: 176px; border-radius: 6px; padding: 0; margin: 0 0px 0 0; }

#content #imagegroupwide { margin: 5px 0 0 0; }
#content #imagegroupwide img { float: left; /*background: #CCC;*/ height: 176px; width: 176px; border-radius: 5px; padding: 0; margin: 0 5px 5px 0; box-shadow: 0 0 0px #999; }
#content #imagegroupwide img.last { margin: 0 0px 0 0; }

#content #imageright { float: right; margin: 5px 0 10px 20px; }
#content #imageright img { border-top-left-radius: 5px; border-top-right-radius: 5px; margin: 0; padding: 0; }
#content #imageright img.shadowed { box-shadow: 0 0 9px #999; }

#content #imageright #imagecaption p { margin: 0; padding: 7px 7px 7px 9px; font-size: 90%; line-height: 130%; background: #EEE; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;}

#content #photogalleryimage { background: #EEE; border-radius: 5px; padding: 15px 15px 15px 15px; margin: 0 0 20px 0; }
#content #photogalleryimage img { float: left; border-radius: 4px; margin: 0 15px 0px 0; }
/*#content #photogalleryimage img:after { content: "<br clear=\"all\">"; }*/
#content #photogalleryimage p { color: #444; font-size: 90%; line-height: 150%; margin-top: 0; margin-bottom: 0; }

#content #tableofcontents { 
padding: 15px 15px 15px 15px; 
margin: 0; 
border-radius: 6px; 
background: #EEE; 
-moz-column-count: 3; -moz-column-gap: 40px; /*-moz-column-rule: 2px outset #EEE;*/ /* Firefox */
-webkit-column-count: 3; -webkit-column-gap: 40px; /*-webkit-column-rule: 2px outset #EEE;*/ /* Safari and Chrome */
column-count: 3; column-gap: 40px; /*column-rule: 2px outset #EEE;*/ 
}

#content #tableofcontents ul { padding: 0 0 0 10px ; margin: 0; border-left: 1px solid #105A9D; }
#content #tableofcontents li { padding: 0; margin: 0; list-style: none; line-height: 175%; }
#content #tableofcontents a { padding: 0 0 1px 0; text-decoration: none; border-bottom: 1px dotted #105A9D; }
#content #tableofcontents a:hover { border-bottom: 1px solid #105A9D; }

/*#tableofcontents a { text-decoration: none; padding-bottom: 1px; border-bottom: 1px dotted #06617D; }
#tableofcontents a:hover { border-bottom: 1px solid #16718D; }*/

#content hr { border: none; padding: 1px; background: #CCC; }

#content a.redlist { color: #C00; }

#content #rightcolumnbar { float: right; width: 270px; padding: 15px; margin: 0px -20px 20px 20px; background: #EEE; border-radius: 7px; }
#content #rightcolumnbar h3 { margin-top: 0px; font-weight: normal; font-size: 110%; }

#footerhome { padding: 0px 20px 0px 20px; color: #FFF; background: #105A9D; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }

#footer { padding: 20px 10px 15px 20px; color: #FFF; background: #105A9D; border-radius: 4px; }
#footer p.footertitle { font-size: 120%; margin: 0 0 15px 0; }
#footer p.footertitle a { color: #FFF; text-decoration: none; }
#footer p.footertitle a:hover { text-decoration: underline; }
#footer ul { padding: 0; margin: 0 -10px 0 -10px; font-size: 90%; }
#footer ul li { padding: 0 9px; margin: 0; list-style: none; display: inline-block; border-right: 1px solid #FFF; }
#footer ul li.hindmost { border: none; padding-right: 0;}
#footer ul li a { padding: 0; margin: 0px; color: #FFF; text-decoration: none; }
/*#footer ul li a:before { content: ""; }*/
#footer ul li a:hover { border-bottom: 1px solid #FFF; }

#clearboth { clear: both; /*height: 1px;*/ }

#aviandesign { text-align: center; font-size: 60%; margin: 20px 0 16px 0; }
#aviandesign a { border: 0px solid #EEE; color: #EEE; padding: 5px 7px 4px 7px; text-decoration: none; border-radius: 30px; }
#aviandesign a:hover { border: 1px solid #EEE; color: #666; background: #EEE; padding: 5px 7px 4px 7px;  border-radius: 30px; }

/* BREAKPOINTS */
/* basic responsive page layouts */

@media screen and (max-width: 768px) {
	
	body { background: #FFF; margin: 0; }

	#container { max-width: 100%; padding: 10px 10px 0px 10px; margin: 0; box-shadow: none; border-radius: 0; }
	
	#header h1 a { background: #105A9D; }
	
	#topmenu { text-align: center; }
	#topmenu li { padding: 0; margin: 5px 0; }
	#topmenu a:hover { background: none; text-decoration: underline; }
	
	#content #afrotheriaafrica { position: relative; float: right; width: 470px; height: 368px; padding: 0; margin: 10px -70px 0 0px; /*background: #EFEFEF;*/ border-radius: 4px; text-align: center; }
	#content #afrotheriaafrica #aardvark { position: absolute; top: 100px; left: 75px; }
	#content #afrotheriaafrica #sengi { position: absolute; top: 159px; left: 233px; }
	
	
	#footer { text-align: center; padding: 20px 20px 15px 20px; } 
	
	#content #roundedboxconservation { width: calc(100% - 30px); float: none; margin: 0 0 10px 0px; }
	#content #roundedboxconservation img { max-width: 100%; }


	#aviandesign { visibility: hidden; height: 0; }
	
}


@media screen and (max-width: 480px) {

	#content #imagegroupwide img { float: none; width: 100%; height: auto; }

	#content #imageright { float: none; width: 100%; margin: 5px 0 10px 0px; }
	
	#content table.systematicstop { width: 100%; }

}