@charset "utf-8";
/* CSS Document */
/*responsive table*/

@viewport {

	width: device-width;

}
@media 
    screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	#armyroster { 
		display: block;
		text-align: left; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: wrap;
	}
.officers {border-collapse: collapse;	}
.officers1 {border-collapse: collapse;}

.name, .city, .date {display: block;
                     border-collapse: collapse;}
.category, .personal {display: block;
                     border-collapse: collapse;}
					 					 	
body { padding: 0; 
			margin: 0; 
			width: 100%; }
#headerImg {height: auto;
width: 100%;}			
}
/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 480px) {
		body { 
			padding: 0; 
			margin: 0; 
			width: 100%; }
.name, .city, .date {display: block;}	
.marker {
         height: auto;}	
		 #headerImg {height: auto;
		 width: 100%;}			
		}
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		body { 
			width: 100%; 
		}
		.name, .city, .date {display: block;
		}
		.marker {height: auto;}
		#headerImg {height: auto;}		
		
}
@media all and (max-width : 1080px) {
#nav > li {
        float: left;
        border-bottom: 0;
        margin-bottom: 10;
		width: auto;
		}
    #nav ul.subs {
        position: relative;
        top: 0;
    }
    #nav li:hover ul.subs {
        display: block;
    }
    #nav li #home:target + ul.subs,
	#nav li #shipmates:target + ul.subs,
	#nav li #aboard:target + ul.subs,
	#nav li #trips:target + ul.subs,
    #nav li #misc:target + ul.subs {
        display: block;
    }

    #nav ul.subs > li {
        display: block;
        width: auto;
    }
	.marker {max-width: 400px;}
	#headerImg {height: auto;}
}

@media all and (max-width : 555px) {
	#wimg {height: auto;}
	#headerImg {height: auto;}
	.marker {height: auto;
	         width: 100%;}