body { 
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url("../images/background2.png");
  background-repeat: repeat; /* repeats both x and y */
}

/*GENERIC*/
a {
  text-decoration: none;
}

.container {
  padding:15px;
}

.side-padding-15 {
  padding-left:15px;
  padding-right:15px;
  display: inline-block;
  width: 100%;
}

.side-padding-30 {
  padding-left:30px;
  padding-right:30px;
  display: inline-block;
  width: 100%;
}

.side-margin-15 {
  margin:15px;
}

.filter_icon {
  width:35px;
}

.small_filter_icon {
  width:15px;
}

.category_icon {
  width:15px;
  margin-right:5px;
}

.title {
  font-weight:bold;
  font-size:18px;
}

.icon-row {
  padding-top:5px;
  padding-bottom:5px;
  background-color: #f7eceb;
  border-bottom: 2px solid #fc0b03;
}

.red {
  color:#fc0b03;
}

.cover {
  border:2px solid black;
}

.admin_cover_size {
  width:30px;
}

.header {
  display: flex;
  justify-content: space-between; /* left & right */
  align-items: center;            /* vertical alignment */
}

.page {
  width:100%;
}

.wide-800 {
  max-width:800px;
}

.white-block {
  background-color: white;
}

.left-align {
  text-align: left !important;
}

.bottom-15 {
  margin-bottom:15px;
}

.button-red {
  background-color:#fc0b03;
  color:white;
  border:none;
  padding:10px 20px;
  font-size:16px;
  cursor:pointer;
  width:100%;
}

.small-text {
  font-size:10px;
}

.outcast-title {
  color:white;
}
/*END GENERIC*/

/*NAVIGATION*/
.icon-bar {
  width: 50%;
  background-color: #c7c7c7;
  overflow: auto;
  font-size: 8px;
  border-bottom:2px solid #fc0b03;
  cursor:pointer;
}

.icon-bar div {
  float: left; /* Float links side by side */
  text-align: center; /* Center-align text */
  width: 12.5%; /* Equal width (5 icons with 20% width each = 100%) */
  padding: 12px 0; /* Some top and bottom padding */
  transition: all 0.3s ease; /* Add transition for hover effects */
  color: white; /* White text color */
  font-size: 24px; /* Increased font size */
}

.icon-bar a:hover {
  background-color: #000; /* Add a hover color */
}

.horror-active {
  background-color: #632f52;
}

.action-active {
  background-color: #99ff00;
}

.romance-active {
  background-color: #ff2a00;
}

.fantasy-active {
  background-color: #ff9808;
}

.comedy-active {
  background-color: #fcff3b;
}

.scifi-active {
  background-color: #00e3c5;
}

.adult-active {
  background-color: #ff00d9;
}
/*END NAVIGATION*/

/*GALLERY*/
div.gallery {
  background-color: rgba(255, 255, 255, 0.6);
  border:1px solid black;
}

div.gallery:hover {
  background-color: rgba(199,199,199, 0.6);
  border:1px solid black;
}

div.gallery img {
  max-width: 200px;
  height: auto;
  text-align: center;
}

div.desc {
  padding: 5px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
/*END GALLERY*/

/*SEARCH*/
/* Add a black background color to the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #f7eceb;
  border:1px solid #fc0b03;
  margin-bottom:5px;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the "active" element to highlight the current page */
.topnav a.active {
  background-color: #fc0b03;
  color: white;
}

/* Style the search box inside the navigation bar */
.topnav input[type=text] {
  float: right;
  padding: 6px;
  border: none;
  margin-top: 8px;
  margin-right: 16px;
  font-size: 17px;
}

select {
  padding: 6px;
  border: none;
  margin-top: 8px;
  margin-right: 16px;
  font-size: 17px;
}

/* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */
@media screen and (max-width: 600px) {
  .topnav a, .topnav input[type=text] {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  .topnav input[type=text] {
    border: 1px solid #ccc;
  }
  .wide-800 {
    max-width:800px;
    margin:15px;
  }

  .icon-bar {
    width: 90%;
    background-color: #c7c7c7;
    overflow: auto;
    font-size: 8px;
    border-bottom:2px solid #fc0b03;
    cursor:pointer;
  }
}

.titles-style {
  font-weight: bold;
  font-size: 16px;
  line-height: 32px;
}
/*END SEARCH*/

/*PROGRESS SCROLL*/

/* Style the header: fixed position (always stay at the top) */
.progress-header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #f1f1f1;
}

/* The progress container (grey background) */
.progress-container {
  width: 100%;
  height: 8px;
  background: #ccc;
}

/* The progress bar (scroll indicator) */
.progress-bar {
  height: 8px;
  background: #fc0b03;
  width: 0%;
}
/*END PROGRESS SCROLL*/


table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid black;
}

th {
  text-align: left;
  padding: 18px;
  border: 2px solid black;
}

td {
  text-align: left;
  padding: 16px;
}

tr:nth-child(even) {
  background-color: #f7eceb;
}

tr:nth-child(odd) {
  background-color: white;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  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/Box */
.modal-content {
  background-color: #fefefe;
  margin: 10px auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.upload-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.drop-zone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  width:100%;
  display:block;
}

.drop-zone.dragover {
  border-color: #fc0b03;
  background-color: #fff0ef;
}

#preview {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

#preview img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.checkbox {
  width:20px;
  height:20px;
}

.page_thumbnail {
  width:100px;
}