html,body {
	height: 100%;
}
legend {
	font-weight: bold;
	text-align: justify;
	width: 100%;
}
.innLogoHeader {
	background: none;
	border: none;
	margin: 1em 0;
	text-align: center;
}
.innLogo {
	max-width: 70%;
}
.innNavBar a {
	margin: 1em 0;
}
.innFirstQuest .ui-navbar.innNavbarQuestion .ui-block-a{
	display: none;
}
.innFirstQuest .ui-navbar.innNavbarQuestion .ui-block-b{
	width: 100%;
}
.innLastQuest .ui-navbar.innNavbarQuestion .ui-block-b{
	display: none;
}
.innLastQuest .ui-navbar.innNavbarQuestion .ui-block-a{
	width: 100%;
}
.innMarkQuestion {	
	display: block;
	margin: 0 auto;
	width: 100%;
}
.innTxtReview {	
	text-shadow: 1px 1px 0px rgba(255,255,255,0.2);
}
#initialPage, #menuPage, #questionPackPage, #about, #selectArea, #settings  {
	background: #a0cf67 url('../img/marca.png') no-repeat center top;
}
#questionReviewPage li .ui-btn-inner {
	padding-top: 30px;
}
#about {
	color: #333;
	text-align: center;
	text-shadow: 1px 1px 2px #777;
}
	#about .innContactAbout, #about .innContactAbout:visited {
		color: rgb(27, 64, 158);
		font-weight: normal;
	}


/* Detalle de repuesta*/
.innQuestion {
	font-weight: bold;
	text-align: center;
}
.innAnswer {
	background-color: #ddd; 
	border: thin solid #ccc;
	margin: 2em 0;
	padding: 1em;
	text-align: center;
}
.innCorrectAnswer span {
	font-weight: bold;
}
.innJustification, .innReference {
	font-weight: bold;
}
.innJustification p, .innReference p{
	display: block;
	background-color: #ddd;
	border: thin solid #ccc;
	padding: 1em;
	font-weight: normal;
}
.innEnunRepeat {
	background: #aaa;
	display: block;
	margin-bottom: 2em;
	padding: 0.5em;
}
.innChoiceOk {
	background-color: rgba(0,255,0,0.2);
}
.innChoiceError {
	background-color: rgba(255,0,0,0.2);
}
span.innChoiceOk {
	background-color: transparent;
	color: green;
	font-size: 1.3em;
}
span.innChoiceError {
	background-color: transparent;
	color: red;
	font-size: 1.3em;
}
.innTableHead {
	background-color: #444;
	background-image: linear-gradient(#444, #222);
	border: thin solid black;
	color: white;	
	padding: 0.5em 0;
	text-align: center;
	text-shadow: 0 1px 0 #000
}
#tablePercentage [data-role='content'] {
	font-size: 0.9em;
	margin-top: 1em;
	padding: 0;
}
#tablePercentage .innTableRow {
	border: thin solid #ccc;
	padding: 0.5em 0.5em;
}
#tablePercentage [data-role='content'] .ui-block-a {
	width: 48%;
}
#tablePercentage [data-role='content'] .ui-block-b, 
#tablePercentage [data-role='content'] .ui-block-c  {
	width: 26%;
}
#tableResult [data-role='content'] {
	font-size: 0.9em;
	margin-top: 1em;
	padding: 0;
}
#tableResult .innTableRow {
	border: thin solid #ccc;
	padding: 0.5em 0.5em;
	text-align: center;
}
#tableResult a.ui-block-e {
	color: black;
}
#tableResult a.ui-block-e:visited{
	color: black;
}

/* Estilos jQuery Mobile*/
.ui-header .ui-title {
	margin-left: 0; 
	margin-right: 0; 
}
.ui-field-contain .ui-controlgroup-label {
	display: block;
	margin: 2em auto;
	text-align: center;
	width: 100%;
}
.ui-field-contain .ui-controlgroup-controls {
	width: 100%;
}
[href="#initialPage"], #summaryResult [href="#selectArea"], #tableResult [href="#selectArea"]{
	display: block;
	margin: 2em auto !important;
	max-width: 300px;
}

/*Banner*/
.innBanner {
	background: #eee;
	box-shadow: 0px 0px 5px #333;
	display: block;
	font-size: 0.8em;
	height: 40px;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 10;
}
.innBanner img {
	margin: 5px 10px 0 5px;
	height: 30px;
}
.innBanner img, a.innBanner, a.innBanner:visited {
	display: inline-block;
    text-decoration: none;
	vertical-align: middle;
	max-width: 100%;
}
a.innBanner span {
	color: #333 !important;
    display: inline-block;
    font-weight: normal;
    vertical-align: middle;
    max-width: 65%;
}
#bnrCoursePMP {
	display: none;
}
.innBnrResult {
	display: block;
	position: relative;
	top: 0
}

/* Buy Questions*/
#questionPackPage .innLogo {
	max-width: 50%;
}
.innBuyQuestion, .innToken {
	background: rgba(255,255,255,0.5);
	border-radius: 1em 0 1em 0;	
	font-size: 1.2em;
	padding: 0.5em;
	text-align: center;
}
.innBuyQuestion img, .innBuyQuestion a, .innBuyQuestion a:visited {
	color: black !important;
	display: inline-block;
    max-width: 65%;    
	vertical-align: middle;
}
.innToken {
	cursor: none;
}
.innQuestionMarked {
	display: none;
	margin: 0 auto;
	margin-top: 2em;
}
.innImageEnunciated, .innImageChoice {
	box-shadow: 0px 0px 5px #333;
	display: inline-block;
	margin: 0 auto;
	max-width: 500px;
	vertical-align: middle;
	width: 80%;
}
.innImageEnunciated {
	margin: 1em auto;
}
.innImageChoice {
	width: 250px;
	max-width: 90%;
}
.innImageDetail {
	display: inline-block;
	width: 250px;
	margin: 1em;
	vertical-align: top;
}
.ui-controlgroup-controls {
	text-align: center;
}
.innChoiceImage {
	display: inline-block;
	margin: 0 2em;
	vertical-align: top;
}
.innEnunciated {
	background: #ccc;
	border: thin solid #aaa;
	border-radius: 5px;
	box-shadow: 0px 0px 5px #333;
	margin: 1em;
	padding: 1em;
	text-align: justify;
}
.innAboutLogo {
	background: #333;
	padding: 0.5em;
}
.innHint {
	color: #616161;
	background-color: #B5B697; 
	background: linear-gradient(#fff, #ccc);
	border: thin solid #aaa;
	border-radius: 10px;
	display: none;
	font-weight: bold;
	margin: 2em auto;
	margin-top: -1em;
	padding: 1em;
	text-align: center;
	text-shadow: 0 1px 0 #fff;
	width: 85%;
}
.innBgImg {
	background: rgba(0, 0, 0, 0.8);
	display: none;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 10;
}
.innEnunciatedImage {
	max-height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
}
.innImgLoader {
	display: block;
	margin: 0 auto;
	position: relative;
	top: 50%;
}
.innImageLens {
	background: url('../img/lupa.png');
	display: inline-block;
	height: 30px;
	margin-left: -2em;
	margin-top: 1em;
	vertical-align: top;
	width: 30px;
}
.innAdvertencia {
	background-color: #ccc;
	border: thin solid #aaa;
	border-radius: 6px;
	padding: 1em;
}


/* Facebook Plugin*/
.login-button {
	background:url('images/connect_sprite.png') no-repeat scroll left -191px #29447e;
	background-size: 54px;
	display:inline-block;
	line-height:14px;
	outline:medium none;
	padding:0 0 0 15px
}

.login-button span {
	background:url('images/connect_sprite.png') repeat scroll 0 0 #5f78ab;
	border-bottom:1px solid #1a356e;
	border-top:1px solid #879ac0;
	color:#fff;
	cursor:pointer;
	display:block;
	font-size:20px;
	font-weight:normal;
	margin:1px 1px 0 21px;
	padding:11px 23px 7px;
	font-family: 'Lucida Grande', Verdana, Arial, sans-serif
;}

.button {
	width: 100%;
	font-size: 1.2em;
	background-color: #f6f6f6;
	margin-bottom: 10px;
	border-bottom: 1px solid #9f9f9f;
	border-right: 1px solid #9f9f9f;
	text-align: center;
	padding: 10px 0 10px;
	color: #323232;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	font-weight:bold;
	text-decoration: none;
	width: 100%;
	-moz-box-shadow: 0 1px 7px #9f9f9f;
	-webkit-box-shadow: 0 1px 7px #9f9f9f;
	cursor: pointer;
	position: relative;
	margin: 0px auto;
	width: 95%;
	margin-bottom: 10px;
}

#right-block {
	background: rgba(255,255,255,0.5);
	padding: 1em;
	text-align: center;
	word-break:break-all;
}

#right-block .login-comment {
	font-weight: bold;
}

#right-block .show_when_not_connected, #right-block .show_when_connected {
	display: none;
}


/* Identidad institucional Carbonell */
:root {
  --green: #073c20;
  --green-2: #0d5a2c;
  --gold: #f4c737;
  --cream: #f7f6ef;
  --ink: #173521;
  --line: #cfe0d0;
}

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
}

#initialPage, #menuPage, #questionPackPage, #about, #selectArea, #settings {
  background: var(--cream);
  background-image: none;
  min-height: 100vh;
}

.innLogoHeader {
  min-height: 122px;
  margin: 0;
  padding: 28px 24px;
  text-align: left;
  background: var(--green);
  border-top: 4px solid var(--gold);
}

.innLogo { display: none; }

.innLogoHeader:before {
  content: "SIMULADOR ACADÉMICO";
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.innLogoHeader:after {
  content: "IE José María Carbonell\A Preparación para Saber 11";
  display: block;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: pre-line;
}

#initialPage .innNavBar, #menuPage .innNavBar, #selectArea .innNavBar {
  max-width: 880px;
  margin: 0 auto;
  padding: 34px 24px 56px;
}

#right-block {
  margin-bottom: 24px;
  padding: 16px 20px;
  background: #eaf4ea;
  border-left: 4px solid var(--gold);
  color: var(--green);
}

.innNavBar a.ui-btn, a.ui-btn {
  margin: 10px 0;
  padding: 6px;
  background: #fff;
  background-image: none;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--green) !important;
  font-weight: 800;
  text-shadow: none;
}

.innNavBar a.ui-btn .ui-btn-inner, a.ui-btn .ui-btn-inner {
  border: 0;
  padding: 17px 15px;
}

#btnStart, .btnStart {
  background: var(--gold) !important;
  border-color: #d5a80e !important;
  color: #12331e !important;
}

.ui-header {
  min-height: 70px;
  background: var(--green);
  background-image: none;
  border: 0;
  border-top: 4px solid var(--gold);
}

.ui-header .ui-title {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  text-shadow: none;
}

[data-role="content"] { background: var(--cream); }

.ui-collapsible {
  margin: 10px 0;
  border: 1px solid var(--line);
}

.ui-collapsible-heading .ui-btn {
  background: #fff !important;
  border: 0 !important;
  color: var(--green) !important;
  font-family: Georgia, serif;
  text-shadow: none;
}

.ui-collapsible-content {
  background: #f7fbf7;
  border-top: 1px solid var(--line);
}

.innTableHead, .ui-navbar .ui-btn {
  background: var(--green) !important;
  background-image: none;
  border: 0 !important;
  color: #fff !important;
  text-shadow: none;
}

.innTableHead { padding: .65em 0; }

.innEnunciated, .innAnswer {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-2);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  text-shadow: none;
}

.innBanner, #bnrCoursePMP { display: none !important; }

@media (max-width: 620px) {
  .innLogoHeader { padding: 22px 18px; }
  .innLogoHeader:after { font-size: 1.55rem; }
  #initialPage .innNavBar, #menuPage .innNavBar, #selectArea .innNavBar {
    padding: 24px 16px 42px;
  }
}
/* Carbonell branding */
.carbonell-brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 92px;
    padding: 14px 20px;
    box-sizing: border-box;
}

.carbonell-crest {
    width: 62px;
    height: 62px;
    object-fit: contain;
    flex: 0 0 auto;
}

.carbonell-brand-header .innLogo {
    max-width: 70%;
    flex: 0 1 70%;
}

@media (max-width: 640px) {
    .carbonell-brand-header {
        gap: 10px;
        min-height: 72px;
        padding: 10px 14px;
    }

    .carbonell-crest {
        width: 48px;
        height: 48px;
    }

    .carbonell-brand-header .innLogo {
        max-width: calc(100% - 62px);
        flex-basis: calc(100% - 62px);
    }
}