@font-face {
    font-family: Garamond;
    src: url("font/CormorantGaramond-Regular.ttf");
}
@font-face {
    font-family: Garamond;
    src: url("font/CormorantGaramond-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: Garamond;
    src: url("font/CormorantGaramond-Italic.ttf");
    font-style: italic;
}
    @font-face {
        font-family: Garamond;
        src: url("font/CormorantGaramond-BoldItalic.ttf");
        font-style: italic;
        font-weight: bold;
    }
@font-face {
    font-family: GaramondLight;
    src: url("font/CormorantGaramond-Light.ttf");
}
@font-face {
    font-family: GaramondLight;
    src: url("font/CormorantGaramond-LightItalic.ttf");
    font-style: italic;
}
@font-face {
    font-family: GaramondMedium;
    src: url("font/CormorantGaramond-Medium.ttf");
    font-weight: 500;
}
@font-face {
    font-family: GaramondMedium;
    src: url("font/CormorantGaramond-MediumItalic.ttf");
    font-style: italic;
    font-weight: 500;
}
@font-face {
    font-family: GaramondSemiBold;
    src: url("font/CormorantGaramond-SemiBold.ttf");
    font-weight: 600;
}
@font-face {
    font-family: GaramondSemiBold;
    src: url("font/CormorantGaramond-SemiBoldItalic.ttf");
    font-style: italic;
    font-weight: 600;
}
@font-face {
    font-family: HelveticaNeue;
    src: url("font/HelveticaNeue-Roman.ttf");
    font-style: normal;
}
@font-face {
    font-family: HelveticaNeue;
    src: url("font/HelveticaNeue-Bold.ttf");
    font-style: normal;
    font-weight: bold;
}
@font-face {
    font-family: HelveticaNeue;
    src: url("font/HelveticaNeue-Italic.ttf");
    font-style: italic;
}
@font-face {
    font-family: HelveticaNeue;
    src: url("font/HelveticaNeue-Italic.ttf");
    font-style: italic;
    font-weight: bold;
}
@font-face {
    font-family: HelveticaNeueBlack;
    src: url("font/HelveticaNeue-Black.ttf");
    font-style: normal;
}
@font-face {
    font-family: HelveticaNeueBlack;
    src: url("font/HelveticaNeue-BlackItalic.ttf");
    font-style: italic;
    font-weight: 900;
}
@font-face {
    font-family: HelveticaNeueHeavy;
    src: url("font/HelveticaNeue-Heavy.ttf");
    font-style: normal;
    font-weight: 800;
}
@font-face {
    font-family: HelveticaNeueHeavy;
    src: url("font/HelveticaNeue-HeavyItalic.ttf");
    font-style: italic;
    font-weight: 800;
}
@font-face {
    font-family: HelveticaNeueLight;
    src: url("font/HelveticaNeue-Light.ttf");
    font-style: normal;
    font-weight: 300;
}
@font-face {
    font-family: HelveticaNeueLight;
    src: url("font/HelveticaNeue-LightItalic.ttf");
    font-style: italic;
    font-weight: 300;
}
@font-face {
    font-family: HelveticaNeueUltraLight;
    src: url("font/HelveticaNeue-UltraLight.ttf");
    font-style: normal;
    font-weight: 200;
}
@font-face {
    font-family: HelveticaNeueUltraLight;
    src: url("font/HelveticaNeue-UltraLightItalic.ttf");
    font-style: italic;
    font-weight: 200;
}
@font-face {
    font-family: HelveticaNeueThin;
    src: url("font/HelveticaNeue-Thin.ttf");
    font-style: normal;
    font-weight: 100;
}
@font-face {
    font-family: HelveticaNeueThin;
    src: url("font/HelveticaNeue-ThinItalic.ttf");
    font-style: italic;
    font-weight: 100;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}
body {
    font-family: Arial, helvetica, sans-serif;
    font-size: 12px;
    background-color: #CCD2D9;
}

#fullcontainer {
    background-color: #CCD2D9;
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}
#container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.containerbox {
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
}
.contentbox {
    top: 60px;
    left: 160px;
    right: 270px;
    bottom: 1rem;
}

header {
    width: 100%;
    height: 130px;
    padding: 18px;
    position: relative;
}
header .borderline {
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    height: 74px;
    border-bottom: 5px solid #001C40;
    display: flex;
    align-items: center;
}

header .title {
    font-family: Garamond;
    font-size: 36px;
    font-weight: bold;
    color: #001C40;
    flex: 1;
    white-space: nowrap;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}
header .userwrapper {
    display: flex;
    align-items: center;
    height: 100%;    
}

header img {
    width: 96px;
    height: 100px;
    position: absolute;
    top: 5px;
    left: calc(50% - 38px);
    margin-left: -10px;
    margin-right: -10px;
    z-index: 1003;
}

.userinfo {
    margin-right: 10px;
    font-size: 14px;
    color: #001C40;
    text-align: right;
}

.btn {
    display: inline-block;
    width: 140px;
    padding: 18px 9px;
    background-color: #001C40;
    color: white;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    margin: 0 10px 10px 0;
    line-height: 1.2;
    vertical-align: middle;
}
.btn:hover {
    background-color: #908575;
}

.user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

nav {
    width: 100%;
    height: 60px;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    background-color: #001C40;
    border-radius: 8px;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

nav ul li {
    margin-right: 10px;
    border-radius: 0 4px 4px 0;
}
nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    font-family: GaramondLight;
    font-size: 16px;
    text-decoration: none;
    padding: 10px;
    color: #F5F6F7;
    display: block;
    text-transform: uppercase;
}

nav ul li:hover {
    transform: scale(1.25);
    transition: transform 0.2s linear;
    background-color: #908575;
    border-radius: 8px;
}

.active {
  position: relative;
}

.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: #908575;
  border-radius: 8px 8px 0 0;
}
nav ul li a.active:hover::after {
  background: none;
}

main {
    position: absolute;
    top: 110px;
    right: 18px;
    bottom: 40px;
    left: 18px;
}

#submenu {
    width: 100px;
}

#submenu ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
}
#submenu ul[hidden] {
    display: none;
}
#submenu ul li {
    margin-bottom: 5px;
    border-radius: 0 10px 10px 0 !important;
}
#submenu ul li a {
    font-family: Garamond;
    font-size: 12px;
    padding: 9px 18px;
    color: white;
    text-decoration: none;
    display: block;
}

#events {
    position: absolute;
    top: 60px;
    right: 10px;
    bottom: 18px;
    width: 250px;
}
#events h1 {
    font-family: Garamond;
    font-size: 14px;
    color: #001C40;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid #001C40;
}
#events ul {
    list-style-type: none;
}
#events ul li {
    margin-bottom: 1px;
    border-radius: 0 10px 10px 0 !important;
}
#events ul li a {
    font-family: Garamond;
    font-size: 12px;
    padding: 3px;
    color: #001C40;
    text-decoration: none;
    display: block;
}
#events ul li a:hover {
    background-color: #908575;
    border-radius: 4px;
    color:white
}

footer {
    background-color: #001C40;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    font-size: 1rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
}
#bok,
 #time {
    color: #CCD2D9;
}
.toright {
    float: right;
}

.box {
    flex: 1;
    position: absolute;
    padding: .5rem;
    display: flex;
    flex-direction: column;
    overflow: auto;
}
.box-header {
    font-size: 1.5rem;
    font-weight: bold;
    color: #001C40;
    padding-bottom: 5px;
}
.box-header .iconheader {
    height: 32px;
    width: 32px;
    vertical-align: middle;
    margin-right: 10px;
}
.box-content {
    font-size: 12px;
    color: #001C40;
    line-height: 1.6;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    margin-top: .5rem;
}
form {
    display: flex;
    flex-direction: column;
}
form label {
    margin-bottom: 5px;
    font-weight: bold;
}
form input, form select {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
form input:focus {
    border-color: #007BFF;
    outline: none;
}
form button {
    align-self: flex-start;
}
.tablerow {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 1rem 0;
    width: 100%;
    max-width: 100%;
}
.tablerow label {
    flex: 0 0 150px;
    font-weight: bold;
}
.tablerow div {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    width: auto;
}
.tablerow input,
.tablerow textarea {
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.tablerow textarea {
    min-height: 6rem;
    resize: vertical;
}
.tablerow input:focus,
.tablerow textarea:focus {
    border-color: #007BFF;
    outline: none;
}
.tablerow input:read-only {
    background-color: #d2d2d2;
    color: #777;
}
.form-check {
    display: flex;
    align-items: center;
    width: auto;
    justify-content: flex-start;
    gap: .3rem;
}
.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
.form-check-label {
    font-weight: normal;
    white-space: normal;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.box-header img,
.icon {
    width: 2rem;
    height: 2rem;
    margin: 0 2px;
    vertical-align: middle;
    border-radius: 4px;
    padding: 2px;
    display: inline-block;
    cursor: pointer;
}
.icon:hover {
    transform: scale(1.5);
    transition: transform 0.2s ease-in-out;
}
.icon:last-child {
    margin-right: 0;
}

.btn-link {
    background: none;
    border: none;
    color: #007BFF;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 1rem;
    margin-left: 10px;
}
.btn-link:hover {
    color: white;
    text-decoration: underline;
}

.btnicon {
    background: none;
    border: none;
    padding: 0;
    margin: 0 15px 0 0;
    cursor: pointer;
    display: inline-block;
    height: 32px;
    width: 32px;
    vertical-align: middle;
}

.workspace {
    margin: 20px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}
.workitem {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease-in-out;
    position: relative;
}
.workitem:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.workitem-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;  
}

.alert {
    padding: 15px;
    background-color: #f44336;
    color: white;
    margin-bottom: 20px;
    border-radius: 4px;
}
.alert ul {
    margin: 0;
    padding-left: 20px;
}
.alert ul li {
    list-style: disc;
}.alert-success {
    background-color: #4CAF50;
}
.alert-info {
    background-color: #2196F3;
}
.alert-warning {
    background-color: #ff9800;
}
.alert-danger {
    background-color: #f44336;
}

.alignright {
    text-align: right;
}
.number {
    text-align: right;
    white-space: nowrap;
}

.buttonrow .btn {
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    border-radius: 8px;
    background-color: #001C40;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}
.buttonrow .btn:hover {
    background-color: #908575;
}

.plush:hover {
    content: url('icon/plus-h.png');
}

.page {
    width: 70%;
    background-color: #f9f9f9;
    padding: 20px;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 8px;
}
