* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.material-symbols-outlined, .mso{
    font-family: 'Material Symbols Outlined';
    font-weight: 300;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: 300;
    font-style: normal;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    line-height: 1.2;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

body {
    background-color: white;
    overflow-y: scroll;
    font-family: 'Nunito';

}
html, body {
    height: 100%;
}
#wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main{
    flex: 1;
}
h1,h2,h3,H4,h5,h6{
    font-family: 'Nunito';
    font-weight: 600;
    text-align:left;
    color:#434B52;
}
h1{
    margin-top:40px;
    font-size: 40px;
    line-height: 80px;
}
h2{
    font-size: 36px;
    line-height: 50px;
}
h3{
    font-size: 30px;
    line-height: 36px;
}
h4{
    font-size: 24px;
    line-height: 30px;
}
h5{
    font-size: 20px;
    line-height: 24px;
}
h6{
    font-size: 16px;
    line-height: 16px;
}

.h1{
    font-size: 40px !important;
    line-height: 80px !important;
}
.h2{
    font-size: 36px !important;
    line-height: 50px !important;
}
.h3{
    font-size: 30px !important;
    line-height: 40px !important;
}
.h4{
    font-size: 24px !important;
    line-height: 36px !important;
}
.h5{
    font-size: 20px !important;
    line-height: 30px !important;
}
.h6{
    font-size: 16px !important;
    line-height: 20px !important;
}
h1 img{
    vertical-align:baseline;
    margin-right:20px;
}

ul{
    margin:0;
    padding:0;
}
li{
    list-style-position:inside;
}
p{
    font-family: 'Nunito';
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color:#434B52;
}

button{
    font-family: 'Nunito';
    font-size: 14px;
    line-height: 14px;
}

input::placeholder, textarea::placeholder{
    color:#999 !important;
    font-size:.8em;
}

.construction{
    background-image: url("construction-3928dfb59ac63047f7c99af5e9f58bb9.png");
    background-size: contain;
    height:60vh;
    aspect-ratio: 1;
    margin: auto;
}

.main-head{
    height: 150px;
    background: #FFF;
}

.sidenav {
    height: 100%;
    background-color: #000;
    overflow-x: hidden;
    padding-top: 20px;
}


.main {
    padding: 0px 10px;
}

#main{
    margin-bottom:4em;
}


/**************************************************** UTIL ****************************************************/
span.dev{
    color: var(--bs-info);
    font-weight: bold;
    border:1px solid var(--bs-info);
    font-size:10px;
    padding:2px;
    border-radius: 3px;
    display:none;
}
.text-bg-info{
    background-color: var(--bs-info);
    color:#ffffff;
    padding: 2px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.border{
    border:1px solid #dddddd;
    border-radius: 3px;
}

.shadow{
    box-shadow: 0 0 20px rgba(150,150,150,0.15);
}

.spacer{
    margin-right:2em;
}

.dashed-circle{
    outline: 1px dashed #000;
    outline-offset: 5px;
    border: 1px solid #000;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    aspect-ratio: 1;
    width:30px;
    height:30px;
    margin-right:.5em;
}

.dashed-circle.smaller{
    outline-offset: 3px;
    width:16px;
    height:16px;
    line-height: 16px;
    font-size:12px;
}

.circle{
    width:40px;
    height:40px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    aspect-ratio: 1;
    font-size: 24px;
}

.orange{
    background: var(--color-primary);
    color:#ffffff;
}

.blue{
    background: var(--color-secondary);
    color:#ffffff;
}

.red{
    background: var(--bs-danger);
    color:#ffffff;
}

.lines{
    display: table;
    white-space: nowrap;
    text-align: center;
    margin-top:1em;
    margin-bottom:1em;
    color:#434b52;
}
.lines:after,.lines:before {
    content: "";
    display: table-cell;
    width: 50%;
    background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=) repeat-x left center;
    z-index:-1;
    position:relative;
}
.lines:after{
    left:20px;
}
.lines:before{
    right:20px;
}
.check{
    color:#fff;
    text-align:center;
    font-weight:bold;
    max-width:36px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.orange-border{
    border-left: 1px solid #f0ad4e;
    padding-left:2em;
}

.orange-text{
    color:var(--color-primary);
    margin-bottom: .5em;
    padding-top:10px;
}
.blue-text{
    color:var(--color-secondary);
}
.red-text{
    color:var(--bs-danger);
}
.size16{
    font-size:1.1em;
}

.hrgray{
    border-color: #ddd;
}

input[type=checkbox]
{
    transform: scale(1.5);
    accent-color: var(--color-primary);
    color:#fff;
}
/**************************************************** responsive ****************************************************/
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
}

@media screen and (max-width: 450px) {
    .login-form{
        margin-top: 10%;
    }

    .register-form{
        margin-top: 10%;
    }
}

@media screen and (min-width: 768px){
    .main{

    }

    .register-form{
        margin-top: 20%;
    }
}
/**************************************************** MENU  ****************************************************/
#menu-container{
    margin-left:0;padding-left:0;padding-top:0;width:calc(200px + 1.5em);
}
#menu{
    width:200px; margin-right:1.5em;min-height: 100vh; position:fixed;
    text-align: center;
    padding:1.5em;
    color:#ffffff;
}

#menu .menu{
    color:#ffffff;
    line-height:1em;
    text-decoration: none;
    margin-bottom:1em;
    display: block;
    padding:5px;
    border-radius:5px;
}
#menu .menu .material-symbols-outlined{
    font-size:3em;
}
#menu .menu-text-entry{
    font-size:1em;
    display: block;
}
#menu .menu:hover{
    color: var(--color-primary);
    text-decoration: none;
    background:#fff;
}

#menu .menu.active .menu-text-entry:after{
    color: var(--bs-white);
    content: "⏵";
    position: absolute;
    right:0;
    font-size:1.2em;
}

#menu hr{
    color: #ffffff;
}
/**************************************************** SEARCH ****************************************************/
#backFromSearch{
    border:none;
    border-radius: 50%;
    font-size:2em;
}
/**************************************************** LOGIN ****************************************************/

.login-form{
    padding:2em;
    margin:2em;
}

.login-main-text{

}

.login-main-text h2{
    font-weight: 300;
}

.btn-black{
    background-color: #000 !important;
    color: #fff;
}
/**************************************************** Header ****************************************************/
.organisation-header{
    margin-bottom:1em;
}

.organisation-header h1{
    margin-bottom:0;
    line-height:1;
}

.header-logo{
    max-height: 1.4em;
}

.admin-access{
    margin-top:1em;
}
.header-hr{
    margin-top:2em;
    border-color: #ccc;
    border-width:1px;
}
/**************************************************** THEMES AND ACTIVITIES STYLES ****************************************************/

.theme{
    padding:1em;
}

.theme a {
    display:block;
    border-radius : 1em;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.theme a:hover{
    /*transform: scale(1.2);*/
}

.theme-legend{
    background-color: #ffffff;
    position:absolute;
    bottom:0;
    width:100%;
    padding:1em;
    border-top: 4px solid var(--color-primary);
    text-align: center;
    transition: all .3s ease-out;
}

.theme-legend h2{
    text-align: center;
}

.theme-legend h2, .activity-legend h2{
    font-size: 1.5em;
    line-height: 1;
    min-height: 2em;
    font-weight:bold;

}

.theme a .description{
    color: var(--bs-body-color);
    max-height:0;
    transition: all .3s ease-out;
    overflow : hidden;
}

.theme a:hover .theme-legend{
    border-top: 8px solid var(--color-primary);
}

.theme a:hover .description{
    height:auto;
    max-height:5em;
}

.theme a:hover h2{
    color: var(--color-primary);
    text-decoration: underline;
}

.activity{
    padding:1em;
}

.activity-content {
    display:block;
    border-radius : 1em;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.activity-content h2{
    padding:0;
    margin-top:0;
}

#activity .activity-content{
    background-color: #f9f9f9;
    padding:1em;
}

.activity-visual{
    background-size: cover;
    background-position: center;
    max-width:220px;
}

.activity-legend{
    background-color: #ffffff;
    position:relative;
    padding:2em  1em 2em 1em;
    height:100%;
    margin-bottom:2em;
}

.activity-legend hr{
    border-color: #ccc;
    border-width:1px;
    display:block;

}

.activity-link{
    /*position:absolute;
    bottom:2em;
    */

    margin-top:2em;
}
.activity-links{
    position:absolute;
    bottom:2em;

}

/*************************************************** BreadCrump ***************************************************/
.breadcrumb{
    margin-top:2em;
    margin-bottom:2em;
    color:#999999;
    padding:0;
}
.breadcrumb i.spacer{
    margin-right:10px;
    margin-left:10px;
}
.breadcrumb a{
    color: var(--color-primary);
    text-decoration: none;
    margin-right:1em;
    color:#999999;
}
/*************************************************** ACTIVITY DETAILS ***************************************************/


.activity-image-container{
    padding: 0;
    padding-left: 36px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.activity-image-container img{
    max-height:100%;
    max-width:100%;
    display:block;
    margin:0;
    padding:0;
    min-height:250px;
    aspect-ratio: 1;
    background-position: center;
}

.activity-image{
    min-width:100%;
    min-height:15em;
    background-size: cover;
    background-position: center;
    height: 100%;
}

.activity-label{
    text-decoration: underline;
}

.activity-goal{
    color:var(--color-secondary);
    font-weight:bold;
    margin-bottom: 1em;
    line-height: 1;
}

.activity-goal .material-symbols-outlined, .activity-goal .material-icons,.activity-knowHow .material-symbols-outlined, .activity-knowHow .material-icons{
    color: #ffffff;
    border-radius:50%;
    padding: 3px;
    padding-left: 5px;
    padding-right: 5px;
    font-size:1em;
}

.activity-goal .material-symbols-outlined, .activity-goal .material-icons{
    background: var(--color-secondary);
}

.activity-knowHow{
    color:var(--color-primary);
    font-weight:bold;
    margin-bottom: 1em;
    line-height: 1;
}

.activity-knowHow .material-symbols-outlined, .activity-knowHow .material-icons{
    background: var(--color-primary);
}

.activity-goal, .activity-knowHow{
    font-size:1.1em;
}

.activity-reading-time{
    color:var(--color-complementary);
    font-weight:200;
}

.playerbutton.active{
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color:#ffffff;
}

.align-content-center{
    display:flex;
    align-items:center;
    text-align: center;
}

.activity-arrow{
    color:var(--color-primary);
    font-size:1.5em;
    font-weight:bold;
    display:inline-block;
    margin:auto;
    transform: rotate(90deg);
}

#subactivity-menu{
    position:fixed;
    border-left : solid #586681 36px;
    border-radius:10px;
    padding-left:1em;
    color : #586681;
    margin-left:24px;
    transition: all .5s ease-out;
    margin-top: 2em;
    background-color:#ffffff;
    z-index:100;

}

#subactivity-menu-button{
    position:absolute;
    left:-56px;
    top:calc(50% - 18px);
    border:none;
    background : none   ;
    cursor:pointer;
    transition: all .5s ease-out;
}

#subactivity-menu-button:hover{
    scale: 1.2;
}

#subactivity-menu-button.folded{
    rotate:540deg;
}

#subactivity-menu-ico{
    border:2px solid #fff;
    line-height: 36px;
}

#subactivity-menu-content{
    width:auto;
    transition: all .5s ease-out;
    overflow:hidden;
}

#subactivity-menu-content.folded{
    width:0;
}

#subactivity-menu .menuTitle{
    color : #586681;
    font-weight:bold;
    margin-bottom:1em;
    display: block;
    line-height: 1;
    padding-top:5px;
}

#subactivity-menu  a{
    color : #586681;
    text-decoration: none;
}

#subactivity-menu ul{
    padding-left:0;
}

#subactivity-menu li{
    list-style-type: none;
    margin-bottom:.2em;
    text-align: left;
}
#subactivity-menu li button{
    text-align:left;
}

.res-doc{
    padding-left:2em;
}

.jumpToSubActivitySection .dashed-circle{
    outline:none;
}
.jumpToSubActivitySection.visited .dashed-circle{
    background-color: var(--color-primary);
    color:#ffffff;
    border: 1px solid var(--color-primary);
}
.jumpToSubActivitySection.visited.active .dashed-circle{
    outline: 1px dashed #000;
    border: 1px solid #000;
    color:inherit;
    background-color:#ffffff;
}

.anchor{

}

.jumpToSubActivitySection{
    border:none;
    background:none;
}

#subactivity-content{
    position:relative;
    transition: all .5s ease-out;
    padding-top:2em;
}

.subactivity-section{
    width:100%;
    position:absolute;
    left:-200%;
    transition: left .5s ease-out;
    transition: opacity 1s ease-in;
    opacity: 0;
    display:none;
}

.subactivity-section.active{
    left:0;
    top:0;
    position:static;
    opacity:1;
    display:block;
}

.subactivity-section h3{
    margin-bottom:2em;
}

#downarrow{
    margin:auto;
    color:  var(--color-primary);
    font-size: 3em;
    margin-top:1.5em;
}

#subactivity-nav-placeholder{
    text-align: center;
}

.om-line{
    font-weight:bold;  line-height:1;
}

.op-title{
    font-weight:bold;
    font-size: 16px;
}

.om-options{
    margin-top:1em;
    margin-left:20px;
    padding-left:16px;
    padding-right:16px;
    background-color: #f9f9f9;
    padding-top:.5em;
    padding-bottom:.5em;
}

.om-headers span{
    background-color:#ddd;
    color:#fff;
    cursor: pointer;
}
.om-todo{

    font-weight:600 !important;
}
.om-purpose{
    font-weight:300 !important;
    font-family: 'Nunito-light' !important;
}

.om-todo, .om-purpose{
    line-height:1;
}
.op{
    display:none;
}
.component-value{
    line-height:1;
}

.checkorange{
    height:76px;
    line-height:1.5;
    padding-top:5px;
}

.gradient{
    background: rgb(255,146,0);
    background: var(--gradient);
}

/********************************************* Print *********************************************/
#print{

}
#print .dashed{
    border: 4px dashed var(--color-primary);
    margin-bottom:2em;
    padding:1em;
}
#print .dashed.disabled{
    border: 4px dashed #aaa;
    margin-bottom:2em;
    padding:1em;
}

#print .dashed .ico{
    max-width:4em;
}
#print .dashed .ico span{
    font-size:3em;
}

#print .theme label{
    border-radius : 1em;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#print label .theme-legend{
    width:80%;
    margin:auto;
    border-radius:10px;
    position:static;
    opacity:.9;
    bottom:0;
}
#print label .theme-legend h3.h4{
    font-size:1.2em !important;
    text-align:center;
    line-height: 1.2 !important;
}

#print .themetoprint{
    scale:1.2;
    margin-right:.3em;
}

footer{
    text-align:right;
    font-size:1.2em;
    position: sticky;
    top: 100%;
    padding:1em;
    padding-bottom:100px;
    margin-top:2em;
}

@media (prefers-color-scheme: dark) {
    footer {
        color: #ffffff;
        background-color: #142136;
    }
}
@media (prefers-color-scheme: light) {
    footer {
        color: #142136;
        background-color: #ffffff;
    }
}