@import url('https://fonts.googleapis.com/css?family=Raleway');

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body {
    margin: 0;
    padding: 0;
	height: 100%;
    width: 100%;
    /* Prevent iOS text size adjust on orientation change */
    font-size: 90%;
	-webkit-text-size-adjust: 90%; 
	-ms-text-size-adjust: 90%; 
}
body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
}
img {
    width: 100%;
	height: auto;
	display: block;
}
p { line-height: 3em; font-size: 2.5em; display:block; }

.wrapper {
   display: table;
   width: 100%;
   max-width: 1920px;
   margin: 0 auto;
}

header .logostrip { display: block; width: 100%; height:110px; max-height: 110px;  }

/* TABLE STRUCTURE PRAC  
    ROW ONE  */
.fullwraptable { display: block; width: 100%; height: auto; padding:0; margin: 0; }
.therow { display: block; width: 100%; padding:0; margin: 0; }
.spacercell { display: none; }
.contentcell { display: block; text-align: left; width: 100%; padding:0; margin: 0; }
.contentcell h2 { font-family: 'Raleway', sans-serif; font-weight: normal; text-align: center; max-width: 263px; max-height: 80px; font-size: 4em; color: #ffffff; background:#dc022e; padding:7px 6px; margin: 0.1em 0 0 0; }
.border { border-bottom: 1px solid #c9c9c9; width: 100%; }
/* ROW TWO - Text  */

.contentcelltext { display: block; text-align: left; width: 100%; padding:0 1em; margin: 0; }
.havastext { display: block; margin: 0; width: 100%; height: auto; padding:0; margin: 0;   }
.havastext h1 { display: block; padding: 0.3em 1em; margin:0.2em 0 0 0; font-family: 'Raleway', sans-serif; font-weight: normal; font-size:2em; color:#000000; }
.havastext p { font-family: 'Raleway', sans-serif; font-size: 1.3em; color: #000000; line-height: 1.4em; text-align: left; padding:0.4em 1em; margin:0.3em 0 0 0; }
/* ROW THREE - Images  */
.coltable { display: block; width: 100%; max-width: 100%; height: auto; padding:0 0 0 4em; margin: 0; }
.colone { display: none; }
.coltwo { display: none; }
.colthree { display: none; }
.colfour { display: none; }
.imagesrow { display: block; width: 100%; height: auto; }
.colcellone { display: none;  }
.colcelltwo { display:block; overflow: auto; width:90%; margin: 0; padding: 0 0 1em 0; background-image: url('../images/b-mid-left.jpg'); background-repeat: no-repeat; background-position: left top;  }
.colcellthree { display: none; }
.colcellfour { display:block; overflow: auto; width:90%; margin: 0; padding: 0; background-image: url('../images/c-mid-right.jpg'); background-repeat: no-repeat; background-position: left top; }

.navh { display: block; padding: 220px 0 0 20px; }
.navh h3 { font-family: 'Raleway', sans-serif; font-weight: normal; font-size:2em; color: #ffffff; margin:0; padding: 0 0 .2em .4em;  }
/* NAVIGATION PRAC  */
/* Navigation - step one - strip out default browser list styling - have you used a reset like normalize?  */
.navh ul, li { margin:0; padding: 0; list-style: none; }
/* stretches to the full width of the parent container - line height defines a line box, better than 'height' value   */
.navh li a { display: block; width: 100%; max-width: 16em; line-height: 1.5em; font-size: 1.15em; text-decoration: none; color:#ffffff; 
        padding: .1em 0 .1em .75em; /* border-bottom should replace margin-bottom  */ border-bottom: 1px solid #ee5672; }
.navh li a.angle::after { list-style-position: outside; content: "\f105"; font-family: FontAwesome; font-style: normal; font-weight: normal;
                /*--adjust as necessary--*/  color: #ffffff; font-size: 40px; padding-left: 0.5em; position: relative; vertical-align: middle; bottom:2px; }
.navh li a:hover { background:#6f0722; max-width: 16em; }
.navh li:first-child a { margin-top: 0.25em; }
.navh li:last-child a { border-bottom: none; margin-bottom: 1.5em; }

.flickrcell { display: table-cell; text-align: left; width: 81%; padding: 1em 0 0 0; margin: 0; }
.flickrcell h2 { font-family: 'Raleway', sans-serif; font-weight: normal; text-align: center; max-width: 170px; max-height: 80px; font-size: 4em; color: #ffffff; background:#dc022e; padding:7px 6px; margin: 0; }
.feedf { display: block; width: 100%; max-width: 700px;  font-family: Arial, Helvetica, sans-serif; font-style: normal; font-weight: 100; color:#919191; line-height: 1.5em; font-size: 1.5em; margin: .6em 0 0 0; padding: 0; }
#theffeed { display: block; width: 100%; height: 100%; max-width: 600px; max-height: 300px; background:#c9c9c9; padding:0; margin-bottom: 5%; }
/*   */			
			#theffeed .photo { 
                /*  JSON feed assighed to class 'photo'  */	
				max-width: 100%; 
				height: auto; 
				padding: 5px; 
				float: left; 
				width: 50%; /* Until we hit our breakpoint, we'll show the feed images at 50% (2 column) */
				-webkit-transition: all 0.3s ease;                  
				-moz-transition: all 0.3s ease;                 
				-o-transition: all 0.3s ease;   
				-ms-transition: all 0.3s ease;          
				transition: all 0.3s ease;
			}
			/* photo hover effect */
			#theffeed .photo:hover { opacity: 0.6; }


			#theffeed .photo { 
                /*  JSON feed assighed to class 'photo'  */	
				max-width: 100%; 
				height: auto; 
				padding: 5px; 
				float: left; 
				width: 50%; /* Until we hit our breakpoint, we'll show the feed images at 50% (2 column) */
				-webkit-transition: all 0.3s ease;                  
				-moz-transition: all 0.3s ease;                 
				-o-transition: all 0.3s ease;   
				-ms-transition: all 0.3s ease;          
				transition: all 0.3s ease;
			}
			/* photo hover effect */
			#theffeed .photo:hover { opacity: 0.6; }
			
/* --------------------------------------------
Default Styles - Take effect for all devices, from mobile up
----------------------------------------------*/

/* --------------------------------------------
Mobile Devices (Wider/Landscape) - Take effect from 480px
----------------------------------------------*/
@media only screen and (min-width: 480px) {
/*  After 480px we show Flickr photos in 4 columns at 25% */	
  #theffeed .photo { width: 25%; } 
  .contentcell { display: block; text-align: left; width: 81%; padding: 1em 0 1em 0; margin:0; }
  .border { border-bottom: 1px solid #c9c9c9; width: 100%; max-width: 960px; }
  .contentcelltext { padding:0; margin: 0; }
  .havastext h1 { text-align: center; }
  .havastext p { text-align: center; }
}


/* --------------------------------------------
Tablet Devices - Take effect from 660px
----------------------------------------------*/
@media only screen and (min-width: 660px) {
  .border { border-bottom: 1px solid #c9c9c9; width: 100%; max-width: 960px; }
  .havastext h1 { text-align: left; }
  .havastext p { text-align: left; }	
}

/* --------------------------------------------
Desktop Devices - Take effect from 960px
----------------------------------------------*/
@media only screen and (min-width: 960px) {

.coltable { display: table; table-layout: fixed; width: 100%; max-width: 1920px; height: auto; padding:0; margin: 0; }
.colone { display: none; }
.coltwo { display: table-column;}
.colthree { display: table-column; }
.colfour { display: table-column; }
.imagesrow { display: table-row; width: 100%; max-width: 1920px; height: auto; }
.colcellone { display: none;  }
.colcelltwo { display: table-cell; margin:0; padding:0; width: 39%; max-width: 30px; background-image: url('../images/b-mid-left.jpg'); background-repeat: no-repeat; background-position: left top;  }
.colcellthree { display: table-cell; width: 3%; max-width: 30px; margin:0; background-image: url('../images/spacer_col.gif'); background-repeat: no-repeat; background-position: center top; }
.colcellfour { display: table-cell; margin:0; padding:0; width: 39%; max-width: 30px; background-image: url('../images/c-mid-right.jpg'); background-repeat: no-repeat; background-position: left top; }

   }

/* --------------------------------------------
Big Screen Devices - Take effect from 1200px
----------------------------------------------*/
@media only screen and (min-width: 1200px) {
	
.fullwraptable { display: table; table-layout: fixed; width: 100%; max-width: 1920px; height: auto; padding:0; margin: 0; }
.therow { display: table-row; width: 100%; max-width: 1920px; padding:0; margin: 0; }
.spacercell { display: table-cell; width: 19%;  vertical-align: top; padding: 0 0 0 30px; margin: 0;  }
.contentcell { display: table-cell; text-align: left; width: 81%; padding: 80px 0 20px 0; margin: 0; }
.flickrcell { display: table-cell; text-align: left; width: 81%; padding: 20px 0 20px 0; margin: 0; }
.colone { display: table-column; }
.colcellone { display: table-cell; margin: 0; width: 19%; max-height:362px; }

   }

