body 	{	
	margin: 0px;
	background-color: #fda;
	}

img 	{ 
	max-width: 100%; 
	}

nav 	{
	height: 40px;
	width: 100%;
	background: #124556;
	font: normal 13px Arial;
	text-transform: uppercase;
	position: relative;
	}

nav ul 	{
    padding: 0;
    margin: 0 auto;
    width: 600px;
    height: 40px;
	}

nav li {
    display: inline;
    float: left;
	}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

nav a 	{
    color: #fff;
    display: inline-block;
    width: 100px;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    text-shadow: 1px 1px 0px #000;
	}

nav li a {
    border-right: 1px solid #179;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
	}

nav li:last-child a {
    border-right: 0;
	}

nav a:hover, nav a:active {
    background-color: #e9ecf0;
	}

nav a#pull {
    display: none;
	}  

/* STRUCTURE */

#wrapper {
	padding: 0px;
	width: 1096px;
	margin: 0px auto;
	background: #e9ecf0;
	}

#wrappertwo {
	background: #fff;
	width: 785px;
	float: left;
	}

#header {
	height: 80px;
	background: #179;
	padding: 0px 60px;
	}

#sociallinks {
	float: right;
	padding-top: 20px;
	}

#sociallinks img {
	padding-left: 10px;
	}

#leftcol {
	float: left;
	width: 160px;             /* LC width */
	padding: 0px;          /* LC padding */
	text-align: center;
	}

#midcol {
	width: 590px; /* Account for margins + border values */
	float: left;
	padding: 5px 15px;
	background: #fff;
	line-height: 1.2em;
	overflow: hidden;
	}

#midcol p {
	line-height: 1.2em;
	}

#rightcol {
	float: right;
	width: 306px;             /* RC width */
	padding: 5px 0px 5px 5px;          /* RC padding */
	background: #e9ecf0;
	}

#footer {
	clear: both;
	padding: 5px;
	text-align: center;
	background: #113d4c;
	font: normal 13px Arial;
	text-transform: uppercase;
	color: #fff;
	}

#footer a {
	color: #fff;
	text-decoration: none;
	}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#wrapper {
		width: 100%;
		margin: 0 auto;
	}

	#leftcol {
		width: 25%;
		padding: 0px;
	}

	#wrappertwo {
		width: auto;
	}

	#midcol {
		width: 70%;
		padding: 5px 15px;
		float: left;
		font-size: 1.2em;
	}
	
	#rightcol {
		clear: both;
		padding: 5px;
		width: auto;
		float: none;
	}

	#header, #footer {
		padding: 5px;
	}
}

/* for 700px or less */
@media screen and (max-width: 600px) {

	#leftcol {
		width: 34%;
		padding: 0px;
		float: left;
	}
	
	#midcol {
		width: 61%;
	}
	
	#rightcol {
		width: auto;
		float: none;
	}

    nav { 
        height: auto;
   	 }
  
    nav ul {
        width: 100%;
        display: block;
        height: auto;
    }

    nav li {
        width: 50%;
        float: left;
        position: relative;
    }

    nav li a {
        border-bottom: 1px solid #576979;
        border-right: 1px solid #576979;
    }

    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	#header {
		height: auto;
	}

	#sociallinks {
		display: none;
	}

	#leftcol {
		width: 100%;
		float: none;
		max-height: 250px;
	}

	#midcol {
		width: auto;
	}

    nav {
        border-bottom: 0;
    }

    nav ul {
        display: none;
        height: auto;
    }

    nav a#pull {
        display: block;
        background-color: #124556;
        width: 100%;
        position: relative;
    }

    nav a#pull:after {
        content:"";
        background: url('http://www.robertniles.com/includes/nav-icon.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 10px;
    }

}