/* CSS stylesheet for TestMyBrain pages

    Last updated: 12.2020 -- PM
*/

*
{
    border-radius: 0;
    box-sizing: border-box;
}

*::after, *::before
{
    box-sizing: border-box;
}

body
{
    margin: 0 auto;
    line-height: 1.4em;
    font-size: 1.2em;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* use these classes to pull content to the left or right
   in its container
 */
.pull-left
{
    float: left !important;
}

.pull-right
{
    float: right !important;
}

/* the 'a' element is shown in blue and
   underlined when hovered or clicked
 */
a
{
    color: #337ab7;
    background-color: transparent;
    outline: 0 !important;
    text-decoration: none;
}

a:focus, a:hover, a:active
{
    text-decoration: underline;
    cursor: pointer;
}

/* use class 'header' at the very top of the page
   with a logo or descriptive title
 */
.header
{
    display: block;
    overflow: hidden;
    background: #337ab7;
    padding: 10px 0 10px 0;
    color: #000000;
    font-size: 1.2em;
    line-height: 1.6;
}

/* use class 'hat' to show a page-wide bar with links/title
   at the top of the page below header
*/
.hat
{
    display: block;
    overflow: hidden;
    background: url(breadcrumbs.png) repeat;
    padding: 10px 0 10px 0;
    border-bottom: solid 2px #eee;
    color: #000000;
    font-size: 1.2em;
    line-height: 1.6;
}

.hat h1
{
    margin: 10px 0 10px;
    color: #666;
    font-size: 22px;
    line-height: 35px;
    font-weight: normal;
}

.hat a
{
    margin: 10px 0 10px;
    color: #337ab7;
    background-color: transparent;
    outline: 0 !important;
    text-decoration: none;
}

.hat a:focus, a:hover, a:active
{
    text-decoration: underline;
    cursor: pointer;
}

/* use class 'shoe' to show a page-wide bar with links at
   the bottom of page
*/
.shoe
{
    display: block;
    overflow: hidden;
    background: url(breadcrumbs.png) repeat;
    padding: 30px 0 30px 0;
    border-top: solid 2px #eee;
    color: #000000;
    font-size: 1.2em;
    line-height: 1.6;
}

/* use class 'main' to style a page-wide container
   in the body of the page with padding at top and bottom
*/
.main
{
    padding: 40px 0 40px 0;
}

/* use class 'container' to style a container
   with padding at left and right
*/
.container
{
    margin: 0 auto;
    padding: 0 5% 0 5%;
    clear: both;
}
.container::after, .container::before
{
    display: table;
    content: " ";
}

/* use class 'row' to style a table row element
   inside a container
 */
.row
{
    padding: 0 0 0 0;
    border-spacing: 20px 10px;
    border-collapse: separate;
    word-wrap: break-word;
}

/* use class 'column-500' to style a table column element
   inside a row, with wrapping set at 500px
 */
.column-500
{
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 100%;
    max-width: 500px;
    height: 100%;
    border-top: solid 2px #f1c40f;
    background: #f7f7f7;
    padding: 10px;
    margin: 0 15px 20px 0;
}

@media (min-width:1200px)
{
    .column-500
    {
        /*display: table-cell;*/
        width: 500px;
    }
}

.column-600
{
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 100%;
    max-width: 600px;
    height: 100%;
    border-top: solid 2px #f1c40f;
    background: #f7f7f7;
    padding: 10px;
    margin: 0 15px 20px 0;
}

@media (min-width:1400px)
{
    .column-600
    {
        /*display: table-cell;*/
        width: 600px;
    }
}

/* use class 'sub-column' to style an element inside a column,
   with wrapping set at the width of the containing column
 */
.sub-column
{
    display: inline-block;
    position: relative;
    vertical-align: middle;
    min-height: 1px;
    height: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

/* to style a div in the center of a page (v & h)
   use .table-container.centered-table-cell.centered-content
*/
.table-container
{
    display: table;
    margin: auto;
    height: 100vh;
    width: 100vw;
    padding: 0 5% 0 5%;
    text-align: center;
}
.centered-table-cell
{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.centered-content
{
    margin: auto;
    max-width: 450px;
    border: solid 2px #f1c40f;
    border-radius: 1em;
    background: #f7f7f7;
    padding: 10px;
}

/* add class 'img-responsive' to an img tag to make it
   adapt to the size of its container
 */
.img-responsive
{
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}

/* the button element is styled with yellow border, transparent
   background, black font and rounded corners, turning to
   blue background and white font on hover and click
 */
.button
{
    font-size: 1.2em;
    line-height: 1.5em;
    border: 2px solid #f1c40f;
    border-radius: 1em;
    text-align: center;
    background: transparent;
    color: #000000;
    box-shadow: 0 5px 15px 5px grey;
    cursor: pointer;
}

.button:active
{
    box-shadow: 0 5px 15px 1px lightgrey
}

.button:focus
{
    outline: none
}

.btnDisabled, .btnDisabled:hover, .btnDisabled:active
{
    box-shadow: 0 0px 0px 0px grey;
    cursor: not-allowed;
    opacity: 0.20;
}

/* Headings */
h1
{
    font-size: 22px;
    line-height: 35px;
}
h2
{
    font-size: 20px;
    line-height: 33px;
}
h3
{
    font-size: 18px;
    line-height: 27px;
}
h1, h2, h3
{
    color: #555;
    margin-top: 5px;
    font-weight: normal;
}