/*******************
	Default Styles
********************/
#hits {
	position: absolute;
	top:0;
	right: 0;
}

body {
	background: #F2F2F2;
	font-family: Helvetica, Arial, sans-serif;
}

#wrapper {
	width: 45%;
	min-width: 750px;
	margin: 0 auto;
	min-height: 100%;
}

main {
	display: block;
	margin: 0 auto;
	width: 95%;
}

main > h1 {
	font-weight: lighter;
	font-size: 33px;
	font-family: 'Helvetica Neue', Arial, sans-serif;
}

main h1:first-child {
	font-weight: bold;
}

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

.clear {
	clear: both;
	width: 100%;
}

#url {
	font-size: 18px;
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

li {
	color: #666666;
	font-size: 15px;
	font-family: 'Helvetica', Arial, sans-serif;
	margin-bottom: 10px;
	margin-left: 20px;
}

.disclaimer {
	font-size: 12px;
}

.drop-shadow {
	box-shadow: 0 1px 4px #DDD;
}

.main-content-wrapper {
	width: 96%;
	padding: 20px 2%;
	background: #fff;
}

header {
	margin-top: 80px;
	margin-bottom: 50px;
	width: 100%;
}

header img { 
	width: 80%;
	display: block;
	margin: 0 auto;
}

#general {
	margin-bottom: 20px;
	position: relative;
	width: 100%;
}

#general h1, #general p:first-of-type {
	margin-left: 0;
	color: #000;
}

#general p:first-of-type {
	margin-bottom: 15px;
}

#general hr {
	position: absolute;
	top: 20px;
	width: 100%;
}

#general p, #general li, #general a{
	margin: 0;
	margin-left: 20px;
	padding: 0;
	display: block;
	color: #666666;
}

.original, #loading { 
	font-family: Helvetica, Arial, sans-serif !important;
}

.rotate {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.move-middle {
	-moz-transform: translate(20px);
	-webkit-transform: translate(20px);
	transform: translate(20px);
}

.move-right {
	-moz-transform: translate(20px);
	-webkit-transform: translate(40px);
	transform: translate(40px);
}

.info {
	display: inline-block;
	position: relative;
	font-size: 14px;
	text-align: center;
	width: 17px;
	height: 17px;

	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;

	-webkit-box-shadow: 0 0 1px #000;
	-moz-box-shadow: 0 0 1px #000;
	box-shadow: 0 0 1px #000;
}

.info:hover {
	cursor: pointer;
}

.info:hover .popup {
	display: block;
}

.popup {
	display: none;
	position: absolute;
	text-align: left;
	font-size: 15px;
	font-style: normal;
	background-color: #FFF;
	width: 400px;
	padding: 10px;
	top: -440px;
	left: 15px;

	-webkit-box-shadow: 0 0 1px #000;
	-moz-box-shadow: 0 0 1px #000;
	box-shadow: 0 0 1px #000;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px 10px 10px 0px;

	z-index: 2;
}

.popup:hover {
	cursor: default;
}

.popup:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -1px;
	bottom: -30px;
	border: 15px solid;
	border-color: #BBB transparent transparent #BBB;
}

.popup:after {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 0px;
	bottom: -28px;
	border: 15px solid;
	border-color: #fff transparent transparent #fff;   
}

.popup article p {
	margin-left: 20px;
}

.popup article p:first-child {
	margin-left: 0;
}
.popup p {
	line-height: 20px;
}
/*******************
	Form Styles
********************/

form {
	padding: 20px;
	padding-bottom: 40px;
	text-align: center;
	width: 100%;
	background: #fff;
}

form h3, form h2 {
	padding: 0;
	margin-bottom: 10px;
}

form h3 {
	font-weight: normal;
	color: #888;
	margin-bottom: 40px;
}

input[type="text"] {
	width: 60%;
	height: 38px;
	font-size: 18px;
}

input[type="submit"], button, input[type="button"] {
	background: #DA232E;
	border-radius: 3px;
	border: none;
	padding: 0px 25px;
	line-height: 38px;
	font-size: 18px;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	color: #FFF;
}

input[type="submit"]:focus {
	outline: none;
}

input[type="submit"]:active, button:active, input[type="button"]:active {
	background: linear-gradient(#0563bb, #00a7f7);
}

form .field {
	margin-bottom: 20px;
}

form .field:last-child {
	margin-bottom: 0;
}

#error {
	display: none;
	width: 60%;
	margin-top: 5px;
	margin-left: 11%;
	text-align: left;
	color: red;
}

#show-settings {
	display: block;
	width: 60%;
	margin-left: 11%;
	text-align: left;
	font-size: 14px;
}

#show-settings > span {
	position: relative;
	padding-right: 25px;
}

#show-settings span:hover {
	cursor: pointer;
}

#show-settings span span {
	position: absolute;
	display: block;
	width: 20px;
	height: 2px;
	background: #DA232E;
	transition: all .3s ease;
}

#show-settings span span:first-child {
	top: 7px;
	right: 0px;
}

#show-settings span span:nth-of-type(2) {
	top: 7px;
	right: 0px;
}

#show-settings span span:last-child {
	bottom: 7px;
	right: 0px;
}

#settings {
	display: none;
	width: 56%;
	margin-left: 11%;
	padding: 20px 2%;
	margin-top: 20px;
	border: 1px solid #888;
	text-align: left;
}

#settings input {
	line-height: 18px;
	font-size: 18px;
}

/*******************
   Pallette Styles
********************/
#backgrounds {
	float: right;
}

#backgrounds, #headings {
	width: 48%;
}

#backgrounds h1, #headings > h1 {
	font-size: 33px;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-weight: 100;
	color: #888;
	margin-bottom: 10px;
	margin-left: 10px;
}

.background-container {
	position: relative;
	float: left;
	margin-left: 1%;
	width: 48%;
}

.pallette-container {
	position: relative;
    width: 100%;
    padding-bottom: 10%;
    margin-bottom: 30px;
    margin-right: 8.33%;
    height: 0;

    
}

.background-color {
	width: 100%;
    height: 50%;
    border: 1px solid #D8D8D8;
    position: absolute;
    left: 0;

}

.background-container pre {
	background-color: #D8D8D8;
	min-width: 150px;
	overflow-x: scroll;
}

.pallette-container .code-container {
	position: absolute;
	top: 36%;
}

.code-container p {
	color: #888888;
	font-size: 15px;
	font-family: 'Helvetica', Arial, sans-serif;
}

footer {
	position: relative;
	text-align: center;
	bottom: -20px;
	min-width: 750px;
}


/*******************
	Font Styles
********************/
#headings {
	float: left;
}

#headings .header h1, #headings .header h2, #headings .header h3, #headings .header h4, #headings .header h5, #headings .header h6, .header > a, .header > p, .header > li {
	margin: 0;
	display: inline-block;
	/*font-size: 3.5vw !important;*/
}

.header {
	margin-bottom: 50px;
}

/*******************
   Loading Spinner
********************/
#spinner {
	display: none;
	font-size: 30px;
	text-indent: -9999em;
	overflow: hidden;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	position: absolute;
	margin: auto;
	left: 0;
	right: 1px;
	top: 0;
	bottom: 1px;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load6 1.7s infinite ease;
	animation: load6 1.7s infinite ease;
}
@-webkit-keyframes load6 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
		box-shadow: 0 -0.83em 0 -0.4em #888, 0 -0.83em 0 -0.42em #888, 0 -0.83em 0 -0.44em #888, 0 -0.83em 0 -0.46em #888, 0 -0.83em 0 -0.477em #888;
	}
	5%,
	95% {
		box-shadow: 0 -0.83em 0 -0.4em #888, 0 -0.83em 0 -0.42em #888, 0 -0.83em 0 -0.44em #888, 0 -0.83em 0 -0.46em #888, 0 -0.83em 0 -0.477em #888;
	}
	10%,
	59% {
		box-shadow: 0 -0.83em 0 -0.4em #888, -0.087em -0.825em 0 -0.42em #888, -0.173em -0.812em 0 -0.44em #888, -0.256em -0.789em 0 -0.46em #888, -0.297em -0.775em 0 -0.477em #888;
	}
	20% {
		box-shadow: 0 -0.83em 0 -0.4em #888, -0.338em -0.758em 0 -0.42em #888, -0.555em -0.617em 0 -0.44em #888, -0.671em -0.488em 0 -0.46em #888, -0.749em -0.34em 0 -0.477em #888;
	}
	38% {
		box-shadow: 0 -0.83em 0 -0.4em #888, -0.377em -0.74em 0 -0.42em #888, -0.645em -0.522em 0 -0.44em #888, -0.775em -0.297em 0 -0.46em #888, -0.82em -0.09em 0 -0.477em #888;
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
		box-shadow: 0 -0.83em 0 -0.4em #888, 0 -0.83em 0 -0.42em #888, 0 -0.83em 0 -0.44em #888, 0 -0.83em 0 -0.46em #888, 0 -0.83em 0 -0.477em #888;
	}
}
@-moz-keyframes load6 {
	0% {
		-moz-transform: rotate(0deg);
		transform: rotate(0deg);
		box-shadow: 0 -0.83em 0 -0.4em #888, 0 -0.83em 0 -0.42em #888, 0 -0.83em 0 -0.44em #888, 0 -0.83em 0 -0.46em #888, 0 -0.83em 0 -0.477em #888;
	}
	5%,
	95% {
		box-shadow: 0 -0.83em 0 -0.4em #888, 0 -0.83em 0 -0.42em #888, 0 -0.83em 0 -0.44em #888, 0 -0.83em 0 -0.46em #888, 0 -0.83em 0 -0.477em #888;
	}
	10%,
	59% {
		box-shadow: 0 -0.83em 0 -0.4em #888, -0.087em -0.825em 0 -0.42em #888, -0.173em -0.812em 0 -0.44em #888, -0.256em -0.789em 0 -0.46em #888, -0.297em -0.775em 0 -0.477em #888;
	}
	20% {
		box-shadow: 0 -0.83em 0 -0.4em #888, -0.338em -0.758em 0 -0.42em #888, -0.555em -0.617em 0 -0.44em #888, -0.671em -0.488em 0 -0.46em #888, -0.749em -0.34em 0 -0.477em #888;
	}
	38% {
		box-shadow: 0 -0.83em 0 -0.4em #888, -0.377em -0.74em 0 -0.42em #888, -0.645em -0.522em 0 -0.44em #888, -0.775em -0.297em 0 -0.46em #888, -0.82em -0.09em 0 -0.477em #888;
	}
	100% {
		-moz-transform: rotate(360deg);
		transform: rotate(360deg);
		box-shadow: 0 -0.83em 0 -0.4em #888, 0 -0.83em 0 -0.42em #888, 0 -0.83em 0 -0.44em #888, 0 -0.83em 0 -0.46em #888, 0 -0.83em 0 -0.477em #888;
	}
}
#loading {
	display: none;
	position: absolute;
	width: 100px;
	height: 100px;
	margin: auto;
	left: 45px;
	right: 0;
	top: 150px;
	bottom: 0;
}

/*******************
	Media Queries
********************/
@media(max-width: 1100px) {
	#backgroundColors .background-container {
		width: 98%;
	}
}

@media(max-width: 800px) {
	#backgrounds, #headings {
		float: none;
		width: 100%;
	}

	#backgroundColors .background-container {
		width: 48%;
	}
}
@media(max-width: 500px) {
	#backgroundColors .background-container {
		width: 98%;
	}
}