:root {
    --theme-max-breakpoint: 1440px;
    --theme-color-primary: #0043F4;
    --theme-color-blue-1: #0043f314;
    --theme-color-blue-2: #0041f425;
    --theme-color-orange-1: #FF7600;
    --theme-color-orange-2: #FFF3E6;
    --theme-color-orange-3: #9D7654;
    --theme-color-red-1: #FF3100;
    --theme-color-red-2: #ffe6e6;
    --theme-color-red-3: #9d5454;
    --theme-color-gray-1: #888888;
    --theme-color-gray-2: #F4F4F4;
    --theme-color-gray-3: #D9D9D9;
    --theme-color-gray-4:#F8F8F8;
    --theme-color-gray-5: #434343;
}

@font-face {
    font-family: 'Gill Sans';
    src: url('../../public/fonts/GillSans-SemiBold.woff2') format('woff2'),
    url('../../public/fonts/GillSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans';
    src: url('../../public/fonts/GillSans.woff2') format('woff2'),
    url('../../public/fonts/GillSans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Gill Sans', 'Helvetica Neue', Helvetica, Arial;
    font-weight: normal;
}

body>#root {
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
}

p {
    line-height: 1.4;
}

.container {
    display: flex;
    max-width: var(--theme-max-breakpoint);
    flex-direction: column;
    margin: auto;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    transition: .2s background-color ease-in-out;
}

.btn.disabled {
    pointer-events: none;
    background-color: var(--theme-color-gray-2);
    color: var(--theme-color-gray-1);
}

.btn:hover {
    background-color: blue;
}

.btn.secondary {
    background-color: var(--theme-color-blue-2);
    color: var(--theme-color-primary);
}

.btn.secondary.warning {
    background-color: var(--theme-color-orange-2);
    color: var(--theme-color-orange-1);
}

.btn.secondary.danger {
    background-color: var(--theme-color-red-2);
    color: var(--theme-color-red-1);
}

input[type="text"] {
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid var(--theme-color-gray-3);
    min-height: 42px;
    outline: none;
    text-indent: 12px;
    width: 100%;
    transition: .2s box-shadow ease-in-out, .2s border-color ease-in-out;
}

input[type="text"]:focus {
    box-shadow: 0 0 0 3.5px #0042f33b;
    border: 1px solid #0043f3b3;
}

.input-group {
    display: flex;
    grid-gap: 10px;
}

.input-group.grow>input {
    flex-grow: 1;
}

label {
    color: var(--theme-color-gray-1);
    font-weight: 600;
    margin-bottom: 10px;
}

.badge {
    background-color: var(--theme-color-primary);
    color: white;
    padding: 3px 7px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 11px;
    margin-left: 5px;
}

.info {
    background-color: var(--theme-color-blue-1);
    padding: 17px 25px 20px 60px;
    font-size: 14px;
    line-height: 1.25;
    border-radius: 6px;
    position: relative;
}

.info.warning {
    background-color: var(--theme-color-orange-2);
    color: var(--theme-color-orange-3);
}

.info.danger {
    background-color: var(--theme-color-red-2);
    color: var(--theme-color-red-3);
}

.info::before {
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../../info-primary.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.info.warning::before {
    background-image: url(../../info-warning.png);
}

.info.danger::before {
    background-image: url(../../info-danger.png);
}

.external-maps {
    background-color: var(--theme-color-gray-2);
    color: var(--theme-color-gray-1);
    display: flex;
    align-items: center;
    padding: 7px 10px;
    text-decoration: none;
    border-radius: 6px;
    grid-gap: 5px;
    font-size: 15px;
}

.external-maps>img {
    height: 16px;
}

header {
    border-bottom: 1px solid var(--theme-color-gray-2);
}

header>.container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}

header .logo-header>a>img {
    width: 170px;
}

header nav>ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

header nav>ul>li:not(:last-child) {
    margin-right: 30px;
}

header nav>ul>li>a,
footer .footer-wrapper>.footer-center>ul>li>a,
footer .footer-wrapper>.footer-right>a {
    text-decoration: none;
    color: var(--theme-color-gray-1);
}

main>.action-screen {
    background-image: linear-gradient(90deg, var(--theme-color-primary) 50%, transparent 50%);
}

main>.action-screen>.container {
    min-height: calc(100vh - 65px);
    justify-content: center;
}


main>.action-screen .action-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
}

main>.action-screen .action-wrapper>.action-hero,
main>.action-screen .action-wrapper>.action-form {
    display: flex;
    flex-direction: column;
}

main>.action-screen .action-wrapper>.action-hero {
    align-items: center;
    text-align: center;
    color: white;
    max-width: 480px;
    min-height: 320px;
    margin: auto;
    justify-content: center;
    background-image: url(../../section-background.jpg);
    background-size: 73%;
    background-repeat: no-repeat;
    background-position: center;
}

main>.action-screen .action-wrapper>.action-hero>* {
    margin: 0;
}

main>.action-screen .action-wrapper>.action-hero>p {
    margin-top: 15px;
}

main>.action-screen .action-wrapper>.action-hero>img {
    width: 70px;
    margin-bottom: 15px;
}

main>.action-screen .action-wrapper>.action-form>form {
    display: flex;
    flex-direction: column;
    max-width: 520px;
    width: 100%;
    margin: auto;
}

main>.action-screen .action-wrapper>.action-form .info {
    margin-top: 20px;
}

main>#unlock-note .action-form>form>.input-group>input:placeholder-shown ~ button {
    pointer-events: none;
    background-color: var(--theme-color-gray-2);
    color: var(--theme-color-gray-1);
}

main>.note-head {
    background-color: var(--theme-color-primary);
    color: white;
}

main>.note-head>.container>* {
    margin: 0;
}

main>.note-head>.container>h1 {
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 80%;
    font-size: 24px;
}

main>.note-head>.container>p {
    font-size: 14px;
    opacity: .7;
}

main>.note-head>.container {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    background-image: url(../../section-background.jpg);
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: right 15px;
}

main>.note-content {
    min-height: calc(100vh - 160px);
}

main>.note-content .note-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-gap: 48px;
    padding-top: 40px;
}

.in-depth-ads {
    padding: 0 !important;
    grid-column: 1/3;
    justify-content: center;
    display: flex;
}

.in-depth-ads a,
.in-depth-ads img {
    width: 100%;

}

.in-depth-ads a {
    display: flex;
    max-width: 1440px;
}

.in-depth-ads img {
    border-radius: 10px;
    height: 100%;
}

main>.note-content .note-content-wrapper>.note-gallery>.gallery-wrapper {
    margin-top: 15px;
}

main>.note-content .note-content-wrapper>.note-gallery>.gallery-wrapper>img {
    object-fit: cover;
    border-radius: 10px;
}

main>.note-content .note-content-wrapper>.note-meta p {
    margin: 10px 0 0 0;
    color: var(--theme-color-gray-5);
    font-size: 16px;
}

main>.note-content .note-content-wrapper>.note-meta>div:not(:last-of-type) {
    margin-bottom: 40px;
}

main>.note-content .note-content-wrapper>.note-meta>.geopos-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

main>.note-content .note-content-wrapper>.note-meta>.geopos-wrapper>.coordinates-wrapper {
    display: flex;
    grid-gap: 7px;
    align-items: center;
}

main>.note-content .note-content-wrapper>.note-meta>.geopos-wrapper>.coordinates-wrapper>.coordinates {
    font-size: 20px;
}

main>.note-content .note-content-wrapper>.note-meta>.geopos-wrapper>.coordinates-wrapper>.clipboard {
    padding: 5px;
    background-color: var(--theme-color-gray-2);
    border-radius: 5px;
    display: flex;
}

main>.note-content .note-content-wrapper>.note-meta>.geopos-wrapper>.coordinates-wrapper>.clipboard>img {
    width: 14px;
    opacity: .5;
}

main>.note-content .note-content-wrapper>.note-meta>.geopos-wrapper>.maps-apps {
    display: flex;
    grid-gap: 10px;
}

main>.note-content .note-content-wrapper>.note-meta>.note-actions {
    display: flex;
    grid-gap: 10px;
    margin-top: 10px;
}

footer {
    background-color: var(--theme-color-gray-4);
}

footer .footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--theme-color-gray-1);
    padding: 30px 0;
}

footer .footer-wrapper>.copyright {
    display: flex;
    flex-direction: column;
}

footer .footer-wrapper>.copyright>small {
    font-size: 12px;
    margin-top: 5px;
}

footer .footer-wrapper>.copyright>img {
    width: 150px;
    filter: grayscale(1);
    opacity: .3;
}

footer .footer-wrapper>.footer-center>ul {
    display: flex;
    list-style: none;
    grid-gap: 30px;
    padding: 0;
}

@media only screen and (max-width:1490px) {
    .container {
        padding: 0 25px;
    }

    main>.note-head>.container {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
        background-image: url(../../section-background.jpg);
        background-size: 100px;
        background-repeat: no-repeat;
        background-position: calc(100% - 25px) 15px;
    }
}

@media only screen and (max-width:1240px) {
    main>.note-content .note-content-wrapper>.note-meta>.geopos-wrapper {
        flex-direction: column;
        align-items: flex-start;
        grid-gap: 15px;
    }
}

@media only screen and (max-width:1000px) {
    main>.action-screen {
        background-image: none;
    }

    main>.action-screen .action-wrapper {
        display: flex;
        flex-direction: column;
        grid-gap: 40px;
    }

    main>.action-screen .action-wrapper>.action-hero {
        background-image: none;
        min-height: initial;
        color: var(--theme-color-gray-5);
    }

    main>.action-screen .action-wrapper>.action-hero>p {
        color: var(--theme-color-gray-1);
    }

    main>#unlock-note .action-wrapper>.action-form>form>label {
        display: none;
    }

    footer .footer-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer .footer-wrapper>.copyright,
    footer .footer-wrapper>.footer-right {
        flex: 1 0 100%;
        align-items: center;
    }

    footer .footer-wrapper>.footer-right {
        display: flex;
        justify-content: center;
    }

    footer .footer-wrapper>.footer-center>ul {
        flex-direction: column;
        align-items: center;
        grid-gap: 15px;
        margin-top: 30px;
    }
}

@media only screen and (max-width:768px) {
    .container {
        padding: 0 20px !important;
    }

    header nav>ul>li:not(:last-child) {
        display: none;
    }

    header nav>ul>li:last-child {
        font-size: 15px;
    }

    header .logo-header {
        line-height: 0;
    }

    main>.action-screen .action-wrapper>.action-form>form>.input-group.grow {
        flex-direction: column;
    }

    main>.action-screen .action-wrapper>.action-form>form>.input-group.grow>button {
        min-height: 46px;
    }

    main>.note-head>.container {
        background-image: none !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    main>.note-head>.container>h1 {
        max-width: 100%;
        font-size: 18px;
    }

    main>.note-head>.container>p {
        font-size: 12px;
    }

    main>.note-content .note-content-wrapper {
        display: flex;
        flex-direction: column;
        grid-gap: 30px;
        padding-top: 20px;
    }

    main>.note-content .note-content-wrapper>.note-meta>.note-actions {
        margin-bottom: 60px;
    }
}
