/* Fonts definition*/
@font-face { 
  font-family: 'DroidSans'; 
    src: url('../fonts/DroidSans.eot'); 
    src: local("Droid Sans"), url('../fonts/DroidSans.ttf'); 
  font-family: 'DroidSans'; 
    src: local("DroidSansBold"), url('../fonts/DroidSans-Bold.ttf'); 
  font-family: 'OpenSans'; 
    src: url('../fonts/OpenSans.eot'); 
    src: local("OpenSans"), url('../fonts/OpenSans-Regular.ttf'); 
} 
/* Left & Right position of elements*/
.left{
	float: left;
}
.right {
	float: right;
}

/* Links */
a:link {
    text-decoration: none;
}

a, a:hover
{ color: #FFF;
  background: transparent;
  outline: none;
  text-decoration: none;}

/* Links in the Main Text */

a.more {
/*    font-size: 14.4px;*/
/*    line-height: 2.0em;*/
    color:  #20558a;
    font: normal 'DroidSans', Arial, sans-serif;
}
a.more:hover {
    color:  #20558a;
    text-decoration: underline;
}


html
{ 
/*  height: 100%; */

  background: #dbdad3;
/*  background: linear-gradient(*/
/*    to bottom,*/
/*    rgba(0,0,0, 0),*/
/*    rgba(0,0,90, 100)*/
/*  ),url(../images/mbs-logo.jpg) right;*/
/*  background-size: 100% 100% ;*/
/*  background-repeat: no-repeat ;*/

}

*
{ margin: 0;
  padding: 0;}


body
{ font: normal 80% 'DroidSans', Arial, sans-serif;
  color: #454545;
}

/* tell the browser to render HTML 5 elements as block
article, aside, figure, footer, header, hgroup, nav, section { 
  display:block;
} */

p
{ padding: 0 0 10px 0;
/*  color: #000;*/
  color: #454545;
/*  color: #252525;*/
  line-height: 1.6em;
  font-size: 100% }
p.blk
{ padding: 0 0 10px 0;
  color: black;
  line-height: 1.6em;
  font-size: 100% }


/*img
{ border: 0;
}*/

/*
h1, h2, h3, h4, h5, h6 
{ font: bold 175% 'DroidSans', Arial, sans-serif;
  color: #fff;
  text-shadow: 1px 1px #000;
  letter-spacing: -1px;
  margin: 0 0 10px 0;}
*/

/* Titles */
h1
{ font: bold 165% 'DroidSans', Arial, sans-serif;}
h2
{ font: 25px 'Droid Sans', Arial, sans-serif;
  margin-left: 32px;
  letter-spacing: -1px;
  color: #707070;
}
h3
{ font: normal 160% 'Droid Sans', Arial, sans-serif;
  letter-spacing: -1px;
  color: #707070;
}
h4
{ font: bold 140% 'Droid Sans', Arial, sans-serif;
  letter-spacing: -1px;
  color: #707070;
}
h5
{ font: normal 120% 'Droid Sans', Arial, sans-serif;
  letter-spacing: -1px;
  color: #707070;
}
h6
{ 
  font: 25px 'DroidSans', Arial, sans-serif;
  letter-spacing: -1px;
  font: bold;
  color: #707070;
}
h7
{ 
  font: normal 'DroidSans', Arial, sans-serif;
  font-size: 14px;
  color: #707070;
}

img.centerl {
  display: block;
  margin-left: 800px;
  margin-right: auto;
} 
  
span
{ color: #FFF;
  text-shadow: 1px 1px #fff;}

ol
{ margin: 8px 0 22px 20px;}

ol li
{ margin: 0 0 11px 0;}


#main, header, #banner, #menubar, #site_content, footer, #content_grey, nav
{ margin-left: auto; 
  margin-right: auto;}


#main
{ 
/*background: #dbdad3;*/
}
  
header
{ background-color: #FFFFFF;
  width: 100%;
}
/*  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}*/

/*Background bannertop*/
#btb
{ width:100% ;
  background-color: #20558a;
}

/*Logo HHS Letter*/
#bannertop
{ width: 1300px;
  margin-left: auto;
  margin-right: auto;
  background: #20558a;
  font-size: 12px;
  color: white;
  line-height: 25px;
  height: 25px;}

/* NIH NHLBI logos*/
#logos
{ width: 1300px;
  position: relative;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 0 0 0;
  background: transparent;
  height: 38px;}

#groupname
{ 
  width: 1300px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  text-align: left;
  padding: 0px 0 0 0;
  background: transparent;
  height: 120px;
}
 
  
   
#welcome h1
{ font: normal 50px 'DroidSans', Arial, sans-serif;
  position: relative;
  letter-spacing: -1px;
  margin-left: 32px;
  margin-bottom: 10px;
  color: #20558a;}


ul#lista li
{ padding: 0 0 10px 0;
  color: #454545;
  font: 'DroidSans', Arial, sans-serif;
  line-height: 1.6em;
  font-weight: normal;
  font-size: 100% }

li#lista
{
  margin-left: 30px;
}

li#listt
{
 font-size:14px;
}

li#listt2
{
 font-size:14px;
 margin-left:10px;
}

ul li{
 font-size:18px;
 font: 'DroidSans', Arial, sans-serif;
 font-weight: normal ;
}


div.parent{ 
    display:table;
    width:100%;
}
div.text{ 
    vertical-align:middle;
    display:table-cell;
}
div.parent .img{
    vertical-align:middle;
    display:table-cell;
    padding-right:5px;
    width:50px; 
}
div.img img{ 
    border:10px solid white;
    width:212px;
    height:284px;
    vertical-align:middle;
}

/* CHARMM Courses*/
div.textd{ 
    vertical-align:middle;
    width: 500px;
    display:table-cell;
}
div.imgd img{ 
    border:5px solid white;
    width:125px;
    height:100px;
    vertical-align:middle;
}




#gpic
{ width: 1300px;
  margin-right: auto;
  margin-left: auto;
  margin-top:-10px;
  background: white;
}  

#navi
{ width: 1300px;
  position: center;
  margin-right: auto;
  margin-left: auto;
}  

ul#nav
{ width: 1300px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  height: 20px;
/*  position: center;*/
  margin: 0;
}


/*{ margin:0;}*/

#banner
{ width: 1300px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 15px 0 0 0;
  background: transparent;
  height: 50px;}


nav{
background: white;
height: 37px;
}

nav ul ul {
display: none;
}
nav ul li:hover > ul {
display: block;
}

/* Menu bar background. */
nav ul {
  /*text-align: center;*/
  /*background: #0043A8; */
  background: #20558a; 
  background: linear-gradient(to bottom, #2f78c0 0%, #0f4071 100%);  
  background: -moz-linear-gradient(to bottom, #2f78c0 0%, #0f4071 100%); 
  background: -webkit-linear-gradient(to bottom, #2f78c0 0%, #0f4071 100%); 
  box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
  padding: 0 20px;
  border-top-right-radius: 15px;  
  border-top-left-radius: 15px;  
  list-style: none;
  position: relative;
  display: inline-table;
}

nav ul:after {
  content: "";
  clear: both;
  display: block;
}

nav ul li { float: left; }

/* Menu bar element, hover. */
nav ul li:hover {
  background: #2f78c0; /* For browsers that do not support gradients. */
  background: linear-gradient(to bottom, #2f78c0 0%, #0f4071 50%); /* Standard syntax */
  background: -moz-linear-gradient(to bottom, #2f78c0 0%, #0f4071 50%); /* Firefox 3.6 to 15 */
  background: -webkit-linear-gradient(to bottom, #2f78c0 0%, #0f4071 50%); /* For safari 5.1 to 6.0 */
}

nav ul li:hover a { color: #fff; }

/* Menu bar element, no hover. */
nav ul li a {
  display: block;
  padding: 8px 38px;
  color: white;
  text-decoration: none;
}

nav ul ul {
/*background: #5f6975; border-radius: 0px; padding: 0;*/
background: #0f4071; border-radius: 0px; padding: 0;
position: absolute; top: 100%;
}
nav ul ul li {
 float: none; 
 border-top: 1px solid #6b727c;
 border-bottom: 1px solid #575f6a;
 position: relative;
	}
nav ul ul li a {
 padding: 10px 40px;
 color: #fff;
		}	
nav ul ul li a:hover {
 /*background: #4b545f;*/
 background:  #2f78c0 ;
			}

nav ul ul ul {
position: absolute; left: 100%; top:0;
}

#maintext
{
  width: 1260px;
  margin-left: auto;
  margin-right: auto;
  background: white;
  border-bottom-left-radius: 15px;  
  border-bottom-right-radius: 15px;  
  font: normal 120% 'OpenSans', Helvetica, sans-serif;
  color: #333333;
  border: 40px;
  padding: 40px;
  margin-top:-25px;
}

#section
{
width: 1200px;
height: 220px;
margin-left: 0;
margin-right: auto;
}


.slideshow
{  
  width: 1166px;
  height: 550px;
  float: left;}

/* styling for the slideshow on the homepage */
ul.slideshow {
  list-style: none;
  width: 1166px;
  height: 550px;
  overflow: hidden;
  position: relative;
  margin: 0;}

ul.slideshow li {
  position: absolute;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;}

ul.slideshow li.show {
  z-index: 500;}

ul img {
  border: none;}

#slideshow-caption {
  width: 1166px;
  height: 48px;
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: 500;}

#slideshow-caption .slideshow-caption-container {
  padding: 10px 25px 10px 25px;
  background: transparent url(../images/transparent.png) repeat;
  z-index: 1000;}

#slideshow-caption p {
  padding: 0;
  font: normal 130% arial, sans-serif;
  color: #FFF;
  text-shadow: 1px 1px #000;}

footer
{ height: 50px;
  padding-bottom: 30px;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px #000;
  color: #FFF;}


/*  CSS STYLES FOR TABLES  */
table {
 	text-align: center;
 	width: 70%;
 	border: 0;
 	padding: 0;
 	margin: 0;
 	border-spacing: 0;
 	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif
 }
 
/* 
 * This is the table headers, aka the first row in our table 
 * "table tr:first-child tr" table headers
 * */
table tr:first-child th {
	background: #ffffff;
	background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(30%,#f6f6f6), color-stop(30%,#f6f6f6), color-stop(100%,#e5e5e5));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 30%,#f6f6f6 30%,#e5e5e5 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#f6f6f6 30%,#f6f6f6 30%,#e5e5e5 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#f6f6f6 30%,#f6f6f6 30%,#e5e5e5 100%);
	background: linear-gradient(to bottom,  #ffffff 0%,#f6f6f6 30%,#f6f6f6 30%,#e5e5e5 100%);
	padding: 8px 10px;
	color: #000;
	border-top: 1px solid #cecece;
	border-bottom: 1px solid #E6E6E6;
 }
 
/* Every cell in the table */
table tr td {
        text-align: center;
 	background-color: #F2F2F2;
 	padding: 5px 10px;
}
 
/* Adds a border and a border radius to the top far left cells */
table tr:first-child th:first-child {
	border-left: 1px solid #cecece;
	border-top-left-radius: 5px;
}
 
/* Adds a border and a border radius to the top far right cells */
table tr:first-child th:last-child {
	border-right: 1px solid #cecece;
	border-top-right-radius: 5px;
}
 
/* Adds a left border to all the far left cells*/
table tr td:first-child {
 	border-left: 1px solid #cecece;
}
 
/* Adds a right border to all the far right cells */
table tr td:last-child {
	border-right: 1px solid #cecece;
}
 
/* Add bottom border to all the cells at the last row */
 table tr:last-child td {
 	border-bottom: 1px solid #cecece;
}
 
/* Adds a border radius to the bottom left cell */
table tr:last-child td:first-child {
 	border-bottom-left-radius: 5px;
}
 
/* Adds a border radius to the bottom right cell */
table tr:last-child td:last-child {
	border-bottom-right-radius: 5px;
}

/* Style for the foot note of the table */
table tfoot:last-child td:last-child{
  font-size: 100%;
  background-color: white;
  border: none;
} 

.boxed {
  border: 1px solid black;
  background-color: #E8E8E8 ;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
} 
