body  {
    background-color: #cfcfd0;
    background-image:url(backgroundgradient.jpg);
    background-repeat: repeat-x;
    font-family: 'Open Sans', sans-serif;
   
}

div#wrapper {
    background-color: #fff;
    margin: 40px auto;
    width: 80%;
    max-width: 1100px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px; /* future proofing */
    -moz-box-shadow:    3px 3px 5px 3px #302f59;
    -webkit-box-shadow: 3px 3px 5px 3px #302f59;
    box-shadow:         3px 3px 5px 3px #302f59;
    min-width: 560px;
    
    
    }


   
.group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0;}
.group {display: inline-block; clear: both;}
/* start commented backslash hack\*/* html .group { height: 1% } .group { display: block;} /*close commented backslash hack */

footer  {
    width: 600px;
    margin: 10px 20%;
    font-size: x-small;
}


div#carousel1 {
    width:550px;
    float: right;
    height:400px;
    overflow:scroll;
    margin: -50px auto;
    padding-bottom: 100px;
}

img.cloudcarousel {
	border: none;
    }
    
h1 {
    color: #312c7a;
    margin-top: 300px;
}

h2 {
    color: #312c7a;
    font-size: large;
}


a {
    text-decoration: none;
    color: #000000;
    font-weight: bolder;
}

a:hover {
    text-decoration: underline;
}

nav {background: white; padding: 0em; font-size: 80%; margin-left: 50%; margin-top:}
nav a {text-decoration: none; padding: 1rem; border-right: 1px solid black;}
nav a:last-child {border-right: none;}
nav a:hover {text-decoration: underline;}
main {display: block; padding: 1rem; font-size: 1.6rem;}
h1,h2 {margin: 1rem;}
nav a:first-child {display: none;}

div#wrap {
    margin: 0 0 0 90px;
    padding: 0 0 50px 0;

}
#wrap p {
    margin: 0 90px 0 70px;
    line-height: 120%;
   }


#courses li{
font-family: 'Open Sans', sans-serif;
font-size: 12pt;
    margin-left: 220px;
    line-height: 120%
}

.link {
    margin-right: 40px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px; /* future proofing */
    -moz-box-shadow:    3px 3px 5px 3px #302f59;
    -webkit-box-shadow: 3px 3px 5px 3px #302f59;
    box-shadow:         3px 3px 5px 3px #302f59;
 }
 
 .caption {
    font-size: 80%;
    }
    
   
    
    
    @media screen and (max-width: 900px) {

    div#wrapper {
       margin-top: 10px;
       width: 100%;}
    
    h1 {
    font-size: medium;}
    
    h2 {
	margin-left: 0px;
    }

    div#wrap {
    margin: 0 0 0 30px;
    padding: 0 0 20px 0;
}

   
   #wrap ul {
    list-style-type: circle;
    margin-left: 0px;
   }
   
   #buttons {
    margin:-40px 0 0px 0px;
   }
   
   footer {
    margin-left: 10px;
   }
 
  
  
  }
  
  
  @media screen and (max-width: 800px) {
	nav a, nav a:first-child {display: block; border-right: none; font-size: large;}
	nav {padding: 0; height: 3.2rem; overflow: hidden; -webkit-transition: .6s height ease-in-out; margin-left: 0em; }
	nav a:hover {background-color: #3a4076; color: #fff;}
	nav a:first-child: {background-color: #fff;}
	nav:hover {height: 17rem; }
}

  
  