html {
	height: 100%;
	background: url("../aokp-unofficial-images/html-bg.png") repeat #21131E;
}

body {
    color: #999;
	font-family: 'roboto',sans-serif;
    font-size: 17px;
	text-shadow: 1px 1px 0 #000, 0 0 10px #1d6d8b;
}

a, a:visited {
    color: #33b5e5;
    text-decoration: none;
    -webkit-transition: all 420ms ease-in-out;
    -moz-transition: all 420ms ease-in-out;
    -ms-transition: all 420ms ease-in-out;
    -o-transition: all 420ms ease-in-out;
    transition: all 420ms ease-in-out;
}
a:hover {
    color: #fff;
}
a:hover [class^="icon-"], a:hover [class*=" icon-"] {
	color: #33b5e5; 
}

a:active {
    color: #E4418B;
}

.text-center {
	text-align: center;
}

.red {
	color: #d22;
}

pre {
  background: rgba(100,170,225,0.2);
  padding: 18px;
  border-left: 8px solid #09c;
}

/* scar45 Customizations */

h1, h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {
    font-size: 30px;
	font-weight: 100;
    letter-spacing: -2px;
    margin: 20px 32px;
	text-shadow: 0 0 25px #33b5e5, 2px 2px 0 #000000;
}

h1 {
	color: #777;
}

h1 a, h1:visited {
	text-shadow: 0 0 25px #E4418B, 2px 2px 0 #000000;
}

h1 a:hover {
	text-shadow: 0 0 25px #33b5e5, 2px 2px 0 #000000;
}

h1.navbar {
  position: fixed;
  height: auto;
  overflow: visible;
  z-index: 12000;
  background: rgba(0,0,0,0.75);
  margin: 0;
  padding: 16px 26px 13px 80px;
  border: 1px solid #E4418B;
  border-width: 0 0 2px 0;
  box-shadow: 2px 2px 30px #000;
	-webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

h1.navbar.collapse {
  height: 50px;
  overflow: hidden;
}

h1.navbar img.avatar, h1.navbar video {
  position: absolute;
  top: 0;
  left: 0;
  height: 64px;
  width: 64px;
	webkit-box-shadow: 0 0 20px #888;
	box-shadow: 0 0 20px #888;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

h2, h3 {
  font-size: 26px;
	background: rgba(51,181,229,0.2);
	margin: 0 0 13px;
  padding: 7px 13px;
	color: #ddd;
	letter-spacing: -1px;
}

#wrapper {
  padding-top: 170px;
  padding-bottom: 70px;
}

.read-more, .posted-footer {
	background: rgba(51,181,229,0.2);
    padding: 7px 10px;
    text-align: center;
}

.read-more b {
  text-transform: capitalize;
}

.posted-footer {
	font-weight: normal;
	font-size: 15px;
}

.posted-footer .back-to-list {
	display: inline-block;
	float: left;
	font-weight: bold;
	font-size: 17px;
}

h2 span {
  font-weight: bold;
  font-size: 27px;
	background: none;
	margin: 0;
	padding: 0;
}

h3 {
	font-size: 18px;
	letter-spacing: normal;
	color: #E4418B;
	margin: 10px 0;
}

@media only screen and (min-width: 768px) {
	h3 {
		font-size: 20px;
	}
}

@media only screen and (min-width: 900px) {
	h3 {
		font-size: 22px;
	}
}

.isotope-wrap {
	padding: 0 10px;
	height: 100%;
}

.section-block {
	background: url("../aokp-unofficial-images/main-bg.png") repeat;
    border: 1px solid #1d6d8b;
	/*
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-transition: border-color 1s ease;
	-moz-transition: border-color 1s ease;
	-o-transition: border-color 1s ease;
	-ms-transition: border-color 1s ease;
	transition: border-color 1s ease;
	*/
    padding: 0;
	margin: 10px 2%;
	width: 93%;
}

.section-block:hover {
    border: 1px solid #33B5E5;
}

.section-block-full {
	display: inline-block;
	float: none;
	max-width: 840px;
}

.section-block .entry-content {
	padding: 0 7px;
	font-size: 21px;
	font-weight: 100;
}

.section-block .entry-content iframe {
  max-Width: 100%;
}

.section-block .entry-content p:first-child {
  margin-top: 0;
}

.section-block .entry-content img, .section-block .entry-content video {
	max-width: 97%;
	width: auto;
	height: auto;
	padding: 5px;
	border: 1px solid #444;
	webkit-box-shadow: 0 0 20px #222;
	box-shadow: 0 0 20px #222;
}

.download-count {
	font-weight: bold;
	color: #E4418B;
}

ul.file_download_list {
	padding-left: 15px;
}

ul.file_download_list li {
	list-style: none;
	margin-top: 7px;
	padding-top: 7px;
	border-top: 2px dotted #555;
}

ul.file_download_list li:first-child {
	border-top: 0;
}

.download-desc {
	margin-left: 23px;
	display: none;
	position: relative;
	overflow: auto;
}

.footer {
	background: rgba(0,0,0,0.95);
  border-top: 1px solid #333;
  color: #999;
	font-size: 11px;
	font-weight: bold;
	text-shadow: 0px 0px 15px #33b5e5;
	padding: 0px 32px 32px;
	margin-top: 32px;
	clear: both;
	-webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

.footer .twitter-follow-button {
	margin: 7px 0;
}

.vid-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    border: 1px solid rgba(228, 65, 139, 0.65);
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

*,
*:before,
*:after {
  /* box-sizing: border-box; */
}

label[for] {
  cursor: pointer;
}

input[type="checkbox"].chk-css-gallery {
  display: none;
}

.lightbox {
  background: rgba(0,0,0,0.65);
/*  -webkit-transition: background .75s;
  transition: background .75s; */
}

.lightbox, .grid {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.lightbox {
  z-index: 13000;
  min-height: 100%;
  overflow: auto;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: -webkit-transform .5s ease-out;
  transition: -webkit-transform .5s ease-out;
  transition: all .5s ease-out;
  transition: all .5s ease-out, -webkit-transform .5s ease-out;
}

.lightbox img {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 96%;
  max-height: 96%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

input[type="checkbox"]:checked + .lightbox {
  -webkit-transform: scale(1);
          transform: scale(1);
}

input[type="checkbox"]:checked ~ .grid {
  opacity: .125;
}

.grid {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-align-content: flex-start;
      -ms-flex-line-pack: start;
          align-content: flex-start;
  height: 100%;
  padding: 16px;
  overflow: auto;
  text-align: center;
  -webkit-transition: opacity .75s;
  transition: opacity .75s;
}

.grid .grid-item {
  position: relative;
  display: block;
  width: 25%;
  padding: 16px;
  opacity: .75;
  -webkit-transition: opacity .5s;
  transition: opacity .5s;
}

.grid .grid-item:hover {
  opacity: 1;
}

.grid img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.grid .grid-item:hover img {
  box-shadow: 0 2px 8px rgba(228, 65, 139, 0.45);
}

@media only screen and (min-width: 416px) {
	.footer .twitter-follow-button {
		margin: 0 20px;
	}
  
  .grid .grid-item {
    width: 100%;
  }
}

@media only screen and (min-width: 768px) {
  h1.navbar, .footer {
    background: rgba(0,0,0,0.75);
  }

  h1.navbar:hover, .footer:hover {
    background: rgba(0,0,0,0.95);
  }
  
  .grid .grid-item {
    width: 33.3333%;
  }
}

@media only screen and (min-width: 900px) {

  h1.navbar {
    border-width: 0 2px 2px 0;
    border-bottom-right-radius: 11px;
  }
  
  #wrapper {
    padding-top: 80px;
  }

	.section-block {
		margin: 20px;
		padding-right: 0;
		float: left;
		max-width: 44%;
	}

	.section-block-full {
		max-width: 840px;
    margin-bottom: 100px;
	}

	.section-block h2 {
    margin: 0px;
    padding: 15px 30px;
    line-height: 36px;
  }

	.section-block .entry-content {
		padding: 30px 30px 0px;
		line-height: 29px;
	}

  .footer {
  	padding: 0 25px 7px;
    margin-top: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
	}

}

@media only screen and (min-width: 1280px) {

  body.full .section-block {
    max-width: 45%;
  }
  
  .grid .grid-item {
    width: 25%;
  }
}

@media only screen and (min-width: 1480px) {

  body.full .section-block {
    max-width: 30%;
  }
}


.footer a { color: #E4418B; font-weight: bold; }

/* ==========================================================================
   Webfonts
   ========================================================================== */

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-light-webfont.eot');
    src: url('//scar45.me/fonts/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-light-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-light-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-light-webfont.svg#robotothin') format('svg');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-lightitalic-webfont.eot');
    src: url('//scar45.me/fonts/roboto-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-lightitalic-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-lightitalic-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-lightitalic-webfont.svg#robotothin_italic') format('svg');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-regular-webfont.eot');
    src: url('//scar45.me/fonts/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-regular-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-regular-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-italic-webfont.eot');
    src: url('//scar45.me/fonts/roboto-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-italic-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-italic-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-italic-webfont.svg#robotoitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-bold-webfont.eot');
    src: url('//scar45.me/fonts/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-bold-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-bold-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-bold-webfont.svg#robotobold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-bolditalic-webfont.eot');
    src: url('//scar45.me/fonts/roboto-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-bolditalic-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-bolditalic-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-bolditalic-webfont.svg#robotobold_italic') format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-black-webfont.eot');
    src: url('//scar45.me/fonts/roboto-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-black-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-black-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-black-webfont.svg#robotobold') format('svg');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-blackitalic-webfont.eot');
    src: url('//scar45.me/fonts/roboto-blackitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-blackitalic-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-blackitalic-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-blackitalic-webfont.svg#robotobold_italic') format('svg');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-medium-webfont.eot');
    src: url('//scar45.me/fonts/roboto-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-medium-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-medium-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-medium-webfont.svg#robotomedium') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'roboto';
    src: url('//scar45.me/fonts/roboto-mediumitalic-webfont.eot');
    src: url('//scar45.me/fonts/roboto-mediumitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/roboto-mediumitalic-webfont.woff') format('woff'),
         url('//scar45.me/fonts/roboto-mediumitalic-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/roboto-mediumitalic-webfont.svg#robotomedium_italic') format('svg');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'ostrich';
    src: url('//scar45.me/fonts/ostrich-rounded-webfont.eot');
    src: url('//scar45.me/fonts/ostrich-rounded-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/ostrich-rounded-webfont.woff') format('woff'),
         url('//scar45.me/fonts/ostrich-rounded-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/ostrich-rounded-webfont.svg#ostrich_sansblack') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ostrich';
    src: url('//scar45.me/fonts/ostrich-black-webfont.eot');
    src: url('//scar45.me/fonts/ostrich-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('//scar45.me/fonts/ostrich-black-webfont.woff') format('woff'),
         url('//scar45.me/fonts/ostrich-black-webfont.ttf') format('truetype'),
         url('//scar45.me/fonts/ostrich-black-webfont.svg#ostrich_sansblack') format('svg');
    font-weight: bold;
    font-style: normal;
}

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}


/*!
 * qTip2 - Pretty powerful tooltips - v2.0.1
 * http://qtip2.com
 *
 * Copyright (c) 2012 Craig Michael Thompson
 * Released under the MIT, GPL licenses
 * http://jquery.org/license
 *
 * Date: Mon Dec 31 2012 02:55 GMT+0000
 * Plugins: svg ajax tips modal viewport imagemap ie6
 * Styles: basic css3
 */

/* Core qTip styles */
.qtip, .qtip{
	position: absolute;
	left: -28000px;
	top: -28000px;
	display: none;

	max-width: 220px;
	
	font-size: 14px;
	line-height: 18px;

	direction: ltr;
}

.qtip-content{
	position: relative;
	padding: 4px 9px;
	overflow: hidden;

	text-align: left;
	word-wrap: break-word;
}

.qtip-default{
	border: 1px solid #33b5e5;
	border-width: 2px 1px 1px 1px;
  margin-top: 42px;
	background-color: #000;
	color: #E4418B;
	color: #fff;
	
	font-family: 'roboto', sans-serif;

	-webkit-border-radius: 0 0 8px 8px;
	-moz-border-radius: 0 0 8px 8px;
  border-radius: 0 0 8px 8px;
	box-shadow: 0 0 6px 1px rgba(51,181,229,0.6);
}

.qtip-navbar {
	border: 1px solid #33b5e5;
	border-top: 0;
	display: none;
	padding: 9px 5px 2px;
	line-height: 5px;
	font-weight: bold;

	color: #33b5e5;

	-webkit-border-radius: 0 0 8px 8px;
  border-radius: 0 0 8px 8px;
	box-shadow: none;

}
