/* ~36px */
/* ~30px */
/* ~24px */
/* ~18px */
/* ~12px */
/* ~18px */
/* ~12px */
/* 20/14 */
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
/* Basic style */
body {
  font: 14px/21px 'Open Sans', sans-serif;
  color: white;
  background: #37000b url('../img/bg.png') no-repeat center top;
  background-size: contain;
  -webkit-font-smoothing: antialiased;
  /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
}
/* Heading */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
  font-weight: normal;
  line-height: 1;
  color: inherit;
}
h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}
h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
  font-size: 65%;
}
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}
h4 small,
.h4 small,
h5 small,
.h5 small,
h6 small,
.h6 small,
h4 .small,
.h4 .small,
h5 .small,
.h5 .small,
h6 .small,
.h6 .small {
  font-size: 75%;
}
h1,
.h1 {
  font-size: 36px;
}
h2,
.h2 {
  font-size: 30px;
}
h3,
.h3 {
  font-size: 24px;
}
h4,
.h4 {
  font-size: 18px;
}
h5,
.h5 {
  font-size: 14px;
}
h6,
.h6 {
  font-size: 12px;
}
/* Links */
a {
  outline: 0;
  color: #9d3f52;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #662935;
  text-decoration: underline;
}
a::-webkit-any-link {
  cursor: pointer;
}
/* Emphasis & misc */
small,
.small {
  font-size: 85%;
}
/* Align */
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.text-justify {
  text-align: justify;
}
.text-nowrap {
  white-space: nowrap;
}
/* Lists */
ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
}
ul ul,
ol ul,
ul ol,
ol ol {
  margin-bottom: 0;
}
ul ul li,
ol ul li,
ul ol li,
ol ol li {
  list-style-type: none;
}
p {
  color: white;
  font-size: 14px;
  line-height: 1.42857143;
}
p a,
p:visited {
  color: #9d3f52;
  line-height: inherit;
}
strong,
b {
  font-weight: 700;
  font-family: Open Sans;
}
i,
cite,
em,
var,
address,
dfn {
  font-style: italic;
}
tt,
code,
kbd,
samp {
  font-family: monospace;
}
mark {
  background-color: #0C3E84;
  color: white;
}
s,
strike {
  text-decoration: line-through;
}
u,
ins {
  text-decoration: none;
}
q {
  display: inline;
}
sup {
  vertical-align: super;
  font-size: smaller;
}
sub {
  vertical-align: sub;
  font-size: smaller;
}
/* Compontents */
html,
body {
  height: 100%;
  text-align: center;
  position: relative;
}
main {
  display: inline-block;
  vertical-align: middle;
}
.container {
  height: 100%;
}
#welcome h1 {
  font-size: 28px;
  margin: 20px 0;
}
#welcome h3 {
  margin-bottom: 30px;
}
#welcome p {
  margin: 0px;
  font-size: 12px;
  margin-bottom: 20px;
}
#welcome table {
  margin-top: 0px;
  margin-bottom: 10px;
}
#welcome img {
  width: 100%;
}
#welcome .button {
  margin: 0px 0 20px 0;
}
#countdown {
  font-size: 10px;
  margin: 20px 0;
}
.info-box {
  margin: 20px 0;
}
.info-box form {
  position: relative;
}
.info-box form .sprite {
  background-image: url(../img/icons-sprite.png);
  background-repeat: no-repeat;
  display: inline-block;
  position: absolute;
}
.info-box form .sprite.sprite-name {
  background-position: -91px -3px;
  background-size: 146px;
  width: 20px;
  height: 23px;
  margin: 10px;
}
.info-box form .sprite.sprite-email {
  background-position: -121px -2px;
  background-size: 146px;
  width: 20px;
  height: 23px;
  margin: 10px;
  display: inherit;
}
.info-box form .sprite.sprite-google_plus {
  background-position: -65px -5px;
  background-size: 146px;
  width: 24px;
  height: 20px;
  margin: 15px auto 0 auto;
}
.info-box form .sprite.sprite-score {
  background-position: -65px -5px;
  background-size: 146px;
  width: 24px;
  height: 20px;
  margin: 15px auto 0 auto;
}
.info-box form input {
  border: 0;
  outline: none;
  padding: 15px 15px 13px 40px;
  margin-bottom: 2px;
  box-sizing: border-box;
  background-color: #290008;
  color: white;
  font-size: 12px;
}
.info-box form input[type="text"] {
  width: 100%;
}
.info-box form input[type="email"] {
  width: 100%;
}
.info-box form input[type="checkbox"] {
  float: left;
  display: inline-block;
  width: auto;
  margin: 5px 10px 5px 5px;
}
.info-box form input[type="submit"] {
  width: 100%;
  margin: 0px;
  padding-left: 15px;
  font-size: 16px;
  cursor: pointer;
}
.info-box form .term_of_use {
  float: left;
  margin: 20px 0;
}
.info-box form .term_of_use span {
  float: left;
}
.facebook_share {
  padding: 10px 30px 10px 40px;
  font-size: 11px;
  color: white;
  background-color: #3a5795;
  margin: 0 10px;
  width: 100%;
  background-image: url('../img/fb_icon.png');
  background-size: 35px;
  background-repeat: no-repeat;
  text-align: center;
}
.facebook_share:hover {
  color: white;
}
#congratulation .title {
  padding-top: 120px;
  background: #37000b url(../img/bg.png) no-repeat center top;
  background-size: cover;
  width: 100%;
  margin: 0px;
  position: absolute;
  top: 0px;
  left: 2px;
}
#congratulation .container {
  margin-top: 51px;
}
.subtitle {
  display: block;
  margin-bottom: 20px;
}
.button {
  display: inline-block;
  margin: 60px 0;
  color: white;
  text-decoration: none;
  outline: none;
  padding: 20px 40px;
  font-size: 24px;
  background-color: #8c172d !important;
  border: 0px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.button:hover {
  color: white;
}
.title:after {
  content: "";
  width: 114px;
  height: 3px;
  display: block;
  background-image: url(../img/ticket_shadow_top.png);
  margin: 0 auto;
  margin-top: -3px;
}
.coupon:before {
  content: "";
  width: 114px;
  height: 3px;
  display: inline-block;
  background-image: url(../img/ticket_shadow_bottom.png);
  display: block;
  margin: 0 auto;
  z-index: -2;
  position: relative;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5px 27px 5px 26px;
  background-repeat: no-repeat;
  background-position: top center;
}
.coupon {
  height: 220px;
  clear: both;
}
.brand {
  margin-bottom: 60px;
}
.game ul.stat {
  padding: 20px 20px 0px;
  float: left;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0px;
  background-color: rgba(0, 0, 0, 0.3);
}
.game ul.stat li {
  list-style-type: none;
  float: left;
}
.game ul.stat li p {
  font-size: 13px;
  float: left;
  margin: 3px 0;
}
.game ul.stat li .sprite {
  background-image: url(../img/icons-sprite.png);
  background-repeat: no-repeat;
  float: left;
}
.game ul.stat li .sprite.found_couples_icon {
  background-position: -5px -3px;
  background-size: 146px;
  width: 20px;
  height: 22px;
  margin: 0px 10px 0 0;
}
.game ul.stat li .sprite.game_time_icon {
  background-position: -35px -3px;
  background-size: 146px;
  width: 20px;
  height: 22px;
  margin: 0px 10px 0 0;
}
.game ul.stat li .sprite.attempt_icon {
  background-position: -61px -3px;
  background-size: 146px;
  width: 20px;
  height: 22px;
  margin: 0px 10px 0 0;
}
.game ul.stat li.game_time {
  margin: 0 68px;
}
.game ul.stat li.attempt {
  float: right;
}
.game ul.cards {
  display: block;
  float: left;
  padding: 20px 10px 10px 10px;
  background-color: rgba(0, 0, 0, 0.3);
}
.game ul.cards li {
  float: left;
  list-style-type: none;
}
.game ul.cards li img {
  width: 196px;
  padding: 2px;
}
.countdown {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  background-color: #37000b;
  opacity: 0.8;
  display: table;
}
.countdown span {
  font-weight: bold;
  font-size: 120px;
  display: table-cell;
  vertical-align: middle;
}
.score {
  padding: 10px 10px 10px 10px;
  display: inline-block;
  margin-top: 20px;
  background-color: rgba(0, 0, 0, 0.3);
}
.score .sprite {
  background-image: url(../img/icons-sprite.png);
  background-repeat: no-repeat;
  display: inline-block;
  position: absolute;
}
.score .sprite.sprite-score {
  background-position: -35px -5px;
  background-size: 146px;
  width: 20px;
  height: 20px;
  margin: 0px auto 0 auto;
}
.score span {
  padding-left: 30px;
}
.coupon img {
  position: absolute;
  margin: 0 auto;
  text-align: center;
  width: 108px;
  left: 46.8%;
  z-index: -1;
  top: 5px;
}
.active#coupon-img {
  top: 340px !important;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
.padding#coupon-img {
  top: 140px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
table {
  width: 300px;
  border: 0;
  margin: 0px auto 30px auto;
}
table tr {
  border-bottom: 2px solid #37000b;
}
table tr td {
  border: 0;
  margin-bottom: 2px;
  background-color: #290008;
}
table tr td.rank {
  background-color: #1b0005;
  font-weight: bold;
  width: 40px;
  height: 40px;
}
table tr td.name {
  padding: 0 20px;
  text-align: left;
}
table tr td.time {
  width: 75px;
  padding: 0 20px;
}
table tr td.time .sprite {
  float: left;
  background-image: url(../img/icons-sprite.png);
  background-repeat: no-repeat;
  display: inline-block;
}
table tr td.time .sprite.sprite-score {
  background-position: -35px -5px;
  background-size: 146px;
  width: 20px;
  height: 20px;
  margin: 0 10px 0 0;
}
table tr td.time span {
  float: left;
}
/* Játékszabályzat */
section#game-rules p {
  text-align: justify;
}
/* Footer */
footer {
  margin-top: 30px;
}
footer p {
  font-size: 12px;
  line-height: 20px;
}
footer p a {
  padding: 0 5px;
}
.info-box form .term_of_use {
  float: left;
  margin: 20px 0;
}
.info-box form .term_of_use span {
  float: left;
  font-size: 12px !important;
}
/* Notebook */
@media only screen and (min-width: 980px) {
  h1 {
    margin: 40px 0;
  }
  .brand {
    margin: 30px 0;
  }
  #memory ul.cards li {
    width: 150px;
    height: 150px;
  }
  #memory ul.cards li div {
    min-width: 150px;
    width: 100% !important;
    min-height: 150px;
    height: 100% !important;
    background-size: 150px;
  }
  #memory ul.cards li img {
    min-width: 146px;
    width: 146px;
    height: 146px;
  }
  #congratulation .title {
    padding-top: 20px;
  }
  #congratulation .title h1 {
    font-size: 42px;
    margin-bottom: 5px;
  }
  #congratulation .title p {
    font-size: 13px;
    margin: 0 10px;
  }
  #congratulation .coupon img {
    left: 50%;
    top: 33px;
    margin-left: -50px;
  }
  #congratulation .container {
    margin-top: 247px;
  }
  #congratulation .container .active#coupon-img {
    top: 243px !important;
  }
  #congratulation form {
    margin: 0 10px 20px 10px;
  }
  .score {
    margin-top: 23px;
  }
  .game_time {
    margin: 0 68px;
  }
}
/* Tablet */
@media only screen and (min-width: 760px) and (max-width: 980px) {
  .space {
    display: block !important;
  }
  #welcome h1 {
    margin: 40px 0;
  }
  #welcome table {
    margin-bottom: 40px;
  }
  #welcome footer {
    margin-bottom: 40px;
  }
  .score {
    margin-top: 43px;
  }
  ul.cards {
    padding-top: 10px !important;
  }
  ul.cards li {
    width: 146px;
    height: 146px;
  }
  ul.cards li div {
    min-width: 146px;
    width: 100% !important;
    min-height: 146px;
    height: 100% !important;
    background-size: 146px !important;
  }
  ul.cards li img {
    min-width: 142px;
    width: 142px !important;
    height: 142px;
  }
  .brand {
    margin: 20px 0;
  }
  .game ul.stat li.game_time {
    margin: 0 13px;
  }
  ul.stat li p {
    font-size: 12px !important;
  }
  .game ul.stat {
    padding: 10px 10px 0 !important;
  }
  #congratulation .title {
    padding-top: 20px;
  }
  #congratulation .title h1 {
    font-size: 42px;
    margin-bottom: 5px;
  }
  #congratulation .title p {
    font-size: 13px;
    margin: 0 10px;
  }
  #congratulation .coupon img {
    left: 50%;
    top: 33px;
    margin-left: -50px;
  }
  #congratulation .container {
    margin-top: 247px;
  }
  #congratulation .container .active#coupon-img {
    top: 243px !important;
  }
  #congratulation form {
    margin: 0 10px 20px 10px;
  }
}
/* Mobile */
@media only screen and (min-width: 380px) and (max-width: 760px) {
  body:before {
    display: none;
  }
  .space {
    display: block;
  }
  .score {
    margin-top: 43px;
  }
  #welcome h1 {
    margin: 40px 0;
  }
  #welcome p {
    padding: 0 10px;
  }
  #welcome table {
    width: auto;
    margin-bottom: 40px;
  }
  #welcome footer {
    margin-bottom: 40px;
  }
  #memory .brand {
    margin: 15px 0;
  }
  #memory .game {
    width: 394px;
  }
  #memory .game ul.stat {
    padding: 10px 10px 0 10px;
  }
  #memory .game ul.stat .attempt {
    display: none;
  }
  #memory .game ul.stat .game_time {
    float: right;
  }
  #memory .game ul.stat li {
    margin: 0;
  }
  #memory .game ul.stat li p {
    font-size: 11px;
  }
  #memory .game ul.cards li {
    width: 124px;
    height: 124px;
  }
  #memory .game ul.cards li div {
    min-width: 124px;
    width: 100%;
    min-height: 124px;
    height: 100%;
    background-size: 124px;
  }
  #memory .game ul.cards li img {
    min-width: 120px;
    width: 120px;
    height: 120px;
  }
  #congratulation .title {
    padding-top: 20px;
  }
  #congratulation .title h1 {
    font-size: 42px;
    margin-bottom: 5px;
  }
  #congratulation .title p {
    font-size: 13px;
    margin: 0 10px;
  }
  #congratulation .coupon img {
    left: 50%;
    top: 33px;
    margin-left: -50px;
  }
  #congratulation .container {
    margin-top: 247px;
  }
  #congratulation .container .active#coupon-img {
    top: 243px !important;
  }
  #congratulation form {
    margin: 0 10px 20px 10px;
  }
}
.space {
  display: none;
}
@media only screen and (min-width: 320px) and (max-width: 380px) {
  body:before {
    display: none;
  }
  .brand {
    margin: 15px 0;
  }
  .game {
    width: 340px;
  }
  .game ul.stat {
    padding: 10px 10px 0 10px;
  }
  .game ul.stat .attempt {
    display: none;
  }
  .game ul.stat .game_time {
    float: right;
    margin: 0px !important;
  }
  .game ul.stat li {
    margin: 0;
  }
  .game ul.stat li p {
    font-size: 11px;
  }
  #memory ul.cards {
    padding: 10px;
  }
  #memory ul.cards li {
    width: 106px;
    height: 106px;
  }
  #memory ul.cards li div {
    min-width: 106px;
    width: 100%;
    min-height: 106px;
    height: 100%;
    background-size: 106px;
  }
  #memory ul.cards li img {
    min-width: 102px;
    width: 102px;
    height: 102px;
  }
  #congratulation .title {
    padding-top: 0px;
  }
  #congratulation .title h1 {
    font-size: 42px;
    margin-bottom: 5px;
  }
  #congratulation .title p {
    font-size: 13px;
    margin: 0 10px;
  }
  #congratulation .coupon img {
    left: 50%;
    top: 33px;
    margin-left: -50px;
  }
  #congratulation .container {
    margin-top: 204px;
  }
  #congratulation .container .active#coupon-img {
    top: 191px !important;
  }
  #congratulation form {
    margin: 0 10px 20px 10px;
  }
}
@media only screen and (min-width: 0px) and (max-width: 320px) {
  body:before {
    display: none;
  }
  .brand {
    margin: 15px 0;
    width: 120px !important;
    height: auto !important;
  }
  .game {
    width: 300px;
  }
  .game ul.stat {
    padding: 10px 10px 0 10px;
  }
  .game ul.stat .attempt {
    display: none;
  }
  .game ul.stat .game_time {
    float: right;
    margin: 0px !important;
  }
  .game ul.stat li {
    margin: 0;
  }
  .game ul.stat li p {
    font-size: 11px;
  }
  #memory ul.cards li {
    width: 93px;
    height: 93px;
  }
  #memory ul.cards li div {
    min-width: 93px;
    width: 100%;
    min-height: 93px;
    height: 100%;
    background-size: 100px;
  }
  #memory ul.cards li img {
    min-width: 91px;
    width: 91px;
    height: 91px;
  }
  ul.cards {
    padding-top: 10px !important;
  }
  #congratulation .title {
    padding-top: 0px;
  }
  #congratulation .title h1 {
    font-size: 42px;
    margin-bottom: 5px;
  }
  #congratulation .title p {
    font-size: 13px;
    margin: 0 10px;
  }
  #congratulation .coupon img {
    left: 50%;
    top: 33px;
    margin-left: -50px;
  }
  #congratulation .container {
    margin-top: 204px;
  }
  #congratulation .container .active#coupon-img {
    top: 191px !important;
  }
  #congratulation form {
    margin: 0 10px 20px 10px;
  }
  .facebook_share {
    padding: 10px 10px 10px 40px;
  }
}
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@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;
  }
  .navbar {
    display: none;
  }
  .btn > .caret,
  .dropup > .btn > .caret {
    border-top-color: #000 !important;
  }
  .label {
    border: 1px solid #000;
  }
  .table {
    border-collapse: collapse !important;
  }
  .table td,
  .table th {
    background-color: #fff !important;
  }
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #ddd !important;
  }
}
