@media screen and (max-width: 950px) {
    .desktop {
        visibility: hidden !important;
        display: none !important;
    }
}

#app {
    font-family: "Raleway", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

html,
body {
    height: 100%;
    margin: 0;
    background: #f1f1f1;
}

.wrapper {
    min-height: 100%;
    margin-bottom: -50px;
}

.footer,
.push {
    height: 50px;
}

.footer .content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #9a9a9a;
}

.material-icons {
    vertical-align: middle;
}

.badge-container {
    position: relative;

    .badge {
        top: -13px;
        position: absolute;
        right: -4px;
        border-radius: 4px;
        background: #f44336;
        color: #fff;
        padding: 1px 6px;
        font-size: 0.8rem;
        font-weight: bold;
    }
}

.app-bar {
    background: #fff;
    display: flex;
    padding: 0 70px 0 80px;
    height: 60px;
    overflow: hidden;

    @media screen and (max-width: 950px) {
        padding: 0 20px 0 80px;
    }

    .separator {
        margin: 0 30px 0 16px;
        border-left: 2px solid #f1f1f1;
        height: 20px;
    }

    .nav {
        flex: 1;

        div {
            display: inline-flex;
            height: 100%;
        }
    }

    img {
        height: 60px;
        top: 8px;
        left: 40px;
        position: absolute;
    }

    .logo {
        .title {
            font-weight: bold;
            padding: 20px 15px 0 15px;
            font-family: "Montserrat", sans-serif;
        }
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    ul {
        padding: 0;

        li {
            display: inline-block;
            list-style-type: none;
            margin-right: 28px;

            &.active {
                border-bottom: 3px solid #006494;
            }
        }
    }

    .shiny {
        display: inline-block;
        border-radius: 4px;
        background-color: #f46f52;
        color: #fff;
        padding: 0.5em 1em;
        font-weight: 400;
        transition: background-color 100ms ease-out;
        text-align: center;
        margin: 0 10px;
        line-height: 1em;

        &:hover {
            background-color: #0f2b46;
            color: #fff;
        }
    }
}

.translate-wrapper {
    width: 66%;
    margin: auto;

    @media screen and (max-width: 950px) {
        width: 90%;
    }
}

.highlight {
    text-shadow: 0px 0px 7px #42b983;
    cursor: pointer;
}

h3 {
    margin: 40px 0 10px;

    a {
        color: #42b983;
    }
}

.lemma {
    h2 {
        color: #265180;

        em {
            font-size: 0.4em;
        }
    }

    .content {
        margin-left: 10px;
    }
}

.editor-holder {
    position: relative;
    width: 100%;
    height: 200px;
    background: #fff;
    overflow: hidden auto;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.4);

    .textarea {
        width: 100%;
        height: auto;

        border: 0;

        position: absolute;
        top: 0;
        left: 0;

        margin: 0;
        padding: 20px !important;

        font-size: 14px;
        line-height: 21px;
        overflow: visible;

        transition: all 0.5s ease-in-out;
        font-family: "Raleway", sans-serif;
        white-space: normal;
    }

    textarea {
        background: transparent !important;
        height: auto;
        resize: none;
        caret-color: #42b983;

        &:focus {
            outline: 0;
            border: 0;
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
            box-shadow: none;
        }
    }
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #42b983;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.material-icons {
    vertical-align: middle;
}