/* ********* *\
 * VARIABLES *
\* ********* */

:root {
    --dark: #000066;
    --mid: #000066;
    --midBrighter: #7392a3;
}

/* ***** *\
 * FONTS *
\* ***** */
p {
    font-size: 16px;
    font-weight: 400;
}
h2 {
    color: var(--dark)!important;
}
h4 {
    color: var(--dark)!important;
    border-bottom: 1px solid var(--dark);
    font-size: 20px;
    margin-top: 40px!important;
}
h2.headline {
    background-color: var(--dark);
    padding: 0px 0 21px 260px;
    color: white!important;
    border-bottom: 1px solid white;
}
p.subheadline {
    background-color: var(--dark);
    margin: 0;
    padding: 20px 0 0px 260px;
    color: gray;
}


/* ****** *\
 * BASICS *
\* ****** */
body {
    background-color: rgb(236, 233, 229)!important;
}
*, p, ul li {
    position: relative;
    box-sizing: border-box;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: 0.3s;
}
table {
    font-size: 18px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    border-top: 1px solid var(--dark)!important;
}
table i {
    color: var(--mid);
}
table i:hover {
    color: var(--midBrighter);
}

button, input[type="submit"] {
    padding: 7px 10px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    border: none;
    outline: none;
}
button:hover, input[type="submit"]:hover {
    cursor: pointer;
}
.btn {
    border-radius: 0!important;
}
.btn-main {
    color: white;
    background-color: var(--mid);
}
.btn-main:hover {
    background-color: var(--midBrighter);
}

input, select {
    width: 100%;
    padding: 7px 10px;
    font-size: 16px;
    border: 1px solid gray;
    outline: none;
}
input[type="checkbox"] {
    width: auto;
}
input[type="file"] {
    padding: 4px;
}
select {
    padding: 8px 10px 9px;
}

.shadow {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.round {
    border-radius: 20px;
}

.center {
    text-align: center;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
.hoverable-fg:hover {
    cursor: pointer;
    color: var(--midBrighter);
}
.hoverable-bg:hover {
    cursor: pointer;
    background-color: var(--midBrighter);
}
.buttons {
    position: absolute;
    text-align: right;
    z-index: 2;
    right: 20px;
    top: 15px;
}
.buttons button {
    width: auto!important;
}
input.disabled {
    background-color: rgb(230,230,230);
}



td:has(button) {
    white-space: nowrap;
}



/* ********* *\
 * CONTAINER *
\* ********* */

.box {
    background-color: white;
    padding: 10px 20px 20px;
    margin-bottom: 10px;
    position: relative;
}
.darkBox {
    background-color: var(--main);
    color: white;
    padding: 20px;
}
.row {
    margin-bottom: 8px!important;
    margin-top: 8px!important;
}
.row label {
    padding-left: 1px;
}
.row.spacer {
    margin-top: 16px!important;
}
.round {
    border-radius: 14px;;
}


/* ********* *\
 * UNDERLINE *
\* ********* */

.underline {
    text-decoration: underline;
    display: inline-block;
}

.underline::after {
    content: '';
    height: 4px;
    width: 4px;
    background-color: black;
    display: inline-block;
    position: absolute;
    bottom: 2px;
    right: -8px;
}


/* ******* *\
 * MARGINS *
\* ******* */

.mb-0 {
    margin-bottom: 0;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-80 {
    margin-bottom: 80px;
}

.mt-0 {
    margin-top: 0;
}
.mt-20 {
    margin-top: 20px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-80 {
    margin-top: 80px;
}


* {
    position: relative;
}


/* NAV */


/* MAIN */

main {
    padding: 0px 10px 15px;
    padding-left: 255px;
}
main > .overwidth {
    top: 0;
    left: -50px;
    width: calc(100% + 90px);
}



/* ************* *\
 * Toggle Switch *
\* ************* */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ddd;
    -webkit-transition: .4s;
    transition: .4s;
    height: 28px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: var(--midBrighter);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px var(--midBrighter);
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(32px);
    -ms-transform: translateX(32px);
    transform: translateX(32px);
  }
  
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .switchlabel {
    display: inline-block;
    margin-bottom: 0 !important;
    margin-top: 5px;
    top: 2px;
    left: 5px;
  }





#modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 99;
    backdrop-filter: blur(10px);
    display: none;
}
#modal .modalInner {
    position: absolute;
    width: 300px;
    left: calc(50% - 100px);
    top: calc(50vh - 150px);
    padding: 10px 10px 0;
    background-color: white;
    text-align: center;
}



.toastify {
    color: var(--dark)!important;
    border: 2px solid var(--dark);
}
.toast-close {
    color: var(--dark)!important;
}




@media (max-height: 900px)
{
    h4 {
        font-size: 1.2rem!important;
    }
    p.subheadline {
        padding-top: 5px;
        font-size: 14px;
    }
    .headline {
        font-size: 30px;
        padding-bottom: 10px!important;
    }
    main {
        padding-left: 190px;
    }
}