﻿body, html
{
    font-size: 100%;
    height: unset;
}

.sky
{
    background-color: #710f8a;
    height: unset;
    min-height: 100vh;
}

#users-block
{
    display: none;
}

#users-wrapper
{
    max-height: calc(100vh - 275px);
    overflow-x: hidden;
    overflow-y: auto;
}

body.family-OK #users-block
{
    display: block;
}

body.family-OK .no-family
{
    display: none !important;
}

#new-family-block
{
    justify-content: center;
}

body.family-OK #new-family-block
{
    height: 100%;
    justify-content: end;
}

body.family-OK #family-name-block
{
    display: none;
}

body.family-OK #new-family-block
{
    position: absolute;
    right: 10px;
    top: 15px;
    display: block !important;
    height: initial;
}

@media (orientation: portrait)
{
    body.family-OK #new-family-block
    {
        top: 48px;
    }
}

#family-name-display
{
    position: absolute;
    top: 55px;
    display: none;
}

body.family-OK #family-name-display
{
    display: block;
}


#error
{
    background-color: #00000099;
    transform-origin: center;
    transform: scaleX(1.05);
}

#rubrik
{
    font-size: 28px;
}

#family-name-display
{
    font-size: 24px;
    font-weight: bold;
    color: #fe99ff;
    margin-top: -10px;
}

#secretsanta-link
{
    color: #ffffffdd;
}

#secretsanta-link:hover
{
    color: #ffffffff;
}

#kopierad
{
    top: 0;
    left: 0;
    color: #fe99ff;
    font-size: 24px;
    opacity: 0;
}

.sensitive
{
    display: none;
}

body.admin-se .sensitive
{
    display: table-cell;
}

#admin-se-wrapper
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: center;
    width: 180px;
    justify-content: space-between;
}

#admin-se
{
    font-size: 150%;
}