/*
Template Name: Acceuil
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/***------------------------------------
ALL
------------------------------------***/

body {
 font-family: verdana, helvetica, arial, sans-serif;
 font-size: 10pt;
 line-height: 1.3;
 color: #333;
 padding: 0;
 margin: 0;
 text-align: left;
 vertical-align: top;
 border: 0;
 //background: url(http://www.mathgon.com/homepage/images/grade3.gif) top left repeat-x;
}

img {
 border: 0;
}

a, a:link, a:visited {
 color: #333;
 text-decoration: underline;
 border: 0;
}

a:hover {
 color: #ccc;
 text-decoration: underline;
 border: 0;
}

ul {
 margin: 0;
 padding: 0px 0px 10px 20px;
 list-style: none;
 border: 0;
}

li {
 list-style: square;
}

p {
 padding-bottom: 10px;
 margin: 0;
}

ol li {
 list-style-type: decimal;
}

/***------------------------------------
TYPE
------------------------------------***/

@font-face {  
 font-family: 'aller-display';  
 src: url('http://www.mathgon.com/aller-display.ttf');  
}  

.font {  
 font-family: aller-display;   
}

.font-shadow {     
 text-shadow: 0 1px 3px #333;  
}

h1 { 
 font-size: 3em;
 color: #fff;
}

h1 span { 
 color: #82dbcf;
}  

h2 { 
 font-size: 3em;
 color: #fff;
}

h3 { 
 font-size: 1.3em;
 color: #aca589;
 line-height: 1em;
 padding-bottom: 10px;
}

h4 {
 font-size: 1.0em;
}

h5 {
 font-size: 0.85em;
}

h6 {
 font-size: 0.65em;
}

strong { 
 font-weight: bold;
}

/***------------------------------------
LAYOUT
------------------------------------***/

#container { 
 margin: 0 auto;
}

#top { 
 margin: 0 auto;  
}

#header { 
 width: 960px;
 height: 200px;
 margin: 0 auto;
}

#title {
 float: left;
}

#descrip {
 clear: both;
 width: 960px;
 text-align: center;
 margin: 0 auto;
 padding-top: 20px;
 padding-bottom: 40px;
}

#columns {
 background: #fff url(http://www.mathgon.com/homepage/images/grade.gif) top left repeat-x;
 width: 100%;
 float: left;
 border-top: 1px solid #fff;
}

#main {
 width: 960px;
 height: 50px;
 margin: 0 auto;
 padding-top: 30px;
 padding-bottom: 100px;
}

.col {
 width: 250px;
 margin-right: 30px;
 float: left;
 height: 80px;
 background: #fff url(http://www.mathgon.com/homepage/images/blog.jpg) top left repeat-x;
}

.col:hover {
 width: 250px;
 margin-right: 30px;
 float: left;
 height: 80px;
 background: #fff url(http://www.mathgon.com/homepage/images/bloghover.jpg) top left repeat-x;
}

.col2 {
 width: 250px;
 margin-right: 30px;
 float: left;
 height: 80px;
background: #fff url(http://www.mathgon.com/homepage/images/pro.jpg) top left repeat-x;
}

.col2:hover {
 width: 250px;
 margin-right: 30px;
 float: left;
 height: 80px;
 background: #fff url(http://www.mathgon.com/homepage/images/prohover.jpg) top left repeat-x;
}

.col3 {
 width: 250px;
 margin-right: 0px;
 float: left;
 height: 80px;
 background: #fff url(http://www.mathgon.com/homepage/images/Photo.jpg) top left repeat-x;
}

.col3:hover {
 width: 250px;
 margin-right: 30px;
 float: left;
 height: 80px;
 background: #fff url(http://www.mathgon.com/homepage/images/Photohover.jpg) top left repeat-x;
}

.box {  
 border-radius: 10px;  
 -moz-border-radius: 10px;  
 -webkit-border-radius: 10px; 
 background-color: #fff; 
 padding: 20px;
} 

#footer {
 width: 500px;
 margin: 0 auto;
 text-align: center;
 font-size: 0.75em;
 padding-top: 80px;
 clear: both;
 
}

.footerbox {  
 border-radius: 30px;  
 -moz-border-radius: 30px;  
 -webkit-border-radius: 30px; 
 
  background: #fff url(http://www.mathgon.com/homepage/images/grade.gif) top left repeat-x;
 padding: 20px;
}

#footer a:hover{
 width: 960px;
 margin: 0 auto;
 text-align: center;
 font-size: 0.75em;
 padding-top: 40px;
 clear: both;
  background: #7cd1c5 url(http://www.mathgon.com/styles.css) top left repeat-x; 
}

.footerbox:hover{  
 border-radius: 30px;  
 -moz-border-radius: 30px;  
 -webkit-border-radius: 30px; 
 background: #7cd1c5; 
 padding: 20px;
}

/***------------------------------------
LINKS
------------------------------------***/

#nav a, #nav a:link, #nav a:visited {
 text-decoration: none;
 color: #fff;
}

#nav:hover {
 text-decoration: none;
 background: #CCCCCC;
}

