.flash-messages p {
    padding: 15px;
}

.main-menu {
    text-align: center;
}

.center-block {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    display: block;
}

section#login label, section#register label, section#corpus-form label{
    /*font-size: 1em;*/
}

section#login .password-group, section#register .password-group{
    margin-top: 15px;
}

section#login  .remember-me {
    font-size: 1em;
    margin-top: 30px;
}

section#login .buttons-row, section#register .buttons-row,  section#corpus-form .buttons-row, section#password-reset-request .buttons-row , section#password-reset .buttons-row, section#preferences .buttons-row{
    text-align: center;
    margin-top: 50px;
}
section#login .buttons-row {
    margin-top: 35px;
}


section#login .buttons-row #register-button, section#register .buttons-row #login-button {
    margin-left: 50px
}

section#login .password-reset{
    margin-top: 15px;
}

.buttons-row {
    text-align: center;
}

section#preferences .password-reset{
    margin-top: 25px;
}

section#preferences .attach-corpus-xml{
    margin-top: 25px;
}

section section{
    padding: 20px 0;
}


section#instruction, #introduction, #publications, #quoting, #tools ul{
    font-size: 18px;
}

section#instruction, #introduction, #publications, #quoting, #tools h3{
    margin-top: 0;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
  .li-mobile {
    display: none !important;
  }
  .dropdown-custom {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .li-mobile {
    display: block !important;
  }
  .dropdown-custom {
    display: none !important;
  }
}

label.mdl-textfield__label{
    margin-bottom: 0;
}

.fullwidth {
    width: 100%;
}

.spinner {
  width: 40px;
  height: 40px;
  background-color: #333;

  margin: 100px auto;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes sk-rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
  } 50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
  } 100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

section#preferences .star-primary{
    margin-bottom: 45px;
}

.morfeusz-option{
    margin-right: 25px;
}

.morfeusz-label{
    color: #3f51b5; font-size: 12px; margin-bottom: 4px;
}