﻿ul.Choices {
    list-style: none;
}

p.CloseP {
    position: absolute;
    right: 39px;
    top: -1px;
    border: 0;
    padding: 0;
}

div#TopBlackBar {
    background-color: black;
    padding: 3px;
    margin: 0 auto 5px;
    width: 100%;
}

div.Container {
    position: relative;
    width: 1000px;
    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: -300px;
    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:10px auto 20px;
    background-color:azure;
}



#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;
    line-height:1.2em;
}

#H1Table h2 {
    font-size: 24px;
    line-height:1em;
}

#H1Table td:first-child {
    padding-right: 10px;
}

span.CloseX {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 22px;
    color: red;
    cursor: pointer;
}


.LevelTabs {
    margin:-35px 0px 1px -22px;
    text-align: center;
    width: 1000px;
    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;
    display: inline-block;
    transition:
        transform 0.12s ease-out,
        box-shadow 0.12s ease-out,
        background-color 0.12s ease-out,
        filter 0.12s ease-out;
}

.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: -56px;
    margin-bottom: 28px;
}

.LevelTabsBig a {
    font-size: 18px;
}

.LevelTabsBig a.ThisOne {
    background-color: #EFEFEF;
    font-size: 18px;
    background-image: none;
    border-bottom: 4px #EFEFEF solid;
}

.LevelTabs a:hover {
    filter: brightness(1.25);
}

.LevelTabs a:active,
.LevelTabs a:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 12px rgba(255, 210, 0, 0.85);
    background-color: #fff7b0;
    filter: brightness(1.08);
    outline: none;
}

.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;
}


.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;
}


/*Page transition*/
@view-transition {
    navigation: auto;
}

#MainContainer {
    view-transition-name: maincontainer;
}

::view-transition-old(maincontainer) {
    animation: exercise-out 0.3s ease-in both;
}

::view-transition-new(maincontainer) {
    animation: exercise-in 0.45s ease-out both;
}

@keyframes page-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.75;
    }
}

@keyframes page-in {
    from {
        opacity: 0.75;
    }
    to {
        opacity: 1;
    }
}

@keyframes exercise-out {
    from {
        opacity: 1;
        /*transform: scale(1);*/
        filter: blur(0);
    }
    to {
        opacity: 0;
        /*transform: scale(0.97);*/
        filter: blur(3px);
    }
}

@keyframes exercise-in {
    from {
        opacity: 0;
        /*transform: scale(1.03);*/
        filter: blur(3px);
    }
    to {
        opacity: 1;
        /*transform: scale(1);*/
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root),
    ::view-transition-old(exercise-panel),
    ::view-transition-new(exercise-panel) {
        animation-duration: 0.001s;
    }
}





@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;
    }


}
