body, html {
	padding: 0;
	margin: 0;
}

body { 
	background: #fff; 
	font-family: Ubuntu, sans-serif; 
	letter-spacing: 1px;
	overflow-x: hidden;
	overflow-y: scroll;
}

a {
	color: #fff;
	text-decoration: none;
}

h3 {
	color: #333;
}

.ajax_active {
	color: #111!important;
}
.ajax_follow {
	position: relative;
	z-index: 20000;
}
a:hover {
	color: #666;
	text-decoration: underline;
}
header {
    text-align: justify;
    height: 8em;
    padding: 2em 5%;
    background: #333;
    color: #fff;
    box-shadow: 0 -25px 50px rgba(0,0,0,0.2) inset;
}

header::after {
    content: '';
    display: inline-block;
    width: 100%;
}

header > div,
header > div::before,
header nav,
header > div h1 {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    position: relative;
	z-index: 6;
}

header > div {
    height: 100%;
}

header > div::before {
    content: '';
    height: 100%;
}

header > div h1 {
    font-size: 3em;
    font-style: italic;
    text-shadow: 0 0 15px rgba(0,0,0,0.5);
}

header nav a {
    padding: 0 0.6em;
    white-space: nowrap;
    font-weight: bold;
	text-decoration: none;
	font-size: 1.2em;
	text-shadow: 0 0 15px rgba(0,0,0,0.5);
}

header nav a:last-child {
    padding-right: 0;
}


.effects {
	margin-bottom: 1em;
	float: left;
	width: 15%;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.8);
	z-index: 100;
	padding: 1em 2em;
	border-radius: 3px;
	box-shadow: 0 5px 25px rgba(0,0,0,0.3);
	box-sizing: border-box;
}

.ajax {
	float: right;
	width: 85%;
	padding-left: 1em;
	box-sizing: border-box;
}
body.docu .ajax, body.home .ajax {
	width: 100%;
	/*max-width: 1224px;*/
	margin: 0 auto;
	float: none;
	padding: 0 0;
}
.effects > h3 {
	margin-top: 0;
	font-weight: 700;
}
.effects nav > span  {
	margin-top: 1.5em;
	margin-bottom: 0.2em;
	display: block;
}
.effects nav span > div a{
	color: #666;
	text-decoration: none;
	font-style: italic;
	display: block;
}

.effects nav span > div {
	display: none;
	margin-top: .5em;
	margin-left: .25em;
}

.content {
	padding: 2em;
	box-sizing: border-box;
	position: relative;
}

#ajax_content, .submenu {
	float: left;
	width: 50%;
}

aside .window {
	width: 25%;
	height: 80px;
	float: left;
}
aside .window .inner {
	margin: 0 1em;
	background-size: cover;
}
p.note
{
     border: solid 1px #6AAADE;
     background-color: #80C6FF;
     border-radius: 6px;
     font-size: 0.8em;
     padding: 1em 1.5em;
}
p.note:before {
	content: "Note: ";
	font-style: italic;
}
.boxes {
	/*width: 70%;*/
	width: 100%;
}
aside .window .inner, .submenu .inner, .form, .whereami {
	background-color: #333;
	padding: 2em 2em;
}

.headline {
	margin-top: 0;
}

.slider {
	margin-bottom: 50px;
	padding: 1em;
	/*height: 200px;*/
	background: #333;
	text-align: center;
	line-height: 200px;
	font-size: 3em;
	color: #fff;
	text-shadow: 0 0 10px #111;
	position: relative;
}

.abs {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
}
.text {
	position: relative;
	margin: 0;
	padding: 0;
	z-index: 9;
}
.submenu {
	float: right;
	width: 50%;
	padding-left: 2em;
	box-sizing: border-box;
	color: #000;
}

.submenu h2 {
	margin-top: 0;
}

.submenu a{
	color: #333;
}
.submenu a:hover {
	color: #000;
}
.submenu nav a {
	display: block;
	margin-bottom: 1px;
	background: #fff;
	padding: 0.3em 0.6em;
	color: #777;
	text-decoration: none;
}

.submenu a.active, .submenu nav a:hover {
	padding-left: 2em;
	background: #d9d9d9;
	color: #333;
}

.whereami {
	background: #333;
	color: #fff;
	padding: 0.5em 0.8em;
	margin-bottom: 5px;
}

input {
	background: #222;
	background: -webkit-linear-gradient(#333, #222);	
	background: -moz-linear-gradient(#333, #222);	
	background: -o-linear-gradient(#333, #222);	
	background: -ms-linear-gradient(#333, #222);	
	background: linear-gradient(#333, #222);	
	border: 1px solid #444;
	border-radius: 5px 0 0 5px;
	box-shadow: 0 2px 0 #000;
	color: #888;
	display: block;
	font-size: 1em;
	font-weight: 400;
	height: 40px;
	margin: 0;
	padding: 0 10px;
	text-shadow: 0 -1px 0 #000;
	width: 200px;
}

.ie .webdesigntuts-workshop input {
	line-height: 40px;
}
  
.loader {
	/*position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -10px;
	display: none;*/
	height: 20px;
	width: 20px;/*
	margin-left: -10px;
	z-index: 9999999;*/
}

.ball {
    background-color: rgba(0,0,0,0);
    border: 3px solid #999;
    opacity: .9;
    border-top: 3px solid rgba(0,0,0,0);
    border-left: 3px solid rgba(0,0,0,0);
    border-radius: 50%;
    box-shadow: 0 0 35px #999;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    -moz-animation: spin .5s infinite linear;
    -ms-animation: spin .5s infinite linear;
    -webkit-animation: spin .5s infinite linear;
}

.ball1 {
    background-color: rgba(0,0,0,0);
    border: 3px solid #fff;
    opacity: .9;
    border-top: 3px solid rgba(0,0,0,0);
    border-left: 3px solid rgba(0,0,0,0);
    border-radius: 50%;
    box-shadow: 0 0 15px #fff;
    width: 50%;
    height: 50%;
    margin: 0 auto;
    position: relative;
    top: -21px;
    left: 3px;
    -moz-animation: spinoff .5s infinite linear;
    -ms-animation: spinoff .5s infinite linear;
    -webkit-animation: spinoff .5s infinite linear;
}



/* home site*/
body.home .ajax {
	padding: 0;
	width: 100%;
}
body.home header {
	height: 400px;
	position: relative;
	overflow: hidden;
}

.preview_home {
	height: 100%;
}
.effects_background {
	position: absolute;
	left: 0;
	top: 0;	
	height: 100%;
	width: 100%;
	z-index: 3;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	-ms-perspective: 600px;
	-o-perspective: 600px;
	perspective: 600px;
}
.effects_background ul {
	-webkit-transform: rotateX(45deg) translateY(-20%);
	-moz-transform: rotateX(45deg) translateY(-20%);
	-ms-transform: rotateX(45deg) translateY(-20%);
	transform: rotateX(45deg) translateY(-20%);
	opacity: 0.2;
	box-shadow: 0 0 50px #000;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.effects_background ul,
.effects_background .ajax_new_content,
.effects_background .ajax_old_content{
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}
.effects_background ul > li {
	list-style: none;
	float: left;
	width: 25%;
	height: 50%;
	position: relative;
	
}
.ajax-navigation-area.ajax-effect-carousel-left,
.ajax-navigation-area.ajax-effect-carousel-right {
	overflow: hidden;
}
.effects_background ul > li img {
	height: 100%;
	width: auto;
}
.effects_background .ajax_old_content {
	z-index: 9;
}

.effects a:hover {
	text-decoration: underline;
}
.button {
	color: #333;
	border: 1px solid #333;
	padding: 1em 3em;
	text-decoration: none;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	display: inline-block;
	margin: 0.6em 1em;
}

.button:hover {
	background: #333;
	color: #fff;
	border-color: #fff;
	box-shadow: 0 0 2em rgba(0,0,0,0.5);

}

.version {
	margin-top: 30px;
	display: block;
	color: #888;
	font-size: 0.8em;
}
/* home site end*/


/* doc site*/

.doc .categories {
	float: left;
	width: 20%;
	box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}
.doc .effects a {
	text-decoration: none;
	color: #555;
}
.doc .doc_area {
	margin: 5em 0;
}
.doc .doc_area:first-child, .doc_area h3:first-of-type {
	margin-top: 0;
}
.doc_area a {
	color: #333;
}
.doc h3 {
	margin-top: 2.5em;
}
.doc .effects a:hover {
	color: #222;
	text-decoration: underline;
}
.doc .doc_content {
	float: right;
	width: 80%;
	box-sizing: border-box;
	/*padding-left: 3em;*/
}

.doc h1 {
	color: #111;
}

.doc_area pre {
	padding: 1.5em 2em;  
	background: rgba(0,0,0,0.05)!important;
	box-shadow: 0 0 15px rgba(0,0,0,0.15) inset;
}

table, tbody, tr, td {
	display: block;
	
}

tbody td {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom-color: rgba(0, 0, 0, 0.1);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    padding: 0.5em 2em;
}

.float.left {
	float: left;
	margin-bottom: 1em;
}
.float.left > p {
	margin: 0;
}

.float.right {
	float: right;
	margin-bottom: 1em;
}
.clear {
	clear: both;
}
pre {
	white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;
}

.no-list-style {
	list-style:none;
}
.no-list-style li {
	margin-bottom: .5em;
}
/* doc site end*/

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-moz-keyframes spinoff {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(-360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spinoff {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-360deg);
    }
}

@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
    }
}

@-ms-keyframes spinoff {
    0% {
        -ms-transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(-360deg);
    }
}


@media only screen and (max-width: 1200px){
	.ajax {
    	width: 75%;
    }
    .doc .doc_content {
    	width: 75%;
    }
    .effects {
    	width: 20%;
    }
}
@media screen and (max-width: 900px){
	.doc .doc_content {
		width: 65%;
	}
	.doc .effects {
		width: 30%;
	}
}
@media screen and (max-width: 830px){
    header, body.home header {
        height: 200px;
    }
    
    header > div,
    header > div h1,
    header nav {
        height: auto;
        width: auto;
        display: block;
        text-align: center;
    }
    
    .submenu, .boxes {
    	width: 100%;
    }
    
    .submenu {
    	padding-left: 0;
    }
    .boxes {
    	margin-bottom: 2em;
    }
	.ajax, .effects {
		float: none;
		width: 100%;
	}
	.doc .effects {
		width: 30%;
		float: left;
	}
	.effects nav > span {
		/*display: inline-block;*/
		vertical-align: top;
		display: block;
		
		margin: 0 1em;
		margin-bottom: 1em;
	}
	.effects_background ul > li {
		width: 50%;
	}
	
	.content {
		padding: 1em;
	}	
}

@media screen and (max-width: 600px){
	.effects_background ul > li {
		width: 100%;
	}
	.doc .doc_content {
		width: 100%;
		float: none;
		padding: 0;	
	}
	.doc .doc_area {
		margin-bottom: 0;
	}
	.doc .effects {
		margin-bottom: 1em;
		float: none;
		width: 100%;
	}
}
@media screen and (max-width: 430px){
	header > div h1 {
		font-size: 2em;
	}
}