html {

}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
    Responsive Styles
   ========================================================================== */

body {

}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL
   =================== */

.header-container {
    border-bottom: 20px solid #9fbfdf;
}

.footer-container,
.main aside {
    border-top: 20px solid #9fbfdf;
}

.header-container,
.footer-container,
.main aside {
    background: #75a3d1;
}

.title {
    color: white;
}

.footer-social {
    padding-top: 60px;
    width: 100%;
    text-align: center;
}

.social-facebook,
.social-twitter,
.social-google-plus {
    display: inline-block;
    padding: 5px 10px;
}

 .footer-press , .footer-press a:link, .footer-press a:active, .footer-press a:visited, .footer-press a:hover {
    position: relative;
    padding-top: 60px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
}


/* ==============
    Main
   ============== */

.main {
    padding: 20px 0px;
}

.main-container {
    background: #ebf1f8;
        -webkit-box-shadow: inset 0 0px 20px #aaa;
           -moz-box-shadow: inset 0 0px 20px #aaa;
                box-shadow: inset 0 0px 20px #aaa;
}

.footer-container footer {
    color: white;
    padding: 20px 0px 40px 0;
    text-align: justify;
    text-justify: inter-word;
}


/* ==========================================================================
   Super'Air Hockey custom styles
   ========================================================================== */

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

@font-face {
  font-family: "SuperMario256";
  src: url('../font/SuperMario256.ttf'),
  url('../font/SuperMario256.ttf'); /* IE */
}

* {
	font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
}



/* ==========================================================================
   Header
   ========================================================================== */

.header {
    padding: 10px;
    width: 100%;
    height: 100%;
    max-width: 640px;
    display: block;
    margin: auto;
}

.header-phone {
    position: relative;
    display: block;
    margin: auto;
    background: url("../img/phone.png") no-repeat;
    background-size: 100%;
}

.header-video {
    width: 90%;
    height: 90%;
    padding-left: 11.7%;
    padding-top: 2.8%;
    padding-right: -11.7%;
    padding-bottom: -3%;
}

.header-video .youtube-container,
.header-video .illustration-container {
    margin-bottom: 5%;
}

.header-badge-google-play {
    position: relative;
    float: left;
    width: 50%;
}

.badge-google-play {
    display: block;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 90%;
    max-width: 192px;
}

.header-badge-amazon-store {
    position: relative;
    text-align: center;
    float: left;
    width: 50%;
}

.badge-amazon-store {
    display: block;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 90%;
    max-width: 192px;
}

.header-badge-app-store {
    position: relative;
    text-align: center;
    float: right;
    width: 33%;
}

.badge-app-store {
    display: block;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 90%;
    max-width: 192px;
}

.header-text, h2 {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
}







/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
    -moz-box-shadow: 3px 4px 0px 0px #d6d6d6;
    -webkit-box-shadow: 3px 4px 0px 0px #d6d6d6;
    box-shadow: 3px 4px 0px 0px #d6d6d6;
    background-color:#9fbfdf;
    border:2px solid #448;
    color: white;
  	padding: 8px 10.6px;
}

.button:active,
.button.is-checked {
    -moz-box-shadow: 3px 4px 0px 0px #d6d6d6;
    -webkit-box-shadow: 3px 4px 0px 0px #d6d6d6;
    box-shadow: 3px 4px 0px 0px #d6d6d6;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
    background-color:#75a3d1;
    border:2px solid #448;
}

.button:hover {
    border:2px solid #ddf;
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 8px 0 0 8px; }
.button-group .button:last-child { border-radius: 0 8px 8px 0; }

.option-combo {
    margin-left: 5px;
    position: relative;
    display: inline-block;
}

.option-combo-title {
    position: relative;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
}

/* Filter and sort */

.filter-and-sort {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
}

.filter-combo {
    position: relative;
    width: 60%;
}

.sort-combo {
    text-align: right;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 40%;
}

.sort-combo .option-combo-title {
    margin-right: 10px;
}

.sort-combo .option-combo {
    position: absolute;
    right: 0px;
    margin-right: 10px;
}


/* ---- elements ---- */


/* clear fix */
.elements:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .isotope-item ---- */

.isotope-item {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 5px;
  padding: 10px;
}

.isotope-item > * {
position:relative;
  margin: 0;
  padding: 0;
}

.isotope-item .name {
  position: relative;
  width: 100%;
  font-size: 28px;
  font-weight: bold;
  color: white;
  font-family: SuperMario256;
}

.isotope-item .desc {
  position: relative;
  width: 100%;
  min-height: 32px;
  top: 8px;
  font-size: 14px;
  line-height: 120%;
  color: white;
  text-align: justify;
  text-justify: inter-word;
}

.isotope-item .version {
  position: absolute;
  right: 10px;
  top: 10px;
  text-align: right;
  vertical-align: text-top;
  font-size: 12px;
  line-height: 120%;
  color: white;
}

.isotope-item .vote {
  position: absolute;
  height: 30px;
  width: 80px;
  right: 32px;
  top: 10px;
  padding-top: 2px;
  text-align: center;
  line-height: 75%;
  color: white;
}

.isotope-item .vote .vote-num {
  font-size: 24px;
  font-weight: bold;
}

.isotope-item .vote .vote-votes {
  font-size: 11px;
}

.isotope-item .voting-button {
    position: absolute;
    height: 30px;
    width: 34px;
    right: 10px;
    top: 10px;
    outline: 0;
    border: 0;
    background: url("../img/vote.png") no-repeat;
}

.isotope-item .voting-button:hover {
    position: absolute;
    height: 34px;
    width: 38px;
    right: 8px;
    top: 8px;
    background: url("../img/vote.png") no-repeat cover;
}

.isotope-item .voted {
    position: absolute;
    height: 30px;
    width: 34px;
    right: 10px;
    top: 10px;
    background: url("../img/voted.png") no-repeat;
}

.isotope-item .video {
  padding-top: 20px;
}

.isotope-item .illustration-container {
  padding-top: 20px;
}


.illustration {
    position:relative;
    max-width: 100%;
	border: 2px solid #111;
}



/* ==========================================================================
   Elements
   ========================================================================== */

.elemTypeFeature,
.elemTypeTheme,
.elemTypeItem {
    -moz-box-shadow: 3px 4px 0px 0px #d6d6d6;
    -webkit-box-shadow: 3px 4px 0px 0px #d6d6d6;
    box-shadow: 3px 4px 0px 0px #d6d6d6;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}

.elemTypeFeature {
    background-color:#e05151;
    border:2px solid #900;
}

.elemTypeTheme {
    background-color:#75a3d1;
    border:2px solid #448;
}

.elemTypeItem {
    background-color:#ffd452;
    border:2px solid #ca0;
}

.elemNoPic {
    position: absolute;
    top: 48%;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    font-family: SuperMario256;
}

.elemNoPicVote {
    position: absolute;
    top: 60%;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 14px;
    color: white;
}



/* ==========================================================================
   Form
   ========================================================================== */

.form-email {
  width: 100%;
  max-width: 512px;
  padding: 0.5em 1.0em;
  margin-bottom: 10px;
  background: #EEE;
  border: none;
  border-radius: 7px;
  color: #222;
  font-size: 16px;
  text-shadow: 0 1px white;
}

.form-comment {
  width: 100%;
  padding: 0.5em 1.0em;
  background: #EEE;
  border: none;
  border-radius: 7px;
  color: #222;
  font-size: 16px;
  text-shadow: 0 1px white;
}

.form-submit {
    width: 100%;
    border-radius: 8px 8px 8px 8px;
}



/* ==========================================================================
   Youtube
   ========================================================================== */

.youtube-container {
}

.youtube-player {
    position:relative;
    overflow: hidden;
    cursor: hand;
    cursor: pointer;
}

img.youtube-thumb {
    position:relative;
    max-width: 100%;
}

.youtube-iframe {
    width: 100%;
    position: absolute;
    height:100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
}

div.play-button {
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    position: absolute;
    background: url("http://i.imgur.com/TxzC70f.png") no-repeat;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

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

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {

    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

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

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}