html {
    font-size: 14pt;
    line-height: 1.4;
    height: 100%;
    width: 100%;
    font-family: 'Rubik', sans-serif;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#content-wrapper h1:first-child,
#content-wrapper h2:first-child,
#content-wrapper h3:first-child,
#content-wrapper h4:first-child,
#content-wrapper h5:first-child,
#content-wrapper h6:first-child {
    margin-top: 0;
}
h3 {
    font-size: 1.33em;
}
h4 {
    font-size: 1.1em;
}
h1,h2,h3,h4,h5,h6 {
    margin-bottom: 0.2em;
    color: #F04E53;
    /*color: #71619d;*/
}
ul,ol,p {
    margin-top: 0;
}

a {
    color: #4e4e4e;
}
a:hover {
    color: #555;
}

#login-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

#login-box {
    background-color: #DDDDDD;
    padding: 2em 3em;
    border: solid 1px #999999;
    border-radius: 5px;
    max-width: 550px;
}

#login-box h1 {
    margin-top: 0;
}
.login-form-row {
    display: flex;
    flex-direction: column;
}

.login-form-text-box {
    flex-grow: 1;
}
.login-form-text-box input {
    width: 100%;
    font-size: 14pt;
    padding: 0.1em;
}
.login-form-text {
    font-size: 12pt;
}

.submit-wrapper {
    text-align: center;
}

.login-button {
    margin-top: 0.5em;
    font-size: 14pt;
}

.internal-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.internal-sidebar {
    width: 20%;
    min-width: 200px;
    max-width: 360px;
    flex-grow: 0;
    flex-shrink: 0;
    background-color: #2b2b2b;
    color: white;
}

.internal-sidebar a {
    color: white;
}

.logo-wrapper {
    padding-top: 1em;
    font-size: 20pt;
    color: white;
    font-weight: 700;
    text-align: center;
}

.internal-menu-list {
    list-style-type: none;
    padding: 20px;
}

.internal-menu-list li {
    margin-bottom: 8px;
}

.at2030-logo {
    width: 100%;
    max-width: 200px;
}

#content-wrapper {
    box-sizing: border-box;
    padding: 1.5em 8em 1.5em 4em;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.embedded_file {
    width: 100%;
    height: 100%;
}

.unbulleted-list {
    list-style-type: none;
    padding: 0;
}
.display_archive {

}
.campaign {
    display: flex;
    flex-direction: column;
}

.internal-table {
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
}

.internal-table th {
    text-align: left;
    padding: 8px;
    border-bottom: solid #ddd 2px;
    margin: 0;
    cursor: pointer;
}

.internal-table td {
    padding: 8px;
    border-bottom: solid #e9e9e9 1px;
    margin: 0;
}

.file-actions-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 0;
}

.organisation-table td:last-child,
.organisation-table td:last-child {
    width: 100px;
}

.file-action-button {
    font-size: 10pt;
    padding-bottom: 8px;
}

.file-change-form .helptext {
    font-size: 10pt;
    color: #555;
    margin: 0;
}

#id_viewers, #id_organisations, #id_members {
    list-style-type: none;
    padding: 8px 16px;
    margin: 0;
    border: solid 1px #777;
    border-radius: 2px;
    max-height: 200px;
    overflow-x: scroll;
}

.errorlist {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    color: #ba2121;
    font-size: 10pt;
}
.error_message {
    color: #ba2121;
    font-weight: 500;
    border: solid #ba2121 1px;
    padding: 4px;
    border-radius: 4px;
}
#success_message {
    color: #3B8624;
    font-weight: 500;
    border: solid #3B8624 1px;
    padding: 0;
    border-radius: 4px;
    line-height: 0;
    transition: line-height 0.5s, padding 1s;
    overflow: hidden;
}
.field-wrapper {
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
}
.file-change-label-wrapper {
    padding-right: 8px;
    box-sizing: border-box;
    min-width: 120px;
    max-width: 120px;
    flex-shrink: 0;
    flex-grow: 0;
    text-align: right;
}

.file-change-input-wrapper > input {
    width: 400px;
}
.actions_wrapper {
    display: flex;
    flex-direction: row;
}

.action {
    font-size: 10pt;
    margin-right: 8px;
}

.no-link-format {
    text-decoration: none;
}

.dropdown .menu {
    display: none;
}

.dropdown:hover .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
}

.open + .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
}

.file-action-dropdown-menu {
    background-color: white;
    border: solid #e9e9e9 1px;
    border-radius: 2px;
    margin-top: 6px;
}

.file-action-dropdown-button {
    padding: 0.5em 1em;
}

.file-action-dropdown {
    padding-bottom: 8px;
    font-size: 12pt;
}

.file-change-input-wrapper {
    font-size: 10pt;
}

.forgot-password {
    text-align: center;
    font-size: 12pt;
    margin-top: 0.5em;
    margin-bottom: 0;
}

.profile-picture {
    border-radius: 100%;
    height: 20em;
    width: 20em;
}

.account-button {
    background-color: white;
    border-radius: 2px;
    padding: 0.8em;
    color: #F04E53;
    /*color: #71619d;*/
    font-weight: 500;
    text-decoration: none;
    border: solid 2px #F04E53;
    /*border: solid 2px #71619d;*/
    font-size: 14pt;
    font-family: 'Rubik', sans-serif;
}
.account-button:hover {
    color: white;
    background-color: #F04E53;
    /*background-color: #71619d;*/
}

.button-wrapper {
    text-align: center;
    margin: 2em;
}

#map-container {
    position: relative;
    width: 100%;
}

#map {
    width: 100%;
}

#map-label {
    position: absolute;
    left: 0;
    top: 0;
    height: 40%;
    font-size: 1vw;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
#map-label li {
    margin: 0.5em;
}
@media only all and (max-width: 900px) {
    #map-label {
        height: 100%;
    }
}
