﻿body, input, textarea, label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
}

a:hover {
    text-decoration: none;
}

html, body {
    height: 100%;
}

input[readonly].inner-datepicker:not([disabled]) {
    background-color: white;
}

#TrialDate:not([disabled]) {
    background-color: white;
}

.fullscreen_page_container {
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.fullscreen_page_text {
    font-size: 120px;
    text-align: center;
}

.main {
    width: auto;
    margin: 20px 80px 40px 80px;
    padding-bottom: 50px;
    padding-top: 30px;
}

.obligatory_field_symbol {
    color: red;
}

.big_bold_label {
    font-size: 18px;
    font-weight: bold;
}

.inline_between {
    display: flex;
    display: -ms-flexbox;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}

.claim_grid {
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    flex-flow: row wrap;
    align-items: center;
}

.claim_general_info_grid {
    width: 50%;
    display: flex;
    display: -ms-flexbox;
    flex-flow: row wrap;
    align-items: center;
}

.claim_column,
.claim_full_width_column,
.calculation_column,
.claim_column_last_in_row,
.calculation_column_last_in_row,
.feedbacks_column,
.feedbacks_column_last_in_row
.additionals_column,
.additionals_column_last_in_row {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    margin-top: 5px;
}

.claim_column, .claim_column_last_in_row {
    flex-basis: calc((1700px - 3 * 15px) / 4);
    max-width: calc((1700px - 3 * 15px) / 4);
}

.claim_column {
    margin-right: 15px;
}

.calculation_column {
    margin-right: 10px;
}

.feedbacks_column, .additionals_column {
    margin-right: 80px;
}

.claim_full_width_column {
    flex-basis: 1700px;
    max-width: 1700px;
}

.calculation_column, .calculation_column_last_in_row {
    flex-basis: calc((1700px - 2 * 80px) / 5);
    max-width: calc((1700px - 2 * 80px) / 5);
}

.feedbacks_column, .feedbacks_column_last_in_row {
    flex-basis: calc((1700px - 2 * 80px) / 3);
    max-width: calc((1700px - 2 * 80px) / 3);
}

.additionals_column, .additionals_column_last_in_row {
    flex-basis: calc(((1920px - 16px) - 2 * 80px) / 3);
    max-width: calc(((1920px - 16px) - 2 * 80px) / 3);
}

.claim_bottom_buttons {
    margin-top: 30px;
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    flex-flow: row nowrap;
    justify-content: flex-end;
}

.claim_cancel_button {
    margin-right: 150px;
}

.claim_save_button {
    margin-right: 50px;
}

.window_background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.confirmation_window_background {
    visibility: hidden;
}

.confirmation_window {
    background-color: white;
    object-fit: contain;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    align-items: center;
    padding: 10px 50px;
}

.confirmation_window_message {
    font-size: 20px;
    margin-top: 40px;
}

.confirmation_window_buttons {
    display: flex;
    display: -ms-flexbox;
    flex-flow: row nowrap;
    margin-top: 35px;
}

.confirmation_window_button {
    width: 170px;
    text-align: center;
    margin: 5px;
}

.show_confirmation_window {
    visibility: visible;
}

.no_scroll {
    overflow: hidden;
}

.send_button {
    width: 150px;
    margin-top: 20px;
    align-self: center;
}

.initial_supplier_feedback_window {
    background-color: white;
    width: 460px;
    height: 320px;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    padding: 30px 50px 20px 50px;
}

.initial_supplier_feedback_window_title, .confimation_of_receiving_samples_window_title, .customize_columns_window_title {
    font-size: 26px;
}

.customize_columns_window {
    background-color: white;
    width: 460px;
    height: 400px;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    padding: 30px 50px 20px 50px;
}

.date_of_registry_label {
    margin-top: 10px;
}

.date_receiving_samples_field {
    margin-top: 5px;
    width: 170px;
}

.confimation_of_receiving_samples_window {
    background-color: white;
    width: 585px;
    height: 200px;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    padding: 30px 50px 20px 50px;
    align-items: center;
}

input[type="file"] {
    display: none;
}

.evidence_type_label, .conversations_column_label {
    font-size: 20px;
}

.file, .inline_file_container {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.05);
    padding: 3px;
    margin-right: 10px;
}

.file {
    margin-bottom: 5px;
}

.inline_file {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
    margin-right: 5px;
}

.files_container {
    display: flex;
    display: -ms-flexbox;
    flex-flow: row wrap;
    margin-bottom: 10px;
}

.evidence_tab_content, .conversations_tab_content {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    margin-top: 30px;
}

.sample_field {
    width: 250px;
}

.evidence_type_select_container {
    display: flex;
    display: -ms-flexbox;
    flex-flow: row nowrap;
    align-items: center;
}

.feedbacks_tab_content {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
}

.left_aligned_row_container {
    display: flex;
    display: -ms-flexbox;
    flex-direction: row;
}

.left_aligned_column_container {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    flex-basis: 360px;
    max-width: 360px;
}

.left_aligned_row_item_margin {
    margin-right: 50px;
}

.inline_attach_file_container {
    display: flex;
    display: -ms-flexbox;
    flex-flow: row wrap;
    align-content: center;
    justify-content: flex-start;
}

.additional_labels {
    font-size: 18px;
}

.additional_containers {
    margin-left: 16px;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
}

.horizontal_line {
    height: 1px;
    background-color: black;
}

.calculation_tab_other_content {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
}

.identification_tab_content {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
}

.big_link {
    font-size: 15px;
}

#claim_form select {
    height: 26px;
}

#claim_form .input-sm {
    font-size: 14px;
}

.form-group.required .form-label:after, th.required:after, label.required:after {
    content: " *";
    color: #d9534f;
    font-family: 'Glyphicons Halflings';
    font-weight: normal;
    font-size: 9px;
}

#claim_list_form .form-control {
    width: 150px;
}

#claim_list_form button[type='submit'].btn.btn-sm {
    width: 120px;
}

.loader {
    position: fixed;
    z-index: 1981;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    margin: 0;
    background-color: #252525;
    opacity: .5;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 16px;
        background: #fff;
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 8px;
            animation-delay: -0.24s;
            background-color: #286090;
        }

        .lds-facebook div:nth-child(2) {
            left: 32px;
            animation-delay: -0.12s;
            background-color: #286090;
        }

        .lds-facebook div:nth-child(3) {
            left: 56px;
            animation-delay: 0;
            background-color: #286090;
        }

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%, 100% {
        top: 24px;
        height: 32px;
    }
}

.border-between > [class*='col-']:before {
    background: #787878;
    bottom: 15px;
    content: " ";
    left: 0;
    position: absolute;
    width: 2px;
    top: 25px;
}

.border-between > [class*='col-']:first-child:before {
    display: none;
}

.tooltip > .tooltip-inner {
    background-color: white;
    color: #333;
    border: 1px solid #333;
    padding: 3px;
    font-size: 12px;
    max-width: 400px;
    text-align:left;
}

.tooltip.in {
    opacity: 1 !important;
}


@media print {

    #printSection, #printSection * {
        visibility: visible;
    }

    #printSection {
        position: static;
        left: 0;
        top: 0;
    }
    #claim_form {
        display: none;
    }

}
