@font-face {
    font-family: "brcobane";
    src: url("brcobane.otf");
}

html {
    background-color: #222;
    color: white;
    font-family: 'brcobane', 'Lato', sans-serif;
}

a {
    text-decoration: none;
}

#login_div button {
    float: right;
    margin: 20px;
}

#logo {
    width: 200px;
    height: 55px;
    background-image: url("/static/images/logo2.png");
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 0.6vw;
}

.import_table {
    font-size: x-small;
    max-width: 1000px;
    height: 50px;
    white-space: nowrap;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
}

details > summary {
  cursor: pointer;
}

#search {
    background-color: hsla(0,100%,100%,0.06);
    border: none;
    font-weight: bold;
    color: #aaa;
    padding: 1em;
    width: 500px;
    transition: background-color 0.25s, color 0.25s;
}

#login_div {
    width: 500px;
    margin: 0px auto;
}

#home_div {
    width: 1080px;
    height: 500px;
    margin: 0px auto;
    margin-top: 20px;
    background-image: url("/static/images/home.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.logo_moving:hover {
    transform: rotate(-0.01turn);
    transition: transform 0.5s;
}

/*
.artwork-list article {
    width: 240px;
    min-height: 210px;
    transition: transform .12s;
    padding: 2px;
}

.artwork-list article:hover {
      transform: scale(1.1);
}
*/

.errorlist {
    color: red;
}

.programme-list article {
    display: flex;
    gap: 10px;
    width: 360px;
    min-height: 210px;
    padding: 7px;
}

.programme-list article .programme-info {
    font-size: medium;
    display: block;
    line-height: 1.5;
}

.list-layout article {
    width: 100%;
    min-height: 20px;
    padding: 2px 1px 2px 10px;
}

.list-layout article div {
    display: inline-block;
    min-width: 40px;
}

.list-layout article:nth-child(odd) {
    background-color: #333;
}

.artwork-list {
    align: center;
    width: 100%;
}

.artwork-list img {
    display: block;
    margin: auto;
}

.artwork-list table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    td {
        height: 36px;
    }
    margin-top: 1.5em;
}

.artwork-list table td a {
    color: #fff;
}

.artwork-list tbody tr:nth-child(odd), .mediainfo tr:nth-child(odd), .filelist tbody tr:nth-child(odd) {
    background-color: #333;
}

.artwork-list thead th {
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    border-top: 1px solid #333;
    background-color: #222;
}

.metadata-table tbody tr:nth-child(even) {
    background-color: #444;
}

#medium-metadata {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 12px;
    padding: 8px;
}

#medium-metadata table {
    border-top: 1px solid grey;
}

.filelist {
    width: 100%;
}

.mono {
    font-family: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.filelist td {
    padding: 8px 6px;
}

.mediainfo table {
    width: 100%;
}

.mediainfo td {
    padding: 0 8px;
}

.artwork-list .pagination {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-layout article img {
    width: 30px;
}

.list-layout article:hover {
      transform: none;
}

.mainlinks {
    display: inline;
}

.mainlinks a i {
  border-radius: 2px;
  padding: 8px;
  border  : none;
  background-color: #666;
  color: white;
}


.menu {
    height: 54px;
    padding: 5px 0.6vw 0 0.6vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: black;
    border-bottom: 1px solid grey;
    .right_menu i {
        margin: 5px 7px 0 0;
        padding: 2px;
    }
}

.menu #bar {
    width: 100%;
    height: 9px;
    background: linear-gradient(to right, #B300B2, #de1616);
}

.menu a {
    color: white;
}


.barrenav {
  text-align: center;
  .links {
      margin-top: -1px;
      a {
          color: #1095c1;
          padding: 0 2px;
      }
  }
}

@media(max-width: 920px) {
    .barrenav {
        position: absolute;
        top: 4px;
        left: 32px;
        text-align: left;
        input {
           width: 96px;
        }
        select {
           width: 48px;
        }
        a {
            background-color: black;
        }
    }
    #logo {
        width: 50px;
        background-image: url("/static/images/logo_nova-a6701-v.png");
    }
    .object-links {
        top: 140px;
    }
}

.barrenav_article {
    padding: 10px;
}

.barrenav form {
    display: inline;
}

.barrenav form label {
    color: #999;
}

article form label:hover {
  text-decoration: underline;
  cursor: pointer;
}

/*.artwork-list, */

.programme-list {
    display: flex;
    flex-wrap: wrap;
    margin: 10px;
}

.detail-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5px;
}

.detail-section article {
    padding: 4px 12px;
}

.title-and-links {
}

.detail-article {
    line-height: 1.3;
    flex: 1 1 610px;
}

.detail-article p {
    max-width: 610px;
}

.detail-article-image {
    flex: 0 0 450px;
    min-width: 450px;
    min-height: 1px;
    margin-left: 4vw;
}

.article-info {
    padding: 4px;
}

.article-detail-image {
    /*text-align: center;*/
    padding: 16px auto;
}

.object-edit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.object-links {
    position: absolute;
    z-index: 1;
    display: inline-block;
    right: 1vw;
    border-left: 1px solid #c50971;
    border-bottom: 1px solid #c50971;
    border-radius: 3px;
    background-color: #222;
    padding-bottom: 1px;
    a {
        display: flex;
        justify-content: space-between;
        margin: 1px 8px;
        background-color: #222;
    }
    a:hover {
        color: #c50971;
        text-decoration: none;
    }
}

input, textarea, select, button, .button {
  border-radius: 2px;
  padding: 7px;
  border  : none;
  background-color: #777;
  color: #fff;
  cursor: pointer;
}

.select2-selection {
  background-color: #777 !important;
}

button, .button {
  background-color: #c50971;
  font-size: 16px;
}


button:hover {
  background-color: #c50971;
}

input:focus, textarea:focus {
/*
  border-radius: 5px;
  outline      : none;
*/
}

article form input, article form textarea {
  width   : 320px;
}

article form select {
  width   : 334px;
}

.select2-dropdown, .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #777;
    font-size: 14px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
}

/*
 * button {
  padding: 3px;
  border       : 2px solid #333;
  border-radius: 5px;
  font-size: 1.05em;
}
*/

#toggle-layout {
    width: 98%;
    text-align: right;
}

#toggle-layout a {
    color: #fff;
}

#toggle-layout i {
    cursor: pointer;
}

/* Style The Dropdown Button */
.bx {
  font-size: 1.1rem;
}

.container {
    margin: 0 2vw;
}

.dropdown {
  position: absolute;
  right: 30px;
  /*width: 250px;*/
  z-index: 999;
  box-shadow: var(--shadow);
  border-radius: 3px;
  margin-top: 0.3rem;
  background-color: #222;

  visibility: hidden;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.1s cubic-bezier(0.16, 1, 0.5, 1);

  border: 1px solid grey;

}

.dropdown a {
  display: flex;
  align-items: center;
  column-gap: var(--gap);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.dropdown a:hover {
        color: #c50971;
}

.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0rem);
}

.arrow {
  transform: rotate(180deg);
  transition: 0.2s ease;
}

.grey {
    color: #aaa;
}

.imageoverinput {
	position: relative;
}

.imageoverinput i {
	position: absolute;
	left: 8px;
	top: 6px;
	color: white;
}

.imageoverinput input {
    padding-left: 36px;
}

.helptext, .smaller {
    font-size: smaller;
}

.videodiv {
    max-width: 420px;
}

.metadata-table {
}

.metadata-table td {
    padding: 3px 8px !important;
    font-size: smaller;
    max-width: 400px;
}

.white {
    color: white;
}

.inlined div {
    display: inline;
}

.logout {
    display: inline-block;
    button {
        background-color: unset;
        font-size: 18px;
    }
}

#image-clear_id {
    display: block;
}

li.active a, #top-navigation a.active, #bottom-navigation a.active {
    text-decoration: underline;
    color: white;
}

#top-navigation {
    position: absolute;
    top: 64px;
    left: 5%;
    text-align: center;
    width: 95%;
}

#bottom-navigation {
    text-align: center;
    width: 95%;
}

.pagination {
    font-size: small;
    justify-content: center;
    margin-top: 10px;
}

.data-detail {
    max-width: 650px;
    /* list-style-type: circle; */
 }

 .program-thumbnail {
     width: 167px;
     height: 240px;
 }

 .width-cap {
     max-width: 1920px;
     margin: 0 auto;
 }

.dropzone {
    border-radius: 7px;
    border: 2px dashed orange;
    input[type=file] {
        width: unset;
    }
    height: 210px;
    max-width: 750px;
    padding: 7px;
    margin: 0 auto;
}

#dropzone_messages {
    width: 100%;
    overflow: scroll;
    height: 42px;
    color: #ccc;
    /*overflow-y: auto;
    display: flex;*/
}

.progressbar {
  border-radius: 7px;
  width: 66%;
  height: 8px;
  box-shadow: 1px 1px 4px rgba( 0, 0, 0, 0.2 );
}
