﻿/* 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. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* form validation */

.form-control.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* miscellaneous */
hidden {
    display: none !important;
}

ul.simple {
    list-style-type: none;
    padding-left: 0;
}

/* icons */

.icon-success {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%2328a745' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/><path d='M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z'/></svg>");
    background-repeat: no-repeat;
}

.icon-success:hover {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%2328a745' d='M 0 8 A 8 8 0 0 0 16 8 A 8 8 0 0 0 0 8 Z'/><path fill='white' d='M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z'/></svg>");
    background-repeat: no-repeat;
}

.icon-warning {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23ffc107' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/><path d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/></svg>");
    background-repeat: no-repeat;
}

.icon-warning:hover {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23ffc107' d='M 0 8 A 8 8 0 0 0 16 8 A 8 8 0 0 0 0 8 Z'/><path fill='white' d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/></svg>");
    background-repeat: no-repeat;
}

.icon-unknown {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%2317a2b8' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/><path d='M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z'/></svg>");
    background-repeat: no-repeat;
}

.icon-unknown:hover {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%2317a2b8' d='M 0 8 A 8 8 0 0 0 16 8 A 8 8 0 0 0 0 8 Z'/><path fill='white' d='M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z'/></svg>");
    background-repeat: no-repeat;
}

.icon-error {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/><path d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/></svg>");
    background-repeat: no-repeat;
}

.icon-error:hover {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23dc3545' d='M 0 8 A 8 8 0 0 0 16 8 A 8 8 0 0 0 0 8 Z'/><path fill='white' d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/></svg>");
    background-repeat: no-repeat;
}

.icon-expand {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%236c757d' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z' /><path fill-rule='evenodd' d='M3.646 6.646 a .5 .5 0 0 1 .708 0 L 8 10.293 l 3.646 -3.647 a .5 .5 0 0 1 .708 .708 l -4 4 a .5 .5 0 0 1 -.708 0 l -4 -4 a .5 .5 0 0 1 0 -.708z' /></svg>");
    background-repeat: no-repeat;
}

.icon-expand:hover {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%236c757d' d='M 0 8 A 8 8 0 0 0 16 8 A 8 8 0 0 0 0 8 Z' /><path fill-rule='evenodd' fill='white' d='M3.646 6.646 a .5 .5 0 0 1 .708 0 L 8 10.293 l 3.646 -3.647 a .5 .5 0 0 1 .708 .708 l -4 4 a .5 .5 0 0 1 -.708 0 l -4 -4 a .5 .5 0 0 1 0 -.708z' /></svg>");
    background-repeat: no-repeat;
}

.icon-collapse {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%236c757d' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z' /> <path fill-rule='evenodd' d='M7.646 4.646 a .5 .5 0 0 1 .708 0 l 4 4 a .5 .5 0 0 1 -.708 .708 L 8 5.707 l -3.646 3.647 a .5 .5 0 0 1 -.708 -.708 l 5 -5z'/></svg>");
    background-repeat: no-repeat;
}

.icon-collapse:hover {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%236c757d' d='M 0 8 A 8 8 0 0 0 16 8 A 8 8 0 0 0 0 8 Z' /> <path fill='white' fill-rule='evenodd' d='M7.646 4.646 a .5 .5 0 0 1 .708 0 l 4 4 a .5 .5 0 0 1 -.708 .708 L 8 5.707 l -3.646 3.647 a .5 .5 0 0 1 -.708 -.708 l 5 -5z'/></svg>");
    background-repeat: no-repeat;
}

.icon-x {
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 16 16'><path d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z' /><path d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
}

    .icon-x:hover {
        display: inline-block;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23ff0000' d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/><path fill='%23ffffff' d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/></svg>");
        background-repeat: no-repeat;
    }


/* scrolling table body */
.bodycontainer {
    width: 100%;
    margin: 0;
    overflow-y: auto;
}

.table-scrollable {
    margin: 0;
    padding: 0;
}

/* collapse - toggle button elements */

.text-toggle[aria-expanded=false] .text-expanded {
    display: none;
}

.text-toggle[aria-expanded=true] .text-collapsed {
    display: none;
}

tr.collapse td {
    border-top: none;
}

/* misc text elements */

.form-vertical-align {
    display: table-cell;
    height: calc(1.5em + 0.75rem + 2px);
    vertical-align: middle;
}

/* standardized controls */

button.btn-standard {
    height: 40px;
    width: 140px;
    margin-right: 10px;
}

/* Settings Toast info */
#toast-info {
    min-width: 250px;
    padding-right: 1.25rem;
    text-align: center;
    position: fixed;
    z-index: 1;
    right: 0.5rem;
    bottom: 50px;
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 50px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 50px;
        opacity: 1;
    }
}

/* div.row Grid Striped*/
div.grid-striped > div.row:nth-child(odd) {
    background-color: #f2f2f2;
}

.rms-btn {
    width: 6rem;
}

/* Dropdown and Dropdown Menu Styles
-------------------------------------------------- */
#dropdown-settings-menu:hover #settings-menu,
#dropdown-wcm-menu:hover #wcm-settings-menu,
#dropdown-system-menu:hover #system-settings-menu,
#dropdown-access-menu:hover #access-settings-menu{
    display: block;
    margin-top: 0;
    margin-right:1px;
}

.cursor-pointer{
    cursor:pointer;
}

.active-setting-section{
    border-bottom: 5px solid #0078d7;
}


/* The Modal (background) */
.rmsmodal {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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 */
}

    .rmsmodal[data-visible] {
        display: block;
    }

    .rmsmodal:not([data-visible]) {
        display: none;
    }

/* Modal Content/Box */
.rmsmodal-content {
    background-color: #fefefe;
    /* disabled so we can set it on the modal itself
    margin: 5% auto;
    width: 80%;
    */
     padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
}

/* The Close Button */
.rmsmodal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .rmsmodal-close:hover,
    .rmsmodal-close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }


/* ON OFF Toggle Switch */
input:where([type="checkbox"][role="switch"]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    font-size: inherit;
    width: 2em;
    height: 1em;
    box-sizing: content-box;
    border: 1px solid;
    border-radius: 1em;
    border-color: #adb5bd;
    vertical-align: text-bottom;
    margin: auto;
    color: inherit;
    margin-right: 3em;
}

    input:where([type="checkbox"][role="switch"]):checked {
        background-color: #007bff;
        border-color: #007bff;
    }

        input:where([type="checkbox"][role="switch"]):checked:disabled {
            background-color: #adb5bd;
            border-color: #adb5bd;
        }

    input:where([type="checkbox"][role="switch"])::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(0, -50%);
        box-sizing: border-box;
        width: 0.8em;
        height: 0.8em;
        margin: 0 0.15em;
        border: 1px solid;
        border-color: #adb5bd;
        border-radius: 50%;
        background: #adb5bd;
        transition: left 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, border-color 0.2s;
    }

    input:where([type="checkbox"][role="switch"]):checked::before {
        left: 0.9em;
        transition: left 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, border-color 0.2s;
        background: #f8f9fa;
        border-color: #f8f9fa;
    }

    input:where([type="checkbox"][role="switch"]):disabled::after {
        color: #adb5bd;
    }

    input:where([type="checkbox"][role="switch"]):checked::after {
        content: "ON";
        position: absolute;
        top: 50%;
        left: 2.3em;
        transform: translateY(-50%);
        white-space: nowrap;
        font-size: 0.9em;
        padding-left: 0.3em;
    }

    input:where([type="checkbox"][role="switch"]):not(:checked)::after {
        content: "OFF";
        position: absolute;
        top: 50%;
        left: 2.3em;
        transform: translateY(-50%);
        white-space: nowrap;
        font-size: 0.9em;
        padding-left: 0.3em;
    }

label-count-block {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.wcm-info {
    padding: 1px;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    border: 1px solid;
    border-radius: 0.25rem;
    color: #856404;
}

.wcm-warning {
    padding: 1px;
    background-color: #fff3cd;
    border-color: #ffeeba;
    border: 1px solid;
    border-radius: 0.25rem;
    color: #856404;
}

.wcm-error {
    padding: 1px;
    background-color: #FDC3BE;
    border-color: #a94442;
    border: 1px solid;
    border-radius: 0.25rem;
    color: #8b0000;
}

.child-padding {
    padding-left: 3px;
    padding-right: 3px;
}

.child-padding > * {
    margin-right: 3px;
    padding-right: 3px;
}