/* General styling */
* {
    padding: 0;
    margin: 0;
    font-size: 1.0rem;
    font-family: "Open Sans", "sans-serif";
}

/* open-sans-300 - latin */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    src: local(""),
        url("/assets/fonts/open-sans-v20-latin-300.woff2") format("woff2"), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url("/assets/fonts/open-sans-v20-latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-regular - latin */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: local(""),
        url("/assets/fonts/open-sans-v20-latin-regular.woff2") format("woff2"), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url("/assets/fonts/open-sans-v20-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600 - latin */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    src: local(""),
        url("/assets/fonts/open-sans-v20-latin-600.woff2") format("woff2"), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url("/assets/fonts/open-sans-v20-latin-600.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-700 - latin */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    src: local(""),
        url("/assets/fonts/open-sans-v20-latin-700.woff2") format("woff2"), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url("/assets/fonts/open-sans-v20-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

a {
    color: #00F;
}

h2 {
    margin: 10px 0;
    font-size: 1rem;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

#logout {
    position: absolute;
    right: 0;
    top: 10px;
    right: 10px;
}

#subjects-overview {
    margin: 20px 0 50px 0;
}

#years-overview  {
    margin: 0 0 50px 0;
}

#subject-meta-data {
    display: flex;
    justify-content: space-between;
}
/* General styling */

/* Header styling */
header {
    background-color: rgba(134,104,173,.2);
    padding: 10px;
}

header div {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
/* Header styling */

/* Tabs styling */
#study-levels-tabs { display: flex; align-items: center; }
#study-levels { list-style: none; display: flex; width: 300px; padding: 0; margin: 0 0 0 20px; }
#study-levels a { color: black; text-decoration: none; }
#study-levels a .study-level { padding: 10px; cursor: pointer; }
#study-levels a .active-level { background-color: #F6F6F6; }
/* Tabs styling */

/* Breadcrumbs styling */
.breadcrumbs {
    list-style: none;
    margin: 10px 0;
    background-color: #F6F6F6;
    padding: 10px;
}

.breadcrumbs li {
    display: inline-block;
}

.breadcrumbs li a {
    text-transform: uppercase;
    text-decoration: none;
}

.breadcrumbs li+li:before {
    padding: 2px;
    color: black;
    content: "/\00a0";
}
/* Breadcrumbs styling */

/* Table styling */
table {
    margin: 20px 0;
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: #F6F6F6;
}

table thead th {
    font-size: 0.8rem;
    font-weight: normal;
    text-align: left;
    padding: 15px 10px;
    text-transform: uppercase;
}

table thead th.actions-header {
    width: 100px;
}

table thead th.pdf-download-header {
    width: 105px;
}

table tbody tr.study {
    display: none;
}

table tbody tr.active-study {
    display: table-row;
}

table tbody td {
    padding: 10px 10px;
    border-bottom: 1px solid #ccc;
}

table tbody td.study-actions {
    width: 100px;
}

table tbody td .action {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

table tbody td .actions,
table tbody td .actions div {
    display: flex;
}

table tbody td .actions form {
    padding: 0;
    background: none;
}

table tbody td .action svg {
    width: 20px;
    height: 20px;
    filter: invert(59%) sepia(10%) saturate(12%) hue-rotate(327deg) brightness(84%) contrast(82%);
}

table tbody td .action svg:hover {
    filter: invert(10%) sepia(100%) saturate(5767%) hue-rotate(246deg) brightness(90%) contrast(149%);
}

table tbody td a {
    text-decoration: none;
}

table tbody td.study-name,
table tbody td.study-start-year {
    width: 150px;
}

table tbody td.study-status {
    width: 100px;
}

table tbody td.study-status div {
    border-radius: 8px;
    padding: 1px 10px 2px;
    color: white;
    display: inline-block;
    font-size: 0.9rem;
}

table tbody td.study-status div.geblokkeerd {
    background-color: #FF0000;
}

table tbody td.study-status div.gearchiveerd {
    background-color: #0096FF;
}

table tbody td.study-status div.gepubliceerd {
    background-color: #009E0F;
}

table tbody td.exam-sort:hover,
table tbody td.exam-description:hover {
    cursor: pointer;
}


table tbody td .exam-sort-full,
table tbody td .exam-content {
    display: none;
    font-size: 0.8rem;
    position: relative;
}

.td-outline-right {
    text-align: right;
}

table tbody td.exam-sort:hover .exam-sort-full,
table tbody td.exam-description:hover .exam-content {
    display: block;
    position: absolute;
    background-color: #F6F6F6;
    padding: 10px;
    width: 200px;
}

@media screen and (max-width: 992px) {
    .table-wrapper {
        overflow: scroll;
    }

    #subjects {
        width: 550px;
    }

    #studies,
    #users {
        width: 510px;
    }
}
/* Table styling */

/* Form styling */
form {
    background-color: #F6F6F6;
    padding: 15px;
}

form.horizontal-form .horizontal-form-row {
    margin-bottom: 10px;
}

.form-row {
    width: 15%;
    margin-bottom: 10px;
}

form.horizontal-form .horizontal-form-row .form-row {
    display: inline-block;
    margin: 0 10px 0 0;
}

form.horizontal-form .horizontal-form-row .form-row.xl {
    width: 45%;
}

.form-row select,
.form-row input,
.form-row textarea {
    width: 400px;
    padding: 5px;
    box-sizing: border-box;
    background-color: white;
    border: 1px solid #ccc;
}

form.horizontal-form select,
form.horizontal-form input,
form.horizontal-form textarea {
    width: 100%;
}

.form-row label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.form-row-checkbox input {
    width: 14px;
    margin-right: 5px;
}

.form-row-checkbox {
    display: flex;
    align-items: center;
}

.form-row-checkbox label {
    display: inline-block;
    margin-top: 3px;
}

.form-errors {
    list-style: none;
    padding: 0;
    margin: 0;
    color: red;
}

@media screen and (max-width: 900px) {
    .form-row {
        width: 100%;
    }

    .form-row select,
    .form-row input,
    .form-row textarea {
        width: 100%;
    }

    form.horizontal-form .horizontal-form-row .form-row,
    form.horizontal-form .horizontal-form-row .form-row.xl {
        width: 100%;
    }

    .form-row-checkbox input {
        width: 14px;
    }
}
/* Form styling */

/* Custom buttons styling */

form button {
    border: none;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    color: #FFFFFF;
}

form button,
.custom-submit-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #009E0F;
    border-radius: 30px;
    transition: 0.5s;
}

form button:hover,
.custom-submit-button:hover {
    background-color: #00800c;
    cursor: pointer;
}

.custom-submit-button a {
    text-decoration: none;
    color: white;
}
/* Custom buttons styling */

/* Error styling */
.alert { margin: 10px 0; }
.alert-error { color: red; }
.alert-success { color: green; }
/* Error styling */

/* Login form styling */
header div#logo img {
    width: 140px;
    height: 40px;
}

div#login-container {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

div#login-container div#login-logo img {
    margin-bottom: 30px;
}

div#login-container div#login-logo img {
    width: 135px;
    height: 135px;
}

div#login-container div#login-content div {
    margin-bottom: 25px;
}

div#login-container div#login-content div {
    padding: 10px;
    display: flex;
    justify-content: center;
    background-color: darkorange;
    border-radius: 5px;
    width: 330px;
    margin: 25px auto;
}

div#login-container div#login-content div:hover {
    cursor: pointer;
    background-color: orange;
}

div#login-container div#login-content #login-text {
    margin-bottom: 25px;
    text-align: center;
}

div#login-container div#login-content div a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

div#login-container div#login-content #authentication-error {
    color: red;
    margin: 20px 0;
}

div#login-container div#login-footer p {
    display: flex;
    align-items: center;
    color: #2F4F4F;
}

div#login-container div#login-footer svg {
    width: 15px;
    height: 15px;
    filter: invert(25%) sepia(42%) saturate(402%) hue-rotate(131deg) brightness(90%) contrast(85%);
    margin-right: 5px;
}
/* Login form styling */

/* Logout styling */
div#logout div {
    text-align: right;
}

div#logout div p,
div#logout div a {
    font-size: 0.8rem;
}
/* Logout styling */

/* User admin link styling */
div#user-admin {
    display: inline-block;
    padding: 10px;
    background-color: #F6F6F6;
    margin-bottom: 10px;
}

div#user-admin a {
    text-decoration: none;
}
/* User admin link styling */

/* public studies overview */
.studies-overview-header {
    margin-top: 1rem;
}

.studies-overview-header h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.studies-overview-list {
    width: 200px;
    margin: 2rem auto 0 auto;
}

.studies-overview-list h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.studies-overview-list ul {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.studies-overview-list div {
    margin-top: 15px;
}

.studies-overview-list li {
    font-size: 1.2rem;
    list-style: none;
    font-weight: normal;
}

.studies-overview-list li a {
    text-decoration: none;
}
/* public studies overview */

/* public login link */
.login-link {
    color: black;
    font-size: 1.4rem;
    position: absolute;
    top: -5px;
    right: 0px;
}

.login-link a {
    color: black;
    font-size: 15px;
}

@media screen and (max-width: 600px) {
    .login-link {
        position: unset;
        text-align: center;
    }
}
/* public login link */


/* public studies overview */
#public-breadcrumbs {
    text-align: center;
}

.subjects-overview {
    width: 280px;
    margin: 0 auto;
    margin-top: 1rem;;
}

.subjects-overview h1 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.subjects-overview ul {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.subjects-overview div {
    margin-top: 15px;
}

.subjects-overview li {
    font-size: 1.4rem;
    list-style: none;
    font-weight: normal;
}

.subjects-overview-meta-data {
    width: 100%;
    display: flex;
    align-items: center;
}

.subjects-overview-meta-data a {
    margin-left: auto;
}
/* public studies overview */

/* public year overview */
.public-year-wrapper h1 {
    margin-top: 30px;
    margin-bottom: 50px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
}

.public-year-wrapper h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.public-year-wrapper p {
    text-align: center;
}

.public-year-wrapper .table-wrapper {
    margin-bottom: 50px;
}

.public-copy-wrapper-header {
    margin-top: 5px;
    margin-bottom: 20px;
}

.public-copy-wrapper-header h1 {
    margin-bottom: 10px;
}

.public-copy-wrapper-header p {
    margin-bottom: 15px;
}

.left-arrow {
    margin-right: 10px;
}
/* public studies overview */
