/*
	 CSS-Tricks Example
	 by Chris Coyier
	 http://css-tricks.com
*/

* { margin: 0; padding: 0; }
/** { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }*/

html { overflow-y: scroll; }
body { font: 12px/1.4 Helvetica, sans-serif; background: #333; color: #333; }
.group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; margin-bottom: 20px}
.group { display: inline-block; clear: both; }
/* start commented backslash hack \*/ * html .group { height: 1%; } .group { display: block; } /* close commented backslash hack */
article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; }
a:focus { outline: 0; }

#page-wrap { 
    width: 30%; 
    /*min-width: 250px;*/
    padding: 3em;
    background-color:#928D7C; 
    margin: 2em;
    opacity: 0.9;
    /*max-width: 350px;*/
	
}

#main-content {z-index: 1; }

/*h1 { font: bold 32px Helvetica, Arial, Sans-Serif; letter-spacing: -1px; padding: 14px; color: #333; text-shadow: 1px 1px 1px white; }*/
h1.technique-three {
   background: url("images/logo.jpg");
    font-size: 0.00001em;
    height: 65px;
    text-indent: -9999px;
    width: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
}
h1 {
	color: #36364E;
}
p { margin: 8px 0 8px 0; color: white }
 
 header {

 }
/*nav ul { 
    list-style: none; background: #154c85; padding: 5px 20px; width: 478px; position: relative; 
    left: -9px;
}
nav ul li { display: inline; }
nav ul li a {
	display: block;
	float: left;
	border-top: 1px solid #96d1f8;
	background: #3e779d;
	background: -webkit-gradient(linear, left top, left bottom, from(#65a9d7), to(#3e779d));
	background: -moz-linear-gradient(top,  #65a9d7,  #3e779d);
	height: 17px;
	padding: 0 10px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: rgba(0,0,0,1) 0 1px 3px;
	-moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
	text-shadow: rgba(0,0,0,.4) 0 1px 0;
	-webkit-text-stroke: 1px transparent;
	font: bold 11px/16px "Lucida Grande", "Verdana", sans-serif;
	color: rgba(255,255,255,.85);
	text-decoration: none; 
	margin: 0 5px 0 0;
}
nav ul li a:hover {
	border-top: 1px solid #4789b4;
	background: #28597a;
	background: -webkit-gradient(linear, left top, left bottom, from(#3d789f), to(#28597a));
	background: -moz-linear-gradient(top,  #3d789f,  #28597a);
	color: rgba(255,255,255,.85); 
}
nav ul li a:active, nav ul li a.current {
	border-top-color: #245779;
	background: #1b435e;
	position: relative;
	top: 1px; 
}*/	

nav {
	width: 100%;
	overflow: hidden;
}
nav ul {
	float: right;
	width: 100%;
	text-align: right;
	margin-right: 2em;
	margin-top: 1em;
}
#subnav nav ul{
margin-top: 0px;
padding-top: 0px;
z-index: 999;
}
#subnav {
z-index: 999;
}
nav ul li { 
display: block;
padding: 0.15em;
}

 nav ul li a {
	 color: #36364E;
    font-size: 1.4em;
    text-decoration: none;
}
nav ul li a:hover {
	color: white;
}

nav ul li a:active {
color: rgb(74%, 71%, 65%);
}
nav ul li a.current {
color: #BDB5A6;
}
nav .head {
margin: 0px;
padding: 0px;
}

#guts {
	margin-bottom: 20px;
}
footer { color: #999; margin: 0 auto; width: 500px; }
#guts ul {
	margin-bottom: 20px;
}

#guts ul li {
	padding-left: 10px;
	color: white;
	list-style-type:circle;
	margin-left: 13px;

}
.design {
	font-size: 0.95em;
	color: rgb(74%, 71%, 65%);

}

.design a {
	color: rgb(74%, 71%, 65%);
	text-decoration: none;
	
}

.design a :hover{
	color: #fff;
}
.hidden {
	display: none;
	}
.hiddens {
	display: none
	}
.head ul {
margin-right: 0px;
}

.head ul li{
list-style-type: none;}

a.mail{
	color: #fff;
	text-decoration: none;
}
a.mail:hover{
	color: rgb(74%, 71%, 65%);
}
a.active {
	color: #fff;
}
.visible {
	display: block;
}

#pageContent  {
   
    animation: fadein 8s;
    -moz-animation: fadein 8s; /* Firefox */
    -webkit-animation: fadein 8s; /* Safari and Chrome */
    -o-animation: fadein 8s; /* Opera */
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}​
@media only screen and (max-width : 320px) {
 #page-wrap  {
    width: 100%;

  }
}
/* iPads (portrait) ----------- */

@media only screen and (min-device-width : 400px) and (max-device-width : 1024px) and (orientation : portrait) {
	 #page-wrap  {
    width: 50%;

  }
}

/*  ----------- */
@media only screen and (max-width : 650px) {
#page-wrap  {
    width: 50%;

  }}

/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {
#page-wrap  {
    max-width: 350px;

  }}
