/*  */
html, body{
    width:1337px !important;
    min-height:980px !important;
    overflow:hidden;
}

.crossRoad{
  overflow:hidden;
}

.cross-road div p{
    font-color:#007BFF;
    font-family:"Share Tech Mono", system-ui;
    background:transparent;
  }

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body{
  color: #2f2f2f;
  background-color:#fcfce8;
  background-color:#CDCDCD;
  background-color:#ABABAB;
  background-color:#CDBCDD;
  background-color:#A99EB2;
  background-color:#78717E;
  background: rgb(205,205,205);
background: linear-gradient(342deg, rgba(205,205,205,1) 16%, rgba(120,113,126,1) 39%, rgba(171,171,171,1) 87%);
background:whitesmoke;
overflow-x:hidden;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

html{
  height: 100%;
}
body {
  line-height: 1;
  height: 100%;
  table-layout: fixed;
  overflow: hidden;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/*SHOE ON HEAD!*/
footer{
  position:fixed;
  z-index:999;
  border-top:7px solid lightgoldenrodyellow;
  background:linear-gradient(90deg, lightgoldenrodyellow, palegoldenrod, goldenrod, darkgoldenrod) !important;
  box-shadow:7px -7px 17px whitesmoke;
}

div.dataTables_wrapper div.dataTables_scrollBody,
.dt-scroll-body {
  border-bottom: 7px dotted lightgoldenrodyellow !important;
}

.dt-scroll{
  height:100% !important;
}

.dt-scroll-body{
  height:calc(100% - 172px) !important;
  position:absolute;
}

@font-face {
  font-family: 'Noto Sans Egyptian Hieroglyphs';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/vEF42-tODB8RrNDvZSUmRhcQHzx1s7y_F9-j3qSzEcbEYindSQ.ttf) format('truetype');
}
@font-face {
  font-family: 'Rationale';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/9XUnlJ92n0_JFxHIfHcsdg.ttf) format('truetype');
}
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/J7aHnp1uDWRBEqV98dVQztYldFc7pA.ttf) format('truetype');
}

/* Hide DataTables default responsive inline arrow */
td.dtr-control::before{
    content: "" !important;
    display: none !important;
}

.dataTable{
  background-color:lightgoldenrodyellow;
}

#jqui-search{
  display: inline-block;
  position:fixed;
  color:gold;
  text-shadow:2px 1px lightseagreen;
  top:33px;
  left:1.4%;
  z-index:9998;
  font-size:55px;
  /* Adjust X and Y offsets based on the sprite grid coordinates for the magnifying glass */
}


.dataTable thead th:not(.torrentsSubTable thead th){
  font-family:"Rationale", serif;
  font-size:27px;
  color:paleGOLDENROD !important;
  text-shadow:1px 1px mediumvioletred;
  border-bottom:10px solid darkviolet;
  box-shadow:4px 4px 4px silver;
}

.group-header td{
  border-top:1px solid gold;
  background:linear-gradient(90deg, slategray, seagreen);
}


.child{
  border-bottom:3px solid yellow;
}

.title_heading{
  font-family:"Rationale", sans-serif;
  font-size:24px;
}

.source_name{
  font-style:italic;
}

.dataTable tr td{
  padding:17px;
}

.group-header img{
  width:222px !important;
  height:auto !important;
  float:left;
  margin-right:16px;
}

.dataTable th:last-child, .dataTable td:last-child{
}

.group-header{
  height:333px !important;
}

.group-header{
  text-align:left;
  background:#ABABAB;
}

/* Ensure your custom jQuery UI expand icon sits cleanly in the control cell */
td.dtr-control {
    position: relative;
    cursor: pointer;
}

/* EMERALD UPLOAD ZONE */

#emerald-upload-zone p:first-child{
  color:#03fc9c !important;
}

#emerald-upload-zone p:not(:first-child){
  color:palegoldenrod !important;
}

#emerald-upload-zone input{
  border:3px dotted whitesmoke !important;
}

#emerald-upload-zone input::focus{
  border:3px dotted goldenrod !important;
}

.GATE{
}

.GATE #inscription{
  font-family:"Share Tech Mono", sans-serif;
  padding:7px;
  font-size:22px;
  line-height:33px;
  color:BLACK;
  position:absolute;
  right:0;
  top:0;
  width:333px;
  text-shadow:1px 1px gold;
  text-align:justify;
  border-collapse:collapse;
  border:6px dotted whitesmoke !IMPORTANT;
}

#hero{
  width:100% !important;
}

code{
  color:silver;
}

.hiero{
  font-size:40px;
  color:black;
  text-shadow:1px 3px darkcyan !important;
  position:absolute;
  font-family:"Noto Sans Egyptian Hieroglyphs", system-ui;
  right:5px;
  bottom:47px;
  z-index:9999;

}

.hiero:hover{
  color:whitesmoke !important;
}

.cross-road div{
  display:block;
  margin:0 auto;
  height:333px;
  width:888px;
  padding:7px;
  border-radius:2px;
}

#roads{
  font-size:40px;
  color:goldenrod;
  text-shadow:1px 1px #50C777;
  font-family:"Noto Sans Egyptian Hieroglyphs", system-ui;
  margin-bottom:5px;
}

#roads:hover{
  color:#03fc9c;
  font-weight:bold;
  text-shadow:2px 2px gold;
}

#unlock{
  padding:0px 0px 0px 0px;
  display:block;
  color:white !important;
  text-shadow:1px 2px gold;
  font-weight:bold;
  font-size:120px;
  top:13px;
  right:auto;
  left:155px;
  width:120px;
  position:absolute;
}

.crossRoad{
  position:absolute;
  width:100%;
  overflow-y:auto;
  z-index:9991;
  height:100%;
  top:0;
  bottom:0;
  cursor:pointer;
  background:linear-gradient(137deg, lightgoldenrodyellow, #03fc9c, whitesmoke);
}

#enter{
  top:reset;
  position:fixed;
  top:8px;
  left: 50%;
  transform: translateX(-50%);
  bottom:reset;
  margin:auto;

}

/* "oh you put EmeraldTemple on a usb-stick" */
.EmeraldTemple{
  position:absolute;/* ABSOLUTE: PURELY FORMAL */
  width:100%;
  height:100%;
  z-index:4444;
}

/*#torrents_wrapper{
  height: 100%;
}*/

.stupa{
  font-size:40px;
  line-height:40px;
  right:5px;
  font-weight:bold;
  position:fixed;
  top:40px;
  font-family:"Noto Sans Egyptian Hieroglyphs";
  color:gold;
}

.output a{
  margin-bottom:0px !important;
}


.upload_inst{
  font-size:16px;
  font-family:"Arial", sans-"Pirata One";
  color:black;
  display:block;
  text-align:justify !important;
  width:100%;
  padding-right:5px;
}




.torrents_graph{
  display:none;
}


.torrents_graph, .node_graph{
  height:403px !important;
  width:100%;
  background-color:lightgoldenrodyellow;
  position:relative;
  top:0px;
  z-index:1 !important;
}



/* TORRENT */

#progressBar {
   height: 5px;
   width: 0%;
   background-color: HOTPINK;
   transition: width .4s ease-in-out;
}

body.is-seed .show-seed {
   display: inline;
}

body.is-seed .show-leech {
   display: none;
}

.show-seed {
   display: none;
}

/* Ensure the parent containers expand to full height */
div.webtorrent,
.output {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ensure the file entry wrapper stretches and stacks vertically */
.file-entry {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important; /* Prevents overflow pushing elements down */
}

/* The button takes its natural height (~36px), embed fills all remaining space */
.output embed {
  width: 100%;
  flex: 1; /* Takes 100% of remaining vertical height automatically */
  border: none;
  display: block;
}

.is-seed #hero {
   background-color: navy;
   transition: .5s .5s background-color ease-in-out;
}

#hero, #hero option{
  font-family:"Rationale", system-ui;
}


body.is-seed .show-seed { display: inline; } /* Shows "Seeding" and "to" */
body.is-seed .show-leech { display: none; }  /* Hides "Downloading" and "from" */

#status {
   font-size: 13px;
   margin-top: 5px;
   margin-left:5px;
   border-radius:9px;
}

#anonymous{
  padding-left:6px;
  padding-top:5px;
  font-size:12px;
}

#progressBar{
  color:#89f777 !important;
}

#numPeers, #uploadSpeed, #downloadSpeed{
  color:darkgoldenrod !important;
}

footer a:link, #hero a:visited {
   color: lightcyan;
   text-decoration: none;
}

/* UPLOAD */




.upload form{
  padding-top:13px;
  padding-left:5px;
  width:999px;
}

.upload form{
  padding: 15px 0px 0px 0px;
}

label{
  font-size: 11px;
}

.grid_0{
  width: 125px;
  float: left;
}



.grid_1{
  width: 888px;
  float: left;
}


#submit{
  width:200px;
  height:60px;
  margin-top:37px;
  margin-bottom:55px;
}

.grid_1 input:not(.copyright){
  height:25px;
  font-size:16px;
}

.upload input:not(#edition_check, #payment, #payWhatYouWant, #copyrighted, #public_domain){
  width:  300px;
}



/* MISC PARTIALS */
/*

::-webkit-input-placeholder {
  font-family: 'Imperial Script', Arial, Helvetica, sans-"Pirata One";
}

:-ms-input-placeholder {
  font-family: 'Imperial Script', Arial, Helvetica, sans-"Pirata One";
}

:-moz-placeholder {
  font-family: 'Imperial Script', Arial, Helvetica, sans-"Pirata One";
}

::-moz-placeholder {
  font-family: 'Imperial Script', Arial, Helvetica, sans-"Pirata One";
}*/

#header_stream{
  position:relative;
  top:37px;
  margin:0 auto;
}


#torrents-wrapper, .dt-container{
  border-top:17px solid GOLD !Important;
  padding-top:0 !important;
  padding-bottom:77px;
}

div.TEMPEST{
    overflow:hidden;
    color:black;
    width: 100%;
    height: calc(100% - 77px);
    border-left:9px solid silver;
    border-right:9px solid silver;
    position: absolute;
    box-sizing: border-box;
    top: 0px;
    bottom: 77px;
    background: linear-gradient(342deg, rgba(205,205,205,1) 16%, rgba(120,113,126,1) 39%, rgba(171,171,171,1) 87%);
    background:#CDCDCD !important;
  /*padding: 12px 8px 6px 8px;*/
}

#add_author, #create_author{
  margin-top:13px;
  margin-bottom:16px;
}





  




h3{
  font-size:32px;
  text-decoration:underline;
  font-variant:small-caps;
  font-family:  "Share Tech Mono", serif;
  
}


header{
  height: 92px;
  width: 100%;

  position: fixed;
  z-index: 999;
 
}









.tabs{
  width:1080px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  position:relative;
}

.tabs li{
  width: 191px !important; 
}


.tabs a, .tabs a:visited, .mobile_tabs a, .mobile_tabs a:visited{
  
  /*font-family:"Atkinson Hyperlegible Mono", "Pirata One";*/
  text-decoration:underline;
  font-size:30px;  
  text-shadow:1px 1px lightgoldenrodyellow !important;
  font-family:"Rationale", "Times New Roman";
  font-variant:small-caps;
  letter-spacing:1px;
}

.tabs a:not(:first-child){
  margin-left:16px;
}

.tabs a.torrents, .tabs a.torrents:visited, .mobile_tabs a.torrents, .mobile_tabs a.torrents:visited{
  color:#000;


}

.panel li a:hover{
  color: cyan !important;
}

.tabs a.top10, .tabs a.top10:visited, .mobile_tabs a.top10, .mobile_tabs a.top10:visited{
  color:white;
}

.tabs, .mobile_tabs{
  font-size:21px;
}

.search{
  position:relative;
  left: 0;
  right: 0;
  width:1080px;
  margin-left: auto;
  margin-right: auto;
}

.titleBreak h2 span a{
  text-decoration:underline;
}


.titleBreak h3{
  padding-left:0px;
  text-align:center;
  width:100%;
}






h2{
  text-align:center;
}



.mobile_title, .mobile_h1{
  display:none;
}


/* TABLES */

/* Force DataTables scroll body to fill remaining space in the TEMPEST container */
.dt-scroll {
}

.col-md-6{
  max-width:100%;
  flex: 0 0 100%;
}



#uploadHeading a{
    color:white !important;
}

/* Target the DataTables "Processing" (Loading) bar */




.dataTable{
  margin-left:0px;
}


.TEMPEST .about_us h2 span a{
  color:goldenrod;
}


.torrentsTable{
  border-bottom:1px solid silver;
  border-top-left-radius:13px;
  border-top-right-radius:13px;

}

.torrentSource{
  position:relative;
  width: calc(100% - 111px);
  float: left;
  padding-left: 0;
  height:100%;

}

.title_heading{
  color:#CDCDCD;
}

.source_name{
  color:whitesmoke !important;
}

.author_name{
  color:gold !important;
}

.publisher_name{
  color:mediumvioletred !important;
  font-family: "Share Tech Mono", system-ui !important;
}

.class_name{
  padding:7px;
  font-size:18px;
  color:darkcyan !important;
}

a{
  text-decoration:none !important;
}

.class_name::before {
  content: "[";
  color: lightseagreen; /* Muted color, or any color you want */
  font-weight: normal;
  text-decoration: none;
  margin-right: 2px;
  padding:16px 6px 6px 0px !important;
}

.class_name::after {
  content: "]";
  color: lightseagreen; /* Muted color, or any color you want */
  font-weight: normal;
  text-decoration: none;
  margin-left: 2px;
}

.title_heading{
  padding:8px;
}

.apa-citation-column{
  font-family: "Times New Roman", sans-serif;
  text-align:justify;
    width: 60%;
    max-width: 60%;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* ensures it doesn't stay on a single line */
}

.torrentClasses a{
  padding-right:6px !important;
}

.webtorrent-dl-btn{
  border:2px dotted WHITESMOKE;
  box-shadow:2px 3px paleGOLDENROD;
  border-radius:4px;
  background:linear-gradient(#007BFF, silver);
}

.webtorrent-dl-btn:hover{
  cursor:pointer;
  color:gold;
  font-weight:bold;
}



.dataTable thead th{
  padding:32px;
  background:linear-gradient(180deg, lightseagreen, #03fc9c, lightgoldenrodyellow) !important;
}

.torrentsSubTable thead th{
  background:SILVER !Important;
  color:WHITESMOKE !Important;
  font-family:"Rationale", system-ui;
}

.panel{
  position: absolute;
  top:7px;
  right: 0px;
  float: right;
  font-size: 16px;
  /*z-index: 1;*/
}

/* ==========================================================================
   Emerald Temple Theme Integration for Torrents Module
   ========================================================================== */

/* Group Header Container: Emerald Temple gradient theme */
.group-header {
  border-top: 4px solid rgba(16, 185, 129, 0.2) !important;
}

.group-header:hover {
}

.dataTable td:not(.group-header td){
  background:lightgoldenrodyellow !important;
}

.class_name{
  color:Cyan !important;
}

/* Category Badges (.class_name) styled like Emerald Temple navigation pills */
.group-header .class_name.badge {
  font-weight: 500;
  transition: all 0.15s ease;
}

.group-header .class_name.badge:hover {
  color:lightcyan !important;
}

/* Publisher Name Link inside APA Citation (.publisher_name) */

.apa-citation-column .publisher_name:hover {
  color: #0f766e !important;
  text-decoration: underline !important;
}


.search input{
  border-radius: 5px 5px 6px;
  margin: 0px 16px 0px 0px; /* 0 16 */
  background-color:lightcyan !important;
  width:175px;
  color:black;
  height:17px !important;
}

.tabs li{
  width: 198px !important;
}

input{
  background-color:lightgoldenrodyellow !important;
}


.ui-autocomplete{
  max-height:310px;
  width:270px;
  font-family: "Rationale", system-ui;
  position:relative;
  z-index:9999;
  overflow-y:auto;
  border: 3px solid #333777 !important;
  border-radius:7px;
    
  /* A soft, deep shadow to give the menu elevation */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.ui-autocomplete .ui-menu-item {
  background-color: #03fc9c;
  text-align: justify;
  font-size: 19px;
  padding: 0px;
}

/* Color-coding individual items by class */
.ui-autocomplete .ui-menu-item a {
  color: #000 !important; /* Default / Sources */
  padding: 7px 10px;
}

.ui-autocomplete .ui-menu-item a.author-item {
  color: goldenrod !important;
}

.ui-autocomplete .ui-menu-item a.class-item {
  color: darkcyan !important;
}

.ui-autocomplete .ui-menu-item a.publisher-item {
  color: mediumvioletred !important;
  font-weight: bold;
}

.search{
  margin-top:0px;
}

.panel ul, .tabs ul, #search_ul{
  margin-top: 0px;
}

.panel li, .tabs li, #search_ul li{
  float: left;
  padding: 0px;
}

.panel li:not(.health){
  padding: 0px 13px 0px 13px;
}

/* TOP 10 */

h3{
  font-size: 24px;
}

/* SOURCE */


/* GRAPH */


.dt-container, .dataTable{
  height:100%;
}


#torrentsTitle{
  color:white !important;
}

.dtr-title{
  margin-left:5px;
  display:block;
}

.dtr-data{
  width:100%;
}

.dataTable td:first-child{
}

.snatches{
  color:#83DAC0;
}

.obelisk{
  position:absolute;
  top:9px;
  left:5px;
  font-size:33px;
  width:77px;
  z-index:2;
  height:40px;
  color:goldenrod !important;
}

  
.dataTables_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dataTables_wrapper .dataTables_scrollBody {
  flex: 1 1 auto;
}

.dtr-details{
  float:left;
}

.dtr-details li{
  margin-left:5px;
  
}

.torrentsTable .tr:last-child td{
  padding-bottom:9px;
}


.child{
  border-bottom:4px solid silver;
}


.torrentsTable{
  font-size:13px;
}

a.link a.visited{
  color: cyan;
}

.torrentsTable{


  font-family:"Lato", sans-"Pirata One";
}


table {
    table-layout:fixed;
}
td{
    overflow:hidden;
    text-overflow: ellipsis;
}

.odd td:first-child, .even td:first-child{
  width:200px;
}

.mobile_title, .mobile_menu, #mobile_menu{
  display:none;
}

.upload .titleBreak span:not(#uploadHeading){
  width:100%;
  padding-left:5px;
  display:block;
}

/* Force hide DataTables' default responsive arrows on both class variants */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dt-control::before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dt-control::before,
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    content: none !important;
    display: none !important;
}

td.dt-control.d-none::before{
  content:none !important;
  display:none !important
}

.cross-road{
  font-size:22px;
  color:#83DAC0;;
  width:100%;
  height:100%;
}

a.adv_toggle{
  color:white !important;
}


/* CAPTAIN'S LOG 8:28 */
 
.active .page-link{
  background-color:black !important;
  color:gold !important;
  font-family:"Rationale", serif;
}

.page-link{
  color:black;
}







.torrentArea a{
  color:#83DAC0;
  font-size:16px;
}


.adv_all, .graph_class{
  width:33px;
  color:black;
  font-weight:bold;
  padding-top:5px;
}


#adv_submit{
  margin-top:30px;
  margin-bottom:30px;
}


#adv_heading{
  font-family: "Times New Roman" !important;
  font-size:24px;
  text-align:center;
  float:left;
  display:block;
  margin:0 auto;
  font-weight:bold;
  letter-spacing:3px;
  width:100%;
  text-align:center;
  padding-top:0px;
  padding-bottom:15px;
  text-decoration:underline;
  text-shadow:1px 1px black;
}





a.authors{
  color:goldenrod !important;
}

a.classes{
  color:darkcyan !important;
}

a.publishers{
  color:mediumvioletred !important;
}





.upload h3{
  margin-top:55px;
}

#newUploadHeader a{
  color:white;
}

#newUploadHeader span{
  color:dimgray;
}
/* MOBILE */


.removeAuthor{
  color:HOTPINK;
  font-family:"Share Tech Mono",serif;
}

.sourceTab{
  text-align:justify;
}

.torrentClasses a, .torrentClasses a:visited{
  text-decoration:underline;
}

.classComma{
  color:silver;
}

a.publisher{
  text-decoration:none;
}





a.source, .source span{
  color:#000;
}

.sourceAuthor{
  color:goldenrod!important;
}




#authorTitle span{
  color:goldenrod;
}

#classTitle span{
  color:darkcyan;
}

#publisherTitle{
  color:mediumvioletred;
}

div.authors h2 span a{
  color:goldenrod; !important;
}

div.classes h2 span a{
  color:darkcyan !important;
}

div.publishers h2 span a{
  color:mediumvioletred !important;
}

  .upload p{
    font-size:16px;
    padding-left:5px;
    color:white;
  }

  #legal{
    color:mediumvioletred;
    font-weight:bold;
  }



  

  .upload label{
    color:darkgoldenrod;
  }

a.source:hover, a.author:hover{
  cursor:pointer;
}

h2 a:hover{
  cursor:pointer;
}

#info{
  font-family:"Share Tech Mono", sans-serif;
  font-size:16px;
  color:white;
  background-color:black;
  text-align:justify;
  padding:32px 5px 32px 5px;
}

h1 a, h1 a:visited{
  font-size:33px;
  text-shadow:2px 3px black !important;
  /*background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;*/
  color:whitesmoke;
  position:fixed;
  text-decoration:none;
  top:0px;
  display:block;
  letter-spacing:4px;
  height:92px;
  left:5px;
  font-family:"Rationale", system-ui !important;


}

#slogan{
  color:HOTPINK;
  position:fixed;
  font-size:12px;
  left:5px;
  top:40px;
  font-family:"Share Tech Mono", serif;
}

#total, #downloaded{
  color:cyan;
}

.adv_show label{
  color:#03fc9c !important;
  letter-spacing:1px;
  font-size:16px;
  font-family:"Rationale", "serif" !important;
}

.adv_show select, .adv_show select option, .adv_show input::placeholder, .adv_show input{
  font-family:"Share Tech Mono", "serif" !important;
  font-size:16px;
}

.adv_show input::placeholder{
  color:gold !important;
}

.adv_show input{
  background-color:lightcyan !important;
}

.adv_show select{
  background-color:goldenrod;
  color:#03fc9c;
}

.adv_search{
  width:100%;
  position:absolute;
}

#adv_show_title{
  font-family:"Rationale", sans-serif;
  font-size:33px;
  grid-row:1;
  color:black;
  grid-column:1;
}



/* Force the type dropdown to start on Row 2 */
.adv_show {
    text-align: right;
    right: 5px;
    left: auto;
    top: 7px;
    position: absolute;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4px 10px; /* Adjust vertical (4px) and horizontal (10px) gaps here */
    align-items: center;
    width: 600px;
}

/* Make all selects and inputs fill their grid cells nicely */
.adv_show input,
.adv_show select {
    width: 100%;
    padding: 6px 12px;
    height: 44px;
    box-sizing: border-box;
    line-height: normal;
}

/* Fix browser-specific select padding/alignment quirks */
.adv_show select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Place the <a> link underneath, spanning across both columns */
#road {
    position:fixed;
    color:goldenrod;
    right:5px;
    top:40px;
    font-size: 40px;
}

#road:hover{
  color:gold;
}

#pyr{
  height:88px;
  position:fixed;
  left:-5px;
  top:1px;
}

a.author, span.author{
  color:goldenrod !important;
}


a.class, span.class{
  color:darkcyan;
}

#abacus{
  background:lightgoldenrodyellow;
  margin-top:17px;
  width:88px;
  height:88px;
  font-size:40px;
  text-align:center;
  border-radius:13px;
}


a.publisher, span.publisher{
  color:mediumvioletred !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  cursor: text
}

a.publisher:hover{
  cursor:pointer;
}

/* 12;22 */
label.adv_all, input.adv_all{
  padding-top:10px;
}

#top10Title span a{
  color:white;
  
}


/* GOT */
 a.class{
  padding:16px;
  padding-left:0px;
  line-height:16px;
 }



#adv_submit, #graph_search, .upload button {
  background: #89f777;
  /* Negating the Y-offset and Spread to create the 'Top Shadow' look from the header */
  box-shadow: 2px 3px 2px slategray; 
  color: gold;
  border: 3px solid silver;
  transition: all 0.2s ease-in-out;
  font-variant:small-caps;
}


#adv_submit:hover, #graph_search:hover, .upload button:hover {
  /* Intense top glow on hover */
  box-shadow: 2px 3px 2px goldenrod;
  border: 4px solid black;
  cursor: pointer;
}

.upload button{
  height:55px;
  width:135px;
  border-radius:16px;
}


.torrentClasses a{
  line-height:20px;
}


/* 8:26 */
.mobile_panel li{
  padding-left:5px !important;
}

.torrentClasses a{
  font-family:"Share Tech Mono", system-ui !important;
  font-size:14px;
}

a.source, a.author{
  text-decoration: none;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  cursor: text;
}


.titles a.source, .node a.source, .top10 a.source{
  padding-right:11px;
}

.torrentsTable td{
  font-size:20px !important;
}

h2{
  text-align:left;
  z-index:9998;
  position:absolute;
}

h2 span a{
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  cursor: text;

}




.sourceType{
  color:black;
  text-shadow:1px 2px gold;
  font-size:18px !important;
  font-family:"Rationale", serif !important;
  text-align:center !important;
  font-variant:small-caps;
  width:111px;
  position:relative;
  z-index:1;
  left:-111px;
  top:125px;
  text-align:center;
  display:block;
  float:left;
}

.torrentSource{
  position:relative;
  width:calc(100% - 114px);
  top:-15px;
}

a.TEMPEST:hover{
  color:darkgoldenrod !important;
}

.ui-menu .ui-menu-item-wrapper.ui-state-active {
    background: #777 !important;
    font-weight:italic !important;
    color:gold !important; /* Adjust text color for readability */
}

.TEMPEST .about_us{
  font-family:"Share Tech Mono", serif;
  text-align:justify;
  padding-left:5px;
  padding-right:5px;
}

input[type="file"]{
  background-color:lightgoldenrodyellow !important;
}

h3{
  font-size:24px;
  font-family:"Share Tech Mono", serif;
  text-align:center;
  width:100%;
  color:silver;
}

.torrentsTable th{
  font-variant:small-caps;
}



#hero{
  background-color:#03fc9c !important;
  color:goldenrod !important;
  height:47px;
  border:4px dotted GOLD !IMPORTANT;
}


footer{
  position:fixed;
  bottom:0px;
  height:77px;
  width:100%;
    /* Ensure consistent border styling */
  
  /* Add depth to separate these layers from the pyramid background */
}

#hero{
  height:40px;
  position:fixed;
  bottom:0px;
}

#hero {
  width: 100%;
  box-sizing: border-box; /* Crucial for preventing overflow */
  display: block;        /* Ensures it behaves as a block-level element */
}

.DL{
  padding:9px;
  position:fixed;
  left:5px;
  top:88px;
  background:#1a1a1a; color:#00ccff; border:1px solid #00ccff; text-decoration:none; font-family:"Share Tech Mono", sans-serif; font-size:14px; border-radius:3px; cursor:pointer;
}

.output img{
  margin:0 auto;
  display:block;
}

#hero option{
  background:gold;
}

.search input{
  height: 26px !important;
  position:relative;
}

.search input::placeholder{
  color:silver;
}

.sentinel{
  position:absolute;
  top:5px;
  z-index:9998;
  color:gold;
  text-shadow:1px 1px solid black;
  left:5px;
  padding-top:3px;
  font-size:32px;
  text-decoration:underline;
  font-family:"Noto Sans Egyptian Hieroglyphs", serif;
}

.torrentClasses a {
    padding-top:12px;
}



  .dtr-data:nth-last-child(2){
    margin-right:5px;
  }

  .torrentsTable{
    padding:0px 0px 0px 0px;
    width:100%;
    box-sizing:border-box;
  }



.magnetURI, a.webtorrent, #torrent_infoHash{
  color:darkgoldenrod;
  display:block;
  padding:6px;
  padding-left:0px;
}

.magnetURI:hover, a.webtorrent:hover, #torrent_infoHash:hover{
  color:seagreen;
}



.upload h3{
  text-align:left;
  padding-left:5px;
}



.dataTable{
  border-left:2px solid silver;
  border-right:2px solid silver;
  border-radius:14px;
}

.dt-scroll-body{
  border-bottom:4px solid lightgoldenrodyellow;
  box-shadow: 3px -9px 17px WHITESMOKE;
  position:relative;
  z-index:9999;
}


.dt-container{  
  background-color:lightgoldenrodyellow !important;
  padding:7px 0 12px 0;
  margin:0px 0px 0px 0px; 
  /* Margerine */
  position:relative;

  font-family:"Share Tech Mono", serif;
}


.Category .dt-container{
  margin-top:5px;
  padding-top:77px;
}

/* Force DataTables wrapper and scroll body to dynamically fill the full TEMPEST height */
.dataTables_wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh !important; /* Fill the whole page */
}

.dt_scroll-body {
    flex: 1 !important; /* Expand to fill remaining vertical space */
    width: 100%;
    height:calc(100vh -100px);
}

.author span{
  color:silver !important;
}

h3{
  margin-top:20px;
  margin-bottom:21px;
}

.mobile_panel li a, .panel li a{
  text-decoration:none;
}


.dtr-details li{
  margin-left:0px;
}

.search input{
  font-family:"Share Tech Mono", "Pirata One";
}

.Category a.publisher, .Category a.class, .Category a.author{
  text-decoration:none;
}

.Category table thead th:nth-last-child(2){
  border-radius:0;
}

.Category table thead th:last-child{
  border-top-right-radius:15px;
}

.tableHeading{
}

.torrentClasses{
  text-align:justify;
}

.torrentClasses a{
  padding:0px;
}


header{
  box-shadow:1px 3px 7px gold !important;
  border-bottom:4px solid whitesmoke !important;
  background:linear-gradient(180deg, lightseagreen, #03fc9c, lightgoldenrodyellow) !important;
}

.silver{
  color:silver !important; /* EXTREMELY IMPORTANT */
}



.tableHeading, .tableHeading a{
  font-family: "Rationale", sans-serif !important;
  font-size:19px !important;
}

div.TEMPEST {
    background: lightgoldenrodyellow !important;
}

.torrentsTable thead th{
  background:radial-gradient(palegoldenrod, whitesmoke) !important;
  border-bottom:none !important;
  box-shadow:none !important;
  font-family:"Rationale", sans-serif !important;
  font-size:18px !important;
  text-shadow:none !important;
  color:darkgoldenrod !important;
  text-align:left !important;
}

.torrentsTable td{
  color:black;
  text-align:left;

  background:lightcyan;
  padding:4px 0 4px 0 !important;
  font-family: "Rationale", sans-serif !important;
}


.apa-text{
  padding-left:5px !important;
  display:block;
}

.torrentsTable td:first-child, .torrentsTable th:first-child{
  padding-left:5px !important;
  padding-right:5px !important;

}



.torrentsTable a{

  font-family:"Rationale", system-ui !important;
}

.authors_area div a{
  font-family:"Share Tech Mono", sans-serif;
}

.upload input, .upload select, .upload option, .upload input::placeholder{
  font-family:"Share Tech Mono", sans-serif;

}

.upload label{
  font-family:"Rationale", sans-serif;
}

.inst{
  color:#000;
  text-align:center;
  font-size:16px;
  font-family:"Share Tech Mono", sans-serif;
  padding:0px 5px 0px 5px;
}

.torrents_graph, a.TEMPEST{

    /* Prevents all native browser touch actions (scroll, zoom, swipe-to-back) */
    touch-action: pan-y;
    user-select: none;  /* Prevents text selection while swiping */
    /* Standardizes the cursor for a 'grab' feel */

}

/* Target the canvas only when it is in fullscreen mode */
canvas:fullscreen {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* Keeps the aspect ratio clean */
    background-color: black; /* Prevents white bars on the sides */
}

/* Safari support */
canvas:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
}

.graph{
  height:500px;
  width:100%;
}



#enter, #graph_search, #adv_submit, .upload button, #sentinel{
  border:2px solid #03fc9c;
  background:dimgray;
  box-shadow:2px 2px 3px gold !important;
  color:#42f58c;
  font-family:"Share Tech Mono", system-ui;
  font-size:21px;
  width:101px;
  margin-bottom:13px;
  font-variant:small-caps;
  margin:0 auto;
  height:40px;
  border-radius:13px;
  display:block;
  text-align:center;
}

#enter:hover, #graph_search:hover, #adv_submit:hover, .upload button:hover, #sentinel:hover{
  box-shadow:3px 4px 3px skyblue;  
  font-weight:bold;
  background-color:darkgoldenrod;
  border:3px solid palegoldenrod;
  color:goldenrod;
}

#sentinel{
  position:absolute;
  right:63px;
  top:290px;
  margin:0;
  z-index:2;
}

#force{
  font-size:40px;
}

#force:hover{
  cursor:pointer;
}

.upload button{
  width:120px;
  height:77px;
  float:left;
}

#adv_submit{
  margin-top:12px;
}


h2 span a{
  font-size:40px;
  font-family:"Rationale", "Times New Roman";
  padding-left:5px;
  text-shadow: 1px 2px darkgoldenrod;
}





#status{
  font-family:"Rationale", sans-serif;
  font-size:16px;
  color:#000 !important;
}

.spiral{
  position:fixed;
  bottom:3px;
  right:17px;
}

#unlock:hover{
  cursor:pointer;
}

.panel li a, .panel li a:visited, .mobile_panel li a, .mobile_panel li a:visited{
  color:goldenrod;
  font-family:"Share Tech Mono", sans-serif;
}

.dataTable td:not(.torrentsTable td){
  background-color:#EFEFEF;
}

.torrents_graph{
  background-color:white;
}

div.upload{
  background-color:#CDCDCD;
}

.torrentClasses{
  display: flex;
  flex-wrap: wrap;       /* Allows wrapping to new lines */
  gap: 0px 4px;         /* Vertical gap: 8px, Horizontal gap: 12px */
  padding-left:5px;       /* Keep vertical padding, remove horizontal padding */
  width: 100%;       
  margin-top:13px;    /* Ensure it spans the full container */
  box-sizing: border-box;
}

.torrentClasses a {
    line-height:12px;
    display: inline-block; /* Essential for proper margin/padding/wrapping */
    white-space: nowrap;   /* Keeps individual tag names on one line */
    padding-top:12px;
}


.mobile_inst{
  display:none;
}

.row>*{
  padding:0 5px 0 5px;
}

.upload_inst{
  font-family:"Share Tech Mono", sans-serif;
  color:dimgray;
}

@media only screen and (max-width: 1079px) {
  .row>*{
    padding:0px;
  }

  body, div.TEMPEST{
    overflow-x:hidden;
  }

  .torrentClasses a{
    padding-top:5px;
    padding-bottom:0px;
  }

  .tableHeading{
    font-size:16px;
  }



  .torrentsTable th:nth-child(2), .torrentsTable td:nth-child(2){
    width:100px;
  }

 h1, h1 a, h1 a :visited{
    position:relative;
    top:6px;
    left:auto;
    font-size:25px;
    text-align:center;
  }

  
  table{
    font-size:16px;
  }

  
  #road{
    top:15px;
  }
  
  .adv_show {
    display: grid;
    grid-template-columns: 1fr; /* Forces a single vertical column */
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    right: auto;
    left: auto;
    box-sizing: border-box;
    padding: 0 5px;
    top:55px;
  }

  .adv_show select,
  .adv_show input {
    width: 100% !important;
    height:33px;
  }

  .torrents .dt-container{
    top:55px;
  }

  .upload .titleBreak span{
    width:300px;
  }

  .dtr-control{
    width:200px;
  }


  .titleBreak{  
    width:100%;
  }

  #mobile_menu{
    text-decoration:none;
  }

  

  .dataTables_wrapper{
    box-sizing:border-box;
    overflow-x:hidden;
  }


  .row:last-child{
    width:93.5%;
  }

  h3{
    font-size:24px;
  }

  h1 a{
    height:60px;
  }
 

  .ui-autocomplete{
    width:299px;
  }

  .dt_length{
    text-align:left;
  }

 
 div.TEMPEST{
    top:0px;
    height:calc(100% - 77px) !important;
    bottom:80px;
 }

  .desktop_1{
    display:none;
  }
  
  #mobile_menu{
    display:block;
    position:absolute;
    font-size:55px;
    width:49px;
    height:49px;
    color:white !important;
    top:4px;
    left:55px;
    z-index:9999;
  }

  #mobile_menu:hover{
    color: gold !important;
  }

  .mobile_menu{
    overflow-y:auto;
    overflow-x:hidden;
    width:100%;
    height:calc(100% - 154px);
    position:fixed;
    top:63px;
    z-index:9998;
    bottom:88px;
    background:radial-gradient(whitesmoke, lightgoldenrodyellow)
  }
  
  

  .desktop_h1{
    display:none;
  }

  .desktop_search{
    display:none;
  }

  .search{
    position:relative;
    float:left;
    left:5px;
    width:100%;
    opacity:1;


  }

  .search input{
    width:299px;

  }

  

  .mobile_panel{
    float:left;
    margin-top:13px;
  }

  #search_ul li{
    height:45px;
    float:none;
    vertical-align:center;
    line-height:32px;

  
  }

  .panel, .tabs{
    display:none;
  }


  header{
    display:block;
    width:100%;

    height:60px;
    
 
    box-sizing:border-box;

    position:fixed;
    z-index:9998;
  }

  #slogan{
    left:auto;
    text-align:center;
    display:block;
    width:100%;
    top:44px;
    font-size:13px;
  }

  .output img {
    /* Critical for mobile scaling */
    max-width: 100%; 
    height: auto; 
    
    /* Centering and display */
    display: block;
    margin: 0 auto;

    /* Prevents pixelated upscaling on small images */
    object-fit: contain; 
}

div.TEMPEST.webtorrent{
  overflow-x:auto !important;
}
  
  .tableHeading span, .tableHeading a{
    font-size:14px;
  }

  .torrentClasses a{
    font-size:12px;
  }

  .dataTable thead th{
    font-size:16px;
  }


  .mobile_tabs{
    margin-top:27px;
    margin-left:5px;
    width:100%;
    float:left;
  }

  .mobile_panel{
    width:100%;
    margin-top:27px;
    float:left;
  }


  .mobile_panel li a{
      font-size:16px;
      /*background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;*/
    display:block;
    padding:13px 0px 13px 0px;

  }
  
  .mobile_tabs li a{
      font-size:24px;
      padding:13px 0px 13px 0px;
     /*color:lightsea#89f777;*/
    font-variant:small-caps;
    display:block;
    width:299px;

  }

  .mobile_tabs li{
    width:299px;
    border-bottom:2px solid darkgoldenrod;
  }




  #search_ul{
    margin-bottom:0px;
  }


  /* TORRENT */


  /* HEADER */

  .panel{
    position: absolute;
    left: 0px;
    top: 140px;
  }


  
  .mobile_panel li{
  }

  .mobile_panel li a{
    display:block;
    width:290px;
    padding-left:0px;
  }

  .mobile_panel li a{
    border-bottom:1px dotted darkcyan;
  }

 
  .stupa{
    top:7px;
  }



  /* TABLES */

 



 

  /* UPLOAD */
  .grid_1{
    width: 100%;
  }  


  
 
  h3{
    width:100%;
    }

 


  
  
  .dtr-data:not(.dtr-data:nth-last-child(2)){
    margin-left:9px;
  }
  
  .dtr-data:nth-last-child(2){
    margin-left:5px;
  }
  
 
  
  .odd td:first-child, .even td:first-child{
    padding-left:5px;
  }
  
 

  #search_ul{
    margin-top:4px;
  }

 
 
  .mobile_search input{
    width:250px;
  }

  .search{
    top:13px !important;
    position:relative;
  }

  .cross-road div{
    width:299px;
    font-size:20px;
  }


  .ui-autocomplete{
    width:250px;
  }

  h2 span a{
    font-size:32px;
  }

  .policy_section{
    padding:0px 5px 5px 5px;
  }

  
  
  #hero{
    font-size:16px;
  }

  .search input{
    height:33px !important;
  }

}


/* 4. Final Polish for the .torrentsTable to bridge the gap */
.torrentsTable {
    width: 100% !important;
    margin: 0 !important; /* Removes the gap between the APA row and this table */
    border-collapse: collapse;
    background: dimgray; /* Subtle depth without a harsh gray block */
}

/* Ensure the text stays readable in the new dark context */
.torrentsTable td {
    padding: 10px;
}

/* The APA container */
.apa-text {
    line-height: 1.5;
}

/* Force the torrentsTable to align with the indented text, not the margin */
.torrentsTable {
    width: calc(100% - 10px) !important; /* Subtract the padding amount */
    margin-left: 5px !important; 
    margin-right: 5px;

}

/* Ensure the table header (thead) doesn't overflow or clip */
.torrentsTable thead th {
    padding: 5px 5px;
    white-space: nowrap; /* Prevents text from wrapping and cutting off */
}

.torrentsTable td{
  padding-top:10px !important;
  padding-bottom: 10px !important;
}

#pi{
  height:100%;
}

.torrentsTable {
    width: calc(100% - 10px) !important;
    margin-left: 5px !important; 
    margin-right: 5px;
    
    /* 1. Change collapse to separate so border-radius works */
    border-collapse: separate !important; 
    border-spacing: 0; /* Prevents gaps between cells when separate */
    
    box-shadow: 2px 3px 2px black;
    
    /* 2. Set your border radius */
    border-radius: 13px; 
    margin-bottom:26px !important;
    /* 3. Clip any children (like the table header background) to the curve */
    overflow: hidden; 
}

.titleBreak{
  margin-top:3px;
}

.stupa{
  color:#03fc9c;
  text-shadow:1px 2px gold;
  text-decoration:underline;
  font-size:40px;
}