/*
Update JUne 25, 2025
March 11, 2023  10:44
*/

/* Set custom colours here */
:root {
  --color-white: #ffff;
  --color-black: #000000;
  --color-primary: #431957;
  --color-link: #431957;
  --color-hover: #F0C800;
  --color-buttontext: #ffff;
  --color-pagination: #f1f2f2;
  --color-majorth: #431957;
  --color-minorth: #e3e3e3;
  --color-module: #99C9E2;
  --cassiopeia-color-primary: #FFFFFF;
  --cassiopeia-color-link: #FFFFFF;
  --cassiopeia-color-hover: #FFFFFF;
}

/* Disable login notice */
.alert.alert-success.alert-dismissable {
  display: none;
}

/* Hides edit button on articles for Super Users */
.float-end {
  display: none !important;
}

/* Hides edit button on modules for Super Users */
.jmodedit {
  display: none !important;
}

p {
  font-size: 18px;
  line-height: 1.5;
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

.page-header {
  display: none;
}

/* Hide groups from editor profile */
.control-group.editor,
.control-group.timezone {
  display: none;
}

h1, .h1 {
  font-size: calc(1.325rem + 0.9vw);
}

h4, .h4 {
  font-size: calc(1.2rem);
}

@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2rem;
  }
}

.card {
  border: 2px solid var(--color-primary) !important;
}

.card-header {
  background-color: var(--color-minorth) !important;
  border: 1px solid #dfe3e7;
  margin-bottom: 0;
  padding: 0.5rem 1rem;
  text-align: center;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: #333;
  background-color: #fff;
}

/* Link - does not apply to the button class */
a {
  color: var(--color-link) !important;
  font-weight: bold !important;
}

/* Visited link - does not apply to the button class */
a:not([class*="button btn btn-primary cbButton cbNewButton"]):visited {
  color: var(--color-primary) !important;
}

/* Mouse over link - does not apply to the button class */
a:not([class*="button btn btn-primary cbButton cbNewButton"]):hover {
  color: var(--color-hover) !important;
  font-weight: bold !important;
}

/* Text on button color */
.btn-primary {
  color: var(--color-buttontext) !important;
  text-shadow: 0 -1px 0 rgb(0 0 0 / 25%);
  background-color: var(--color-primary);
  background-image: -moz-linear-gradient(top, var(--color-primary), var(--color-primary));
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(var(--color-primary)), to(var(--color-primary)));
  background-image: -webkit-linear-gradient(top, var(--color-primary), var(--color-primary));
  background-image: -o-linear-gradient(top, var(--color-primary), var(--color-primary));
  background-image: linear-gradient(to bottom, var(--color-primary), var(--color-primary));
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='var(--color-primary)', endColorstr='var(--color-primary)', GradientType=0);
  border-color: var(--color-primary);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background: var(--color-hover) !important;
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--color-hover);
  border-color: var(--color-hover);
}
/* Code to customize the pdf download button*/
.btn-pdf {
    --btn-color: #F0C800;
    --btn-bg: #F0C800;
    --btn-border-color: #F0C800;
    --btn-hover-color: #fff;
    --btn-hover-bg: #431957;
    --btn-hover-border-color: #431957;
    --btn-focus-shadow-rgb: 185, 122, 38;
    --btn-active-color: #fff;
    --btn-active-bg: #431957;
    --btn-active-border-color: #431957;
    --btn-active-shadow: inset 0 3px 5px #00000020;
    --btn-disabled-color: #fff;
    --btn-disabled-bg: #431957;
    --btn-disabled-border-color: #431957;
}

/* Specific styling for the data tables */
.dataTables_wrapper .dataTables_filter {
  float: right;
  text-align: right;
  visibility: hidden;
}

#search_wrapper {
  width: 98%;
}

table.dataTable > tbody > tr.child span.dtr-title {
  display: none;
}

input,
textarea,
.uneditable-input {
  width: 80%;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #FFFFFF;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  z-index: 2;
  color: var(--color-pagination);
  background-color: #eee;
  border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: var(--color-pagination);
  border-color: var(--color-pagination);
}

.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

table.heading {
  width: 100%;
  background-color: var(--color-primary) !important;
  color: #ffffff;
}

td.y {
  padding-left: 10px;
}

table.blkborder {
  width: 100%;
  vertical-align: top;
  padding: 5px;
  font-weight: bold;
  border: 1px solid black;
}

td.blkborder,
th.blkborder {
  vertical-align: top;
  padding: 5px;
  font-weight: bold;
  border: 1px solid black;
}

th.major {
  vertical-align: top;
  padding: 5px;
  font-weight: bold;
  border: 1px solid black;
  background-color: var(--color-majorth) !important;
  color: var(--color-buttontext) !important;
}

th.majorpro {
  vertical-align: top;
  padding: 5px;
  font-weight: bold;
  text-align: left;
  border: 1px solid black;
  background-color: var(--color-majorth) !important;
  color: var(--color-buttontext) !important;
}

th.minor,
td.minor {
  vertical-align: top;
  padding: 5px;
  font-weight: bold;
  border: 1px solid black;
  background-color: var(--color-minorth) !important;
  color: var(--color-majorth) !important;
}

td.photo {
  padding: 5px;
  font-weight: bold;
  border: 1px solid black;
}

table.group,
th.group,
td.group {
  width: 100%;
  vertical-align: middle;
  padding: 10px;
  border-spacing: 10px;
  font-weight: bold;
  border: 0px solid black;
}

.group button {
  background-color: var(--color-primary) !important;
  border: 1px solid black;
  border-radius: 10px;
  color: #FEFEFE;
  padding: 12px 20px;
  cursor: pointer;
  margin-left: 40px;
}

.group button:hover {
  color: #fff;
  background: var(--color-hover) !important;
}

table.white {
  background-color: white;
  width: 100%;
  vertical-align: top;
  padding: 5px;
  font-weight: bold;
}

table.th {
  text-align: center;
}

td.center,
th.center {
  text-align: center;
  max-width: 200px;
  word-wrap: break-word;
  white-space: normal;
}

.wrapper-class input[type="radio"] {
  width: 15px;
}

.wrapper-class label {
  display: inline;
  margin-left: 5px;
}

.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.nav-pills > .active > a:focus {
  background-color: var(--color-minorth) !important;
}

/* convert table properties to div Dec 2023 */

/* Div code for the user Application and your Marks buttons on the home page etc. */
.homepagecontainer,
.logincontainer,
.com-users-registration.registration,
.com-users-profile__edit {
  display: flex;
  flex-wrap: wrap; /* allows the flex items to wrap onto multiple lines if necessary */
  width: 70%; /* sets the width of the container to 80% of the parent element */
  align-items: center; /* Vertically center the child element within the parent element */
  max-width: 750px;
  justify-content: center;
  margin: auto;
  padding: 10px;
  border: 5px solid var(--color-primary) !important;
  border-radius: 10px;
}

.buttoncontainer {
  display: flex;
  flex-wrap: wrap; /* allows the flex items to wrap onto multiple lines if necessary */
  width: 100%; /* sets the width of the container to 80% of the parent element */
  align-items: center; /* Vertically center the child element within the parent element */
}

.buttoncolumn1,
.buttoncolumn2 {
  flex: 0 0 40%; /* occupy 40% of the width */
  min-width: 300px; /* sets a minimum width for the column */
  height: 60px; /* set a fixed height */
  text-align: right;
  padding-right: 20px; /* adds 10px of right padding to the container */
  /* border: 1px solid black */
}

.buttoncolumn2 {
  text-align: left;
  font-weight: bold;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .buttoncolumn1,
  .buttoncolumn2 {
    flex: 0 0 100%; /* makes the columns stack vertically on mobile */
    align-items: center;
    text-align: center;
  }
}

/* Div code for the user links on the home page pdf's etc. */
.flex-container-list {
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  font-weight: bold;
  font-size: 1.5rem;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

/* Code for the section headings */
.major,
.minor {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 5px;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.major {
  border: 1px solid var(--color-majorth) !important;
  background-color: var(--color-majorth) !important;
  color: var(--color-buttontext) !important;
}

.minor {
  border: 1px solid black;
  font-size: 1.25rem;
}

/* End of Code for the section headings */
div.majorpro {
  vertical-align: top;
  padding: 5px;
  font-weight: bold;
  text-align: left;
  border: 1px solid black;
  background-color: var(--color-majorth) !important;
  color: var(--color-white) !important;
}

/* Code for the main Artist listing section with the photo and main items */
.listingcontainer {
  display: flex;
  flex-wrap: wrap;
}

.photo {
  display: flex;
  width: 34%;
  height: 500px;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.listingcontainercolumn,
.listingcontainercolumn100,
.listingcontainercolumncenter {
  display: flex;
  flex-direction: column;
}

.listingcontainercolumn {
  width: 65%;
}

.listingcontainercolumn100,
.listingcontainercolumncenter {
  width: 99%;
}


.artistcategoryicons {
  padding-left:30px!important;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  width: 100%;
  text-align: center;
}



.artistcategory-artistcategorydata-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
}

.artistcategory,
.artistcategorydata {
  width: 50%;
}

.artistcategorydata {
  padding-left: 20px;
}

.artistcategory-artistcategorydata-container:nth-of-type(even) {
  background-color: #f2f2f2;
}

@media only screen and (max-width: 980px) {
  .photo {
    width: 100%;
    height: auto;
  }

  .listingcontainercolumn {
    width: 100%;
  }

  .artistcategory-artistcategorydata-container {
    flex-direction: column;
  }

  .artistcategory,
  .artistcategorydata {
    width: 100%;
    padding: 10px 0;
  }
}

/* End of Code for the main Artist listing section with the photo and main items */

/* Code for the video container portion */
.videocontainer,
.suppcontainer {
  display: flex;
  flex-wrap: wrap;
  width: 99%;
  padding: 5px;
  font-weight: bold;
  justify-content: center;
}

.artistvideocontainer {
  display: flex;
  flex-direction: row;
  padding: 10px;
}

.artistvideo {
  display: flex;
  justify-content: center;
  width: 50%;
}

/* Div code for the Group buttons on Artist listing page */
.group button {
  background-color: var(--color-primary) !important;
  border: 1px solid black;
  border-radius: 10px;
  color: #FEFEFE;
  padding: 12px 20px;
  cursor: pointer;
  margin-left: 40px;
}

.group button:hover {
  color: #fff;
  background: var(--color-hover) !important;
}

@media (max-width: 768px) {
  .group {
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 5px; /* Adds 5px of space between elements */
  }
}
 /* Custom styles for showcase listings front page *//* Custom styles for showcase listings front page */
    .artist-listing {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .artist-column {
        width: 32%;
        margin-bottom: 20px;
        text-align: center; /* Center align the column content */
    }

    @media (max-width: 768px) {
        .artist-column {
            width: 100%;
        }
    }


.artist-image {
    width: 125px;
    height: 125px;
    object-fit: cover;
    object-position: top;
    border-radius: 5px;
}


    .artist-entry {
        text-align: center;
           margin-bottom: 1rem;
    }

    .artist-entry .image-container {
        height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background-color: #f9f9f9;
        border-radius: 8px;
    }

    .artist-entry img {
        max-height: 100%!important;
        max-width: 100%;
    }

    .artist-entry a {
        font-size: 1.2em;
        /*color: #252525;*/
        text-decoration: none;
        display: block;
        margin-top: 10px;
    }

        .artist-column h1 {
        margin-bottom: 20px;
        font-size: 1.5em;
        color: #333;
    }
    
    /* Row layout for the form */
.showcase-form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    min-width: 380px;
}

/* Styling for both dropdowns */
.showcase-status-select,
.showcase-session-select {
    min-width: 150px;
    height: 2.5em;
    font-size: 1em;
    border-radius: 5px;
}

/* Grayed-out style for session select when not used */
.showcase-session-select.inactive {
    opacity: 0.25;
    pointer-events: none;
    background-color: #f9f9f9;
    color: #999;
}

/* Consistent size for all update buttons */
.showcase-form-row button[type="submit"] {
    min-width: 90px;
}