@import "../colors";
@import "../variables";

$logo_width: 255px;
$logo_height: 30px;

$logo_small_width: 150px;
$logo_small_height: 18px;

.Logo {
    display: inline-block;
    position: relative;
}

.Logo-main {
    color: $gorilla;
    height: $logo_height;
    width: $logo_width;
}

.Logo-small {
    height: $logo_small_height;
    width: $logo_small_width;
}

.Logo-image {
    width: 100%;
}

.Logo-test-indicator {
    background: $parrot;
    border-radius: $border_radius_main;
    color: $color_text_invert;
    font-size: $_font_size_label_default;
    left: 100%;
    margin-left: $offset_main;
    padding: $offset_main * .5;
    position: absolute;
    top: 0;
    white-space: nowrap;

    .Logo-small & {
        background: none;
        border: 1px solid $color_text_invert;
        color: $color_text_invert;
        opacity: .3;
        padding-bottom: 0;
        padding-top: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

.Logo-test-title,
.Logo-test-host {
    display: inline-block;
}

.Logo-test-title {
    letter-spacing: .2em;
    position: relative;
    text-transform: uppercase;

    &::after {
        content: "|";
        display: inline-block;
        padding: 0 ($offset_main * .5);
    }
}

.Logo-test-host {
    font-size: 11px;
    line-height: 1;
}

.Logo-test-host-title {
    font-weight: $weight_bold;
}

.Logo-link {
    &,
    &:visited,
    &:active,
    &:hover,
    &:focus {
        color: inherit;
    }
}
