/* Please don't comlpain about my color choices, ty :) */
/* r5r.dev r5reloaded.com discord.gg/r5reloaded */

/* Remove google badge 
.grecaptcha-badge {
  display: none;
}
*/

html {
  scroll-behavior: smooth !important;
}

.gcapcontainer{
  display: flex;
  justify-content: center;
  align-items: center;
}


/* main title */
.titleheader {
  font-size: 100px;
  font-family:Impact, fantasy;
  text-align:center;
  z-index: 88889;
}

/* text for successful/approved statuses */
.green {
  font-weight:bold;
  color: rgb(30, 161, 13);
}

/* text for warnings */
.red {
  font-weight:bold;
  color: rgba(247, 0, 0, 0.788) !important;
}

/* text for error details */
.blue {
  font-weight:bold;
  color: rgb(20, 100, 146)
}

/* text for winners name from results*/
.winner {
  color: #d68b00f3;
  font-size: 1.4em;
  font-weight: bold;
}


/* Ensures elements display above everythign else i.e. title */

.override {
position:relative;
  z-index: 50000000;
  font-size: 1em;
}

.version {
position:relative;
left:.1px;
  z-index: 99999999999999999;
  font-size: .4em;
  font-weight:bold;
}

.headerlinkscontainer {
  margin:auto;
  border:1px solid #17181f;
  width: 100%;
  background-color: #17181f !important;
  font-weight:bolder;
  text-align:center;
  z-index: 9999999999999999;
  font-size: 1em;
  z-index:5;
}


.headerlinks {
  width: 72%;
  max-width:48em;
  margin:auto;
  border-top:1px solid #FFFFFF;
  border-bottom:1px solid #FFFFFF;
  padding-top:5px;
  padding-bottom:5px;
  font-weight:bolder;
  text-align:center;
  z-index: 9999999999999999;
  font-size: 1em;
}

/* classes for user display */

.admin {
color: #3498db;
cursor: help;
}

.helper {
color: #2ecc71;
cursor: help;
}

.muted {
color:#9e9e9ee8;
cursor: help;
}

.banned {
color:#111111c4;
text-decoration: line-through;
cursor: help;
}

.verified {
color: #1abc9c;
cursor: help;
}

.user {
cursor:help;
}

.imghelp {
cursor:help;
}

.border-top {
  border-top:25px solid #5e676d;
}

/* text for upload new log link */
.newlog {
  font-weight:bold; 
  font-size:14em;
  background-image: linear-gradient(
      to right,
      #54b3d67e,
      #54b3d67e 50%,
      #ffffff 50%
  );
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  position: relative;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease-in-out;
}


.newlog::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  border-bottom: 2px dotted #54b3d6;
  transition: all 1.4s ease-in-out;
}

.newlog:hover {
  background-position: 0;
}

.newlog:hover::after {
  border-bottom: 26px solid transparent;
}


/* Result span text */
.rText {
  font-weight:bold; /*bolder will take priority*/
  font-weight:bolder;
  font-size:1.5em; 
  color: rgba(83, 83, 83, 0.76);
}

.sText {
  font-weight:bold;
  font-size:1em;
  color: rgba(190, 189, 189, 0.644);
}

/* upload box */
* {
  box-sizing: border-box;
}

/* used for layout - display results */
.column {
  float: left;
  width: 33.33%;
  padding: 5px;
  text-align: center;
}


/* site links */
#header {
	padding-left: 0;
	padding-right: 0;
	position: relative;
	bottom:4em;
  width: 55.54em;
  margin:auto;
}


/* upload box 
#drop {
  border: 2px dashed #bbb;
  padding: 10px;
  text-align: center;
}

/* upload box */
#drop.drop {
  border: .4em solid rgba(0, 255, 64, 0.479);;
}

.drop-hover {
  border: .4em dashed rgba(0, 255, 64, 0.479);;
}


 /* my experiment >.> */
 .drop {
  display: inline-block;
  padding: 20px;
  border-radius: 35px;
  margin: auto;
  border: 1px solid #ffffffb2;
  text-align: center;
  transition: all 1s ease-in-out;
  background-color:#17181f; 
}


.drop:hover {
  display: inline-block;
  padding: 20px;
  border-radius: 95px;
  margin: auto;
  border: 1px solid #ffffffb2;
  transition: all 1s ease-in-out;
}

/* used for layout - display results */
.row::after {
    content: "";
    clear: both;
    display: table;
  }

th, td {
  	padding: 10px;
}


.r5r {
z-index:89999;
}
/* main results display area */

.displaycontainer {
  margin: auto;
  width: 100%;
  border: 0.5rem outset #31323a;
  outline: 3rem solid #17181f;
  box-shadow: 0 0 0.625em 5rem #5e676dc7;
  border-radius: 25px;
  border-bottom: 0em;
  border-top: 0em;
  margin: 1rem;
  padding: 7rem;
  padding-top: 0;
  outline-offset: 1rem;
}


.displaycontainer2 {
    position: relative;
    bottom: 14rem;
    margin: auto;
    display: flex;
    height: auto;
    width: 100%;
    /* min-width: 1000px; */
    outline: 15rem solid #17181f;
    border-radius: 20rem;
    border-bottom: 1rem;
    border-top: 1rem;
    margin: 0rem;
    padding-top: 8rem;
    padding-bottom: 4rem;
    outline-offset: 3rem;
    z-index: 5;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
}

.displaycontainer3 {
 
  position:relative;
  bottom: 8rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
  outline: 25rem solid #17181f;
  border-radius: 130rem;
  border-bottom: 1rem;
  border-top: 1rem;
  margin: 0rem;
  padding: 5rem;
  padding-top: 8rem;
  padding-bottom: 0rem;
  outline-offset: 5rem;
  z-index:5;
}


.searchdisplaycontainer {
  /* margin: auto; */
  width: 100%;
  border: 0.2rem outset #31323ac7;
  outline: 3rem solid #17181f;
  box-shadow: 0 0 0.625em 5rem #5e676dc7;
  border-radius: 25px;
  border-bottom: 0em;
  border-top: 0em;
  margin: 1rem;
  padding-top: 0;
  outline-offset: 1rem;
}

/* Ensures display errors are displayed with enough space */
.errordisplay {
  display: flex;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 55em;
}


/* Background img */
.u-section-1 .u-image-1 {
  min-height: 171px;
  background-image: url("images/mainlogo.png");
  background-position: 50% 50%;
  Z-index:90000;
}

/* links -- old 

a {
  text-decoration: dotted;
  text-decoration-style: dotted;
  padding: 2px 1px 0;
}

a:hover {
  border-bottom: 1px solid;
  background: #5e676d;
  color: #FFFFFF;
  cursor: pointer;
}

a:active {
  background: #000000;
  
}
*/


/* Taken from css-tricks.com modified a bit */

a:not(.newlog,.tbldisplay,.pglinks,.pglinksL,.verifysubmit)  {
    background-image: linear-gradient(
      to right,
      #54b3d6c0,
      #54b3d6c0 50%,
      #ccd9e5e6 50% /* #fbeced 50% */ /*#ffffff 50%*/
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 3px 0;
    position: relative;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.25s ease-in-out;
  }

  a:not(.pglinks,.pglinksL,.tbldisplay,.verifysubmit)::before {
    content: '';
    background: #54b3d6c0;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.25s ease-in-out;
  }
  
  a:not(.pglinks,.pglinksL,.tbldisplay,.verifysubmit):hover {
   background-position: 0;
  }
  
  a:not(.pglinks,.pglinksL,.tbldisplay,.verifysubmit):hover::before {
    width:100%;
  }



#drop-zone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.uplbutton {
  position: relative;
  padding: 20px;
  width: 200px;
  font-size: 20px;
  letter-spacing: 4px;
  text-align: center;
  text-transform: uppercase;
  background-color: #0dc4e479;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(5, 199, 224, 0.788);
  cursor: pointer;
  font-weight: bolder;
  transition: all 0.5s;
  overflow: hidden;

}

.uplbutton:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1abc9c;
  z-index: -1;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.uplbutton:hover {
  color: #000;
  background: rgba(255, 255, 255, 0.918);
  box-shadow: 0px 2px 10px 5px rgba(2, 217, 255, 0.555);
  transform: scale(1.05);
}

.uplbutton:active,
.uplbutton:focus {
  top: 2px;
}

.uplbutton:active:after,
.uplbutton:focus:after {
  transform: scaleX(1);
}

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 120px;
  background: #27282c;
}





.button {
  position: relative;
  padding: 16px 30px;
  font-size: 1.5rem;
  font-weight:bolder;
  color:#0ac9cf98;
  border: 1.5px solid rgba(255, 255, 255, 0.37);
  border-radius: 4px;
  box-shadow: 0 0 0px rgba(5, 199, 224, 0.788);
  text-shadow: 0 0 20px rgba(5, 177, 207, 0.555);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: 0.5s;
  z-index: 1;
}


.button:hover {
  font-weight:bolder;
  color: rgba(5, 177, 207, 0.555);
  border: 1.5px solid rgba(255, 255, 255, 0.521);
  box-shadow: 0 0 0px rgba(255, 255, 255, 0.178);
  text-shadow: 0 0 60px rgba(2, 217, 255, 0.555);
  cursor:pointer;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.555);
  z-index: -1;
  transform: scale(0);
  transition: 0.5s;
}

.button:hover::before {
  transform: scale(1);
  transition: 1.0s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.555);
}



/* Everything from the startup design besides jacked.css : */
.u-section-1 {
  background-image: none;
}

.u-section-1 .u-sheet-1 {
  min-height: 412px;
}

.u-section-1 .u-layout-wrap-1 {
  width: 171px;
  margin: 15px auto 0;
}

.u-section-1 .u-container-layout-1 {
  padding: 0;
}

.u-section-1 .u-text-1 {
  margin: 12px auto 60px 243px;
}

.u-section-2 .u-sheet-1 {
  min-height: 100vh;
}

.u-section-2 .u-text-1 {
  margin: 60px auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
/* ///////////////////////////////////////////////////// */




/* custom header links */
.custom{
  font-weight:bolder;
  color:#003036fb;
}

.customF{
  width: 20.5rem;
}

.hidden {
  display: none;
}

.hover {
  font-weight:bold;
  cursor: help;
}

.dmatchid {
  color: #54b3d6;
  text-decoration: underline dotted #555555;
}



.pagecontrols {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px; /* control the space between items */
}

#go_to_page_btn {
  color:chocolate;
  font-weight:bold;
}

.lookupsearch {
  color:chocolate;
  font-weight:bold;
  }

#go_to_page {
  font-weight:bolder;
}

.pagefield {
  color:#17181f;
  width:30px;
}

.matchsearchcont {
  color:#bcd6d6da;
  width:80%;
  font-weight:bolder;
  margin:auto;
  margin-bottom: 50px;
  padding: .5em;
  text-align: left;
  display: inline-block;
  padding: 20px;
  border-radius: 35px;
  border: 1px solid #ffffffb2;
  transition: all 1s ease-in-out;
  background-color:#17181f; 
}

.matchsearchform {
  margin-right:auto;
  font-weight:bolder;
  margin:auto;
  padding: .5em;
}

.copys {
  color: #014d6b;
  font-weight:bold;
  font-weight:bolder;
}

.copyf {
  color: #002b3b;
  font-weight:bold;
  width:70%;
}

.searchfield {
  color:#007aaa;
  width:220px;
  font-weight:bolder;
  padding:.5em;
  cursor:help;
}

.help {
  cursor:help;
}

.searchsubmit {
  color:#014d6b;
  width:120px;
  font-weight:bolder;
  width: 70%;
}

.formsubmit {
  color:#014d6b;
  font-weight:bolder;
  padding:.5em;
  cursor:pointer;
}

a.pglinks {
  color: chocolate;
}

a.pglinks::before {
  background:none;
  content: "->";
  color: chocolate;
  justify-content: left;
  position: relative;
  white-space: nowrap; /* Prevent wrapping */
  display: inline; 
}

a.pglinksL {
  color: chocolate;
}

a.pglinksL::before {
  background:none;
  content: "<-";
  color: chocolate;
  justify-content: left;
  position: relative;
  white-space: nowrap; /* Prevent wrapping */
  display: inline; 
}

a.tbldisplay {
  background-image: linear-gradient( to right, #00b8ff, #54b3d6c0 50%, #ffffff 50% );
  background-size: 200% 100%;
  /* background-position: -100%; */
  display: inline-block;
  padding: 3px 0;
  position: relative;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.25s ease-in-out;
}

a.tbldisplay:hover {

  background-image: linear-gradient( to right, #d3c613e3, #2eb91bd8 50%, #ffffff 50% );
  background-size: 200% 100%;
  /* background-position: -100%; */
  display: inline-block;
  padding: 3px 0;
  position: relative;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.25s ease-in-out;
}


.sform {
  padding:5px;
  margin: 20px;
}


.captcha-button-container {
  display: flex;
  justify-content: space-between;
  padding: 50px;
}


.marquee {
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 5s linear infinite; 
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}


.marquee2 {
    width: 300px;
    overflow: hidden;
    white-space: nowrap;
}

.marquee2 span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee2 5s linear infinite; 
}

@keyframes marquee2 {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}


.parseresultscont{
  width:100%;
  margin:auto;
  padding: .5em;
  padding: 20px;
  border-radius: 35px;
  border: 1px solid #ffffffb2;
  background-color:#17181f; 
  margin-bottom:30px;
}


/* comments */

.right {
  float: right;
  font-size: 12px;
  margin-right: 7px;
}

.comment-container {
  width: 60%;
  margin: auto;
  text-align: left;
  padding: 1.25em;
  overflow-wrap: anywhere;
}

.comment-table {
  background-color:#232323;
  border-collapse: collapse;
  border-radius:15px 50px 15px 50px;
  width: 100%;
}

.comment-content {
  background-color: #111111;
  border-radius: 0px 0px 15px 50px;
  padding: 2.1875em !important;
}

div.comment-container table.comment-table tr:first-child td {
  padding: 10px 20px !important;
}

div.comment-container table.comment-table:nth-child(2) {
  width: 100% !important;
  max-width:100% !important;
}

.comment-content img {
  width: 100% !important;
  height: auto;
  display: block;
}

.comment-post-table {
  margin:auto;
  border-collapse: collapse;
}

.comment-post-table td {
  padding: 10px;
}

#comment-area{
  width: 425px;
  height: 135px;
  cursor:text;
}

.action {
  padding-left:2px;
  padding-right:2px;
  color:rgb(20, 100, 146);
  cursor:cell;
  background:none;
  border:none;
}

.toggle-comment {
  padding-left:2px;
  padding-right:2px;
  color:rgb(20, 100, 146);
  cursor:cell;
}

#notification {
  background-color: lightblue;
  transition: background-color 2s, opacity 2s;
  opacity: 1;
  color: #121212;
  font-weight: bolder;
}

@media only screen and (max-width: 425px) { 
  #comment-area{
  width: 100%;
  height: 135px;
  cursor:text;
  }
}

.removed {
  color:#797979;
  font-weight:bold;
}


.lighten {
  background-color:#BABABA !important;
  border-radius:5px !important;
  transition: background-color 0.3s ease !important;
}

.lighten:focus {
  background-color:#EFEFEF !important;
  border-radius:5px !important;
}


.tooltip {
  position: relative;
  cursor: help;
}
.tooltip:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  top: 108%;
  left: 0;
  background-color: #333;
  color: white;
  padding: 5px;
  border-radius: 3px;
  z-index: 1;
  cursor:help;
}

#show-tooltip {
  position: absolute;
  display: none;
  background-color: #121212;
  border: 1px solid #CDCDCD;
  color: white;
  padding: 10px;
  border-radius: 25px;
  z-index: 1000;
  font-size: 12px;
  max-width: 250px;
  word-wrap: break-word;
}

.accepteula:checked {
    box-shadow: 0 0 0 3px #a58a19d4;
}

code {

  background-color: #3a47517d;
  padding: 3px;
  border-radius: 3px;
  
}

#copiedMessage {
  position: absolute;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

#copiedMessage.show {
  display: block;
  opacity: 1;
}

#tenor_DIV {
  display: none;
  text-align: center;
  background-color: #050505f7; /*#0000004d;*/
  border-radius: 50px;
  padding: 25px;
  width: 650px;
  height: 460px;
  position: absolute;
  z-index: 99999999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#searchBar {

  width: 14rem;
  color: #be6903;
  font-weight: bolder;
  padding: 1px;

}

#tenorsearchcont {

  padding: 5px;
  border: 1px solid #dcdcdc66;
  width: 80%;
  margin: auto;
  border-radius: 5px;
  background-color: #ffffff24;
  margin-bottom: 1rem;

}

#searchText {

  color: #828282;
  /* color: #be690380; */
  font-weight: 600;

}

#gifResults {
  width: 37.5rem;
  height: 21.875rem;
  overflow-y: scroll;
}

#tenor_DIV.show {
  display: block;
  opacity: 1;
}

.tenorbutton {
  background-color: #71889db0;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  border: none;
  outline: none;
}

.tenorbutton:hover {
    background-color: #8199ad;
}

.tenorbutton:active {
    background-color: #61789a;
    transform: translateY(2px);
}

#gifResults::-webkit-scrollbar-track {
    background: #11111182;
}

#gifResults::-webkit-scrollbar-thumb {
    background: #478ac9;
}

#gifResults::-webkit-scrollbar-thumb:hover {
    background: #478ac994;
}

#gifResults::-webkit-scrollbar {
    width: 5px; 
}

.pointer {
  cursor: pointer;
}

.no-script-div {
  padding:5px;
  border:3px solid #f8c428;
  margin:auto;
  text-align:center;
}

.no-script-text {
  margin:auto;
  color:#8d1c20;
  font-weight:bold;
}

.footer-links {
  z-index:1000;
  font-weight:bold;
  font-size:14px;
}

.search-links {
	margin-top: -1.998em;
	margin-bottom: 2em;
	font-size: 0.8em;
	word-spacing: .1em;
}

/* the HOLY GRAIL of MOBILE COMPATIBILITY */
.custom-table:not(.fr-view) {
  table-layout: fixed;
  /* width: 100%; */
  max-width: 100%;
  overflow: hidden;
  word-wrap: break-word;
}

.custom-table td,
.custom-table th {
  min-width: unset;
  white-space: nowrap;
}

.custom-table tr {
  width: 100%;
}

.custom-table td,
.custom-table th {
  width: auto;
  word-wrap: break-word;
  white-space: nowrap;
  /* text-align: left; */
}

.custom-table td {
  padding: 0.50em;
  box-sizing: border-box;
}

.infolink {
  cursor:pointer;
  color:#02a2e1
}

.no-highlight {
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Standard */
}