body,
html,
li,
ol,
ul {
    padding: 0;
    margin: 0
}

#site-footer h3, 
.one-tag,
.x2list-header,
nav.sub-menu {
    text-transform: uppercase
}

.question .title-of-question,
body {
    font-family: "Droid Sans", Arial, sans-serif
}

.score,
.show-all,
.vote,
.x2list-header {
    text-align: center
}

.new-event a,
.one-tag,
.question .title-of-question,
.selectable-tab,
.show-all,
.user-highlight a,
.votes-section .admin-links a,
section .user-info a {
    text-decoration: none
}

@font-face {
    font-family: Droid Sans;
/*    font-display: swap;
    src: url(https://assets.afterdawn.fi/x2fi/responsive/font/DroidSans.ttf) */
}

body,
html {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%
}

body {
    background-color: #ddd;
    background-image: url(https://assets.afterdawn.fi/x2fi/images/x2fibg.png);
    background-repeat: repeat
}

li,
ul {
    list-style: none
}

h1 {
    font-size: 1.5rem;
    margin-top: 0;
}

#mobile-menu,
#mobile-navbar {
    display: none
}

.hidden {
    display: none !important
}

.wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 1040px;
    min-height: 100%;
    max-width: 1040px;
    margin-top: -20px;
    padding-top: 40px;
    padding-bottom: 50px;
    background-color: #fff;
    box-shadow: 0 0 20px grey
}

.main-column {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.activity-stream {
    max-width: 60%;
    display: flex;
    margin-right: 15px;
    margin-left: 15px;
    flex-direction: column;
    align-items: stretch;
}

.activity-stream .sort-container {
    width: 95%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.sort-container .sort-button {
    padding: 4px 25px;
    margin: 0 10px;
    border: 1px solid gray;
    border-radius: 15px;
    text-decoration: none;
    color: gray;
    position: relative;
}

.sort-container .sort-button.selected {
    color: white;
    background-color: #f08400;
    border-color: #d76f00;
}

.sort-container .followed-link.selected:after {
    content: "";
    position: absolute;
    display: block;
    height: 10px;
    border-right: 1px dashed silver;
    left: 50%;
    bottom: -20px;
}

.activity-stream .followed-items {
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.activity-stream .followed-items:before {
    content: "";
    position: absolute;
    display: block;
    width: 66.2%;
    border-top: 1px dashed silver;
    top: 1px;
    left: 16.5%;
}

@media screen and (max-width: 946px) {
    .activity-stream .followed-items:before {
        width: 41.7vw;
    }
}

.followed-items .followed {
    width: 33%;
    padding: 15px 0;
    text-align: center;
    position: relative;
}

.followed-items .followed:after {
    content: "";
    position: absolute;
    display: block;
    height: 10px;
    border-right: 1px dashed silver;
    left: 50%;
    top: 3px;
}

.followed-items .followed-count {
    display: block;
    font-size: 2em;
    color: gray;
}

.followed-items .item-type {
    display: block;
    font-size: .8em;
    color: gray;
    text-transform: uppercase;
}

.followed-items footer {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px dashed silver;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.answers-section,
.questions-section {
    width: 95%;
}

.write-answer {
    width: 95%;
}

#question-notify {
    background-color: red;
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
    font-size: 80%;
    line-height: 50px;
    overflow: hidden;
    padding: 0 10px;
    text-align: center;
    width: 92%;
    height: 0;
    opacity: 0;
    transition: height 0.5s ease-in-out 1s,margin-top 0.5s ease-in-out 1s,opacity 0.5s ease-in-out 0.5s;
}

#question-notify.success {
    height: 50px;
    opacity: 1;
    transition: height 0.5s ease-in-out 1s,margin-top 0.5s ease-in-out 1s,opacity 0.5s ease-in-out 1.5s;
}

.answers-section,
.questions-section {
    width: 95%
}

.x2list-header {
    background-color: #6495ed;
    border: 1px solid #4d85ea;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(255, 255, 255, .2) inset;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    margin-right: 0;
    padding: 4px;
    position: relative;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .2);
    font-size: 1.3em
}

.x2list-header::after,
.x2list-header::before {
    content: "";
    display: block;
    position: absolute;
    border: 6px solid transparent;
    border-bottom: 0;
    left: 50%;
    margin-left: -6px
}

.x2list-header::before {
    border-top-color: #4d85ea;
    bottom: -6px;
    z-index: 2
}

.x2list-header::after {
    border-top-color: #6495ed;
    bottom: -5px;
    z-index: 3
}

.answers-section .answer,
.questions-section .question {
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #b9b8a4;
    border-radius: 4px
}

.answer-info,
.question-info {
    width: 80%;
    border-right: 1px dotted grey
}

@media screen and (max-width: 810px) {
    .answer-info,
    .question-info {
        width: 79%;
    }
}

.question-info {
    background-color: #fcfbd7
}

.answer-info div,
.question-info div {
    margin: 15px
}

.answer-info div p {
    word-break: normal;
    overflow-wrap: anywhere;
}

.answer-info div p img {
	max-width: 90%;
}

.question .title-of-question {
    color: #000;
    font-size: 16px;
    font-weight: 700
}

#searchform,
.content-form textarea,
input.basic-button,
input.sitewide-search-submit {
    font-family: "Droid Sans"
}

.question-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 5px
}

.votes-section {
    width: 19.8%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0
}

.vote {
    min-width: 100%;
    display: flex;
    justify-content: space-evenly
}

.vote span {
    display: flex;
    align-items: center;
    color: #6a737c
}

.vote-count-post {
    font-size: 20px;
    margin: 0
}

.vote-down-off,
.vote-down-on {
    margin-bottom: 10px
}

.vote-down,
.vote-up {
    cursor: pointer;
    display: block;
    margin: 0 auto;
    text-indent: -999em;
    width: 31px;
    height: 31px;
    background-image: url(https://assets.afterdawn.fi/x2fi/responsive/img/sprite.png), none;
    background-size: initial;
    background-repeat: no-repeat;
    overflow: hidden
}

.vote-up.off {
    background-position: 1px -1px
}

.vote-down.off {
    background-position: 1px -40px
}

.vote-up.on {
    background-position: -29px -1px
}

.vote-down.on {
    background-position: -29px -40px
}

.vertical-menu-icon img:hover {
    border: 2px solid gray;
}

.score {
    width: 100%;
    color: #778899;
    font-size: 15px
}

.score a {
    color: #778899;
}

.votes-section .admin-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%
}

.votes-section .admin-links a {
    width: 90%;
    padding: 5px 0;
    border-radius: 10px;
    box-shadow: 1px 1px 2px #d3d3d3;
    color: #fff;
    margin-top: 5px;
    min-width: 80px;
    text-align: center;
    text-shadow: 1px 1px 1px grey
}

.user-nick,
.user-points {
    margin-right: 10px;
}

section .user-info img {
    margin: 0 10px
}

.modify-link {
    border: 1px solid #4CACDA;
    background-color: #43A8DA
}

.delete-link {
    border: 1px solid #F07772;
    background-color: #F07C77
}

section .user-info {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 11px;
    line-height: 20px;
    text-shadow: 0 1px 0 #fff;
    height: 28px;
    padding: 5px 10px;
    background-color: rgba(185, 184, 164, .5);
    border-radius: 3px;
    border-top: 1px solid #b9b8a4
}

section .user-info a {
    display: flex;
    align-items: center
}

section .user-info a .user-nick {
    font-weight: bold;
    color: #000;
}

.user-points {
    color: #539b54
}

.pagination {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 95%;
    margin-bottom: 50px
}

.pagination .next-page,
.pagination .previous-page {
    background-color: #707070;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 40px;
    box-shadow: 0 1px 1px rgba(255, 255, 255, .25) inset;
    margin: 0;
    padding: 0 50px;
    position: relative;
    text-decoration: none;
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0)), color-stop(40%, rgba(0, 0, 0, 0)), color-stop(61%, rgba(0, 0, 0, .1)), color-stop(99%, rgba(0, 0, 0, .1)));
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s
}

.pagination .next-page::after,
.pagination .previous-page::after {
    content: "";
    display: block;
    position: absolute;
    border: 4px solid transparent;
    border-left-width: 4px;
    border-left-style: solid;
    border-right-color: transparent;
    border-left-color: transparent;
    top: 50%;
    margin-top: -4px;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s
}

.pagination .next-page::before,
.pagination .previous-page::before {
    content: "";
    display: block;
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #fff;
    top: 50%;
    margin-top: -9px;
    border-radius: 9px;
    line-height: 18px;
    font-weight: 700;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5), 0 0 1px 1px rgba(0, 0, 0, .9) inset;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s
}

#users-highlight .users-list,
.tag-category {
    -ms-transition: all .5s ease-in .5s;
    overflow: hidden
}

.pagination .next-page,
.pagination .previous-page {
    color: #fff;
    font-size: .8em;
    font-weight: 700;
    line-height: 30px;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .5)
}

.pagination .previous-page::before {
    left: 7px
}

.pagination .next-page::before {
    right: 7px
}

.pagination .previous-page::after {
    border-right-color: #000;
    border-left: 0;
    left: 13px
}

.pagination .next-page::after {
    border-left-color: #000;
    border-right: 0;
    right: 13px
}

.pagination .next-page:hover,
.pagination .previous-page:hover {
    background-color: #ff8c00;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .3)
}

.secondary-column {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center
}

.secondary-column section {
    width: 95%
}

.secondary-column section h2.title {
    width: 95%;
    background-color: #707070;
    border: 1px solid rgba(0, 0, 0, .1);
    color: #fff;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    padding: 0 0 0 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 1px rgba(255, 255, 255, .25) inset;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .5);
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0)), color-stop(40%, rgba(0, 0, 0, 0)), color-stop(61%, rgba(0, 0, 0, .1)), color-stop(99%, rgba(0, 0, 0, .1)));
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%)
}

.help {
    color: #333;
    margin: 0 20px 0 10px;
}

.help h2 {
    font-size: 20px;
}

.help p {
    font-size: .9em;
    line-height: 150%;
}

.help i {
    color: #060;
}

section.tags {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap
}

.tag-category {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    -moz-transition: all .5s ease-in .5s;
    -o-transition: all .5s ease-in .5s;
    -webkit-transition: all .5s ease-in .5s;
    transition: all .5s ease-in .5s;
    height: 0
}

.tag-category.selected {
    height: auto
}

.selectable-tab {
    color: gray;
    cursor: pointer;
    font-size: 12px;
    display: inline-block;
    height: 15px;
    line-height: 12px;
    margin: 0 5px 10px;
    position: relative;
    -moz-transition: color 2s;
    -ms-transition: color 2s;
    -o-transition: color 2s;
    -webkit-transition: color 2s;
    transition: color 2s
}

.selectable-tab.selected::after {
    content: "";
    display: block;
    border: 5px solid transparent;
    border-bottom-color: #f88911;
    position: absolute;
    left: 50%;
    bottom: -5px;
    margin-left: -5px;
    opacity: 1
}

.one-tag {
    display: block;
    height: 10px;
    float: right;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    margin: 5px 10px;
    padding: 5px 10px;
    border: 1px solid #74c6e8;
    color: #216a89;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    text-shadow: 1px 1px 0 #e3f2f8;
    background: #a0d8ef;
    background: -moz-linear-gradient(45deg, #a0d8ef 20%, #c3e6f5 100%);
    background: -webkit-gradient(linear, left bottom, right top, color-stop(20%, #a0d8ef), color-stop(100%, #c3e6f5));
    background: -webkit-linear-gradient(45deg, #a0d8ef 20%, #c3e6f5 100%);
    background: -o-linear-gradient(45deg, #a0d8ef 20%, #c3e6f5 100%);
    background: -ms-linear-gradient(45deg, #a0d8ef 20%, #c3e6f5 100%);
    background: linear-gradient(45deg, #a0d8ef 20%, #c3e6f5 100%)
}

.one-tag:hover {
    background: linear-gradient(45deg, #e1f2fa 20%, #ffffff 100%);
    color: #1c5a74;
    text-shadow: 1px 1px 0 #dbeef6;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.comment,
.new-event {
    border-bottom: 1px dotted grey
}

.new-answer::before,
.new-question::before {
    border-radius: 50%;
    content: ""
}

.show-all {
    width: 100%;
    color: #888;
    margin-top: 10px;
    font-size: 12px
}

.new-event {
    padding: 5px 0;
    text-align: right;
    width: 96%
}

.new-event:hover {
    background-color: rgba(0, 0, 0, .1)
}

.new-event a {
    color: #555;
    margin: 0;
    padding: 0 5px;
    width: 100%;
    text-align: left
}

.new-event span {
    color: #A9A9A9;
    font-size: 12px
}

.new-event .event-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left
}

.new-event div p {
    display: flex;
    align-items: center;
    margin: 0
}

.new-event div::before {
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 40px;
    height: 40px;
    left: 0;
    margin: 0
}

.new-answer::before {
    background-image: url(https://assets.afterdawn.fi/x2fi/responsive/img/check.png)
}

.new-question::before {
    background-image: url(https://assets.afterdawn.fi/x2fi/responsive/img/questionmark.png)
}

.users-list-wrapper {
    height: 150px
}

#users-highlight {
    height: 300px;
    overflow: hidden
}

#users-highlight .users-list {
    background-color: transparent;
    width: 95%;
    -moz-transition: all .5s ease-in .5s;
    -o-transition: all .5s ease-in .5s;
    -webkit-transition: all .5s ease-in .5s;
    transition: all .5s ease-in .5s;
    z-index: 0;
    height: 0
}

#site-header,
#users-highlight .users-list ul,
.comment-form textarea {
    width: 100%
}

#users-highlight .users-list.selected {
    height: auto
}

.user-highlight {
    padding: 8px 5px
}

.user-highlight:hover {
    background-color: rgba(0, 0, 0, .1)
}

.user-highlight a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px
}

.user-highlight a div {
    display: flex
}

.user-highlight a div span.numeration {
    margin-right: 30px;
    color: #000;
}

.user-highlight a div span.user-nick {
    margin-left: 10px;
    color: #000;
}

.new-comment {
    margin-left: 20px
}

.comment {
    -webkit-margin-start: 2em;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 1px 1px 4px grey
}

.comment-form {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    align-items: flex-end
}

#site-header {
    /*height: 250px;*/
    z-index: 2
}

div.afterdawn-network {
    font-size: 12px;
    height: 22px;
    line-height: 22px;
    white-space: nowrap;
    background: #000;
    background: -moz-linear-gradient(top, #000 0, #292929 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000), color-stop(100%, #292929));
    background: -webkit-linear-gradient(top, #000 0, #292929 100%);
    background: -o-linear-gradient(top, #000 0, #292929 100%);
    background: -ms-linear-gradient(top, #000 0, #292929 100%);
    background: linear-gradient(top, #000 0, #292929 100%)
}

.header-login-link.not-logged-in {
    background-image: url(https://assets.afterdawn.fi/x2fi/responsive/img/person-icon.png);
    background-position: -1px 1px;
    background-repeat: no-repeat;
    background-size: 19%;
    font-weight: 700;
    margin-right: 30px;
    padding-left: 20px;
    text-decoration: underline;
}

#share-buttons a,
#site-footer a,
.answer-text,
.fancy-buttons a,
.navbar-option a,
.one-user,
div.afterdawn-network a,
nav.sub-menu a,
section#subscribe-area a {
    text-decoration: none
}

div.afterdawn-network .header-wrapper {
    display: flex;
    justify-content: space-between
}

.footer-wrapper,
.header-wrapper,
.main-area {
    margin: 0 auto;
    width: 100%
}

div.afterdawn-network nav.site-selection {
    margin-left: 30px
}

div.afterdawn-network nav.language-selection a.flag-se {
    background-position: -60px 0
}

div.afterdawn-network nav.language-selection a.flag-dk {
    background-position: -20px 0
}

div.afterdawn-network nav.language-selection a.flag-no {
    background-position: -40px 0
}

div.afterdawn-network nav.language-selection span {
    display: none
}

div.afterdawn-network nav.site-selection a {
    font-size: 12px;
    margin-right: 8px
}

div.afterdawn-network nav.site-selection span.tween {
    color: #e5e5e5;
    margin-right: 8px
}

div.afterdawn-network nav.language-selection {
    margin-right: 30px;
    padding-top: 4px;
    display: none;
}

.header-login-link.logged-in {
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    /* width: 100px; */
    height: 22px;
    padding-left: 28px;
    position: relative;
    margin-right: 30px;
}

.header-login-link.logged-in:hover {
    background-color: #fff;
}

.header-login-link.logged-in img.gravatar {
    position: absolute;
    top: 3px;
    left: 3px;
}

.header-login-link.logged-in .user-nick {
    color: #fff;
}

.header-login-link.logged-in:hover .user-nick {
    color: #000;
}

.header-login-link.logged-in .user-points {
    background-color: #539b54;
    padding: 0 8px;
    height: 14px;
}

.header-login-link.logged-in .user-points.positive {
    background-color: #539b54;
    color: #000;
}

.header-login-link.logged-in .user-points.negative {
    background-color: #ab4445;
    color: #fff;
}

.header-login-link.logged-in.closed .user-settings-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background-color: #fff;
    padding: 10px 10px 10px 70px;
    box-shadow: 0 1px 1px gray;
    z-index: 9999;
    display: none;
}

.header-login-link.logged-in:hover .user-settings-panel {
    display: block;
}

.header-login-link.logged-in .user-settings-panel .panel-gravatar {
    position: absolute;
    top: 10px;
    left: 10px;
}

.header-login-link.logged-in .user-settings-panel .panel-link {
    float: left;
    clear: both;
}

.header-login-link.logged-in .user-settings-panel .panel-user-nick {
    font-size: 14px;
    margin-top: 5px;
}

.header-login-link.logged-in .user-settings-panel .panel-full-name {
    color: gray;
    font-size: 11px;
    font-weight: normal;
    margin-bottom: 10px;
}

.header-login-link.logged-in .user-settings-panel a.panel-link {
    color: #0000f0;
    text-decoration: underline;
    font-size: 12px;
}

div.afterdawn-network nav.language-selection a.flag-en {
    background-position: -80px 0
}

div.afterdawn-network nav.language-selection a {
    background-image: url(https://assets.afterdawn.fi/x2fi/images/x2fisprites.png);
    background-repeat: no-repeat;
    display: block;
    float: left;
    width: 16px;
    height: 11px;
    margin-left: 10px;
    border: 1px solid #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px
}

div.afterdawn-network a {
    color: #eaeaea
}

div.top-ad-space {
    min-height: 90px;
    text-align: center;
    padding: 10px;
    z-index: 5;
    background: #fff;
    background: -moz-linear-gradient(top, #fff 0, #d8d1ca 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(100%, #d8d1ca));
    background: -webkit-linear-gradient(top, #fff 0, #d8d1ca 100%);
    background: -o-linear-gradient(top, #fff 0, #d8d1ca 100%);
    background: -ms-linear-gradient(top, #fff 0, #d8d1ca 100%);
    background: linear-gradient(top, #fff 0, #d8d1ca 100%)
}

footer#site-footer .advertisement,
header#site-header .advertisement {
    margin: 0
}

.mobile-top-ad { 
	display:none;
}

header .advertisement {
    margin: 0 auto
}

.advertisement {
    text-align: center
}

#sitewide-navigation {
    border-top: 1px solid #747474;
    border-bottom: 1px solid #232323;
    height: 57px;
    line-height: 54px;
    width: 100%;
    z-index: 501;
    background: #343434;
    background: -moz-linear-gradient(top, #343434 0, #232323 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #343434), color-stop(100%, #232323));
    background: -webkit-linear-gradient(top, #343434 0, #232323 100%);
    background: -o-linear-gradient(top, #343434 0, #232323 100%);
    background: -ms-linear-gradient(top, #343434 0, #232323 100%);
    background: linear-gradient(top, #343434 0, #232323 100%)
}

#sitewide-navigation .header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1040px
}

#site-logo {
    background-image: url(https://assets.afterdawn.fi/x2fi/images/x2fisprites.png);
    background-position: 20px -15px;
    background-repeat: no-repeat;
    padding: 0 20px;
    display: block;
    width: 165px;
    height: 60px;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s
}

#mobile-logo:hover,
#site-logo:hover {
    -moz-transform: rotate(6deg) scale(1.05);
    -ms-transform: rotate(6deg) scale(1.05);
    -o-transform: rotate(6deg) scale(1.05);
    -webkit-transform: rotate(6deg) scale(1.05);
    transform: rotate(6deg) scale(1.05)
}

#site-logo span {
    display: none
}

form.sitewide-search,
nav.sub-menu {
    display: flex
}

div.slogan-container.slogan-2 {
    background-position: 0 -50px
}

div.slogan-container {
    width: 440px;
    height: 50px;
    background-image: url(https://assets.afterdawn.fi/x2fi/images/x2fislogans.png)
}

input.sitewide-search-box {
    border: 0;
    padding: 4px 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), -1px -1px 2px #070e1c;
    outline: 0;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    width: 170px
}

input.sitewide-search-box:focus {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2), 0 0 10px 5px orange
}

input.sitewide-search-submit {
    background-color: #EED76A;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(255, 255, 255, .5)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    border: 0;
    border-radius: 15px;
    box-shadow: 0 2px 0 rgba(255, 255, 255, .4) inset, 0 -2px 0 rgba(0, 0, 0, .1) inset, 0 2px 3px #000;
    color: rgba(60, 30, 0, .5);
    cursor: pointer;
    height: 25px;
    line-height: .5em;
    padding: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
    width: 50px;
    margin-left: 10px
}

form.answer-form *,
nav.sub-menu {
    font-family: "Droid Sans", Arial, sans-serif
}

input.sitewide-search-submit:hover {
    box-shadow: 0 2px 0 rgba(255, 255, 255, .4) inset, -1px -1px 2px rgba(0, 0, 0, .5);
    background-color: #d9b819;
    color: rgba(0, 0, 0, .5)
}

nav.sub-menu {
    flex-wrap: wrap;
    width: 100%;
    max-width: 1040px;
    margin: auto;
    padding: 5px 0;
    font-size: 12px;
    background-color: #444;
    line-height: 20px;
    text-shadow: 1px 1px 0 #373737;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #414141), color-stop(50%, #444), color-stop(100%, #323232), color-stop(100%, #ccc));
    background: -moz-linear-gradient(center bottom, #414141 0, #444 50%, #323232 100%, #ccc 100%);
    background: -o-linear-gradient(center bottom, #414141 0, #444 50%, #323232 100%, #ccc 100%);
    background: linear-gradient(center bottom, #414141 0, #444 50%, #323232 100%, #ccc 100%)
}

nav.sub-menu a {
    color: #fff;
    cursor: pointer;
    display: inline;
    float: none;
    white-space: nowrap;
    margin-right: 10px;
    padding: 2px 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px
}

a.big-red-button {
    background-image: url(https://assets.afterdawn.fi/x2fi/images/x2fisprites.png);
    background-position: 0 -407px;
    display: block;
    margin: auto;
    width: 85px !important;
    height: 85px;
    padding: 0 !important;
    border-radius: 43px !important
}

.only-mobile,
a.big-red-button span {
    display: none
}

a.big-red-button:hover {
    background-color: transparent !important;
    background-position: -90px -407px !important
}

.kysy-button {
    margin: -60px 0 -20px;
    z-index: 2
}

.subscribe-button {
    height: 32px;
    margin-bottom: 20px;
}

.subscribe-link.notfollowing {
    display: block;
    width: 83%;
    height: 100%;
    background-color: #019b55;
    color: #fff;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px 2px 2px 2px;
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.25) inset;
    font-size: 14px;
    font-weight: bold;
    line-height: 32px;
    padding: 0 10px 0 40px;
    text-decoration: none;
    position: relative;
}

.subscribe-link.notfollowing:hover {
    box-shadow: 0 0 5px #019b55;
}

.subscribe-link.notfollowing::before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    top: 17%;
    left: 10px;
    background-image: url(https://assets.afterdawn.fi/x2fi/images/x2fisprites.png);
    background-position: -159px -216px;
}

.subscribe-link.notfollowing:hover::before {
    background-position: -159px -236px;
}

.subscribe-link.following {
    display: block;
    width: 83%;
    height: 100%;
    background-color: #ab4445;
    color: #fff;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px 2px 2px 2px;
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.25) inset;
    font-size: 14px;
    font-weight: bold;
    line-height: 32px;
    padding: 0 10px 0 40px;
    text-decoration: none;
    position: relative;
}

.subscribe-link.following:hover {
    box-shadow: 0 0 5px #ab4445;
}

.subscribe-link.following::before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    top: 17%;
    left: 10px;
    background-image: url(https://assets.afterdawn.fi/x2fi/images/x2fisprites.png);
    background-position: -159px -194px;
}

.subscribe-button.hide-desktop {
    display: none;
}

#site-footer {
    color: #000;
    font-size: 12px;
    line-height: 15px;
    width: 100%;
    text-shadow: 1px 1px 0 #fff;
    z-index: 1;
    overflow: hidden
}

.footer-wrapper {
    background-color: #e4e4e4;
    border-top: 1px solid #f0f0f0;
    max-width: 1040px
}

.footer-columns {
    display: flex;
    flex-wrap: wrap
}

div.footer-columns section {
    width: 50%
}

#footer-disclaimer {
    background-color: #444;
    color: #f2f2f2;
    text-align: center;
    text-shadow: 0 0 0;
    height: 15px;
    width: 100%;
    padding: 5px 0 7px
}

#site-footer h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 20px 20px 0
}

#site-footer a {
    color: #000;
}

#site-footer ul {
    margin: 10px 20px 30px
}

#site-footer li {
    margin-bottom: 10px
}

#share-buttons img {
    width: 35px;
    padding: 5px;
    border: 0;
    box-shadow: 0;
    display: inline
}

div.write-answer {
    margin-right: -20px
}

.login-required {
    position: relative;
    margin-top: 30px;
    margin-bottom: 50px;
    width: 95%
}

form.answer-form {
    margin-bottom: 30px;
    width: 100%
}

form.answer-form textarea {
    width: 99%;
    height: 150px
}

form.answer-form footer label {
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-size: 12px;
    margin-bottom: 5px;
    padding-left: 30px;
    position: relative;
    white-space: nowrap;
}

form.answer-form footer label.disabled {
    color: #666;
    cursor: default;
    text-decoration: line-through;
}

form.answer-form footer label input {
    cursor: pointer;
    margin-right: 10px;
    position: absolute;
    top: -3px;
    left: 5px;
}

form.answer-form input[type=submit] {
    width: 100%;
    margin-top: 5px;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #96ff00;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 0 2px #006400;
    padding: 10px 25px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #9ecb2d;
    background: -moz-linear-gradient(top, #9ecb2d 0, #72aa00 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #9ecb2d), color-stop(100%, #72aa00));
    background: -webkit-linear-gradient(top, #9ecb2d 0, #72aa00 100%);
    background: -o-linear-gradient(top, #9ecb2d 0, #72aa00 100%);
    background: -ms-linear-gradient(top, #9ecb2d 0, #72aa00 100%);
    background: linear-gradient(top, #9ecb2d 0, #72aa00 100%)
}

.login-required .login-overlay {
    background-color: rgba(130, 150, 150, .75);
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAUUlEQVQYV2NctWqVMQMQuLm5gSisYNeuXQyMIIWEFIF0M3748AFsIjYAMgkGcCpEVgSyEatCdEVYrcamCEMhLkUoCvEpgiskpAisEBbghAIdAG0mNrOveOX+AAAAAElFTkSuQmCC);
    border: 3px solid #fff;
    box-shadow: 0 0 200px rgba(0, 0, 0, .75) inset, 0 0 1px rgba(0, 0, 0, .25), 0 0 10px rgba(0, 0, 0, .25);
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px #000;
    text-align: center;
    padding: 0;
    width: 100%;
    height: 78%;
    z-index: 5;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    position: absolute;
    top: 60px;
    left: 0;
}

.login-required .one-column {
    width: 50%;
    height: 100%
}

.login-required .login-button {
    background: -o-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-color: #6a3;
    border-radius: 5px;
    color: #fff;
    display: block;
    height: 40px;
    width: 250px;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .25);
    box-shadow: 0 2px 7px rgba(0, 0, 0, .4), 0 -1px 1px 1px rgba(10, 50, 5, .5) inset, 0 1px 0 1px rgba(255, 255, 255, .75) inset;
    text-decoration: none
}

#searchform #submit-form,
input.basic-button {
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(255, 255, 255, .5)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%)
}

.login-required .one-column .extra-info {
    line-height: 0;
    width: 100%;
    margin-top: 40px;
    font-size: 14px
}

.login-required a {
    color: #fff
}

.login-required .tween {
    line-height: 0;
    margin-left: -10px
}

.login-required .one-column.anonymous-column {
    right: 0
}

.login-required .login-button.answer-anonymously {
    background-color: #a44
}

.login-column {
    margin-top: 19px
}

form.answer-form::after {
    clear: both;
    content: "";
    display: block;
    height: 0
}

.loggedin-menu,
.menu {
    display: none
}

.answers-navbar,
.questions-navbar {
    width: 95%;
    display: flex;
    align-items: center
}

.answers-navbar p {
    margin: 0;
    font-size: 100%;
    color: #888
}

.answers-navbar ul,
.questions-navbar ul {
    display: flex;
    flex-wrap: nowrap
}

.navbar-option {
    margin: 0 10px;
    border: 1px solid grey;
    border-radius: 15px;
    padding: 4px 25px
}

.navbar-option a {
    color: gray;
}

.navbar-option.selected {
    background-color: #f08400;
    border-color: #d76f00
}

.navbar-option.selected a {
    color: #fff
}

section#subscribe-area a.notfollowing {
    background-color: #019b55;
    color: #fff;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .5)
}

section#subscribe-area a {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(255, 255, 255, .25) inset;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    margin-top: 20px;
    margin-bottom: 10px;
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0)), color-stop(40%, rgba(0, 0, 0, 0)), color-stop(61%, rgba(0, 0, 0, .1)), color-stop(99%, rgba(0, 0, 0, .1)));
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%);
    background-image: linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .1) 61%, rgba(0, 0, 0, .1) 99%)
}

section#subscribe-area a.notfollowing:hover {
    box-shadow: 0 0 5px #019b55;
}

section#subscribe-area a.notfollowing::before {
    background-position: -159px -216px
}

section#subscribe-area a::before {
    content: "";
    display: block;
    background-image: url(https://assets.afterdawn.fi/x2fi/images/x2fisprites.png);
    top: 50%;
    margin: -3px 10px 0;
    left: 10px;
    width: 20px;
    height: 20px
}

section#subscribe-area a.notfollowing:hover::before {
    background-position: -159px -235px;
}

section#subscribe-area a.notfollowing:hover {
    box-shadow: 0 0 5px #019b55;
}

section#subscribe-area a.following {
    background-color: #ab4445;
    color: #fff;
    font-size: 85%;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .5)
}

section#subscribe-area a.following:hover {
    box-shadow: 0 0 5px #ab4445;
}

.page-search,
.text-remaining {
    font-size: .8em
}

section#subscribe-area a.following::before {
    background-position: -159px -193px
}

section#subscribe-area a.following:hover {
    box-shadow: 0 0 5px #ab4445;
}

.tags-wrapper {
    width: 95%
}

#tag-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.one-tag-wrapper {
    width: 33.33%;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.one-tag-wrapper span {
    color: #666;
    font-size: .8em
}

.user-page-header {
    width: 95%;
    padding: 10px 0;
    margin: 10px 0
}

.page-search {
    background-color: #dedede;
    color: #444;
    padding: .8em 2em;
    display: flex;
    align-items: center;
    justify-content: space-around
}

.page-search input {
    width: 50%
}

#top-contributors-list {
    width: 95%;
    display: flex;
    flex-wrap: wrap
}

.one-user {
    width: 33.33%;
    margin: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0
}

.one-user:hover {
    box-shadow: 0 0 3px #444
}

.one-user .user-info {
    min-width: 80px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.user-about {
    display: none
}

#searchform {
    width: 100%;
    display: flex;
    border: 1px solid silver;
    border-radius: 5px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .1) inset, -1px -1px 1px rgba(0, 0, 0, .5);
    font-size: 1.2em;
    align-items: center
}

#searchform input[type=search] {
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    outline: 0;
    padding: 5px 0 5px 10px;
    width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

#searchform #submit-form {
    background-color: #ccc;
    border: 1px solid silver;
    border-radius: 5px;
    color: rgba(0, 0, 0, .75);
    cursor: pointer;
    height: 25px;
    padding: 0 20px;
    width: 90px;
    box-shadow: 0 0 0 silver, 2px 2px 5px 1px rgba(0, 0, 0, .1);
    text-shadow: 1px 1px 0 #fff;
    background-image: linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff', endColorstr='#00ffffff', GradientType=0)
}

.user-wrapper .total-score,
.user-wrapper ul {
    text-shadow: -1px -1px 0 rgba(10, 30, 0, .3);
    color: #fff;
    display: flex
}

.selected-tag {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px
}

.user-header {
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px
}

.user-header h1 {
    width: 100%
}

.user-wrapper {
    display: flex;
    width: 100%;
    text-align: left;
    align-items: center
}

.user-wrapper img {
    width: 100px;
    height: 100px;
    position: absolute;
    z-index: 10;
    border: 3px solid #fff;
    box-shadow: 1px 1px 4px rgba(10, 30, 0, .3);
    border-radius: 10px
}

.user-wrapper ul {
    width: 100%;
    margin: 0 -10px;
    background: #365452;
    background: -moz-linear-gradient(-45deg, #365452 0, #1e3432 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0, #365452), color-stop(100%, #1e3432));
    background: -webkit-linear-gradient(-45deg, #365452 0, #1e3432 100%);
    background: -o-linear-gradient(-45deg, #365452 0, #1e3432 100%);
    background: -ms-linear-gradient(-45deg, #365452 0, #1e3432 100%);
    background: linear-gradient(-45deg, #365452 0, #1e3432 100%);
    box-shadow: 1px 1px 5px rgba(10, 30, 0, .5);
    border-radius: 20px;
    height: 70px;
    flex-direction: column;
    justify-content: center
}

.user-wrapper ul li {
    margin-left: 150px;
}

.user-wrapper ul li:last-child br {
    display: none;
}

.user-wrapper .total-score {
    border: 3px solid #fff;
    font-size: 30px;
    font-weight: 700;
    width: 100px;
    height: 100px;
    text-align: center;
    box-shadow: 1px 1px 4px rgba(10, 30, 0, .3), inset -2px -2px 8px rgba(10, 30, 0, .2);
    border-radius: 50%;
    position: absolute;
    z-index: 5;
    margin-left: 500px;
    justify-content: center;
    align-items: center
}

#subscribe-area {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.answer-score.zero,
.total-score.zero {
    background-color: gray;
}

.answer-score.positive,
.total-score.positive {
    background-color: #539b54
}

.answer-score.negative,
.total-score.negative {
    background-color: #AB4445
}

.personal-answers {
    width: 95%
}

.user-answer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #D1D5D8;
    border-radius: 10px;
    padding: 8px 0;
    margin: 10px 0
}

.user-answer div {
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available
}

.answer-score {
    border-radius: 50%;
    height: 40px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin: 0 10px;
    text-shadow: 0 1px 1px #414141bd
}

.answer-text {
    display: flex;
    flex-wrap: wrap;
    color: #494444;
    margin-right: 10px
}

.answer-time {
    font-size: 11px;
    margin: 0 10px 0 auto
}

.fancy-wrapper {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.fancy-buttons {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 40px
}

.fancy-buttons a {
    height: 40px;
    width: 30%;
    min-width: 90px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .64)
}

.fancy-modify {
    background-color: #43A8DA
}

.fancy-delete {
    background-color: #F07C77
}

.fancy-cancel {
    background-color: #BABABA
}

.content-form {
    background-color: #e4e8ee;
    border: 1px solid #9c9fa5;
    border-radius: 2px;
    box-shadow: 0 1px 0 #fff inset;
    color: #424954;
    min-height: 210px;
    text-shadow: 1px 1px 0 #fff;
    width: 95%;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    position: relative;
}

.form-header {
    margin-left: 15px;
    display: flex;
    align-items: center
}

.form-header.final {
    align-items: flex-end
}

input#tagList {
    width: 94%;
    margin-left: 15px;
}

div.tagsinput {
    width: 90% !important;
    background-color: white;
    border: 1px solid #A2A4A7;
    border-radius: 2px;
    box-shadow: 0 1px 1px 0 silver inset, 0 1px 0 white;
    min-height: 31px;
    padding: 6px 15px 0 15px;
    margin-left: 15px;
    margin-bottom: 10px;
}

div.tagsinput div {
    display: block;
    float: left;
    border: none;
    line-height: 1.5em;
}

div.tagsinput input {
    background: transparent;
    border: 1px solid transparent;
    margin: 0 5px 5px 0;
    outline: none;
    padding: 0 5px;
}

div[id^="tagSuggest"] {
    background-color: #f0f0f0;
    border: 1px solid #CCC;
    padding: 5px;
    width: 94%;
    height: auto;
    overflow-y: auto;
    margin: -1px 0 0 15px;
    display: flex;
    flex-wrap: wrap;
}

div[id^="tagSuggest"] div {
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    width: 179px;
    margin: 5px;
    border: 1px solid silver;
    padding: 5px 5px 10px 5px;
    font-size: 80%;
    box-shadow: 2px 2px 5px rgb(0 0 0 / 20%);
    vertical-align: bottom;
}

div[id^="tagSuggest"] div:hover {
    background-color: rgba(0, 255, 0, 0.1);
    box-shadow: 1px 1px 3px rgb(0 0 0 / 10%), 0 0 6px rgb(0 255 0 / 20%);
}

#tagSuggest .tag, #tagList_tagsinput .tag {
    background-color: rgba(128, 128, 200, 0.5);
    border-radius: 3px;
    color: black;
    display: inline-block;
    border: 1px solid rgba(64, 64, 128, 0.2);
    border-bottom-color: rgba(64, 64, 128, 0.3);
    border-right-color: rgba(64, 64, 128, 0.3);
    box-shadow: inset -1px -1px 2px rgb(0 0 0 / 10%);
    font-size: 13px;
    margin: 0 15px 5px 0;
    padding: 5px;
    text-shadow: 1px 1px 0 rgb(255 255 255 / 35%);
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    float: left;
}

#tagSuggest .count {
    display: inline-block;
    margin-top: 15px;
}

#tagList_tagsinput .tag a {
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 10px;
    border-radius: 8px;
    display: inline-block;
    height: 13px;
    text-align: center;
    width: 11px;
    line-height: 11px;
    color: white;
    position: relative;
    top: -2px;
    text-shadow: -1px -1px 0 rgb(0 0 0 / 10%);
    font-weight: bold;
    text-decoration: none;
    padding: 0 1px;
}

.text-remaining-label {
    background-color: #35404a;
    color: #fff;
    display: block;
    float: left;
    margin: -5px 10px 0;
    padding: 5px;
    text-align: center;
    text-shadow: none;
    width: 50px;
    box-shadow: 1px 1px 0 rgba(255, 255, 255, .25)
}

.text-remaining-label::after {
    content: "";
    display: block;
    position: absolute;
    margin-top: 5px;
    margin-left: 2px;
    border-right: 8px solid transparent;
    border-top: 8px solid #35404a
}

.text-remaining-label.too-long {
    background-color: #b10e10;
}

.text-remaining-label.too-long::after {
    border-top: 8px solid #b10e10;
}

.content-form label {
    display: block;
    margin: 0.67em 0;
    font-weight: 700;
    font-size: 100%
}

.content-form p.instructions {
    margin-right: 200px;
    overflow: hidden
}

.content-form p {
    font-size: .8em
}

.content-form textarea {
    border: 1px solid #a2a4a7;
    border-radius: 2px;
    box-shadow: 0 1px 1px 0 silver inset, 0 1px 0 #fff;
    height: 1.2em;
    min-height: 1.2em;
    max-height: 4.8em;
    margin-left: 15px;
    font-size: .9em;
    outline: 0;
    padding: 10px 15px;
    width: 90%;
    max-width: 610px;
    resize: none;
    -moz-transition: box-shadow 1s ease-in-out .25s, border-color 1s ease-in-out .25s;
    -ms-transition: box-shadow 1s ease-in-out .25s, border-color 1s ease-in-out .25s;
    -o-transition: box-shadow 1s ease-in-out .25s, border-color 1s ease-in-out .25s;
    -webkit-transition: box-shadow 1s ease-in-out .25s, border-color 1s ease-in-out .25s;
    transition: box-shadow 1s ease-in-out .25s, border-color 1s ease-in-out .25s
}

.textarea-msg {
    color: #fff;
    position: absolute;
    background-color: #2d68a6;
    font-size: 90%;
    line-height: 1.2em;
    padding: 10px;
    top: 425px;
    right: 30px;
    text-shadow: none;
    z-index: 10;
    width: 300px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
    opacity: 1;
    -moz-transition: opacity .5s ease-in .1s;
    -ms-transition: opacity .5s ease-in .1s;
    -o-transition: opacity .5s ease-in .1s;
    -webkit-transition: opacity .5s ease-in .1s;
    transition: opacity .5s ease-in .1s
}

#extra-info-alert h1 {
    line-height: normal;
}

.textarea-msg::before {
    content: "";
    display: block;
    border: 5px solid transparent;
    border-bottom-color: #2d68a6;
    position: absolute;
    top: -10px
}

.textarea-msg.hidden {
    opacity: 0;
    -moz-transition: opacity .25s ease-out;
    -ms-transition: opacity .25s ease-out;
    -o-transition: opacity .25s ease-out;
    -webkit-transition: opacity .25s ease-out;
    transition: opacity .25s ease-out
}

.content-form .form-desc {
    font-size: .65em;
    margin-top: 5px;
    margin-left: 15px
}

input.basic-button.reset-button {
    background-color: gray;
    border-color: #555
}

form footer input[type=submit],
input.basic-button {
    background-color: #437bc5;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 1px 2px rgba(0, 0, 0, .35);
    cursor: pointer
}

input.basic-button {
    background-image: linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    border: 1px solid #2d68a6;
    border-radius: 2px;
    padding: 3px 15px;
    margin: 10px 15px 0 0;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5)
}

input.basic-button.reset-button:hover {
    border-color: #666;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 0 3px 2px rgba(200, 200, 255, 0.35) inset;
}

input.basic-button.submit-button:hover {
    border-color: #447bbb;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 0 3px 2px rgba(200, 200, 255, 0.35) inset;
}

.content-form hr.tween {
    margin: 20px 0
}

.content-form hr {
    border: 0;
    border-bottom: 1px dotted #9a9c9f;
    width: 100%;
    max-width: 610px;
    margin: 20px auto 20px auto;
}

.submit-form-wrapper {
    margin-left: 15px;
    margin-bottom: 20px
}

.hh-input {
    min-width: 70px;
    border-radius: 5px;
    margin-left: 10px
}

.main-area > h1 {
    margin-left: 80px
}

.main-area > form,
.user-input-form {
    display: flex;
    flex-direction: column;
    margin: 20px 0 50px 80px
}

.main-area > form > label,
.user-input-form {
    margin: 0
}

.main-area > form > input {
    margin: 5px 0 20px;
    height: 30px;
    padding-left: 10px;
    width: 80%
}

.login-extras {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
    width: 80%
}

.login-extras a {
    color: #6C6C6C
}

.one-row {
    width: 100%
}

.one-row label {
    font-size: 1.2rem
}

.check-panel,
.passwordStrength {
    margin-bottom: 15px;
    font-size: 14px
}

.one-row label input {
    width: 92%;
    margin-bottom: 15px;
    padding: 10px
}

.passwordStrength {
    margin-top: -15px
}

h1.brand-header,
h2.brand-header {
    font-weight: 700;
    width: 40%;
    padding-left: 15px;
}

.personal-details .one-row {
    display: flex;
    align-items: center;
    margin: 5px 0
}

.item-label,
.personal-details .one-row label {
    width: 200px
}

.personal-details .one-row label.inline-label {
    width: auto
}

.personal-details .one-row input.inline-text-input {
    width: 60%;
    padding: 5px
}

.personal-details .one-row .box-wrapper {
    display: flex;
    justify-content: flex-start
}

.time-zone {
    display: flex;
    flex-wrap: wrap
}

form footer input[type=submit] {
    width: 80%;
    min-width: 100px;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px 0 0;
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(255, 255, 255, .5)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    border: 1px solid #2d68a6;
    border-radius: 2px;
    padding: 3px 15px;
    color: #fff
}

@media (max-width: 1040px) {
    .wrapper {
        width: 100%
    }
}

@media (max-width: 925px) and (min-width: 801px) {
    .slogan-container {
        display: none
    }

    #sitewide-navigation .header-wrapper {
        justify-content: space-around !important
    }

    .login-required .login-button {
        width: 200px !important
    }

    .question-info {
        border: none !important
    }

    .user-wrapper .total-score {
        margin-left: 400px
    }
}

.box-wrapper select {
    height: 25px;
    margin-bottom: 10px;
    margin-right: 20px;
    border: none
}


/*Logout page*/

.main-area article h1 {
    padding-left: 30px;
}

.main-area article p {
    margin-left: 30px;
    line-height: 130%;
}

/*Login page*/

#login_form,
#join_form {
    margin-left: 50px;
}

article.col-50 p,
article.col-50 h4 {
    margin: 0 0 15px 0;
}

article.col-50 h1.brand-header {
    width: 100%;
}

section.login-extras {
    margin-top: 0;
    margin-bottom: 20px;
    justify-content: space-between;
    width: 60%;
}

.user-input {
    width: 60%;
    height: 30px;
}

/*Registration page*/

section.short-article form.user-input-form {
    margin-left: 50px;
}

section.short-article h1.brand-header {
    padding-left: 30px;
    width: 100%;
}

input.checkAvailability {
    font-family: "Droid Sans", Arial, sans-serif;
    background-color: #437bc5;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 1px 2px rgba(0, 0, 0, .35);
    cursor: pointer;
    border: 1px solid #2d68a6;
    border-radius: 2px;
    padding: 3px 15px;
    margin: 10px 15px 0 0;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(255, 255, 255, .5)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%)
}

input.checkAvailability:hover {
    border-color: #447bbb;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 0 3px 2px rgba(200, 200, 255, 0.35) inset;
}

input[value='Luo tunnus'] {
    font-family: "Droid Sans", Arial, sans-serif;
    background-color: #437bc5;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 1px 2px rgba(0, 0, 0, .35);
    cursor: pointer;
    border: 1px solid #2d68a6;
    border-radius: 2px;
    padding: 3px 15px;
    margin: 10px 15px 0 0;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(255, 255, 255, .5)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%)
}

input[value='Luo tunnus']:hover {
    border-color: #447bbb;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 0 3px 2px rgba(200, 200, 255, 0.35) inset;
}

section.personal-details div.one-row {
    justify-content: space-between;
}

.personal-details .one-row p {
    width: 80%;
}

.personal-details .one-row .radio-wrap {
    width: 81%;
}

section.personal-details div.birth-wrap {
    flex-direction: column;
    align-items: flex-start;
}

section.time-zone h3,
section.time-zone h4 {
    margin: 0 0 20px 0;
}

section.time-zone .box-wrapper p {
    margin: 0 0 10px 0;
}

/*Settings pages*/

section.short-article article h3,
section.short-article article ul {
    margin-left: 30px;
}

.personalSettings form p {
    margin: 0 0 0 0;
}

.personalSettings form p:nth-child(11) {
    margin-bottom: 10px;
}

.personalSettings form p:nth-child(28) {
    margin-top: 20px;
}

.personalSettings form p:nth-child(28) input {
    font-family: "Droid Sans", Arial, sans-serif;
    background-color: #437bc5;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 1px 2px rgba(0, 0, 0, .35);
    cursor: pointer;
    border: 1px solid #2d68a6;
    border-radius: 2px;
    padding: 3px 15px;
    margin: 10px 15px 0 0;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(255, 255, 255, .5)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -ms-linear-gradient(top, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 100%)
}

.personalSettings form p:nth-child(28) input:hover {
    border-color: #447bbb;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 0 3px 2px rgba(200, 200, 255, 0.35) inset;
}

.personalSettings form h4:nth-child(1) {
    margin: 0;
}
