body {
	margin: 0;
	padding: 0;
	text-align: center;
	/*background:#C3BD98 url("images/bg_1px.gif") repeat-y top center;*/
    background: #C3BD98;
	color: #333333;
	font: 14px arial,sans-serif;
}

a:link, a:active, a:visited {
    color: #345678;
    text-decoration: none;
}

a:hover {
    color: red;
    text-decoration: none;
}



#main {
    background: #ffffff;
    max-width: 760px;
    text-align: center; 
    margin-left: auto;
    margin-right:auto; 
}

#page_content {
    max-width: 500px;
    padding-left: 10px; 
    padding-right: 10px;
    margin-left: auto;
    margin-right:auto;
    text-align: left;
}

#top_bar {
    background: #345678;
    width: 100%;
    height: 50px;
    text-align: center;
    position: relative;
    color: #ffffff;
    text-align: center;
}

#paul_appleby {
    position: relative;
    top: 13px;
    left: -25px;
    color: #ffffff;
    font-size: 20px;
    font-style: oblique;
    font-weight: bold;
    z-index: 2;
    cursor: default;
} 

#see_ahead {
    position: relative;
    top: -7px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    font-size: 12px;
    font-style: oblique;
    font-weight: normal;
}

#search_icon {
    float: right;
    position: relative;
    top: -30px;
    padding-right: 10px;
    z-index: 2;
}

/* This is the input element for the search */
#text { 
    position: relative;
    top: -5px;
    left: 15px;
    width: 250px;
    padding: 5px;
    height: 20px;
    z-index: 5;
}

.page_title {
    font-size: 14px;
    color: #aaaa77;
    text-align: center;
}

.home_sub_title {
    font-weight: bold;
    font-size: 14px; 
    color: #aaaa77; 
    width: 100%; 
    text-align: center;"
}

#nav_icon {
    display: inline;
    float: left;
    position: relative;
    top: 20px;
    padding-left: 10px;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    z-index: 4;
}

#nav_mobile_icon_container {
    width: 60px; 
    z-index: 4;
}

#nav_icon_mobile {
    display: none;
    position: relative;
    cursor: pointer;
    z-index: 4;
}

#nav_div {
    position: absolute;
    top: 33px;
    left: 0px;
    background: none;
	color:#000000;
	font-size:1.0em;
	width: 700px;
	padding: 10px 10px 10px 0px;
	text-align: left;
	display: none;
	cursor: default;
	z-index: 4;
}

#nav_div ul {
    position: relative;
    left: -30px;
	list-style-type: none;
	text-align: left;
	width: 100%;
    background: #eeeeee; 
} 

#nav_div ul #main_clients, #main_projects1, #main_projects2, #main_contact {
    float: left;
    padding-right: 5px;
    width: 150px;
}

#nav_div ul #main_clients ul {
    position: relative;
    width: 135px;    
}

#nav_div ul #main_projects1 ul {
    position: relative;
    width: 220px;    
} 

#nav_div ul #main_projects2 ul {
    position: relative;
    width: 220px;    
}

#nav_div ul #main_contact ul {
    position: relative;
    width: 135px;    
}
 
#nav_div ul li .main_nav_item {
    background: red 100%;
    color: #ffffff;
    width: 90%;
    cursor: default; 
    border-radius: 10px; 
}

#nav_div ul li  .main_nav_item a:link {
    padding: 5px;
    color: #ffffff;
    text-decoration: none;
    cursor: default;
}

#nav_div ul li .main_nav_item a:visited {
    padding: 5px;
    color: #ffffff;
    text-decoration: none;
}

#nav_div ul li ul {
    position: relative;
    left: 0px;
    top: 2px;
    padding: 5px 5px 10px 5px;
    color: #000000;
    display: none;
    text-decoration: none; 
    border-radius: 10px;   
}

#nav_div ul li ul a:link {
    padding: 2px;
    color: #000000;
    display: block;
    text-decoration: none;      
}

#nav_div ul li ul li a:hover {
    color: #bb5555;
    font-weight: normal;
}

#nav_div ul li ul li a:active {
    color: red;
} 

.main_nav_item {
    padding: 5px;
}

#nav_div ul li:hover > ul {
    display: block;       
}

.next_back {
    color: #345678;
    font-size: 12px;    
}
.next_back a:link {
    color: #345678;    
}

.next_back a:visited {
    color: #345678;    
}

.next_back a:hover {
    color: #345678;    
}

.screen_shot {
    max-width: 100%;
    border: 1px solid black;
}

/* In the index.php page only */
#top_images, #bottom_images {
    display: block:
}

.resume_highlights {
    border: 2px solid #C3BD98; 
    padding-bottom: 20px;
} 

#call_to_action_outside_container {
    position: relative;
    width: 100%;
    text-align: center;
    /*border: 1px solid black;*/
}

#call_to_action_container {
    display: inline-block;
    padding: 5px;
    border: 1px solid black;
}

#paul_appleby_photo { 
    margin-top: 1%;
    width: 120px;
    height: 118px;
    float: left;
}

#call_to_action_text {
    width: 260px;
    margin-left: 20px;
    margin-top: 2%;
    font-size: 1.5em;
    font-weight: bold;
    text-align: left;
    float: left;
}


/* =Responsive Structure
----------------------------------------------- */   

@media (min-width: 200px) and (max-width: 800px) {

    body {
		font-size: 1.2em;
	}
	
	#nav_icon {
        display: none;
    }
    
    #nav_icon_mobile {
        display: block;
        float: left;
        position: relative;
        top: 20px;
        padding-left: 10px;
        width: 35px;
        height: 20px;
    }
    
    .mobile_hamburger {
        width: 30px;
        height: 3px;
        background-color: white;
        margin-bottom: 6px;
    }
    
    #paul_appleby {
        left: -25px;
    }
    
    #see_ahead {
        position: relative;
        top: -9px;
        left: 25px;
    }
    
    #nav_div {
        font-size: 1.0em;
        top: 50px;
        left: 10px;
        width: 290px;
        display: none;
        background: #dddddd;
    }
    
    #nav_div ul {
        left: 0px;
    	background: none;
        width: 220px;
        left: -30px; 
    } 
    
    #nav_div ul li ul {
        padding: 2px;
        color: #000000;
        display: none;
        text-decoration: none;
        background: #dddddd;    
    }
    
    #nav_div ul #main_clients, #main_projects1, #main_projects2, #main_contact {
        float: none;
        padding-right: 0px;
        width: 250px;
    }
    
    #nav_div ul #main_projects1 ul li {
        position: relative;
        width: 250px;    
    } 
    
    #nav_div ul #main_projects1 ul li {
        position: relative;
        width: 250px;    
    }
    
    #nav_div ul #main_contact ul {
        position: relative;
        width: 250px;    
    }
    
    #page_content{
        max-width: 90%;
    }
    
    .page_title {
		font-size: 1.0em;
	}
	
	.home_sub_title {
        font-size: 1.0em; 
    }
	
	/* This is the input element for the search text box in the header. */
    #text {
        font-size: 1.1em;
    }
    
    .page_title {
        font-size: 1.1em;
    } 
    
    .next_back {
        font-size: 0.8em;    
    }
    
    #call_to_action_text {
        font-size: 1.2em;
    }
    
    .screen_shot {
        max-width: 100%;
        height: auto;
        border: 1px solid black;
    }
    
    /* In the index.php page only */
    #top_images, #bottom_images {
        display: none;
    }
	
	.resume_highlights {
        border: 0px; 
        padding-bottom: 0px;
    }

}
