/**
* @author Chris Glutz <chris@netzpilot.ch>
* @copyright Copyright (c) 2021, Chris Glutz
* @version 9.2
* @date 20210806
* @desc  app.css BaselQuiz

yellow      #BF9731
lightgreen  #7DBF31
darkgray    #747065


*/


/**********************************************************/
/* STYLING AND POSITIONING OF INDIVIDUAL GENERAL ELEMENTS */
/**********************************************************/
html,body {
    background-color: rgb(244,244,244);
    /* for footer display */
    height: 100%;
    width: 100%;
    margin: 0;
    display: table;
}

body {
    background-color: rgb(236,229,210);
    /* font: normal 400 20px/24px Arial,sans-serif;   */
    color: #BF9731;
    -moz-osx-font-smoothing: grayscale;   
    overflow-x: hidden;
/* 
    background-image: url('/fileadmin/user_upload/images/background1.jpg');
    background-repeat: no-repeat;

    background-position: right top;
       background-size: 100% 100%; */
}

.grid-container {
    max-width: 1200px;
}

.main-section {
    padding-bottom: 20px;
}

.black {
    color: black;
}
/* Navi */
.topbar-responsive {
    /* background: #2c3840; */
    background: #f7f2e5;
    padding: 1rem 1.5rem;
}

.topbar-responsive .topbar-responsive-logo {
    vertical-align: middle;
}

.topbar-responsive .menu {
    /*background: #2c3840; */
}
.top-bar, .top-bar ul {
    background-color: transparent;
}

.topbar-responsive .menu li:last-of-type {
    margin-right: 0;
}

.topbar-responsive .menu a {
    color: #BF9731;
    transition: color 0.15s ease-in;
}

.topbar-responsive .menu a:hover {
    color: black;
}

.menu .active > a {
    background: none;
    color: black;
}

@media screen and (max-width: 39.9375em) {
    .topbar-responsive .menu a {
        padding: 0.875rem 0;
    }
}
/*
.topbar-responsive .menu .topbar-responsive-button {
  color: #fefefe;
  border-color: #fefefe;
  border-radius: 5000px;
  transition: color 0.15s ease-in, border-color 0.15s ease-in;
}

.topbar-responsive .menu .topbar-responsive-button:hover {
  color: #c6d1d8;
  border-color: #c6d1d8;
}*/

@media screen and (max-width: 39.9375em) {
    .topbar-responsive .menu .topbar-responsive-button {
        width: 100%;
        margin: 0.875rem 0;
    }

}

@media screen and (max-width: 39.9375em) {
    .topbar-responsive {
        padding: 0.75rem;
    }
    .topbar-responsive .top-bar-title {
        position: relative;
        width: 100%;
    }
    .topbar-responsive .top-bar-title span {
        position: absolute;
        right: 0;
        border: 1px solid #BF9731;
        border-radius: 5px;
        padding: 0.25rem 0.45rem;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .topbar-responsive .top-bar-title span .menu-icon {
        margin-bottom: 4px;
    }
}

@media screen and (max-width: 39.9375em) {
    .topbar-responsive-links {
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation-duration: 0.5s;
        animation-duration: 0.5s;
        width: 100%;
        -webkit-animation: fadeIn 1s ease-in;
        animation: fadeIn 1s ease-in;
    }
}

.menu-icon::after {
    background: #BF9731;
    -webkit-box-shadow: 0 7px 0 #BF9731,0 14px 0 #BF9731;
    box-shadow: 0 7px 0 #BF9731,0 14px 0 #BF9731;
}

/* end navi */



h1, h2, h3, h4, h5, h6 {
    font-family: 'Titan One', cursive;
}

p.small,
div.small > p{
    font: normal 400 16px/24px 'Titan One',Arial,sans-serif;
}

strong {
    font-weight: 600;
}

h1 {
    margin-bottom: 0.3979999em;
}

ol li {
    margin-left: 16px;
    list-style-type: decimal;
    list-style-position: outside;
}


/**** Top Bar ***/
.logolink > img {
    height: 60px;
    /* min-height: 60px; */
    width: auto;
}


#root {
    /* border-top: 1px solid red; */
    padding-top: 10px;
}

.image-embed {
    height: auto;
    max-height: 500px;
    width: auto;
    /* max-width: 1140px; */
    object-fit: contain;
}

.shade {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.sponsors {
    color: #BF9731;
}

a,
a:focus, a:hover {
    color: #BF9731;
    text-decoration: underline;
}


/******* pagefooterarea *******/
.pagefooterarea,
.pagefooterarea div,
.pagefooterarea p {
    background-color: white;
    font: normal 400 16px/20px Arial,sans-serif;
}
.pagefooterarea div a {  
    font: normal 400 16px/20px Arial,sans-serif;
    color: black;
    text-decoration: none;
}
.pagefooterarea div a:hover {
    text-decoration: none;
    color: #BF9731;
}

/******* pagefooterarea *******/
.pagefooterarea {
    margin-top: 120px;
    /* for footer display */
    display: table-row;
    height: 100%;
    max-height: 20%;
}

.pagefooterarea .pagefooter {
    padding: 20px 0 0px 0;
}
.pagefooterarea .pagefooter:nth-child(1) {
    padding: 20px 0 0px 0;
}
.pagefooterarea .pagefooter:nth-child(5) {
    padding: 40px 0 80px 0;
}
.pagefooter div {
    hyphens: auto;
    padding: 0px;
}


@media screen and (max-width: 767px) {
    .pagefooter div .image {
        padding-bottom: 20px;
    }
}



.tx-baselquiz2:first-of-type {
    margin-top: 40px;
    text-align: center;
    min-height: 56vh;
}

[type="button"], [type="submit"], .button {
    border-radius: 8px;
}
.level-button {
    border-radius: 0;
}


.button, .button.disabled, .button.disabled:focus, .button.disabled:hover, .button[disabled], .button[disabled]:focus, .button[disabled]:hover {
    background-color: #BF9731;
    color: #fefefe;
    /* font-family: 'Titan One';  */
    font: normal 400 20px 'Titan One'; 
    text-decoration: none;
}
.button:focus, .button:hover {
    background-color: #7DBF31;
    color: #fefefe;
}

.button.tiny,
.button.tiny:hover {
    font-size: 0.6em;
}


.themebox {
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}
.theme-not-used {
    background-color: #faf7ee;
}

.theme-used {
    background-color: #f5eedc;
}
.themebox h4 {
    font-family: 'Titan One';
    color: #BF9731;
}
.themebox.theme-used h4 {
    color: lightslategray;
    opacity: .25;
}
.themebox button.tiny.disabled {
    font-family: 'Titan One';
    background-color: lightslategray;
}
.themebox > div > a {
    text-decoration: none;
}

.titan-24 {
    font: normal 400 24px/32px 'Titan One';
    color: #747065;
}

.titan-24-yellow {
    font: normal 400 24px/32px 'Titan One';
    color: #BF9731;
}

label, .label {
    font: normal 400 16px/20px 'Titan One',Arial,sans-serif;
    color: #BF9731;
    background-color: transparent;
}
label.error {
    font: normal 400 16px Arial,sans-serif;
    color: #BF9731;
    text-align: left;
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
    padding: 1px;
}
.required {
    font-weight: 600;
    color: #BF9731;
}
/*
input[type="checkbox"] {
    margin-right: 0.9em;
}*/




/* CHECKBOX  ******************************************/
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #7DBF31;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* END CHECKBOX  ******************************************/



/* radiobutton  ******************************************/
.radiobtn {
    list-style-type: none;
    margin: 25px 0 25px 0;
    padding: 0;
}

.radiobtn label {
    margin-bottom: 20px;
    background-color: #BF9731;
    color: #fefefe;
    font: normal 400 20px 'Titan One';
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 1rem 0;
    padding: .85em 1em;
    border: 1px solid transparent;
    border-radius: 8px;
    -webkit-transition: background-color .25s ease-out,color .25s ease-out;
    transition: background-color .25s ease-out,color .25s ease-out;
    -webkit-appearance: none;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

.radiobtn label:focus, 
.radiobtn label:hover {
    background-color: #7DBF31;
    color: #fefefe;
}

.radiobtn input[type="radio"] {
    opacity: 0.01;
    /*  z-index: 100;  */
    margin-left: -46px;
}

.radiobtn input[type="radio"]:checked+label,
.Checked+label {
    background: #7DBF31;
    border: none;
}
/* END radiobutton  ******************************************/

.animate__animated.animate__fadeIn {
    --animate-duration: 2s;
}

