

@import url("/css/font-awesome-4.7.0/css/font-awesome.min.css?t1774348916");
/* @import url("/css/message.css"); */

:root {
    --base-color-0: #494545;
    --base-color-1: #b7b3b3;
    --base-color-2: #c6c4c4;
    --base-color-3: #c1c1c1;
    --base-color-4: #d6d4d4;
    --base-color-5: #e8e3e3;
    --base-color-6: #e3e4e5;
}


x-coma::before {
	content: ',';
	margin: 0;
	padding: 0;
}

 #media-carousel-list {
	display: none;
}


#preview:empty {
    display: none !important;
}

a.message-preview {
    color: blue
}

.unloaded {
    contain-intrinsic-size: auto 800px; /* arvioitu korkeus */
}

html, body {
    --_w: calc(max(100vw, 100%) - 0.1vw);
	min-width: var(--_w);
    width: var(--_w);
	/* overflow-x: hidden; */
	margin: 0;
	/* overflow-x: hidden; */
}

html {
	font-size: 0.8rem;
	font-size: clamp(0.775rem, 0.25vw + 0.55rem, 1.5rem);
    /*font-size: clamp(0.775rem, 0.5vw + 0.45rem, 3.2rem);
    font-size: clamp(0.8125rem, 0.2vw + 0.75rem, 1.0625rem);
    font-size: clamp(0.8125rem, 0.2vw + 0.75rem, 1.5rem);*/
    height: 100vh;
}

@media (min-height: 1100px) and (min-width: 900px) and (orientation: portrait) {
    html { 
        font-size: clamp(1.0rem, 0.35vw + 0.3rem, 1.6rem);
    }
 }

@media (min-width: 2800px) and (orientation: landscape) {
    html { 
        font-size: clamp(1.05rem, min(0.35vw, 0.4vh) + 0.55rem, 1.6rem);
    }

    p.feeds-log {
        overflow: unset;
    }
}


.message-rates, .message-rates .rates-container {
    display: contents;
}


#register-form {
    display: grid;
    flex-direction: column;

    & set-item {
        text-align: center;
        display: grid;
        font-family: monospace;

        & input {
            text-align: center;
            font-weight: bold;
        }
    }
}

set-item {
    padding: 0.1rem;;
    & label {
        min-width: 12rem;
    }
}

/* @media only screen and (max-width: 800px) { */

body {
    /* padding: 30px; */
    /*font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    color: black;
    line-height: 135%;

   /*  height: 95vh; */

    background-size: auto;
    background-attachment: fixed;
    background-image: url('/img/crow.png'), linear-gradient(to right, black, #444343 45%, #444343 55%, black);
    background-repeat: no-repeat;
    background-position: center bottom;

	overflow-x: hidden;
}

body.loading * {
	cursor: wait !important;
}

p {
	margin: 0;
}

a {
	text-decoration: none;
}

table {
	width: 100%;
    margin-bottom: 0 !important;
}
hr {
    border-color: black;
}

button {
    color: black;
}



#paints {
	background-color: #363131;
}
	
table {

	border-collapse: collapse;

	& th, td {
		text-align: left;
		padding-left: 1rem;
		padding: 0.5rem;
		min-width: 3rem;
	}

	& th:not(:first-child) td:not(:first-child) {
		padding-left: 3rem;
		padding: 2 0 5rem 0rem;
	}

	& tr {
	}
}
.hidden {
	display: none !important;
}

.vhidden {
    visibility: hidden;
}

.fade-start {
    transition: opacity 0.25s ease;
    opacity: 1;
}
.fade-stop {
    opacity: 0;
}

.fa {
	color: black;
}
.box {
    border: 1px solid black;
}

#navi-links {
    display: flex;
    justify-content: space-evenly;
}


@media only screen and (max-width: 700px) {

    #navi-links > a {
        font-size: 1.6rem;
    }

    #navi-links > .dropdown {
        display: none !important;
    }

    #navi-links > .dropdown-holder {
        display: block;
    }
}


@media only screen and (min-width: 700px) {
    #navi-links > .dropdown-holder {
        display: none;
    }
}

input {
	border-radius: 0;
}

.action:not(input) {
    cursor: pointer;
    text-decoration: underline;
    /* color: #102110; */
    padding: 2px;
}


#spinner-container > .fa-spinner {
    font-size: 50px;
}

.blink-animation:not(:hover) {
    /*-webkit-animation: flash linear 1s infinite;*/
    animation: flash linear 0.75s infinite;
}



#thread-header {
    display: flex;
    vertical-align: middle;
    align-items: center;
}

#messageForm > #headline, #new-thread > #headline {
    margin: 5px 0 5px 18px;
}

#thread-options, #thread-actions {
    display: inline-block;
    margin-left: auto;
    vertical-align: bottom;
    justify-content: center;
}

#thread-actions > button {
    color: black;
}


.wPaint-canvas {
    width: 100%;
    height: 100%;
}

#status-update-input {
    margin-top: 3px;
}

at {
    filter: opacity(0.7);
    margin-right: 0.2rem;
}



.usr-link-pic { 
    display: none;
}


form > label {
    padding: 0;
    margin: 0;
}

/*
span.tag-container:not(:hover) > .remove-tag {
    visibility: hidden;
}*/

div#tag-list:not(:hover) {
    filter: blur(4px);
}


#main-navi > * .action {
    color: whitesmoke;
}

#thread_replies {
    padding: auto;
    margin: auto;
}

#thread-header {
    height: 2.3em;
}

.button.action {
    padding: 0;
    text-decoration: initial;

}

.status-message > * > .youtube {
    max-width: 370px !important;
    max-height: 200px !important;
}

.user-group {
    float: right;
}

#main-container {
    margin: 0 auto;
    border-left: 1px solid black;
    /* width: 90%; */
    margin-bottom: 30px;
}

#main-body {
	position: relative;
    border-radius: 0 !important;
    /* padding: 10px; */
    margin-top: 10px;
    /* margin-left: 15px;; */
    /* margin-right: 15px; */
    min-height: 100%;
    margin-left: 0.5rem;
    margin-right: 0.5rem;

}


.content-container {
    /*
    margin: 5px 10px 10px 10px;*/
    width: 100%;
}

#media-content {
    margin-right: 0.5rem;
}



.thread {
    margin-top: 10px;
}

blockquote {
    margin: 0 0 5px;
    padding: 2px;
    border-left: 1px solid black;
}

.status-message > .quote {
    margin-left: 3px;
}

.quote {
    margin: 0 0 0;
    padding-left: 0.5rem;
    padding-right: 0.25rem;
    border-left: 0.1rem solid black;
    display: inline-block;
    /*font-style: italic;*/
    margin-top: 2px;
    background: var(--quote-bg-color, #00000017);
    color: var(--quote-txt-color, black);

    scrollbar-width: thin;

    max-height: max(250px, 20vh);
    overflow-y: auto;
}

.antiquote {
    color: black;
    margin: 0 0 0;
    padding: 2px;
    border-right: 1px solid black;
    display: inline-block;
}

.unrounded {
    border-radius: 0 !important;
}

.bordered {
    border: 1px solid black;
    /* padding: 2px; */
}

.bordered-left {
    border-left: 1px solid black;
    padding: 2px;
}

.bordered-right {
    border-right: 1px solid black;
    padding: 2px;
}

.bordered-top {
    border-left: 1px solid black;
    padding: 2px;
}

.bordered-bot {
    border-bottom: 1px solid black;
    padding: 2px;
}

.dropdown-holder {
    position: relative;
    float: right;
}

.dropdown-caret {
    font-size: 20px !important;
    height: 20px;
}

.dropdown-expand {
    float: right;
}



.dropdown-container {
    overflow: auto;
    max-height: 80vh;
    top: 0;
    right: 0;
    position: absolute;
}


.dropdown-holder:not(:hover) > .dropdown-container {
    display: none !important;
}


.dropdown-items {
    margin-top: 5px;
    background: var(--base-color-0);
    display: block;
    z-index: 500000;
}

.dropdown-item {
    display: block;
    padding: 8px !important;
    margin-top: 5px !important;
}

.center-item {
    display: block;
    margin: 0 auto;
}

.privmsg-info {
    color: darkorange;
}

div#user-list-main {
    display: table;
    text-align: center;
}
.user-item-container {
    min-width: 20%;
    display: inline-block;
}

a.user-link {
	display: inline-flex;
	align-items: center;
	margin-right: 1ch;
}

.user-item-container > a.user-link {
    float: left;
}

#preview {
    overflow: auto;
    max-width: 1000px;
    max-height: 1000px;
    background-color: var(--base-color-1),;
}

#mahti-modal-cover {
    position: fixed;
    display: none;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 550;
    left: 0;
    top: 0;
    padding: 5px;
    background: #00000012;
}

#mahti-modal-cover.shown {
    display: flex;
    background: #ffffff2b;
}



#preview, #mahti-modal-container {
    background-color: var(--bg-color, white) !important;
    display: block;
    z-index: 2000;
    overflow: auto;
}

#mahti-modal {
    padding: 5px;
}

#mahti-modal-container * tbody {
    max-width: 90vw;
    max-height: 75vh;
    overflow: auto;
    display: block;
    padding: 1vw;
}

#mahti-modal-container * > td {
    max-width: 25vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mahti-modal-container * > .action {
    padding: 0;
}


.center-preview {
    position: fixed !important;
    top: 25% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background-color: white;
    border: 1px solid black;
    width: auto;
    margin-top: 11%;
}

a, #mahti-modal-close, #mahti-media-modal-close {
    cursor: pointer;
}

.kk-vid {
    display: inline-flex;
    flex-direction: column;

    & video {
        max-height: max(200px, 15vh);
        max-width: max(300px, 10vw);
        /*
        width: auto;
        height: auto;*/
    }

    & a {
        margin-left: auto;
        font-size: 90%;
        line-height: 1;
        margin-bottom: 0.5rem;
    }
}

#mahti-modal-close {
    margin-right: 5px;
}

.forum-thread-message {
    overflow-x: auto;
    width: 100%;
    height: 100%;
}

.forum-thread {
    width: 45%;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}

.new-user > .action {
    padding: 0;
    margin-bottom: 2px;
}

.thread-unseen {
    font-weight: bold;
}

.stickied {
    font-weight: bold;
}

#user-data-container {
    margin-top: 3px;
    padding: 3px;
}


.user-info {
    width: 40%;
}

.user-introduction {
    width: 60%;
}

.greentext {
    color: #3f8308;
}

.bluetext {
    color: #3762a2;
}

.bolted {
    font-weight: bold;
}

.dashtext {
    padding-left: 5px;
    /* #color: #b27cb2; */
}

.pretext {
    white-space: pre-wrap;
    max-width: 100% !important;
    word-wrap: break-word
}

.status-message .shaketext, .status-message .flashtext *,
    /*.status-message .syckstext .status-message .syckstext *,*/
.status-message .flashtext, .status-message .flashtext * {
    animation: none;
}

.shaketext, .status-message .shaketext:hover, .status-message .shaketext *:hover {
    animation: shake 0.1s;
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
    display: inline-block;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

.syckstext, .status-message .syckstext:hover, .status-message .syckstext *:hover {
    animation: shakesyck 0.651s;
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
    display: inline-block;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

@keyframes shake {
    0% {
        transform: translate(1px, -1px) rotate(0deg);
    }
    100% {
        transform: translate(-1px, 1px) rotate(0deg);
    }
}

@keyframes shakesyck {
    0% {
        transform: translate(1px, -1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, 1px) rotate(0deg);
    }
}

.flashtext, .status-message .flashtext:hover, .status-message .flashtext *:hover {
    display: inline-block;
    animation: blinker 0.4s linear infinite;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#loginUser, #logout, #left-navi {
    border: 1px solid black;
    border-radius: 0 !important;
}

#left-navi {
    border: 1px solid black;
    border-radius: 1px;
}

.left-item {
    margin-bottom: 10px;

}


.content {
    margin-bottom: 65px;
}

/*
body {
    font-family: "Tahoma, sans-serif";
    font-family: Arial, sans-serif;
    font-family: Verdana, sans-serif;
}*/

.status-message {
    /*font-family: Verdana, sans-serif;*/
}



.menu-group:not(#navi-links) {
    font-family: monospace;
}

/*
#media-basic-info, .menu-group, #user-description, #thread-container, #status-update, textarea, h1, #about-page,
#feeds-items-container
{
    font-family: monospace; 
}*/

#about-page a {
    text-decoration: underline;
}

/* .message-text, .status-message, #user-description, #thread-container, #status-update, textarea { */
/*     font-size: 15px; */
/* } */



.main-group {
    padding-top: 3px;
}

.thread-pages > .menu-group {
    font-size: 0.9em;
}



.do-rate {
    color: black;
    margin: 0 1px 0 1px;
    text-decoration: underline;
    /*font-size: 1.4em;*/
}


#registeringStuff {
    display: none;
}


/*
img {
    object-fit: scale-down !important;
}*/

div#commentbox {
    padding: 4px;;
}

.file {
	display: inline-block;
}



.spoiler {
    background-color: black;
    color: black;
}

.spoiler:hover {
    color: white;
}

.flash {
    display: none;
}

.flash-base {
	position: fixed !important;
	right: 5% !important;
	padding: 0.5rem 0.5rem 0.5rem 0;
}

.info-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    padding-bottom: 0;
    margin-bottom: 0;

    padding-top: 0;
    margin-top: 0;
}

.info-item::after {
    content: "\a";
    white-space: pre;
}

.info-item-what {
    font-weight: bold;
}

.info-item-value {
    padding-left: 6px;
}

.code {
    display: inline-block;
    white-space: pre-wrap;
    max-width: 100% !important;
    word-wrap: break-word;
    line-height: 1.42857143;
    font-size: 13px;
    background-color: #f5f5f5 !important;
    padding: 0 15px 5px 15px;
}

.code br {
    display: none;
}

.current, .active {
    font-weight: bold
}



.menu-item {
    padding: 4px;
}

.errorMessage {
    border: 1px solid black;
    background: whitesmoke;
    display: inline-block;
    padding: 1px;
    margin: 2px;
}



.button {
    -webkit-appearance: button !important;
    -moz-appearance: button !important;
    appearance: button !important;
}



.info-title {
    text-decoration: underline;
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 0;
}

.thread-link {
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0;
}


div#replies-page {
    padding: 15px 0 15px 5px;
}

