@font-face {
  font-family: 'PT Sans';
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/bold/pt_sans-web-bold-webfont.eot);
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/bold/pt_sans-web-bold-webfont.eot?#iefix) format("embedded-opentype"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/bold/pt_sans-web-bold-webfont.woff2) format("woff2"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/bold/pt_sans-web-bold-webfont.woff) format("woff"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/bold/pt_sans-web-bold-webfont.ttf) format("truetype");
  font-weight: 700;
  font-style: normal; }

@font-face {
  font-family: 'PT Sans';
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/regular/pt_sans-web-regular-webfont.eot);
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/regular/pt_sans-web-regular-webfont.eot?#iefix) format("embedded-opentype"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/regular/pt_sans-web-regular-webfont.woff2) format("woff2"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/regular/pt_sans-web-regular-webfont.woff) format("woff"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_sans/regular/pt_sans-web-regular-webfont.ttf) format("truetype");
  font-weight: 400;
  font-style: normal; }

@font-face {
  font-family: 'PT Serif';
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/bold/pt_serif-web-bold-webfont.eot);
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/bold/pt_serif-web-bold-webfont.eot?#iefix) format("embedded-opentype"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/bold/pt_serif-web-bold-webfont.woff2) format("woff2"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/bold/pt_serif-web-bold-webfont.woff) format("woff"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/bold/pt_serif-web-bold-webfont.ttf) format("truetype");
  font-weight: 700;
  font-style: normal; }

@font-face {
  font-family: 'PT Serif';
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/italic/pt_serif-web-italic-webfont.eot);
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/italic/pt_serif-web-italic-webfont.eot?#iefix) format("embedded-opentype"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/italic/pt_serif-web-italic-webfont.woff2) format("woff2"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/italic/pt_serif-web-italic-webfont.woff) format("woff"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/italic/pt_serif-web-italic-webfont.ttf) format("truetype");
  font-weight: 400;
  font-style: italic; }

@font-face {
  font-family: 'PT Serif';
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/regular/pt_serif-web-regular-webfont.eot);
  src: url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/regular/pt_serif-web-regular-webfont.eot?#iefix) format("embedded-opentype"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/regular/pt_serif-web-regular-webfont.woff2) format("woff2"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/regular/pt_serif-web-regular-webfont.woff) format("woff"), url(//stcdn1.luxnet.ua/zaxid/assets/fonts/pt_serif/regular/pt_serif-web-regular-webfont.ttf) format("truetype");
  font-weight: 400;
  font-style: normal; }

@keyframes bounce {
  0% {
    transform: translateX(0); }
  10% {
    transform: translateX(10px); }
  20% {
    transform: translateX(-10px); }
  30% {
    transform: translateX(7px); }
  40% {
    transform: translateX(-7px); }
  50% {
    transform: translateX(5px); }
  60% {
    transform: translateX(-5px); }
  70% {
    transform: translateX(3px); }
  80% {
    transform: translateX(-3px); }
  90% {
    transform: translateX(1px); }
  100% {
    transform: translateX(0); } }

* {
  transition: all .3s ease-in-out; }
  *:focus {
    outline: none; }

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0; }

.test-wrapper {
  height: 400px;
  text-align: center;
  border: 3px solid #999999; }
  .test-wrapper.success {
    border-color: #75BB50; }
  .test-wrapper.error {
    border-color: #ff6666; }
  .test-wrapper .start-test img {
    display: block;
    margin: 30px auto 0;
    max-width: 80%;
    max-height: 80px; }
  .test-wrapper .start-test .text {
    margin: 30px auto 0;
    text-align: center;
    width: 80%;
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 400; }
  .test-wrapper .start-test .start-button {
    display: inline-block;
    margin: 30px 0;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff6666;
    background-color: #ffffff;
    border: 2px solid #ff6666;
    cursor: pointer; }
    .test-wrapper .start-test .start-button:hover, .test-wrapper .start-test .start-button:focus {
      color: #ffffff;
      background-color: #ff6666; }
  .test-wrapper .title {
    display: inline-block;
    margin: 30px 0;
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px; }
  .test-wrapper .smiles {
    margin-bottom: 30px; }
    .test-wrapper .smiles img {
      max-width: 80%;
      max-height: 60px; }
  .test-wrapper .answer-field {
    display: block;
    margin: auto;
    padding: 0 10px;
    width: 60%;
    height: 40px;
    border: 2px solid #999999;
    font-family: 'PT Serif', serif;
    font-size: 18px;
    font-style: italic;
    color: #999999;
    transition: none; }
    .test-wrapper .answer-field:focus {
      border-color: #222222; }
    .test-wrapper .answer-field.wrong {
      border-color: #ff6666;
      transition: none;
      animation: bounce .3s linear; }
  .test-wrapper .button {
    display: inline-block;
    margin: 30px 0;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff6666;
    background-color: #ffffff;
    border: 2px solid #ff6666;
    cursor: pointer; }
    .test-wrapper .button:hover, .test-wrapper .button:focus {
      color: #ffffff;
      background-color: #ff6666; }
  .test-wrapper .attempts {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: #999999; }
  .test-wrapper .skip {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: #999999;
    text-decoration: none; }
    .test-wrapper .skip:hover, .test-wrapper .skip:focus {
      color: #ff6666; }
  .test-wrapper .message {
    margin: 80px auto 0;
    width: 80%;
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center; }
    .test-wrapper .message .smiles {
      margin-top: 40px; }
  .test-wrapper .final-text {
    margin-top: -10px;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    font-weight: 400; }
  .test-wrapper .result-img {
    display: block;
    margin: 20px auto; }
  .test-wrapper .photo-sharing {
    display: block;
    margin: auto;
    list-style: none;
    padding: 0; }
    .test-wrapper .photo-sharing .fb, .test-wrapper .photo-sharing .vk, .test-wrapper .photo-sharing .tw {
      display: inline-block;
      margin: 10px 10px 20px;
      width: 32px;
      height: 32px;
      cursor: pointer; }
      .test-wrapper .photo-sharing .fb:hover, .test-wrapper .photo-sharing .vk:hover, .test-wrapper .photo-sharing .tw:hover {
        opacity: .6; }
    .test-wrapper .photo-sharing .fb {
      background-image: url("../quiz_img/fb.png"); }
    .test-wrapper .photo-sharing .tw {
      background-image: url("../quiz_img/tw.png"); }
    .test-wrapper .photo-sharing .vk {
      background-image: url("../quiz_img/vk.png"); }
  @media screen and (max-width: 320px) {
    .test-wrapper .start-test .text {
      font-size: 18px; }
    .test-wrapper .title {
      font-size: 18px; }
    .test-wrapper .message {
      font-size: 18px; } }
