/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
html {
  color: #666;
  font-size: 1em;
  line-height: 1.4;
}
body{
  color: #666;  
  background: #000 url(../img/bg.png) no-repeat center fixed;
  background-size: cover;
  text-align: center;
  font-family: monospace;
}
a,
a:visited {
  text-decoration: none;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #fc0;
  color: #000;
  text-shadow: none;
}

::selection {
  background: #fc0;
  color: #000;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #666;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

  /* MAIN TITLE */
  .main-title {
    text-align: center;
    color: #fff;
    margin: 20px 0 10px 0
  }

  /* MENU */
  .menu {
    display: block; 
    margin: 0 0 10px 0; 
    font-size: x-small;
  }
  .menu a {
    display: inline-block;
    padding: 5px 10px; 
    border-radius: 8px;
    color: #fff;
  }
    a.active {    
      background-color: rgba(200,80,255,.8);        
      border: 2px solid #e9f;
      display: inline-block;
      padding: 5px 10px; 
      border-radius: 8px;
      color: #fff;
    }
    a.inactive {
      background-color: rgba(0,0,0,.8);
      border: 2px solid #333;
    }
    a.inactive:hover {
      background-color: rgba(60,60,60,.8);
      border: 2px solid #666;
    }
  /* FOOTER */
  .footer {
    color: #eee;
    background-color: rgba(0,0,0,.7);
    padding: 10px 20px;
    display: inline-block;
    border: 2px solid #eee;
    border-radius: 8px;
    margin: 10px 0 0 0
  }
	/* FORMS */
  form{margin-top: 10px;}
  input {
    background: #000;
    border: 1px double #666;    
    color: LavenderBlush;
    margin-bottom: 6px;
  }
  input:last-child {
    margin-bottom: 0;
  }
  input:first-child {
    margin-bottom: 0;
  }  
  input#copiarContenido{
    cursor: text;
    color: #000;
    font-weight: 900;
    background: GreenYellow;
    text-align: center;
    border: 0;
    padding: 4px 6px;
  }
  input::placeholder {color: #666}
  button {
    background: #000;
    color: LavenderBlush;
    border: 1px solid #666;
    cursor:pointer;
    font-size: x-small;
    padding: 2px 4px;
    border-radius: 2px;
  }
  button#borrarCampo{
    color:plum;
  }
  /**/
  .section{
    background-color: rgba(0,0,0,.6);
    border: 2px solid rgba(238, 153, 255,.8);
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 8px;
    margin: 10px 0 15px 0;
  }
  /**/
  .bloc{margin: 10px 0 0 0;padding: 10px 20px}.bloc-default{background:rgba(0,0,0,.6)}.bloc-social{background:rgba(60,90,180,.6)}.bloc-chollo{background:rgba(90,66,180,.6)}.bloc-chollo a{color:#cd5cec}.bloc-chollo a:hover{text-decoration:double}.bloc-admin{background:rgba(100,30,150,.6)}.bloc-admin ul{margin:0;list-style-type:none;padding:0;font-family:monospace;color:#dbe}.bloc-admin a{color:#cd5cec}.bloc-buscador{background:rgba(100,30,150,.6);text-align:center}.bloc-buscador label{display:none}.bloc-buscador button,.bloc-buscador input{background:#000;padding:5px 10px;border:0}.bloc-buscador form{margin:0}.bloc-buscador input[type=text]{color:#fff;margin-bottom:5px;width:150px}.bloc-buscador button[type=submit]{color:#f0f}.bloc-buscador button[type=reset]{color:#e34}.bloc-buscador input[type=submit]{color:#f0f}.bloc-buscador input[type=reset]{color:#e34}.bloc-buscador input:focus{outline:0}.neteja-buscador{display:none}.bloc-header{background:rgba(0,0,0,.9);padding:5px 10px}.bloc-header h2{margin:0;color:#aaa;font-weight:500}.bloc-titol{margin:0;color:#ccc;font-weight:500}.bloc-titol-important{margin:0;color:#ccc;font-weight:700}.bloc-body{padding:15px;color:#999}.bloc-footer{color:#666;background:rgba(0,0,0,.9);text-align:right;border:0;padding:4px 8px; font-size: 10px}
  /**/
  .wallet{
    color: #eee;
    background-color: #000;
    padding: 0 0 0 10px;
    display: inline-block;
    margin: 0;
  }
  .ambassador{
    color: #fff;
    background-color: rgba(0,0,0,.8);
    padding: 5px 10px;
    display: block;
    border: 2px solid rgba(153,153,153,.8); 
    border-radius: 8px;
    font-size: small;
    width: fit-content;
    margin: 10px auto
  }
  .ambassador a, .ambassador a:visited, .ambassador a:active {
    color: GreenYellow;
  }
  .ambassador a:hover {
    text-decoration: double;
  }
  
  /* COLORS */
  .vermell{color: #c33}
  .verd{color: #3c3}
  .blau{color: #3cc}
  .taronja{color: #da8}

  .bg-vermell{background-color:#dc143c}.bg-taronja{background-color:orange}.bg-groc{background-color:#ff0}.bg-verd{background-color:#9acd32}.bg-blau{background-color:#1e90ff}.bg-blau-t{background-color:rgba(0,174,237,.6)}.bg-blanc{background-color:#fff}.bg-blanc-t{background-color:rgba(255,255,255,.12)}.bg-gris{background-color:#ddd}.bg-negre{background-color:#000}.color-vermell{color:#dc143c}.color-taronja{color:orange}.color-groc{color:#ff0 !important}.color-verd{color:#9acd32}.color-blau{color:#1e90ff}.color-blanc{color:#fff}.color-gris{color:#ddd}.color-negre{color:#000}.align-center{text-align:center}.align-justify{text-align:justify}.align-right{text-align:right}.align-left{text-align:left}.valign-middle{vertical-align:middle}.float-left{float:left}.float-right{float:right}.text-xx-large{font-size:xx-large}.text-x-large{font-size:x-large}.text-large{font-size:large}.text-small{font-size:small}.text-x-small{font-size:x-small}.text-xx-small{font-size:xx-small}.animat{-webkit-animation:flash linear 1s infinite;animation:flash linear 1s infinite}@-webkit-keyframes flash{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes flash{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#barra-aviso-cookies{display:none;position:fixed;bottom:0;left:0;width:100%;text-align:center;background-color:rgba(80,0,0,.7);color:#fcc;z-index:9998;padding:10px}.boto-ok{background:#000;padding:5px 10px;border-radius:5px;color:#fff;font-size:18px}.boto-ok:hover{background:#f53c51}a.policy{color:#f53c51}img.bandera{margin-left:5px}.odd{background:rgba(255,255,55,.05)}.even{background:rgba(55,255,255,.05)}.pagination-wrap{text-align:center}

/* animation */
  .flash {
    -webkit-animation: flash linear .2s infinite;
    animation: flash linear .2s infinite
  }
  @-webkit-keyframes flash {
    0% {opacity: 1;}
    50% {opacity: .8;}
    100% {opacity: 1;}
  }
  @keyframes flash {
    0% {opacity: 1;}
    50% {opacity: .8;}
    100% {opacity: 1;}
  }
  /* animation */
  .pulse {
    -webkit-animation: pulse linear .8s infinite;
    animation: pulse linear .8s infinite
  }
  @-webkit-keyframes pulse {
    0%{
      font-size: 10px;
    }
    50% {
      font-size: 11px;
    }
    100% {
      font-size: 10px;
    }
  }
  @keyframes pulse {
    0%{
      font-size: 10px;
    }
    50% {
      font-size: 11px;
    }
    100% {
      font-size: 10px;
    }
  }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   Taules
   ========================================================================== */

.tg  {
  border-collapse:collapse;
  border-color:#333;
  border-spacing:0;
  margin:0px auto;
  width: 333px;
}
.tg td{
  border-color:#444;
  border-style:solid;
  border-width:1px;
  color:#999;
  overflow:hidden;
  word-break:normal;
}
.tg th{
  border-color:#444;
  border-style:solid;
  border-width:1px;
  font-size: x-small;
  font-weight:normal;
  overflow:hidden;
  padding: 5px 10px;
  word-break:normal;
}

.tg .tg-header{
  vertical-align:middle;
  will-change:transform;
  background-color:#000;
  color: #eee
}

td.tg-Slow{
  color: #60C329;
  background: rgba(123,193,56, 0.3);
  font-weight: 900;
  font-size: x-large
}	
td.tg-Normal{
  color: #E26D20;
  background: rgba(208,116,43, 0.3);
  font-weight: 900;
  font-size: x-large
}
td.tg-Fast{
  color: #D2342A;
  background: rgba(191,67,47, 0.3);
  font-weight: 900;
  font-size: x-large
}

.tg .tg-footer{
  background-color:#000;
  text-align:center;
  vertical-align:middle;
  border: 1px solid #fff
}

/* JS */
@media screen and (max-width: 767px) {
.tg {width: auto !important;}
.tg col {width: auto !important;}
.tg-wrap {overflow-x: auto;-webkit-overflow-scrolling: touch;margin: auto 0px;}
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

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

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}