.matrix-section *{
    box-sizing: border-box;
}

.matrix-section{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    color: #606059;
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif
}

.matrix-section #norm_list{
    margin-top: 20px;
}

.matrix-section .bottom-back{
    margin: 20px 0;
    text-align: center;
}

.matrix-section .back-button{
    font-size: 16px;
    cursor: pointer;
}

.matrix-section .explanation{
    width: 80%;
    margin: 1em auto;
    text-align: center;
}

.matrix-section .theme-tag{
    border-radius: 16px;
    border-width: 1px;
    border-style: solid;
    background-color: #FFF;
    font-size: 12px;
    display: block;
    width: 100%;
    margin: 0 0 12px 0;
    overflow: hidden;
}

.matrix-section .theme-tag-header{
    padding: 3px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
}

.matrix-section .theme-tag img{
    cursor: pointer;
}

.matrix-section .theme-tag-content{
    padding: 3px 14px;
    color: #404040;
    font-weight: 400;
}

.matrix-section #selected_themes{
    margin-top: 35px;
}

.matrix-section #search_bar_wrapper{
    width: 60%;
    margin: 1em auto;
}

.matrix-section #search_bar_wrapper input[type="text"]{
    width: 100%;
    height: 60px;
    border: solid 1px #012d78;
    text-align: center;
    font-size: 24px;
    padding: 15px 30px 15px 30px;
    border-radius: 16px;
    color: #606059;
    background-color: transparent;
    background-image: url( "img/icons/search.png");
    background-repeat: no-repeat;
    background-position: calc( 100% - 10px) 50%;
    background-size: 32px 32px;
}

.matrix-section #search_bar_wrapper input[type="text"]:focus-visible{
    outline: solid 2px #012d78;
}

.matrix-section .main-content{
    margin: 2em 0;
}

.matrix-section .filter-button{
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.matrix-section #concept_list{
    margin: 10px 0;
}

.matrix-section #alphabetical_list{
    margin: 10px 0;
    display: none;
}

.matrix-section #filter_bar{
    margin-bottom: 2em;
}

.matrix-section .filter-button.active{
    font-weight: 600;
    color: #012d78;
}

.matrix-section .filter-button img{
    height: 18px;
    vertical-align: middle;
}

.matrix-section .filter-button img.active,
.matrix-section .filter-button.active img.passive{
    display: none;
}
.matrix-section .filter-button img.passive,
.matrix-section .filter-button.active img.active{
    display: inline-block
}

.matrix-section .topic-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    font-size: 20px;
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
    height: 60px;
    cursor: pointer;
    border-radius: 20px;
    margin-bottom: 10px;
}

.matrix-section .accordion-header{
    cursor: pointer;
}

.matrix-section .accordion-header .toggle-wrapper{
    position: relative;
    width: 30px;
    height: 30px;
}

.matrix-section .accordion-header .toggle-wrapper .toggle{
    position: absolute;
    right: 0;
    top: 0;
}

.matrix-section .accordion-header .toggle{
    width: 30px;
    transform: rotate( 180deg );
    transition: transform 0.4s, opacity 0.4s;
}

.matrix-section .accordion-header .toggle.passive,
.matrix-section .accordion-header.active .toggle.active{
    opacity: 1;
}

.matrix-section .accordion-header.active .toggle.passive{
    transform: rotate( 0deg );
    opacity: 0;
}
.matrix-section .accordion-header .toggle.active{
    opacity: 0;
}

.matrix-section .accordion-content-wrapper{
    overflow: hidden;
    transition: height 0.4s;
}

.matrix-section .concept{
    padding: 16px 20px;
    color: #606060;
    background-color: #FFF;
    border-width: 1px;
    border-style: solid;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.matrix-section .concept > div{
    width: calc( 100% - 170px );
}

.matrix-section .concept h3{
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
}

.matrix-section .concept p{
    margin: 0 0 0 5px;
}

.matrix-section .concept .concept-link{
    border-width: 1px;
    border-style: solid;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 3px 8px;
    width: 150px;
    border-radius: 18px;
    margin: 0 5px;
}

.matrix-section .concept .topic-tag{
    display: inline-block;
    margin: 10px 5px 5px;
    padding: 4px 8px;
    color: #FFF;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.matrix-section .header{
    position: relative;
    color: #012d78;
}

.matrix-section .back-button{
    border: none;
    background-color: #012d78;
    color: white;
    padding: 4px 24px;
    border-radius: 18px;
}

.matrix-section .header .back-button{
    position: absolute;
    right: 5px;
    top: 2px;
}

.matrix-section .header h3{
    font-size: 36px;
    text-align: center;
    color: #012d78;
    font-weight: 600;
    margin: 1em 0;
}

#norm_selection{
    display: none;
}

.matrix-section #theme_selection{
    text-align: center;
}

.matrix-section #theme_selection button{
    margin: 5px;
    padding: 5px 16px;
    cursor: pointer;
    border: solid 1px #000;
    border-radius: 18px;
    background-color: white;
}

.matrix-section #theme_selection button.active{
    background-color: #000;
    color: #FFF;
}

.matrix-section .norm-header{
    background-color: #012d43;
    color: white;
    font-size: 18px;
    font-weight: 600;
    height: 50px;
    padding: 10px 25px 10px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    border-radius: 22px;
}

.matrix-section .theme-header{
    height: 40px;
    background-color: #909090;
    color: white;
    font-size: 14px;
    padding: 5px 30px 5px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    border-radius: 20px;
}

.matrix-section .theme-header.active{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.matrix-section .theme-header.accordion-header .toggle-wrapper{
    height: 20px;
    width: 20px;
}

.matrix-section .theme-header.accordion-header img{
    width: 20px;
}

.matrix-section .theme-content-wrapper{
    margin-bottom: 10px;
}
.matrix-section .theme-content-wrapper.active{
    padding-top: 5px;
    border-style: solid;
    border-width: 1px;
    border-top-width: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #FFF;
}

.matrix-section .norm-wrapper{
    height: 0;
    margin-bottom: 10px;
}

.matrix-section .norm-header{
    cursor: pointer;
}

.matrix-section .norm{
    padding: 10px 30px;
    border-bottom: solid 1px #EEEEEE;
}

.matrix-section .norm .norm-title-section{
    margin-bottom: 10px;
}

.matrix-section .norm .norm-title{
    color: #404040;
    font-size: 20px;
    font-weight: 700;
    display: block;
}

.matrix-section .norm .norm-link-icon{
    font-size: 20px;
}

.matrix-section .norm .articles{
    font-size: 18px;
    margin: 5px 0 0 0;
    padding: 0;
}

.matrix-section .norm .summary{
    font-size: 14px;
}

.matrix-section #empty_message{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    font-weight: 600;
    background-color: transparent;
    font-size: 24px;
}

.matrix-section .theme-selector.active{
    font-weight: 700;
}

@media only screen and (max-width: 500px){
    .matrix-section #search_bar_wrapper{
        width: 90%;
    }

    .matrix-section #search_bar_wrapper input[type="text"]{
        font-size: 18px;
        background-size: 24px 24px;
    }

    .matrix-section .topic-header{
        padding: 10px 20px;
        font-size: 14px;
    }

    .matrix-section .topic-header span{
        width: calc( 100% - 30px);
    }
    .matrix-section .accordion-header .toggle-wrapper{
        width: 20px;
        height: 20px;
    }

    .matrix-section .concept{
        flex-direction: column;
    }
    .matrix-section .concept > div{
        width: 100%;
    }
    .matrix-section .concept h3{
        font-size: 18px;
    }
    .matrix-section .concept .concept-link{
        margin-top: 15px;
    }
    .matrix-section .concept .topic-tag{
        display:block;
        margin-top: 15px;
        text-align: center;
    }

    .matrix-section .header{
        text-align: center;
        margin-bottom: 20px;
    }

    .matrix-section .header .selected-topic{
        font-size: 24px;
    }

    .matrix-section .header .back-button{
        position: relative;
        top: unset;
        left: unset;
        display: inline-block;
    }

    .matrix-section .theme-header{
        height: unset;
    }

    .matrix-section .theme-selector,
    .matrix-section .theme-tag{
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    .matrix-section .norm-header{
        font-size: 15px;
    }

    .matrix-section .norm .norm-title{
        font-size: 16px;
    }
    .matrix-section .norm .articles{
        font-size: 15px;
    }
    .matrix-section .norm .summary{
        font-size: 12px;
        line-height: 1.4;
    }
    .matrix-section #empty_message{
        text-align: center;
    }
}