﻿body {
    font-size: .875rem;
}

a {
    text-decoration: none;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
  right: 0;
  */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #727272;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

div.dt-buttons, .answers_alerts_breaks_filter {
    float: right !important;
    margin-left: 10px;
}

.dataTables_length {
    float: left !important;
}

.dataTable-btn {
    color: black !important;
    background-color: transparent !important;
    border-color: transparent !important;
}

main {
    min-height: 100vh;
}

table thead tr th,
table thead tr td,
table tfoot tr th,
table tfoot tr td {
    text-align: center !important;
}




span > form > .delete-option,
.edit-option,
[data-userDataId] > div > span > .delete-option {
    display: none;
}

span:hover > form > .delete-option,
[data-answerId]:hover > span > .edit-option,
[data-stateId]:hover > span > .edit-option,
[data-userDataId]:hover > div > span > .edit-option,
[data-userDataId]:hover > div > span > .delete-option {
    display: block;
}

.floating {
    padding: 1rem 0.75rem;
}

.form-floating > label.floating {
    color: rgba(var(--bs-body-color-rgb), 0.65);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > input, .form-floating > select, .form-floating > textarea, .floating:has(:not(label)) {
    background-color: transparent;
    border-style: none;
    border-bottom: 2px solid #dee2e6 !important;
}

    .form-floating > input:focus, .form-floating > select:focus, .form-floating > textarea:focus, .floating:focus {
        box-shadow: 0px 2px 0px 0rem rgb(3 105 255 / 83%);
        background-color: #f8f9fa6b;
    }

.form-floating > .form-select {
    padding-bottom: 0.425rem;
}

.mobile-test {
    background-image: url('img/iphone-features.png');
    background-size: 220px;
    background-repeat: no-repeat;
    width: 240px !important;
    height: 460px !important;
}

    .mobile-test iframe {
        position: relative;
        width: 190px !important;
        height: 338px !important;
        overflow: hidden;
        border: none;
        margin: 0 auto;
        left: 4px;
        top: 61px;
    }

.table-sm > :not(caption) > * > * {
    padding: 0.15rem 0.15rem;
}

.dataTables_info {
    float: left;
}

.signature {
    border: 2px dotted #CCCCCC;
    border-radius: 15px;
    cursor: crosshair;
}

.loadready:empty {
    display: none;
}

.deleted {
    background: linear-gradient(to top left, rgba(0,0,0,0) 0%, rgba(0,0,0,0) calc(50% - 0.8px), rgba(0,0,0,1) 50%, rgba(0,0,0,0) calc(50% + 0.8px), rgba(0,0,0,0) 100%), linear-gradient(to top right, rgba(0,0,0,0) 0%, rgba(0,0,0,0) calc(50% - 0.8px), rgba(0,0,0,1) 50%, rgba(0,0,0,0) calc(50% + 0.8px), rgba(0,0,0,0) 100%);
}

.dropdown-item.active, .dropdown-item:active {
    color: black;
}

.session-id {
    font-size: smaller;
}
/*
.session-id:hover {
    max-width: none;
}*/
.dropdown-item.active, .dropdown-item:active {
    background-color: #0d6efdcf;
}


.table-XY {
    overflow: hidden;
}

    .table-XY tr:hover {
        background-color: #ffa;
        border-color: #0a58ca;
        border-style: solid;
    }

    .table-XY td, .table-XY th {
        position: relative;
    }

        .table-XY td:hover::after,
        .table-XY th:hover::after {
            /*       content: "";
            position: absolute;
            background-color: #ffa;
            left: 0;
            top: -5000px;
            height: 10000px;
            width: 100%;
            z-index: -1;*/
            border-color: #0a58ca;
            border-style: solid;
        }

.pagination {
    --bs-pagination-padding-y: 0.1rem;
}

.multiselect-option.dropdown-item.multiselect-group-option-indented.disabled {
    display: none;
}

[data-qType="Geolocation"] input,
[data-qType="SignaturePad"] input {
    opacity: 0;
    width: 0;
    float: left; /* Reposition so the validation message shows over the label */
}

[data-qType="SignaturePad"] canvas {
    border: 2px dotted #CCCCCC;
    border-radius: 15px;
    cursor: crosshair;
}


.rating {
    border: none;
}

    .rating > input {
        display: none;
    }

    .rating > label:before {
        margin: 5px;
        font-family: "bootstrap-icons";
        display: inline-block;
        content: "\F586";
    }

    .rating > .half:before {
        content: "\F587";
        position: absolute;
    }

    .rating > label {
        color: #7b8085;
        display: grid;
        text-align: center;
        align-content: space-evenly;
    }

    .rating > input:checked ~ label,
    .rating:not(:checked) > label:hover,
    .rating:not(:checked) > label:hover ~ label {
        color: #FFD700;
    }

        .rating > input:checked + label:hover,
        .rating > input:checked ~ label:hover,
        .rating > label:hover ~ input:checked ~ label,
        .rating > input:checked ~ label:hover ~ label {
            color: #FFED85;
        }

    .rating label span {
        font-size: 1rem;
        color: black;
        margin-top: 5px;
    }
