
#page-title
{
	font-family: sans-serif;
	position: relative; 
	left: -4px;
}
.node h2,
.node h3,
.node h4,
.node h5,
.node h6
{
	font-family: sans-serif;
	font-weight: bold;
	position: relative; 
	left: -4px;
}

body #page-wrapper
{
	min-width: 0;
	background-color: transparent;
}

body #page .section
{
	width: auto;
}

#admin-menu
{
	margin: 0;
}

body #main
{
	width: auto;
}

#page #main
{
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}

#page a
{
	color: #81a600;
}

body #site-slogan
{
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

body #header
{
	background-image: none;
	background-color: white;
}
body #header a
{
	color: white;
}

.page-center
{
	margin-left: auto;
    margin-right: auto;
    max-width: 1600px;

}

body #header-top
{
	background-color: white;
	height: 80px;
	position: relative;
	color: black;
}

#header #header-top a
{
	color: #888;
}
body #logo
{
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 0;
	margin:0;
	float: none;
	display: block;
	line-height:  normal;
}
body #logo img
{
	border: none;
	display: block;
}


#main-menu-line
{
	background-color: black;
	height: 42px;
	line-height: 42px;
}
@media all and (max-width: 580px)
{
#main-menu-line
{
	height: 84px;
	line-height: 42px;	
}
}
#main-menu-line .page-center
{
	position: relative;	
	height: 42px;
}

body #name-and-slogan
{
	float: none;
	margin:0;
	padding: 0;
	display: inline-block;
	text-align: top;
}
#site-name
{
	display: inline-block;
	width: 180px;
	text-align: center;
	position: relative;
	z-index: 10; /* hidden by #main-menu */
}

#site-name a:hover
{
	text-decoration: none;
	color: #dfd;
}


body #site-slogan
{
	display: inline-block;
	color: #81a600;
	color: #a5d400;
	font-style: normal;
	font-size: 20px;
	margin:0;
	padding: 0;
}
@media all and (max-width: 790px)
{
body #site-slogan
{
	position: absolute;
	top:-90px;
	left: 0;
}
}


@media all and (max-width: 400px)
{
#block-locale-language li
{
	display: block;
}
}

#main-menu
{
	display: inline-block;
	height: 42px;
	font-size: 19px;
	position: absolute;
	right: 0;
}
@media all and (max-width: 580px)
{
#main-menu
{
	left: 0;
	right: auto;
	width: 100%;
}
}
#main-menu h2
{
	display: none;
}

#demosmain-menu-links 
{
	list-style: none;
	color: white;
	margin: 0;
	white-space: nowrap;
	padding: 0;
	height: 42px;
}
@media all and (max-width: 580px)
{
#demosmain-menu-links
{
	position: relative;
	top: 42px;
	width: 100%;
}
}

#demosmain-menu-links li
{
	display: inline-block;
	margin-left: 15px;
	text-align: center;
	vertical-align: top;
	overflow: hidden;
}

@media all and (max-width: 900px)
{
#demosmain-menu-links li
{
	margin-left: 5px;
}
}
@media all and (max-width: 830px)
{
#demosmain-menu-links li
{
	margin-left: 0px;
}
}
#demosmain-menu-links a
{
	height: 42px;
	width: 80px;
	color: white;
	display: block;
}

@media all and (max-width: 580px)
{
#demosmain-menu-links li
{
	width: 20%;	
}
#demosmain-menu-links a
{
	width: 100%;	
}
}

@media all and (max-width: 405px)
{
#demosmain-menu-links a
{
	font-size: 14px;
}
}
@media all and (max-width: 305px)
{
#demosmain-menu-links a
{
	font-size: 12px;
}
}
.i18n-fr #demosmain-menu-links a
{
}


#demosmain-menu-links .active a
{
	/* FIXME: find nice way to display active menu */
/*
	background-image: url(map-tab-active.png);
	background-position: center top;
	background-repeat: no-repeat;
*/
}

#demosmain-menu-links li:nth-child(1) a
{
	background-color: #81a600;
}

#demosmain-menu-links li:nth-child(2) a
{
	background-color: #f18d0b;
}
#demosmain-menu-links li:nth-child(3) a
{
	background-color: #9d19a1;
}
#demosmain-menu-links li:nth-child(4) a
{
	background-color: #d20023;
}

#demosmain-menu-links li:nth-child(5) a
{
	background-color: #0d86eb;
}


#demosmain-menu-links li a:hover
{
	text-decoration: none;
}
#demosmain-menu-links li:nth-child(1) a:hover
{
	background-color: #91ba00;
}
#demosmain-menu-links li:nth-child(2) a:hover
{
	background-color: #ff950c;
}
#demosmain-menu-links li:nth-child(3) a:hover
{
	background-color: #ae1cb2;
}
#demosmain-menu-links li:nth-child(4) a:hover
{
	background-color: #e00025;
}
#demosmain-menu-links li:nth-child(4) a:hover
{
	xbackground-color: #6a166e;
}

#demosmain-menu-links li:nth-child(5) a:hover
{
	background-color: #0e91ff;
}


body #main 
{
	margin-top: 0;
	margin-bottom: 0;
}

/* **************************** */
/* ********** footer
/* **************************** */

#footer-wrapper
{
	border-top: 1px solid #ccc;
	background-color: transparent;
	color: #666;
	padding: 0 0;
	font-size: 13px;

	width: 940px;
	min-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

#footer-wrapper a
{
	color: #666;
}
#footer-wrapper a:hover
{
	color: #666;
}

body #footer-wrapper a:focus
{
	color: inherit;
}

#footer
{
	margin: 0;	
	letter-spacing: normal;
}
#footer .region
{
	margin-top: 8px;
}

#footer .content
{
	text-align: center;
}

#footer .content .info
{
	font-size: 0;
}

/* **************************** */
/* ********** mobile (width < 500)
/* **************************** */

@media all and (max-width: 500px)
{
}


@media all and (max-width: 960px)
{
#page #main
{
	width: auto;
}
#page #content
{
	width: auto;
}

#footer-wrapper
{
	width: auto;
	min-width: 0;
}
#page #footer
{
	width: auto;
	min-width: 0;
}
}

/* **************************** */
/* ********** other
/* **************************** */

.demosphere-sites-with-events li
{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


.donate-button:hover
{
	text-decoration: none;
	background-image:none;
	background-color: #ff9800;
}

.donate-button
{
	display: inline-block;
    background-image:linear-gradient(top, #ffa700 0, #f60 50%, #ff9800 50%, #ff7400 100%);
	background-image:-webkit-linear-gradient(top, #ffa700 0, #f60 50%, #ff9800 50%, #ff7400 100%);
	background-image:-moz-linear-gradient(top, #ffa700 0, #f60 50%, #ff9800 50%, #ff7400 100%);
	background-image:-o-linear-gradient(top, #ffa700 0, #f60 50%, #ff9800 50%, #ff7400 100%);
	background-image:-ms-linear-gradient(top, #ffa700 0, #f60 50%, #ff9800 50%, #ff7400 100%);
	border-color:#d75f01

	background-position: left top;
	background-size: auto 200%;
	border: 1px solid;
	border-radius: 2px;
	box-shadow: 1px 2px 0 0 rgba(255, 255, 255, 0.25) inset, -1px -2px 0 0 rgba(0, 0, 0, 0.25) inset, 0 0 10px 0 rgba(0, 0, 0, 0.25);
	color: #FFFFFF !important;
	cursor: pointer;
	font-family: sans-serif;
	font-size: 16px
	font-weight: 700;
	padding: 12px 15px;
	text-align: center;
	text-shadow: 0 -2px rgba(117, 117, 117, 0.25) !important;
	white-space: nowrap;
}

/*#node-12
{
	background-color: #ffa;
}*/

@media all and (max-width: 450px){
#node-11 table td,
#node-12 table td,
#node-16 table td
{
	display: block;
	/*background-color: red;*/
}
}


@media all and (max-width: 800px){
	.content .field-item img
	{
		max-width: 100%;
		height: auto;
	}
}
