﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
}

body {
    margin: 0;
    text-align: center;
    background: linear-gradient(to bottom, #010384, #C1E7FF 50%, #DDE9FF);
    min-height: 100vh;
    color: #FFFFFF;
    font-family: Tahoma, Geneva, Verdana, sans-serif, "Segoe UI";
    font-size: 18px;
}

h1 {
    text-shadow: 4px 4px 4px #1c041c;
}

h3 {
    display: block;
}

ul {
    text-align: left;
}

ul.Choices {
    list-style: none;
}

p {
    margin: 1em 0;
}

p.CloseP {
    position: absolute;
    right: 39px;
    top: -1px;
    border: 0;
    padding: 0;
}

td {
    vertical-align: top;
    text-align: left;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.Answer_box {
    width: 50px;
    text-align: center;
    margin: 14px 0px 0px 27px;
    font-size: 20px;
    padding: 3px;
    border: 1px solid #d0d0d0;
    background: #f8f9fa;
    border-bottom: 2px black solid;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 500;
    color: #2c3e50;
    outline: none;
    backdrop-filter: blur(5px);
    position: relative;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

input.Answer_box:hover {
    border: 1px solid rgba(74, 144, 226, 0.4);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-0.5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

input.Answer_box:focus {
    border: 1px solid rgba(74, 144, 226, 0.6);
    transform: translateY(-1px);
    outline: none;
    background: #ffffff;
    border-color: #4a90e2;
    box-shadow: inset 0 1px 3px rgba(74, 144, 226, 0.1),
        0 0 0 3px rgba(74, 144, 226, 0.1);
}

div#TopBlackBar {
    background-color: black;
    padding: 3px;
    margin: 0 auto 5px;
    width: 100%;
}

div.Container {
    position: relative;
    width: 800px;
    background-color: #FFFFFF;
    padding: 20px;
    text-align: left;
    color: #000000;
    border: 2px black solid;
    margin: 0 auto;
    font-family: Tahoma, Geneva, Verdana, sans-serif, "Segoe UI";
    font-size: 18px;
}

div#GreyOut {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2000px;
    background-color: silver;
    opacity: 0.6;
    display: none;
}

div#DescriptionBox,
div#HelpBox {
    position: absolute;
    top: 150px;
    width: 600px;
    height: auto;
    left: 50%;
    margin-left: -320px;
    border: 6px maroon solid;
    background-color: white;
    padding: 20px;
    color: black;
    display: none;
    border-radius: 17px;
    z-index: 1000;
}

div#DescriptionBox p,
div#HelpBox p {
    text-align: left;
    font-family: Tahoma, Geneva, Verdana, sans-serif, "Segoe UI";
    font-size: 14px;
}

#MainContainer {
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
    background: #fff url("/Software/SW/Starter_of_the_day/images/backgrounds/circles.png") repeat right top;
    width: 845px;
}

#MainContainer p.QuestionP {
    text-align: center;
    margin: 25px 20px 10px 20px;
}
.grid {
    display: grid;
    gap: 10px;
    width: 100%;
    margin:20px auto;
}

.cell {
	border:1px grey solid;
    border-radius: 10px;
    box-shadow: inset 0 0 5px #000000, 0 0 0 2px black;
    height:auto;
    position: relative;
    text-align: center;
    background-image: none;
    user-select: none;
}

.cell p {
    margin: 8px;
}

#Trophybutton {
   
    background-color: red;
    color: white;
    font-weight: bold;
    font-size: 22px;
    font-family: Arial, Helvetica, sans-serif;
    padding:6px 20px;
    border:2px white solid;
    box-shadow:0px 0px 2px 2px black;
    border-radius:20px;
}

#Trophybutton {
    display:none;
    background: linear-gradient(to bottom, #ff4d4d, #cc0000);
    color: white;
    font-weight: bold;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px 25px;
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 6px 0 silver, 0 8px 15px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite ease-in-out;
}

#Trophybutton:hover {
    background: linear-gradient(to bottom, #ff6666, #e60000);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #8b0000, 0 12px 20px rgba(0, 0, 0, 0.3);
}
#Trophybutton:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #8b0000, 0 4px 10px rgba(0, 0, 0, 0.3);
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); } /* Grows slightly */
    100% { transform: scale(1); }
}

#H1Table {
    display: table;
    width: 800px;
    margin: auto;
    margin-bottom: 0;
    border: 0 aqua solid;
}

#H1Table h1,
#H1Table h2 {
    margin: 1px;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

#H1Table h2 {
    font-size: 24px;
}

#H1Table td:first-child {
    padding-right: 10px;
}

span.CloseX {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 22px;
    color: red;
    cursor: pointer;
}

span.tick {
    display: none;
    font-weight: bold;
    color: green;
    font-size: 200%;
    line-height: 0;
}

span.cross {
    display: none;
    font-weight: bold;
    color: red;
    font-size: 200%;
    line-height: 0;
}

span.spacer {
    font-weight: bold;
    font-size: 200%;
    line-height: 0;
    color: transparent;
}

span.QuestionNumber {
    color: grey;
    position: absolute;
    top: -2px;
    left: -2px;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    border: 2px black solid;
    background-color: #EEE;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

.LevelTabs {
    margin-top: -35px;
    margin-bottom: 1px;
    text-align: center;
    width: 845px;
    white-space: nowrap;
}

.LevelTabs a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #444;
    background-color: silver;
    background: repeating-linear-gradient(0deg, silver 30px, white 60px);
    border: 2px black solid;
    padding: 2px 5px 0 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-decoration: none;
    cursor: pointer;
}

.LevelTabs a.ThisOne {
    color: red;
    background-color: #CCCCCC;
    background-image: url('/Software/SW/Starter_of_the_day/Images/Backgrounds/circles.png');
    margin-top: 10px;
    font-size: 16px;
    border-bottom: 0 #FFF solid;
    font-weight: bold;
}

.LevelTabsBig {
    margin-top: -43px;
    margin-bottom: 15px;
}

.LevelTabsBig a {
    font-size: 18px;
}

.LevelTabsBig a.ThisOne {
    background-color: #EFEFEF;
    font-size: 18px;
    background-image: none;
    border-bottom: 4px #EFEFEF solid;
}

.ButNew {
    display: inline-block;
    white-space: nowrap;
    background-color: #ccc;
    border: 1px solid #777;
    padding: 3px 20px;
    margin: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;
    color: black;
    border-radius: 3px;
    background: repeating-linear-gradient(0deg, orange 0px, orange 5px, yellow);
    cursor: pointer;
}

.ButNew:hover {
    background-color: #eee;
    background: repeating-linear-gradient(0deg, orange 0px, yellow 10px, yellow);
}

.ButNew:active {
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, .3) inset;
}

.ButNew:focus {
    outline: 0;
    background: repeating-linear-gradient(0deg, orange 0px, yellow 20px, yellow);
}

.ButNew::before {
    background: #ccc;
    background: rgba(0, 0, 0, .1);
    float: left;
    width: 25px;
    text-align: center;
    font-size: 24px;
    margin: -3px 20px 0 -20px;
    padding: 0 4px;
    box-shadow: 1px 0 0 rgba(0, 0, 0, .5), 2px 0 0 rgba(255, 255, 255, .5);
    border-radius: 2px 0 0 2px;
}

.ButCheck {
    display: block;
    margin: auto;
    width: 130px;
    padding-bottom: 4px;
}

.ButCheck::before {
    content: "\2713";
}

.ButLevel {
    font-weight: normal;
    font-size: 16px;
    margin: 6px 1px 6px 1px;
}

.helpIcon{
	display:inline-block;
	width:18px;
	height:18px;
	padding:0px;
	margin-left:8px;
	border-radius:50%;
	background:whitesmoke;
	border:1px solid red;
	color:#f00;
	text-decoration:none;
	font-size:12px;
	font-weight:bold;
	vertical-align:middle;
	cursor:pointer;
	user-select:none;
	overflow:hidden;
}

.helpIcon:hover{
	background:silver;
}
p.Hint {
	display:none;
}

.postIt {
    position: absolute;
    top: 10px;
    left: 10%;
    width: 80%;
    max-width:360px;
    background: #fefaaa;
    padding: 20px 10px 10px;
    border: 1px solid #f0e68c; 
    box-sizing: border-box;
    box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.3);
    transform: rotate(-2deg);
    transition: transform 0.15s linear;
}

.postIt:hover {
    box-shadow: 10px 10px 7px rgba(0, 0, 0, 0.2);
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

.postIt p{
	color:navy;
	font-family: "Comic Sans MS", "Segoe Print", "Bradley Hand", cursive;	
}

.Showforprinting {
    display: none;
}

#QuizFooterTable p.comment_title {
    background: linear-gradient(to right, red 0%, #FFFFFF 1%, red 2%, white 95%, white 100%);
    font-weight: bold;
    color: white;
    margin-bottom: 0;
    padding: 5px 20px 10px;
}

.comment_title::before {
    content: "Comment from ";
}

.comment_date {
    display: none;
}

.QuotationMarks {
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
#CanTouCorrect {
	text-align:center;
	display:none;
}
@media print {
    body {
        background-color: #FFFFFF;
        background-image: none;
    }

    #MainContainer {
        background: none;
        background-color: white;
    }

    div#TopBlackBar {
        display: none;
    }

    h3 {
        display: none;
    }

    h1,
    #H1Table h2 {
        color: #000000;
        text-shadow: none;
    }

    #Dontshowforprinting,
    .Dontshowforprinting {
        display: none;
    }

    .Showforprinting {
        display: inline-block;
    }

    .NotVisibleforprinting {
        visibility: hidden;
    }

    .cell {
        page-break-inside: auto !important;
        break-inside: auto !important;
        position: static;
        background-color: white !important;
    }

    #MainTable input.Answer_box,
    #MainQuizTable input.Answer_box {
        display: inline-block;
        border: 0;
        border-bottom: 2px black dotted;
        margin: 0 auto 20px;
        width: 90px;
        height: 70px;
        font-size: 26px;
        background-color: white;
    }

    #Checkbutton {
        display: none;
    }
}
