body {
    font-family: 'Open Sans', sans-serif;
}

.row {
    margin-bottom: 10px;
}

.panel-body {
    padding: 20px;
}

.table-result tr {
    cursor: pointer;
}

.page-header img {
    float: left;
}

.page-header h1 {
    /*center title with form*/
    padding: 0 168px 0 0;
    text-align: center;
    display: block;

}

@media screen and (max-width: 1060px) {
    .page-header h1 {
        font-size: 24px;
    }
}

@media screen and (max-width: 660px) {
    .page-header h1 {
        padding: 0 0 0 0;
    }
}

@media screen and (max-width: 493px) {
    .page-header h1 {
        display: inline-block;
    }
}

.report-view {
    margin-left: 5%;
    margin-right: 5%;
}

.center-text {
    text-align: center;
}

.search h1 {
    text-align: center;
}

.search h2 {
    text-align: center;
}

.index h1 {
    text-align: center;
}

.result h2 {
    text-align: center;
}

.dl-horizontal {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .dl-horizontal dt {
        white-space: normal;
        font-family: 'Open Sans', sans-serif;
    }
}

.hide {
    display: none
}

.square-text {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
}

.square-unchecked:before {
    font-family: FontAwesome;
    content: "\f096";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
}

.square-checked:before {
    font-family: FontAwesome;
    content: "\f046";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
}

.radio-offset {
    margin-left: 1em;
    margin-top: 0.5em;
}

.month-picker {
    margin: 10px 15px 10px 10px;
}

.change_language_container {
    min-height: 36px;
}

#change_language_image {
    padding: 10px;
}

.logout-container {
    height: 30px;
}

.logout {
    padding: 5px;
}

.sub-header {
    margin-top: 30px;
    margin-bottom: 10px;
    padding: 0 5px 0 5px;
}

.title {
    margin-top: 0px;
    margin-bottom: 15px;
    padding: 0 5px 0 5px;
}

/******* REPORT WRITE ********/

legend.legend-override {
    display: inline;
    width: auto;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: normal;
    color: #333;
    border: 0;
    border-bottom: none;
}

.report-write-label {
    margin-top: 20px;
    margin-bottom: 10px;
}

.report-write-label-inline {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: normal;
}

h4.report-write-label {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.report-write-text-input {
    width: 60%;
}

.splitter {
    margin-bottom: 30px;
    margin-top: 30px;
}

.pre-splitter {
    margin-bottom: 20px;
}

.submit-button {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 20px 80px;
    font-size: 24px;
}

.delete-input {
    color: #a2070f;
    position: absolute;
    bottom: 7px;
}

.delete-input:hover {
    cursor: pointer;
    color: #c1070f;
}

.subject-input-container {
    margin-bottom: 10px;
}

@media screen and (min-width: 480px) {
    .input .subject-code {
        width: 80%;
    }
}

.disclaimer-message {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0;
    font-weight: bold;
}

@media (max-width: 450px) {
    .report-write-text-input {
        width: 100%;
    }

    .mobile-container {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    .submit-button {
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 12px 45px;
        font-size: 16px;
    }

    .view-report-header {
        font-size: 12px;
    }
}

.mobile-container {
    width: 100%;
}

/******* STAR RATING *********/

.rating {
    border: none;
    float: left;
    padding-left: 20px;
}

.rating > input {
    display: none;
}

.rating > .rating-label, .rating > .rating-label-disabled {
    color: lightgrey;
    float: right;
}

.rating > .rating-label:hover {
    cursor: pointer;
}

.rating > .rating-label:before, .rating > .rating-label-disabled:before {
    margin: 5px;
    font-size: 2em;
    display: inline-block;
    content: "\2606";
}

.rating > input:checked ~ .rating-label:before,
.rating:not(:checked) > .rating-label:hover:before,
.rating:not(:checked) > .rating-label:hover ~ .rating-label:before {
    color: #FFD700;
    content: "\2605"
}

.rating > input:checked + .rating-label:hover:before,
.rating > input:checked ~ .rating-label:hover:before,
.rating > .rating-label:hover ~ input:checked ~ .rating-label:before,
.rating > input:checked ~ .rating-label:hover ~ .rating-label:before {
    color: #FFED85;
    content: "\2605"
}

.rating > input:checked ~ .rating-label-disabled:before {
    color: #FFD700;
    content: "\2605"
}

/******* Pagination *******/

.pager > li > a {
    cursor: pointer;
}

.pagination > li {
    cursor: pointer;
}

.pager {
    padding-top: 20px;
    padding-bottom: 100px;
}

.report-write-page-2, .report-write-page-3, .report-write-page-4,
.report-write-page-5, .report-write-page-6, .report-write-page-7,
.report-write-page-8, .report-write-page-9, .report-write-page-10,
.pager li .report-write-previous-page-button {
    display: none;
}

/******** Validation ********/

.email.red {
    border-color: #ff5d3e !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #ff5d69;
    outline: 0 none;
}

#error_container > p {
    margin: 10px;
}

#error_container > p > label {
    font-weight: normal;
}

#error_container {
    display: none;
    background-color: #fcf8e3;
    color: #8a6d3b;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

/************ REPORT READ ************/

.search-button.btn-default.btn {
    padding: 5px 10px;
}

.question-list {
    border-top: 1px solid #ddd;
    list-style-type: none;
    padding: 25px 15px 15px 15px;
}

.question-list:first-child {
    border-top: none;
}

.question-list:nth-child(even) {
    background-color: #f9f9f9;
}

.question {
    display: block;
    text-align: right;
    vertical-align: middle;
}

.question-panel {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.question-list .report-write-label-inline {
    margin-top: 0;
}

.view-report-subject {
    padding-top: 10px;
    padding-bottom: 10px;
}

.subject-text {
    padding-top: 2px;
}

.subject-row {
    margin-bottom: 0;
    padding-left: 20px;
    border-top: 1px solid #ddd;
}

.subject-row:first-child {
    border: none;
}

.subject-row:first-child > .view-report-subject {
    padding-top: 0;
}

.view-report-header {
    display: table;
    margin: auto;
    float: none;
}

.view-report-header > li {
    padding-right: 20px;
    line-height: 34px;
    height: 34px;
}

.view-report-header li b {
    padding-right: 5px;
}

.report-read-page-2, .report-read-page-3, .report-read-page-4,
.report-read-page-5, .report-read-page-6, .report-read-page-7,
.report-read-page-8, .report-read-page-9, .report-read-page-10,
.pager li .report-read-previous-page-button {
    display: none;
}

.report-read-answer {
    padding-left: 20px;
    padding-top: 12px;
    margin-bottom: 10px;
}

.report-read-answer.star-rating {
    padding-left: 20px;
    padding-top: 10px;
    margin-bottom: 0;
}

/************ INDEX ************/

.index-container {
    padding: 0 10px 100px 10px;
}

.index-container .btn {
    margin-top: 10px;
    margin-bottom: 10px;
}

/*********** SEARCH *************/

.search-button {
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > td {
        white-space: normal;
        max-width: 110px;
    }

}

/*********** HEADER *************/

#NTNU_logo {
    cursor: pointer;
    display: block;
}

