@charset "utf-8";
@import url(nav.css);	/* get navigation bar style sheet */
/* CSS Document */



body 	{
	background-color: #383838;
	margin: 0;
	padding: 0;
	font-size: 85%; 
	line-height: 140%;
	color:  #383838;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	}

h2 	{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 180%;
	font-weight: 120;
	line-height: 130%;
	padding: 10px 0px 8px 0px;
	}

h3 	{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 130%;
	font-weight: 120;
	padding: 0px 0px 8px 0px;
	}

h4      {
         font-family: Verdana, Arial, Helvetica, sans-serif;
         font-size: 120%;
         font-weight: 120;
         padding: 0px 0px 5px 0px;
         }

img 	{
	border-style: none;
	}

* 	{
	margin: 0; padding: 0;
	}
 
a:link, a:visited {
	color: #006579;
	text-decoration: none;
	font-weight: 600;
	}
	
a:hover, a:active {
	color: #989898;
	font-weight: 600; 
	}

.columnbox3 {
    	margin: 0 auto;
	width: 100%;
	}

.columnbox3 .column1 {
    	width: 32%;
	float: left;
	margin: 0 1% 0 0%;
	}
.columnbox3 .column2 {
    	width: 32%;
	float: left;
	margin: 0 0% 0 1%;
	}
.columnbox3 .column3 {
    	width: 32%;
	float: left;
	margin: 0 0% 0 2%;
	}

#pagebanner {
    	margin: 0px 0px 0px 0px; /* top margin same as navbar height edited PJC 17/05/23 60 0 0 0 */
	background-image: url(http://www.star.bris.ac.uk/planets/images/banner_moon_sim1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	}

#bannertext1 {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 200%;
        font-weight: 600;/* 400 is the same as normal, and 700 is the same as bold*/
        letter-spacing: 1.5px;
	text-align:left;
	padding: 35px 0px 0px 20px; /*top right bottom left Make top padding 1/2 of banner height*/
        color: #FFF;
	 }
#bannertext2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 100%;
        font-weight: 500;
	letter-spacing: 1.5px;
	text-align:right;
	padding: 0px 20px 10px 0px;
	color: #FFF;
}

/*table, th, td {
   	border: 2px solid #383838;
	margin: 0;
	width: 90%;
	align: center;
} If want border around table uncomment this*/

div.container {
    width:98%; 
    margin:1%;
  }


table#table1 {
    text-align:center; 
    margin-left:auto; 
    margin-right:auto; 
    width:100px;
  }

tr,td {text-align: left;}

.caption {
    position: relative;
    overflow: hidden;
}

.caption__media {
    display: block;
    min-width: 90%;/*100%*/
    max-width: 90%;/*100%*/
    height: auto;
}

.caption__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom:0;
    left: 0;
    padding: 10px;
    color: #FFF;
    transform: translateY(100%);
    transition: transform .5s ease-out;
}

.caption:hover .caption__overlay {
    transform: translateY(0);
}

.caption__overlay__title {
    margin: 0;
    padding: 0 0 12px;
/*    transform: translateY( calc(-100% + ) ); /* +10px overlay padding */*/
    transition: transform .5s ease-out;
    color: #006579; /*match blue of rest of site*/
}
.caption:hover .caption__overlay__title {
    transform: translateY(0);
}
.caption::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background .5s ease-out;
}
.caption:hover::before {
    background: rgba(0, 0, 0, .5);
}

 /* Container */ 
#pagecontainer {
	background-color: #FFFFFF;
/*	width: 945px;*/
	width: 80%;
	margin: 0 auto;
	overflow: hidden;
	}

/* Main Page Content */
#pagecontent {
/*	width: 920px;*/
    	width: 95%;
	padding: 10px 2.5% 30px 2.5%;
	float: left;
	text-align: justify;
	}
	
/*#pagecontent*/
p 	{
/*	line-height: 23px;*/
	width: 100%;
	float: left;
	padding-bottom: 10px;
	display: block;
	text-align: justify;
	}	


/* Footer */
#footer {
    	clear: both;
/*	width: 822px;*/
	width: 100%;
	color: #fff;
	font-size: 85%;
	margin: 20px auto;
	}	

/* Header */
#container h1 {
	background: #FFFFFF url(images/header.jpg) no-repeat;
	width: 277px;
	height: 42px;
	margin: 28px 0 0 18px;
	text-indent: -9999em;
	float: left;
	}

#buttons {
	margin: 42px 27px 0;
	float: right;
	}
	
#buttons img {
	padding-left: 20px;
	}


/* Info */
#info {
	background: url(images/info_bg.gif) no-repeat;
	width: 823px;
	height: 161px;
	margin: 0 auto;
	clear: both;
	}
	
#info h2 {
	font: 100 140% Arial, Helvetica, sans-serif;
	letter-spacing: 1.5px;
	color: #464646;
	padding: 30px 0px 0px 25px;
	}
	
#info p {
	width: 220px;
	color: #898888;
	padding: 5px 0 0 25px;
	}
	
/*#whatisthis {
	float: left;
	width: 300px;
	}*/
	
#templatetypes {
	float:left;
	width: 200px;
	padding: 21px 0 0 66px;
	}
	
#supportlinks {
	float: right;
	width: 155px;
	padding: 21px 50px 0;
	}
	
#info ul {
	list-style-image: url(images/bullet.gif);
}

#info li {
	line-height: 22px;
	}
	
#info a:link, #info a:visited {
	color: #585858;
	text-decoration: none;
	}
	
#info a:hover, #info a:active {
	color: #585858;
	background-color: #FFFFFF;
	}
	
/* Main Content Area */
	
#nav_main {
	float: right;
	width: 150px;
	background: url(images/r_bg.gif) repeat-y;
	height: 400px;
	padding: 0 0px 0 25px;
	margin: 32px 0;
	}
	
#nav_main ul {
	list-style: none;
	}
	
#nav_main ul li {
	line-height: 23px;
	}
	
#nav_main a:link, #nav_main a:visited {
	color:  #383838; 
	text-decoration: none;
	}
	
#nav_main  a:hover, #info a:active {
	color: #585858;
	}
	
#card {
	float: left;
	}
	
	
/*h4 {
	color: #bbbbbb;
	font-family: "Times New Roman", Times, serif;
	font-weight: 100;
	padding-bottom: 8px;
	}*/
	
hr { 
	border: 0;
	color: #d7d5cb;
	background: #d7d5cb;
	height: 1px;
	margin: 15px 0 20px 0;
}	
	
/* Footer */
	
#footer a:link, #footer a:hover, #footer a:active, #footer a:visited {
	color: #fff;
	text-decoration: none;
	}
	
#copyright {
	float: left;
	}
	
#nav_footer {
	float: right;
	list-style: none;
	}
	
#nav_footer li {
	float: left;
	}
