/*--------------------------

Mini Reset

---------------------------*/


body,
input,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
p
{

	margin: 0;
	padding: 0;
	border: 0;

}

h1 {

	line-height: 30px;
	font-size: 30px;

}

a { 
	text-decoration: none;
	color: inherit;
}

/*--------------------------

Animation For Everything!

---------------------------*/

* {
	
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	animation-timing-function:cubic-bezier(0, 0, .58, 1);
}


/*--------------------------

Anti-Aliasing

---------------------------*/

html, html a {
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);

}

/*--------------------------

Scrollbar

---------------------------*/

::-webkit-scrollbar{
   -webkit-appearance: none;
   z-index: 999999;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(50, 50, 50, .5);
    border: 3px solid transparent;
    border-radius: 9px;
    background-clip: content-box;
}

::-webkit-scrollbar-track {
    background-color: rgba(100, 100, 100, .5);
    width: 15px;
}

::-webkit-scrollbar{
   -webkit-appearance: none;
   z-index: 999999;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(50, 50, 50, .5);
    border: 3px solid transparent;
    border-radius: 9px;
    background-clip: content-box;
}

::-webkit-scrollbar-track {
    background-color: rgba(100, 100, 100, .5);
    width: 15px;
}

/*--------------------------

Load Fonts

---------------------------*/

@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900);


/*-----------------------------

Edit Mode

------------------------------*/

/*

.layout * {

	position: relative;

}

.layout *:after {

 	content:'\A';
    position:absolute;
    width:100%; height:100%;
    top:0; left:0;
    background: none;
    border: 3px solid #F2D335;
    opacity:0;
    pointer-events: none;
    transition: all 0.3s;
	-webkit-transition: all 0.3s;
	box-sizing: border-box

}

.layout *:hover:after {

	opacity: 1;

} 

*/


body {


	background: #F5F4F2;
	background: #F2F2F0;
	background: #f2f2f2;

	font-family: 'Roboto', sans-serif;
	line-height: 20px;
	overflow-x: hidden;

	background: url(http://subtlepatterns.com/patterns/classy_fabric.png);
	

}

header {

	height: 48px;
	width: 100%;
	background: #232323;
	border-bottom: 1px solid #000;
	margin-bottom: 20px;
	color: white;
	z-index: 10;
	position: fixed;
	top: 0;

}

header .inner {

	width: 960px;
	margin: 0 auto;

}

.left {

	float: left;

}

.right {

	float: right;

}

.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
}

.layout {
	position: relative;
	margin: 0 auto;
	box-shadow: 0 0 46px rgba(0,0,0,0.33),inset 0 0 0 #000;
	box-shadow: none;
	overflow: auto;
	border-radius: 5px;
	width: 960px;
	padding-top: 48px;
	background: #f2f2f2;

}

.hide {

	display: none;

}

/*---------------

Good Tooltip by http://codepen.io/cbracco/

----------------*/

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
	position: relative;
	z-index: 2;
	cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 0;
	pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
	position: absolute;
	bottom: 150%;
	left: 50%;
	margin-bottom: 5px;
	margin-left: -80px;
	padding: 7px;
	width: 160px;
	-webkit-border-radius: 3px;
	-moz-border-radius:    3px;
	border-radius:         3px;
	background-color: #000;
	background-color: hsla(0, 0%, 20%, 1);
	color: #fff;
	content: attr(data-tooltip);
	text-align: center;
	font-size: 14px;
	line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
	position: absolute;
	bottom: 150%;
	left: 50%;
	margin-left: -5px;
	width: 0;
	border-top: 5px solid #000;
	border-top: 5px solid hsla(0, 0%, 20%, 1);
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
	content: " ";
	font-size: 0;
	line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
	visibility: visible;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}

/*-----------------------------------------

Modal Styles

------------------------------------------*/

.modal {

	width: 640px;
	
	position: fixed;
	z-index: 100;
	background: white;

	top: 35%;
	left: 50%;
	margin-top: -100px;
	margin-left: -320px;
	border-radius: 6px;
	text-align: center;

}

.overlay {

	width: 100%;
	height: 100%;
	position: fixed;
	background: rgba(0,0,0,0.8);
	z-index: 99;

}

@media (max-width: 1024px) {

	.layout, header .inner {

		width: 100% !important;

	}

}