:root {
    --body-color: #f6f7f8;
    /* f6f7f8 */
    --text-color: #2e2f35;
    --text-light: #7d8baa;
    --vivaldi-color: #ef3939;
    --content-color: #fff;
    --primary-color: #00aff0;
    --primary-color-hover: #0091ea;
    --light-color: #ebedef;
    --border-radius: 6px;
    --border-color: #CAD1E1;
    --border-color-hover: #adb5c9;
    --box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    --border-input: rgba(0, 0, 0, 0.1);
    --border-input-active: rgba(0, 0, 0, 0.3);
    --menu-hover: rgba(0, 0, 0, .05);
    --menu-border: #ddd;
    --menu-links: #2F374F;
    --menu-dropdown: #fff;
    --menu-shadow: 0px 3px 7px 1px rgba(0, 0, 0, .1);
}

html,
body {
    background: var(--body-color);
    color: var(--text-color);
    margin: 0;
    text-align: left;
    font-size: 16px;
    font-family: system-ui, sans-serif;
    line-height: 1.5;
    font-weight: 400;
}

html,
body,
aside,
footer,
header,
nav,
section,
picture,
main {
    display: block;
    box-sizing: border-box;
    border: none;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    padding: 0 20px;
}

@media (min-width: 480px) {
    body {
        padding: 0 24px;
    }
}

@media (min-width: 640px) {
    body {
        padding: 0 32px;
    }
}

div,
a,
li,
button,
form,
select,
input,
textarea {
    box-sizing: border-box;
}

img,
svg,
picture {
    max-width: 100%;
    vertical-align: middle;
}

img {
    height: auto;
}

#usernav {
    position: relative;
    z-index: 90;
}

#userlink {
    display: block;
    background-color: transparent;
    color: var(--text-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    padding: 0 0 8px 0;
    margin-bottom: -8px;
    text-decoration: none;
    font-size: 15px;
    line-height: 32px;
    font-weight: 500;
    cursor: pointer;
}

#userlink img {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 100%;
}

#usertext {
    display: inline-block;
    max-width: 96px;
    height: 32px;
    line-height: 32px;
    text-align: right;
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    vertical-align: middle;
}

@media (max-width: 767.99px) {
    #userlink #usertext {
        display: none;
    }

    #userlink {
        margin-left: 8px;
    }
}

.avatarwrap {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .avatarwrap {
        width: 36px;
    }
}

.usermenu {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}

.usermenu li {
    list-style: none;
    margin: 0 !important;
}

.usermenu a,
.usermenu button {
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-size: 15px;
    border-radius: 5px;
}

.usermenu button svg {
    margin: 2px 0 0 0;
}

.usermenu .submenu {
    position: absolute;
    top: 100%;
    right: 0;
    box-shadow: var(--menu-shadow);
    background: var(--menu-dropdown);
    border: 1px solid var(--menu-border);
    border-radius: 5px;
    min-width: 160px;
}

.usermenu ul {
    margin: 0;
    padding: 0;
}

.usermenu .submenu li+li {
    border-top: 1px solid var(--menu-border);
}

.usermenu .submenu a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 15px;
    line-height: 20px;
    border-radius: 0;
    text-align: right;
    transition: all .2s ease-in-out;
    text-decoration: none;
}

.usermenu .submenu li:first-of-type a {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.usermenu .submenu li:last-of-type a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.usermenu>li {
    border: none;
    transition: all .1s ease-in-out
}

.showusermenu .submenu {
    display: block;
    visibility: visible;
    position: absolute;
    width: auto;
    z-index: 999;
    animation: slideUp .16s ease-in-out both;
}

.showusermenu .submenu svg {
    transform: scaleY(-1);
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.submenu {
    display: none;
}

.topmenu>li {
    position: relative;
}

.submenu[aria-hidden="false"] {
    visibility: visible;
}

.sub-menu--right {
    left: auto !important;
    right: 0 !important;
}

svg[hidden] {
    display: none;
    position: absolute;
}

main button,
.btn,
.btn-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid var(--primary-color);
    padding: 9px 20px;
    text-decoration: none;
    border-radius: 20px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    text-transform: uppercase;
}

.btn.login {
    margin-right: 3px;
}

.btn.signup,
.btn-more {
    background-color: var(--content-color);
    border-color: var(--border-color);
    color: var(--text-color) !important;
}

main button:hover,
.btn:hover {
    background: var(--primary-color-hover);
}

.btn.signup:hover,
.btn-more:hover {
    border-color: var(--border-color-hover);
    background-color: var(--content-color);
}

.center {
    text-align: center;
}

p {
    margin: 0;
}

b {
    font-weight: 600;
}

a {
    color: var(--text-color);
    text-decoration: underline;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

#splash {
    animation: zoom 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

#splash svg {
    display: block;
    margin: auto;
}

#splash+#content {
    display: none;
}

.no-js #splash,
.skip #splash {
    display: none !important;
}

.no-js #content,
.no-js #splash+#content,
.skip #content {
    display: block !important;
}


@keyframes zoom {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    90% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

header {
    padding: 24px 0;
}

.logo {
    display: block;
}

@media (max-width: 767px) {
    .logo {
        width: 180px;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    header {
        padding: 32px 0 24px 0;
    }

    #splash svg {
        width: 468px;
        height: 130px;
    }
}

@media (min-width: 1400px) {
    #splash svg {
        width: 612px;
        height: 170px;
    }
}

@media (min-width: 1920px) {
    #splash svg {
        width: 720px;
        height: 200px;
    }
}

.content {
    position: relative;
    width: 860px;
    max-width: 100%;
    min-width: 240px;
    margin: auto;
}

.split {
    display: flex;
    width: 100%;
    align-items: center;
}

.split>div:nth-child(1) {
    flex: 1;
}

.split.reverse {
    flex-direction: row-reverse;
}

.split.reverse>div:nth-child(1) {
    flex: none;
}

.split.reverse>div:nth-child(2) {
    flex: 1;
}

.hidden {
    display: none !important;
}

.headerlogo {
    display: flex;
    width: 100%;
    align-items: center;
}

.headerlogo div:nth-child(1) {
    flex: 1;
    padding-right: 8px;
}

@media (max-width: 767.99px) {
    .isloggedout header .split {
        display: block;
    }

    .isloggedout header .split>div:nth-child(2) {
        padding-top: 12px;
    }

    header .btn {
        padding: 6px 16px;
    }
}

.categories {
    display: none;
    position: absolute;
    left: -20px;
    width: 100vw;
    background-color: var(--content-color);
    border: 1px solid var(--border-color);
}

#menu-btn {
    display: block;
    background: transparent url("../images/menu-t0LV4hS.svg") center no-repeat;
    background-size: 24px;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    z-index: 999;
    box-shadow: none;
    border: none;
    transition: all 0.1s ease-in-out;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.showmenu #menu-btn {
    background: transparent url("../images/close-3Zi-BdS.svg") center no-repeat;
    background-size: 24px;
}

.showmenu .categories {
    display: block;
    box-shadow: 0 8px 26px var(--shadow);
    z-index: 999;
}

.showmenu .items {
    opacity: .2;
    filter: blur(6px);
}

.categories ul {
    list-style: none;
    list-style-position: outside;
    margin: 0;
    padding: 16px 0;
}

.categories li {
    padding: 0;
}

.categories a {
    text-decoration: none;
    display: block;
    color: var(--text-color);
    font-weight: 500;
    padding: 12px 22px;
}

.categories a:hover,
.categories a.selected {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    #menu-btn {
        display: none;
    }

    .categories {
        display: block;
        position: relative;
        background-color: transparent;
        padding-bottom: 30px;
        box-shadow: none;
        left: unset;
        width: 100%;
        border: none;
    }

    .categories ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .categories li {
        padding: 0 16px 6px 0;
    }

    .categories a {
        position: relative;
        padding: 0 2px 10px 2px;
    }

    .categories a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: var(--primary-color);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease;
    }

    .categories a:hover::after,
    .categories a.selected::after {
        transform: scaleX(1);
    }

    .categories a:hover,
    .categories a.selected {
        border-color: var(--primary-color);
    }
}

@media (min-width: 900px) {
    .categories li {
        padding-right: 22px;
    }
}

.item {
    background-color: var(--content-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .item {
        margin-bottom: 48px;
    }
}

.author {
    padding: 24px 24px 12px 24px;
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.author>div:nth-child(2) {
    flex: 1;
}

.authorname {
    font-weight: 600;
}

.description {
    width: 100%;
    padding: 4px 24px 24px 24px;
}

.credit {
    margin-top: 8px;
}

.credit a:hover {
    color: var(--text-color);
}

.username {
    color: var(--text-light);
}

main .avatar {
    border-radius: 100%;
    vertical-align: middle;
    margin-right: 12px;
}

.picture {
    background: #f3f3f3;
    overflow: hidden;
}

.restricted {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.logintoview {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(0, 0, 111, .2);
    z-index: 2;
    font-size: 13px;
    font-weight: 500;
    color: white;
    align-items: center;
    justify-content: center;
}

.logintoview > div {
    width: 100%;
    text-align: center;
}

.lock {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 8px auto;
    background: transparent url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xNyAxMFY4QzE3IDUuMjM4NTggMTQuNzYxNCAzIDEyIDNDOS4yMzg1OCAzIDcgNS4yMzg1OCA3IDhWMTBNMTIgMTQuNVYxNi41TTguOCAyMUgxNS4yQzE2Ljg4MDIgMjEgMTcuNzIwMiAyMSAxOC4zNjIgMjAuNjczQzE4LjkyNjUgMjAuMzg1NCAxOS4zODU0IDE5LjkyNjUgMTkuNjczIDE5LjM2MkMyMCAxOC43MjAyIDIwIDE3Ljg4MDIgMjAgMTYuMlYxNC44QzIwIDEzLjExOTggMjAgMTIuMjc5OCAxOS42NzMgMTEuNjM4QzE5LjM4NTQgMTEuMDczNSAxOC45MjY1IDEwLjYxNDYgMTguMzYyIDEwLjMyN0MxNy43MjAyIDEwIDE2Ljg4MDIgMTAgMTUuMiAxMEg4LjhDNy4xMTk4NCAxMCA2LjI3OTc2IDEwIDUuNjM4MDMgMTAuMzI3QzUuMDczNTQgMTAuNjE0NiA0LjYxNDYgMTEuMDczNSA0LjMyNjk4IDExLjYzOEM0IDEyLjI3OTggNCAxMy4xMTk4IDQgMTQuOFYxNi4yQzQgMTcuODgwMiA0IDE4LjcyMDIgNC4zMjY5OCAxOS4zNjJDNC42MTQ2IDE5LjkyNjUgNS4wNzM1NCAyMC4zODU0IDUuNjM4MDMgMjAuNjczQzYuMjc5NzYgMjEgNy4xMTk4NCAyMSA4LjggMjFaIiBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+DQo8L3N2Zz4=) center no-repeat;
    background-size: 32px 32px;
}

@media (min-width: 768px) {
    .logintoview {
        font-size: 14px;
    }

    .lock {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
        background-size: 48px 48px;
    }
}

.preview {
    display: block;
    width: 100%;
    filter: blur(18px);
    -webkit-filter: blur(18px);
    min-height: 180px;
}

.largeimage {
    display: block;
    width: 100%;
}

footer {
    padding: 32px 0 24px 0;
    font-size: 15px;
}

footer a {
    text-decoration: none;
}

footer .reverse svg {
    margin-bottom: 2px;
}

footer span {
    display: inline-block;
    padding: 0 3px;
    color: var(--text-light);
}

a.madeby {
    color: var(--vivaldi-color);
    font-weight: 500;
}

@media (min-width: 768px) {
    .contenterror {
        padding: 64px;
    }

    main {
        min-height: calc(100vh - 340px);
    }
}

.upload {
    background-color: var(--content-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 32px;
}

h1 {
    margin: 0;
}

h2, h3 {
    margin: 1.6667rem 0 1rem 0;
}

form,
form div {
    position: relative;
}

input {
    overflow: visible;
    padding: 0 10px;
    background-color: var(--body-color);
    color: var(--text-color);
    border: 2px solid var(--border-input);
}

input,
select,
textarea {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    border-radius: var(--border-radius);

}

textarea {
    width: 100%;
    overflow: auto;
    resize: vertical;
    line-height: 1.4;
    padding: 10px 15px;
    min-height: 80px;
    border: 2px solid var(--border-input);
    border-radius: var(--border-radius);
    margin: 0;
}

input:focus,
input:active,
textarea:focus,
textarea:active {
    outline: none;
    border-color: var(--border-input-active) !important;
}

#image_description {
    min-height: 160px;
}

label {
    display: block;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.required {
    position: relative;
}

label+p,
.label+p,
input[type=radio]+label,
label[for=terms],
.check {
    font-weight: 400;
    font-size: 15px;
}

form b {
    font-weight: 500;
}

[type="checkbox"],
[type="radio"] {
    padding: 0;
    margin-right: 4px;
}

[type="text"],
[type="url"] {
    padding: 8px 12px;
}

/* Upload form */

form {
    margin: 0;
    width: 100%;
}

form>div>div {
    padding-bottom: 20px;
}

form label {
    display: inline-block;
    padding-right: 12px;
    padding-bottom: 12px;
}

form input[type="text"] {
    width: 100%;
}

form p {
    margin: -1px 0 8px 0;
    padding-bottom: 8px;
}

form .errors {
    margin: 0 0 12px 0;
    padding: 0;
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-fill-mode: both;
}

form .error {
    margin: 0;
    padding: 5px 0;
    color: var(--vivaldi-color);
    list-style: none;
    font-size: 14px;
}

#image_categories label {
    font-weight: 400;
}

input[type=checkbox] {
    margin-right: 6px;
}

input[type=file] {
    border: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
}

#imagePreview {
    width: 100%;
    height: auto;
    display: none;
}

.uploaderror,
.uploadsuccess {
    font-size: 24px;
    font-weight: 500;
    margin: 64px 0;
}

/* Actions bar */

.actions {
    padding: 12px 24px;
    display: flex;
}

.actions div:first-child {
    flex: 1;
}

.cats {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cats li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.cats li+li {
    margin-left: 10px;
}

@media (max-width: 479px) {
    .cats li+li {
        display: none;
    }

    .isloggedin .cats {
        margin: 0 0 0 -3px;
        padding: 0 0 0 30px;
    }
}

@media (max-width: 639px) {
    .cats li+li+li {
        display: none;
    }
}

.like {
    border: none;
}

.like,
.cats a,
.cats a:hover {
    display: inline-block;
    background: transparent;
    color: #2e2f35 !important;
    padding: 0;
    border-radius: 0;
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

.like:hover {
    background-color: transparent;
}

.cats a:hover {
    color: var(--primary-color-hover) !important;
}

.isliked {
    color: var(--vivaldi-color) !important;
}

.like span {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: transparent url("../images/heart-grey-4D_1XnS.svg") center no-repeat;
    background-size: 18px;
    vertical-align: middle;
    margin: 0 4px 0 -4px;
    transition: all 0.1s ease-in-out;
}

@media (max-width: 639px) {

    .like,
    .cats a,
    .cats a:hover {
        font-size: 15px;
    }

    .like span {
        margin-right: 6px;
    }
}

.isliked span {
    background: transparent url("../images/heart-red-a4p8Xmk.svg") center no-repeat;
    background-size: 18px;
    animation: like .4s ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

@keyframes like {
    0% {
        background-size: 8px;
    }

    50% {
        background-size: 24px;
    }

    75% {
        background-size: 14px;
    }

    100% {
        background-size: 18px;
    }
}


.item>div:last-child {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.delete,
.delete:hover {
    display: inline-block;
    margin-top: 1rem;
    color: var(--vivaldi-color);
    font-weight: 500;
    text-decoration: none;
}

#delete_image {
    display: flex;
}

#delete_image_cancel {
    margin-right: 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 10px 22px;
}

.sendfjord,
.social {
    padding: 0 0 20px 0;
}

.sendfjord span {
    display: inline-block;
    padding: 0;
    color: var(--text);
}

.social a {
    display: inline-block;
    vertical-align: middle;
    margin: 4px;
}

@media (max-width: 767.9px) {
    footer {
        text-align: center;
    }

    footer .split {
        display: block;
        padding: 5px 0;
    }

    footer .split div {
        padding: 5px 0;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding-top: 56.25%;
    border-radius: var(--border-radius);
}

.video-placeholder,
.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: var(--border-radius);
}

.video-placeholder {
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}

@media (max-width: 479.9px) {
    .video-wrapper {
        width: auto;
        margin-left: -20px;
        margin-right: -20px;
    }
    .video-wrapper,
    .video-placeholder,
    .video-iframe,
    .video-placeholder img {
        border-radius: 0;
    }
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: url("../images/play-h98uo4s.svg") no-repeat center center;
    background-size: contain;
    pointer-events: none;
    /* Let click pass through */
    transition: transform .2s ease
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 767px) {
    .play-button {
        width: 48px;
        height: 48px;
    }
}

hr {
  margin: 2.25rem 0 2rem 0;
  border: none;
  height: 1px;
  background-color: var(--border-color);
}

.about p {
    margin: 1rem 0;
}

.about a {
    font-weight: 500;
    color: var(--primary-color);
}