@font-face {
  font-family: Baroqe;
  src: url("../fonts/BaroqueScript.ttf");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: Allura;
  src: url("../fonts/Allura.ttf");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: Lato-Italic;
  src: url("../fonts/Lato/Lato-Italic.ttf");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: Lato-Light;
  src: url("../fonts/Lato/Lato-Light.ttf");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: Lato-LightItalic;
  src: url("../fonts/Lato/Lato-LightItalic.ttf");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: Lato-Heavy;
  src: url("../fonts/Lato/Lato-Heavy.ttf");
  font-weight: normal;
  font-style: normal; }
.memg-block {
  position: absolute;
  left: 50%;
  padding: 10px;
  color: #3b3b3b;
  background-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(293deg, rgba(255, 255, 255, 0.5), rgba(152, 0, 255, 0.2), rgba(255, 255, 255, 0.5), rgba(228, 47, 165, 0.2), rgba(255, 255, 255, 0.5), rgba(21, 234, 179, 0.2), rgba(255, 255, 255, 0.5), rgba(232, 58, 58, 0.2));
  background-size: 1600% 1600%;
  /* Set animation */
  -webkit-animation: memg-block-anim 36s ease infinite;
  -moz-animation: memg-block-anim 36s ease infinite;
  -o-animation: memg-block-anim 36s ease infinite;
  animation: memg-block-anim 36s ease infinite;
  border-bottom-color: #ccc;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  /*@media screen and (min-width: $mq-smartphone-portrait ){
      width:$mq-smartphone-portrait;
      margin:-125px 0 0 (-$mq-smartphone-portrait / 2);
  }*/
  /*@each $size in $size-collection {
      @media screen and (min-width: $size ){
          width: $size;
          margin:-125px 0 0 (-$size / 2);
      }
  }*/
  /*@for $i from 1 through 6 {
      @media screen and (min-width: $i * 400px) { 
        width: $i * 300px;
        margin:-125px 0 0 (-150px * $i);
      }
    }*/ }
@-webkit-keyframes memg-block-anim {
  0% {
    background-position: 0% 50%; }
  50% {
    background-position: 100% 50%; }
  100% {
    background-position: 0% 50%; } }
@-moz-keyframes memg-block-anim {
  0% {
    background-position: 0% 50%; }
  50% {
    background-position: 100% 50%; }
  100% {
    background-position: 0% 50%; } }
@-o-keyframes memg-block-anim {
  0% {
    background-position: 0% 50%; }
  50% {
    background-position: 100% 50%; }
  100% {
    background-position: 0% 50%; } }
@keyframes memg-block-anim {
  0% {
    background-position: 0% 50%; }
  50% {
    background-position: 100% 50%; }
  100% {
    background-position: 0% 50%; } }
  .memg-block.front {
    top: 50%; }
    @media screen and (min-width: 320px) {
      .memg-block.front {
        width: 270px;
        height: 350px;
        margin: -185px 0 0 -145px; } }
    @media screen and (min-width: 480px) {
      .memg-block.front {
        width: 278px;
        height: 375px;
        margin: -197.5px 0 0 -149px; } }
    @media screen and (min-width: 768px) {
      .memg-block.front {
        width: 302px;
        height: 400px;
        margin: -210px 0 0 -161px; } }
    @media screen and (min-width: 1024px) {
      .memg-block.front {
        width: 342px;
        height: 425px;
        margin: -222.5px 0 0 -181px; } }
    @media screen and (min-width: 1224px) {
      .memg-block.front {
        width: 398px;
        height: 450px;
        margin: -235px 0 0 -209px; } }
    @media screen and (min-width: 1424px) {
      .memg-block.front {
        width: 470px;
        height: 475px;
        margin: -247.5px 0 0 -245px; } }
    @media screen and (min-width: 1624px) {
      .memg-block.front {
        width: 558px;
        height: 500px;
        margin: -260px 0 0 -289px; } }
    @media screen and (min-width: 1824px) {
      .memg-block.front {
        width: 662px;
        height: 525px;
        margin: -272.5px 0 0 -341px; } }
    .memg-block.front > div {
      width: 100%;
      margin-bottom: 2px; }
      .memg-block.front > div.head {
        height: calc( 55% - 40px );
        background: url(../images/foo/bg-03.png) repeat;
        background-color: white; }
        .memg-block.front > div.head .name {
          height: calc( 100% - 76px );
          text-align: center;
          font-family: Allura;
          font-size: calc(3vw + 30px);
          position: relative; }
          .memg-block.front > div.head .name span {
            display: block;
            position: absolute;
            bottom: 15%;
            left: 0;
            width: 100%; }
        .memg-block.front > div.head .sepp {
          height: 16px;
          width: 100%; }
          .memg-block.front > div.head .sepp:before {
            content: "";
            background: url("../images/foo/sepp_02.png") no-repeat;
            height: 16px;
            width: 200px;
            margin: 0 auto;
            display: block; }
        .memg-block.front > div.head .rules {
          height: 60px;
          width: 100%;
          line-height: 50px;
          text-align: center;
          font-size: calc( 0.2vw + 11px );
          font-family: Lato-LightItalic; }
          .memg-block.front > div.head .rules span {
            width: 80%;
            line-height: normal;
            margin: 0 auto;
            display: inline-block;
            vertical-align: middle; }
      .memg-block.front > div.task {
        height: 40px;
        font-size: calc(0.3vw + 14px);
        line-height: 40px;
        text-align: center;
        text-transform: uppercase;
        font-family: Lato-Light;
        background: url(../images/foo/bg-03.png) repeat;
        background-color: rgba(255, 255, 255, 0.6); }
      .memg-block.front > div.counter {
        height: 20%;
        background: url(../images/foo/bg-03.png) repeat;
        background-color: white; }
        .memg-block.front > div.counter > div {
          position: relative; }
        .memg-block.front > div.counter .btn {
          height: 100%;
          width: 35%; }
          .memg-block.front > div.counter .btn.left button {
            z-index: 1;
            right: 0;
            padding: 0;
            border-top-left-radius: calc( 5% + 1vw );
            -moz-border-top-left-radius: calc( 5% + 1vw );
            -webkit-border-top-left-radius: calc( 5% + 1vw );
            border-bottom-left-radius: calc( 5% + 1vw );
            -moz-border-bottom-left-radius: calc( 5% + 1vw );
            -webkit-border-bottom-left-radius: calc( 5% + 1vw ); }
          .memg-block.front > div.counter .btn.right button {
            left: 0;
            border-top-right-radius: calc( 5% + 1vw );
            -moz-border-top-right-radius: calc( 5% + 1vw );
            -webkit-border-top-right-radius: calc( 5% + 1vw );
            border-bottom-right-radius: calc( 5% + 1vw );
            -moz-border-bottom-right-radius: calc( 5% + 1vw );
            -webkit-border-bottom-right-radius: calc( 5% + 1vw ); }
          .memg-block.front > div.counter .btn button {
            position: absolute;
            bottom: calc( 50% - ( ( 45px + 1.4vw ) / 2 ));
            border: 1px solid #ababab;
            height: calc( 45px + 1.4vw );
            width: calc( 55px + 1vw );
            font-size: 24px;
            cursor: pointer;
            background-color: #f4f4f4; }
            .memg-block.front > div.counter .btn button:hover {
              background-color: #eaeaea; }
        .memg-block.front > div.counter .btn, .memg-block.front > div.counter .number {
          float: left; }
          .memg-block.front > div.counter .btn input, .memg-block.front > div.counter .number input {
            position: absolute;
            bottom: calc( 50% - ( ( 45px + 1.4vw ) / 2 ));
            width: 100%;
            height: calc( ( 45px + 1.4vw ) - 2px );
            margin: 0;
            padding: 0;
            text-align: center;
            border-left: none;
            border-right: none;
            border-top: 1px solid #ababab;
            border-bottom: 1px solid #ababab;
            background: #fcfcfc;
            font-family: Lato-Light;
            font-size: calc( 20px + 1vw ); }
        .memg-block.front > div.counter .number {
          width: 30%;
          height: 100%; }
      .memg-block.front > div.start {
        height: calc( 25% - 6px ); }
        .memg-block.front > div.start input {
          margin: 0 auto;
          width: 100%;
          height: 100%;
          cursor: pointer;
          display: block;
          border: 0;
          font-family: Lato-Light;
          font-family: Lato-Light;
          font-size: calc(0.9vw + 16px);
          text-transform: uppercase;
          background-color: rgba(255, 255, 255, 0.8); }
          .memg-block.front > div.start input:hover {
            background-color: rgba(170, 255, 156, 0.5); }
  .memg-block.end {
    top: 0; }
    @media screen and (min-width: 320px) {
      .memg-block.end {
        width: calc( 100% - 50px );
        margin: calc( 55px + 0px ) 0 0 calc( ( ( 100% - 50px ) / ( 0 - 2 ) ) - 10px  ); } }
    @media screen and (min-width: 480px) {
      .memg-block.end {
        width: calc( 100% - 100px );
        margin: calc( 65px + 0px ) 0 0 calc( ( ( 100% - 100px ) / ( 0 - 2 ) ) - 10px  ); } }
    @media screen and (min-width: 768px) {
      .memg-block.end {
        width: calc( 100% - 150px );
        margin: calc( 75px + 0px ) 0 0 calc( ( ( 100% - 150px ) / ( 0 - 2 ) ) - 10px  ); } }
    @media screen and (min-width: 1024px) {
      .memg-block.end {
        width: calc( 100% - 200px );
        margin: calc( 85px + 0px ) 0 0 calc( ( ( 100% - 200px ) / ( 0 - 2 ) ) - 10px  ); } }
    @media screen and (min-width: 1224px) {
      .memg-block.end {
        width: calc( 100% - 250px );
        margin: calc( 95px + 0px ) 0 0 calc( ( ( 100% - 250px ) / ( 0 - 2 ) ) - 10px  ); } }
    @media screen and (min-width: 1424px) {
      .memg-block.end {
        width: calc( 100% - 300px );
        margin: calc( 105px + 0px ) 0 0 calc( ( ( 100% - 300px ) / ( 0 - 2 ) ) - 10px  ); } }
    @media screen and (min-width: 1624px) {
      .memg-block.end {
        width: calc( 100% - 350px );
        margin: calc( 115px + 0px ) 0 0 calc( ( ( 100% - 350px ) / ( 0 - 2 ) ) - 10px  ); } }
    @media screen and (min-width: 1824px) {
      .memg-block.end {
        width: calc( 100% - 400px );
        margin: calc( 125px + 0px ) 0 0 calc( ( ( 100% - 400px ) / ( 0 - 2 ) ) - 10px  ); } }
    .memg-block.end ul {
      height: 100%;
      width: 100%; }
      .memg-block.end ul.grid li {
        float: left;
        background-color: rgba(255, 255, 255, 0.8); }
        .memg-block.end ul.grid li div {
          cursor: pointer;
          background: url(../images/foo/bg-15.png) repeat;
          border: 4px solid #fff;
          width: calc( 100% - (4px * 2 ));
          height: calc( 100% - (4px * 2 )); }
          .memg-block.end ul.grid li div img {
            display: none;
            width: 100%;
            height: 100%;
            background-position: center center;
            background-size: cover; }
        .memg-block.end ul.grid li.visible div img {
          display: block; }
        .memg-block.end ul.grid li.solved div {
          cursor: default; }
          .memg-block.end ul.grid li.solved div img {
            display: none; }
      @media screen and (min-width: 320px) {
        .memg-block.end ul.cards-6 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-7 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-8 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-9 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-10 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-11 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-12 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-13 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-14 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-15 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-16 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-17 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; }
        .memg-block.end ul.cards-18 li {
          width: calc( ( 100% / 2 ) - 4px );
          height: calc( ( 100px - 4px) + 0px );
          margin: 2px; } }
      @media screen and (min-width: 480px) {
        .memg-block.end ul.cards-6 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-7 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-8 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-9 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-10 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-11 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-12 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-13 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-14 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-15 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-16 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-17 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; }
        .memg-block.end ul.cards-18 li {
          width: calc( ( 100% / 3 ) - 4px );
          height: calc( ( 100px - 4px) + 1px );
          margin: 2px; } }
      @media screen and (min-width: 768px) {
        .memg-block.end ul.cards-6 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-7 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-8 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-9 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-10 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-11 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-12 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-13 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-14 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-15 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-16 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-17 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; }
        .memg-block.end ul.cards-18 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 4px );
          margin: 2px; } }
      @media screen and (min-width: 1024px) {
        .memg-block.end ul.cards-6 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-7 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-8 li {
          width: calc( ( 100% / 4 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-9 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-10 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-11 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-12 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-13 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-14 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-15 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-16 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-17 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; }
        .memg-block.end ul.cards-18 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 9px );
          margin: 2px; } }
      @media screen and (min-width: 1224px) {
        .memg-block.end ul.cards-6 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-7 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-8 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-9 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-10 li {
          width: calc( ( 100% / 5 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-11 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-12 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-13 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-14 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-15 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-16 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-17 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; }
        .memg-block.end ul.cards-18 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 16px );
          margin: 2px; } }
      @media screen and (min-width: 1424px) {
        .memg-block.end ul.cards-6 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-7 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-8 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-9 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-10 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-11 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-12 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-13 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-14 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-15 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-16 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-17 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; }
        .memg-block.end ul.cards-18 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 25px );
          margin: 2px; } }
      @media screen and (min-width: 1624px) {
        .memg-block.end ul.cards-6 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-7 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-8 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-9 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-10 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-11 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-12 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-13 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-14 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-15 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-16 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-17 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; }
        .memg-block.end ul.cards-18 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 36px );
          margin: 2px; } }
      @media screen and (min-width: 1824px) {
        .memg-block.end ul.cards-6 li {
          width: calc( ( 100% / 6 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-7 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-8 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-9 li {
          width: calc( ( 100% / 9 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-10 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-11 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-12 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-13 li {
          width: calc( ( 100% / 9 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-14 li {
          width: calc( ( 100% / 7 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-15 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-16 li {
          width: calc( ( 100% / 8 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-17 li {
          width: calc( ( 100% / 9 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; }
        .memg-block.end ul.cards-18 li {
          width: calc( ( 100% / 9 ) - 4px );
          height: calc( ( 100px - 4px) + 49px );
          margin: 2px; } }
    .memg-block.end .status br.clear {
      line-height: 0;
      font-size: 0;
      clear: both; }
    .memg-block.end .status p {
      float: left;
      width: calc( ( 100% / 3 ) - 4px );
      margin: 2px;
      display: block;
      padding: calc(3px + 0.2vw) 0;
      background-color: white;
      text-align: center;
      text-transform: uppercase;
      font-size: 10px;
      font-weight: bold; }
  .memg-block.result {
    font-family: Lato-Light;
    top: 50%; }
    @media screen and (min-width: 320px) {
      .memg-block.result {
        width: 270px;
        height: 250px;
        margin: -135px 0 0 -145px;
        font-size: 20px; } }
    @media screen and (min-width: 480px) {
      .memg-block.result {
        width: 278px;
        height: 255px;
        margin: -137.5px 0 0 -149px;
        font-size: 23px; } }
    @media screen and (min-width: 768px) {
      .memg-block.result {
        width: 302px;
        height: 260px;
        margin: -140px 0 0 -161px;
        font-size: 26px; } }
    @media screen and (min-width: 1024px) {
      .memg-block.result {
        width: 342px;
        height: 265px;
        margin: -142.5px 0 0 -181px;
        font-size: 29px; } }
    @media screen and (min-width: 1224px) {
      .memg-block.result {
        width: 398px;
        height: 270px;
        margin: -145px 0 0 -209px;
        font-size: 32px; } }
    @media screen and (min-width: 1424px) {
      .memg-block.result {
        width: 470px;
        height: 275px;
        margin: -147.5px 0 0 -245px;
        font-size: 35px; } }
    @media screen and (min-width: 1624px) {
      .memg-block.result {
        width: 558px;
        height: 280px;
        margin: -150px 0 0 -289px;
        font-size: 38px; } }
    @media screen and (min-width: 1824px) {
      .memg-block.result {
        width: 662px;
        height: 285px;
        margin: -152.5px 0 0 -341px;
        font-size: 41px; } }
    .memg-block.result div:first-child {
      background: url(../images/foo/bg-03.png) repeat;
      background-color: white;
      margin-bottom: 2px;
      display: flex;
      justify-content: center;
      align-content: center;
      flex-direction: column;
      height: calc( 100% - 102px ); }
    .memg-block.result div p {
      display: block;
      padding: 0 10%;
      text-align: center; }
      .memg-block.result div p span {
        font-family: Lato-Heavy; }
        .memg-block.result div p span.gratz {
          font-size: calc( 18px + 0.5vw );
          padding-bottom: 3%;
          display: block; }
    .memg-block.result .btn-again {
      height: 100px;
      width: 100%; }
      .memg-block.result .btn-again a {
        color: black;
        width: 100%;
        height: 100%;
        cursor: pointer;
        display: block;
        border: 0;
        text-align: center;
        text-decoration: none;
        line-height: 100px;
        font-family: Lato-Light;
        font-size: calc(0.9vw + 20px);
        text-transform: uppercase;
        background-color: rgba(255, 255, 255, 0.8); }
        .memg-block.result .btn-again a:hover {
          background-color: rgba(170, 255, 156, 0.5); }

/*
form#memory {
  strong {
    margin: 0 0 2em 0;
    display: block;
    font-size: 2em;
    text-align: center;
  }
  width: 400px;
  text-align: left;
  line-height: 1.4em;
  fieldset {
    border: none;
  }
  label {
    display: block;
    float: left;
    margin: 0 1em 0 0;
  }
  input[type=text] {
    border: none;
    background: transparent;
  }
  #iSlider {
    margin: 10px 0;
  }
  .center {
    text-align: center;
  }
  input[type=submit] {
    background: #f8f8f8;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px 0 20px 0;
    text-transform: uppercase;
    padding: 4px 6px;
    &:hover, &:active, &:focus {
      background: #fdf5ce;
      border-color: #fbcb09;
    }
  }
  small {
    display: block;
  }
}

div {
  &#memory {
    position: relative;
    margin: 10px auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    ul {
      list-style-type: none;
      line-height: 0;
      clear: both;
    }
    li {
      border: 1px solid #ccc;
      float: left;
      margin: 5px;
      -webkit-box-shadow: 1px 1px 2px 1px #ccc;
      -moz-box-shadow: 1px 1px 2px 1px #ccc;
      box-shadow: 1px 1px 2px 1px #ccc;
      cursor: pointer;
      &.solved {
        cursor: default;
      }
      &:hover {
        margin: 6px 4px 4px 6px;
        -webkit-box-shadow: 0px 0px 1px 0px #ccc;
        -moz-box-shadow: 0px 0px 1px 0px #ccc;
        box-shadow: 0px 0px 1px 0px #ccc;
      }
    }
    div {
      background: #f8f8f8 url('bg-memory.png');
      border: 3px solid #fff;
      width: 90px;
      height: 90px;
    }
    img {
      display: none;
    }
    p {
      float: left;
      width: 33%;
      margin: 10px 0;
    }
  }
  &#solved {
    strong {
      font-size: 3em;
    }
    p {
      margin: 1em 0;
    }
  }
}

br.clear {
  line-height: 0;
  font-size: 0;
  clear: both;
}*/

/*# sourceMappingURL=style-memory.game.css.map */
