body>#content {
    display: flex;
    flex-wrap: nowrap;
    background-color: white;
}

body>#content>div {
    flex: none;
    width: 27vw;
    min-width: 360px;
    max-width: 400px;
    box-shadow: 0 0 5px #666;
    background-color: var(--offwhite);
    z-index: 0;
}

body>#content>div>nav {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    padding: 0.5rem;
}

#focus-country {
    height: 7rem;
    margin-top: 0.5rem;
}

body>#content>div>nav section>h3 {
    color: #666;
    border-bottom: #666 1px dashed;
    font-weight: 500;
    font-size: 1.2rem;
    padding-bottom: 0.1rem;
}

body>#content>div>nav>section#perspectives>div {
    margin: 0.5rem 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

body>#content>div>nav [data-perspective] h1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.3rem;
    cursor: pointer;
}

body>#content>div>nav [data-perspective]:not([data-perspective=Siting]) h1>span.material-symbols-rounded::after {
    content: 'keyboard_arrow_down'
}

body>#content>div>nav [data-perspective] ul {
    list-style: none;
    display: none;
    background-color: rgba(255,255,255,0.5);
}

body>#content>div>nav [data-perspective] li {
    height: 32px;
}

body>#content>div>nav [data-perspective] li.selected-indicator {
    display: flex;
    padding: 0.25rem;
    align-items: center;
    justify-content: space-between;
}

body>#content>div>nav [data-perspective] a {
    display: block;
    padding: 0.25rem;
    text-decoration: none;
    color: var(--primary);
    cursor: pointer;
}

body>#content>div>nav [data-perspective] a:hover {
    background-color: rgba(0,0,0,0.1);
}

body>#content>div>nav [data-perspective] a:visited {
    color: var(--primary);
}

body>#content>div>nav div[data-perspective=Siting] {
    border-radius: 0;
}

body>#content>div>nav div[data-perspective=Siting] a{
    padding: 0.1rem;
    width: 100%;
}

body>#content>div>nav div[data-perspective=Siting] span.disabled-txt{
    padding: 0.1rem;
    font-style: italic;
    color: #888;
}

#logo {
    background-color: var(--primary);
    padding: 0.25rem 0.5rem;
    color: white;
}

#logo a {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

#logo a {
    text-decoration: none;
    color: white;
}

#logo a:visited {
    color: white;
}

#country-heading {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: end;
}

#country-heading button {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: white;
    border: 1px solid;
    border-radius: 4px;
    color: var(--primary);
    cursor: pointer;
    padding: .2rem .3rem;
    margin: 0.3rem 0;
}

#country-name {
    font-size: 2rem;
}

#country-form {
    flex-direction: column;
    row-gap: 0.5rem;
}

#country-form>div:last-child {
    display: flex;
    justify-content: flex-end;
    column-gap: 0.5rem;
}
#country-form>div:last-child>* {
    padding: 0.5rem;
    border-radius: 4px;
}

#country-form button[title="Cancel"] {
    border: 1px solid var(--primary);
    background-color: white;
}

#id_siting {
    display: none;
}

form>div:first-of-type {
    display: flex; 
}

label[for=id_siting] {
    display: flex;
    align-items: center;
    width: fit-content;
}

label[for=id_siting]>span.material-symbols-rounded::after {
    content: 'check_box_outline_blank';
}

label[for=id_siting]>span.material-symbols-rounded.checked::after {
    content: 'check_box';
}

label[for=id_siting]+span>sup.material-symbols-rounded {
    font-size: medium;
}

input[type=submit] {
    color: white;
    background-color: var(--primary);
    border: none;
    padding: 0.25rem;
    font-weight: 500;
    border-radius: 5px;
}

button.material-symbols-rounded {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    vertical-align: middle;
}

sup.open-modal {
    font-size: 1rem;
    cursor: pointer;
}

sup.open-modal img {
    width: 1rem;
}

main {
    padding: 0.75rem;
    height: calc(100vh - 0.75rem);
}