/* LAYOUT STYLES */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
	margin: 0;
}

/* Style the header */
header {
  background-color: #666;
  padding: 30px;
  text-align: center;
  font-size: 35px;
  color: white;
}

/* Container for flexboxes */
section {
  display: -webkit-flex;
  display: flex;
}

/* Style the navigation menu */
nav {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background: #e6e6fa;
  padding: 40px;
}

/* Style the list inside the menu */
nav ul {
  list-style-type: none;
  padding: 5px;
}
nav ul li {
  padding: 5px;
}

/* Style the content */
article {
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  background-color: #fff;
  padding: 20px;
}

/* Style the footer */
footer {
  background-color: #e6e6fa;
  padding: 20px;
}

/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 600px) {
  section {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}

/* HEADER STYLES */

  #portal-top {
    margin: 0;
    padding: 0;
    color: #fff;
    font: 11px "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;
  }
  #portal-top a {
    color: #fff;
    text-decoration: none;
    font: 11px "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;
  }
  #portal-header {
    margin: 0;
    padding: 0;
    background: url("http://www.hunter.cuny.edu/icit/ssi/img/headerbackground.jpg") repeat-x scroll 0 top #482D7B;
  }
  #portal-logo {
    display: block;
  }
  #portal-logo img {
    border: 0;
    margin: 14px 24px 20px;
    float: left;
  }
  #portal-searchbox {
    clear: none;
    float: right;
    margin: 0.5em 0 0;
    padding: 0 2em 0 0;
    text-align: right;
    white-space: nowrap;
  }
  #portal-searchbox .LSBox {
    margin-bottom: 0.25em;
    clear: both;
    display: block;
    float: left;
    padding-right: 1px;
    text-align: right;
  }
  #searchGadget {
    border: 1px solid #8CACBB;
    color: #76797C;
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: url("http://www.hunter.cuny.edu/input_background.gif") repeat-x scroll 0 0 White;
    border-color: #666666 #DDDDDD #DDDDDD #666666;
    border-style: solid;
    border-width: 1px;
    font-family: "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;
    font-size: 10px;
    vertical-align: middle;
    visibility: visible;
  }
  #portal-searchbox input.searchButton {
    background: url("http://www.hunter.cuny.edu/icit/ssi/img/searchButton2.png") no-repeat scroll 3px 4px transparent;
    border: medium none;
    color: transparent;
    overflow: hidden;
    width: 10px;
    cursor: pointer;
    font-size: 85%;
    margin-bottom: 1px !important;
    padding: 1px 1px 1px 19px;
    text-transform: lowercase;
  }
  #portal-searchbox .searchLinks {
    clear: both;
    margin: 0 0.5em 0.25em;
    text-align: left;
  }
  #portal-searchbox a {
    color: #D3C1E7;
    margin-right: 1em;
  }
  #portal-searchbox a:hover {
    text-decoration: underline;
  }
  #portal-globalnav {
    clear: both;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    text-transform: lowercase;
    white-space: nowrap;
    background: url("http://www.hunter.cuny.edu/icit/ssi/img/globalNavBackground.jpg") repeat-x scroll left center #D2CDC7;
    height: 30px;
    width: 100%;
    position: relative;
    display: table;
  }
  #portal-globalnav li {
    display: table-cell;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  #portal-globalnav li a {
    background: url("http://www.hunter.cuny.edu/icit/ssi/img/globalNavDivider.jpg") no-repeat scroll right center transparent;
    border: medium none;
    color: #5f259f;
    display: block;
    height: 23px;
    line-height: 1.4em;
    margin-right: 0;
    padding: 6px 20px 0;
    text-transform: uppercase;
  }
  #portal-globalnav li a:hover {
    background: url("http://www.hunter.cuny.edu/icit/ssi/img/globalNavBackgroundHover.jpg") no-repeat scroll right center transparent;
  }
  #portal-globalnav li.last a {
    background: url("http://www.hunter.cuny.edu/icit/ssi/img/globalNavBackgroundGold.jpg") repeat-x scroll right center transparent;
  }
  #portal-globalnav li.last a:hover {
    background: url("http://www.hunter.cuny.edu/icit/ssi/img/globalNavBackgroundHoverGold.jpg") no-repeat scroll left center transparent;
  }

  /* EXISTING STYLES */
  
  body {
  	font-family: 'Avenir';
  	font-size: 14px;
  	font-style: normal;
  	word-spacing: 1px;
  	letter-spacing: 1px;
  	color: #000000;
  	text-decoration: none;
  	margin: 0px;
  	letter-spacing: 0px;
  	background-color: #fafafa;
  	background-image: url(../img/bg.gif);
  	background-repeat: repeat-y;
  	background-position: 0px 0px;
  }
  td {
  	font-family: 'Avenir';	
  	font-size: 18px;
  	line-height: 20px;
  	color: #000000;
  }
  .white {
  	font-family: 'Avenir';
  	font-size: 14px;
  	font-weight: bold;
  	word-spacing: 1px;
  	color: #ffffff;
  	text-decoration: none;
  }
  .note {
  	padding: 2px;
  	margin: 0px;
  	background-color: #e6e6fa;
  }
  .bg {
  	padding: 4px;
  	margin: 0px;
  	background-color: #e6e6fa;
  }
  .hunter {
  	font-family: 'Avenir';
  	font-size: 11.5px;
  	font-weight: bold;
  	color: #000000;
  	word-spacing: 1px;
  }
  .blue {
  	font-family: 'Avenir';
  	font-size: 14px;
  	font-weight: bold;
  	line-height: 18px;
  	color: #523682;
  	text-decoration: none;
  }
  .title_white {
  	font-family: 'Avenir';
  	font-size: 14px;
  	font-weight: bold;
  	color: #FFFFFF;
  	text-decoration: none;
  }
  .nav_sel {
  	font-family: 'Avenir';
  	font-size: 14px;
  	font-weight: bold;
  	color: #ffffff;
  	background-color: #e6e6fa;
  	text-decoration: none;
  	/* text-shadow: #666 2px 2px 2px; */
  }
  .title_serif {
  	font-family: 'Adobe Garamondo Bold', 'Adobe Garamondo Semibold', 'Avenir', Times, serif;
  	font-size: 20px;
  	line-height: 26px;
  	font-weight: bold;
  	color: #5f259f;
  	text-decoration: none;
  	/* text-shadow: #523682 2px 2px 2px; */
  	/* font-style: italic; */
  }


  .title_serif3 {
  	font-family: 'Adobe Garamondo Bold', 'Adobe Garamondo Semibold', 'Avenir', Times, serif;
  	font-size: 25px;
  	line-height: 35px;
  	font-weight: bold;
  	color: #5f259f;
  	text-decoration: none;
  	/* text-shadow: #523682 2px 2px 2px; */
  	/* font-style: italic; */
  }

  .title_serif4 {
  	font-family: 'Adobe Garamondo Bold', 'Adobe Garamondo Semibold', 'Avenir', Times, serif;
  	font-size: 40px;
  	line-height: 50px;
  	font-weight: bold;
  	color: #5f259f;
  	text-decoration: none;
  	/* text-shadow: #523682 2px 2px 2px; */
  	/* font-style: italic; */
  }


  .cal {
  	font-family: 'Avenir';
  	font-size: 18px;
  	line-height: 22px;
  	color: #000000;
  }

  a:link {
  	font-family: 'Avenir';
  	font-size: 18px;
  	line-height: 22px;
  	font-weight: bold;
  	color: #5f259f;
  	text-decoration: none;
  	/* text-shadow: #aaa 2px 2px 2px; */
  }
  a:visited {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #5f259f;
  	text-decoration: none;
  }
  a:hover {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	line-height: 22px;
  	color: #ffc72a;
  	text-decoration: none;
  	text-shadow: #5f259f 2px 2px 2px;
  }
  a:active {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #666666;
  	text-decoration: none;
  }
  a:focus {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #5f259f;
  	text-decoration: none;
  }
  a.white:link {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #edebe4;
  	text-decoration: none;
  	/* text-shadow: #666 2px 2px 2px; */
  }
  a.white:visited {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #d8d7c9;
  	text-decoration: none;
  }
  a.white:hover {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #ffffff;
  	text-decoration: none;
  	text-shadow: #5f259f 1px 1px 2px;
  }
  a.white:active {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #000000;
  	text-decoration: none;
  }
  a.white:focus {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #ffffff;
  	text-decoration: none;
  	/* text-shadow: #523682 1px 1px 2px; */
  }


  a.bg:link {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #FFFFFF;
  	background-color: #5f259f;
  	text-decoration: none;
  	/* text-shadow: #888 2px 2px 2px; */
  }
  a.bg:visited {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #FFFFFF;
  	background-color: #5f259f;
  	text-decoration: none;
  }
  a.bg:hover {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #FFFFFF;
  	background-color: #000000;
  	text-decoration: none;
  	/* text-shadow: #523682 1px 1px 2px; */
  }

a:hover img {
  opacity: 0.7;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

  a.bg:active {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #523682;
  	background-color: #000000;
  	text-decoration: none;
  }
  a.bg:focus {
  	font-family: 'Avenir';
  	font-size: 18px;
  	font-weight: bold;
  	color: #FFFFFF;
  	background-color: #000000;
  	text-decoration: none;
  	/* text-shadow: #888 2px 2px 2px; */
  }

  h2 a {
  	font-size: 20px !important;

  }




  img {
  	border:none;
  }

  img.photo {
  	padding:14px;
  	background:#fff;
  	border:solid 1px #666;
  	}
	
  p {
  	font-family: 'Avenir';
  	font-size: 18px;
  	line-height: 22px;
  	color: #000000;
  }
  
  
  /* KATE STYLES */
  
  #article-title {
	  text-align: center;
  }
  
  #article-title h1 {
	  font-size: 2em;
	  margin-bottom: 0;
  }
  
  #article-title h2 {
	  margin-top: 0;
  }
  
  #header-image {
	  width: 100%;
	  height: auto;
	  text-align: center;
	  padding: 5px;
  }
  
  #header-image img {
	  border: 1px solid #000;
	  padding: 5px;
      width: 100%;
      height: auto;
  }
  
  
  footer p:nth-of-type(1) {
	  margin-left: -10px;
  }
  
 .student-work {
	  display: inline-block;
	  width: 150px;
	  height: 250px;
	  vertical-align: top;
  }


  .iframe-container {
    overflow: hidden;
    /* 16:9 aspect ratio */
    padding-top: 56.25%;
    position: relative;
  }
  .iframe-container iframe {
     border: 0;
     height: 100%;
     left: 0;
     position: absolute;
     top: 0;
     width: 100%;
  }