/*
 * @package     Take5 26-02-2026 - 12.1
 * @subpackage  M A I N   S T Y L E   S H E E T  - CSS
 * @copyright   Copyright (C) 2024 Gramsoft Dataware. All rights reserved.
*/

:root {
  --main-bg-color: #000080;
  --main-color: #FF0;
}

audio {
    border: 1px solid #ccc;
    width: 340px;
}

body {
    font-family: Calibri, Helvetica, Arial, sans-serif;
    color: #000;
    font-size: 1em;
}

body input {
    font-family: Calibri, Helvetica, Arial, sans-serif;
    background-color: #FFF;
    color: #000;
    border: 1px solid #AAA;
    font-size: 0.8em;
    height: 24px;
    margin-bottom: 10px;
}

body label {
  width: 80px;
  font-size: 0.8em;
  display: inline-block;
  text-align: right;
  float: left;
  padding: 1px 5px 1px 1px;
}

body textarea {
    background-color: #F1F1F1;
    color: #000;
    border: 1px solid #AAA;
}

td, th {
    /*border: 1px solid #888;*/
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
}

table { 
    border-spacing: 0;
    border-collapse: collapse;
}

div.t5pane {
    width: 360px;
    height: 736px;
    background-color: #f9f9f9;
    position: relative;
    display: inline-block;
    margin: 0px 10px 10px 0px;
    border: 1px solid #DDD;
    float: left;
    vertical-align: top;
}

div.t5pane-form {
    width: 360px;
    height: 736px;
    color: #000;
    background-color: #F1F1F1;
    position: relative;
    display: inline-block;
    /*margin: 0px 10px 10px 0px;*/
    border: 1px solid #DDD;
    float: left;
    vertical-align: top;
}

div.caption{
    height: 38px;
    width:  100%;
    line-height: 36px;
    border: 1px solid #000;
}

div.caption-element{
    font-family: inherit;
    padding-left: 5px;
    padding-right: 5px;
    max-height: 34px;
}

button.dash {
    width: 34px;
    height: 34px;
    margin-top: 1px;
    background-color: #FFF;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
    } 

button.dash:hover {
    background-color: #DDD;
    border-top: 1px solid #333333;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #333333;
}

button.arrow {
    float: left;
    font-weight: bold;
    border: none;
    margin: none;
    padding: none;
    } 

button.arrowcmb {
    text-align: right;
    width: 74px;
    height: 24px;
    border: 1px solid #000000;
    margin: none;
    padding-bottom: 16px;
    } 

button.cmbdblclick {
    font-size: 0.9em;
    width: 24px;
    height: 24px;
    color: #777;
    border: 1px solid #AAA;
    margin: none;
    padding: none;
    } 

button:disabled,
button[disabled]{
    opacity: 0.3;
    border: 0px solid #F00;
}

.info {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 32px;
    line-height: 16px;
    width:  358px;
    margin-bottom: 44px;
    text-align: center;
}

.info-text {
    border: 2px solid red;
    font-weight: bold;
    background-color: orange;
    padding-left: 10px;
 }   

.panetop {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 40px;
    line-height: 36px;
    width:  100%;
    border: 1px solid #888;
    text-align: center;
}

.panebot {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 40px;
    line-height: 36px;
    width:  100%;
    border: 1px solid #888;
    text-align: center;
}

/*  Original Styles from PhpPot (Vincy): */

#data-grid {
    margin-top: 0px;
    margin-bottom: 0px;
}

#data-grid table {
    width: 100%;
}

.perpage-link {
    font-size: 14px;
    padding: 0px 4px;
    border: #000080 2px solid;
    border-radius: 4px;
    margin: 0px 4px;
    background: #ccc;
    cursor: pointer;
    color: #000;
    line-height: 16px;
}

.current-page {
    font-size: 14px;
    padding: 0px 4px;
    border: #000080 2px solid;
    border-radius: 4px;
    margin: 0px 4px;
    background: #000080;
    color: #FFF;
    line-height: 16px;
}

table.unitlist {
    font-family: Calibri, Helvetica, Arial, sans-serif;
    width: 360 px;
    border: 1px solid #888;
    margin-bottom: 2px;
    margin-top: 2px;
    border-collapse: collapse;
}

/* Sublist fx on Playlist */
table.sublist {
    width: 100%;
    max-width: 360px;
    border: 1px solid #888;
    margin-bottom: 2px;
    margin-top: 2px;
    border-collapse: collapse;
}

thead.unitlist {
    background-color: #f0f0f0;
    line-height: 16px;
    max-width: 360px;
}   

tr.unitlist {
    line-height: 20px;
    border: 1px solid #888;
    max-width: 360px;
}
tr.sublist {
    line-height: 16px;
    border: 1px solid #888;
}

tr.unitcur {
    background-color: #ffcccc;
}
    
tr.unitlist:nth-child(even) {
    background-color: #f2f2f2;
}
tr.sublist:nth-child(even) {
    background-color: #f2f2f2;
}

tr.unitlist:hover, tr.sublist:hover {
    background-color: #cc99ff;
}

th.unitlist {
    height: 20px;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none;
    padding: 5px;
    border: 1px solid "#000000";
}   

td.unitlist {
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
}   

a.unitlist {
    text-decoration: none;
    color: #000;
}

div.subsmall {
    display: block;
    width: 340px;
    background-color: #ddd;
    overflow-y: scroll;
    border-style: solid;
    border-color: #a3a3a3;
    border-width: 0px 1px 1px 0px;
    margin: 5px 10px 5px 10px;
}

div.subtable {
    display: block;
    height: 94px;  //   4 rows a 16 px !!!
    width: 100%;
    background-color: #ddd;
    overflow-y: scroll;
    border-style: solid;
    border-color: #a3a3a3;
    border-width: 0px 1px 1px 0px;
    margin: 5px 10px 5px 10px;
}

table.subtable {
    font-family: Calibri, Helvetica, Arial, sans-serif;
    width: 100%;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-collapse: collapse;
    overflow-y: scroll;
}

thead.subtable {
    background-color: #f0f0f0;
}   

th.subtable {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #000;
    background-color: #f0f0f0;
    text-decoration: none;
    border: 0px 1px solid #888;
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
}
  
td.subtable {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid #888;
    max-width:  140px;
    overflow: hidden;
    padding-left: 5px;
    padding-right: 5px;
}   

td.subunit {
    white-space: nowrap;
    max-width:  310px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 5px;
    padding-right: 5px;
} 

tr.subtable {
    line-height: 16px;
    border: 1px solid #888;
}

tr.subcur {
    line-height: 15px;
    background-color: #ffcccc;
}

tr.subtable:nth-child(even) {
  background-color: #f2f2f2;
}

tr.subtable:hover {
  background-color: #CCFFCC;
}

.subtable {
    text-decoration: none;
}

.td-truncate {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 0;
    padding-left: 5px;
}

div.stdfld {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    display:flex;
    flex-direction: row;
    justify-content: left;
    align-items: left;
}

input.txtImg {
  background-color: inherit;
  font-size: 13px;
  color: inherit;
  font-style: italic;
  font-style: bold;
  border-style: none;
  text-align: center;   
  width: 100%;
}

#txtID {
    font-size: 0.75em;
    font-style: italic;
    background: transparent;
    border: none;
    }

#image {
    display: block;
    max-height: 360px;
    max-width: 100%;
    height: auto;
    width: auto;
    margin: auto;
}

.select-css {
    display: block;
    height: 24px;
    font-size: 13px;
    font-family: Calibri, Helvetica, Arial, sans-serif;
    background-color: #F1F1F1;
    color: #000;
    line-height: 0.8;
    padding: 0 0 0 0; //.6em 1.4em .5em .8em;
    width: 100%;
    max-width: 100%; /* useful when width is set to anything other than 100% */
    box-sizing: border-box;
    margin-bottom: 10px;
    border: 1px solid #AAA;
}