* { margin: 0px; padding: 0px; }

body { font-family: "Arial"; }
a { text-decoration: none; }
li { list-style: none; }

/*--Navigation--*/

#header {
    width: 100%; 
    height: 50px; 
    background: #222;
    top: 0;
    position: fixed;
}
#brand { 
    float: left;
	line-height: 15px;
	font-size: 20px;
	color: #ddd;
	margin-left: 10px;
    margin-top: 10px;
	letter-spacing: 3px;
}
#brand a { 	
	line-height: 25px;
    font-size: 10px;
	letter-spacing: 1px;
}
#menu {
    width: 100%; 
    height: 50px;
}
#menu ul {
    text-align: center;
}
#menu li {
    display: inline-block;
}
#menu a {
    color: #ddd; 
    line-height: 50px; 
    font-size: 16px;
    padding: 12px;
    letter-spacing: .05em;
}
#menu a:hover { 
    background: #333;
    color: #fff;
    border-radius: 5px;
}

/*--Sidebar--*/

#storage {
	height: 40px;
    width: 80px;
    margin-top: 50px;
    margin-left: 10px;
	left: 0px;
    top: 0px;
    position: fixed;    
}
#previous {
	height: 40px;
	width: 40px;
	left: 0px;
}
#next {
	height: 40px;
	width: 40px;
	left: 0px;
	margin-left: 40px;
	margin-top: -40px;
}
#master {
    width: 280px; 
    height: 80%;
    overflow: hidden;
    position: fixed;
    border: 1px solid #999;
    margin-top: 0px; 
    margin-left: 5px; 
}
#main {
	width: 300px; 
	background: #eee;
    height: 100%;
    overflow-y: scroll;
    padding-right: 100px;
}
#main a {
	letter-spacing: .075em;
	color: #444;
	display: block;
	padding: 10px 10px 5px 20px;
	font-size: 15px;
}
#main ul ul a {
	border-top: none;
	font-size: 12px;
	padding: 5px 10px 5px 20px;
}
#main ul ul a:hover {
	background: #fff;
    color: #111;
}
#selected {
	font-weight: bold;
	background: #ddd;
}

/*--Text--*/

h1 { 
    color: #111; 
    font-size: 25px; 
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: normal;
}
h2 { 
    color: #444; 
    font-size: 20; 
    margin-bottom: 10px;
    margin-top: 10px;
    float: left;
}
h3 { 
    color: #777; 
    font-size: 20; 
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: normal;
}
h4 { 
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 3px;
    margin-top: 10px;
    font-weight: bold;
}
h5 {
    color:#444; 
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}
h6 {
    font-style: italic; 
    font-size: 13px; 
    margin-bottom: 10px;
    font-weight: normal;
    line-height: 16px;
}
h7 {
    top: 5px;
    color: #999; 
    font-size: 14px;
    font-weight: normal;
    float: left;
    line-height: 18px;
    margin-right: 5px;
}
h8 { 
    top: 5px;
    font-size: 14px;
    font-weight: normal;
    float: left;
    line-height: 18px;
    margin-right: 5px;
    font-weight: bold;
}
h9 { 
    font-size: 14px;
    line-height: 18px;
    float: left;
}
p { 
    font-size: 14px;
    line-height: 18px;
}

/*--Project--*/

#content {
	max-width: 1000px;
    margin: 90px auto 50px auto;
	letter-spacing: .03em;
}
#image {
    max-height: 400px;
    max-width: 100%;
    height: auto;
    display: block;
}
#holder {
	height: 35px;
	width: 70px;
	left: 0px;
	top: 0px;
}
#left {
	height: 35px;
	width: 35px;
	left: 0px;
}
#right {
	height: 35px;
	width: 35px;
	left: 0px;
	margin-left: 35px;
	margin-top: -35px;
}
#block {
    margin: auto 0px auto 0px;
}

/*--About--*/

#text {
    max-width: 800px;
    margin: 60px auto;
	letter-spacing: .03em;
}
#wrap {
    margin-left: 20px;
}

/*--Portfolio--*/

#gallery {
    margin: 60px auto;
    max-width: 1200px;
    align-content: flex-start;
    display: -webkit-flex;
    -webkit-flex-flow: row wrap;
    -webkit-align-content: flex-start;
    display: -ms-flex;
    -ms-flex-flow: row wrap;
    -ms-align-content: flex-start;
} 
#grid {
    display: inline-block;
    width: 25%;
}
#padding {
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 10px;
}
#thumbnail {
    max-width: 100%;
    height: auto;
    display: block;
}

/*--Footer--*/
    
#footer {
    position: fixed;
    bottom: 0;
    background-color: #222;
    width: 100%;
    height: 25px;
}
#social {
    padding-left: 10px;
    word-spacing: 2px;
    float: left;
}
#social ul {
    display: inline-block;
}
#social li {
    display: inline;
}
#facebook a {
    color: #222;    
    background: #444;
    padding: 2px 4px 2px 4px;
    font-size: 10px;
    border-radius: 3px;
    line-height: 25px;
    font-family: "Verdana";
}
#linkedin a {
    color: #222;    
    background: #444;
    padding: 2px 4px 2px 4px;
    font-size: 10px;
    border-radius: 3px;
    line-height: 25px;
    font-family: "Verdana";
}
#facebook a:hover {
    color: #edf0f5;
    background: #3b5998;
}
#linkedin a:hover {
    color: #fff;
    background: #0077b5;
}
#credit {
    font-size: 11px;
    float: right;
    padding-right: 20px;
    color: #555;
    word-spacing: normal;
    letter-spacing: .05em;    	
}
#credit a {
    color: #555;
    line-height: 25px;
}
#credit a:hover {
    color: #fff;
}

/*-------------------------------------------------------------------*/

@media screen and (max-width: 1620px) {

/*--Project--*/

#content {
    margin: 90px 5px 50px 305px;
}
#block {
    margin: auto 0px auto 5px ;
}

}

/*-------------------------------------------------------------------*/

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

/*--Sidebar--*/

#storage {
	display: none; 
}
#master {
    display: none;
}
#main {
	display: none;
}

/*--Project--*/

#content {
    margin: 55px 5px 50px 5px;
}

/*--About--*/

#text {
    margin: 60px 5px auto 5px;
}

/*--Portfolio--*/

#grid {
    width: 50%;
}

}

/*-------------------------------------------------------------------*/

@media screen and (max-width: 500px) {

/*--Navigation--*/

#menu li { 
    width: 100%;
    border-top: 1px solid #555;    
}
#menu a {
    line-height: 20px;
    background: #222;
    display: block;
}
#menu a:hover { 
    border-radius: 0px;
}

/*--Project--*/

#content {
    margin: 190px 5px 50px 5px;
}

/*--About--*/

#text {
    margin: 205px 5px 50px 5px;
}
/*--Portfolio--*/

#gallery {
    margin-top: 205px;
}
#grid {
    width: 100%;
}

}
