﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* set sizes on Kendo UI font icons
-------------------------------------------------- */
.font-size-16 { font-size: 16px; }
.font-size-24 { font-size: 24px; }
.font-size-32 { font-size: 32px; }
.font-size-48 { font-size: 48px; }
.font-size-64 { font-size: 64px; }
.font-size-80 { font-size: 80px; }
.font-size-96 { font-size: 96px; }
.font-size-112 { font-size: 112px; }
.font-size-128 { font-size: 128px; }

/* set sizes on vector icons
-------------------------------------------------- */
.img-size-8 { height: 8px; width: 8px; }
.img-size-12 { height: 12px; width: 12px; }
.img-size-16 { height: 16px; width: 16px; }
.img-size-24 { height: 24px; width: 24px; }
.img-size-32 { height: 32px; width: 32px; }
.img-size-48 { height: 48px; width: 48px; }
.img-size-64 { height: 64px; width: 64px; }
.img-size-80 { height: 80px; width: 80px; }
.img-size-96 { height: 96px; width: 96px; }
.img-size-112 { height: 112px; width: 112px; }
.img-size-128 { height: 128px; width: 128px; }

/* general styles before moving to SCSS
-------------------------------------------------- */
.pointer {
    cursor: pointer;
}

.text-decoration-underline {
    text-decoration: underline;
}

.number-input {
    width: 85px;
}

.line-height-100pct {
    line-height: 100%;
}

.header-app-logo {
    height: 1.75rem;
    width: 1.75rem;
}

.sidenav-app-logo {
    height: 2.25rem;
    width: 2.25rem;
}

.login-app-logo {
    height: 2.5rem;
    width: 2.5rem;
}

.messageBlock {
    margin-bottom: 10px;
}

.w-85 {
    width: 85%;
}

.w-90 {
    width: 90%;
}

.w-95 {
    width: 95%;
}

input[required]:not([type=checkbox]),
select[required],
input[data-val="true"][data-val-required]:not([type=checkbox]),
select[data-val="true"][data-val-required] {
    border-left: 4px solid #1f9bcf; /* text-info color */
}

span.field-validation-error {
    color: #d9534f;
}

/* kendo style overrides
-------------------------------------------------- */
.k-grid.no-user-select tbody td {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.k-grid.k-grid-condensed tbody td {
    padding: 0.4em;
}

.k-dropdowntree, .k-dropdown {
    width: 75%;
}

.k-dropdowntree .k-dropdown-wrap,
.k-dropdowntree .k-dropdown-wrap:hover,
.k-dropdowntree .k-dropdown-wrap.k-state-focused,
.k-dropdowntree.k-state-focused,
.k-dropdown .k-dropdown-wrap,
.k-dropdown .k-dropdown-wrap:hover,
.k-dropdown .k-dropdown-wrap.k-state-focused,
.k-dropdown.k-state-focused {
    background-color: #f6f6f6;
    border-color: rgba(0, 0, 0, .08);
    color: #656565;
}

/* lg.js loader styles
-------------------------------------------------- */
.loader {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 9999995;
}

.loader-background {
    background-color: gray;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0.3;
}

.spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: 100px;
    height: 100px;
    opacity: 1.0;
    text-align: center;
    vertical-align: middle;
    z-index: 9999999;
    background-color: #fff;
    border: solid 1px #373a3c;
    border-radius: 5px;
    box-shadow: none; /*0px 0px 20px 2px #11547b;*/
}

/* form styles
-------------------------------------------------- */
dl.inline-flex {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    width: 300px; /* set the container width*/
    overflow: visible;
}

dl.inline-flex dt {
    flex: 0 0 50%;
    text-overflow: ellipsis;
    overflow: hidden;
}

dl.inline-flex dd {
    flex: 0 0 50%;
    margin-left: auto;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
}

dl.inline dd {
    display: inline;
    margin: 0;
}

dl.inline dd:after {
    display: block;
    content: '';
}

dl.inline dt {
    display: inline-block;
    min-width: 150px;
    text-align: right;
    padding-right: 5px;
}

.card-body .inline-form .row,
.card-body.inline-form .row {
    margin: 0 0 15px 0;
}

.card-body .inline-form label,
.card-body.inline-form label {
    width: 25%;
    padding-right: 3px;
    font-weight: bold;
    text-align: right;
}

.card-body .inline-form .k-datepicker,
.card-body.inline-form .k-datepicker {
    height: auto;
}

.form-group label {
    font-weight: bold;
}

@keyframes lds-dual-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes lds-dual-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.lds-dual-ring {
    position: relative;
}

.lds-dual-ring div {
    position: absolute;
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
    border-radius: 50%;
    border: 6px solid #000;
    border-color: #2780E3 transparent #2780E3 transparent;
    -webkit-animation: lds-dual-ring 1s linear infinite;
    animation: lds-dual-ring 1s linear infinite;
}

.lds-dual-ring {
    width: 100px !important;
    height: 100px !important;
    -webkit-transform: translate(-50px, -50px) scale(0.5) translate(50px, 50px);
    transform: translate(-50px, -50px) scale(0.5) translate(50px, 50px);
}

/* bootstrap overrides */
.modal.left .modal-dialog {
    position: fixed;
    right: 0;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.right .modal-body {
    padding: 15px 15px 80px;
}

.modal.right.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
    right: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
    border-radius: 0;
    border: none;
}

.modal-header {
    border-bottom-color: #eeeeee;
    background-color: #fafafa;
}

/* ----- PANEL STYLE ----- */
#left-dock-panel {
    width: 0;
    position: fixed;
    z-index: 1;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    padding-top: 60px;
}

    #left-dock-panel #panel-close-button {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
    }

    #left-dock-panel #panel-title {
        position: absolute;
        top: 0;
        left: 10px;
        font-size: 36px;
    }

