﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */

:root {
    --purple: #8c3d9a;
}


.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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%;
}

.companySurvey-template-textarea {
    min-height: 150px;
}

.has-error .bootstrap-select .dropdown-toggle, .error .bootstrap-select .dropdown-toggle [data-id="templateSelector"] {
    border-color: #888888;
}

.tableRowClick
{
    cursor: pointer;
}

.form-check .form-check-label {
    text-transform: none;
}

.has-error .form-control {
    color: #333333;
}

.dx-theme-generic-typography a.btn-default {
    color: #fff;
}

.has-error .form-control:focus {
    background-color: #FFFFFF;
    border: 1px solid #AAAAAA;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0 !important;
    color: #333333;
}

.form-check .form-check-sign::before, .form-check .form-check-sign::after {
    font-family: 'Font Awesome\ 5 Free';
    content: '\f0c8';
}

.form-check .form-check-sign::after {
    font-family: 'Font Awesome\ 5 Free';
    content: '\f14a';
    color: #8c3d9a;
}

.form-check-radio .form-check-sign::before {
    font-family: 'Font Awesome\ 5 Free';
    content: '\f111';
}

.form-check-radio input[type="radio"]:checked + .form-check-sign::after {
    font-family: 'Font Awesome\ 5 Free';
    content: '\f192';
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom.open {
    top: 75px !important;
}

#fixedHeader {
    position: fixed;
    top: 0;
    display: none;
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 999;
}

.table>thead>tr>th {
    font-size: 1em;
}

.table-question-text {
    font-size: 1.2em;
}


/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

textarea.form-control {
    height: 100%;
}

.survey-radio {
    margin-bottom: 0;
    padding-left: 0px;
}

.form-check:hover .form-check-sign::before {
    color: #8c3d9a;
}

.logo {
    background-color: #fff;
}

 .login-title {
    color: #FFF;
}


.btn-purple {
    border: 1px solid #8c3d9a;
    color: #FFFFFF;
    background-color: #8c3d9a;
    cursor: pointer;
}

    .btn-purple:hover,
    .btn-purple:focus,
    .btn-purple:active,
    .btn-purple.active,
    .open > .btn-purple.dropdown-toggle {
        background-color: #7e0094;
        color: #FFFFFF;
        border-color: #7e0094;
    }

    .btn-purple.disabled,
    .btn-purple.disabled:hover,
    .btn-purple.disabled:focus,
    .btn-purple.disabled.focus,
    .btn-purple.disabled:active,
    .btn-purple.disabled.active,
    .btn-purple:disabled,
    .btn-purple:disabled:hover,
    .btn-purple:disabled:focus,
    .btn-purple:disabled.focus,
    .btn-purple:disabled:active,
    .btn-purple:disabled.active,
    .btn-purple[disabled],
    .btn-purple[disabled]:hover,
    .btn-purple[disabled]:focus,
    .btn-purple[disabled].focus,
    .btn-purple[disabled]:active,
    .btn-purple[disabled].active,
    fieldset[disabled] .btn-purple,
    fieldset[disabled] .btn-purple:hover,
    fieldset[disabled] .btn-purple:focus,
    fieldset[disabled] .btn-purple.focus,
    fieldset[disabled] .btn-purple:active,
    fieldset[disabled] .btn-purple.active {
        background-color: transparent;
        border-color: #8c3d9a;
    }

    .btn-purple.btn-outline {
        color: #8c3d9a;
        background-color: transparent;
        border: 1px solid #8c3d9a;
        opacity: 1;
        filter: alpha(opacity=100);
    }

        .btn-purple.btn-outline:hover,
        .btn-purple.btn-outline:focus,
        .btn-purple.btn-outline:active,
        .btn-purple.btn-outline.active,
        .open > .btn-purple.btn-outline.dropdown-toggle {
            background-color: #8c3d9a;
            color: #FFFFFF;
            border: 1px solid #8c3d9a;
        }

.btn-purple.btn-outline .caret {
    border-top-color: #FFFFFF;
}

.btn-purple.btn-link {
    border-color: transparent !important;
    background-color: transparent !important;
    color: #888888;
}

.btn-purple.btn-link:hover,
.btn-purple.btn-link:focus,
.btn-purple.btn-link:active {
    text-decoration: none;
    border-color: transparent;
    color: #797979;
}

    .btn-purple .caret {
        border-top-color: #8c3d9a;
    }


.survey-form table {overflow: hidden;}

.survey-form td {
    /*white-space: pre-wrap;*/
}

.survey-form td:last-child {
    display: table-cell;
}

.navbar .navbar-nav .nav-item .nav-disable:hover {
    cursor: default;
    color: #888888;
}

.survey-progress {
    padding-left: 0px;
}

.survey-progress .item {
    border-radius: 50%;
    border: 2px solid #9a9a9a;
    width: 25px;
    height: 25px;
    list-style-type: none;
    display: inline-block;
    color: #9a9a9a;
}

.survey-progress .active {
    background-color: #8c3d9a;
    border-color: #8c3d9a;
    color: #fff;
}


.topmenu {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    border-bottom-width: 0px;
}


.full-page::before {
    background-color: #8c3d9a;
    opacity: .35;
}


@media only screen and (max-width: 767px) {
    .survey-form table,
    .survey-form thead,
    .survey-form tbody,
    .survey-form th,
    .survey-form td,
    .survey-form tr {
        display: block;
    }

    .survey-form thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .survey-form tr {
        /*border: 1px solid #ccc;*/
    }

    .survey-form td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

    .survey-form td:before {
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    .survey-form td:before {
        padding-left: 10px;
        text-align: right;
        color: #9a9a9a;
        padding-top: 1px;
        content: attr(data-title);
    }

    .card .table tbody td:last-child,
    .card .table thead th:last-child {
        padding-right: 8px;
        display: block;
    }
}


@media only screen and (max-width: 991px) {
    .main-panel .navbar-fixed {
        width: 100%;
    }
}



    /* Devexpress*/
    .options {
        padding: 20px;
        margin-top: 20px;
        background-color: rgba(191, 191, 191, 0.15);
    }

    .caption {
        font-size: 18px;
        font-weight: 500;
    }

    .option {
        margin-top: 10px;
    }

.dx-theme-generic-typography .btn-purple {
    color: #FFF;
}
