html {
	height: 100%;
	width: 100%;
	overflow: hidden;
}

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #FFFFFF;
	font-family: Helvetica, Arial, 'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;
	height: 100%;
}

/* LANDSCAPE IPAD +*/ 
@media screen and (orientation: landscape) and (min-width:980px) { 

    /* wrap entire page in a div to add margins top and bottom */
    #wrapper {
        position: absolute;
   	    top: 50%;
   	    left: 50%;
   	    width: 100%;
        height: 560px;
   	    margin-top: -280px; /* Half the height */
   	    margin-left: -50%; /* Half the width */
        background-color: #aaaaaa;
    }

    #container {
	    font-size: 100%;
	    
		position: absolute;
   	    top: 0;
   	    left: 50%;
   	    width: 980px;
        height: 100%;
   	    margin-top: 0px; /* Half the height */
   	    margin-left: -490px; /* Half the width */
	
    }

    /* the left div, holds the navigation */
    #headerDiv {
    	position: absolute;
        height: 100%;
        width: 110px;
        
        background-color: #aaaaaa;
        
        border-right-style: solid;
        border-width: 10px;
        border-color: #ffffff;
    }

    /* navigation */
    #navDiv {
    	position: absolute;
   	    bottom: 90px;
   	    left: 0px;
        width: 90px;
        margin: 10px;
        background-color: #aaaaaa;
    }

    /* menu styling */
    #navDiv ul {
        width: 90px;
        color: #FFFFFF;
        list-style-type: none;
        padding: 0;
    }
        
    #navDiv ul li {
	   padding: 0;
	   margin: 0;
    }

    /* the centre div, holds the main content */
    #articleDiv {
    	position: absolute;
   	    left: 120px;
        height: 560px;
    }
    
    #articleDiv img {
        height: 558px;
        width: auto;
        margin: 1px;
    }

	#textContentDiv {
    	position: absolute;
   	    height:490px;
    	width: 210px;
    	
    	margin-top: 50px;
    	margin-left: 530px;
    	padding-right: 20px;
    	
    	overflow:scroll; overflow-y:scroll; overflow-x:hidden;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

	#contactContentDiv {
    	position: absolute;
   	    height:160px;
    	width: 210px;
    	
    	margin-top: 405px;
    	margin-left: 530px;
    	padding-right: 20px;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}
	
    /* the right div */
    #footerDiv {
    	position: absolute;
        right: 0px;
        height: 100%;
        width: 47px;
        
        background-color: #aaaaaa;
        
        border-left-style: solid;
        border-width: 10px;
        border-color: #ffffff;
    }
    
    #buttonsDiv {
    	position: absolute;
        bottom: 10px;
        left: 878px;
        width: 100px;
    }
    
    #buttonsDiv img {
        width: 50%;
        height: auto;
        
        border: none;
    }
    
    #logoDiv {
    	position: absolute;
    	bottom: 0px;
    	left: 0px;
    	padding: 10px;
    }
    
    #logoDiv img {
    	width: 90px;
    	height: auto;
    	border-style: none;
    }
    
    #menuBtnDiv {
    	display: none;
    }
}

/* LANDSCAPE 2*/ 
@media screen and (orientation: landscape) and (max-width:980px) {

    /* wrap entire page in a div to add margins top and bottom */
    #wrapper {
        position: absolute;
   	    top: 50%;
   	    left: 50%;
   	    width: 100%;
        height: 400px;
   	    margin-top: -200px; /* Half the height */
   	    margin-left: -50%; /* Half the width */
        background-color: #aaaaaa;
    }

    #container {
	    font-size: 110%;
	    
		position: absolute;
   	    top: 0;
   	    left: 50%;
   	    width: 740px;
        height: 100%;
   	    margin-top: 0px; /* Half the height */
   	    margin-left: -370px; /* Half the width */
	
    }

    /* the left div, holds the navigation */
    #headerDiv {
    	position: absolute;
        height: 100%;
        width: 110px;
        
        background-color: #aaaaaa;
        
        border-right-style: solid;
        border-width: 8px;
        border-color: #ffffff;
    }

    /* navigation */
    #navDiv {
    	position: absolute;
   	    bottom: 85px;
   	    left: 0px;
        margin: 8px;
        background-color: #aaaaaa;
    }

    /* menu styling */
    #navDiv ul {
        color: #FFFFFF;
        list-style-type: none;
        padding: 0;
    }
        
    #navDiv ul li {
	   padding: 0;
	   margin: 0;
    }

    /* the centre div, holds the main content */
    #articleDiv {
    	position: absolute;
   	    left: 118px;
        height: 100%;
    }
    
    #articleDiv img {
        height: 398px;
        width: auto;
        margin: 1px;
    }

	#textContentDiv {
    	position: absolute;
   	    height:330px;
    	width: 190px;
    	
    	margin-top: 50px;
    	margin-left: 320px;
    	padding-right: 20px;
    	
    	overflow:scroll; overflow-y:scroll; overflow-x:hidden;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

	#contactContentDiv {
    	position: absolute;
   	    height:330px;
    	width: 190px;
    	
    	margin-top: 230px;
    	margin-left: 320px;
    	padding-right: 20px;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

    /* the right div */
    #footerDiv {
    	position: absolute;
        right: 0px;
        height: 100%;
        width: 41px;
        
        background-color: #aaaaaa;
        
        border-left-style: solid;
        border-width: 8px;
        border-color: #ffffff;
    }
    
    #buttonsDiv {
    	position: absolute;
        bottom: 12px;
        left: 645px;
        width: 100px;
    }
    
    #buttonsDiv img {
        width: 50%;
        height: auto;
        
        border: none;
    }
    
    #logoDiv {
    	position: absolute;
    	bottom: 0px;
    	left: 0px;
    	padding: 8px;
    }
    
    #logoDiv img {
    	width: 94px;
    	height: auto;
    	border-style: none;
    }
    
    #menuBtnDiv {
    	display: none;
    }
}


/* LANDSCAPE 3*/ 
@media screen and (orientation: landscape) and (max-width:740px) {

    /* wrap entire page in a div to add margins top and bottom */
    #wrapper {
        position: absolute;
   	    top: 50%;
   	    left: 50%;
   	    width: 100%;
        height: 210px;
   	    margin-top: -105px; /* Half the height */
   	    margin-left: -50%; /* Half the width */
        background-color: #aaaaaa;
    }

    #container {
	    font-size: 130%;
	    
		position: absolute;
   	    top: 0;
   	    left: 50%;
   	    width: 480px;
        height: 100%;
   	    margin-top: 0px; /* Half the height */
   	    margin-left: -240px; /* Half the width */
	
    }

    /* the left div, holds the navigation */
    #headerDiv {
    	position: absolute;
        height: 100%;
        width: 121px;
        
        background-color: #aaaaaa;
        
        border-right-style: solid;
        border-width: 5px;
        border-color: #ffffff;
    }

    /* navigation */
    #navDiv {
    	position: absolute;
   	    top: 0px;
   	    left: 0px;
        margin: 5px;
        background-color: #aaaaaa;
    }

    /* menu styling */
    #navDiv ul {
        width: 111px;
        color: #FFFFFF;
        list-style-type: none;
        padding: 0;
    }
        
    #navDiv ul li {
	   padding: 0;
	   margin: 0;
    }

    /* the centre div, holds the main content */
    #articleDiv {
    	position: absolute;
   	    left: 126px;
        height: 100%;
    }
    
    #articleDiv img {
        height: 208px;
        width: auto;
        margin: 1px;
    }

	#textContentDiv {
    	position: absolute;
   	    height:180px;
    	width: 270px;
    	
    	margin-top: 10px;
    	margin-left: 0px;
    	padding-left: 10px;
    	padding-right: 10px;
    	
    	overflow:scroll; overflow-y:scroll; overflow-x:hidden;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

	#contactContentDiv {
    	position: absolute;
   	    height:180px;
    	width: 280px;
    	
    	margin-top: 10px;
    	margin-left: 0px;
    	padding-left: 10px;
    	padding-right: 10px;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

    /* the right div */
    #footerDiv {
    	position: absolute;
        right: 0px;
        height: 100%;
        width: 49px;
        
        background-color: #aaaaaa;
        
        border-left-style: solid;
        border-width: 5px;
        border-color: #ffffff;
    }
    
    #buttonsDiv {
    	position: absolute;
        bottom: 10px;
        left: 379px;
        width: 100px;
    }
    
    #buttonsDiv img {
        width: 50%;
        height: auto;
        
        border: none;
    }
    
    #logoDiv {
    	position: absolute;
    	bottom: 0px;
    	left: 0px;
    	padding: 5px;
    }
    
    #logoDiv img {
    	width: 111px;
    	height: auto;
    	border-style: none;
    }
    
    #menuBtnDiv {
    	display: none;
    }
}



/* PORTRAIT 1 */
@media screen and (orientation: portrait) and (min-height:900px) {

    /* wrap entire page in a div to add margins top and bottom */
    #wrapper {
        position: absolute;
   	    top: 0;
   	    left: 50%;
   	    width: 720px;
        height: 100%;
   	    margin-top: 0; /* Half the height */
   	    margin-left: -360px; /* Half the width */
        background-color: #aaaaaa;
    }

    #container {
	    font-size: 100%;
	    position: absolute;
   	    top: 50%;
   	    left: 0;
   	    width: 100%;
        height: 900px;
   	    margin-top: -450px; /* Half the height */
   	    margin-left: 0px; /* Half the width */
	
    }

    /* the left div, holds the navigation */
    #headerDiv {
    	position: absolute;
        width: 100%;
        height: 160px;
        
        background-color: #aaaaaa;
        
        border-bottom-style: solid;
        border-width: 10px;
        border-color: #ffffff;
    }

    /* navigation */
    #navDiv {
    	position: absolute;
   	    bottom: 125px;
   	    left: 130px;
        margin: 10px;
        background-color: #aaaaaa;
    }

    /* menu styling */
    #navDiv ul {
        width: 90px;
        color: #FFFFFF;
        list-style-type: none;
        line-height: 16px;
        padding: 0;
    }
        
    #navDiv ul li {
	   padding: 0;
	   margin: 0;
    }

    /* the centre div, holds the main content */
    #articleDiv {
    	position: absolute;
    	left: 0px;
   	    top: 170px;
        width: 100%;
    }
    
    #articleDiv img {
        width: 718px;
        height: auto;
        margin: 1px;
    }

	#textContentDiv {
    	position: absolute;
   	    height:460px;
    	width: 660px;
    	
    	margin-top: 20px;
    	margin-left: 0px;
    	padding-left: 20px;
    	padding-right: 20px;
    	
    	overflow:scroll; overflow-y:scroll; overflow-x:hidden;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

	#contactContentDiv {
    	position: absolute;
   	    height:460px;
    	width: 205px;
    	
    	margin-top: 20px;
    	margin-left: 0px;
    	padding-left: 20px;
    	padding-right: 20px;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

    /* the right div */
    #footerDiv {
    	position: absolute;
        bottom: 0px;
        width: 100%;
        height: 218px;
        
        background-color: #aaaaaa;
        
        border-top-style: solid;
        border-width: 10px;
        border-color: #ffffff;
    }
    
    #buttonsDiv {
    	position: absolute;
        bottom: 130px;
        right: 5px;
        width: 155px;
    }
    
    #buttonsDiv img {
        width: 42%;
        margin-left: 8%;
        height: auto;
        
        border: none;
    }
    
    #logoDiv {
    	position: absolute;
    	bottom: 115px;
    	left: 0px;
    	padding: 10px;
    }
    
    #logoDiv img {
    	width: 120px;
    	height: auto;
    	border-style: none;
    }
    
    #menuBtnDiv {
    	display: none;
    }
}

/* PORTRAIT 2 */
@media screen and (orientation: portrait) and (max-height:900px) {

    /* wrap entire page in a div to add margins top and bottom */
    #wrapper {
        position: absolute;
   	    top: 0;
   	    left: 50%;
   	    width: 400px;
        height: 100%;
   	    margin-top: 0; /* Half the height */
   	    margin-left: -200px; /* Half the width */
        background-color: #aaaaaa;
    }

    #container {
	    font-size: 90%;
	    position: absolute;
   	    top: 50%;
   	    left: 0;
   	    width: 100%;
        height: 600px;
   	    margin-top: -300px; /* Half the height */
   	    margin-left: 0px; /* Half the width */
	
    }

    /* the left div, holds the navigation */
    #headerDiv {
    	position: absolute;
        width: 100%;
        height: 132px;
        
        background-color: #aaaaaa;
        
        border-bottom-style: solid;
        border-width: 8px;
        border-color: #ffffff;
    }

    /* navigation */
    #navDiv {
    	position: absolute;
   	    bottom: 98px;
   	    left: 130px;
        margin: 10px;
        background-color: #aaaaaa;
    }

    /* menu styling */
    #navDiv ul {
        width: 90px;
        color: #FFFFFF;
        list-style-type: none;
        line-height: 13px;
        padding: 0;
    }
        
    #navDiv ul li {
	   padding: 0;
	   margin: 0;
    }

    /* the centre div, holds the main content */
    #articleDiv {
    	position: absolute;
    	left: 0px;
   	    top: 140px;
        width: 100%;
    }
    
    #articleDiv img {
        width: 398px;
        height: auto;
        margin: 1px;
    }

	#textContentDiv {
    	position: absolute;
   	    height:258px;
    	width: 370px;
    	
    	margin-top: 10px;
    	margin-left: 0px;
    	padding-left: 10px;
    	padding-right: 10px;
    	
    	overflow:scroll; overflow-y:scroll; overflow-x:hidden;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

	#contactContentDiv {
    	position: absolute;
   	    height:258px;
    	width: 370px;
    	
    	margin-top: 20px;
    	margin-left: 0px;
    	padding-left: 20px;
    	padding-right: 20px;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

    /* the right div */
    #footerDiv {
    	position: absolute;
        bottom: 0px;
        width: 100%;
        height: 173px;
        
        background-color: #aaaaaa;
        
        border-top-style: solid;
        border-width: 8px;
        border-color: #ffffff;
    }
    
    #buttonsDiv {
    	position: absolute;
        bottom: 105px;
        right: 5px;
        width: 130px;
    }
    
    #buttonsDiv img {
        width: 42%;
        margin-left: 8%;
        height: auto;
        
        border: none;
    }
    
    #logoDiv {
    	position: absolute;
    	bottom: 90px;
    	left: 0px;
    	padding: 10px;
    }
    
    #logoDiv img {
    	width: 100px;
    	height: auto;
    	border-style: none;
    }
    
    #menuBtnDiv {
    	display: none;
    }
}



/* PORTRAIT 3 */
@media screen and (orientation: portrait) and (max-height:600px) {

    /* wrap entire page in a div to add margins top and bottom */
    #wrapper {
        position: absolute;
   	    top: 0;
   	    left: 50%;
   	    width: 310px;
        height: 100%;
   	    margin-top: 0; /* Half the height */
   	    margin-left: -155px; /* Half the width */
        background-color: #aaaaaa;
    }

    #container {
	    font-size: 90%;
	    position: absolute;
   	    top: 50%;
   	    left: 0;
   	    width: 100%;
        height: 320px;
   	    margin-top: -160px; /* Half the height */
   	    margin-left: 0px; /* Half the width */
	
    }

    /* the left div, holds the navigation */
    #headerDiv {
    	display: none;
    	position: absolute;
        width: 100%;
        height: 132px;
        
        background-color: #aaaaaa;
        
        border-bottom-style: solid;
        border-width: 8px;
        border-color: #ffffff;
    }

    /* navigation */
    #navDiv {
    	display: none;
    	position: absolute;
   	    bottom: 98px;
   	    left: 130px;
        margin: 10px;
        background-color: #aaaaaa;
    }

    /* menu styling */
    #navDiv ul {
        width: 90px;
        color: #FFFFFF;
        list-style-type: none;
        line-height: 13px;
        padding: 0;
    }
        
    #navDiv ul li {
	   padding: 0;
	   margin: 0;
    }

    /* the centre div, holds the main content */
    #articleDiv {
    	position: absolute;
    	left: 0px;
   	    top: 0px;
        width: 100%;
        
        border-top-style: solid;
        border-width: 5px;
        border-color: #ffffff;
    }
    
    #articleDiv img {
        width: 308px;
        height: auto;
        margin: 1px;
    }

	#textContentDiv {
    	position: absolute;
   	    height:198px;
    	width: 280px;
    	
    	margin-top: 10px;
    	margin-left: 0px;
    	padding-left: 10px;
    	padding-right: 10px;
    	
    	overflow:scroll; overflow-y:scroll; overflow-x:hidden;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

	#contactContentDiv {
    	position: absolute;
   	    height:198px;
    	width: 290px;
    	
    	margin-top: 10px;
    	margin-left: 0px;
    	padding-left: 10px;
    	padding-right: 10px;
    	
    	font-size: 14px;
		color: #ffffff;
		
		line-height: 16px;
	}

    /* the right div */
    #footerDiv {
    	position: absolute;
        bottom: 0px;
        width: 100%;
        height: 93px;
        
        background-color: #aaaaaa;
        
        border-top-style: solid;
        border-width: 5px;
        border-color: #ffffff;
    }
    
    #buttonsDiv {
    	position: absolute;
        bottom: 35px;
        right: 0px;
        width: 100px;
    }
    
    #buttonsDiv img {
        width: 42%;
        margin-left: 8%;
        height: auto;
        
        border: none;
    }
    
    #logoDiv {
    	position: absolute;
    	bottom: 24px;
    	left: 0px;
    	padding: 5px;
    }
    
    #logoDiv img {
    	width: 80px;
    	height: auto;
    	border-style: none;
    }
    
    #menuBtnDiv {
    	display: block;
    	position: absolute;
        bottom: 35px;
        right: 75px;
        width: 100px;
    }
    
    #menuBtnDiv img {
        width: 42%;
        height: auto;
        
        border: none;
    }
    
    #mobileMenuDiv {
    	position: absolute;
   	    top: 5px;
        width: 100%;
        height: 218px;
        
        background-color: #aaaaaa;
    }
    
    #mobileMenuDiv ul {
        width: 100%;
        color: #FFFFFF;
        list-style-type: none;
        line-height: 53px;
	    font-size: 140%;
	    text-align: center;
        padding: 0;
    }
        
    #mobileMenuDiv ul li {
	    padding: 0;
	    margin: 0;
        padding-left: 5px;
	   
	    border-bottom-style: solid;
        border-width: 2px;
        border-color: #ffffff;
    }
    
    #mobileMenuDiv a:link {
		color:#FFFFFF;
		text-decoration: none;
	}

	#mobileMenuDiv a:visited {
		color:#FFFFFF;
	}

	#mobileMenuDiv a:hover {
		color:#999999;
	}

	#mobileMenuDiv a:active {
		color:#FFFFFF;
	}
}

#navDiv a:link {
	color:#FFFFFF;
	text-decoration: none;
}

#navDiv a:visited {
	color:#FFFFFF;
}

#navDiv a:hover {
	color:#999999;
}

#navDiv a:active {
	color:#FFFFFF;
}

#textContentDiv p, #contactContentDiv p {
	margin-top: 10px;
}
	
#textContentDiv h3, #contactContentDiv h3 {
	margin-bottom: 10px;
		
	background-color: #ffffff;
	color: #aaaaaa;
	text-transform: lowercase;
	padding-left: 10px;
}

#textContentDiv h4, #contactContentDiv h4 {
	margin-top: 10px;
	margin-bottom: 10px;
		
	border-bottom-style:solid;
	border-bottom-width:5px;
	border-bottom-color: #ffffff;
}

#textContentDiv hr, #contactContentDiv hr {
	border: 0;
	width: 100%;
	color: #CCCCCC;
	background-color: #aaaaaa;
	height: 30px;
}

#textContentDiv ul, #contactContentDiv ul {
	margin-left: 15px;
	list-style-type: square;
	color: #ffffff;
}

#textContentDiv a:link, #contactContentDiv a:link {
	color:#dddddd;
	text-decoration: none;
}

#textContentDiv a:visited, #contactContentDiv a:visited {
	color:#dddddd;
}

#textContentDiv a:hover, #contactContentDiv a:hover {
	color:#ffffff;
}

#textContentDiv a:active, #contactContentDiv a:active {
	color:#dddddd;
}


::-webkit-scrollbar {
   	width: 5px;
}

::-webkit-scrollbar-track {
	background-color: #bbbbbb;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background-color: #999999;
}