body {
	color: #000;
	background-color: #fff;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body a {
	text-decoration: none;
	color: #f00;
}

body a:hover { color: #000; 
text-decoration: underline overline;
}

#navigation {
	position: relative;
	left: 184px;
	top: -200px;
	width: 500px;
	background-color: #fff;
	color: #000;
	height: 100px;
	margin: 10px;
	padding: 10px;
}

#container {
	top: -240px;
	position: relative;
	left: 0px;
	width: 914px;
}

#content {
	position: relative;
	left: 160px;
	width: 894px;
	background-color: #ccc;
	background-image: linear-gradient(#fff, #ddd);
	padding: 20px;
	border: 1px solid #333;
	box-shadow: 0 8px 8px #000;
	z-index: 0;
}

#footer {
	position: relative;
	left: 160px;
	top: 100px;
	height: 50px;
	width: 894px;
	background-color: #ccc;
	background-image: linear-gradient(#eee, #aaa);
	margin: 10px;
	padding: 10px;
	border: 1px solid #333;
	box-shadow: 0 2px 2px #000;
}

#menu {
    position: relative;
	left: -168px;
	top: -200px;
	width: 860px;
    margin: 60px auto;
    border: 1px solid #222;
    background-color: #bbb;
    background-image: linear-gradient(#777, #bbb);
    border-radius: 6px;
    box-shadow: 0 1px 1px #888;
}

#menu:before,
#menu:after {
    content: "";
    display: table;
}

#menu:after {
    clear: both;
}

#menu {
    zoom:1;
}

#menu li {
    float: left;
    border-right: 1px solid #222;
    box-shadow: 1px 0 0 #444;
    position: relative;
}

#menu a {
    float: left;
    padding: 12px 30px;
    color: #eee;
    text-transform: uppercase;
    font: bold 12px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}

#menu li:hover > a {
    color: #000DFF;
}

html #menu li a:hover { /* IE6 only */
    color: #e7fcdd;
}

#menu ul {
    margin: 20px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 1;    
    background: #444;   
    background: linear-gradient(#000, #AAA);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);  
    border-radius: 3px;
    transition: all .2s ease-in-out;
}

#menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

#menu ul ul {
    position: relative;
	top: 0;
    left: 150px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
    box-shadow: -1px 0 0 rgba(255,255,255,.3);      
}

#menu ul li {
    float: none;
    display: block;
    border: 0;
    _line-height: 0; /*IE6 only*/
    box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#menu ul li:last-child {   
    box-shadow: none;    
}

#menu ul a {    
    padding: 10px;
    width: 130px;
    _height: 10px; /*IE6 only*/
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

#menu ul a:hover {
    background-color: #018fff;
    background-image: linear-gradient(#35f, #018);
}

#menu ul li:first-child > a {
    border-radius: 3px 3px 0 0;
}

#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}

#menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0; 
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}

#menu ul ul li:first-child a:hover:after {
    border-right-color: #0299d3; 
    border-bottom-color: transparent;   
}

#menu ul li:last-child > a {
    border-radius: 0 0 3px 3px;
}

#profile {
align-content: center;
position: relative;
width: 400px;
height: 250px;
background-color: #049;
display: block;
clear: both;
float: left;
top: 0px;
border: thin solid #888;
}

.fields {
	width: 500px;
	clear: both;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-top: 60px;
		}
	
	.fields input 
	{
	width: 100%;
	clear: both;
	border: 1px solid #eee;
	padding: 8px;
	background-color: #ccc;
	}
	
	.fields textarea
	{
	top: -50px;
	width: 500px;
	height: 100px;
	background-color: #ccc;
	color: #000;
	font-size: 12px;
	}
	
	.fields button
	{
	top: -100px;	
	background-color: #000;
	color: #fff;
	clear: both;
	}

body {
	color: #000;
	background-color: #fff;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body a {
	text-decoration: none;
	color: #f00;
}

body a:hover { color: #000; 
text-decoration: underline overline;
}

#navigation {
	position: relative;
	left: 184px;
	top: -200px;
	width: 500px;
	background-color: #fff;
	color: #000;
	height: 100px;
	margin: 10px;
	padding: 10px;
}

#container {
	top: -240px;
	position: relative;
	left: 0px;
	width: 914px;
}

#content {
	position: relative;
	left: 160px;
	width: 894px;
	background-color: #ccc;
	background-image: linear-gradient(#fff, #ddd);
	padding: 20px;
	border: 1px solid #333;
	box-shadow: 0 8px 8px #000;
	z-index: 0;
}

#footer {
	position: relative;
	left: 160px;
	top: 100px;
	height: 50px;
	width: 894px;
	background-color: #ccc;
	background-image: linear-gradient(#eee, #aaa);
	margin: 10px;
	padding: 10px;
	border: 1px solid #333;
	box-shadow: 0 2px 2px #000;
}

#menu {
    position: relative;
	left: -168px;
	top: -200px;
	width: 860px;
    margin: 60px auto;
    border: 1px solid #222;
    background-color: #bbb;
    background-image: linear-gradient(#777, #bbb);
    border-radius: 6px;
    box-shadow: 0 1px 1px #888;
}

#menu:before,
#menu:after {
    content: "";
    display: table;
}

#menu:after {
    clear: both;
}

#menu {
    zoom:1;
}

#menu li {
    float: left;
    border-right: 1px solid #222;
    box-shadow: 1px 0 0 #444;
    position: relative;
}

#menu a {
    float: left;
    padding: 12px 30px;
    color: #eee;
    text-transform: uppercase;
    font: bold 12px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}

#menu li:hover > a {
    color: #000DFF;
}

html #menu li a:hover { /* IE6 only */
    color: #e7fcdd;
}

#menu ul {
    margin: 20px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 1;    
    background: #444;   
    background: linear-gradient(#000, #AAA);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);  
    border-radius: 3px;
    transition: all .2s ease-in-out;
}

#menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

#menu ul ul {
    position: relative;
	top: 0;
    left: 150px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
    box-shadow: -1px 0 0 rgba(255,255,255,.3);      
}

#menu ul li {
    float: none;
    display: block;
    border: 0;
    _line-height: 0; /*IE6 only*/
    box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#menu ul li:last-child {   
    box-shadow: none;    
}

#menu ul a {    
    padding: 10px;
    width: 130px;
    _height: 10px; /*IE6 only*/
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

#menu ul a:hover {
    background-color: #018fff;
    background-image: linear-gradient(#35f, #018);
}

#menu ul li:first-child > a {
    border-radius: 3px 3px 0 0;
}

#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}

#menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0; 
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}

#menu ul ul li:first-child a:hover:after {
    border-right-color: #0299d3; 
    border-bottom-color: transparent;   
}

#menu ul li:last-child > a {
    border-radius: 0 0 3px 3px;
}

#profile {
align-content: center;
position: relative;
width: 400px;
height: 250px;
background-color: #049;
display: block;
clear: both;
float: left;
top: 0px;
border: thin solid #888;
}

.fields {
	width: 500px;
	clear: both;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-top: 60px;
		}
	
	.fields input 
	{
	width: 100%;
	clear: both;
	border: 1px solid #eee;
	padding: 8px;
	background-color: #ccc;
	}
	
	.fields textarea
	{
	top: -50px;
	width: 500px;
	height: 100px;
	background-color: #ccc;
	color: #000;
	font-size: 12px;
	}
	
	.fields button
	{
	top: -100px;	
	background-color: #000;
	color: #fff;
	clear: both;
	}

body {
  padding: 30px 0;
  position: relative;
}

.gallery {
  width: 600px;
  margin: auto;
  border-radius: 3px;
  overflow: hidden;
}

.img-c {
  width: 200px;
  height: 200px;
  float: left;
  position: relative;
  overflow: hidden;
}

.img-w {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform ease-in-out 300ms;
}

.img-w img {
  display: none;
}

.img-c {
  transition: width ease 400ms, height ease 350ms, left cubic-bezier(0.4, 0, 0.2, 1) 420ms, top cubic-bezier(0.4, 0, 0.2, 1) 420ms;
}

.img-c:hover .img-w {
  transform: scale(1.08);
  transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
}

.img-c.active {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  z-index: 2;
}

.img-c.postactive {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.img-c.active.positioned {
  left: 0 !important;
  top: 0 !important;
  transition-delay: 50ms;
}
