﻿/* 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. */
body {
    height: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 20px;
    background-color: #eee;
    font-family: 'Open Sans' !important;
    font-size: 14px;
}

hr {
    border-top: 1px solid #dbdbdb;
}

pre.alert-danger {
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Baloo 2' !important;
    font-weight: 500;
    color: #333333;
    padding-top: 0.75rem;
}

h1 {
    padding-top: 25px;
    font-size: 18px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
    margin: 20px 0;
}

h4 {
    font-size: 16px;
}

small {
    font-size: 14px;
}

.smaller {
    font-size: 12px;
}

a {
    color: #0D86E3;
    text-decoration: none;
}

    a:hover {
        color: #0D86E3;
        text-decoration: underline;
    }

form {
    height: inherit;
}

label, th {
    font-weight: normal;
}

input[type=checkbox], .checkbox-inline input[type=checkbox] {
    margin-top: 0.5px;
    width: 1.3em;
    height: 1.3em;
}

.custom-checkbox {
    padding-left: 2.5rem;
}

select option:disabled {
    background: #dbdbdb;
    color: #000;
    font-style: italic;
}

.ml-form-processing {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    z-index: 5;
}

/* spinning circle */
.ml-spinner {
    border: 12px solid #f3f3f3; /* Light grey */
    border-top: 12px solid #3498db; /* Blue */
    border-radius: 50%;
    width: auto;
    height: auto;
    animation: spin 2s linear infinite;
}

.ml-input-spinner {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #3498db; /* Blue */
    width: 30px;
    height: 30px;
    top: 2px;
    right: 25px;
    float: right;
    position: absolute;
    z-index: 13;
}

.ml-modal-processing-spinner {
    width: 75px;
    height: 75px;
    z-index: 14;
}

.ml-center {
    position: absolute;
    top: 50%; /* center vertically */
    left: 50%; /* center horizontally */
    transform: translate(-50%, -50%); /* center correction based on div's size*/
    vertical-align: middle;
    text-indent: 60px;
}

.ml-align-middle {
    vertical-align: middle !important;
}

.ml-default-selection {
    font-style: italic;
    color: grey;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Buttons */
.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0; /* fully transparent, but clickable */
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.btn-primary-alt {
    color: #F7F2E6;
    background-color: #285AA0;
    border: 2px solid #285AA0;
}

.btn-primary-alt:hover,
.btn-primary-alt:active {
    color: #F5E6C3;
    background-color: #1851A0;
}

.btn-primary-alt:disabled {
    color: #F7F2E6;
    background-color: #BDBDBD;
    border: 2px solid #BDBDBD;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

.row {
    margin: 4px auto;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.ml-body-container {
    /*margin-left: 250px;*/
}
/* Body Header wrapping element */
.ml-body-header {
    min-height: 70px;
}

    .ml-body-header .row {
        margin: 0;
        height: 100%;
    }

    .ml-body-header .header-detail-row {
        margin: 0;
        min-height: 70px;
        height: 100%;
        background-color: #fff;
        padding-left: 10px;
    }

@media (max-width: 992px) {
    .ml-body-header {
        height: auto;
    }
}

/* Body content wrapping element */
/* Set different background color */
.ml-body-content {
    /*
    padding: 15px;
*/
}

.ml-document {
    display: block;
    min-width: 80px;
    height: 59px;
    float: left;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    margin: 2px 5px 2px 5px;
    padding: 2px;
    text-decoration: none;
}

.ml-dropdown-menu {
    margin: 10px 0;
}

    .ml-dropdown-menu .dropdown-item {
        background: #091B3D;
        border-bottom: 1px solid rgba(227, 227, 227, 0.25);
        height: 45px;
        text-align: right;
        display: inline-block;
        vertical-align: middle;
        color: white;
        font-weight: bold;
        font-family: 'Open Sans' !important;
        font-size: 0.96rem;
        width: 100%;
    }

        .ml-dropdown-menu .dropdown-item:before {
            content: '';
            display: inline-block;
            vertical-align: middle;
            height: 100%;
        }

    .ml-dropdown-menu a.dropdown-item:hover {
        color: #091b3d;
        background-color: #ffffff;
    }

.dropdown-menu {
    padding-top: 0;
    padding-bottom: 0;
    min-width: 200px;
}

.dropdown-divider {
    margin: 0;
}

.ml-search-box {
    padding-top: 10px;
    background-color: #eee;
    height: 100%;
    vertical-align: middle;
}

.ml-detail-link {
    margin: 20px 0;
    margin-right: 10px;
}

.ml-nav-link {
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 10px;
}

    .ml-nav-link .bold-uppercase {
        font-weight: bold;
        text-transform: uppercase;
    }


/* ml.agent-tabs */
.tab-pane {
    border: solid 1px #ddd;
    border-top: 0;
    width: 100%;
    background-color: #fff;
    padding: 1.25rem;
    box-shadow: 0 1px 1px rgba(0,0,0,.05)
}

.nav-tabs {
    border-color: #ddd;
    width: 100%;
}

    .nav-tabs > li > a,
    .nav-tabs > li > a:hover,
    .nav-tabs > li > a:focus {
        border: 1px solid #ddd;
        background-color: #ddd;
        color: #333;
    }

    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:hover,
    .nav-tabs > li.active > a:focus {
        background-color: #fff;
        color: #000;
        border: 1px solid #ddd;
        border-bottom-color: transparent;
    }

/*.nav-tabs > li > a:hover {
        background-color: #ddd !important;
        border-radius: 5px;
        color: #333;
    }*/
.nav-item {
    margin-right: 1px;
}

.no-resize {
    resize: none;
}

/* TOOLTIP / AUTOCOMPLETE */
.ui-autocomplete {
    max-height: 160px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #eeeeee;
    border: #000000 solid 1px;
    padding-left: 12px;
    list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
}

.line-breaks {
    white-space: pre-line;
}

.col-form-label-value {
    padding-top: 7px;
}

.no-padding {
    padding: 0 !important;
    margin: 0 !important;
}

.fixed-width-thumbnail {
    width: 150px;
}

/* Bootstrap 4 overrides */
.btn:disabled,
.btn[disabled] {
    color: #495057;
    background-color: initial;
    border: 1px solid #ced4da;
}
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    font-family: 'Open Sans' !important;
}

    .btn-default:hover {
        background-color: #eee;
        border-color: #aaa;
    }
    .btn-group .btn-default:not(:disabled):not(.disabled).active {
        color: #fff;
        background-color: #eee;
        border-color: #aaa;

    }
    
.btn-primary {
    background-color: #0D86E3;
    border-color: #0D86E3;
    font-family: 'Open Sans' !important;
    font-weight: bold;
}

.btn-group .btn-primary {
    border-color: #0F3A8C;
    font-weight: 400;
}

    .btn-group .btn-primary:not(:disabled):not(.disabled).active,
    .btn-group .btn-default:not(:disabled):not(.disabled).active
    {
        background-color: #0F3A8C;
    }
