/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

div, p, span, h1, h2, h3, h4, h5, h6, table, td, tr, label, li, ul, ol, .ls-label-question, .ls-answers tbody .answertext {
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
}

.ls-label-question, .group-description {
    font-size: 16px !important;
}

body {
    display: flex;
    flex-direction:column;
    min-height: 100vh;
    background-image: url(../files/background50.png);
    background-position: left bottom;
    background-size: 800px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-bottom:0px !important;
}
#block_error{
    margin-bottom: calc(19% - 0%);
}

body > article {
    flex: 1; /* the main article should use as much space as possible */
}
body .top-container{
    margin-top:2em !important;
    font-size:1.2em;
}

.group-description, p{
 line-height:1.5em;
}

.unset{
    background: unset !important;
    border: none !important;
    margin-bottom:0 !important;
  }

.unset .question-title-container {
    background:unset !important;
    padding: 0;
    margin-bottom:0.5em;
}

.unset .answer-container{
    display:none !important;
}

.upload-button{
    margin-bottom: 1em;
}

.uploadedfiles tr{
    border-bottom: solid 1px lightgrey;
    border-top: solid 1px lightgrey;
}

.uploadedfiles tbody tr:nth-child(2n){
    background-color: #fbfbfb;
}

#welcome-container, .completed-wrapper{
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
    padding:1em;
    margin-top:1em;
    margin-bottom:1em;
}
.footer-flex-container {
			display: flex;
			justify-content: space-start;
			border-top:solid 1px #f0f0f0;
			padding-top:1em;
			background-color:white;
		}
.progress .progress-bar{
		background-color:#3E3E40;
}

.clpLogo{
   height: 40px;
    width: 40px;
    margin-right: 1em;
}

.fruity .text-primary {
    color:#2F2F2F;
    line-height:1.5em;
    font-size: 1.1em;
}
.fruity .text-info{
    color: #4F859A;
    line-height:1.5em;
    font-size: 1.1em;
}

body .answer-item label::after {
    background-color: #3E3E40;
}


li.imageselect-listitem .imageselect-container input.imageselect-checkbox:checked + label {
    border: 5px solid #18bc9c !important;
    border-radius: 5px;
  }

li.imageselect-listitem .imageselect-container .imageselect-label {
    border: 5px solid !important;
    border-radius: 5px !important;
 }

 li.imageselect-listitem .imageselect-container .imageselect-label::after {
    display: none !important;
  }

   .ls-move-btn, .ls-move-submit-btn, .action--ls-button-submit,  .btn, .btn-lg, .btn-primary{
    color: #fff;
    background-color: #3E3E40;
    border: 1px solid #3E3E40;
}


.fruity .btn-default {
    background-color: white;
    border: 1px solid #cccccc;;
    color: #3E3E40;
}


.btn-check, .ls-move-btn:hover, .ls-move-submit-btn:hover, .action--ls-button-submit:hover,  .btn:hover, .btn-lg:hover, .btn-primary:hover,
.ls-move-btn:active, .ls-move-submit-btn:active, .action--ls-button-submit:active,  .btn:active, .btn-lg:active, .btn-primary:active,
.ls-move-btn:focus, .ls-move-submit-btn:focus, .action--ls-button-submit:focus,  .btn:focus, .btn-lg:focus, .btn-primary:focus{
   background-color: white;
    border-color: rgb(62 62 64 / 100%);
    color: #3E3E40;
}

.fruity .text-danger, .fruity .has-error .control-label {
    color: #c72316;
}

#survey-nav{
background-color:white !important;
}

.fruity .navbar a.animate:after {
    text-align: right;
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #3487cb;
}


.fruity .navbar-toggle .icon-bar {
    background-color: #3E3E40;
}
.fruity .navbar-toggle {
    border: solid 1px #3E3E40;
}

.fruity .well {
    background-color: #ffffff;
    border: 1px solid #60a0d24f;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
    font-size: 1.15em;
}

.fruity a{
 color:#90268f;
}
.fruity a:hover, .fruity a:focus{
 color:#90268f;
}

.fruity .panel-primary>.panel-heading {
    color: #fff;
    background-color: #3E3E40;
    border: 1px solid #3E3E40;
}
.fruity .panel-primary {
    border: 1px solid #cccccc;
}

.fruity input[type="checkbox"]:checked:after, .fruity .checkbox input[type="checkbox"]:checked:after, .fruity .checkbox-inline input[type="checkbox"]:checked:after,.checkbox-item input[type="checkbox"]:checked+label::after, .checkbox-item input[type="radio"]:checked+label::after{
    background-color:#3E3E40;
}

.fruity .form-control:focus {
    border: 1px solid #4F859A;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(52 135 203 / 48%);
}

.ls-label-question, .ls-answers tbody .answertext{
 font-size: 1.05em;
}

.survey-name{
        margin-bottom: 1.5em;
}

.fruity hr {
    border-top: 1px solid #b3d3eb;
}

.fruity .text-danger, .fruity .has-error .control-label{
    margin-right:.5em;
}


.fruity .dropdown-menu>.active>a,.fruity .dropdown-menu>li>a:hover {
    background-color:#4F859A;
}
.fruity .dropdown-menu>.active>a:focus,.fruity .dropdown-menu>.active>a,.fruity .dropdown-menu>.active>a:hover{
    background-color:#3E3E40;
}



.form-inline .dropdown-item {
    width:100%;
    min-widht:350px;
}

.form-inline .bootstrap-select, .form-inline .bootstrap-select.form-control:not([class*=col-]) {
    width: auto;
    width: 100%;
    max-width: 350px;
}

.outcome-h4{
    font-weight:bold;
}

#chart{
    width: 90%;
    height: 20%;
    margin: auto;
    padding: 3em;
}

.chartWrapper{
    margin-bottom: 3em;
    background-color: #fff;
    box-shadow: 0 1px 6px rgb(0 0 0 / 12%), 0 1px 4px rgb(0 0 0 / 24%);
    position: relative;
    border-width: 0 0 0 5px;
    border-radius: 5px;
}    
    
.logo-container > img {
    max-height:115px;
}    
    
/* New Code */

.table>:not(:first-child) {
    border-top: 1px solid #dee2e6;
}

.survey-name{
    display:none;
}

.answer-container{
 padding:1em;    
 }


table tr, table td{
    border-color:#d9d9d9;
}

.answertext .control-label, .question-help-container{
    border-width:0;
}

.question-valid-container {
    text-align: left;
    padding-top: 0;
}

.question-container {
    margin-bottom: 2em;
    color: #444;
    border: 1px solid #dbdbdb;
    background-color: white;
    border-radius: 5px;
    
}

.question-title-container , .question-valid-container {
      background-color: white !important;
    }

.question-title-container{
     border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.answer-container{
    border:0;
}

.question-text {
 color:#444444; 
}

.checkbox-item input[type="checkbox"]:checked + label::after, .checkbox-item input[type="radio"]:checked + label::after{
    color:white;
}

.dropdown-menu > option:hover {
    background-image: none;
    background-color: #3e3e40ab !important;
}

.ls-error-mandatory{
    background-color:#ffe8e8;
}


tr.ls-error-mandatory td, tr.ls-error-mandatory{ 
    border-color:#ffb4b4 !Important;
}

tr.ls-error-mandatory:hover{ 
    border-color:#ffb4b4 !Important;
    background-color:#ffa9a9;
}


.tempus-dominus-widget .date-container-days div:not(.no-highlight).active {
    background-color:#3E3E40
}
.tempus-dominus-widget .date-container-days div:not(.no-highlight).today:before{
border-color: rgba(0, 0, 0, .2) transparent #3E3E40;
}

.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .show>.btn-primary.dropdown-toggle{
    background-color: white ;
    border-color: #3e3e40  ;
    color:#3e3e40;
}

.sortable-list{
    margin-top:.5em !important;
}

select option:hover, select option:active, select option:focus{
    background-color: #3E3E40 !important;
    color:white !important;
}


.checkbox-item input[type="checkbox"]:checked + label::before {
    border: solid 1px #3E3E40;
    background-color: #3E3E40;
    outline: none; 
}

.progress{
    width:85%;
    margin:auto;
}

.tempus-dominus-widget.light .date-container-days div:not(.no-highlight).active {
    background-color:#3E3E40 !important;
}

.tempus-dominus-widget.light .date-container-days div:not(.no-highlight).today::before{
    border-bottom-color:#3E3E40;
}

.survey-description{
    color:#3E3E40 !important;
}

#form-load, .save-form, .register-form {
    padding: 1.5em;
    background-color:white;
}

.save-form, .register-form{
    margin-bottom:1em;
}

#limesurvey .survey-group .question-wrapper{
    background-color:white;
    border-radius:5px;
}

#limesurvey .survey-group .group-desc{
    background-color: #2c3e50;
    border-radius:5px;
    color: #fff;
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#limesurvey .survey-group h2{
    border-bottom: solid 2px #2c3e50;
    margin-top: 1.5em;
    padding-bottom:.2em;
}

label.btn-primary {
    background-color: white;
    border-color: #3e3e40;
    color:#3e3e40;
}

label.btn-primary:hover, label.btn-primary:focus{
    background-color: #3e3e40;
    border-color: #3e3e40;
    color:white;
}

.btn-check:active+label.btn-primary, .btn-check:checked+label.btn-primary, .show>label.btn-primary.dropdown-toggle{
    background-color: #3e3e40 !important;
    border-color: #3e3e40;
    color:white;
}

.alert-dark {
    background-color: #3e3e40 !important;
    color: white;
}

@media (min-width: 768px) {
    .navbar-expand-md {
        max-height: 91px;
    }

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
    #survey-nav .container-fluid{
    
}
    table.ls-answers tr {
        border: 1px solid #ccc;
        padding: 0;
        margin-bottom: 1em;
    }
    .table>:not(:first-child) {
        border-top: 0;
    }
    .ls-error-mandatory table.ls-answers tr {
        border-color: #ffb4b4;
    }
}
    @media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
        table.ls-answers tbody .control-label {
            text-align: left;
            border: 0;
        }
    }