@font-face {
    font-family: ChewedPenBB;
    src: url("ChewedPenBB.otf") format("opentype");
}

@font-face {
    font-family: neuropolitical;
    src: url("neuropolitical.ttf") format("opentype");
}

/*
#a70303 --> el rojo  paso de B40404 a a70303
#F6E3CE --> el background principal
#F5D0A9 --> el carne
#FF4000 --> el rosa naranja
#610B0B --> rojo oscuro (boton pulsado)  
#f2e6d9 --> casi blanco para la IU
#fbf3ea --> casi blanco para los input

*/

/* CSS reset */
/*h1,hr {
    margin:0;
    padding:0;
}*/
html {
	/*-ms-touch-action: manipulation;
	touch-action: manipulation;*/
	font-family: Helvetica;
}

body { 
	/*background: url(images/background.gif) no-repeat left top fixed; 
	background-size: 100% ;*/

    /*margin:0;
    padding:0;
    height: 100%;*/
	margin: 0;
	padding:0;
	font-size: large;
	/*background-color: #fbf3ea;*/
	background-color: #f2e6d9; 
	/*background-image: url(../images/fondo2.png);
	background-repeat: repeat;*/
}

.topbar {
	text-align: left;
	padding: 10px 0 10px 0;
	background-color: #610B0B;
	height: 1.4em;
	position: absolute;
	width: 100%;
	z-index: 1;
}

.topbackbtn {
	float: left;
	width: 1.4em;
	margin-left: 10px;
}

.botontopbarright img, .botontopbarright svg {
	float: right;
	width: 1.4em;
	margin-left: 5px;
	margin-right: 5px;
}

.botontopbarleft img {
	float: left;
	width: 1.4em;
	margin-left: 5px;
	margin-right: 5px;
}

#showmenubtn img, #showmenubtn svg {
	float: right;
	width: 2em;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: -6px;
	border: 1px solid #F5D0A9;
	border-radius: 50%;
}

.dropdownmenu {
  display: none;
  position: absolute;
  background-color: #7d0d0d;
  min-width: 190px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 5;
}

#dropdownmenuright {
  right: 5px;
  top: 5px;
}
#dropdownmenuleft {
  left: 5px;
  top: 5px;
}

.dropdownmenu a {
	color: #f2e6d9;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

#lupabtn {
	display: none;
}

#searchbar, #pageeditsearchbar {
	display: none;
}


#titulo {
	color: #F5D0A9;	
	text-shadow: 2px 2px 5px #FF4000, 0 0 25px #B40404, 0 0 5px black;
	font-size: 1.2em;
	font-family: neuropolitical;
	margin-left: 5px;
}

.editthings {
	  	/*padding-top: 3.1em;*/
	  	margin: 8px 6px 80px 6px;
}
.editizq {
	float: left;
	width: 65%;
}
.editname {
	margin-bottom: 10px;
}

.editnamebtn img {
	width: 20px;
	margin-right: 10px;
}
.editsorteoinput{
	border: 0px;
	font-size: x-large;
	background-color: #f2e6d9;
}
.editsorteodate {
		font-size: large;
		color:  #610B0B;
		width: 205px;
}
.inputclass {
	font-size: large;
	background-color: #fbf3ea;
	border-radius: 2px;
	border: 1px solid #edd4b9;
	padding: 5px;
}
.editnameinput {
	width: 9.4em;
	/*border-right: 0px;*/
}
.noclickevent {
	pointer-events: none;	
}

.editder {
	float: right;
	margin: 0 0 0 5px;
}
.editiconbtn img {
	width: 3em;
	height: 3em;
	border: 3px solid #610B0B;
	border-radius: 15%;
}


.despuesdebar {
  padding-top: 45px;	
}

.wrapper {
  display: grid;
  grid-gap: 1px;
  padding: 0px;
  background-color: #610B0B;
  border-top: 1px solid #610B0B;
}
#candidatoslist {
 border-bottom: 2px solid #610B0B;
}
#mainsorteolist {
  border-bottom: 1px solid #610B0B;
}


.wrapperdiv {
  text-align: left;
  padding: 7px 0px;
  background-image: linear-gradient(#B17461, #B17461);
    background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 0% 100%;
 /* background-color: #F5D0A9;*/
 background-color: #f2e6d9;
  transition: background-size .1s;
}

.wrapperdivactive {
	 background-size: 100% 100%;
}

/*
.wrapperdiv:active {
  background-size: 100% 100%;
}*/

.wrapperdiv svg {
	width: 29px;
	float: left;
	margin-left: 2px;
}

.nuevotoken .mainname {
	font-weight: bold;
}

.mainname {
	font-size: 20px;
	display: inline-block;
	margin-top: 5px;
	max-width: 12em;	/* esto es para que no se haga más grande el div con nombre largo y res 320 */
}
.mainfecha {
	font-size: 16px;
	color:  #610B0B;
}

.botonlargo {
	width: 100%;
	text-align: center;
	border-top: 3px outset #610B0B;
	border-bottom: 3px outset #610B0B;;
}

.botonrojo img {
	  border-radius: 50%;
	 	background-color: #a70303;
	 	border: solid black 2px;
		box-shadow: 3px 3px 4px #000;
}

#addbutton {
  position: fixed;
  right: 25px;
  bottom: 25px;
  cursor:pointer;

}

#addbutton img {
	  border-radius: 50%;
	  width: 55px;
	  	opacity: 0;

}


#pageeditsorteo, #pagecsorteo, #pagecelegir, #pagecreparto {
	display:  none;
}

#pageeditsorteotitulo {
	color:  #F5D0A9;
	font-size: 1.2em;
	margin-left: 5px;
}

#pageeditsorteoicon {
	margin: -5px 0px 0px 3px;
	width: 1.9em;
	float: left;
}

.mainicon {
	  border-radius: 0%;
	  border: solid black 0px;
	  width: 3em;
	  height: 3em;
	 float: left;
	 margin: 0px 10px 0px 6px;

}

.mainiconright {
	  
	 float: right;
	 margin: 0px 5px 0px 3px;
  cursor:pointer;

}


.mainiconright img {
	  width: 45px;
}

.inputsearch {
	margin-left: 7px;
	font-size: 22px;
	color: #F5D0A9;
	background-color: #610B0B;
	border: 0px;
	width: 10em;
}
.inputsearch:focus {
	outline: none;
}


.tdresultsecret {	
	width: 115px;
	font-size: 1.3em;
	text-align: center;
	background: url(../images/papel_arrugado.png) no-repeat;
	background-size: 95% 87%;
  background-position: center;
	/*-webkit-box-shadow: 0 10px 6px -6px #777;
	   -moz-box-shadow: 0 10px 6px -6px #777;
	        box-shadow: 0 10px 6px -6px #777;*/
	font-family: ChewedPenBB, Helvetica;
	padding: 0 0.6em 0em 0.6em;
	word-wrap: break-word;
	line-height: 20px;
	/*color: #2b2b2b;*/
	text-shadow: 4px 4px 0px rgba(0,0,0,0.1); 
}
.nomdesvelado {
	margin-left: 4px;
}
.resdesvelado {
	margin-right: 10px;
	float: right;
	line-height: 30px;
}


/* botones  */
button {
	cursor:pointer;
	padding:14px 7px;
	font-size: 20px;
	font-weight: bold;
	background-color:#a70303;
	color: #F6E3CE;
	/*border:1px solid black; 
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	box-shadow: 3px 3px 4px #000;*/
}

/*button:hover:enabled  {
	background-color :#610B0B;
	box-shadow: 2px 2px 5px #000, 0 0 25px red, 0 0 5px black;
}*/

.iconinbtn {
    float: left;
    width: 28px;
    height: 22px;
}

.santaicon {
	 background: url(../images/santaicon.png) no-repeat;
	  	 	background-size: contain;

}

.loginicon {
	 background: url(../images/iconsbtn/login.svg) no-repeat;
	 background-size: contain;
}
.googleloginicon {
		background: url(../images/iconsbtn/googleiconbtn.svg) no-repeat;
	 background-size: contain;
}
.appleloginicon {
		background: url(../images/iconsbtn/appleiconbtn.png) no-repeat;
	 background-size: contain;
}
.signupicon {
	 background: url(../images/iconsbtn/signup.svg) no-repeat;
	 	 background-size: contain;
}
.resetpassicon {
	 background: url(../images/iconsbtn/resetpass.svg) no-repeat;
	 	 background-size: contain;
}
.delicon {
	 background: url(../images/iconsbtn/delete.svg) no-repeat;
	 	 background-size: contain;
}

.desvelaricon {
		background: url(../images/iconsbtn/eyebtn.svg) no-repeat;
			 background-size: contain;
}

.shareicon {
	 background: url(../images/iconsbtn/share.svg) no-repeat;
	 	 background-size: contain;
}
.closebtnicon {
	 background: url(../images/iconsbtn/closebtn.svg) no-repeat;
	 	 background-size: contain;
}
.repetiricon {
	 background: url(../images/iconsbtn/resetbtn.png) no-repeat;
	 	 background-size: contain;
}

.openlinkicon {
	 background: url(../images/openlinkicon.png) no-repeat;
	 	 background-size: contain;
}

.closeicon {
	 background: url(../images/closeicon.png) no-repeat;
	 	 background-size: contain;
}

.testbtnicon {
		 background: url(../images/iconsbtn/testbtn.png) no-repeat;
	 	 background-size: contain;
}


.flexcelegir {
		display: flex;
  	flex-flow: row wrap;
  	justify-content: space-around;
}
.flexcelegiritem {
		border: 3px solid #610B0B;
		border-radius: 15%;
		margin: 0.5em 5px 0.5em 5px;
		padding: 5px;
}

#flexcelegiradditem {
 cursor:pointer;
}

#flexcelegiradditem img {
	width: 55px;
}



.flexcontainer {
	margin-top: 8px;
	display: flex;
  	flex-flow: row wrap;
  	justify-content: space-around;

}

.grsvg {
	width: 3em;
	border: 3px solid #610B0B;
	border-radius: 15%;
	margin: 0.5em 5px 0.5em 5px;
}

.grsvg svg, .grsvg img {
	width: 3em;
	height: 3em;
	vertical-align: middle;
}


/* --------------------	 Diálogos   -------------------  */
.dialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 10;
	/*opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;*/
	display:none;
}

.dialog:target {
	opacity:1;
	pointer-events: auto;
	display:block;
}

.dialogdiv {
	background-image: url(../images/fondo2.png);
	background-repeat: repeat;
	width: 97%;
	position: relative;
	margin: 14% auto auto auto;
	/*padding: 5px 20px 13px 20px;*/
		padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	text-align: center;
	z-index: 15;
}

.dialogdivbig {
	background-image: url(../images/fondo2.png);
	background-repeat: repeat;
	width: 97%;
	position: relative;
	margin: 5px auto auto auto;
	/*padding: 5px 20px 13px 20px;*/
	padding-top: 1px;
	padding-bottom: 10px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	text-align: center;
	z-index: 15;
}


.openloginsignuptabs {
	float: left;
 cursor: pointer;
 box-sizing: border-box;	/* asegura que el width50% se cumple   */
 width: 50%;
  transition: 0.3s;
  height: 3em;
  padding-top: 1em;
  transition: 1s;
  margin-bottom: 0.8em;
  margin-top: -10px;
}
.tabnotselected {
	opacity: 0.5;
	background-color: #bbb3a9;
	border: 1px black inset;
}
.dialogdiv button, .dialogdivbig button {
	margin-top: 8px;
	margin-bottom: 8px;
	width: 87%;
	border:1px solid black; 
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	box-shadow: 3px 3px 4px #000;
}

.dialogdiv input {
	display: block;
	margin: 0.7em auto 0.7em auto;
	padding: 10px;
	width: 80%;
}

#openrepetcheck {
	display: inline;
	width: auto;
	margin: 0px 5px 15px 0px;
}

.dialogdiv p {
	display: block;
	margin: 0px auto 0px auto;
	margin-top: 8px;
	margin-bottom: 8px;
	width: 88%;
}

#forgotpwdlink, #backfromforgotlink {
	display: block;
	margin-bottom: 20px;
}


.abcRioButton { 
	margin: 8px auto 8px auto;
	border:1px solid black; 
	border-radius: 10px !important;
	-webkit-border-radius: 10px !important;
	-moz-border-radius: 10px !important;
	box-shadow: 3px 3px 4px #000 !important;
	background-color: white;
}

#googlelogin4appbtn {
	width: 87%;
	font-family: Roboto,arial,sans-serif;
	font-weight: 500;
	letter-spacing: .21px;
	font-size: 16px;
	padding: 14px 7px;
}

#appleloginbtn {
	margin: 14px auto 8px auto;
	border:1px solid black; 
	border-radius: 10px !important;
	-webkit-border-radius: 10px !important;
	-moz-border-radius: 10px !important;
	box-shadow: 3px 3px 4px #000 !important;
	background-color: black;
	color: white;
	width: 87%;
	font-family: Roboto,arial,sans-serif;
	font-weight: 500;
	letter-spacing: .21px;
	font-size: 16px;
	padding: 14px 7px;
}

.link {
	text-decoration: underline;
	color:  #610B0B;
}

#tokenurl {
	text-overflow: ellipsis;
  overflow: hidden;
}

#openAlertDetalle svg, #openAlertDetalle img {
	width: 50px;
	margin-bottom: 10px;
}
#userxenalerta {
	background-color: #610B0B;
	border: 1px solid black;
	border-radius: 50%;
	padding: 2px;
}

/* ----------- help ------------------------  */

.helpdialogdiv {
	margin: 5px;
	/*position:absolute;*/
	border:1px solid #610B0B;
	background-color: #1d0101;
	/*background: #fff;
	background: -moz-linear-gradient(#f5e1cd, #F89F54);
	background: -webkit-linear-gradient(#f5e1cd, #F89F54);
	background: -o-linear-gradient(#f5e1cd, #F89F54);*/
	border-radius:6px;
	padding: 5px 8px 5px 8px;
	color:#fff;
}

.closehelp {
	width: 45px;
	position: fixed;
	right: 4px;
	margin-top: -7px;
}

.helppage {
	margin-top: 7px;
}

.helppage hr {
	margin-top:0.8em;
	margin-bottom: 0.8em;
}
.helppage p {
	margin: 8px 0px 8px 8px;
}
.indent {
	margin-left: 38px !important;
}

.helpnumero {
	font-size: 45px;
	font-weight: bold;
	margin-right: 10px;
	float: left;
}

.butinsidehelp {
	pointer-events: none;
	opacity: 0.9;
}

#pedithelp1shareredbtn img, #pedithelp2closebtn img {
	width: 50px;
}

.centrado {
	text-align: center;
}
#helppage2ojo img {
	width: 40px;
}

.navegadorayuda {
	text-align: center;
	margin-top: 7px;
}

.dot {
  display: inline-block;
  height: 10px;
  width: 10px;
  background: #610B0B;
  margin: 0px 4px 20px 4px;
  vertical-align: middle;
  border-radius: 10px;
}

.dot.active {
  background: #a70303 ;
  width: 10px;
  height: 10px;
}

.arrow {
  border: solid #a70303;
  border-width: 0 11px 11px 0;
  display: inline-block;
  padding: 7px;
  margin: 0px 2px;
  cursor: pointer;
}

.rotright {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.rotleft {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

/* -------------------------------------------------------  */

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -50px; /* half width of the spinner gif */
    margin-top: -50px; /* half height of the spinner gif */
    text-align:center;
    z-index:100;
    overflow: auto;
    width: 100px; /* width of the spinner gif */
    height: 102px; /*hight of the spinner gif +2px to fix IE8 issue */
}