/* =============================================
 *
 *   FIXED RESPONSIVE NAV
 *
 *   (c) 2014 @adtileHQ
 *   http://www.adtile.me
 *   http://twitter.com/adtilehq
 *
 *   Free to use under the MIT License.
 *
 * ============================================= */


.donationdiv {
  overflow-x:auto;
  padding: 20px;
}

input[type=text] {
  width: 80%;
  padding: 10px 15px;
  box-sizing: border-box;
}

/*@media screen and (max-width: 640px) {*/
/*  table {*/
/*    display: block;*/
/*    overflow-x: auto;*/
/*  }*/
/*}*/

div.player-error-screen__reload {
  cursor: pointer;
  width: 30px;
  margin: 15px auto 0;
}

#chat-box {
  text-align: center;
  background-color: #ffffff;
  width: 100vw;
  height: calc((var(--vh) * 100) - 56.25vw - 55px);
  margin: auto 0 auto auto;
  background-image: url("/images/wassa-darkmode2.png");
}

@media screen and (min-width: 980px) , (orientation: landscape){
  #chat-box {
    width: 382px;
    height: calc((var(--vh) * 100) - 55px);
    margin: auto 0 auto auto;
  }
}

#player {
  width: 100vw;
  height: calc(56.25vw); /* height:width ratio = 9/16 = .5625  */
  max-height: calc((var(--vh) * 100) - 100px);
  max-width: 100vw; /* 16/9 = 1.778 */
  margin: auto;
  position: relative;
}

@media screen and (min-width: 980px) , (orientation: landscape){
  #player {
    width: calc(100vw - 300px);
    height: calc((var(--vh) * 100) - 55px); /* height:width ratio = 9/16 = .5625  */
    max-height: calc((var(--vh) * 100) - 55px);
    max-width: calc(100vw - 382px); /* 16/9 = 1.778 */
    margin: auto auto auto 0;
    float:left;
    clear:both;
  }
}

.confianza_cero {
  text-align: center;
}

.confianza_cero img {
  width: 95%;
}

@media screen and (min-width: 980px) and (max-width: 1400px) {

  .confianza_cero {
    text-align: center;
  }
  .confianza_cero img {
    width: 70%;
  }
}

@media screen and (min-width: 1400px) and (orientation: landscape){
  .confianza_cero {
    text-align: center;
  }
  .confianza_cero img {
    width: 50%;
  }
}

#messages{
  overflow: auto;
  /*            screen total       player   header   counter   username  box   padding  extra  */
  height: calc((var(--vh) * 100) - 56.25vw - 55px - 22.391px - 26.391px - 39px - 16px - 10px - calc(var(--pinned)));
  text-align: left;
  word-break: break-word;
  z-index: -1;
  justify-content: space-between;
  padding: 8px 8px;
}

@media screen and (min-width: 980px) , (orientation: landscape){
  #messages{
    /*            screen total      header   counter   username  box   padding  extra  */
    height: calc((var(--vh) * 100) - 55px - 22.391px - 26.391px - 39px - 16px - 25px - calc(var(--pinned)));
  }
}

#pinned{
  overflow: auto;
  /*            screen total       player   header   counter   username  box   padding  extra  */
  height: calc(var(--pinned));
  text-align: left;
  word-break: break-word;
  background: #001720;
  padding: 0 8px 0 8px;
  z-index: -1;
}
#chat-counter{
  background: #001720;
}
#chat-settings{
  fill: #ffffff;
  background: #001720;
  text-align: left;
  padding: 0 8px 0 8px;
}
.chat-username{
  padding: 0 8px 0 0
}

.chat-pinned{
  clear: both;
  display:block;
  margin: 6px 0;
  padding: 6px;
}

.chat-received, .chat-sent{
  clear: both;
  display:block;
  margin: 6px 0;
  padding: 6px;
}

.chat-received {
  float:left;
  margin-right: 10%;
  background-color: #001720;
  color: #ffffff;
  border-radius: 0 5px 5px 5px;
}

.chat-sent{
  float:right;
  margin-left: 10%;
  background-color: #005c4b;
  color: #ffffff;
  border-radius: 5px 0 5px 5px;
}

.chat-today {
  float:left;
  background-color: rgba(159, 159, 159, 1);
  color: #000000;
  border-radius: 5px;
  clear: both;
  display:block;
  margin: 6px 0 0 143px;
  padding: 6px;
}

.chat-pinned {
  float:left;
  margin-right: 10%;
  background-color: #000a0e;
  color: #ffffff;
  border-radius: 0 5px 5px 5px;
}

.chat-received time {
  color: rgba(255, 255, 255, 0.45);
  float: right;
  margin-top: 8px;
  margin-left: 5px;
  font-size: 0.8rem;
}

.chat-sent time {
  color: rgba(255, 255, 255, 0.45);
  float: right;
  margin-top: 8px;
  margin-left: 5px;
  font-size: 0.8rem;
}

.chat-pinned time {
  color: rgba(255, 255, 255, 0.45);
  float: right;
  margin-top: 8px;
  margin-left: 5px;
  font-size: 0.8rem;
}

.chat-user {
  color: #A61B2B;
  font-size: 0.9rem;
  font-family: sans-serif;
}

body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
  margin: 0;
  padding: 0;
  border: 0;
}

a:active,
a:hover {
  outline: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }


/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media screen and (min-width: 980px){
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}

.agenda {
  border-spacing: 0;
  /* width: 90%; */
  margin: 20px auto 10px auto;
  border: 1px solid #A61B2B;
  border-collapse: collapse;
}

.agenda td {
  padding-top: 8px;
  padding-bottom: 8px;
}

@media screen and (min-width: 980px) , (orientation: landscape){
  .agenda {
    /* width: 60%; */
  }
  .agenda td {
    padding: 10px 30px;
  }
}

td {
  overflow: hidden;
}

.link_class {
  width:100%;
  height:100%;
  display: block;
  margin: -10em;
  padding: 10em;
}

.link_class:hover {
  background-color: rgba(166, 27, 43, 0.5);
}


/* ------------------------------------------
  DEMO STYLES
--------------------------------------------- */

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #37302a;
  background: #001720;
  font: normal 100%/1.4 sans-serif;
  margin-top: 55px;
}

#notice-wrapper {
  text-align: center;
  transform: translateY(calc(40vh - 152px));
}
#notice {
  display: inline-block;
  background-color: white;
  width: 200px;
  border: 15px solid #a61b2b;
  padding: 50px;
  margin: 0 20px 0 20px;
}

.index-body {
  padding: 50px 0 0 0;
}

section {
  border-bottom: 1px solid #999;
  text-align: center;
  padding: 100px 0 0;
  height: 800px;
  width: 100%;
}

h1 {
  margin-bottom: .5em;
}

p {
  width: 90%;
  margin: 0 auto;
}

#chat-counter {
  fill: #ff8280;
  color: #ff8280;
  font-weight: 600;
}

/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

header {
  background: #A61B2B;
  position: fixed;
  z-index: 3;
  width: 100%;
  left: 0;
  top: 0;
}

.logo {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  text-decoration: none;
  font-weight: bold;
  line-height: 55px;
  padding: 0 20px;
  color: #fff;
  float: left;
}


/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  transition: opacity 300ms;
  background: rgba(0,0,0, .5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 980px){
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}


/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */


.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-collapse,
.nav-collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
  overflow:auto;
}

@media screen and (min-width: 980px){
  .nav-collapse {
    float: left;
    width: auto;
  }
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 980px){
  .nav-collapse li {
    width: auto;
  }
}

@media screen and (min-width: 980px){
  .nav-collapse ul {
    overflow:visible;
  }
}

.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  border-top: 1px solid white;
  text-decoration: none;
  background: #A61B2B;
  padding: 1em 1em;
  color: #fff;
  width: 100%;
  float: left;
}

.nav-collapse a:active,
.nav-collapse .active a {
  background: #79121d;
}

@media screen and (min-width: 980px){
  .nav-collapse a {
    border-left: 1px solid white;
    padding: 1.02em 1.02em;
    text-align: center;
    border-top: 0;
    float: left;
    margin: 0;
  }
}

.nav-collapse ul ul a {
  background: #ca3716;
  padding-left: 2em;
}

@media screen and (min-width: 980px){
  .nav-collapse ul ul a {
    display: none;
  }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src:url("../icons/responsivenav.eot");
  src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 55px;
  float: right;
}

.nav-toggle:before {
  color: #fff; /* Edit this to change the icon color */
  font: normal 28px/55px "responsivenav"; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261"; /* Hamburger icon */
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-toggle.active:before {
  font-size: 24px;
  content: "\78"; /* Close icon */
}

* {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ------------------------------------------
  FORM LOGIN STYLES
--------------------------------------------- */

.div-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  font-family: "Roboto", helvetica, arial, sans-serif;
  font-size: 1.5em;
  transform: translateY(calc(40vh - 182px));
}

.login-form {
  padding: 2em;
  position: relative;
  background: rgba(0, 0, 0, .30);
}



@media screen and (min-width: 600px) {
  .login-form {
    width: 50vw;
    max-width: 15em;
  }
}

.login-form:before {
   content: '';
   position: absolute;
   top: -2px; left: 0;
   height: 2px; width: 100%;

   background: #A61B2B;
}

.flex-row {
  display: flex;
  margin-bottom: 1em;
}

.lf--label {
  width: 2em;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #f5f6f8;
  cursor: pointer;
}
.lf--input {
  flex: 1;
  padding: 1em;
  border: 0;
  color: #8f8f8f;
  font-size: 1rem;

}

.lf--input:focus {
   outline: none;
   transition: transform .15s ease;
   transform: scale(1.1);
 }

.lf--submit {
  display: block;
  padding: 1em;
  width: 100%;

  background: #A61B2B;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: .75em;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);

}

.lf--submit:focus {
   outline: none;
   transition: transform .15s ease;
   transform: scale(1.1);
 }

.lf--forgot {
  margin-top: 1em;
  color: #00d6b7;
  font-size: .65em;
  text-align: center;
  position: relative;
}

::placeholder { color: #8f8f8f; }



