*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

.clearfix {
    overflow: auto;
  }

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

header {
    width: 100%;
    height: 60px;
    background-color: #1C2C8B;
}

div#logo {
    width: 260px;
    height: 100%;
    border: 1px solid #ccc;
    background-color: rgba(0,0,0,0.4);
    display: inline-block;
    float: left;

    font-size: 25px;
    line-height: 25px;
    padding: 17.5px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

nav {
    display: inline-block;
    float: right;
    padding-right: 22px;
}

nav ul {
    list-style: none;
    margin: 0;
}

nav ul li {
    display: inline-block;
    float: left;
}

nav ul li a {
    padding: 19.5px 22px 19.5px 22px;
    border-bottom: 3px solid rgba(255,255,255,0);
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    line-height: 18px;
    display: inline-block;
    transition: .1s ease-in-out;
}

nav ul li a.active {
    background-color: rgba(0,0,0,.4);
}

nav ul li a:hover {
    border-bottom: 3px solid rgba(255,255,255,1);
}

#top-box {
    width: 100%;
    height: 354px;
    padding-top: 174px;
    display: block;
    background: linear-gradient(0deg, #3657CA, #476CEF);
}

#top-box h1 {
    font-size: 36px;
    line-height: 44px;
    color: #fff;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    margin-bottom: 16px;
    font-weight: 500;
}

#top-box p {
    font-size: 18px;
    line-height: 22px;
    color: #E8E8E8;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
}

main {
    width: 1020px;
    margin: 100px auto;
    padding: 10px;
    min-height: 500px;
}

footer {
    width: 100%;
    height: 54px;
    background-color: #1C2C8B;
}

footer p {
    text-align: center;
    display: block;
    width: 1020px;
    margin: 0 auto;
    padding: 20px 10px;
    color: #D8D8D8;
    font-size: 14px;
    line-height: 14px;
}

main h2 {
    margin: 0;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 500;
}

.toChange {
    background-color: yellow;
}

.schedule {
    display: flex;
    width: 100%;
    min-height: 500px;
}

.dayofweek {
    width: calc(100% - 40px);
    min-height: 100px;
    margin-right: 10px;
}

.dayofweek:last-of-type {
    margin-right: 0;
}

.dayofweek .header {
    padding: 15px;
    background-color: #DFDFDF;
    border-radius: 2px;
    text-align: center;
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 5px;
}

.date {
    display: block;
    margin: 5px auto 0 auto;
    padding: 9px 0;
    line-height: 18px;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background-color: #C6C6C6;
    color: #484848;
}

.cal-entry {
    width: 100%;
    min-height: 30px;
    background-color: #3498DB;
    border-radius: 2px;
    padding: 8px;
    margin-bottom: 5px;
}

.cal-entry .title {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    display: block;
    letter-spacing: -0.62;
    color: #fff;
    margin-bottom: 3px;
}

.cal-entry .time {
    font-size: 11px;
    line-height: 14px;
    font-weight: 400;
    display: block;
    letter-spacing: -0.49;
    color: #EBEBEB;
}

.cal-entry ul {
    list-style: none;
    padding-left: 19px;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: -0.49;
    color: #EBEBEB;
    margin: 8px 0 0 0;
}

.cal-entry ul li {
    position: relative;
    margin-top: 4px;
}
.cal-entry ul li a {
    text-decoration: none;
    color: #EBEBEB;
}

.cal-entry ul li a:hover {
    text-decoration: underline !important;
}

.cal-entry ul li::before {
    content: "";
    height: 14px;
    width: 14px;
    position: absolute;
    left: -19px;
    background-repeat: no-repeat;

    background-position: 2px 2px;
    background-size: 10px 10px;
    background-image: url("/assets/img/right-arrow.svg");
}
.cal-entry ul li.add-item::before{
    background-position: 0 0;
    background-size: 14px 14px;
    background-image: url("/assets/img/plus.svg");
}

.table-header {
    width: 100%;
    display: flex;
    padding-bottom: 5px;
    border-bottom: 1px solid #C3C3C3;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: -0.8;
}

.table-name {
    width: 420px;
}

.rfid-nr,
.number-of-employees {
    width: 100px;
    margin-left: 20px;
    text-align: center;
}

.presence,
.activated,
.traineeship {
    width: 150px;
    margin-left: 20px;
    text-align: center;
}

.actions {
    width: 100px;
    margin-left: 20px;
    text-align: right;
}

.table-entry {
    font-size: 18px;
    line-height: 18px;
    letter-spacing: -0.8;
    width: 100%;
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #DFDFDF;
}

.table-entry .table-name {
    width: 360px;
}

.table-name-2 {
    width: 590px;
}

.table-entry span {
    padding: 16px 0;
    height: 50px;
}

.presence-yes,
.employee-list-activated {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #27AE60;
}

.presence-no,
.employee-list-deactivated {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c0392b;
}

.table-entry .profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    padding: 0;
}

.table-entry .actions img {
    display: inline-block;
    width: auto;
    height: 18px;
    cursor: pointer;
}

.table-entry a {
    display: inline-block;
    margin-left: 10px;
    height: 20px;
}

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

.callToAction {
    display: inline-block;
    padding: 11px;
    border-radius: 6px;
    border: 3px solid #000;
    margin-top: 50px;
    font-weight: 500;
    font-size: 18px;
    line-height: 18px;
}

.green {
    color: #16A085;
    border-color: #16A085;
}

.add {
    padding-left: 37px;
    background-image: url(/assets/img/plus-sign.svg);
    background-repeat: no-repeat;
    background-position: 11px 11px;
    background-size: 18px 18px;
    transition: .1s ease-in-out;
}

.green:hover {
    background-color:#eee;
}

#member-edit,
#event-edit,
#employeelist-edit,
#event-banner-edit {
    display: block;
    width: 500px;
}

#member-edit label,
#event-edit label,
#employeelist-edit label,
#event-banner-edit label {
    font-size: 18px;
    line-height: 22px;
    display: block;
    margin: 0 0 10px 0;
}

#member-edit input,
#event-edit input,
#event-edit select,
#employeelist-edit input,
select,
#event-banner-edit input {
    display: block;
    height: 34px;
    width: 100%;
    margin-bottom: 35px;
    border-radius: 2px;
    border: 1px solid #979797;
    font-size: 16px;
    line-height: 1.2;
    color: #626262;
}

#event-edit #start_time,
#event-edit #end_time {
    width: 210px;
    display: inline-block;
    float: left;
    margin-bottom: 0px;
}

#member-edit #absentfrom,
#member-edit #absentto,
#member-edit #traineeshipfrom,
#member-edit #traineeshipto
{
    width: 210px;
    display: inline-block;
    float: left;
}

#member-edit #traineeshipfrom,
#member-edit #traineeshipto
{
    margin-bottom: 0;
}

#member-edit span,
#event-edit span {
    display: inline-block;
    float: left;
    width: 80px;
    height: 34px;
    line-height: 34px;
    text-align: center;
}

#member-edit .profilbild,
#event-edit .pictogram,
#event-banner-edit .event-banner {
    background-color: #eee;
    border-radius: 2px;
    margin-bottom: 35px;
}

#member-edit #file,
#event-edit #file,
#event-banner-edit #file {
    border: 0px;
    height: 60px;
    width: 440px;
    padding: 20px 10px;
    line-height: 1;
    display: inline-block;
    float: left;
    margin-bottom: 0;
}

#member-edit img,
#event-edit img {
    display: inline-block;
    float: left;
    height: 50px;
    width: 50px;
    margin: 5px;
    border-radius: 50%;
}

#member-edit #submit,
#member-edit #back-to-member,
#event-edit #submit,
#event-edit #delete,
#employeelist-edit #submit,
#employeelist-edit #back-to-employeelists,
#submit,
#event-banner-edit #submit,
#event-edit #back-to-member {
    height: 50px;
    padding: 16px 10px;
    line-height: 18px;
    font-size: 18px;
    border-radius: 6px;

    display: inline-block;
    width: auto;
    margin-top: 50px;
    margin-bottom: 0;
    
    transition: .1s ease-in-out;
    cursor: pointer;
}

#member-edit .greycta,
#employeelist-edit .greycta,
#event-edit #back-to-member.greycta {
    color: #8A8A8A;
    border: 3px solid #8A8A8A;
    float: left;

}

#event-edit .redcta {
    color: #c0392b;
    border: 3px solid #c0392b;
    float: left;
}

#member-edit .greencta,
#event-edit .greencta,
#employeelist-edit .greencta,
.greencta,
#event-banner-edit .greencta {
    border: 3px solid #16A085;
    color: #16A085;
    float: right;
}

.greencta:hover {
    background-color: #16A085;
    color: #ffffff !important;
}

.greycta:hover {
    background-color: #8A8A8A;
    color: #ffffff !important;
}

.redcta:hover {
    background-color: #c0392b;
    color: #ffffff !important;
}

#event-banner-edit img {
    width: 100%;
    height: auto;
    border: 1px solid #999;
    margin-bottom: 35px;
}

input#id {
    display: none;
}

div.ok {
    display: block;
    padding: 18px;
    background-color: #16A085;
    color: #ffffff;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1;
    width: 500px;
    margin-bottom: 50px;
}

div.error {
    display: block;
    padding: 18px;
    background-color: #e67e22;
    color: #fff;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1.3;
    width: 500px;
    margin-bottom: 10px;
}
div.ok {
    /*
    background: linear-gradient(to right,#136F5D 50%,#16A085 50%);
    animation-name: example;
    animation-duration: 2.5s;
    background-size: 200% 100%;
    background-position:left bottom;
    animation-timing-function: linear;
    */
    background-color: #16A085;
}



@-webkit-keyframes example {
    from {background-position:right bottom;}
    to {background-position:left bottom;}
  }
  
  /* Standard syntax */
  @keyframes example {
    from {background-position:right bottom;}
    to {background-position:left bottom;}
  }

.roster {
    display: flex;
}

.roster div {
    width: 47.5%;
    margin-right: 5%;
    min-height: 200px;
    background-color: #D8D8D8;
    padding: 35px 16px 116px 16px;
    text-align: center;
    position: relative;
}

.roster div:last-of-type {
    margin-right: 0;
}

.roster div h2 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -1px;
}

.roster div img {
    display: block;
    width: auto;
    height: 100px;
    margin: 32px auto;
}

.roster div p {
    font-size: 18px;
    line-height: 22px;
}

.roster div a {
    text-decoration: none;
    color: #616161;
    border: 3px solid #616161;
    margin: 35px 0 0 0;
    position: absolute;
    bottom: 35px;
    left: calc(50% - 64px);
}

.roster div a:hover {
    color: #fff;
    background-color: #616161;
    transition: .1s ease-in-out;
    
}

.frame-roster .header .date {
    display: none;
}

.schedule a.link div {
    display: block;
    margin-top: 10px;
}

.schedule a {
    text-decoration: none !important;
}

.schedule a div.cal-entry{
    transition: .1s ease-in-out;
}
.schedule a div.cal-entry:hover {
    background-color: #5CACE2;
    box-shadow: 0px 2px 4px rgba(0,0,0,.2);
}

#employeelist-edit label.activated,
#employeelist-edit input.activated {
    display: inline-block;
    float: left;
    margin: 0 0 35px 0;
    padding: 0 0 0 15px;
    width: auto;
    height: 34px;
    line-height: 34px;
}
#employeelist-edit input.activated {
    width: 10%;
}
#employeelist-edit label.activated {
    width: 90%;
    text-align: left;
}

main p {
    margin-bottom: 60px;
}

#year-week-selection div,
#year-week-selection input[type="submit"] {
    display: inline-block;
    float: left;
    width: auto;
}
#year-week-selection div {
    margin-right: 35px;
}

#year-week-selection div label,
#year-week-selection div select {
    display: inline-block;
    float: left;
    width: auto;
}

#year-week-selection div label {
    margin-right: 10px;
    line-height: 34px;
}

#year-week-selection #submit {
    margin-top: 0;
    padding: 0 10px;
    line-height: 28px;
    height: 34px;
}

input[readonly] {
    background-color: #ddd;
}

#event-edit .employee-selection {
    margin-top: 100px;
}

.employee-entry {
    display: block;
    width: 600px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #DFDFDF;
}

.employee-entry:last-of-type {
    border-bottom: 0px;
}

#event-edit .employee-entry .profile {
    height: 40px;
    width: 40px;
    margin: 5px;
}

#event-edit .employee-entry .table-name {
    width: auto;
    max-width: 425px;
    text-align: left;
    font-size: 14px;
    line-height: 40px;
    height: 40px;
    margin: 5px;
}

#event-edit .employee-entry input {
    width: auto;
    margin: 5px 20px 5px 0;
    display: inline-block;
    float: left;
    height: 40px;
    padding-left: 20px;
}

#index #year-week-selection {
    display: none;
}

#roster-logo {
    height: 100%;
    width: auto;
    padding: 5px;
}

.table-header .event-date,
.table-entry .event-date
{
    text-align: left;
    width: 150px;
}

.table-header .title,
.table-entry .title
{
    text-align: left;
    width: 470px;
    margin-left: 20px;
}

.table-header .start-time,
.table-entry .start-time,
.table-header .end-time,
.table-entry  .end-time
{
    text-align: center;
    margin-left: 20px;
    width: 100px;
    
}

.edit-single-appointment #start_time,
.edit-single-appointment #end_time {
    margin-bottom: 35px !important;
}

.edit-single-appointment #titshort_description {
    margin-bottom: 0;
}