* {
	box-sizing: border-box;
}

html {
	background-color: #eee;
}

body {
	margin: 0;
	font-family: 'Roboto' !important;
	font-size: 16px;
	background-color: #eee;
}

.title {
    font-family: 'Roboto' !important;
    font-size: 28px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 6px;
}

.row {
    --bs-gutter-x: 0 !important;
}

button:focus{
	outline: none;
	border: none;
}

.navbar {
	background-color: white;
	box-shadow: 0px 7px 15px -8px rgba(0,0,0,.1);
	z-index: 5;
    flex-wrap: nowrap;
    max-height: 100px;
}

.navbar a{
	color: grey;
	font-size: 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.session {
    float: right;
    position: absolute;
    top: 0px;
    right: 0px;
    text-align: right;
    margin-right: 35px;
    margin-top: 18px;
    margin-bottom: 0px;
    font-weight: bolder;
}

i{
	font-size: 15px;
}

section{
	position: relative;
	width: 100%;
	opacity: 0;
}

.row {
    position: relative;
    width: 100%;
    margin: auto;
    z-index: 3;

    display: flex;              /* activa flexbox */
    justify-content: center;    /* centra horizontalmente el contenido */
    align-items: center;        /* centra verticalmente si lo deseas */
    flex-wrap: wrap;            /* mantiene compatibilidad responsive */
}

.column {
    float: left;
    width: 50%;
    color: black;
}

.fondo{
    background-image: url('../img/fondo.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: calc(100vh - 61px);
}

.live {
    width: 75%;
    padding: 20px;
    max-width: 1400px;
}

.chat{
    width: 25%;
    padding: 20px;
    margin-bottom: 30px;
}

.question-header {
    margin-bottom: 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #FF821C; 
    color: white;
    font-size: 24px;
    padding: 5px;
}

.cartela{
    padding: 1%;
    padding-top: 60px;
    line-height: 1em;
    text-align: center;
    color: #606060;
    height: calc(100vh - 61px);
    overflow-y: auto;
}

.cartela img{
    width: 100%;
    max-width: 500px;
}

.banda{
    position: absolute;
    background-color: #FF821C;
    transform: translateX(-50%);
    margin-left: -20px;
    left: 50%;
    width: 40px;
    height: calc(100vh - 61px);
    z-index: 4;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.bandamovil{
    display: none;
    position: absolute;
    background-color: #FF821C;
    top: calc(30vh + 61px);
    margin-top: -25px;
    width: 100%;
    height: 25px;
    z-index: 4;
}

.row:after {
content: "";
display: table;
clear: both;
}

.spacer{
border-top: 2px solid black;	 
}
  
/* FORM */
div.pass {
	width: 500px;
	max-width: 90%;
	margin: 8% auto;
	border-radius: 10px;
}
label {
	display:none;
}
fieldset {
	text-align: left
}

button#enviar {
	font-size: 1em;
}
div.pass {
	border: 1px solid #ddd;
	padding: 1em;
	background: #fff;
	color: #666;
}
.page.rounded .pass,
.page.rounded form,
.page.rounded #access {
	border-radius: 5px;	
}
#login,
.login {

	display: block;
	margin: 1em auto;
	text-align: center;
}
.form-info {
	background:#f1f1f1; 
	padding:10px;
}
fieldset {
	padding: 0.5em;
}
label  {
	display: block;
	text-align: left;
}
input[type=checkbox]+label {
	display: inline;
}
label:after+input:required {
	content: "*";
	color: #c66;
}
input[type=text], 
input[type=password],
input[type=number],
input[type=tel],
input[type=email],
input[type=date],
textarea
{
	display: block;
	padding: 0.5em;
	border: 1px solid #ccc;
	box-sizing: border-box;
	width: 100%;	
}

fieldset.short input {
    width: 31%;
    display: inline-block;
    margin-right: 2%;
}

fieldset.short input:last-child {
    width: 31%;
    display: inline-block;
    margin-right: 0;
}

input.invalid { 
	border: 1px solid #c66;
	box-shadow: 0 3px 3px #c66;
	border-radius: 2px;
}
select {
    display: block;
    padding: 0.5em;
    border: 1px solid #ccc;
    box-sizing: border-box;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
button#enviar,
button#cancel, .btn {
	background: #ff821c; 
	color: #fff;
	text-align: center;
	border: none;
	padding: 1em 2em;
	box-sizing: border-box;
	width: 100%;	
	font-size:0.85em;
}
button#enviar:hover, .btn:hover {
	background: #FF821C;
	color: #000000;
}

button#cancel {
    background: #c22;
}

button#cancel:hover {
    background: #FF3E30;
}

fieldset.btn {
	text-align: center
}
#error, #rerror {
	background: #edd; 
	color: #c66; 
	padding: 10px; 
	margin-bottom: 10px; 
	border: 1px dotted #c66; 
	border-radius:2px;
	font-size: 0.9em;
	display:none;
}

#error #send_mail {
    margin-top: 8px;
}

#error a {
    color: #c66;
    font-weight: bold;
    text-decoration: none;
}

#error a:hover {
    color: #c22;
    font-weight: bolder;
    text-decoration: none;
}

#msg {
    background: rgb(203, 252, 181);
    color: rgb(13 100 17);
    padding: 10px;
    border: 1px dotted rgb(64, 129, 51);
    border-radius: 2px;
    font-size: 0.9em;
    display: none;
}

#access {
	text-align: center;
	border: 1px solid #ddd;
	padding: 22% 1em;
	background: #fff;
	background: rgba(255,255,255,0.8);
}

.choose {
	text-align: right;
	padding: 0.5em;
}
.choose a {
	font-size: 0.85em;
	color: #666;
	text-decoration: none
}
.choose a:hover, .choose a.active  {
	color: #000;
}
.choose a.active  {
	font-weight: bold;
}

.modal-title {
    font-weight: bold;
    font-size: 1.3em;
}

.modal-fullscreen .modal-dialog {
    max-width: 100%;
    margin: 10%;
    margin-top: 3%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%; /*100vh;*/
    display: flex;
    position: fixed;
    z-index: 100000;
}

#languages {
    padding: 20px 0;
}

.modal-fullscreen .modal-body {
    overflow-y: hidden !important;
}

.ms-dd-option-content {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#player{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 40px 20px -30px rgba(0, 0, 0, 0.35);
    background-color: transparent;
  }

.alert {
	padding: 0.7rem;
}

@media (max-width: 440px) {
    .cartela {padding-top: 0xp;}
    .fondo{ display: NONE;}
    .session {
        display: none;
    }


}

@media (max-width: 680px) {
	.content {
		height: 100vh;
	}
}

@media screen and (max-width: 1024px) {
    .btn {
        font-size: 15px;
        padding: 10px;
    }

    div.pass {
        margin-bottom: 30px;
    }

    .cartela {
        overflow-y: unset;
    }

    .column  {
        width: 100%;
    }

    .content{
        padding: 1%;
        padding-top: 40px;
        height: unset;
    }

    .fondo{
        height: 30vh;
    }

    .banda{
        display: none;
    }


}

@media only screen and (max-width: 855px) and (orientation: landscape) {
	.live{
		max-width: unset;
	    width: 65%; 
	}
    .row {
        justify-content: space-around;
    }
}
  @media only screen and (max-width: 1000px) and (orientation: landscape) {
	.fondo{
		display: none;
	  }
	.bandamovil{display: none;}
    
}

/* Logo navbar: estilos base */
.navbar-brand.enlace img {
  display: block;

  height: 0px;
  max-height: 48px;         /* opcional: limita altura en desktop */
  width: auto;
  margin: 40px;
}

/* Móviles: que el logo sea el 50% de su tamaño (ancho del ancla) */
@media (max-width: 440px) {
  .navbar-brand.enlace img {
    width: 50%;
    max-width: none;        /* evita que un max-width previo lo limite */
  }
}

/* 1) El <a> debe ajustarse al tamaño de su contenido (la imagen) */
.navbar-brand.enlace {
  display: inline-flex;      /* sin estirar */
  align-items: center;
  padding: 0;                /* Bootstrap añade padding por defecto */
  margin: 0;                 /* quitamos márgenes implícitos */
  line-height: 0;            /* elimina espacio extra de inline elements */
  margin-right: 2px;        /* separación con el siguiente contenedor */
}

/* 2) La imagen no debe añadir espacios “fantasma” */
.navbar-brand.enlace img {
  display: block;            /* evita gap por baseline */
  height: auto;
  width: auto;               /* ancho natural por defecto */
  /* Ajuste de tamaño en desktop, si quieres limitar altura */
  max-height: 48px;          /* opcional */
}

/* 3) En móviles, controlamos tamaño por ALTURA para evitar dependencias
      entre el ancho del <a> y el % del <img> (más estable) */
@media (max-width: 440px) {
  .navbar-brand.enlace img {
    max-height: 20px;        /* ~50% del tamaño típico de desktop */
    width: auto;             /* mantiene proporción y el <a> se adapta a la imagen */
margin-left: 25px;
  }
  .cartela{padding-top: 0px;}
  .navbar{max-height: 70px;}
}

