/*
 Fytek Website
 
 font-family: Montserrat, Arial, Tahoma, sans-serif;
 
 purple: #622281 (opacity? = .97)
 green from logo: #6fbea0
 */

* {
    box-sizing: border-box;
}

html {
    --blue: #000099;
    --lgrey: #f2f2f2;
    --dgrey: #b3b3b3;
    --green: #55d769;
    --red: #ff452b;
    --orange: #ff962d;
    --grey: #999999;
    --nblack: #626262;

    --white: #f7f7f7;
    --meta: #666e6e;
    --videoWidth: 202px;
    --thumbWidth: 202px;
    --thumbHeight: 113px;
    --footerHeight: 38px;
}

body {
    background-color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

a,
a:visited,
a:active {
    color: var(--blue);
    font-size: 12px;
}

input[type="button"]:not(.remove),
input[type="submit"] {
    background-color: transparent;
    border: none;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;

    -moz-transition: color 0.1s ease-in;
    -o-transition: color 0.1s ease-in;
    -webkit-transition: color 0.1s ease-in;
    transition: color 0.1s ease-in;
}

input[type="button"]:not(.remove):hover,
input[type="submit"]:hover {
    color: #777;
}

.page-header-buttons input[type="button"],
input[type="submit"] {
    color: #fdfdfd;
}

.page-header-buttons input[type="button"]:hover,
input[type="submit"]:hover {
    color: #d0d0d0;
}

/* page header */
div.page-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    margin: 0;
    padding: 0;
    background: url("../img/fylm_def.png") no-repeat 30px center;
    background-size: auto 60px;
    background-color: #fff;
}

div.page-header h1 {
    display: inline-block;
    margin-left: 100px;
    font-size: 24px;
    font-weight: 100;
    color: var(--blue);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

div.page-header .header-welcome {
    padding: 0 30px;
}

div.page-header .header-welcome .welcome,
div.page-header .header-welcome .user {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--nblack);
}

div.page-header .header-welcome .user {
    color: var(--blue);
    font-size: 18px;
    line-height: 24px;
}

div.page-header .header-logout {
    display: inline-block;
    padding: 0 20px;
}

div.page-header span.header-buttons {
}

div.page-header span.header-buttons a {
    display: inline-block;
    line-height: 20px;
    text-decoration: none !important;
}

div.page-header span.header-buttons .header-button {
    white-space: nowrap;
}

div.page-header span.header-buttons .header-button:not(:last-child) {
    padding-right: 20px;
}

div.page-header .header-logout i {
    line-height: 80px;
}

div.page-menu {
    display: table;
    position: relative;
    width: 100%;
    background-color: var(--blue);
    margin-bottom: 10px;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 150px;
}

div.page-menu a {
    position: relative;
    display: inline-block;
    color: white;
    font-size: 14px;
    padding: 0 25px 0 25px;
    line-height: 30px;
    text-decoration: none;
    background-color: var(--dgrey);
}

div.page-menu a:first-of-type {
    padding-left: 30px;
}

div.page-menu a.active {
    background-color: var(--blue);
}

div.page-menu a:after {
    position: absolute;
    z-index: 999;
    content: "";
    top: 1px;
    right: -10px;
    width: 22px;
    height: 22px;
    background-color: inherit;
    border: solid white;
    border-width: 5px 5px 0 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

h2 {
    letter-spacing: 0.01em;
}

h3 {
    padding-left: .5em;
}

hr {
    border: solid 2px #999e9e;
    border-radius: 2px;
}

/* page body */

div.page-body {
    z-index: 1;
    padding: 30px;
    text-align: center;
}

/* footer version */
.footer-version {
    position: fixed;
    right: 0;
    bottom: 0;
    font-size: 10px;
    padding: 6px;
    color: #333;
    background-color: #fcfcfc;
    border: solid 1px rgba(0, 0, 0, 0.1);
}

/* form container */

div.form-container {
    position: relative;
    display: inline-block;
    background-color: var(--lgrey);
    padding: 30px 30px 20px;
    text-align: left;
}

div.form-container.list {
    width: 100%;
    /* min-width: fit-content; */
    display: table;
    padding-top: 3em;
}

div.form-container.list.hidden {
    width: 100%;
    /* min-width: fit-content; */
    display: none;
}

/* Form Header */
div.form-container span.form-header,
div.form-container span.form-header-back {
    position: absolute;
    top: 0;
    left: 28px;
    background-color: var(--blue);
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
}

div.form-container .form-header-buttons {
    font-size: 14px;
    font-weight: bold;
    margin-top: .5em;
    
}

div.form-container .form-header-buttons button.active {
    background-color: var(--blue);
}
div.form-container .form-header-buttons button.inactive {
    background-color: var(--dgrey);
}

div.form-container span.form-header-back {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    height: 27px;
    width: 27px;
    text-align: center;
}

div.form-container span.form-header-back i {
    line-height: 27px;
}

/* Form Sub-Header */

div.form-container span.form-sub_header,
div.form-container span.form-sub_header-back {
    top: 0;
    left: 28px;
    background-color: var(--blue);
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    margin-bottom: 5%;
}

div.form-container span.form-sub_header-back {
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    height: 27px;
    width: 27px;
    text-align: center;
}

div.form-container span.form-sub_header-back i {
    line-height: 27px;
}

/* Form Error */
div.form-container span.form-error {
    display: block;
    position: relative;
    background-color: white;
    color: var(--red);
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    margin: 15px 0 0;
}

/* Form Error */
div.form-container span.form-warn {
    display: block;
    position: relative;
    color: var(--red);
    font-size: 14px;
    font-weight: bold;
}

div.form-container span.form-error.success {
    color: var(--green);
}

div.form-container span.form-buttons {
    position: absolute;
    top: 0;
    right: 0;
}

div.form-container span.form-buttons-with-next {
    position: absolute;
    top: 0;
    right: 28px;
    background-color: var(--blue);
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 2.7px 10px;
}

div.form-container.list span.butto div.form-container span.form-buttons button,
div.form-container.list td.buttons button,
div.form-container.list td.buttons span.button {
    position: relative;
    background-color: var(--green);
    border: 0;
    border-radius: 1px;
    margin: 0;
    padding: 0 7px;
    text-align: center;
    height: 27px;
    min-width: 27px;
    line-height: 27px;
}

div.buttons button i,
div.form-container.list td.buttons button i {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

div.form-container.list span.button i,
div.form-container.list table.form-list td.buttons span.button i {
    display: inline-block;
}

div.form-container.list span.button div.form-container.list td.buttons button,
div.form-container.list td.buttons span.button {
    xheight: 25px;
    xline-height: 25px !important;
    font-size: 12px;

    max-width: 500px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* left */

button.left,
span.button.left {
    text-align: left !important;
}

div.form-container.list td.buttons button:disabled,
div.form-container.list td.buttons button:disabled:hover {
    background-color: var(--dgrey) !important;
}

div.form-container.list span.button,
div.form-container.list td.buttons span.button {
    display: inline-block;
    color: white;
    xmin-width: 25px;
}

div.form-container.list span.button i,
div.form-container.list td.buttons button i,
div.form-container.list td.buttons span.button i {
    line-height: 27px;
    font-size: 12px;
}

div.form-container .grey {
    background-color: var(--grey) !important;
}

div.form-container .red {
    background-color: var(--red) !important;
}

div.form-container .orange {
    background-color: var(--orange) !important;
}

div.form-container .blue {
    background-color: var(--blue) !important;
}

div.form-container button.form-submit {
    position: absolute;
    display: inline-block;
    right: 0;
    bottom: 0;
    background-color: var(--blue);
    color: white;
    width: 27px;
    height: 27px;
    text-align: center;
    border: 0;
    border-radius: 1px;
    margin: 0;
    padding: 0;
}

div.form-container button.form-submit-top {
    position: absolute;
    display: inline-block;
    right: 0;
    top: 0;
    background-color: var(--blue);
    color: white;
    width: 27px;
    height: 27px;
    text-align: center;
    border: 0;
    border-radius: 1px;
    margin: 0;
    padding: 0;
}

div.form-container button.form-submit i {
    font-weight: bold !important;
    line-height: 27px !important;
}

div.form-container table.form-table {
    border-collapse: separate;
    border-spacing: 0 .5em;
}

div.form-container table.form-table textarea {
    min-width: 40em;
}
.form-flex-adres {
  display: flex;
  gap: 8px;
  width: calc(100% - 2px);
  margin-left: 8px;
}

.form-flex-adres > * {
  flex: 1;
  min-width: 0;
  width: auto !important;     /* override global width:100% */
  margin-left: 0 !important;  /* cancel per-input margin */
  box-sizing: border-box;
}

.form-flex-adres > :first-child {
  flex: var(--first-flex, 1);
}

.form-flex-adres > :last-child {
  flex: var(--second-flex, 1);
}


div.form-container table.form-list,
div.modal-content table.form-list {
    border-collapse: separate;
    border-spacing: 0 10px;
    width: 100%;
    font-size: 12px;
    text-align: left;
}

div.form-container table.form-list-grouped,
div.modal-content table.form-list-grouped {

    width: 100%;
    font-size: 12px;
    text-align: left;
}

.spacer  {
  height: .2em;
  background: transparent;
  border: none;
  padding: 0;
}

.row-primary > td {
    border-top: 2px solid var(--dgrey);
}

.input-blanc {
    background-color: unset;
}

div.form-container table.form-list.compact {
    border-spacing: 0 3px;
    margin: 7px 0px;
}

div.form-container table.form-table tr td:first-of-type,
div.form-container table.form-list th,
div.modal-content table.form-list th,
.video-list-row,
.video-list-header {
    padding: 3px 3px 3px 3px;
    color: var(--blue);
    font-weight: bold;
    font-size: 12px;
}

div.form-container table.form-list th.center {
    padding: 3px 10px;
}

/* Table sort indicators */

th.sortable {
    position: relative;
    cursor: pointer;
}

th.sortable::after {
    font-family: "Font Awesome\ 5 Free";
    content: "\f0dc";
    position: absolute;
    right: 8px;
    color: #999;
}

th.sortable.asc::after {
    content: "\f0d8";
}

th.sortable.desc::after {
    content: "\f0d7";
}

th.sortable:hover::after {
    color: #333;
}

/* END */

div.form-container table.form-list tr:hover td:not(.buttons) td:not(.upload),
div.modal-content table.form-list tr:hover td:not(.buttons) td:not(.upload) {
    background-color: var(--blue);
    color: white;
}

div.form-container table.form-table input,
div.form-container table.form-list input,
div.form-container table.form-table select,
div.form-container table.form-list select  {
    font-size: 12px !important;
    line-height: 2.5em !important;
    padding: 0 .5em;
    border: 0 !important;
    margin: .2em 0;
    margin-left: .5em;
    /* outline-color: bbb; */
    outline-width: thin;

    width: calc(100% - 1em)
}

div.form-container table.form-table select,
div.form-container table.form-list select  {
    min-height: 2.5em;  
    width: calc(100% - 1em);
}

.override-width {
    width: unset !important;
}

div.form-container table.form-table select,
select.upload {
    height: 24px;
}

div.form-container table.form-table input:read-only {
    color: var(--dgrey);
}

div.form-container table.form-table input.empty,
div.form-container table.form-table select.empty {
    border: dotted 1px var(--red) !important;
}

.feedback-items-table, .feedback-item-list-table {
    width: 100%;
}

.feedback-items-table td:not(:first-child) {
    text-align: center;
}


.feedback-items-table th {
    padding: 3px 20px 3px 3px;
    color: var(--blue);
    font-weight: bold;
    font-size: 12px;
}

.feedback-item-list-table th {
    padding: .2em 0;
    color: var(--blue);
    font-weight: bold;
    font-size: 12px;
}

.feedback-item-list-table th:first-child  {
    padding: .2em .5em;
}


.feedback-item-list-table td:not(:nth-child(2)) {
    text-align: center;
}

.feedback-table {
    min-width: 50%;
}

.feedback-table input {
    min-width: 20em;
}

.feedback-item-header {
    color: var(--blue);
  font-weight: bold;
  font-size: 12px;
  padding: 0 1em;
}

.feedback-intake {
    background-color: var(--dgrey) !important;
}

.feedback-user-select {
    height: unset !important;
}

/* thumbnail previews */
.thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, 17.5em); /* 4 per row or responsive */
    gap: .2em;
    padding: 1rem 0;
}

/* thumbnail previews */
.navigation .thumbs, .review-video-container .thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit,var(--thumbWidth)); /* 4 per row or responsive */
    gap: .2em;
    padding: 1rem 0;
}

.thumbs:not(.grid) .video-list-division {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.5rem;
    border: 1px solid #ccc;
}



.preview-container .video-container {
    /*margin-bottom: 20px;*/
    cursor: grab;
}

.preview-container span.video-selection,
.preview-container span.video-selection input,
.preview-container span.video-owner,
.preview-container span.video-metadata,
.preview-container span.video-name {
    cursor: default;
}

.thumbs li.preview-new-position:not(.preview-current-position) {
    /*border: solid 1px rgba(0,0,0,0.2);
    background-color: #AFCBFF;*/
    opacity: 0.2;
}
.preview-container.preview-new-position span.video-container img {
    /*border: solid 1px rgba(0,0,0,0.2);*/
}

.preview-container span.video-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: calc(var(--thumbWidth) - 25px);
    max-width: 100%;
    height: var(--thumbHeight);
    z-index: 1;
    border: solid 1px #f3f3f3;
    cursor: pointer;
    margin: 0 auto;
}

.thumbs.grid .video-col-versions {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  justify-content: flex-start;
}

.version-status.processing {
  color: #e67e22; /* orange */
  font-style: italic;
}

.version-status.missing {
  color: #e74c3c; /* red */
}

.version-download {
  font-weight: bold;
  text-decoration: underline;
  color: #0066cc;
}


.video-list-header-row > div {
    font-size: 12px;
    font-weight: bold;
    color: black;
    padding: 0 .5em;
}

.preview-container > .video-footer-container {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    z-index: 1;
    padding: 4px;
    font-size: 11px;
    
}

.preview-container span.video-container img {
    pointer-events: none;
    position: absolute;
    display: block;
    z-index: 10;
    width: 100%; 
    height: var(--thumbHeight);
}


.preview-container span.video-footer-container:hover {
}

.preview-container span.video-footer-container:hover .video-checkbox {
    transition: all 0.1s linear;
    opacity: 0.6;
}

.preview-container:hover span.video-container {
    border-color: #e9e9e9;
}

.preview-container span.video-metadata {
    cursor: pointer;
}


.preview-container span.video-metadata {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 11px;
    z-index: 18;
}


.preview-container span.video-metadata {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 60%;
    color: #fefefe;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1px;
    font-size: 9px;
    pointer-events: none;
}

.preview-container span.video-metadata {
    left: unset;
    right: 0;
    text-align: right;
}
/* Default (row) view - stacked layout */
.thumbs .preview-container {
    height: var(--thumbHeight);
    width: auto;
    margin: 0 1em;
    margin-top: 1em;
    display: flex;
    flex-direction: column;
}

/* Default (row) view - stacked layout */
.navigation .thumbs .preview-container, .review-video-container .thumbs .preview-container {
    height: auto;
    width: auto;
    margin: 0 1em;
    margin-top: 1em;
    display: flex;
    flex-direction: column;
}

/* Grid view - full-width details */
.thumbs.grid .preview-container {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    margin: 5px 0;
    gap: 1rem;
}



.thumbs.grid {
    display: flex;
  flex-direction: column;
  gap: .1em;
}

/* default hidden */
.video-list-header-row {
  display: none;
}

/* only show when in grid layout */
.thumbs.grid .video-list-division, .thumbs.grid .video-list-header-row {
  display: grid;
  grid-template-columns: minmax(var(--thumbWidth), 10%) 1fr 1fr 2fr 1fr;
  align-items: start;
  padding: 1em;
}

/* only show when in grid layout */
.thumbs.grid .video-list-division {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
}

.video-col-thumb {
    width: auto;
}

.video-list-division {
    display: contents;
}

.version-available {
    font-weight: bold;
    color: #0066cc;
}

div.clear-float {
    clear: both;
}

div.navigation {
    position: relative;
    clear: both;
}

/* modal */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fafcf5;
    margin: auto;
    padding: 0;
    border-radius: 1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 482px;
    overflow: hidden;
}

.modal-content .modal-header {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 40px;
    background-color: #f9fbf2;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}

.modal-header #modalText {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 40px;
    padding-left: 10px;
    padding-right: 40px;
    font-weight: bold;
    font-size: 15px;
    background-color: var(--green);
    color: var(--white);
}

.modal-content video,
.modal-content .content {
    margin-top: 40px;
    /* border: solid 1px #f3f3f3; */
    border-radius: 0;
}

.modal-content .content {
    padding: 20px;
}

/* The Close Button */
.close {
    color: var(--white);
    position: absolute;
    right: 8px;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    line-height: 36px;
}

.button-margin {
    margin: 0 .4em !important;
}

/* programming */

#programmingSchedule {
    margin-top: 50px;
}

div.schedule-day {
    margin-bottom: 5px;
    border-top: solid 2px var(--green);
    margin-top: 0px;
}

div.schedule-times {
    display: block;
    position: relative;
    margin-right: 46px;
}

div#videoProgramme div.programme-type,
div.schedule-day span.day-name span div,
div.schedule-times span.time-container,
div.review-day-time span.day-time-value span div,
button {
    display: inline-block;
    line-height: 1em;
    background-color: var(--green);
    color: var(--white);
    opacity: 0.9;
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    padding: 10px;
}

div.schedule-times span.time-container {
    font-size: 11px;
}

div.schedule-times span.time-container.stored {
    opacity: 0.3;
}

button {
    font-weight: bold;
    font-size: 13px;
    transition: all 0.1s linear;
    cursor: pointer;
}

button:disabled {
    cursor: default !important;
    opacity: 1 !important;
}

div.form-container button:disabled {
    background-color: var(--dgrey) !important;
}

button:hover {
    opacity: 0.7;
}

button:active {
    opacity: 0.6;
}


div#videoProgramme div.programme-type {
    padding: 0;
    margin-right: 15px;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 15px;
}

div#videoProgramme div.programme-type .box-select-container {
  border-top: .1em solid;
}

div#videoProgramme div.programme-type .box-select-container:after {
    top: calc(50% + .1em);
}


div#videoProgramme div.programme-type .box-select {
  font-weight: unset;
  border-top: .1em solid var(--white) !important;
  font-size: .8em;
  width: 100%;
}

div#videoProgramme div.programme-type .select-container select {
    color: var(--white);
}


div#videoProgramme div.programme-type .select-container {
  display: table-row;

}

div#videoProgramme div.programme-type .select-container > * {
  display: table-cell;
    padding: 5px; /* Optional: Add padding to cells */

}




div#videoProgramme div.programme-type .select-container:after {
    border-color: var(--white) !important;
}

div#videoProgramme div.programme-type .select-container select option {
    color: black !important;
    font-weight: normal;
}

div.schedule-times span.time-container {
    position: absolute;
    top: 14px;
    padding: 5px 4px;
    /*transform: translateX(-50%);*/
    text-align: center;
    letter-spacing: -0.1em;
}

div.schedule-times span.time-container:before {
    display: block;
    position: absolute;
    content: "";
    top: -15px;
    height: 14px;
    left: 50%;
    border-left: solid 1px var(--green);
    opacity: 0.3;
}

div.schedule-times span.time-container span.time-remove {
    display: inline-block;
    position: absolute;
    background: url(../img/delete_03.png) center no-repeat;
    width: 16px;
    height: 16px;
    right: -12px;
    bottom: -8px;
    cursor: pointer;
    background-color: var(--white);
    border-radius: 100%;
    border: solid 1px rgba(0, 0, 0, 0.4);
    opacity: 0.75;
    transition: opacity 0.1s linear;
}

div.schedule-times span.time-container span.time-remove:hover {
    opacity: 1;
}

/* review page (samenstelling.php) */

div.review-day-time,
div.schedule-day {
    position: relative;
    border-top: solid 2px var(--green);
    /*border-radius: 0px 5px 5px 5px;*/
    margin-bottom: 50px;
    padding-top: 10px;
}

div.schedule-day {
    margin-bottom: 100px;
    padding-top: 0;
}

div.schedule-day::before,
div.schedule-day::after {
    position: absolute;
    display: block;
    content: "0";
    left: 23px;
    height: 8px;
    border-width: 1px;
    border-color: var(--green);
    border-left-style: solid;
    opacity: 0.2;
    font-size: 9px;
    padding: 3px;
}

div.schedule-day::after {
    left: calc(100% - 23px);
    content: "24";
    border-left-style: solid;
    border-right-style: none;
}

div.review-day-time span.day-time-value,
div.schedule-day span.day-name {
    display: inline-block;
    position: absolute;
    height: 32px;
    top: -32px;
    left: 0px;
}

div.review-day-time span.day-time-value span,
div.schedule-day span.day-name span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 10pt;
}

div.review-day-time span.day-time-value span div,
div.schedule-day span.day-name span div {
    border-radius: 0;
    border: 0;
    padding: 0 10px;
    line-height: 30px;
}

div.review-day-time div.review-video-container {
    
    position: relative;
    margin-bottom: 35px;
}

/* text input */
table.form-list.upload td.upload input,
table.form-list.upload td.upload select {
    border: solid 1px rgba(0, 0, 0, 0.3) !important;
    xborder-radius: 5px;
    xpadding: 5px 8px;
    xheight: 2.5em;
}

table.form-list-markup > thead th, table.form-list-markup th{
    padding: .3em !important;
    cursor: pointer;
}

table.form-list-markup td {
    background-color: #fefefe;
    cursor: pointer;
    padding: .4em;
}

table.form-list-markup td:first-of-type {
    width: min-content;
}

table.form-list-fixed {
 table-layout: fixed;
   
}

table.form-list-markup tr:hover td {
    background-color: #dddddd;
}

.form-log-section {
    padding-top: 2em !important; 
    text-align: center; 
    border-top: .2em solid white;
}

.search-bar, #searchBar {
    padding: .5em;
}

input[type="text"],
input[type="file"],
select {
    font-size: 14px;
    color: #555;
}

/* select box */
select.fylm {
    display: inline-block;
    position: relative;
    line-height: 1.3;
    max-width: 100%;
    font-weight: bold;
    box-sizing: border-box;
    margin: 0;
    border-color: rgba(0, 0, 0, 0.3);
    padding: 4px 30px 4px 8px !important;
    cursor: pointer;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fefefe !important;
    /*
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
     */
}

select.transparency,
select.transparency:hover,
select.transparency:focus {
    line-height: 30px;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.select-container {
    display: inline-block;
    position: relative;
}
.select-container input[type="text"] {
    padding-right: 20px;
    cursor: pointer;
}
.select-container:after {
    position: absolute;
    content: " ";

    pointer-events: none;

    right: 3px;

    height: 8px;
    width: 8px;

    border: solid #777;
    border-width: 0 3px 3px 0;
    display: inline-block;
    /*padding: 3px;*/

    top: 50%;

    transform: translateY(-75%) translateX(-75%) rotate(45deg);
    -webkit-transform: translateY(-75%) translateX(-75%) rotate(45deg);
}

select.fylm::-ms-expand {
    display: none;
}
select.fylm:hover {
    border-color: #bfcaca;
}
select.fylm:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, 0.7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222;
    outline: none;
}
select.fylm option {
    font-weight: normal !important;
}

/* checkbox */
/* Customize the label (the container) */
.checkbox-container {
    
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    display: none;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 2px;
    left: 1px;
    height: 17px;
    width: 17px;
    background-color: var(--dgrey);
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
}

.checkmark-block {
    position: absolute;
    top: 2px;
    left: 1px;
    height: 17px;
    width: 17px;
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    font-size: 12px;
    text-align: center;
    color: var(--white);
    font-weight: bold;
}

.modal-content .checkbox-container .checkmark {
    top: 5px;
}

.video-list-row {
    display: inline-grid;
    width: 100%;
    grid-gap: 5px;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

.video-list-row form {
}

.video-list-division {
    /*width: 18%; 
    float:left;*/
    font-size: 8px;
    position: relative;
    margin: 0.5em;
    padding: .5em;
}

.video-list-remove {
    xbackground-color: var(--red);
    xcolor: var(--white);
    xfont-weight: 700;
    xfont-size: 12px;
    xtext-align: center;
    position: absolute;
    right: 0;
    xwidth: 2em;
    xcursor: pointer;
    xfont-family: Verdana, Geneva, sans-serif;
    xfont-size: 13px;
}

.video-list-remove button {
    margin: 0;
}

.video-list-remove input {
    border: none;
    background-color: transparent;
    color: var(--white);
    cursor: pointer;
    height: 2em;
    font-weight: bold;
}

.video-list-division video,
.video-list-division > div:not(.video-col-thumb) {
    width: 100%;
    padding: .5em;font-size: 12px;
}

.video-col-name {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Show only 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.8em; /* Enough to fit 2 lines based on your line-height */
  line-height: 1.4em; /* Set to match content size */
  color: var(--blue);
  font-weight: 700;
}

.thumbs:not(.grid) .video-list-division > div {
    width: 100%;
    padding: 0.2em;
    text-align: center;
    font-size: 12px;
    word-break: break-word;
}

 

.video-col-buttons,
.video-col-versions,
.video-col-tags {
    flex: 1;
    font-size: 11px;
    gap: 0.5rem;
}

.video-col-buttons button {
  flex: 1; /* Makes each button grow equally */
  min-width: 0; /* Prevents overflow issues */
}

.video-list-division div.tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.4em;
    margin: 0.2em 0;
    width: auto;
    border: 1px solid var(--dgrey);
    border-radius: 1px;
    float: left;
    background-color: var(--white);
    margin: 0.5em;
    margin-left: 0;
    height: 2em;
    font-size: 9px;
    line-height: 9px;
}

input.tag {
    font-size: 10px;
    line-height: 10px;
    position: relative;
    background-color: var(--white);
    border: 1px solid var(--dgrey);
    height: 1.2em;
    margin-left: 0.5em;
    width: 5em;
    border-radius: 1px;
    padding: 0;
}

.tag-add {
    cursor: pointer;
}

.video-tags {
    color: var(--white);
    font-weight: bold;
    position: absolute;
    z-index: 2;
    padding: 0.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 8px;
}

.video-tags span {
    padding: 0.2em;
}

.tag-remove-button {
    padding: 0;
    margin: 0 0 0 0.3em;
    color: var(--red);
    cursor: pointer;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    font-weight: bold;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark,
.thumbs li:not(.preview-container) span.video-footer-container:hover input ~ .checkmark {
    background-color: #ddd;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark-block,
.thumbs li:not(.preview-container) span.video-footer-container:hover input ~ .checkmark-block {
    background-color: #ddd;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #2196f3;
}
/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark-block {
    background-color: #2196f3;
}

.checkbox-container:hover input:checked ~ .checkmark,
.thumbs li:not(.preview-container) span.video-footer-container:hover input:checked ~ .checkmark {
    background-color: #64b6f7;
}
.checkbox-container:hover input:checked ~ .checkmark-block,
.thumbs li:not(.preview-container) span.video-footer-container:hover input:checked ~ .checkmark-block {
    background-color: #64b6f7;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark-block:after {
    content: "";
    position: absolute;
    display: none;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}
/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark-block:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark-block:after {
    left: 4px;
    top: 1px;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.upload td, .upload th {
    padding: 1em !important;
}

/* clockpicker */

div.popover.clockpicker-popover {
    /*
    display: block !important;
    top: 185px !important;
    left: 60px !important;
     */
    margin-top: 15px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

div.popover.clockpicker-popover div.arrow,
div.popover.clockpicker-popover button.clockpicker-button {
    display: none !important;
}

/* */
.center {
    text-align: center;
}

/* */

.theme-container {
    position: absolute;
    display: flex;
    align-items: center;
    right: 20px;
    top: 0px;
    bottom: 0px;
    color: white;
}

#searchBar {
    border-radius: 6px;
    width: 100%;
    display: block;
    margin-bottom: 2%;
}

.textarea-resized {
    width: calc(100% - 1em);
    padding: .5em;
    margin: .5em;
}

.hidden {
    display: none;
}

/* User details Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal-content.auto-width {
    width: min-content;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

/* The Close Button */
.close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    /*padding: 2px 16px;*/
    background-color: #5cb85c;
}

.modal-body {
    padding: 2px 16px;
    margin-bottom: 5%;
}

.modal-footer {
  

    color: white;
}

.hover-selectable {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    width: 100%;
    padding: 1%;
}

.hover-selectable:hover {
    background-color: #5cb85c;
}


/* ADMIN */
.form-section-container {
    background-color: unset !important;
    padding: 0 30px !important;
}

.form-flex-container {
    display: flex;
    flex-direction: column;
    padding: 1em;
}


.group-section table {
    padding: 0 28px;
}

.admin-section-table tr > td:last-child {
    width: min-content;
    text-align: right;
}

.admin-form-table tr > td:first-childm .admin-form-sub-table tr > td:first-child {
    width: 10%;
    min-width: min-content;
    padding: 0 .5em !important;
}

.admin-form-sub-table {
   margin: 1em !important;
  border: 1px solid #aaa;
}

.admin-form-header {
    padding: 1em 2em .5em 2em !important;
    color: var(--blue);
    font-weight: bold;
    font-size: 16px;
}

.admin-form-toggle:not(.hidden) {
    display: flex;
  flex-direction: column;
}


.add-entry-btn, .add-video-btn {
   margin: 0 28px;
   width: max-content;
}

.add-section-btn {
    width: 100%;
}

.group-section-wrapper.hidden { display: none; }

.group-section {
    display: flex;
    flex-direction: column;
    padding: 3em 0 1em 0;
    margin-bottom: 1em;
    position: relative;
    background-color: var(--lgrey);
    border: 0.2em solid white;
}

.webcontent-entry {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 10px 28px;
}
.webcontent-entry input,
.webcontent-entry textarea {
    width: 100%;
    padding: 0.5em;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.webcontent-entry .description {
    font-size: 0.85em;
    color: #666;
}

.hidden {
    visibility: hidden;
}

.link-select, .link-deselect {
    cursor: pointer;
    text-decoration: underline;
}

.feedback-list-item-body > tr {
    cursor: pointer;
}

.feedback-list-item-body > tr:hover{
    background-color: var(--grey) !important;
}

.selected-row {
    background-color: var(--dgrey) !important;
    transition: background-color 0.2s ease;
}
.selected-row td {
    font-weight: 600;
}
.answerRow, .vraagSelect {
    transition: opacity 0.2s ease;
}
.answerRow.hidden, .vraagSelect.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
}