/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
    font-family: Helvetica, sans-serif;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*browser reset ends */


/* general stuff */

a {
        color: #c62c9c;
        text-decoration: none;
    }
header {
    margin-bottom: 20px
}
p { 
    line-height: 150%; 
    text-align: justify;
    font-size: 20px;
}
p.strong {
    line-height: 150%; 
    text-align: justify;
    font-size: 20px;
    font-weight: bold;
}

h3 {
    color: rgb(255, 226, 0);
    font-size: 200%;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}
h4 {
    color: #000; /*rgb(255, 0, 147);*/
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    
}
legend {
    font-size: 100%;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
    
}



/* header title */

#pageTitle {
    width: 700px;
    margin: auto;
    margin-top: 3%
}
#pageTitle h1 {
    font-family: Helvetics, sans-serif;
    font-weight: bold;
    font-size: 500%;
    text-align: center;
    color: #000;
}
#pageTitle a {
        color: inherit;
        text-decoration: none;
}


/* menu links */

#menu {
    margin: auto;
    margin-top: 15px;
    width: 700px;
    text-align: center;
}
#menu a {
     display: inline;
     color: #000;
}
#menu a:hover {
  color: #1e7e95
}
#menu p {
     display: inline; 
}
#menu .hereIndicator {
   border-bottom: 1px solid #000;
   padding-bottom: 3px; 
}



/* BEGIN OF INDEX /////////////////////////////////////// */

#pageContainer {
    width: 990px; /* width 30px bigger than size because of margin of box */
    margin: auto;
  
}
.box1 {
    float: left; 
    margin: 5px; 
    background-color: #000;
    width: 320px;
    height: 180px;
    text-align: center;
}
.box1 p {
    color: #000; 
    font-size: 180%;
    font-weight: bold;
    text-align: center;
    margin-top: 8%;
    line-height: 1.2;
}
.box1:hover p {
    color: #ffffff;
}
#box1:hover {
	background-image: url(../images/backgroundbox.jpg);
	background-position: 0px 0px;
}
#box2:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -330px 0px;
}
#box3:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -660px 0px; /* moving along the image x width then y hight */
}
#box4:hover {
	background-image: url(../images/backgroundbox.jpg);
	background-position: 0px -190px;
}
#box5:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -330px -190px;
}
#box6:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -660px -190px; /* moving along the image x width then y hight */
}
#box7:hover {
	background-image: url(../images/backgroundbox.jpg);
	background-position: 0px -380px;
}
#box8:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -330px -380px;
}
#box9:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -660px -380px; /* moving along the image x width then y hight */
}
#box10:hover {
	background-image: url(../images/backgroundbox.jpg);
	background-position: 0px -570px;
}
#box11:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -330px -570px;
}
#box12:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -660px -570px; /* moving along the image x width then y hight */
}
#box13:hover {
	background-image: url(../images/backgroundbox.jpg);
	background-position: 0px -760px;
}
#box14:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -330px -760px;
}
#box15:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -660px -760px; /* moving along the image x width then y hight */
}
#box16:hover {
	background-image: url(../images/backgroundbox.jpg);
	background-position: 0px -950px;
}
#box17:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -330px -950px;
}
#box18:hover {
    background-image: url(../images/backgroundbox.jpg);
    background-position: -660px -950px; /* moving along the image x width then y hight */
}

/* END OF INDEX */


/* BEGIN ABOUT */

.aboutcontainer{
    margin-top:200px;
}

.leftimage {
    float: left;
    width:38%;
}

.rightfloattext {
    float:right;
    max-width:58%;
    font-size: 20px;
}

.clear {
    clear:left;
    clear:right;
}

/* END OF ABOUT */


/* BEGIN EXCERCISES */

.box2 {
    float: left; 
    margin: 5px; 
    width: 320px;
    height: 180px;
}

.rightfloattext {
    float:right;
    max-width:58%;
    font-size: 20px;
}

.clear {
    clear:left;
    clear:right;
}

/* END OF EXCERCISES */


/* FOOTER  /////////////////////////////////////////////////// */

footer {
    clear:left; /* clearing of the "floating left" definition of the boxes */
    bottom: 0px;
    width: 980px;
    margin: auto;
    padding-top: 5px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
}

footer a{
    color: #000;
} 

#cc {  
    margin: auto; /* cannot have an automatic margin without having a width */
    padding: 10px;
    width: 70%; 
    text-align:center;
    font-size: 70%;
}
#cc p{
    font-size: 120%;
    margin: 5px;
    text-align: center;
}
.cc {
    margin: auto; /* doesnt´need a width, because image has one already */
    margin-bottom: 5px;
}

