/*
 * Author: Carlos Alvarez
 * URL: http://alvarez.is
 *
 * Project Name: FLATTY - Free Bootstrap 3 Theme
 * Version: 1.0
 * URL: http://blacktie.co
 */

body {
  background-color: #ffffff;
  font-family: 'Helvetica', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #555;

  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;

  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    color: #323232;
    font-family: 'Helvetica', sans-serif;
    font-weight: 100;
    letter-spacing: 0px;
}

h1 {
	font-size: 60px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 32px;
  font-weight: 400;
  padding-bottom: 20px;
}

h4 {
  font-weight: 400;
}

/* Paragraph & Typographic */
p {
    line-height: 28px;
    margin-bottom: 25px;
    font-size: 16px;
}

.centered {
    text-align: center;
}

/* Links */
a {
    color: #3498db;
    word-wrap: break-word;
/*
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;*/
}

a:hover,
a:focus {
    color: #7b7b7b;
    text-decoration: none;
    outline: 0;
    cursor: pointer;
}

/*a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}*/

ul.nav {
  text-align: center;
}

ul.nav li {
  display: inline-block;
  padding: 0 10px;
  font-size: 20px;
  font-weight: 400;
}

ul.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}

ul.nav > li > a:hover,
ul.nav > li > a:focus {
  text-decoration: none;
  background-color: #3498db;
  color: #ffffff;
  cursor: pointer;
}

ul.nav > li.selected > a {
  font-weight: 500;
}

ul.nav > li.selected > a:hover,
ul.nav > li.selected > a:focus {
/*  color: #999999;
  text-decoration: none;*/
  cursor: default;
  background-color: transparent;
}

.spacer
{
  position: relative;
  display: inline-block;;
  width: 4px;
  height: 4px;
  margin-left: 8px;
  margin-right: 8px;
  margin-bottom: 4px;
  background-color: #999;
}

#brokengames_apps {
    margin-top: 20px;
}

.imgWrap {
    margin: auto;
    position: relative;
    height: 180px;
    width: 180px;
    border-radius:40px;
    overflow: hidden; 
}

.loading {
  background-color: #f8f8f8;
}

.imgDescription {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: rgba(30, 30, 30, 0.75);
  color: #fff;
  display: table;

  visibility: hidden;
  opacity: 0;

  /*remove comment if you want a gradual transition between states
  -webkit-transition: visibility opacity 0.2s;
  */
}

.imgDescription p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 10px;
}

.imgWrap:hover .imgDescription {
  visibility: visible;
  opacity: 1;
}

img.app_icon {
    border-radius:40px;
    overflow: hidden; 
    border: solid 1px #eeeeee;
}


#appwrap {
  padding-bottom: 30px;
  width: 180px;
  /*height: 300px;*/
  margin: auto;
}

/* HeaderWrap */
#headerwrap {
	background-attachment: relative;
	background-position: center center;
	min-height: 150px;
	width: 100%;
	
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerwrap h1 {
  display: block;
  width: 200px;
  height: 200px;
  background: transparent url(../img/logo.gif) no-repeat;
  background-size: 100%;
  text-indent: -1000px;
  overflow: hidden;
  position: relative;
  left: 50%;
  margin: 30px -100px;
}

#headerwrap h2 {
    margin-top: -15px;
}

#headerwrap .img-responsive {
    margin-left: auto;
}

#footerwrap
{
  font-size: 14px;
  padding-bottom: 20px;
  padding-top: 20px;
  margin-top: 50px;
  border-top: 1px solid #eee;
}

#wrapper {
  min-height: 100%; 
  height: auto !important; 
  height: 100%; 
  display:flex; 
  flex-direction:column;
}

#content-wrapper {
  flex: 1;
  margin: 0 30px;
}

/*loader css http://projects.lukehaas.me/css-loaders/*/

.loader {
  margin: 40px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}