:root {
    --main-color: #0050a3;
    --light-color: #cee7fb;
    --sel-color: #afc2ef;
    --font: "Lato";
}

html {
    background-color: var(--main-color);
    color: white;
    font-size: 1em;
    line-height: 1.4;
    font-family: var(--font), sans-serif;
}

::selection {
    background: var(--sel-color);
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--main-color);
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.hidden,
[hidden] {
    display: none !important;
}

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;

    &.focusable {
        &:active,
        &:focus {
            clip: auto;
            height: auto;
            margin: 0;
            overflow: visible;
            position: static;
            white-space: inherit;
            width: auto;
        }
    }
}

.invisible {
    visibility: hidden;
}

.clearfix {
    &::before,
    &::after {
        content: "";
        display: table;
    }

    &::after {
        clear: both;
    }
}

@media only screen and (max-width: 768px) {
    body > .content {
        width: 95% !important;
        margin: 20px auto !important;
    }

    .footer {
        width: 95% !important;
    }

    h1{
        margin-top: 75px !important;
    }
    #menu {
        font-size: 16px;

        li {
            display: block;
            margin: 10px 0;
        }
    }

    #search {
        select,input[type="text"] {
            width: 100% !important;
            margin: 5px 0 !important;
        }
    }

    .result {
        width: 100%;
        margin: 10px 0;
        padding: 12px;
        background-position: 12px 20px;
    }

    .logoNotes {
        padding-left: 0;

        > div {
            width: 100% !important;
            float: none !important;
            margin-bottom: 10px;
        }
    }

    ul.logos li {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
}

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a {
        text-decoration: underline;

        &:visited {
            text-decoration: underline;
        }

        &[href]::after {
            content: " (" attr(href) ")";
        }

        &[href^="#"]::after,
        &[href^="javascript:"]::after {
            content: "";
        }
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .asw-widget {
        display: none;
    }
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    > .content {
        width: 905px;
        margin: 50px auto;
        flex: 1;
    }
}

.footer {
    background-color: var(--main-color);
    color: white;
    padding: 10px;
    width: 905px;
    margin: 0 auto;
}

h1 {
    font-size: 36px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;

    img {
        max-width: 100%;
        height: auto;
    }

    .iblue {
        background-color: var(--main-color);
        color: white;
        padding: 0 5px;
    }

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

        &:hover {
            text-decoration: none;
        }
    }
}

p, ul {
    margin-block-start: 0.4em;
    margin-block-end: 0.4em;
}

a {
    text-decoration: none;
    color: var(--main-color);

    &:hover {
        text-decoration: underline;
    }
}

#menu {
    display: inline-block;
    list-style-type: none;
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 24px;
    border-top: 1px solid white;
    padding: 16px 0 0;
    width: 100%;

    li {
        display: inline;
        margin: 0 10px;
    }

    a {
        text-decoration: none;
        color: white;
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        padding: 0 5px;

        &:hover {
            color: var(--light-color);
        }
        &:hover::after {
            /*content: '';*/
            /*position: absolute;*/
            /*left: 0;*/
            /*right: 0;*/
            /*bottom: 2px;*/
            /*height: 8px;*/
            /*background-color: white;*/
            /*z-index: -1;*/
        }
    }
}

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

.summary, .about.summary {
    font-size: 21px;
    line-height: 1.3;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 400;
    text-align: center;
}

#search {
    margin: 24px 0 0;

    input, select {
        font-size: 18px;
        margin: 0 5px;
        display: inline-block;
        padding: 3px 20px 3px 7px;
        background-repeat: no-repeat;
        background-position: right 10px center;
        font-weight: 400;
        font-family: var(--font), sans-serif;
    }

    select {
        font-weight: 400;
        width: 212px;
        appearance: none;
        border: 0;
        border-radius: 0;
        background-color: white;
        box-sizing: border-box;
        color: var(--main-color);
        background-image: url("../img/down.svg");
        background-size: 9px;

        option {
            color: var(--main-color);
            font-weight: normal;
            font-size: 10px;
        }
    }

    input[type="text"] {
        width: 364px;
        background-color: transparent;
        border: 1px solid white;
        border-radius: 0;
        box-sizing: border-box;
        color: white;
        background-image: url("../img/right.svg");
        background-size: 6px;
        margin-left: 0;
        font-style: italic;
    }

    input::placeholder {
        color: white;
    }
}

.resultsCount, .notice {
    margin-top: 12px;
    color: white;
    font-size: 16px;
    font-weight: 400;
}

.notice {
    margin-top: 0;
    color: var(--light-color);
}

#resultsHolder {
    display: flex;
    flex-wrap: wrap;
    margin: 10px -5px -5px;

}

.result {
    color: black;
    font-size: 16px;
    font-weight: 400;
    width: calc(50% - 10px);
    margin: 5px;
    box-sizing: border-box;
    background: white url("../img/sound.svg") no-repeat 16px 30px;
    background-size: 48px;
    padding: 12px 12px 12px 84px;
    cursor: pointer;

    @media (max-width: 768px) {
        width: 100%;
    }

    &:hover {
        background-color: var(--light-color);
    }

    h2 {
        font-weight: 400;
        font-size: 21px;
        display: block;
        position: relative;
        margin: 0;

        .Titulo {
            font-weight: 700;
        }
    }

    .Autor_Realizador {
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 700;

        .val {
            text-transform: none;
            font-size: 18px;
            font-weight: 400;
        }
    }

    .Tradutor {
        color: var(--main-color);
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 700;

        .val {
            text-transform: none;
            font-size: 18px;
        }

        .Ano_trad {
            text-transform: none;
            font-size: 18px;
            font-weight: 400;
        }
    }
}

.logoNotes {
    font-size: 9px;
    padding-left: 58px;
    margin: 10px auto 50px;

    a {
        font-size: 11px;
        font-weight: 600;
        color: var(--light-color);
    }
}

ul.logos {
    list-style-type: none;
    margin: 0;
    border-top: 1px solid white;
    padding: 28px 0 0;

    li {
        display: inline;
        margin: 0;

        img {
            max-width: 100%;
            height: auto;
        }
    }
}

.two_columns {
    column-count: 2;
    column-gap: 20px;

    @media (max-width: 768px) {
        column-count: 1;
    }

    p:first-child {
        margin-top: 0;
    }

    p, li {
        break-inside: avoid;
    }
}

.asw-menu {
    .asw-menu-header {
        background-color: var(--main-color) !important;
    }
}

.asw-widget {
    .asw-menu-btn {
        left: auto !important;
        right: 30px !important;
        top: 30px !important;
        bottom: auto !important;
        box-shadow: 0 5px 15px 0 rgb(37 44 97 / 15%), 0 2px 4px 0 rgb(93 100 148 / 20%);
        border: 3px solid #fff !important;
        outline: 5px solid var(--main-color) !important;
        text-decoration: none !important;
        background: var(--main-color) !important;
        background: linear-gradient(96deg, var(--main-color) 0, var(--main-color) 100%) !important;
    }
}