
html, body,
p, li, div, a {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ol {
    list-style-position: inside;
}


body {
    /*
    background: url(/ankieta/images/bg-yellow.jpg) no-repeat top center fixed;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
    */
    font-size: 15px;
    color: #ccc;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: #f6f6f6;
}

main {
    flex: 1 0 auto;
}

.hidden {
    display: none;
}

.page-content {
    min-height:     400px;
    padding-bottom: 20px;
    margin: 12px auto 12px;
    background: #f6f6f6;
    z-index: 100;
}

header {
    z-index: 123;
}

header:after{
    content: " ";
    display: block;
    width: 100%;
    height: 5px;
    background: #FFB300 !important
}

nav {
    box-shadow: 0px 2px  5px 0px rgba(0, 0, 0, 0.08),
                0px 2px 10px 0px rgba(0, 0, 0, 0.08);;
}

nav ul a {
    display: inline;
}

.nav-wrapper {
    margin: 0 auto;
}

.page-content,
.nav-wrapper {
    width: 80%;
    min-width: 190px;
    max-width: 1280px;
}

.nav-wrapper a {
    margin: 6px auto 0;
}

.nav-wrapper a img {
    text-shadow: 0 2px 5px rgba(20,20,20,0.7);
}

li.section {
    padding: 0;
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.04), 0px 2px 6px 0px rgba(0, 0, 0, 0.04);
}

label:hover {
    color: #ccc;
}

input[type="radio"]:checked + label {
    color: #ff6f00;
}

input[type="radio"]:checked + label:after {
    border-radius: 50%;
    border: 2px solid #ff6f00;
    background-color: #ff6f00;
}

h2 {
    font-size: 2.1em;
    text-align: center;
}

h3 {
    font-size: 1em;
    text-transform: uppercase;
    color: #444;
}

h4 {
    font-size: 1em;
    color: #555;
}
.row {
    margin-bottom: 5%;
}

[type="radio"]:not(:checked) + label, [type="radio"]:checked + label {
    font-size: 1em;
}

.btn-reset {
    color: #aeaeae;
}

.btn-reset:hover {
    background: #f1f1f1;
    color: #666;
}

.btn-reset:hover i {
    -webkit-animation: rotation 1s;
    animation: rotation 1s;
    transform: rotate(0deg);
}

.btn-send:hover i {
    -webkit-animation: shake 0.75s;
    -webkit-animation-iteration-count: infinite;
    animation: shake 0.75s;
    animation-iteration-count: infinite;
}

button:focus {
    background: #ffc107;
}

.row button {
    margin: 0 0.25em;
}

.question {
    padding-left: 0.5rem;
}

.answer {
    padding-left: 35px;
}

.question .answer:nth-of-type(1) {
    margin-top: 15px;
}

.answer input[type="text"] {
    margin: 0.75rem;
    width: 75%;
    color: #9e9e9e;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.answer label i {
    margin-left: 0.5rem;
}
.notes {
    text-align: center;
    opacity: 0;
    height: 0;
    overflow: hidden;
    -webkit-animation: fadeOut 1.5s;
    animation: fadeOut 1.5s;
}

.answered .notes {
    height: auto;
    opacity: 1;
    -webkit-animation: fadeIn 1.5s;
    animation: fadeIn 1.5s;
}

input[type="text"]:focus {
    color: #888;
    border-bottom: 1px solid #ff8f00;
    box-shadow: 0px 1px 0px 0px #ff8f00; /* amber-darken-4 */
}

.answered .notes i{
    color: #ff6f00 ;
}

.nextPage {
    -webkit-animation: fadeOut 1s both ease-in;
    animation: fadeOut 1s both ease-in;
}

.collection {
    padding: 0;
}

.collection-header {
    padding: 5px 25px;
}


.collection-header h3,
.collection-item h3 {
    display: block;
    line-height: 1rem;
}

.collection-header h4,
.collection-item h4 {
    display: inline;
    line-height: 1.67rem;
}

.collection.with-header .collection-item {
    padding: 20px 25px;
}

ol.list-no-numbers {
    list-style: none;
}

.pin-top, .pin-bottom {
 /*   margin-top: 150px; */
}

@-webkit-keyframes shake {
    0% { -webkit-transform: translate(2px, 1px) rotate(0deg); }
    10% { -webkit-transform: translate(-1px, -2px) rotate(-5deg); }
    20% { -webkit-transform: translate(-3px, 0px) rotate(5deg); }
    30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
    40% { -webkit-transform: translate(1px, -1px) rotate(5deg); }
    50% { -webkit-transform: translate(-1px, 2px) rotate(-5deg); }
    60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
    70% { -webkit-transform: translate(2px, 1px) rotate(-5deg); }
    80% { -webkit-transform: translate(-1px, -1px) rotate(5deg); }
    90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
    100% { -webkit-transform: translate(1px, -2px) rotate(-5deg); }
}

@keyframes shake {
    0% { transform: translate(2px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-5deg); }
    20% { transform: translate(-3px, 0px) rotate(5deg); }
    30% { transform: translate(0px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(5deg); }
    50% { transform: translate(-1px, 2px) rotate(-5deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(2px, 1px) rotate(-5deg); }
    80% { transform: translate(-1px, -1px) rotate(5deg); }
    90% { transform: translate(2px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-5deg); }
}

@-webkit-keyframes rotation {
    from { transform: rotate(0deg);}
      to { transform: rotate(360deg);}
}

@keyframes rotation {
    from { transform: rotate(0deg);}
      to { transform: rotate(360deg);}
}
@-webkit-keyframes fadeIn {
    from { opacity: 0; height: 0;}
      to { opacity: 1; height: auto;}
}

@keyframes fadeIn {
    from { opacity: 0; height: 0;}
      to { opacity: 1; height: auto;}
}

@-webkit-keyframes fadeOut {
    from { opacity: 1; height: auto;}
      to { opacity: 0; height: 0;}
}

@keyframes fadeOut {
    from { opacity: 1; height: auto;}
      to { opacity: 0; height: 0;}
}
