﻿body {
    overflow-y: auto;
    padding-bottom: 30px;
    padding-top: 50px;
    background-color: #fbfcfc !important;
    font-family: 'Work Sans', sans-serif !important;
}

.dropdown-menu.expand {
    position: relative !important;
    min-width: 110px;
    background: transparent;
    border: none;
}

#ext-info-panel-collapse, #kontering-panel-collapse, #attestinfo-panel-collapse, #comments-panel-collapse, #attachments-panel-collapse {
    -moz-transition: height .35s ease;
    -o-transition: height .35s ease;
    -webkit-transition: height .35s ease;
    transition: height .35s ease;
    padding: 0 15px;
}

.multiselect-container > li > a > label {
    padding: 4px 20px 3px 20px;
    margin: 0;
}

/* Carousel */

.carousel-caption {
    z-index: 10 !important;
}

    .carousel-caption p {
        font-size: 20px;
        line-height: 1.4;
    }

@media (min-width: 768px) {
    .carousel-caption {
        z-index: 10 !important;
    }
}

.btn-default.gradient {
    background: -moz-linear-gradient(top, #33a6cc 50%, #0099cc 50%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #33a6cc), color-stop(50%, #0099cc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 50%, #f6f6f6 50%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #33a6cc 50%, #0099cc 50%); /* Opera 11.10+ */
    /*background: -ms-linear-gradient(top,  #33a6cc 50%,#0099cc 50%); /* IE10+ */
    background: linear-gradient(to bottom, #33a6cc 50%, #0099cc 50%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33a6cc', endColorstr='#0099cc', GradientType=0); /* IE6-9 */
}

.box-shadow--6dp {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .14), 0 1px 18px 0 rgba(0, 0, 0, .12), 0 3px 5px -1px rgba(0, 0, 0, .2);
}

.box-shadow--4dp {
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
}


.btn-default.raised {
    box-shadow: 0 3px 0 0 #969696;
}

.spread-4-evently > div {
    -ms-zoom: 1;
    display: inline-block;
    *display: inline; /* For IE7 */
    text-align: center;
    width: 20%;
    zoom: 1; /* Trigger hasLayout */
}

#top-container {
    padding-top: 50px !important;
}

.navbar-inverse .navbar-toggle {
    border-color: transparent !important;
}

.navbar-link .glyphicon {
    padding-right: 5px;
}

.navbar-header {
    float: none;
}

.navbar-left, .navbar-right {
    float: none !important;
}

.navbar-toggle {
    display: block;
}

@media screen and (min-width: 768px) {
    .navbar-toggle {
        margin-right: 0px;
    }
}

.navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    overflow-x: hidden;
}

.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
}

.navbar-collapse.collapse {
    display: none !important;
}

.navbar-nav {
    float: none !important;
    margin-top: 7.5px;
}

    .navbar-nav > li {
        float: none;
    }

        .navbar-nav > li > a {
            padding-top: 10px;
            padding-bottom: 10px;
        }

.collapse.in {
    display: block !important;
}

#second-nav-bar {
    top: 53px !important;
    z-index: 990 !important;
    background-color: #fbfcfc;
}

#button-nav {
    text-align: center;
}

    #button-nav .button-text {
        display: none;
    }

#second-nav-bar button {
    width: 68px;
}

#basic-info-row {
}

    #basic-info-row td {
        width: 50%;
        padding: 8px;
    }

#top-table {
    margin-bottom: 0;
}

#thumbnail {
    border: none !important;
    border-radius: 0 !important;
}

#thumbnail-image {
    width: 100%;
}

#thumbnail-image-backup {
    width: 100%;
}

#thumbnail-and-download {
    position: relative;
    float: right;
    margin-top: 15px;
    width: 100%;
    height: 80vh;
}

/*#download-buttons {
    margin-bottom: 10px;
    text-align: right;
}*/

#dl-jpg-big {
    display: none;
}

#dl-pdf-big {
    display: none;
}

#ext-info-table {
    margin-bottom: 10px !important;
}

#attachments-panel-collapse .attachment-name {
    font-weight: bold;
}

#attachments-panel-collapse .attachment-date {
    display: block;
}

#comments-panel-collapse .comment-name {
    font-weight: bold;
}

#comments-panel-collapse .comment-date {
    display: block;
}

#comments-panel-collapse .list-group-item-text {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

#basic-info-row tr td:first-child {
    font-weight: bold;
}

.descr-table tr:first-child td {
    border-top: none !important;
}

.panel-heading {
    cursor: pointer;
    color: black !important;
    background-color: #fff !important;
}

.panel {
    border: none !important;
}

.panel-table {
    margin-bottom: 0px !important;
}

#last-panel {
    margin-bottom: 3rem;
}

.panel-footer {
    padding-bottom: 7px;
    padding-right: 10px;
    padding-top: 7px;
    background-color: transparent;
}

.vertical-alignment-helper {
    display: table;
    height: 100%;
    pointer-events: none;
    width: 100%;
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    pointer-events: none;
    vertical-align: middle;
}

.modal-content {
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    margin-left: 10px;
    margin-right: 10px;
    pointer-events: all;
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
}

#comment-modal-form-group {
    margin-bottom: 0px;
}

#comment-textbox-modal {
    margin-bottom: 15px;
}

#audit-modal-form-group {
    margin-bottom: 0px;
}

#audit-textbox-modal {
    margin-bottom: 15px;
}

#approval-modal-form-group {
    margin-bottom: 0px;
}

#rotate-warning-alert {
    margin-bottom: 10px !important;
    margin-top: 10px !important;
}

@media screen and (min-width: 640px) {
    #rotate-warning-alert {
        margin-bottom: 0px !important;
    }

    #button-nav .button-text {
        display: inline;
    }

    #button-nav {
        text-align: left;
    }

    #second-nav-bar button {
        width: auto;
    }

    .thumbnail {
        margin-bottom: 5px !important;
    }

    #comments-panel-collapse .comment-name {
        font-weight: bold;
        margin-right: 7px;
    }

    #comments-panel-collapse .comment-date {
        display: inline;
        white-space: nowrap;
    }
}

@media screen and (min-width: 768px) {
    #thumbnail-and-download {
        float: right;
        margin-top: 15px;
        height: 400px;
    }

    .modal-content {
        height: inherit;
        /* To center horizontally */
        margin: 0 auto;
        pointer-events: all;
        /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
        width: inherit;
    }
}

@media screen and (min-width: 992px) {
    #dl-pdf-big {
        display: inline-block;
    }

    #dl-pdf-small {
        display: none;
    }

    #dl-jpg-big {
        display: inline-block;
    }

    #dl-jpg-small {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .thumbnail {
        margin-bottom: 0 !important;
    }
}

.rotate180 {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}


html {
    min-height: 100%;
    position: relative;
}

.footer {
    background-color: #f5f6f8;
    color: #b3b3b3;
    bottom: 0;
    font-size: 13px;
    height: 30px;
    left: 0;
    position: absolute;
    width: 100%;
    text-align: right;
}

    .footer .text-muted {
        margin-top: 3px;
        margin-bottom: 0px;
        margin-top: 7px;
    }

#collapse-panel-group {
    margin-bottom: 10px !important;
}

.comment-ok-color {
    color: forestgreen;
}

.comment-repeat-color {
    color: red;
}

.fail-alert {
    margin-bottom: 0 !important;
    margin-top: 10px !important;
}

.retry-comment-icon:hover {
    cursor: pointer !important;
    cursor: grab !important;
}

.disabled {
    cursor: default !important;
}

.attest-signed {
    font-style: italic;
}

.attest-current {
    font-weight: bold;
}

.input-thin {
    width: 100px
}

/* Login page*/

.text-primary {
    color: #03b7eb !important;
}

.text-secondary {
    color: #0a7398;
}

.btn-primary, .btn-secondary {
    font-weight: 500 !important;
    color: #fff;
}

.btn-primary {
    background-color: #03b7eb !important;
    border-color: #03b7eb !important;
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: #0099c5 !important;
    }

.btn-secondary {
    background-color: #0a7398 !important;
    border-color: #0a7398 !important;
}

    .btn-secondary:hover, .btn-secondary:focus {
        background-color: #036a8e !important;
        color: #fff !important;
    }

.login-container {
    height: 100%;
    z-index: 999;
    margin-top: 5rem;
}

    .login-container::before {
        content: '';
        display: block;
        background: #f5f6f8;
        width: 50%;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        z-index: -2;
    }

    .login-container::after {
        content: '';
        display: block;
        width: 165px;
        height: 165px;
        background: url(/images/pattern.svg);
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.5;
        z-index: -1;
    }

    .login-container .card::after {
        content: '';
        display: block;
        width: 80px;
        height: 80px;
        background: url(/images/circle.svg) no-repeat;
        background-size: 100%;
        position: absolute;
        left: -6rem;
        bottom: -4rem;
        opacity: 0.03;
        z-index: -1;
    }

    .login-container .card::before {
        content: '';
        display: block;
        width: 120px;
        height: 120px;
        background: url(/images/triangle.svg) no-repeat;
        background-size: 100%;
        position: absolute;
        top: 6rem;
        right: -16rem;
        opacity: 0.03;
        z-index: -1;
    }

.login-header .h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.login-header p {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.card {
    position: relative;
    min-width: 0;
    background-color: #fff;
    max-width: 50rem;
}

.card-body {
    padding: 4rem 2rem;
}

@media screen and (max-width: 450px) {
    .card-body {
        padding: 2rem 0.4rem;
        margin: 1rem;
    }
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.07) !important;
}

.form-control-user {
    padding: 1.5rem 1rem;
}

.btn-user {
    padding: 0.75rem 1rem;
}

/* Helper classes */

.fill {
    min-height: 100%;
    height: 100%;
}

.justify-content-center {
    justify-content: center !important;
}

.mx-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.m-2 {
    margin: 2rem;
}

.input-thin {
    width: 100px
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.55rem rgba(0, 0, 0, 0.155);
}

h3, h4 {
    font-weight: 600;
}

.p-2 {
    padding: 2rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.align-items-center {
    align-items: center;
}

.search-table tr:hover {
    cursor: pointer;
}

.search-form {
    padding: 5px 20px;
    background-color: #fff;
}

@media screen and (max-width: 450px) {
    .search-form {
        padding: 10px;
    }
}

.form-row {
    padding-top: 2.5rem;
}

.Status .btn-group {
    display: block;
}

    .Status .btn-group .btn {
        width: 100%;
        text-align: left;
    }

/* Show all filter options on desktop */
@media screen and (min-width: 992px) {
    .showOnDesktop {
        display: block !important;
    }
}


.pt-4 {
    margin-top: 2.5rem;
}

#spinner-overlay {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #ffffffc4;
    justify-content: center;
    z-index: 9999;
}

    #spinner-overlay img {
        position:fixed;
        margin-top: calc(50vh - 60px);
    }

    #spinner-overlay.showing {
        display: flex;
    }