/* 
-- Phil Jones
-- Chemistry at Work V2.1
-- 17/09/2010
*/

/* ---TEXT STYLES--- */

/* ---Headings--- */
h1,h2,h3
{
    margin: 20px;

}
    h1 {font : bold 3em Arial; }
    h2 {font : bold 2em Arial;  }
    h3 {font : bold 1.1em Arial; }
    
/* ---Main Text--- */
p.main,p.bold,p.red,p.italic,p.bold_black,p.faq_question,p.contact_title,p.contact_sub
{
    text-align : center;
    color : black ;
    margin: 20px;
}

p.main,ul.square
{
    font : normal 1.25em Arial ;
}
p.bold
{
    font : bold 1.43em Arial ;

    color : #0048a0;
}
p.contact_title
{
		font : bold 1.7em Arial ;
    text-align : left ;
    color : #0048a0;
   line-height : 0.7em;
}

p.contact_sub
{
	  font : bold 1.3em Arial ;
	  line-height : 0em;
}

p.bold_black
{
    font : bold 1.3em Arial ;
    text-align : left ;
    color : black;
}
p.faq_question
{
    font : bold 1.1em Arial;
}
p.faq_answer
{
    font : normal 1.1em Arial ;
    text-align : justify ;
    color : black ;
    margin: 35px;
}
p.red
{
    font : bold 1.45em Arial;
    color : red;
}
p.italic
{
    font : italic 1em Arial ;
}
p.vid_title
{
    font : normal 1.1em Arial;
    text-align : left;
    color : #0048a0;
}


/* ---Bullet Point Text--- */
ul.square
{
    margin-left : 40px;
    margin-right : 20px;

    list-style-type : square ;
}




/* ----------------------------------------- */

/* ---LAYOUT--- */

/* --- Stop Page Shifting Error --- */
html
{
    overflow-y : scroll;
}


/* ---Page Background Colour--- */
body 
{ 
    background-image:url('../images/website/background1024.jpg');
    background-position:center;
    background-repeat:repeat-y;
    text-align: center; //for IE
}


/* ---Page container--- */
div.main_container
{
    margin : 0px auto;
    text-align: left;
    width : 1023px;
    background-color:white;
    position:relative;
    z-index:1;
    
}
    
/* ---Header and footer--- */
div.header,div.footer
{
    color : #0048a0;
    background-color : white;
}

/* ---Header--- */
div.header
{
    width : 1024px;
    height : 150px;
}



/* ---Footer--- */
div.footer
{
    border-top : 1px solid gray;
    margin-top : 50px ;
    padding : 30px;
    font : normal 0.75em Arial ;
    float : left;
    width : 963px;
    text-align : center;
}
    

/* ---Sub Title--- */
div.section_title
{
    font : bold 2em Arial;
    display : block;
    position : relative;
    padding : 0px 20px 0px 20px;
    text-align : left;
    background-color : lightgrey;
    /* Horizontal Dividing line */
    border-top:3px solid #0048a0;
    margin : 0px 0px 30px 0px;
    border-left:3px solid #0048a0;
    float : left;
    width : 910px;
}

div.sub_section_cont
{
    float : left;
    position : relative;
    display : block;
    border : 0px solid red;
}
/* ---Header Images--- */
.logo .left, .logo .right 
{
    width : 1024px;
    height : 150px;
    position: absolute;
    top: 0;
    background-repeat:no-repeat;
}
.logo .left
{ 
    background-position:left center;
    left:  0px;
    background-image: url('../images/website/CaW-logo-resize.gif');
}
.logo .right
{
    background-position:right center;
    right:  25px;
    background-image: url('../images/website/EBA-logo-resize.gif');
}

/* ---Main Content Panel--- */
div.main_body
{
    padding : 0px;
    margin-right : 30px;
    margin-bottom : 20px;
    margin-left : 30px;
    z-index:0;
}

/* ---Side Bullet Panel--- */
div.side_panel,div.side_panel_images
{
    position : relative;
    float:left;
    display : block;
}

/* ---Side Image Panel--- */
div.side_panel_images
{
    width : auto;
    margin-left : 22px;
    margin-top : 20px;
    margin-right : 20px;
    padding : 0px 20px 0px 0px;
    border-right: 1px solid #0048a0;
    height : 630px;
    width : 250px;
}

div.side_panel_left
{
    float : left;
    margin-left: 10px;
    padding : 0px;
    height : 600px;
    margin-bottom : 30px;
    background-color : white;

    width : 380px;
}

div.side_panel_right
{
    
    float : left;
    display : block;
    top : 20px;
    margin-right : 0px;
    margin-bottom : 0px;
    margin-left : 10px;
    margin-bottom : 30px;
    padding-left : 20px;
    width : 500px;
    background-color : white;
    border-left: 1px solid #0048a0;
  
}

div.djones
{
    position : relative;
    display : block;
    float : left;
    width : 300px;
    height : 255px;
    margin-top : 22px;
    margin-right : 22px;
    margin-bottom : 0px;
    margin-left : 22px;
}

div.gallery_school
{
    font : bold 1.3em Arial ;
    text-align : left ;
    color : black;
    margin-left : 20px;
    margin-top : 0px;
    margin-bottom : 20px;
    float : left;
    width : 800px;
    display : block;
}

div.divider
{
    position : relative;
    display : block;
    float : left;
    width : 100%;
    margin-left : 0px auto;
    margin-right : 0px auto;
    margin-bottom : 30px;
    margin-top : 5px;

    height : 2px;
   
    border-top : 1px solid grey;
}

div.rsc
{
    position : relative;
    display : block;
    width : 300px;
    height : 155px;
    margin-top : 22px;
    margin-right : 22px;
    margin-bottom : 0px;
    margin-left : 50px;
}

div.homepage_sponsors
{
    margin-left : 50px;
    margin-top : 30px;
    position : relative;
    display : block;
}


div.top_btn
{
    position : relative;
    float : left;
    display : block;
    width : 150px;
    height : 30px;
    border-left : 2px solid #0048a0;
    border-top : 2px solid #0048a0;
    
    font : bold 1em Arial;
    background-color : lightgrey;
    text-align : center;
    line-height:1.8em;
    
    margin-top : 22px;
    margin-left : 800px;
    margin-bottom : 10px;
    
}

div.social_net
{
    display : block;
    position : absolute;
    margin-left : 20px;
    margin-top : 275px;
    
}

/* ----------------------------------------- */

/* ---Table--- */
table
{
    border-collapse:collapse;
    border: 0px;
    align : center;
    margin-left : 100px;
    margin-right : 100px;

}
td,th
{
    padding : 6px;
    vertical-align : text-top;
    cellvalign : top;
    margin-left: 50px;
    margin-right: 50px;

}
/* Table Data */
td
{
    width : 800px;
    font : normal 1.1em Arial;
}
/* Table Headings */
th
{
    background-color : lightgrey;
    text-align : left;
    font : bold 1.3em Arial;
}
.dates
{
    border: 1px solid #0048a0;
}
.supporters_table
{
    margin-left :22px;
    margin-right : 22px;

}
.supporter
{
    text-align : right;
    padding-right : 15px;


}
.supporter_desc
{
    width : 80%;
    padding-left : 15px;
    border-left: 1px solid #0048a0;
    vertical-align : top;
    text-align : justify;
    font : normal 1.05em Arial;
}



/* ----------------------------------------- */
    
/* ---NAVIGATION--- */


/* --- Top Horizonal Navigation Bar ---*/

div.navbar
{
    float:top;
    height:35px;
    width: 100%;
    margin:0px 0px 10px 0px;
    padding:0px;
    text-align:center;
    background-color: #0048a0;

}

ul#nav
{

     list-style: none; 
     width: 100%;
     margin:0px;
     padding:0px;
     position: relative;
     z-index:1;
}

ul#nav ul
{

    width: 101px; /* Sub Menu Width */
    margin: 0px;
    list-style: none;
    display: none;
    position: absolute;
    top: 100%;
    right: 0px;
    
}

ul#nav ul ul,ul#nav ul ul ul
{
    top: 0px;
    left: 100%;
}

ul#nav li
{
    float: left;

    display: inline;
    position: relative;
}

ul#nav ul li
{
    width: 100%;
    display: block;
}

/* ---Appearance of button--- */
/* Root Menu */
ul#nav a
{
    width: 101px;
    border-top: 1px solid #4096ff;
    border-right: 1px solid #4096ff;
    padding: 0px;
    float: left;
    display: block;
    background-color: #0048a0;
    color: white;
    font: bold 1em Arial;
    text-decoration: none;
    height: 34px;
    line-height: 2em;

}

/* ---Appearance of button with mouse hover--- */
/* Root Menu Hover Persistence */
ul#nav a:hover,ul#nav li:hover a,ul#nav li.iehover a
{

    background: #4096ff;
    color: white;
}

/* ---Selected Button--- */
ul#nav a.current
{
    background: #102066;
}

/* 2nd Menu */
ul#nav li:hover li a,ul#nav li.iehover li a
{
    float: right;
    background: #0048a0;
    
    /* for IE */
    filter:alpha(opacity=80);
    /* CSS3 standard */
    opacity:0.8;
}

/* 2nd Menu Hover Persistence */
ul#nav li:hover li a:hover,ul#nav li:hover li:hover a,ul#nav li.iehover li a:hover,ul#nav li.iehover li.iehover a
{
    background: #4096ff;
    
    /* for IE */
    filter:alpha(opacity=100);
    /* CSS3 standard */
    opacity:1.0;
}

/* 3rd Menu */
ul#nav li:hover li:hover li a,ul#nav li.iehover li.iehover li a
{
    background: #0048a0;
    
    /* for IE */
    filter:alpha(opacity=80);
    /* CSS3 standard */
    opacity:0.8;
    
}

/* 3rd Menu Hover Persistence */
ul#nav li:hover li:hover li a:hover,ul#nav li:hover li:hover li:hover a,ul#nav li.iehover li.iehover li a:hover,ul#nav li.iehover li.iehover li.iehover a
{
    background: #4096ff;
    
    /* for IE */
    filter:alpha(opacity=100);
    /* CSS3 standard */
    opacity:1.0;
}

/* 4th Menu */
ul#navmenu-h li:hover li:hover li:hover li a,ul#navmenu-h li.iehover li.iehover li.iehover li a
{
    background: #0048a0;
    
    /* for IE */
    filter:alpha(opacity=80);
    /* CSS3 standard */
    opacity:0.8;
}

/* 4th Menu Hover */
ul#nav li:hover li:hover li:hover li a:hover,ul#nav li.iehover li.iehover li.iehover li a:hover
{
    background: #4096ff;

    /* for IE */
    filter:alpha(opacity=100);
    /* CSS3 standard */
    opacity:1.0;

}

/* Hover Function - Do Not Move */
ul#nav li:hover ul ul,ul#nav li:hover ul ul ul,ul#nav li.iehover ul ul,ul#nav li.iehover ul ul ul
{
    display: none;
}

ul#nav li:hover ul,ul#nav ul li:hover ul,ul#nav ul ul li:hover ul,ul#nav li.iehover ul,ul#nav ul li.iehover ul,ul#nav ul ul li.iehover ul
{
    display: block;
}





/* ----------------------------------------- */
    

/* ---IMAGE GALLERY--- */

div.gallery
{
	border : 0px solid red;
	display : block;
	position : relative;
	margin-bottom : 40px;
	margin-left : 106px;
	width : 750px;
	float : left;
}

div.imgCont
{
	border : 3px solid #0048a0;
	display : inline;
	float : left;
	margin : 0px 17px 34px 17px;
	padding : 5px;
	width : 200px;
	height : 102px;

}

div.img
{
    display : block;
    border : 0px solid red;
    float : left;
    	/* for IE */
    filter:alpha(opacity=85);
    /* CSS3 standard */
    opacity:0.85;
	
}


div.img:hover
{
    /* for IE */
    filter:alpha(opacity=100);
    /* CSS3 standard */
    opacity:1.0;
}

/*---Image text labels*/
div.img_title
{
    padding : 0px;
    font: bold 0.7em Arial;
    color : #0048a0;
    text-align: center;
    width: 200px;
}






/* ---VIDEO GALLERY--- */
div.vid_container,div.vid_desc
{
    position : relative;
}
/* ---Video and Description Container--- */
div.vid
{
    padding : 10px;
    width : 90%;
    margin: 22px;
    border: 3px solid #0048a0;
    height: auto;
    position : relative;
    float : left;

}
/* ----Video Container-- */
div.vid_container
{
    float : left;
    display : block;
    width : 425px;
    border : 0px solid green;
    align : left;

}
/* ---Description Container--- */
div.vid_desc
{
    display : block;
    margin-top : 10px;
    margin-left : 450px;
    margin-right : 10px;
    margin-bottom : 10px;
    border: 0px solid red;
    text-align : left;
    align : right;
    font : normal 1.1em Arial;
}




a:link {color:#0048a0; border:0px solid white;}     /* unvisited link */
a:visited {color:#0048a0; border:0px solid white;}  /* visited link */
a:hover {color:#000000; border:0px solid white;}    /* Hover link */

