﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;600&display=swap');*/

html {
    font-size: 16px;
}

@media (max-width: 1366px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 12.44445px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Open Sans', sans-serif;
    /*font-family: 'Inter', sans-serif;*/
    font-size: 1rem;
}

@media (max-width: 480px) {
    body {
        background: none !important;
    }
}

.font-100 {
    font-size: 0.875rem
}

.font-300 {
    font-size: 1rem
}

.font-400 {
    font-size: 1.175rem
}

.font-500 {
    font-size: 2.5rem
}

/* Logo */
.beta-mark {
    color: #FF5722;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Sidebar */
.side-menu {
    font-size: 0.875rem;
}

    .side-menu a {
    }

/* Form components */
label {
    font-weight: 600;
    color: var(--color-main-700);
    font-size: 0.875rem;
    width: 100%;
}

/* alerts */
.top-alert {
    border-left: 0.5rem solid var(--md-orange-400);
    padding: 0.8rem 1rem;
    display: inline-flex;
    margin: 1rem 1rem 0.4rem;
}

    .top-alert svg {
        width: 1.5rem;
        height: 1.5rem;
        margin-right: 1rem;
    }

.h2-auth {
    font-size: 1.3rem;
    line-height: 1.6rem;
}

p + p {
    margin-top: 1rem;
}

a {
    color: #5470cb;
}

    a:hover {
        color: var(--color-main-800);
    }

/* Typo helpers */

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-wrapper {
    overflow: hidden;
}

    .truncate-wrapper:after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0px;
        width: 3rem;
        height: 1rem;
        background: linear-gradient(to right, rgba(40, 40, 40, 0), rgb(255 255 255 / 90%) 50%);
    }

.break-word {
    word-break: break-word
}

a.link-clipboard:empty {
    display: none;
}

a.link-clipboard {
    /* border: 1px solid lightskyblue; */
    padding: 0.5rem 0.5rem;
    margin-top: 0.3rem;
    display: inline-block;
    border-radius: 3px;
    padding-left: 1.8rem;
    position: relative;
    background: var(--color-main-300);
    text-decoration: none;
    white-space: break-spaces;
}

    a.link-clipboard:before {
        content: '';
        width: 1.4rem;
        height: 1rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z' fill='cornflowerblue' /%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: 1rem;
        position: absolute;
        left: 0.5rem;
        top: 0.5rem;
    }

a.link-copied:hover,
a.link-copied {
    background: #00cccc;
    display: inline-block;
    padding: 1rem 1rem;
    text-decoration: none;
    color: #fff !important;
    font-size: small;
    border-radius: 3px;
    white-space: break-spaces;
}

    a.link-copied:before {
        position: inherit;
        background: none;
        content: attr(data-link-copied) ': ';
        display: block;
        font-size: 1rem;
        width: auto;
        left: 0;
        top: 0;
        line-height: 1rem;
        margin-bottom: 1rem;
    }

.border {
    border: 1px solid var(--border);
}
