/* 
    Created on : Jun 5, 2016, 2:34:33 PM
    Author     : Leonard Garcia
*/

body {
    background-color: black;
}
::-webkit-scrollbar {
    width: 1.2em;
    height: 1em;
}

::-webkit-scrollbar-track {
  background-color: hsl(120 75% 50%/1);
  border-radius: 100vw;
  margin-block: 0.5em;
}

::-webkit-scrollbar-thumb {
  background: hsl(120 100% 20% / 1);
  border: 0.25em solid hsl(120 100% 20% / 1);
  border-radius: 100vw;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(120 100% 10% / 1);
}

.unselectable {
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
}

header {
        color:darkgreen;
        font-style: italic;
        font-weight: bold;
        text-align:center;
        padding:5px;
}
h1 {
    position: absolute;
    left: 10px;
    font-size: 2.7em;
    color:darkgreen;
    background-color:black;
    text-shadow:#fff 0 -1px 4px, 
    #ff0 0 -2px 10px, #ff8000 0 -10px 20px, red 0 -18px 40px;
}
h1::before {
    content: url(../images/toeic.jpg); 
}

p {
    font-size: 1.1em;
    background-color: lightgoldenrodyellow;
    border: 3px;
    border-radius: 5px;
    border-style: groove;
    padding: 2px;
    width: 70%;
}
.query {
    background-color: lightgoldenrodyellow;
    border: 3px;
    border-radius: 5px;
    border-style: groove;
    padding: 2px;
}
.norm {
    background-color: khaki;
    color: darkgreen;
    font-size: 20px;
    font-style: normal;
    width: 600px;
    border: 5px;
    border-radius: 15px;
    border-style:groove;
    padding: 5px;
    position: relative;
    top: 5px;
    left: 20px;
    margin-bottom: 10px;
}
.passage {
    background-color: khaki;
    color: darkgreen;
    font-size: 20px;
    font-style: normal;
    width: 600px;
    border: 5px;
    border-radius: 15px;
    border-style:groove;
    padding: 5px;
} 

#p1::first-letter {
    font-size: 200%;
    color: #186321;
} 
#p2 {
    margin-top: 15rem;
}
#p2_8 {
    margin-top: 13rem;
}
#p3 {
    margin-top: 30rem;
}
#p3_8 {
    margin-top: 17rem;
}
#p4 {
    margin-top: 18rem;
}
#p4_8 {
    margin-top: 16rem;
}
#p5 {
    margin-top: 20rem;
}
#p5_8 {
    margin-top: 17rem;
}
#p6 {
    margin-top: 20rem;
}
#p6::first-letter {
    font-size: 200%;
    color: #186321; 
}
#p6_8 {
    margin-top: 17rem;
}
#p7 {
    margin-top: 19rem;
}
#p7_8 {
    margin-top: 1rem;
}
.num {
    margin-bottom: 2px;
}
#timer {
    border-color: darkgreen;
    border-width: 15px;
    border-radius: 15px;
    padding:4px;
    background-color: linen;
    color: darkred;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    position: fixed;    /* was relative */
    top:  270px;
    left: 200px;       /* was -500px */
    margin-top:0px; 
    z-index: -1;
}
.start{                    /* button */
    border: 3px solid #ff0000;
    border-style: ridge;
    color: darkred;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    position: relative;
    left: 50px;
    margin-top:0px; 
}
.start:hover {
    border: 3px solid #639C18;
    color: darkgreen;
}

#tool{
    position:relative; /*this is the key*/
    z-index:24;   
}
#tool span{display: none}
#tool:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    top:2em; left:2em; width:10em;   
    border:1.5px  solid green;    
    border-radius: 7px;
    background-color: greenyellow; color:#000;  
    font-size: .6em;
    text-align: center
}
div#p01  {
    background-color:  khaki;
    border-radius: 25px;
    border: 4px;
    border-color: darkblue;
    border-style: solid;
    padding:5px;
    color:darkgreen;
    text-align: left;    
    font-family: sans-serif;
    font-size:150%;
    position: relative;
    left: 10px;
    top: 10px;
    margin:30px;
}
            
div#p02  {
    background-color: lightgreen;
    border-radius: 25px;
    color: darkblue;
    text-align: left;
    font-family: sans-serif;
    font-size:160%;
    position: relative;
    left: 10px;
    top: 10px;
    border:3px solid black;
    padding:10px;
    margin:30px;
}

div#p03  {
    background-color: lightgreen;
    border-radius: 25px;
    color: darkblue;
    text-align: left;
    font-family: sans-serif;
    font-size:160%;
    position: relative;
    left: 10px;
    top: 10px;
    border:3px solid black;
    padding:10px;
    margin:30px;
}

div#p04  {
    background-color: goldenrod;
    color: black;
    text-align: left;
    font-family: sans-serif;
    font-size:160%;
    position: relative;
    left: 10px;
    top: 10px;
    border:3px solid green;
    padding:10px;
    margin:30px;
}

#p05  {
    background-color: khaki;
    color: black;
    text-align: left;
    font-family: sans-serif;
    font-size:160%;
    position: relative;
    left: 10px;
    top: 20px;
    border:3px solid green;
    padding:10px;
    margin:30px;
}
#pc {
    visibility: visible;
}
#tab, #cel {
    visibility: hidden; 
}
#warn {
    visibility: hidden; 
}

p#dark1 {
    color: crimson; 
    font-family: sans-serif;
    font-size:100%;
}

p#dark2 {
    color: crimson; 
    font-family: sans-serif;
    font-size:100%;
}

ol {
    cursor: pointer;
}
/* tooltip styles */
a.info{
    position:relative; /*this is the key*/
    z-index:24; background-color: goldenrod;  
    color: crimson;     
    font-weight: 900;
    text-decoration:none}

a.info:hover{z-index:25;}  

a.info span{display: none}

a.info:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    top:2em; left:2em; width:10em;   
    border:1.5px  solid green;    
    border-radius: 7px;
    background-color: greenyellow; color:#000;  
    font-size: .6em;
    text-align: center}

.blue { color: blue; }
    table {
      cursor: pointer;
      float: left;
}
#answers {
    color:darkgreen;
    float: left;
}

div.intro
{
    color: red;
    font-size: 1.5em;
    font-weight: 900;
}

table {
    cursor: url(../images/hand.png), default;
    position: relative;
    left: 1px;
    width: 20px;
    border-spacing: 2px 2px;
}
figure {
    width: 7px;
    position: relative;
    left: -37px;
}
figcaption {
    color: darkgreen;
}   

div.panel,div.flip
{
    margin:0px;
    padding:5px;
    text-align:center;
    background:#DAA520;                    
    border:solid 2px darkolivegreen;             
    width:140px;
}

div.panel
{
    display:none;
    color: #A52A2A;
}
div.flip 
{
    margin-bottom: 5px;
}
.toeicPic {
    color:darkgreen;
    background-color: linen;
    width: 20%;
}
.question
{
    cursor: url(../images/hand.png), default;
    float:left;
}
.questions
{
    color: darkgreen;
    font-weight: 600;
    height: 80px;
    margin-bottom: 5px;
}

.spacer {
    
}
#footer {
    background-color:black;
    color:white;
    clear: both;
    text-align:center;
    padding:5px;
}
#pc {
    visibility: visible;
}
#tab, #cel {
        visibility: hidden;
        display: none;
}
/******************************************************************************/
/****************************LAPTOP Wide***************************************/
/******************************************************************************/
@media only screen and (max-width : 1366px) and (min-width: 1030px) {
    .toeicPic {
        color:darkgreen;
        background-color: linen;
        width: 26%;
    }
}
/**********************************************************************/
/***************************TABLET*************************************/
/**********************************************************************/
@media only screen and (max-width : 1020px) and (min-width: 450px) {
    .toeicPic {
        color:darkgreen;
        background-color: linen;
        width: 25%;
    }
    .spacer {
         width: 20px;
         height: 78px;
     }
    #pic {
        position: relative;
        top: 10px;
        left: 45px;
    }
    #num3,#num6,#num9, #num12, #num15, #num18  {
        margin-bottom: -15%;
    }
    #pc, #cel {
        visibility: hidden;
        display: none;
    }
    #tab {
        visibility: visible; 
        display: inline;
    }
    .norm {
        font-size: .8em;
        font-style: normal;
        width: 40%;
        border: 3px;
        border-radius: 15px;
        border-style:groove;
        padding: 4px;
        position: relative;
        top: 5px;
        left: 20px;
        margin-bottom: 8px;
    }
}

/*********************************************************/
/**************************SMARTPHONE*************************/
/***********************************************************/
@media only screen and (max-width : 449px) and (min-width: 240px) {
    h1 {
        font-size: 2em;
        margin-bottom: 3px;
    }    
    .start{                    /* button */
        font-size: 15px;
    }
    #timer { 
        font-size: 20px;
    }
             
    #pc, #tab {
        visibility: hidden;
        display: none;    
    }
    #cel {
        visibility: visible; 
        display: inline;
    }
    
    p {
        font-size: .8em;
        /*margin-top: 10%; */
    } 
    #num3,#num6,#num9, #num12, #num15, #num18  {
        margin-bottom: -25%;
    }
    div#p01 {
        font-size: .8em;
        margin-bottom: 2em;
    }
    .norm {
        font-size: .8em;
        font-style: normal;
        width: 60%;
        border: 3px;
        border-radius: 15px;
        border-style:groove;
        padding: 4px;
        position: relative;
        top: 15px;
        left: 20px;
        margin-top: 30px;
        margin-bottom: 8px;
    }
    .passage {
        background-color: khaki;
        color: darkgreen;
        font-size: 20px;
        font-style: normal;
        width: 95%;
        border: 5px;
        border-radius: 15px;
        border-style:groove;
        padding: 5px;
    }
    .num {
        margin-bottom: 10px;
    }
    #p2 {
        margin-top: 30rem;
        margin-bottom: -10rem;
    }
    #p2_8 {
        margin-top: 30rem;
    }
    #p3 {
        margin-top: 55rem;
        margin-bottom: -2rem;
    }
    #p3_8 {
        margin-top: 32rem;
    }
    #p4 {
        margin-top: 30rem;
    }
    #p4_8 {
        margin-top: 32rem;
    }
    #p5 {
        margin-top: 35rem;
    }
    #p5_8 {
        margin-top: 32rem;
    }
    #p6 {
        margin-top: 35rem;
    }
    #p6_8 {
        margin-top: 32rem;
    }
    #p7 {
        margin-top: 35rem;
    }
    #p7_8 {
        margin-top: 7rem;
    }
    ol {
        font-size: .8em;
    }
    .toeicPic {
        color:darkgreen;
        background-color: linen;
        width: 80%;
    }
    .questions {
       margin-top: 20px;
    }
    div.panel
    {
        display:none;
        color: #A52A2A;
        font-size: .8em;
    }
    div.flip 
    {
        font-size: .8em;
        margin-bottom: 7px;
    }
    .spacer {
        width: 20px;
        height: 60px;
        margin-top: 10%;  
    }
}