/*!
* nicify CSS
* farbCode GmbH 2017
*/

/*
*
*  L A Y O U T
*
***********************************************************************************************************************/

body {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    background: #ecedee;
}

p {
    font-size: 1rem;
}

h1 {
    font-size: 28px;
    font-weight: 500;
    color: #555;
    margin-top: 40px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #555;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-logo {
    margin: 52px auto 44px;
    text-align: center;
}

.main-logo img {
    width: 60%;
}

/*
* F O R M S
*
************************************************************************************************************************/
.custom-radio .custom-control-input:checked ~ .custom-control-indicator {
    background-image: none;

}

/*
* B U T T O N S
*
************************************************************************************************************************/
.btn-secondary {
    color: #111;
    background-color: #dddddd;
    border-color: #dddddd;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary.active, .show > .btn-secondary.dropdown-toggle {
    color: #111;
    background-color: #cccccc;
    border-color: #dddddd;
}


/*
* B A D G E
*
************************************************************************************************************************/
.badge-ackn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    width: 125px;
}

.badge-ackn2 {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    width: 30px;
}


/*
* S W I T C H E R
*
************************************************************************************************************************/
.container-switcher {
    font-size: 1.25rem;
    font-weight: 300;
    color: #555;
}

.container-switcher i {
    margin: 0 20px;
    font-size: 1rem;
}

.container-switcher .form-inline {
    float: right;
    margin-bottom: 1rem;
}

.container-switcher .form-group {
    margin-bottom: 0;
}

.container-switcher .form-control {
    border: none;
    background: transparent !important;
    font-weight: 300;
    color: #555;
}

/*
* S I D E B A R
*
************************************************************************************************************************/
.sidebar-logo {
    margin: 32px auto 24px;
    text-align: center;
}

.sidebar-logo img {
    width: 60%;
}

/* 1. Ebene  */
.sidebar .nav > .nav-item > .nav-link {
    padding: 20px 0;
}

/* 1. Ebene  */
.sidebar .nav > .nav-item > .nav-link i {
    width: auto;
    margin: 0.5rem auto;
    font-size: 30px;
    color: #eee;
    display: block !important;
}

/* Alle weiteren Ebenen  */
.sidebar .nav .nav-item .nav-link i {
    color: #eee;
}

.sidebar .nav .nav-item {
    text-align: center;
}

.sidebar .nav .nav-item.nav-dropdown .nav-item {
    text-align: left;
}

.sidebar .nav .nav-item .nav-link.nav-dropdown-toggle::before,
.sidebar .nav .nav-item .navbar .nav-dropdown-toggle.dropdown-toggle::before,
.navbar .sidebar .nav .nav-item .nav-dropdown-toggle.dropdown-toggle::before {
    font-size: 2rem;
}

.sidebar-usermenu hr {
    border-color: #ffffff;
    width: 80%;
}

.sidebar-usermenu ul {
    list-style: none;
}

.sidebar-usermenu li {
    float: left;
}

.sidebar-usermenu a {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none !important;
}

.sidebar .nav .nav-item .nav-link.active {
    color: #ffffff;
    background: #20a8d8;
}

.sidebar .nav .nav-item .nav-link.active i {
    color: #ffffff;
}

.navbar-toggler {
    position: absolute;
    border: none;
    color: #ffffff;
    padding: 0.55rem 0.75rem;
}

.navbar-toggler:focus {
    outline: none !important;
}

/*
* I N D E X
*
************************************************************************************************************************/
.table {
    margin-top: 20px;
}

.table.table-tight th, .table.table-tight td {
    padding: 0.5rem;
}

.table.table-sm th, .table.table-sm td {
    padding: 0.25rem;
}

.nav-pagination {
    margin-bottom: 30px;

}

.link-copy {
    cursor: pointer;
}

/*
* Q U E S T I O N N A I R E
*
************************************************************************************************************************/
.list-group-item {
    position: relative;
}

.list-group-statusbox {
    position: absolute;
    left: 0;
    top: 0;
}

.subquestion .list-group-statusbox {
    top: -5px;
    left: 50px;
}

.list-group-statusbox-item {
    display: inline-block;
}

.input_freetext {
    margin-left: 10px;
    width: 150%;
}

/*
* R E P O R T
*
************************************************************************************************************************/
.ratings {
    position: relative;
    vertical-align: middle;
    display: inline-block;
    color: #b1b1b1;
    overflow: hidden;
}

.ratings-text {
    font-size: 12px;
    line-height: 1;
}

.full-stars {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffd024;
}

.empty-stars:before, .full-stars:before {
    content: "\2605\2605\2605\2605\2605";
    font-size: 1.5rem;
}

.ratings-lg .ratings-text {
    font-size: 1rem;
    line-height: 1;
}

.ratings-lg .empty-stars:before, .ratings-lg .full-stars:before {
    content: "\2605\2605\2605\2605\2605";
    font-size: 3.5rem;
    line-height: 1;
}

.feedback-list {
    list-style: none;
    font-size: 11px;
    padding: 0;
    margin: 0;
}

.card-shadow {
    box-shadow: 0 1px 4px 0 #d4d4d5;
}

.speech-bubble {
    position: relative;
    background: #eee;
    border-radius: .4em;
    padding: 15px;
    margin-bottom: 40px;
    margin-top: 15px;
    display: inline-block;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 0;
    height: 0;
    border: 24px solid transparent;
    border-top-color: #eee;
    border-bottom: 0;
    border-left: 0;
    margin-left: -12px;
    margin-bottom: -24px;
}

a.link-neutral {
    color: inherit;
}

/*
* C H A R T I S T
*
************************************************************************************************************************/
.chart-distribution {
    height: 100px
}

.chart-main {
    height: 200px;
    margin-top: 80px;
}

.chart-default {
    height: 150px
}

/*VERTICAL DIV */
.chart-distribution .ct-grid.ct-horizontal,
.chart-main .ct-grid.ct-horizontal,
.chart-default .ct-grid.ct-horizontal {
    stroke-width: 1px;
    stroke: #cccccc !important;
    stroke-dasharray: none;
}

.chart-distribution .ct-grid.ct-vertical,
.chart-main .ct-grid.ct-vertical,
.chart-default .ct-grid.ct-vertical {
    stroke: #888 !important;
    stroke-dasharray: none;
    stroke-width: 1px;
}

/* AXIS */
.chart-distribution .ct-label.ct-horizontal,
.chart-main .ct-label.ct-horizontal,
.chart-default .ct-label.ct-horizontal {
    color: #888 !important;
    fill: #888 !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    text-anchor: middle !important;
    text-align: center !important;
}

.chart-distribution .ct-label.ct-vertical,
.chart-main .ct-label.ct-vertical,
.chart-default .ct-label.ct-vertical {
    color: #888 !important;
    fill: #888 !important;
    font-weight: 400 !important;
    font-size: 11px !important;
}

/*
* F E   F E E D B A C K
*
************************************************************************************************************************/
.card-feedback {
    margin-top: 2rem;
}

.card-feedback a,
.card-feedback p {
    font-size: 1rem;
}

.card-feedback p.space {
    margin: 2rem 0;
}

.card-feedback .feedback-house-logo {
    width: 150px;
}

.card-feedback .col-form-label {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

.card-feedback h3 {
    margin-top: 5rem;
    margin-bottom: 0;
}

.card-feedback h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.card-feedback h5 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 0.875rem;
}

.card-feedback .form-group-check {
    margin-top: 10px;
}

.card-feedback .form-group-check-label {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

.card-feedback .btn-submit {
    margin-top: 2rem;
}

.card-feedback .subquestion {
    padding-left: 50px;
    position: relative;
}

/*
* F E   Q R   F E E D B A C K
*
************************************************************************************************************************/
.app-body.qr {
    margin-top: 0;
}

.app-body.qr .card-feedback {
    margin-top: 1rem;
}

.star-rating {
    text-align: center;
    line-height: 1.25;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.star-rating .fa {
    cursor: pointer;
}

.star-rating .fa-star {
    color: #fccc0a;
}

.thumbs-rating {
    text-align: center;
    line-height: 1.25;
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.thumbs-rating .fa {
    cursor: pointer;
    margin: 0 20px;
}

.thumbs-rating .fa-thumbs-down {
    color: #fc504c;
}

.thumbs-rating .fa-thumbs-up {
    color: #4dbd74;
}

.smiley-rating {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.smiley-rating img {
    width:12%;
    max-width: 50px;
    cursor: pointer;
    margin:0 2%;
}

.smiley-rating img.gray {
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: grayscale(1);
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    transition-property: filter;
    transition-duration: 0.3s;
}

/*
* S T A Y   F A C E L I F T
*
************************************************************************************************************************/
.stay-btn-row {
    margin-bottom: 20px;
}

.stay-btn {
    width: 100%;
    padding: 5px;
    color: #151b1e;
    font-size: 11px;
    vertical-align: middle;
    border-radius: 5px;
    white-space: normal;
}


/*
* F O O T E R
*
************************************************************************************************************************/
.app-footer {
    min-height: 70px;
    background: none;
    border: none;
}

.app-footer .footer-logo {
    -webkit-filter: grayscale(100%) opacity(50%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%) opacity(50%);
}

/*
* B O O T S T R A P   E R W E I T E R U N G E N
*
************************************************************************************************************************/

@media (min-width: 576px) {
    .col-sm-2x {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/*
* J Q U E R Y   F I L E U P L O A D E R
*
************************************************************************************************************************/
/*
 * jQuery File Upload Plugin CSS
 * https://github.com/blueimp/jQuery-File-Upload
 *
 * Copyright 2013, Sebastian Tschan
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * https://opensource.org/licenses/MIT
 */

.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}

/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        filter: alpha(opacity=0);
        font-size: 100%;
        height: 100%;
    }
}
