/* Styleguide CSS here pls ------------------------------------------------------------------------------- */

html {
    height: 100%;
    width: 100%;
    position: absolute;
}

body { 
    background: #fff url(../img/logo_adobe.png) top right no-repeat fixed;
    color: #444;
    font: 14px "source-sans-pro", "source", helvetica, arial, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: subpixel-antialiased;
}

.guides {
/*	border: 1px solid red;*/
}

.space {
	height: 90px;
}

#container {
	min-width: 600px;
}

#test-container {
	padding: 0 120px 30px 30px ;
}

h1,h2,h3,h4,h5,h6 {
	color: #000;
	font-family: "source-l", helvetica, arial, sans-serif;
	font-weight: normal;
	margin: 0;
}

h4 {
	border-bottom: 1px solid #d7d7d7;
	font-size: 30px;
	margin: 20px 0;
}



h3 {
	font-size: 21px;
	margin-top: 40px;
}

h4 span {
	background: #fff;
	padding: 0 7px 0 0;
	position: relative;
	bottom: -10px;
}

.tabular {
	border: 1px solid rgba(0,0,0,0.09);
    border-spacing: 0;
	margin: 14px 0;
}




th, td, .tabular td.var {
	border-bottom: 1px solid #eee;
	font-size: 15px;
	font-weight: normal;
	padding: 5px 10px;
	text-align: left;
}

th {
	white-space: nowrap;
}

.tabular tr:last-child td {
	border: none;
}

.tabular td {
	font-size: 12px;
	padding: 10px;
}

.images {
	width: 100% !important;
}

.images td,
.images th {
	border-right: 1px solid #eee !important;
	padding: 18px;
	text-align: center;
	vertical-align: top;
}

.images th {
	padding: 9px;
}

.images tr:last-child td,
.images tr th:last-child  {
	border-right: none !important;
}

.images img {
	width: 300px;
}

header {
	background: #3a3f42 url("../img/bg_dark.png") repeat-x;
	bottom: 0;
	cursor: default;
	left: 0;
	overflow-y: scroll;
	padding: 0 0 30px 0;
	position: absolute;
	top: 0;
	width: 240px;
}



header hgroup {
	padding: 15px;
}

header hgroup {
	border-bottom: 1px solid rgba(0,0,0,0.36);
    box-shadow: 0px 1px 0px rgba(255,255,255,0.11);
}

header h1 {
	color: #fff;
	font-size: 18px;
	text-shadow: 0 -1px 0 #000;
}

header h2 {
	color: #c7c7c7;
	font-size: 12px;
	text-shadow: 0 -1px 0 #000;
}

header a {
	box-sizing: border-box;
	border-top: 1px solid rgba(0,0,0,0);
	border-bottom: 1px solid rgba(0,0,0,0); 
	color: #bbb;
	display: block;
	font-size: 14px;
	height: 24px;
	line-height: 24px;
	padding: 0 15px 0 30px;
	text-shadow: 0 1px 0 #000;
}

header ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	font-weight: 100;
	text-shadow: 0 1px 0 #000;
	font-size: 12px;
}

header span{
	padding: 0 0 0 30px;
	color: #888;
	text-decoration: none;
	font-weight: 100;
}

header a:link,
header a:visited {
	color: #c7c7c7;
	text-decoration: none;
	font-size: 13px;
	font-weight: 100;
}

header h3 a:link,
header h3 a:visited {
	color: #A4B4B7;
	font-size: 14px;
	text-shadow: 0 -1px 0 #000;
	margin: -30px 0 0px -10px;
	line-height: 20px;
	padding: 0 15px 0 30px;
}

header .navspace{
	margin: 20px;
	background: rgba(0,0,0,0);
}

header .selected {
	background: rgba(112,112,112,0.24);
	border-top: 1px solid rgba(0,0,0,0);
	border-bottom: 1px solid rgba(0,0,0,0);
	color: #fff !important;
}


header a:hover {
	background: rgba(112,112,112,0.24);
	border-top: 1px solid rgba(0,0,0,0);
	border-bottom: 1px solid rgba(0,0,0,0);
	color: #fff !important;
}

header a:focus {
    border: 1px solid #0940fd;
    -webkit-box-shadow: 0 0 4px #0088ff;
    box-shadow: 0 0 4px #0088ff;
    outline: none;   
}

header a:active {
	background: rgba(0,0,0,0.24);
	border-top: 1px solid rgba(0,0,0,0.2);
	border-bottom: 1px solid rgba(255,255,255,0.15);
	color: #fff;
}

h4:target span {
  -webkit-animation: highlight 5s ease;  
  -moz-animation: highlight 5s ease;    
}

	@-webkit-keyframes highlight {
	  0% { color: #0083E8; 	text-shadow: 0 0 4px rgba(0,136,255,.69); }
	  100% { color: #000; text-shadow: none; }
	}

.preview {
    border-spacing: 0;
    width: auto;
}

.preview td {
	padding: 15px 30px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
}

.bg-light {
	background: #f8f8f8;
	border: 1px solid rgba(0,0,0,0.09);
	font-size: 12px;
}

.fonts.tabular {
	width: 100%;
}

.fonts.tabular th.bg-white {
	border-bottom: 1px solid rgba(0,0,0,0.09);
}

.fonts.tabular th.bg-lightgray {
	border-bottom: 1px solid #bdbdbd;
}

.fonts.tabular th.bg-slategray {
	border-bottom: 1px solid #5c6061;
}

.fonts.tabular td {
	vertical-align: top;
	width: 33%;
}


/* Selection ------------------------------------------------------------------------------- */

::selection {
    background: #e0f0fa;
    color: #000;
}

header {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Scrollbars ------------------------------------------------------------------------------- */

::-webkit-scrollbar {
	height: 8px;
    width: 8px;
}
 
::-webkit-scrollbar-track {
	background: rgba(0,0,0,0.1);
	box-shadow: inset 0 0 6px rgba(0,0,0,0); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0); 
    border-radius: 4px;
    -webkit-border-radius: 4px;
}
 
::-webkit-scrollbar-thumb {
	border-radius: 4px;
	-webkit-border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.3);
    box-shadow: inset 0 0 6px rgba(0,0,0,0); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0); 
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0,0,0,0.1); 
}


/* Scrollbars ------------------------------------------------------------------------------- */


/* Container */
.modal {
	/* Overlay page content */
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	z-index: 10000;

	/* Transition opacity on open */
	-webkit-transition: opacity 200ms ease-in;
	transition: opacity 200ms ease-in;

	/* Hide for now */
	opacity: 0;
	pointer-events: none;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
}

/* Show modal */
.modal:target {
	opacity: 1;
	pointer-events: auto;
}

/* Hide modal */
.modal:active {
	opacity: 0;
}

/* Content */
.modal > div {
	width: 65%;
	background: #fff;
	position: relative;
	margin: 10% auto;

	/* Default minimise animation */
	-webkit-animation: minimise 500ms linear;

	/* Prettify */
	padding: 12px 15px;
	border-radius: 4px;
	box-shadow: 0 15px 36px rgba(0,0,0,0.6);
	background: #fff;
	text-shadow: 0 1px 0 #fff;
}

/* Override animation on modal open */
.modal:target > div {
	-webkit-animation-name: bounce;
	-moz-animation-name: bounce;
}

.modal h1 {
	font-size: 24px;
	padding: 0 0 10px;
}

@-webkit-keyframes bounce {
	0% {
		-webkit-transform: scale3d(1,1,1);
	}
	55% {
		-webkit-transform: scale3d(1,1,1);
	}
	100% {
		-webkit-transform: scale3d(1,1,1);
	}
/*	0% {
		-webkit-transform: scale3d(0.1,0.1,1);
		box-shadow: 0 3px 20px rgba(0,0,0,0.9);
	}
	55% {
		-webkit-transform: scale3d(1,1,1);
		box-shadow: 0 10px 20px rgba(0,0,0,0);
	}
	75% {
		-webkit-transform: scale3d(0.95,0.95,1);
		box-shadow: 0 0 20px rgba(0,0,0,0.9);
	}
	100% {
		-webkit-transform: scale3d(1,1,1);
		box-shadow: 0 3px 20px rgba(0,0,0,0.9);
	}
*/
}

@-webkit-keyframes minimise {
	0% {
		-webkit-transform: scale3d(1,1,1);
	}
	100% {
		-webkit-transform: scale3d(0.1,0.1,1);
	}
}

/* Modal close link */
.modal a[href="#close"] {
	position: absolute;
	right: 0;
	top: 0;
	color: transparent;
}

/* Reset native styles */
	.modal a[href="#close"]:focus {
	outline: none;
}

/* Create close button */
.modal a[href="#close"]:after {
	content: url("../img/close_modal.png");
	display: block;

	/* Position */
	position: absolute;
	right: 15px;
	top: 15px;

	/* Style */
	font-size: 12px;
	text-decoration: none;
	text-shadow: none;
	text-align: center;
	font-weight: bold;
	background: #fff;
}

.modal a[href="#close"]:focus:after,
.modal a[href="#close"]:hover:after {

}

.modal a[href="#close"]:focus:after {
	outline: 1px solid #000;
}

.modal a[href="#close"] {
	text-shadow: none !important;
}

/* Open modal */
a.openmodal {
	display: block;
	text-align: center;
}

a.openmodal:hover,
a.openmodal:focus {

}


/* main */
#main {
	bottom: 0;
	left: 240px;
	margin: 0;
	overflow-y: scroll;
	padding: 0 100px 60px 40px;
	position: absolute;
	right: 0;
	top: 0;
}

#general h1 {
	border-bottom: 1px solid #d7d7d7;
	font-size: 35px;
	margin: 40px 0;
}

#general h1 span{
	background: #fff;
	padding: 0 7px 0 0;
	position: relative;
	bottom: -10px;
}


#general h2 {
	border-bottom: 1px solid #d7d7d7;
	font-size: 30px;
	margin: 40px 0;
}

#general h2 span{
	background: #fff;
	padding: 0 7px 0 0;
	position: relative;
	bottom: -10px;
}


#general h5 {
	color: #3d3d3d;
	font-size: 14px;
	font-weight: 700;
	margin: 15px 0 10px 0;
}

#general .codebox {
	border-radious: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radious: 5px;
	color: #fff;
    line-height: 110%;
	background-color: rgba(230, 230, 230, 0.8);
	padding: 15px 20px;
	margin: 20px 0 30px 0;
	text-align: left;
	white-space: pre;           /* CSS 2.0 */
	white-space: pre-wrap;      /* CSS 2.1 */
	white-space: pre-line;      /* CSS 3.0 */
	white-space: -pre-wrap;     /* Opera 4-6 */
	white-space: -o-pre-wrap;   /* Opera 7 */
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap;  /* HP Printers */
	word-wrap: break-word;      /* IE 5+ */
	/*overflow: hidden;
	overflow-x: scroll;*/
	
}

#general code {
	display: block;
	font-size: 12px;
	line-height: 18px;
	text-decoration:  none;
	/*text-shadow:  #000 0px 1px 0px;*/
}

#doDont {
	width: 100%;
	border: 1px solid #ddd;
	border-radious: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radious: 5px;
	display: block;
	color: #000;
	line-height: 80%;
	background-color: rgba(240, 240, 2$0, 1);
	padding: 0 20px;
	margin: 20px 0;
	float: left;
}

#doDont p{
	margin: 10px 0 -10px 0;
	padding-top: 10px ;
}

#doDont .codebox {
	white-space: pre;           /* CSS 2.0 */
	white-space: pre-wrap;      /* CSS 2.1 */
	white-space: pre-line;      /* CSS 3.0 */
	white-space: -pre-wrap;     /* Opera 4-6 */
	white-space: -o-pre-wrap;   /* Opera 7 */
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap;  /* HP Printers */
	word-wrap: break-word;      /* IE 5+ */
}

#general .inline{
		border: 1px solid #fff;
		border-radious: 4px;
		-webkit-border-radius: 4px;
		-moz-border-radious: 4px;
		display: inline-block;
		font-size: 12px;
		text-decoration:  none;
		/*text-shadow:  #000 0px 1px 0px;*/
		font-weight: normal;
		color: #fff;
		line-height: 150%;
		background-color: rgba(210, 210, 210, 0.8);
}

.bodyspace {
	margin: 80px 0 0 0 ;
}