﻿body {
    padding-top: 40px;
    font-size: 14px;
    font-family: 'Open Sans',sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Open Sans',sans-serif;
}

.alert {
    padding: 10px;
}

.navbar {
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
    background-image: linear-gradient(#fff,#eee 50%,#e4e4e4);
    background-repeat: no-repeat;
    border: 1px solid #d5d5d5;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe4e4e4',GradientType=0);
}

.navbar-home {
    padding: 15px;
    background-position: center;
    background-image: url(../img/home-icon.png);
    background-repeat: no-repeat;
    background-size: 20px;
}


.navbar-item {
    padding: 15px;
    color: rgb(119,119,119);
}

.navbar-sessionstatus {
    padding-left: 15px;
    padding-right: 15px;
}

.page-header {
    border-bottom: 0px solid #eeeeee;
    padding-bottom: 0px;
}

.th {
    text-align: center;
}

.thumbnail {
    background-color: ghostwhite;
}

    .thumbnail > p {
        padding: 0 5px 0 5px;
    }

.well {
    background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
    /* background-image: -webkit-linear-gradient(top, ghostwhite  0%, #ffffff 100%);*/
    padding-top: 0px;
    padding-bottom: 0px;
}

.input-group-btn {
    text-align: left; /* Overide Bootstrap */
}

.form-control {
    border: none; /* Overide Bootstrap */
}

.control-group {
    /*display: table-row;*/
    width: 100%;
    border: 1px solid #cccccc;
}

.control-label {
    display: table-cell;
    width: 35%;
    height: 100%;
    vertical-align: middle;
}

.control-content {
    display: table-cell;
    width: 65%;
    vertical-align: middle;
}

.control-content-long {
    /*display: table-cell;*/
    width: 100%;
    vertical-align: middle;
}

.exam-item-wrapper {
    display: flex;
    margin: 2px;
    padding: 2px;
    /*border: 1px solid green;*/
}

.exam-item-heading {
    display: flex;
    width: 100%;
    border: 1px solid #cccccc;
    padding-left: 10px;
}

.exam-item-label {
    width: 25%;
    font-size: 14px;
    font-weight: bold;
}

.exam-item-value {
    width: 60%;
}

.exam-item-result {
    width: 10%;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
}

    .exam-item-result.false {
        border: 1px solid red;
        background-color: red;
        background-image: url(../img/white-cross.svg);
    }

    .exam-item-result.true {
        border: 1px solid green;
        background-color: green;
        background-image: url(../img/white-tick.svg);
    }

.exam-section-wrapper {
    display: flex;
    margin: 2px;
    padding: 2px;
    /*border: 1px solid blue;*/
}

.exam-section-heading {
    display: flex;
    width: 100%;
    border: 1px solid #cccccc;
    padding-left: 10px;
}

.exam-section-label {
    /*width: 65%;*/
    font-size: 16px;
    font-weight: bold;
}

.exam-section-launch {
    padding-left: 10px;
    padding-right: 10px;
    margin: 2px;
    /*border: 1px solid blue;*/
}

.exam-section-link {
    display: block;
    width: 20px;
    height: 20px;
    background-size: 16px 16px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../img/launch.svg);
    /*border: 1px solid green;*/
}

.exam-section-spacer {
    /*width: 20%;*/
    flex-grow: 1;
}

.exam-section-result {
    width: 15%;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
}

    .exam-section-result.false {
        border: 1px solid red;
        background-color: red;
        background-image: url(../img/white-cross.svg);
    }

    .exam-section-result.true {
        border: 1px solid green;
        background-color: green;
        background-image: url(../img/white-tick.svg);
    }

.exam-test-wrapper {
    margin: 2px;
    padding: 2px;
    /*border: 1px solid red;*/
}

.exam-test-heading {
    display: flex;
    width: 100%;
    border: 1px solid #cccccc;
    padding-left: 10px;
}

.exam-test-indent {
    width: 25%;
}

.exam-test-description {
    width: 60%;
}

.exam-test-result {
    width: 10%;
    text-align: center;
    background-size: 12px 12px;
    background-position: center center;
    background-repeat: no-repeat;
}

    .exam-test-result.false {
        border: 1px solid red;
        background-color: red;
        background-image: url(../img/white-cross.svg);
    }

    .exam-test-result.true {
        border: 1px solid green;
        background-color: green;
        background-image: url(../img/white-tick.svg);
    }

.exam-topic-wrapper {
    display: flex;
    margin: 2px;
    padding: 2px;
    /*border: 1px solid black;*/
}

.exam-topic-heading {
    display: flex;
    width: 100%;
    border: 1px solid #cccccc;
    padding-left: 10px;
}

    .exam-topic-heading.black {
        border: 2px solid black;
    }

    .exam-topic-heading.blue {
        border: 2px solid blue;
    }

    .exam-topic-heading.green {
        border: 2px solid green;
    }

    .exam-topic-heading.orange {
        border: 2px solid orange;
    }

    .exam-topic-heading.red {
        border: 2px solid red;
    }

    .exam-topic-heading.yellow {
        border: 2px solid yellow;
    }

.exam-topic-label {
    width: 25%;
    font-size: 18px;
    font-weight: bold;
}

.exam-topic-content {
    width: 60%;
}

.exam-topic-result {
    width: 10%;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
}

    .exam-topic-result.blue {
        border: 1px solid blue;
        background-color: blue;
        background-image: url(../img/circle-star.svg);
    }

    .exam-topic-result.black {
        border: 1px solid black;
        background-color: black;
        background-image: url(../img/circle-forbidden.svg);
    }

    .exam-topic-result.green {
        border: 1px solid green;
        background-color: green;
        background-image: url(../img/circle-tick.svg);
    }

    .exam-topic-result.orange {
        border: 1px solid orange;
        background-color: orange;
        background-image: url(../img/circle-hook.svg);
    }

    .exam-topic-result.purple {
        border: 1px solid purple;
        background-color: purple;
        background-image: url(../img/circle-blocked.svg);
    }

    .exam-topic-result.red {
        border: 1px solid red;
        background-color: red;
        background-image: url(../img/circle-cross.svg);
    }

    .exam-topic-result.yellow {
        border: 1px solid yellow;
        background-color: yellow;
        background-image: url(../img/circle-bang.svg);
    }

.exam-twistie-button {
    background-image: url(../img/arrow-folder.svg);
    aspect-ratio: 1 / 1;
    /*filter: invert(100%);*/
    -webkit-filter: invert(100%);
    padding: 1px;
}

    .exam-twistie-button.collapsed {
        width: 20px;
        height: 20px;
        margin-top: 5px;
        margin-right: 10px;
        margin-left: 5px;
        margin-bottom: 8px;
        /*border-top: 8px solid transparent;*/
        /*border-bottom: 8px solid transparent;*/
        /*border-left: 8px solid;*/
        /*border-right: 8px solid transparent;*/
        transform: rotate(90deg);
    }

    .exam-twistie-button.expanded {
        width: 20px;
        height: 20px;
        margin-top: 8px;
        margin-right: 5px;
        margin-left: 0px;
        margin-bottom: 0px;
        /*border-top: 8px solid;*/
        /*border-bottom: 8px solid transparent;*/
        /*border-left: 8px solid transparent;*/
        /*border-right: 8px solid transparent;*/
        transform: rotate(180deg);
    }

.exam-twistie-content {
    width: 100%;
}

.exam-twistie-children {
    width: 100%;
    padding-top: 10px;
}

.view-options-button {
    display: table-cell;
}

.view-options-label {
    display: table-cell;
}

.view-options-panel {
    display: table;
    width: 100%;
    padding: 2px;
    border: 1px solid #cccccc;
}

    .view-options-panel label {
        font-weight: normal;
    }

    .view-options-panel input[type="radio"] {
        margin-right: 5px;
    }

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }
