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

#ratingForm
{
    display: none;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

h1.smileysHeader
{
    font-size: 56px;

    margin-bottom: 30px;

    color: #6c6c6c;
}

.smileys
{
    margin-bottom: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    max-width: 500px;
    flex-wrap: wrap;
}

.smileys svg
{
    width: 100px;
    height: 100px;

    cursor: pointer;
    transition-duration: 300ms;

    border: 0 solid white;
    border-radius: 50px;
    margin: 10px;
}

.smileys svg.active
{
    transition-duration: 500ms;
}

/*
.smileys svg.active {
    background-color: #6f6f6f;
    border: 5px solid #6f6f6f;
}
*/


.smileys svg.active
{
    border: 0 solid;
}

.smileys svg#first.active
{
    border-color: #39b54a;
    background-color: #39b54a;
}

.smileys svg#second.active
{
    border-color: #fcee21;
    background-color: #fcee21;
}

.smileys svg#third.active
{
    border-color: #f7931e;
    background-color: #f7931e;
}

.smileys svg#fourth.active
{
    border-color: #f00;
    background-color: #f00;
}

.smileys svg.active path,
.smileys svg.active circle,
.smileys svg.active g
{
    stroke: #a4a4a4;
}

.smileys svg#first.active path,
.smileys svg#first.active circle,
.smileys svg#first.active g,
.smileys svg#second.active path,
.smileys svg#second.active circle,
.smileys svg#second.active g
{
    stroke: #595959;
}

.smileys svg#third.active path,
.smileys svg#third.active circle,
.smileys svg#third.active g,
.smileys svg#fourth.active path,
.smileys svg#fourth.active circle,
.smileys svg#fourth.active g
{
    stroke: #595959;
}

#comment {
    min-width: 100%;
    height: 150px;
    resize: none;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}



body
{
    font-family: 'PlainLight', sans-serif;

    margin: 0;

    color: #f7f7f7;
    background: #fcfcfc;
}

body a
{
    color: #f7f7f7;
}

body h1,
body h2,
body h3,
body h4
{
    font-family: 'PlainLight', sans-serif;
}

body h1
{
    font-size: 36px;
    font-weight: lighter;

    margin-bottom: 0;

    color: #2e2e2e;
}

body .container
{
    font-weight: lighter;

    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 5px;
}

body header
{
    overflow: hidden;

    background: #2e2e2e;
}

body header #navbar-brand
{
    display: block;
    float: left;

    height: 40px;
    padding-top: 7px !important;
    padding-bottom: 0 !important;
}

body header #navbar-brand img
{
    height: 24px;
    margin-top: 2px;
}

body header #slogan
{
    font-family: 'PlainLight', serif;
    font-size: 11px;

    display: block;
    float: left;

    margin: 22px 0 0 14px;

    color: #f7f7f7;
}



body article#registration table
{
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
}

body article#registration table #sad,
body article#registration table #happy
{
    width: 100%;

    cursor: pointer;
}

body article#registration table #sad.selected,
body article#registration table #happy.selected
{
    background: rgba(0, 0, 0, .25);
}

body article#registration table #sad img,
body article#registration table #happy img
{
    width: 80%;
    margin: 15px 10%;

    object-fit: contain;
}

body article#registration table #comment
{
    font-family: 'PlainLight', sans-serif;
    font-size: 21px;
    font-weight: lighter;

    display: block;

    width: 100%;
    max-width: 400px;
    height: 70px;
    margin: 0 auto;
    margin-top: 15px;

    background: rgba(255, 255, 255, .85);
    background: #edeaeb;
}

select:focus,
input[type=text]:focus,
textarea:focus
{
    border: 1px solid rgba(231, 65, 66, 3)!important;
    outline: none;
    box-shadow: 0 0 3px rgba(231, 65, 66, 5)!important;
}

#submit:focus
{
    outline: none;
}

#submit:active
{
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    min-width: 100%;
  }
  
  #submit
  {
    min-width: 100%;
    font-family: 'PlainLight', sans-serif;
    font-size: 28px;
    line-height: 1em;

    margin-top: 20px;
    /* padding: 7px 40px 3px; */
    padding: 2px 35px;

    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    color: #f7f7f7;
    border: 5px solid #e74142;
    background: #e74142;
}

#submit:hover
{
    color: #e74142;
    background-color: white;
}


@font-face {
    font-family: 'PlainLight';
    src: url("../fonts/PlainLight-Regular.eot");
    src: url("../fonts/PlainLight-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/PlainLight-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal; }
  
  @font-face {
    font-family: 'PlainLight';
    src: url("../fonts/PlainLight-Italic.eot");
    src: url("../fonts/PlainLight-Italic.eot?#iefix") format("embedded-opentype"), url("../fonts/PlainLight-Italic.woff") format("woff");
    font-weight: normal;
    font-style: italic; }
  
  @font-face {
    font-family: 'PlainLight';
    src: url("../fonts/PlainBold-Regular.eot");
    src: url("../fonts/PlainBold-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/PlainLight-Regular.woff") format("woff");
    font-weight: bold;
    font-style: normal; }
  
  @font-face {
    font-family: 'PlainLight';
    src: url("../fonts/PlainBold-Italic.eot");
    src: url("../fonts/PlainBold-Italic.eot?#iefix") format("embedded-opentype"), url("../fonts/PlainLight-Italic.woff") format("woff");
    font-weight: bold;
    font-style: italic; }
  


/* Spinner */
.overlay
{
    position: absolute;

    width: 100%;
    height: 100%;

    transition-duration: 500ms;

    opacity: 0;
    background: rgba(255, 255, 255, .85);
}

.spinnerDiv
{
    position: absolute;

    height: 55px;
    margin-top: 25%;
    margin-left: 50%;
}

.sk-folding-cube
{
    position: relative;

    width: 40px;
    height: 40px;
    margin: 20px auto;

    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.sk-folding-cube .sk-cube
{
    position: relative;

    float: left;

    width: 50%;
    height: 50%;

    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.sk-folding-cube .sk-cube:before
{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    content: '';
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
    animation: sk-foldCubeAngle 2.4s infinite linear both;

    background-color: #e74142;
}
.sk-folding-cube .sk-cube2
{
    -webkit-transform: scale(1.1) rotateZ(90deg);
    transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3
{
    -webkit-transform: scale(1.1) rotateZ(180deg);
    transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4
{
    -webkit-transform: scale(1.1) rotateZ(270deg);
    transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before
{
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}
.sk-folding-cube .sk-cube3:before
{
    -webkit-animation-delay: .6s;
    animation-delay: .6s;
}
.sk-folding-cube .sk-cube4:before
{
    -webkit-animation-delay: .9s;
    animation-delay: .9s;
}
@-webkit-keyframes sk-foldCubeAngle
{
    0%,
    10%
    {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);

        opacity: 0;
    } 25%,
      75%
      {
          -webkit-transform: perspective(140px) rotateX(0deg);
          transform: perspective(140px) rotateX(0deg);

          opacity: 1;
      } 90%,
        100%
        {
            -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);

            opacity: 0;
        }
}

@keyframes sk-foldCubeAngle
{
    0%,
    10%
    {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);

        opacity: 0;
    } 25%,
      75%
      {
          -webkit-transform: perspective(140px) rotateX(0deg);
          transform: perspective(140px) rotateX(0deg);

          opacity: 1;
      } 90%,
        100%
        {
            -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);

            opacity: 0;
        }
}
