body {
margin: 15px;
color: #F7F7F7;
background-color: #2F4F7D;
	  font-family: 'Work Sans', sans-serif;
 }
 .header {
 margin: -15px;
  }
  
  .casestudyitem {
 background-color: #D9A441;
 color: #1A1A1A;
   }

  .container {
  margin-left: 15px;
   }
  
  h3 {
  clear: both;
   }
	  	@media (max-device-width: 499px) {
 .header {
 font-size: 12pt;
  }
  .top {
  		 padding-left: 10px;
		 padding-right: 10px;
   }
        }
	  	@media (min-device-width: 500px) {
.header {
font-size: 16pt;
 }
 .top {
 		 padding-left: 30px;
		 padding-right: 30px;
  }
  
   }        
        
      .header {
        display: flex;                  /* establish flex container */
  flex-direction: row;            /* default value; can be omitted */
  flex-wrap: nowrap;
  height: 40px;
  justify-content:center;

	  background-color: gray;
	  z-index: 999;
	  				  font-family:League Spartan, Arial;
				  color: white;
	   }
	   a {
	   text-decoration: none;
	    }

.inner {
    display: flex;
    justify-content: center;
    align-items: center;        /* for single line flex container */
    align-content: center;      /* for multi-line flex container */
 }
		 .top {
         color:white;
		  }
          
          body {

          line-height: 24pt;
          font-family: Arial;
          font-size: 16pt;
           }
           
           .outer { 
           background: url(PortfolioBackground3.png) 0 0 repeat;
background-attachment:fixed;
                     position: relative;
}

           
           span {
           display: block;
             max-width: 1000px;
  min-width: 320px;
            }
            figcaption {
            font-size: 12pt;
    caption-side: bottom;
    display: table-caption;
             }
             figure {
             float:left;
             display:table;
              }
             	 .links {
	 color:blue; 
	  }
      
      .small {
      width: 100vw;
      max-width: 320px;
      height: auto;
       }
       .large {
       width: 100vw;
       max-width: 700px;
        height: auto;
        }   