@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    padding-top: 0;
}

.pagination .page-item.active .page-link {
    background-color: #E49900;
    border-color: #E49900;
    color: white !important;
}

#PropositionModal #Description {
    height: 300px;
}

.ng-hide:not(.ng-hide-animate) {
    display: none;
}

.substitute-column {
    width: 300px !important;
}

.modal-backdrop {
    z-index: 1000 !important;
    position: fixed;
}

.form-check {
    display: flex;
    align-items: center;
}

label {
    margin-bottom: 0;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    background-color: #E49900;
    border: none;
    min-height: 17px;
    min-width: 17px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: relative;
    border-radius: 2px;
    margin-right: 0.25rem;
}

    input[type="checkbox"]:disabled {
        background-color: lightgrey;
    }

input::-ms-check {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    background-color: #E49900;
    border: none;
    min-height: 17px;
    min-width: 17px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    position: relative;
}

input[type="checkbox"]:checked::after {
    content: '\2714';
    font-size: 80%;
    margin: 0;
    padding: 0;
    position: absolute;
    color: white;
}


.status-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

    .status-indicator.active {
        background-color: green;
    }

    .status-indicator.active-user {
        background-color: lightgreen;
    }

    .status-indicator.inactive {
        background-color: lightgrey
    }

    .status-indicator.recording {
        background-color: red;
        animation: pulse-red 2s infinite;
    }

    .status-indicator.not-recording {
        background-color: green;
        animation: pulse-green 2s infinite;
    }


.st-sort-ascent:after {
    content: '\25B2';
}

.st-sort-descent:after {
    content: '\25BC';
}

th[st-sort] {
    cursor: pointer;
    transition: ease 100ms background-color;
}

    th[st-sort]:hover {
        transition: ease 100ms background-color;
        background-color: grey;
    }

@keyframes pulse-red {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(255,0,0, 0.8);
        box-shadow: 0 0 0 0 rgba(255,0,0, 0.8);
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(255,0,0, 0);
        box-shadow: 0 0 0 10px rgba(255,0,0, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(255,0,0, 0);
        box-shadow: 0 0 0 0 rgba(255,0,0, 0);
    }
}

@keyframes pulse-green {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(0,128,0, 0.8);
        box-shadow: 0 0 0 0 rgba(0,128,0, 0.8);
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(0,128,0, 0);
        box-shadow: 0 0 0 10px rgba(0,128,0, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(0,128,0, 0);
        box-shadow: 0 0 0 0 rgba(0,128,0, 0);
    }
}

.danger {
    color: red;
    font-weight: bold;
}

.table thead th {
    width: auto;
}

.case-list .active, .case-list .active a, .case-list .active a:hover, .case-list .active a:active {
    background-color: #E49900;
    color: white;
    border-color: lightgrey;
}

    .case-list .active a:hover {
        color: black !important;
    }

.case-list {
    list-style: none;
    font-style: normal !important;
    border-radius: 5px;
    /* This does exist (pretty new). Fixes a scrolling issue in Chrome: https://stackoverflow.com/a/42562623 */
    overflow-anchor: none;
}

    .case-list a:hover {
        text-decoration: none;
    }

    .case-list ul {
        padding-left: 15px;
        list-style: none;
        border-radius: 0;
        background: #eee;
    }

    .case-list .list-group-item {
        border-left: none;
        border-right: none;
        border-radius: 0 !important;
    }

        .case-list .list-group-item:first-child {
            border-top: none;
        }

        .case-list .list-group-item:last-child {
            border-bottom: none;
        }

.login-wrapper {
    box-shadow: 1px 2px 4px 1px rgba(0, 0, 0, 0.25);
}

    .login-wrapper .validation-summary-errors ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

.case-document-icon {
    width: 24px;
    font-size: 24px !important;
    margin-right: 5px;
}

a:hover .case-document-icon {
    text-decoration: none !important;
}

.calendar-panel {
    width: 300px;
    max-width: none;
}

    .calendar-panel .calendar-table {
        width: 100%;
    }

    .calendar-panel .year-selector {
        width: 100%;
        height: 50px;
    }

.modal-dialog {
    pointer-events: all;
    border-radius: .25rem;
    background-color: white;
}

.listbox-panel {
    border: 1px solid #ced4da;
    padding: 0;
    border-radius: 0;
}

    .listbox-panel .scrollable .form-control {
        border: none;
        margin-top: 0;
    }

.select-toggle {
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.select-toggle::after, .btn.select-toggle::after, .select-toggle.active::after, .btn.select-toggle.active::after {
    content: '\25BC';
}

.show-tick .select-option.selected::after {
    content: '\2713';
}

.show-tick .select-option.selected {
    padding-left: 10px;
}

.listbox .select-option {
    padding: 10px;
}


table .fa, table .fas, .card .fas, .card .fa {
    font-size: 30px;
}

.main-sidebar {
    float: none !important;
    width: auto !important;
    min-height: unset !important;
}

.contents {
    width: auto !important;
    float: none !important;
}

.sidebar-form {
    padding-top: 0 !important;
}

.content-wrapper {
    border: 1px solid #d5d5d5;
    border-top: none;
    border-radius: 3px;
    padding: 20px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.form-check {
    padding-left: 0;
}

.modal-fullwidth {
    max-width: 100vw !important;
    padding: 0 !important;
}

.caselist-hide {
    width: 0;
    padding: 0;
}


@media (min-width:576px) {

    .container {
        max-width: 100%;
    }
}

@media (min-width:992px) {
    .modal-xl {
        max-width: 1200px;
    }

    .container {
        max-width: 100%;
    }

    .modal-fullwidth {
        max-width: 60vw !important;
    }
}

@media (min-width:1200px) {
    .modal.modal-conditional-xl:not(.show) {
        display: block !important;
        position: relative;
        overflow: auto;
        opacity: 1 !important;
        z-index: 1;
    }
    
    .modal.modal-conditional-xl:not(.show) > .modal-dialog {
        transform: none !important;
    }

    .caselist-hide {
        padding: 0 0 0 15px;
    }

    .container {
        max-width: 1440px;
    }

}

.container {
    padding: 0;
}


.btn {
    border-radius: 3px !important;
}

a.btn:hover {
    color: white !important;
}

.btn-primary {
    background-color: rgb(228, 153, 0);
    border-color: rgb(228, 153, 0);
}

    .btn-primary:hover {
        background-color: rgb(243, 163, 0);
        border-color: rgb(243, 163, 0);
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active {
        background-color: rgb(218, 146, 0);
        border-color: rgb(218, 146, 0);
    }
    .btn-primary.disabled, .btn-primary:disabled {
        background-color: gray;
        border-color: gray;
    }

.logo-main img {
    margin-right: 10px;
    height: 40px;
    display: block;
}




.company-name {
    font-size: 20px;
}

.sidebar-case-list, .sidebar-case-list ul {
    list-style: none;
}

    .sidebar-case-list ul {
        padding-left: 20px;
    }

    .sidebar-case-list .case-item {
        background-color: lightgrey;
    }

.show {
    visibility: visible !important;
}

.scrollable {
    overflow: auto !important;
}

    .scrollable > .scrollbar {
        display: none !important;
    }


.calendar-panel {
    border-color: #c5c5c5;
}

#navbar {
    background-color: #e9ecef;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid #d5d5d5;
}

    #navbar a {
        color: black;
    }

    #navbar .nav-item {
        margin-right: 40px;
    }

    #navbar .nav-item .active {
        color: #E49900;
    }

    #navbar .nav-item .nav-link {
        padding: .5rem 0;
    }
    #navbar .nav-item .nav-link:focus-visible {
        outline: 2px solid black;
        border-radius: 3px;
    }
    #navbar .nav-item .nav-link > .fa {
        width: 20px;
        text-align: center;
    }


.status-bar {
    display: flex;
    height: 38px;
}

    .status-bar:hover {
        color: #155724 !important;
    }

        .status-bar:hover > .alert-success {
            border-color: #86ce96;
            background-color: #b9e9c4;
        }


.formatted.overflow.collapse {
    visibility: visible !important;
}

    .formatted.overflow.collapse:not(.show) {
        overflow: hidden;
        display: -webkit-box;
    }

.formatted {
    white-space: pre-line;
}

.toast-message {
    white-space: pre-line;
}


.voteproposition-sidebar {
    display: flex;
    flex-direction: column;
}

    .voteproposition-sidebar > .case-card {
        overflow: auto;
        flex-grow: 1;
    }

.global-status-bar {
    border: 1px solid #d5d5d5;
    border-top: none;
    background: white;
}

.caseimport-modalbody {
    overflow: visible;
}

.drag-handle {
    font-size: 1.7em;
    cursor: move;
}

.table-vertical-align > tbody > tr > td {
    vertical-align: middle;
}

.highlighted-voting-row {
    font-weight: bold;
    background-color: #f4f4f4;
}

.casedoc-import-dropdown {
    max-height: 400px;
    max-width: 500px;
    overflow: auto;
}

.invalid-people {
    font-weight: bold;
    color: red;
}

.voted {
    box-shadow: inset 0 0 7px grey;
    filter: brightness(95%);
}

.ng-leave {
    display: none !important;
}

.modal-dialog-slideout {
    min-height: 100%;
    margin: 0 auto 0 0;
    background: #fff;
}

.modal.fade .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(-100%,0);
    transform: translate(-100%,0);
}

.modal.fade.show .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
    flex-flow: column;
}

.modal-dialog-slideout .modal-content {
    border: 0;
}

.modal.display-modal {
    opacity: 1 !important;
    display: block !important;
    overflow: auto;
}

.webtvupload-status {
    font-size: 1.5em;
    position: relative;
    left: -50%;
}

.progress-bar {
    background-color: #E49900;
}

.modal.card {
    background: none;
}

.overflow-y-auto {
    overflow-y: auto !important;
}

.overflow-y-hidden {
    overflow-y: hidden !important;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.accordion > .card > .card-header {
    padding: 5px;
}

.strikethrough {
    text-decoration: line-through;
}

.accordion .card:only-child {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.card-header .fa {
    font-size: 25px;
}

.min-column {
    width: 1px !important;
    white-space: nowrap !important;
}

.text-align-center {
    text-align: center;
}

.balloonOwn, .balloonOther {

    margin-top: 5px !important;
    margin-bottom: 5px !important;

}


.balloonOwn a {

    background: #42a5f5;
    color: #fff !important;
    border-radius: 20px 20px 3px 20px;
    display: block;
    max-width: 75%;
    padding: 7px 13px 7px 13px;

}

.balloonOwn:before {

    content: attr(data-is);
    position: absolute;
    right: 15px;
    bottom: -0.8em;
    display: block;
    font-size: .750rem;
    color: rgba(84, 110, 122,1.0);

}

.balloonOther a {

    background: #f1f1f1;
    color: #000 !important;
    border-radius: 20px 20px 20px 3px;
    display: block;
    max-width: 75%;
    padding: 7px 13px 7px 13px;

}

.balloonOther:before {

    content: attr(data-is);
    position: absolute;
    left: 13px;
    bottom: -0.8em;
    display: block;
    font-size: .750rem;
    color: rgba(84, 110, 122,1.0);

}
.dropdown-item:focus, .dropdown-item:hover {
    color: #E49900;
}
 
/* //bootsnipp.com/snippets/7ngvl */
/*
@media (max-width: 576px) {
    .modal-dialog.modal-dialog-slideout {
        width: 80%
    }
}
*/