
.hide_if_empty:empty{
	display: none;
}

.popup-dismisser{
	position: fixed;
	top: 0; right: 0; left: 0; bottom: 0;
	display: none;
	z-index: 100000;
}

p{ margin-bottom: 5px; }

.error{ color:red; }

.ok{ color:green; }

sup{ font-size: 12px; }

.quest{
	width:25px;
	height:30px;
	float:left;
}

#notifications{
	position: absolute;
    top: 200px;
    width: 500px;
    left: calc(50% - 250px);
    margin: auto;
    z-index: 1000000;
	text-align: center;
}

.no, div.tooltip span{

	padding:10px 20px;
    font-size: 14px;
    border:2px solid #FFF;  color:#EEE;
    background:#333 url(img/css-tooltip-gradient-bg.png) repeat-x 0 0;
    border-radius:2px; box-shadow: 0px 0px 8px 4px #666; opacity: 0.8;
}


.maindiv{
	padding: 10px;
}

body{
	background: url(img/bgn.jpg);
	background-position:0 50px;
	background-repeat: no-repeat;
	background-color: #CFBCA5;
	background-size: cover;

	width: 100%;
	padding-top: 58px;
	font-weight: normal;
}

audio, video{
	display: block;
	margin: 6px auto;
}

#adenv{
	width: 730px;
	height: 90px;
	margin:5px auto !important;
}

#referaldiv{
	position: absolute;
	top: 80px;
	right: 20px;
    width: 220px;
    font-family:"Courier New";
}

#premio{
	padding-top: 70px;
	padding-right: 1%;
	padding-left: 30px;
}

#question_number{
	position: fixed;
    left: 20px;
    top: 34px;
    width: 210px;
    height: 190px;
    background-size: 210px 190px;
	background-image: url(img/nota.png);
    transform: rotate(-7deg);
	z-index: 10000;
}
#question_number p{
	font-size: 30px;
	line-height: 50px;
	margin:65px 20px 0 45px;
	color: #777788;
    transform: rotate(-2deg);
}
#num{
	margin:10px 20px 0 45px !important;
}

table.enigma{
	margin: auto;
	margin-top: 5px;
	font-size: 14px;
}
table.enigma td{
	height: 20px;
	padding: 1px 9px;
	background: transparent;
}

#qenv{
	background: url(/img/bloc.png) center top no-repeat;
	background-size: 100%;
	display: inline-block;
	width: 600px;
	padding: 30px 52px 10px 60px;
	position: relative;
	text-align: center;
}
#img_env{
	border:2px solid black;
	margin: 0px auto;
	margin-bottom: 15px;
	/*width: max-content;*/
	display: inline-block;
	max-width: 100%;
}

#qenv > form{

	height: 35px;
}

#question_body{
	padding: 45px 0px 20px 0px ;
	height: 310px;

	font-size: 20px;
	font-family: "Courier New", calibri;
	font-weight: bold;
}
#question_body img{
	max-height: 160px;
	max-width: 100% !important;
}
#question_body  p{
	margin-top: 4px;
	line-height: 20px;
	text-align: center;
}

#status{
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	color: blue;
    height: 21px;
}

#tareas_pendientes{
	font-family: "Courier New", calibri;
	font-weight: bold;
	font-size: 18px;
	position: absolute;
	top: 30px;
	left: calc(100% - 35px);
	overflow: hidden;
}

#tareas_pendientes .bookmark{
	position: relative;
	left: -7px;
	transition: left 0.3s ease;
}

#tareas_pendientes .bookmark:hover{
	left: -4px;
}

#logmenu{
	padding: 10px;
	display: none;
	background-color: #eeeeee;
 	position: absolute;
    left: 400px;
    top: 50px;
    border: 1px solid #dddddd;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 5px 5px 1px #888888;
	max-height: 80vh;
	overflow-y: auto;
}
#logmenu p{
	margin: 10px 0 5px 00px;
	font-family: "Courier New", calibri;
}
h3{
	color: #777777;
	padding-left:10px;
	padding-top: 10px;
}

#userdata{
	display:inline-block;
	color: white;
	font-size: 20px;
}
#aux{
	display: none;
}
#logout_img{
	background: url(img/logout_btn.png) no-repeat;
	display: inline-block;
	margin-left: 20px;
	width: 30px;
	height:30px;
	background-size: cover;
	vertical-align: middle;
}
#logout_img:hover{
	background-position: 0px -30px;
	background-size: cover;
}


.hidden{
	color:#f8f9f6;
	opacity: 0.2;
}
.hidden::selection{
	color: black;
}

a{
	text-decoration: none;
	color: #555555;
}

@media(max-width: 767px){

	body{
		background: url(/img/sm_notepad_old.jpg);
		background-size: 100% auto;
		min-width: initial;
		min-height: 100%;
	}

	.hide_on_mobile{
		display: none;
	}

	#qenv{
		background: transparent;
		width: 95%;
		padding: 15px;
		margin: 10;
		border-top: 2px solid #525252;
		border-radius: 10px 10px 5px 5px;
		border-bottom: 2px solid #535853;
		box-shadow: 0 0 10px 0 #000000ad;
		background: #b3b9a66b;
	}

	#question_number{
		position: static;
		width: auto;
		height: auto;
		background: none;
		transform: none;
		padding-left: 16%;
	}
	#question_number p{
		font-family: "Cabin Sketch", cursive;
		margin: 35px 0 0 25px;
		display: inline;
		font-size: 30px;

	}
	#question_number p#num{
		margin: 0 15px !important;
	}
	#premio{
		padding-top: 0;
		padding-left: calc(16% + 25px);
	}
	#premio > .fb-share-button,
	#premio > .twitter-share-button{
		display: inline-block;
	}

	#adenv{width: 100%; overflow: hidden}

	#logmenu{left:0; width: 100%;}

	.hint{margin-top: 10px}

	#tareas_pendientes{
		text-align: right;
		overflow: visible;
		right: -5px;
	}

	#tareas_pendientes .bookmark{
		left: 0px !important;
	}

	.hidden{
		color: #d2c9ab;
	}
}
