* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color: white;

    background-attachment:fixed;
    font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-size:12px;
    height:100%;
    margin:0px;
    padding:0px;
    width:100%;
}

a {
    text-decoration: none;
}

/* Portrait layout (default) */
.app {

    overflow: hidden;
    background-color: white;
    position: relative;
    height: calc(var(--vh) * 100 - 50px);
    
}

.app.full {

    height: 100vh;


}

#popupMessageContainer {

    position: absolute;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 11;
    background-color: rgba(0,0,0,0.2);
    
    opacity: 1.0;
}

#popupMessageContainer.hide {

    opacity: 0;
    transition: opacity .9s ease-in;
    
}


#popupMessage {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    background-color: white;
    border: 1px solid #f1f1f1;
    width: 80vw;
    padding: 20px;
    z-index: 10;

    box-shadow: 0px 0px 10px black;
    text-align: center;

    
}

#message {

    color: black;
    font-size: 16px;
    
}

#btnPopup {

    width: 60%;
    margin: 30px 10% 10px 10%;
    padding: 10px 10%;
    color: white;
    background-color: #660000;
    font-size: 12px;
}

#pageResetPassword,
#pageMain,
#pageRegister {

    height: 100vh;

}

#headerApp {

    z-index: 10;
    height: 50px;
    background-color: white;
    position: relative;

}

#headerApp h2 {

    color: black;
    line-height: 48px;

}

#headerApp.show {

    display:block;

}

#headerApp h2 {

    text-align: center;
    margin: 0px;
    /*padding: 5px;*/
    font-size: 18px;

}

#headerApp img {

    height: 24px;
    position: absolute;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;

}

#btnBack {

    z-index: 10;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: transparent;
    background-image: url('../images/back.svg');
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -19500px;
    width: 42px;
    height: 42px;
    border: none;
    display:none;
    outline-style:none;
    
}

#btnBack.show {

    display: block;

}

#btnMenu {

    z-index: 10;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: transparent;
    background-image: url('../images/menu.svg');
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -19500px;
    width: 42px;
    height: 42px;
    border: none;
    display:none;
    outline-style:none;
}

#btnMenu.show {

    display: block;

}

#btnUser {
    z-index: 10;
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: transparent;
    background-image: url('../images/user.svg');
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -19500px;
    width: 42px;
    height: 42px;
    border: none;
    display:none;
    outline-style:none;
}

#btnUser.show {

    display: block;

}

#menuMain {

    position: absolute;
    top: 0px;
    left: -100vw;
    background-color: #fff;
    transition: left .2s ease-in;
    z-index: 5;
}

#menuMain.show {

    position: absolute;
    left: 0;
    background-color: #fff;

}

#menuMain header {

    text-align: center;
    
}

#menuMain img {

    width: 50%;
    margin: 10px auto;

}

#menuMain ul {

    padding: 0px 0px 20px 0px;
    list-style: none;
    margin: 0px;
}

#menuMain ul li a {

    background-position:  15px center;
    background-size: auto 50%;
    background-repeat: no-repeat;
    padding-left: 60px;

}

#itemMenuTest { background-color: #115379; background-image: url('../images/test.svg'); }
#itemMenuTestSection { background-color: #0875b0; background-image: url('../images/test-section.svg'); }
#itemMenuStats { background-color: #1297eb; background-image: url('../images/bar-chart.svg'); }

#btnLogout {

    background-image: url('../images/logout.svg');
    background-position: left 10px center;
    background-size: auto 70%;
    background-repeat: no-repeat;
    padding-left: 50px;
}
                        

#menuMain ul li {

    margin: 0px 0px 0px 0px;
}

#menuMain ul a {

    color: white;
    font-size: 18px;
    width: calc( 100% - 40px );
    display: inline-block;
    padding: 15px 10px 15px 30px;

}

.menu {
    background-color: white;
    width: 100vw;
    height: calc( 100vh - 40px );
    overflow: auto;
}

.page {

    background-color: white;
    width: 100vw;
    height: calc( 100vh - 40px );
    overflow-x: hidden;
    overflow-y: scroll;

}





.page h2 > button {

    height: 42px;

}


.hide {

    display: none !important;

}

.default {


    width: 90%;
    
}


.centered {

    position: absolute;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    width: 90%;
    
}

.centered-horizontal {


    width: 90%;
    margin: 0px auto;
    
}


.right-bottom {

    position: absolute;
    right: 15px;
    bottom: 15px;

}

.top-left {

    position: absolute;
    top: 15px;
    left: 15px;

}

form {

    display: block;
    margin: 0px auto;
    text-align: center;
    
}

textarea ,
select , 
input {
    width: 90%;
    border: red;
    padding: 10px 0px;
    font-size: 16px;
    margin: 5px 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #ccc;
    color: #ccc;
    background-color: transparent;
    border-radius: 0px;
}

input[type=checkbox] {

    width: auto;
    display: inline-block;
    position: static !important;

}

select.filter {

    background-position: left 15px center;
    background-size: auto 50%;
    background-repeat: no-repeat;
    color: black;
    border: 1px solid #e2e2e2;
    background-color: #eee;
    border-radius: 3px;
    width: 95%;
    margin: 5px 0 0 0;
    padding: 10px 5px 10px 45px;
    border-bottom: none;
    
}


::-webkit-input-placeholder { 
  color: #bbb;
}
::-moz-placeholder { 
  color: #bbb;
}
:-ms-input-placeholder { 
  color: #bbb;
}
:-moz-placeholder { 
  color: #bbb;
}

input:not([value=""]) ,
textarea:focus ,
select:focus , 
input:focus {
   border-bottom: 1px solid black;
   color: black;
   outline: none;
   background-color: #fafafa;
   
}

select:focus  {
    -webkit-appearance: none;
    appearance: none;    
    /*border: 1px solid #e2e2e2;*/
}


ul {

    list-style: none;
    padding: 0px;

}

input.button ,
button {

    background-color: #115379;
    color: white;
    padding: 10px;
    font-size: 16px;
    margin: 5px;
    border: none;
    border-radius: 3px;
    /*border: 1px solid #115379;*/
    
}

input[readonly=readonly] ,
select[disabled=disabled],
input[disabled=disabled] {

    border: transparent !important;

}

/*::-webkit-datetime-edit-year-field:not([aria-valuenow]),
::-webkit-datetime-edit-month-field:not([aria-valuenow]),
::-webkit-datetime-edit-day-field:not([aria-valuenow]) {
    color: transparent;
}*/

input::-webkit-datetime-edit{ color: transparent; }

/* Include this to make it visible when input is clicked */
input:focus::-webkit-datetime-edit{ color: #000; } 

button.update ,
input.update {

    background-color: #115379 !important;
    color: white;
    border: 1px solid #115379;

}

input.button.secondary ,
button.secondary {

    background-color: #115379;

}


.text-left {

    text-align: left;

}

.text-center {

    text-align: center;

}

.block {

    display: block;
    width: 100%;
    
}

form label {

    text-align: left;
    display: block;
    font-size: 18px;
    padding: 10px 0px 0px 5px;
    
}

.groupset {
    
    position: relative;
    padding-top: 20px;
    min-height: 50px;
    text-align: left;
}

.groupset .list {
    
    margin-bottom: 0px;
    
}

.groupset > label {

    margin: 0px 10px; 
    padding: 15px 10px;
    display: inline-block;
    background-color: #f9f9f9;
    border-radius: 3px;
    width: calc( 100% - 40px );

}

.space-bottom {

    height: 100px;

}

.fieldset {
    
    position: relative;
    padding-top: 20px;
    top: 0px;
    height: 50px;
    text-align: left;
    margin-top: 10px;
}

.separator {

    margin-bottom: 20px;
    
}

input::-webkit-datetime-edit-ampm-field,
input::-webkit-datetime-edit-day-field,
input::-webkit-datetime-edit-hour-field,
input::-webkit-datetime-edit-millisecond-field,
input::-webkit-datetime-edit-minute-field,
input::-webkit-datetime-edit-month-field,
input::-webkit-datetime-edit-second-field,
input::-webkit-datetime-edit-week-field,
input::-webkit-datetime-edit-year-field,
input::-webkit-datetime-edit-text {
  color: transparent;
}

.contain input::-webkit-datetime-edit-ampm-field,
.contain input::-webkit-datetime-edit-day-field,
.contain input::-webkit-datetime-edit-hour-field,
.contain input::-webkit-datetime-edit-millisecond-field,
.contain input::-webkit-datetime-edit-minute-field,
.contain input::-webkit-datetime-edit-month-field,
.contain input::-webkit-datetime-edit-second-field,
.contain input::-webkit-datetime-edit-week-field,
.contain input::-webkit-datetime-edit-year-field,
.contain input::-webkit-datetime-edit-text {
  color: black;
}

.fieldset select ,
.fieldset input {
    
    z-index: 1;
    position: absolute;
    left: 5px;
    background-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.fieldset input[type=checkbox] {

    -webkit-appearance: checkbox;
    appearance: checkbox;

}


.fieldset.contain label {

    font-size: 12px;
    top: 0px;
    font-weight: 600;
    
}

.fieldset.contain textarea ,
.fieldset.contain select ,
.fieldset.contain input {

    color: black;
    border-bottom: 1px solid black;
    
}

.fieldset label {
    transition: top .1s linear; 
    position: absolute;
    top: 25px;
    left: 15px;
    font-size: 16px;
    color: #aaa;
    z-index: 0;

}

.fieldset.groupcheckbox label {
    
    margin-left: 15px;
    position: static;

    
}

.fieldset label.checklabel {

    position: static;
    display: inline-block;


}

/* inicio */

.spinner {

    animation-name: rotation;
    animation-duration: .7s;

    width: 50px;
    animation-iteration-count: infinite;  
    animation-timing-function: linear;
}

@keyframes rotation {

    0% { transform: translate(-50%,-50%) rotate(0deg); -webkit-transform: translate(-50%,-50%) rotate(0deg);  } 
    
    99% { transform: translate(-50%,-50%) rotate(359deg); -webkit-transform: translate(-50%,-50%) rotate(359deg); }

}

.page img.logo {

    margin: 0px auto;
    display: block;
    padding-top: 100px;
    width: 75%;
   
}

form.start button {

    width: 100%;

}



/* signup*/

#btnRegisterPage {

    position: absolute;
    top: 10px;
    right: 10px;

}

/* dashboard */

#pageDashboard ul  {

    margin: 0px;
    padding: 0px;

}

#pageDashboard ul li {

    width:  50%;
    margin: 0;
    display: inline-block;

}

#pageDashboard ul li:last-child {

    width: 100%;

}

#pageDashboard ul li button {

    height:  calc( 33vh - 10px );
    width: 100%;
    font-size: 18px;
    color: white;
    padding: 10px;
    display: inline-block;
    margin: 0px 0px -14px 0px;
    border-radius: 0px;
    background-position: center center;
    background-size: auto 33%;
    background-repeat: no-repeat;
    position: relative;
    
}

#pageDashboard ul li button span.text {

    position: absolute;
    left: 15px;
    top: 15px;

}

#pageDashboard ul li button span.resume {

    position: absolute;
    right: 15px;
    bottom: 15px;

}


#btnDashboardTest { background-color: #115379; background-image: url('../images/test.svg'); }
#btnDashboardTestSection { background-color: #0875b0; background-image: url('../images/test-section.svg'); }
#btnDashboardStats { background-color: #1297eb; background-image: url('../images/bar-chart.svg'); }

#formEntry .information { 

    background-color: #EEE;

}

#pageTestSection  button {

    width: calc( 100% - 10px );

}

#pageTestSection > div ,

#pageTestPanel > div {

    padding: 10px;

}


#pageTestPanel .section {

    padding: 10px;
    font-size: 12px;
    font-weight: bold;

}

#pageTestPanel .question {

    padding: 0px 20px;
    font-size: 12px;

}

#pageTestPanel .buttons {

    position: absolute;
    bottom:  80px;
    left: 0px;
    right: 0px;
    padding: 10px;

}

#pageTestPanel .navigate {

    position: absolute;
    bottom: 20px;
    left: 0px;
    right: 0px;

}

#pageTestPanel .answer { 

    padding: 5px 5px 5px 10px;
    font-size: 12px;
    display: block;
    width: calc( 100% - 10px );
    border: 1px solid #115379;

}

#pageTestPanel .answer_1:before { content: 'a) '; float: left; }

#pageTestPanel .answer_2:before { content: 'b) '; float: left; }

#pageTestPanel .answer_3:before { content: 'c) '; float: left; }

#pageTestPanel .answer_4:before { content: 'd) '; float: left; }

#pageTestPanel  button.select {

    border: 1px solid #115379;
    background-color: white;
    color: #115379;

}


#pageTestPanel .last ,
#pageTestPanel .status ,
#pageTestPanel .next {

    display: inline-block;
    font-size: 18px;
    width: 25%; 
    
}

#pageTestPanel .last button ,
#pageTestPanel .next button {

    font-size: 18px;
    width: 100%;

}

#pageTestResults {

    padding: 10px;
    width: calc( 100% - 20px );

}

#pageTestResults .results {

    font-size: 16px;

}

#pageTestResults li {

    padding: 10px;
    border-bottom: 1px solid #ddd;

}

#pageTestResults li div {

    text-align: left;

}

#pageTestResults li .question {

    font-size: 14px;
    padding-bottom: 10px;
    font-weight: bold;

}

#pageTestResults li .answer {

    font-size: 14px;
    padding-bottom: 5px;

}


#pageTestResults .selected {



}

#pageTestResults li.correct {


    background-color: #eeffee;

}

#pageTestResults li.incorrect {


    background-color: #ffeeee;
}

#pageTestResults li .correct {

    color: green;
    font-weight: bold;

}

#pageTestResults li.incorrect .selected {

    color: red;

}

#pageStats p {

    padding-left: 20px;
    
}

#pageStats label {

    font-size: 16px;
    text-align: left;
    padding-left: 20px;
    margin-top: 10px;
    display:inline-block;
    font-weight: bold;
}

#pageStats label.section {

    font-size: 14px;
    text-align: left;
    padding-left: 20px;
    font-weight: normal;
}

#pageStats .bar {

    border: 1px solid #ddd;
    background-color: white;
    margin: 10px 20px 5px 20px;
    color: white;
    border-radius: 3px;
    position: relative;
    padding: 0px;
    height: 50px;
    text-align: center;
}

#pageStats .bar > div {


}

#pageStats .bar .total {

    background-color: #115379;
    height: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
    top:0px;
    line-height: 50px;
}



#formResetPassword p {

    padding: 10px;
    text-align: justify;

}

li.sold {

    background-position: right 5px bottom 5px ;
    background-size: auto 35%;
    background-repeat: no-repeat;
    background-image: url('../images/sold.svg');

}

.loading {

    position: absolute;
    lefT: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    background-color: rgba(255,255,255,0.5);
    z-index: 1000;
    
}

.sk-wave {
    margin: 40px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}

.sk-wave .sk-rect {
    background-color: #333;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
    animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
}

.sk-wave .sk-rect1 {
    -webkit-animation-delay: -1.2s;
    animation-delay: -1.2s;
}

.sk-wave .sk-rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-wave .sk-rect3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-wave .sk-rect4 {
    -webkit-animation-delay: -.9s;
    animation-delay: -.9s;
}

.sk-wave .sk-rect5 {
    -webkit-animation-delay: -.8s;
    animation-delay: -.8s;
}

@-webkit-keyframes sk-waveStretchDelay{

    0%,100%,40%{
        -webkit-transform:scaleY(.4);transform:scaleY(.4)
    }
    20%{-webkit-transform:scaleY(1);transform:scaleY(1)}
}
@keyframes sk-waveStretchDelay{

    0%,100%,40%{
        -webkit-transform:scaleY(.4);transform:scaleY(.4)
    }
    20%{-webkit-transform:scaleY(1);transform:scaleY(1)}
}



.chart-container {

	width: 90%;
	margin: 0 5%;
	height: calc( 100vh - 100px );

}

/* Estilos para la página de usuario */
#pageUser {
    padding: 20px;
}

#pageUser form {
    margin-bottom: 30px;
}

#pageUser h2 {
    font-size: 1.8em;
    color: #666;
    margin: 25px 0 15px 0;
    font-weight: 300;
}

#pageUser .space-bottom {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

#pageUser .space-bottom button {
    width: 80%;
    max-width: 300px;
}



