@media only screen and (max-width: 1000px) {

span.tag-container {
	font-size: max(16px, 1.3vw, 1.3vh);
}

.action {
    font-size: 1.5em !important;
    line-height: 1.65em !important;
}

#chat-body-container {
    height: 80vh !important;
}


.media-header-link {
    display: none;
}

#broadcasting-icon {
    display: none;
}

.frontpage-media-title {
    font-size: 14px !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-it-title, .media-it-bot-line {
    font-size: 20px !important;
}

.code {
    font-size: 2.8vw !important;
}


#media-carousel-list, .carousel-row {
    display: flex !important;
    overflow-y: auto;
    margin: 1vh 0 2vh 0 !important
}

#media-carousel-list > * .media-it-holder {
    margin: 0 1vw 0 1vw !important;
}

.media-it-holder * .user-link, .media-it-holder * .fa {
    display: none !important;
}

#media-carousel-list > * img.media-it-thumb {
    width: 35vw !important;
    height: 30vw !important;
    object-fit: contain;
}

.top-medias > * img.media-it-thumb {
    width: 20vw !important;
    height: 20vw !important;
    object-fit: contain;
}


img#media-sender-avatar {
    /*
    min-height: 50px !important;
    min-width: 50px !important;
    */
    width: 55px !important;
    height: 65px !important;
    max-width: unset !important;
    max-height: unset !important;
    object-fit: scale-down;
}

span#media-size, span#media-file-count {
    display: none !important;
}


h3.tag {
    font-size: 3vw;
}

.status-actions {
    margin-top: 5px;
    margin-bottom: 5px;;
    font-size: 36px;
}

#status-header * {
    font-size: 30px !important;
}


textarea {
    font-size: 30px !important;
    line-height: 30px !important;
    font-size: 4vw !important;
    line-height: 4.1vw !important;
}

#broadcast-target {
    display: block;
    text-align: center;
}

.feeds-container {
    font-size: 150%;
}

#new-users > .feeds-items-container {
    justify-content: space-evenly !important;
}

.status-message-container {
    max-height: 325px !important
}

.comments-meta {
    font-size: 3vw !important;
}

.new-user {
    width: 48%;
    display: inline-flex;
    text-overflow: ellipsis;
    font-size: smaller;
}

#new-users {
     display: none !important;
 }


.huutoboxi-usr-link {
    font-size: 20px !important;
}

.huutoboxi-msg {
    font-size: 25px;
}

.message-user-info-container {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.message-meta {
    width: 250px !important;
    font-size: 17px !important;
}

.date-added, .date-edited {
    font-size: 2.5vw !important;
}

#channel-actions {
    display: none !important;
}

.fileinfo {
    display: none;
}

.message-content, .status-message {
    font-size: 150% !important;
}

.status-message {
    padding-bottom: 5px !important;
    margin-top: 25px !important;
    line-height: 50px;
}

#message-input {
    min-height: 190px !important;
}

.message-user-info-messages {
    display: none !important;
}

.chat-message-container > .message {
    font-size: 25px;
}

#message-options * {
    font-size: 35px !important;
}

#message_option_check {
    transform: scale(2.0)
}

body, #main-container {
    margin-bottom: 0 !important;
}

#channel-content {
    min-width: 100% !important;
}

#channel-container {
    display: block;
}

html {
    font-size: 15px;
}

.fa {
    font-size: 40px;
    height: 40px;
}

#thread-header {
    height: 50px !important;
}

a.thread-link {
    line-height: 35px !important;
}

#preview {
    max-width: 90vh !important;
    max-height: 90vw !important;
    overflow: scroll;
}

#channel-meta, #user-info-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 100% !important;
}

.message-text, #status-update {
    margin: 2px !important;
    padding: 2px !important;
}

.forum-thread, .message-reply {
    font-size: 18px;
    line-height: 20px;
}

#mahti-modal-cover {
    font-size: 2.5vw;
}

#media-modal-header > * {
    font-size: 7vh !important;
    line-height: 7vh !important;
}


.message-user-info-name {
    font-size: 20px !important;
}

.message-header {
    font-size: 30px !important;
    line-height: 35px !important;
    padding: 5px !important;
    display: flex !important;
    justify-content: space-between;
}

.message-text {
    font-size: 150% !important;
    line-height: 120% !important;
}

.feeds-log. .info-item {
    font-size: 30px;
    line-height: 35px;
    text-overflow: clip;;
}

.info-item {
    font-size: 27px !important;
}

.status-update, #status-update, #thread-container {
    font-size: 200% !important;
    line-height: 120% !important;
}

div#media-mod-actions {
    font-size: 3vw !important;
}

h1#media-title {
    font-size: 40px !important;
    max-width: 98%;
}

.media-jump {
    font-size: 5vw !important;
}

h3.tag {
    font-size: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

h5.channel-name {
    font-size: 30px !important;
}


#media-rate {
    font-size: 40px;
}

.media-file > .embedded-media {
    height: 100% !important;
    width: 100% !important;
}

.media-file {
    margin: 0 !important;
    max-width: 100%;
}

#media-basic-info {
    position: sticky !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center !important;
    filter: opacity(80%);
    font-size: 4vw !important;
    line-height: 4.1vw !important;
}


#user-avatar {
    display: inline-block !important;
    max-width: 20vw !important;
    margin: auto !important;
    vertical-align: middle;
}

#user-avatar > h4 {
    margin: 0 !important;
    padding: 0 !important;
}

#user-avatar-img {
    width: 20vw !important;
    vertical-align: initial !important;
}

#user-avatar > a {
    overflow: hidden;
}

.user-item-container {
    width: 40% !important;
}

.user-item-container > .user-link {
    font-size: 3vw !important;
}


#user-info-container {
    padding: 15px;
}

#user-info {
    max-height: 320px !important;
    overflow: auto;
    vertical-align: top;
    width: calc(100% - 20vw) !important;
    margin-left: 30px !important;
}

#user-avatar > a {
    font-size: 28px !important;
}

#user-channels > .info-item-what:first-child {
    font-size: 35px !important;
}

#user-description, #channel-desc {
    font-size: 2.5vw !important;
}

#js-files > button {
    height: 2em !important;
}


.user-basic-info {
    min-width: 60% !important;
    margin-right: 15px;
    display: inline-flex !important;
    overflow-y: auto;
}

#channel-basic-info, #user-channels {
    max-height: 300px;
    min-width: 200px !important;
    overflow: scroll;
}

div#media-basic-info {
    font-size: 28px;
}

#profile-site-container {
    width: 100% !important;
}

#channel-navi {
    display: flex;
    border: 1px solid black !important;
}

body {
    padding: 5px;
}

.menu-item-separator {
    display: none;
}

#about-page {
    font-size: 2.3vw;
}


#main-header > button, #main-header * > button, #main-header * > input {
    height: 25px !important;
    margin-left: auto !important;
    margin-right:  auto !important;
    height: 40px !important;
}

#main-container, #main-header {
    min-width: 100% !important;
}

#main-navi > .menu-group {
    display: flex !important;
    float: none !important;
    font-size: 35px;
    padding: 5px;
    align-items: center;
}

.menu-group {
    font-size: 1.8vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.menu-group-outer {
    display: none;
}

.menu-group > a {
    padding: 1.5vw !important;
}

.status-date {
    display: none;
}

.user-group {
    float: none !important;
}

.dropdown-expand {
    width: 45px;
    right: 0;
}

body {
    line-height: 210% !important;
    font-size: 20px;
}

p {
    font-size: 18px;
}

.div {
    font-size: 5vw !important;
}

div#show-replies-holder, div#replies-footer {
    font-size: 3.5vw;
    line-height: 3.5vw;
}


div.reply-header {
    font-size: 3vw;
    line-height: 3.3vw;
}

div.reply-header > a {
    font-size: 3.5vw;
    line-height: 3.5vw;
    margin: 0 15px 0 15px;
}

#feeds-sorters {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-y: auto;
    align-items: center;
}

}
