﻿html, body {
    height: 100%;
    width: 100%;
    font-size: 15px;
    overflow: hidden;
}

#login-controller-wrapper {
    width: 90%;
    max-width: 800px;
    height: 75%;
}

.login-background {
    background: transparent url('/Content/Images/login.jpg') 0 0 no-repeat;
    background-size: cover;
    background-position: center center;
}

.page-loading {
    display: none;
}

.pre-wrap {
    white-space: pre-wrap;
}

hr.task {
    height: 20px;
    width: 100%;
    background-image: radial-gradient(farthest-side at 50% -50%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    position: relative;
    border: 0;
    margin: 1.35em auto;
    max-width: 100%;
    background-position: 50%;
    box-sizing: border-box;
}
hr.task::before {
    height: 1px;
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0));
}

.cursor-pointer {
    cursor: pointer;
}

div[uib-datepicker] span {
    white-space: nowrap;
}

.modal-dialog {
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    margin: 0;
    /*
    max-height: 90%;
    overflow: hidden;
    */
}
.modal-content {
    background: #fff !important;
    border: 0 !important;
}
.modal-header, .modal-body, .modal-footer {
    border: 0 !important;
}
.modal-header {
    background: #261833;
    color: #fff;
}
.modal-backdrop {
    /*
    background: rgba(0, 0, 0, 0.3) !important;
    filter: blur(100px);
    */
    background: rgba(0, 0, 0, 0.8) !important;
}
.fixed-lg-modal .modal-dialog {
    height: 95%;
}
.fixed-lg-modal .modal-content {
    height: 100%;
    overflow: hidden;
}
.fixed-lg-modal .modal-body {
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
    overflow-y: auto;
}


#main-app {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#main-header {
    width: 100%;
    height: 50px;
    background: #261833;
    color: #fff;
}
#main-header a {
    color: #fff !important;
}
#main-wrapper {
    width: 100%;
    height: calc(100% - 50px);
}

.width-100 {
    width: 100%;
}
.height-100 {
    height: 100%;
}
.overflow-y-auto {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.profile-icon {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
}

.btn {
    -webkit-appearance: none;
    outline: none !important;
    box-shadow: none !important;
    border: 0;
}
a {
    color: #467aa7;
}
.fa, .fas {
    color: #467aa7;
}
.color-white {
    color: #fff !important;
}
.btn-primary {
    background: #467aa7 !important;
    color: #fff !important;
}
.table-bg-white {
    background: #FFF !important;
}
.table-primary, .table-primary > td, .table-primary > th {
    background: #467aa7 !important;
    color: #fff !important;
    font-weight: normal;
}
.table.table-fixed {
    table-layout: fixed;
}
.table thead th {
    vertical-align: middle;
}
.table thead th.th-w-40 {
    width: 40px;
}
.table thead th.th-w-120 {
    width: 120px;
}
.table thead th.th-w-300 {
    width: 300px;
}
.table thead th.th-w-400 {
    width: 400px;
}
.table tbody {
    font-size: 90%;
}
.table tbody tr.blue {
    background: #e4e8fb;
}
.table tbody tr.orange {
    background: #f8cab5;
}
.table tbody tr.red {
    background: #efacad;
}
.table tbody td {
    word-break: break-word;
}
button .spinner-border {
    display: none;
}
button[data-loading=true] .spinner-border {
    display: block;
}
.form-group {
    margin-bottom: 10px !important;
}
.form-group label {
    margin-bottom: 3px;
}
span.form-control {
    border: 0 !important;
}
input.form-control,
select.form-control,
textarea.form-control {
    -webkit-appearance: none;
    outline: none !important;
    box-shadow: none !important;
    /*border-radius: 0;*/
}
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: #467aa7 !important;
}
input.form-control.ng-invalid,
select.form-control.ng-invalid,
textarea.form-control.ng-invalid {
    border-color: #E75E5E !important;
}

.max-width-60 {
    max-width: 60px;
}

span.text-overflow {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-task-wrapper {
    height: 30%;
    min-height: 30%;
    /*max-height: 250px;*/
}
.case-task-wrapper .nav-tabs {
    border: 0 !important;
}
.case-task-wrapper .nav-tabs li.active {
    font-weight: bold;
}
.case-task-wrapper .nav-tabs .nav-link {
    padding: 3px 10px 5px 10px;
    font-size: 90%;
}
.case-task-wrapper > div.content {
    height: 100%;
    overflow: hidden;
}
.case-task-wrapper > div.content > div {
    height: 100%;
}
.case-task-wrapper > div.content > div .tab-content {
    height: 100%;
    overflow-y: auto;
}
.case-task-wrapper > div.content > div .tab-content thead {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
}
.case-task-wrapper > div.resizer {
    width: 100%;
    height: 3px;
    cursor: n-resize;
    border-top: 1px solid #adadad;
    border-bottom: 1px solid #adadad;
}
.th-position-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
}

#toast-container > div {
    opacity: 0.9;
}

.dropzone {
    border: 3px solid transparent !important;
}
.dropzone.dragging {
    border: 3px dashed #467aa7 !important;
    filter: blur(1px);
}

.task-add-button {
    font-size: 130%;
    font-weight: bold;
    padding-top: 0;
    padding-bottom: 0;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination-sm > li > a, .pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}
.pagination > li > a:hover, .pagination > li > span:hover {
    background-color: #eee;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.menu-logo {
    height: 36px;
    width: auto;
}

.home-text {
    background: #261833;
    color: #fff;
}
.home-bg {
    min-height: 300px
}
.home-bg.home-cc {
    background: transparent url(/Content/Images/Home/cc.png) 0 0 no-repeat;
    background-position: center center !important;
    background-size: cover !important;
}
.home-bg.home-telephonemodule {
    background: transparent url(/Content/Images/Home/phone.png) 0 0 no-repeat;
    background-position: center center !important;
    background-size: cover !important;
}
.home-bg.home-admin {
    background: transparent url(/Content/Images/quantislogo.png) 0 0 no-repeat;
    background-position: center center !important;
    background-size: contain !important;
}
.home-bg.home-commission {
    background: transparent url(/Content/Images/Home/commission.png) 0 0 no-repeat;
    background-position: center center !important;
    background-size: contain !important;
}

datepicker {
    float: none !important;
}
datepicker ._720kb-datepicker-calendar {
    max-width: 280px;
    /*
    left: 50%;
    transform: translateX(-50%);
    */
}

.fc .fc-button {
    padding: 0.15em 0.65em !important;
    font-size: 100% !important;
    line-height: 1.2 !important;
    outline: none !important;
    box-shadow: none !important;
}
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.5rem !important;
}
.fc-daygrid-event-dot {
    display: none !important;
}
.fc-daygrid-dot-event .fc-event-title {
    font-size: 85% !important;
    padding-left: 2px;
}
.fc-daygrid-event {
    background: #3788d8 !important;
    color: #fff !important;
}
.fc-v-event {
    border: 0 !important;
    box-shadow: none !important;
    left: -3px !important;
    right: -4px !important;
    bottom: -2px !important;
}
.fc-v-event .fc-event-title {
    padding-left: 3px;
}

.border-circle {
    border-radius: 9999px;
}
.button48 {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
}