@font-face {
    font-family: politi;
    src: url(../fonts/Politi-Regular.ttf);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: politi;
}

header {
    max-width: 1730px;
    display: flex;
    width: 85%;
    margin: auto;
}

.header-wrapper {
    width: 100%;
    height: 6vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    margin: 10px 0 20px 0;
}

button:hover {
    cursor: pointer;
}

.logo-container, .nav-links, .login-links {
    display: flex;
    margin: 0;
}

.logo-container {
    flex: 1;
}

.logo {
    font-weight: 400;
    margin: 5px;
}

.logo-container img {
    width: 160px;
}

nav {
    flex: 3;
}

.nav-links {
    justify-content: space-around;
    list-style: none;
}

.login-links {
    list-style: none;
    justify-content: flex-end;
}

.nav-link, .login-link {
    color: #777777;
    font-size: 16px;
    text-decoration: none;
}

.nav-link:hover, .login-link:hover, .krimi a:hover {
    color: #d9230f;
    text-decoration: none;
}

.login-link {
    margin: 10px;
}

.login {
    flex: 1;
}

.login-form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    background-image: url(../img/bg-court.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    flex-direction: column;
}

.login-form .wrapper {
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.login-form img {
    width: 200px;
    margin-bottom: 20px;
}

.login-form h2 {
    text-align: center;
    margin: 15px 0;
}

.login-form form {
    width: 400px;
    text-align: start;
}

.login-form form #submit {
    text-align: center;
    margin: 25px 0;
}

.login-form form #submit input {
    width: 200px;
    background-color: #ff0000;
    border-color: #ff0000;
}

main {
    max-width: 1540px;
    width: 80%;
    margin: auto;
    padding: 5px;
    min-height: calc(90vh - 20px);
}

.employed, .tickes-wrapper, .wanted-wrapper, .krimi, .stock {
    width: 100%;
}

.afdelinger, .tickets-emner {
    margin-bottom: 50px;
}

.afdeling, .tickets-header, .wanted-header {
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.afdeling h2, .tickets-header h2, .wanted-header h2 {
    padding: 5px;
    margin: 0;
    color: #000;
    width: 100%;
}

.afdeling-content {
    display: flex;
}

.afdeling-content .buttons {
    margin: 6px 0;
    width: 100%;
    justify-content: flex-end;
}

.afdeling-content .buttons a {
    width: 240px;
    padding: 5px;
    font-size: 14px;
    color: #fff;
    background-image: linear-gradient(#e72510, #d9230f 6%, #cb210e);
    border: 1px solid #a91b0c;
    border-radius: 3px;
    text-align: center;
    margin: 0 10px;
}

.users, .tickets, .wanted, .kr-history {
    border: 1px solid #ddd;
    background-color: #fcfcfc;
}

.user-popup {
    display: flex;
    background-color: #ecf5fe;
    align-items: center;
    padding: 5px;
    border: none;
    width: 100%;
    border: 1px solid #ddd;
}

.user-popup i {
    font-size: 1.25rem;
    margin-right: 10px;
    padding-top: 6px;
}

.user-popup h3 {
    margin: 0px;
}

.user-popup:hover {
    cursor: pointer;
}

.user-popup:focus {
    outline: none;
}

.modal-dialog {
    margin-top: 140px;
}

.wanted-header .modal-dialog {
    max-width: 700px;
}

.modal-body h2 {
    padding: 0;
    margin: 5px 0;
    font-size: 1.50em;
}

.modal-body h2.number {
    margin-bottom: 30px;
}

.modal-body p {
    padding: 0;
    margin: 5px 0;
}

.create-user {
    width: 40%;
    margin: auto;
}

.create-user #submit {
    text-align: center;
}

.create-user #submit input {
    width: 200px;
}

.create-user #admin {
    text-align: center;
}

.create-user h2 {
    margin-bottom: 30px;
}

.create-afdeling {
    width: 50%;
    margin: auto;
    text-align: center;
}

.create-afdeling #submit, .update {
    text-align: center;
}

.create-afdeling #submit input {
    width: 200px;
}

.create-afdeling #admin {
    text-align: center;
}

.create-afdeling h2 {
    margin-bottom: 30px;
}

.tickets-emner table, .wanted-header table, .player table, .activity table {
    border-collapse: collapse;
    width: 100%;
}

.tickets td, .tickets th, .wanted td, .wanted th, .player th, .player td, .activity th, .activity td {
    border: 1px solid #ddd;
    text-align: left;
    padding: 8px;
}

.tickets td button {
    width: 100%;
    border: none;
    font-size: 32px;
    background: none;
}

.tickets td button:focus {
    outline: none;
}
  
.tickets tr:nth-child(even), .wanted tr:nth-child(even) {
    background-color: #eee;
}

.wanted-text {
    display: flex;
    align-items: center;
}

.wanted-text button {
    width: 120px;
    margin-right: 10px;
    background-image: linear-gradient(#e72510, #d9230f 6%, #cb210e);
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    border: 1px solid #a91b0c;
    border-radius: 3px;
    text-align: center;
}

.wanted-text button:hover {
    cursor: pointer;
}

.wanted-header #submit {
    text-align: center;
}

.wanted td a {
    text-decoration: none;
    color: black;
}

.wanted td a:hover {
    color: #d9230f;
}

textarea:read-only:hover {
    cursor: not-allowed;
}
input:read-only:hover {
    cursor: not-allowed;
}

.krimi table {
    border: 1px solid #ddd;
    border-radius: 3px;
}

.krimi-search {
    width: 70%;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

.krimi a {
    text-decoration: none;
    color: #000;
}

.links {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.krimi #result {
    display: flex;
    justify-content: center;
}

.krimi .search-text {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.krimi .search-text button.no-users {
    background: none;
    border: none;
}

.krimi .search-text button.no-users h3 {
    font-size: 22px;
    margin: 0;
}

.krimi .search-text button.no-users h3:hover {
    color: #007bff;
}

.krimi .search-text button.no-users:focus {
    outline: none;
}

.krimi .modal-dialog {
    max-width: 700px;
}

.krimi .btn-primary {
    width: 200px;
}

footer {
    width: 100%;
    height: 42px;
    background: #eee;
    display: flex;
}

.footer {
    max-width: 1730px;
    display: flex;
    width: 90%;
    margin: auto;
    border-top: 1px solid #eeeeee;
    justify-content: center;
}

.footer h1 {
    font-size: 18px;
    margin: 0;
    padding: 10px 0;
}

.addedContent {
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    z-index: 99;
    background: #eee;
    border: 1px solid #ddd;
}

.content-wrapper {
    width: 70%;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.addedContent .ticket, .addedContent .prison, .addedContent .klip, .addedContent .addButton, .addedContent .listButton {
    display: flex;
}

.content-wrapper h3 {
    font-size: 23px;
    margin-top: 7px;
}

.content-wrapper h3.title {
    margin-right: 6px;
}

.content-wrapper h3.type {
    margin-left: 6px;
}

.content-wrapper button {
    border: none;
    width: 180px;
    height: 32px;
    background: #00AF66;
    color: #fff;
    font-weight: bold;
}

.listButton button {
    background: #007bff;
}

.player button.edit, .player button.delete {
    width: 100%;
    border: none;
    background: none;
    font-size: 28px;
    display: flex;
    color: #00AF66;
}

.player button.delete {
    color: #e72510;
}

.player button.edit:focus, .player button.delete:focus {
    outline: none;
}

.myprofile, .applications, .information, .action, .user {
    width: 80%;
    margin: auto;
    margin-bottom: 40px;
}

.aktioner {
    margin-top: 10px;
}

.speciel-unit, .others, .straf, .print-straf {
    display: flex;
    justify-content: space-between;
    margin: 16px 0;
}

.unit {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d6d6d6;
    background: #eeeeee;
    margin: 0 10px;
}

.unit a {
    color: #212529;
    font-weight: bold;
}

.unit a:hover {
    color: #d9230f;
    text-decoration: none;
}

.aktioner-subject {
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.aktioner-subject h2 {
    padding: 5px;
    margin: 0;
    color: #000;
}

.aktioner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aktioner-header button {
    width: 120px;
    margin-left: 20px;
    background-image: linear-gradient(#e72510, #d9230f 6%, #cb210e);
    padding: 5px 10px;
    font-size: 16px;
    color: #fff;
    border: 1px solid #a91b0c;
    border-radius: 3px;
    text-align: center;
    margin-right: 10px;
}

.aktioner-body {
    padding: 5px;
    background-color: #fcfcfc;
    display: flex;
    justify-content: space-between;
    border: 1px solid #ddd;
}

.aktioner-body button {
    background: none;
    border: none;
}

.aktioner-body button:focus {
    outline: none;
}

.krModal .modal-dialog {
    max-width: 800px;
}

.krModal #cases .case {
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
    margin: 10px 0;
}

.krModal #cases h2 {
    border-bottom: 1px solid #000;
}

.krModal #cases .info {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
}

.krModal #cases .info button {
    border: none;
    width: 120px;
    height: 32px;
    background: #00AF66;
    color: #fff;
    font-weight: bold;
}

.employed .modal-footer {
    justify-content: space-between;
}

.activity {
    width: 80%;
    margin: auto;
}

.playeredit {
    width: 50%;
    margin: auto;
}

.mid-line {
    border-bottom: 1px solid #eeeeee;
}

.employedments {
    margin-bottom: 40px;
}

.profile {
    margin: 20px 0;
    display: flex;
}

.profile-pictures {
    display: flex;
    margin-right: 20px;
}

.profile-pictures img {
    max-width: 200px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.profile-informations {
    display: flex;
    flex-flow: column;
    justify-content: center;
    width: 100%;
}

.profile-informations .profile-information p {
    font-size: 20px;
}

.profile-informations .profile-information p span {
    text-decoration: underline;
}

.profile-actions {
    margin: 20px 0;
    display: flex;
    justify-content: space-evenly;
}

.profile-actions .profile-action button {
    width: 300px;
    margin-left: 30px;
    padding: 5px;
    font-size: 16px;
    color: #fff;
    background: #00AF66;
    border: 1px solid #008c51;
    border-radius: 3px;
}

.action .action-column {
    padding: 4px;
    color: #fff;
    background: #00AF66;
    border: 1px solid #008c51;
    border-radius: 3px;
}

.action .action-column h1 {
    margin: 0;
    font-size: 16px;
}

.manage-afdelinger {
    width: 900px;
    margin: 0 auto;
}

.manage-afdelinger .manage-afdeling {
    display: flex;
    margin: 10px 0;
    justify-content: space-between;
    align-items: center;
}

.manage-afdelinger .manage-afdeling .order-number {
    display: flex;
    margin: 10px 0;
    justify-content: space-between;
    align-items: center;
}

.manage-afdelinger input, .manage-afdelinger a {
    text-align: center;
    margin: 0;
    height: 35px;
}

.manage-afdelinger .order-number input {
    text-align: center;
    margin: 0 10px;
}

.manage-afdelinger p span {
    text-decoration: underline;
}

.front-page-footer {
    position: absolute;
    bottom: 5px;
    right: 15px;
}

.front-page-footer h1 {
    font-size: small;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
    color: #EBEBEB;
    font-weight: bold;
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
