/******************
    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
*/

/*****************************************************************/
/*                              SLAS_Custom_1                    */
/*****************************************************************/

/*****************************************************************/
/*                        Start General CSS                      */
/*****************************************************************/

body{
    font-size: 15px;
    color: #2c3e50;
}

img {
    max-width: 100%;
}

a {
  color: #2c3e50; 
}

a:hover
a:link:hover {
    color: #18bc9c;
}

.dropdown-item.disabled, 
.dropdown-item:disabled {
    color: #ffffff;
}

.form-check-input:checked {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

/*****************************************************************/
/*                        End General CSS                        */
/*****************************************************************/

/*****************************************************************/
/*                       Start First Page CSS                    */
/*****************************************************************/

#firstpage-changelang {
    display: none;
}

.privacy {
    margin: 15px 0;
    padding: 15px 0;
    background-color: #eeeeee;
    border: 1px solid #eeeeee;
}

.privacy-block div.align-items-center div:first-child {
    margin-top: 15px;
    display: flex;
    column-gap: 5px;
}

input#datasecurity_accepted {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
}

/*****************************************************************/
/*                       End First Page CSS                      */
/*****************************************************************/

/*****************************************************************/
/*                       Start Top Navbar CSS                    */
/*****************************************************************/

#survey-nav {
    padding: 8px;    
    background-color: #2c3e50;
}

.logo-container > img {
    max-width: 250px;
    height: auto;
    padding: 5px 15px;
}

#navbar li.nav-item a.nav-link:first-child {
    color: #ffffff;
}

#navbar li.nav-item a.nav-link:first-child:hover,
#survey-nav .nav-link:hover {
    color: #18bc9c;
}

/* Removed the classess background color in the question index */
li.index-menu-full ul li.index-item-current {
    background-color: #2c3e50 !important;
    color: #ffffff;    
}

/* Removed the classess background color in the question index */
li.index-menu-full ul li a.bg-warning,
li.index-menu-full ul li a.bg-danger {
    background-color: transparent !important;
}

/* Removed the classess background color in the question index */
li.index-menu-full ul li a.bg-warning:hover,
li.index-menu-full ul li a.bg-danger:hover {
    background-color: #2c3e50 !important;
}

.navbar-toggler {
    padding: 9px 10px;    
    border: 1px solid #ffffff;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .icon-bar {
    width: 22px;
    height: 2px;    
    background-color: #ffffff;    
    border-radius: 1px;    
    display: block;
}

.navbar-toggler .icon-bar+.icon-bar {
    margin-top: 4px;
}

/*****************************************************************/
/*                        End Top Navbar CSS                     */
/*****************************************************************/

/*****************************************************************/
/*                   Start Progress Bar                          */
/*****************************************************************/

.top-container {
    margin: 0 !important;
}

.top-container .top-content {
    margin: 0;
    padding: 3em 0;
    padding-bottom: 0;
}

.progress-bar {
    background-color: #2c3e50;
}

/*****************************************************************/
/*                    End Progress Bar                           */
/*****************************************************************/

/*****************************************************************/
/* Start Group Container / Group Title / Group Description       */
/*****************************************************************/

.group-outer-container,
.group-container {
    margin-top: 0;
}

.group-container {
    margin-bottom: 0px;
}

.group-title {
    margin-top: 1em;  
}

.group-description {
    margin-left: 0;
    margin-right: 0;  

}

.group-description .well {
    background-color: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
}

/*****************************************************************/
/* End Group Container / Group Title / Group Description         */
/*****************************************************************/

/*****************************************************************/
/*                  Start Question Container                     */
/*****************************************************************/

.question-container {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 15px;    
    border: 1px solid #dbdbdb;
}

.question-title-container {
    margin-bottom: 15px;    
    background-color: #2c3e50;
    color: #ffffff;
}

.question-valid-container {
    background-color: transparent !important;
    text-align: left;
}

.question-number, 
.question-code {
    color: #ffffff;
}

.question-help-container,
.answer-container {
    border: none;
}

.form-control,
.form-select{
    border: 2px solid #dce4ec;
}

.form-control:focus,
.form-select:focus {
    border-color: #000;
    box-shadow: none;
}

.radio-item input[type="radio"]:checked+label::before,
.checkbox-item input[type="checkbox"]:checked+label::before {
    border-color: #2c3e50;
}

.radio-item label::after,
.checkbox-item label::after {
    background-color: #2c3e50;
}

.checkbox-item label::after {
    border-radius: 0;
}

.checkbox-item label.ls-label-xs-visibility::after {
    width: 15px;
    height: 15px;	
    left: 1px;
    border-radius: 0;
}

.table>:not(:first-child) {
    border-top: none;
}

tbody, 
td, 
tfoot, 
th, 
thead, 
tr {
    border-color: #dee2e6;
}

table-bordered>thead>tr>th, .table-bordered>thead>tr>th, 
table-bordered>tbody>tr>th, .table-bordered>tbody>tr>th, 
table-bordered>tfoot>tr>th, .table-bordered>tfoot>tr>th, 
table-bordered>thead>tr>td, .table-bordered>thead>tr>td, 
table-bordered>tbody>tr>td, .table-bordered>tbody>tr>td, 
table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>td {
    border: 1px solid #ecf0f1;
}

.table-hover>tbody>tr:hover {
    background-color: #ecf0f1;
}

.table-hover>tbody>tr:hover>* {
    --bs-table-accent-bg: #ecf0f1;
}

.input-group-text {
    background-color: #2c3e50;    
    color: #ffffff;
    border-color: #2c3e50;    
}

div.gender-button, 
div.yesno-button {
    column-gap: 10px;
}

/* This section is for changing the layout of the upload question */

.uploadedfiles .upload.comment {
    word-break: break-all;
}

.upload-files .upload-item table.uploadedfiles {
    margin-top: 25px;
    display: flex;
}

.upload-files .upload-item table.uploadedfiles thead {
    width: 25%;
    margin-right: 15px;
}

.upload-files .upload-item table.uploadedfiles tbody {
	width: 75%;
}

.upload-files .upload-item table.uploadedfiles thead tr,
.upload-files .upload-item table.uploadedfiles tbody tr {
    display: flex;
    flex-direction: column;
}

.upload-files .upload-item table.uploadedfiles thead th:first-child,
.upload-files .upload-item table.uploadedfiles tbody td:first-child {
    height: 110px;
}

.upload-files .upload-item table.uploadedfiles thead th:first-child {
    width: 100%;
}

.upload-files .upload-item table.uploadedfiles thead th,
.upload-files .upload-item table.uploadedfiles tbody td {
    height: 50px;
}

/* This section is for changing the layout of the upload question */

.choice-5-pt-radio .radio-item label::before, 
.list-radio .radio-item label::before, 
.list-with-comment .radio-item label::before {
    top: 3px;
}

.choice-5-pt-radio .radio-item label::after, 
.list-radio .radio-item label::after, 
.list-with-comment .radio-item label::after {
    top: 6px;
}

.multiple-opt .checkbox-item label::before, 
.multiple-opt-comments .checkbox-item label::before {
    top: 3px;
}

.multiple-opt .checkbox-item label::after, 
.multiple-opt-comments .checkbox-item label::after {
    top: 4px;
}

.multiple-short-txt ul.text-list li.text-item {
    align-items: center;
}

li.imageselect-listitem .imageselect-container .imageselect-label {
    border-color: #ecf0f1;
}

li.imageselect-listitem .imageselect-container input.imageselect-checkbox:checked+label {
    border-color: #2c3e50;
}

.SLAS_Custom_1 .boilerplate.image-display-question .question-title-container {
	background-color: transparent;    
	color: #444444;	
	border: 1px solid #dbdbdb;
	border-bottom: 0 none;	
	text-align: center;
}

.SLAS_Custom_1 .boilerplate.image-display-question .answer-container,
.SLAS_Custom_1 .boilerplate.image-display-question .question-valid-container {
	display: none;
}

/*****************************************************************/
/*                 End Question Container                        */
/*****************************************************************/

/*****************************************************************/
/*                     Start All Buttons                         */
/*****************************************************************/

/* Improve button focus and hover effects */
.btn,
.progress,
.dropdown-menu,
.checkbox-item label::before,
.checkbox-item label::after,
.form-control,
.modal-content,
.question-container {
    outline: none;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: none;
}

input[type=checkbox]:focus,
input[type=file]:focus,
input[type=radio]:focus {
    outline: none;
}

.radio-item input[type="radio"]:focus+label::before,
.checkbox-item input[type="checkbox"]:focus+label::before,
.radio-item input[type="radio"]:focus+label::after,
.checkbox-item input[type="checkbox"]:focus+label::after {
    outline: none;
}

.btn-check:focus+.btn-primary, 
.btn-primary:focus {
    box-shadow: none;
}

.btn-check:active+.btn-primary:focus, 
.btn-check:checked+.btn-primary:focus, 
.btn-primary.active:focus, 
.btn-primary:active:focus, 
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-check:focus+.btn-outline-secondary, 
.btn-outline-secondary:focus {
    box-shadow: none;
}

.btn-check:active+.btn-outline-secondary:focus, 
.btn-check:checked+.btn-outline-secondary:focus, 
.btn-outline-secondary.active:focus, 
.btn-outline-secondary.dropdown-toggle.show:focus, 
.btn-outline-secondary:active:focus {
    box-shadow: none;
}

.btn-lg {
    padding: 0 27px;
    font-size: 48px;
}

/* Customize Next/Submit buttons */
.ls-move-submit-btn,
.ls-move-next-btn {
    color: #ffffff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.ls-move-submit-btn:active,
.ls-move-submit-btn.active,
.ls-move-submit-btn:focus,
.ls-move-submit-btn.focus,
.ls-move-submit-btn:active:focus,
.ls-move-submit-btn.active:focus,
.ls-move-submit-btn:active.focus,
.ls-move-submit-btn.active.focus,
.ls-move-next-btn:active,
.ls-move-next-btn.active,
.ls-move-next-btn:focus,
.ls-move-next-btn.focus,
.ls-move-next-btn:active:focus,
.ls-move-next-btn.active:focus,
.ls-move-next-btn:active.focus,
.ls-move-next-btn.active.focus,
.ls-move-submit-btn:hover,
.ls-move-submit-btn:active:hover,
.ls-move-submit-btn.active:hover,
.ls-move-next-btn:hover,
.ls-move-next-btn:active:hover,
.ls-move-next-btn.active:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.btn-primary.disabled, 
.btn-primary:disabled,
.btn-check:focus+.btn-primary {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

/* Customize gender/yes-no buttons */
.gender-button .btn-primary,
.yes-no .btn-primary,
.bootstrap-buttons-div .button-item {
    color: #2c3e50;
    background-color: #ffffff;
    border-color: #2c3e50;
}

.btn-check:active+.btn-primary,
.btn-check:checked+.btn-primary,
.btn-primary.active,
.btn-primary:active,
.show>.btn-primary.dropdown-toggle {
    color: #ffffff !important;
    background-color: #1a242f !important;
    border-color: #161f29 !important;
}

.gender-button .btn-primary:hover,
.yes-no .btn-primary:hover,
.bootstrap-buttons-div .button-item:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.gender-button .btn-primary:active,
.gender-button .btn-primary.active:hover,
.gender-button .btn-primary:focus,
.gender-button .btn-primary.active,
.gender-button .btn-primary.active:focus,
.yes-no .btn-primary:focus,
.yes-no .btn-primary.active,
.yes-no .btn-primary.active:hover,
.yes-no .btn-primary.active:focus,
.bootstrap-buttons-div .button-item:focus,
.bootstrap-buttons-div .button-item.active,
.bootstrap-buttons-div .button-item:focus {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

/* Customize Date Picker button */
.date-timepicker-group .btn-primary,
.date-timepicker-group .btn-primary:hover,
.date-timepicker-group .btn-primary:active,
.date-timepicker-group .btn-primary:focus,
.date-timepicker-group .btn-primary:active:hover,
.date-timepicker-group .btn-primary:active:focus,
.date-timepicker-group .btn-primary:active.focus,
.date-timepicker-group .btn-primary.hover,
.date-timepicker-group .btn-primary.active,
.date-timepicker-group .btn-primary.focus,
.date-timepicker-group .btn-primary.active:hover,
.date-timepicker-group .btn-primary.active:focus,
.date-timepicker-group .btn-primary.active.focus {
    background-color: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
}

/* Customize Previous buttons */
.ls-move-previous-btn {
    padding: 0 27px;
    font-size: 48px;
    color: #ffffff;
    background-color: #95a5a6;
    border-color: #95a5a6;
}

.ls-move-previous-btn:hover,
.ls-move-previous-btn:active:hover,
.ls-move-previous-btn.active:hover,
.ls-move-previous-btn:active,
.ls-move-previous-btn.active,
.ls-move-previous-btn:focus,
.ls-move-previous-btn.focus,
.ls-move-previous-btn:active:focus,
.ls-move-previous-btn.active:focus,
.ls-move-previous-btn:active.focus,
.ls-move-previous-btn.active.focus {
    color: #ffffff;
    background-color: #687b7c;
    border-color: #566566;
}

/* Customize Upload buttons */
.upload.btn-primary {
    color: #ffffff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.upload.btn-primary:hover,
.upload.btn-primary:active:hover,
.upload.btn-primary.active:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.upload.btn-primary:active,
.upload.btn-primary.active,
.upload.btn-primary:focus,
.upload.btn-primary.focus,
.upload.btn-primary:active:focus,
.upload.btn-primary.active:focus,
.upload.btn-primary:active.focus,
.upload.btn-primary.active.focus {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.upload-div .btn {
    color: #ffffff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.upload-div .btn:active,
.upload-div .btn.active,
.upload-div .btn:focus,
.upload-div .btn.focus,
.upload-div .btn:focus,
.upload-div .btn:focus,
.upload-div .btn.focus,
.upload-div .btn.focus {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.upload-div .btn:hover,
.upload-div .btn:active:hover,
.upload-div .btn.active:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.uploader .alert-info {
    color: #ffffff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.file-upload-modal-footer .btn {
    color: #ffffff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.file-upload-modal-footer .btn:active,
.file-upload-modal-footer .btn.active,
.file-upload-modal-footer .btn:focus,
.file-upload-modal-footer .btn.focus,
.file-upload-modal-footer .btn:active:focus,
.file-upload-modal-footer .btn.active:focus,
.file-upload-modal-footer .btn:active.focus,
.file-upload-modal-footer .btn.active.focus {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.file-upload-modal-footer .btn:hover,
.file-upload-modal-footer .btn:active:hover,
.file-upload-modal-footer .btn.active:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

/* Improve hover effect on uploaded files buttons */
.upload-files .uploadedfiles td a.btn-primary {
    color: #ffffff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.upload-files .uploadedfiles td a.btn-primary:hover,
.upload-files .uploadedfiles td a.btn-primary:active,
.upload-files .uploadedfiles td a.btn-primary:focus {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

/* Customize the delete button for uploaded files */
.upload-files ul.files-list fieldset div:nth-child(3) a.btn-danger {
    background-color: #d9534f;
    color: #fff;
    border-color: #d43f3a;
}

.upload-files ul.files-list fieldset div:nth-child(3) a.btn-danger:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.save-survey-input .btn,
.modal-dialog .btn {
    color: #ffffff;
    background-color: #95a5a6;
    border-color: #95a5a6;
}

.save-survey-input .btn:hover,
.save-survey-input .btn:active:hover,
.save-survey-input .btn.active:hover,
.modal-dialog .btn:hover,
.modal-dialog .btn:active:hover,
.modal-dialog .btn.active:hover {
    color: #ffffff;
    background-color: #687b7c;
    border-color: #566566;
}

.btn-info {
    color: #ffffff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.btn-info:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

/* Customize bootstrap buttons */
.bootstrap-buttons-div .btn-primary {
    color: #2c3e50;
    background-color: #ffffff;
    border-color: #2c3e50;
}

.bootstrap-buttons-div .btn-primary:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
    color: #212529;
    border: 2px solid #dce4ec;
    box-shadow: none;
}

.bootstrap-select>.dropdown-toggle {
    width: 250px;
    border: 2px solid #dce4ec;
}

.filter-option-inner-inner {
    color: #212529;
}

.dropdown.bootstrap-select .dropdown-menu.show {
    width: 250px;
}

.btn-check:active+.btn-outline-secondary,
.btn-check:checked+.btn-outline-secondary,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show,
.btn-outline-secondary:active {
    color: #212529;
}

.bootstrap-select .btn-check:active+.btn-outline-secondary,
.bootstrap-select .btn-check:checked+.btn-outline-secondary,
.bootstrap-select .btn-outline-secondary.active,
.bootstrap-select .btn-outline-secondary.dropdown-toggle.show,
.bootstrap-select .btn-outline-secondary:active {
    background-color: transparent;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    box-shadow: none;
    outline: none !important;
}

button.btn.dropdown-toggle.btn-outline-secondary.show {
    box-shadow: none;
}
button.btn.dropdown-toggle.btn-outline-secondary.show:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus {
    border-color: #000;
    box-shadow: none;
}

button.btn.dropdown-toggle.btn-outline-secondary:hover {
    background-color: transparent;
    color: #212529;
}

/* Add line button */
button.btn.btn-outline-secondary.selector--inputondemand-addlinebutton {
    color: #2c3e50;
    background-color: #ffffff;
    border-color: #2c3e50;
}

button.btn.btn-outline-secondary.selector--inputondemand-addlinebutton:hover {
    color: #ffffff;
    background-color: #1a242f;
    border-color: #161f29;
}

/*****************************************************************/
/*                        End All Buttons                        */
/*****************************************************************/

/*****************************************************************/
/*                       Start Sortables                         */
/*****************************************************************/

.ranking-available-items .sortable-choice, 
.ranking-sorted-items .sortable-rank {
    padding: 8px;
}

/*unsorted*/
.sortable-choice .ls-choice.sortable-item {
    margin-bottom: 4px;    
    background-color: #ffffff;
    color: #1a242f;
    border: 1px solid #1a242f;
}

/*sorted*/
.sortable-rank .ls-choice.sortable-item {
    margin-bottom: 4px;    
    color: #ffffff;
    background-color: #1a242f;
    border: 1px solid #161f29;
}

/*****************************************************************/
/*                      End Sortables                            */
/*****************************************************************/

/*****************************************************************/
/*                       Start Slider                            */
/*****************************************************************/

.slider-list .slider.slider-untouched .slider-handle {
    background-color: #2c3e50;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,
.bs-tooltip-top .tooltip-arrow:before {
    border-top-color: #2c3e50;
}

.slider-touched .tooltip-inner,
.slider-touched .slider-handle {
    background-color: #2c3e50;
}

.tooltip-inner {
    background-color: #2c3e50;
}

.slider-touched .tooltip.top .tooltip-arrow {
    border-top-color: #2c3e50;
}

.slider-handle {
    background-color: #2c3e50;
    background-image: linear-gradient(to bottom, #2c3e50 0%, #2c3e50 100%);
}

.slider-selection {
    background-image: linear-gradient(to bottom, #2c3e50 0%, #2c3e50 100%);
}

/*****************************************************************/
/*                       End Slider                              */
/*****************************************************************/

#navigator-container button[value="movesubmit"] {
    font-size: 30px;
    padding: 12px 27px;
}

/*****************************************************************/
/*                       Start Responsive                        */
/*****************************************************************/

@media only screen and (min-width: 768px) {
    
    .array-flexible-dual-scale .header_separator,
    .array-flexible-dual-scale .dual_scale_separator,
    .array-flexible-duel-scale .header_separator,
    .array-flexible-duel-scale .dual_scale_separator {
        background-color: transparent;
    }
    
    .yesno-button, .gender-button {
        width: 50%;
    }
    
    .navbar-expand-md .navbar-nav .dropdown-menu {
        left: -110px;
    }
}

@media only screen and (max-width: 768px) {
    
    div.gender-button, 
    div.yesno-button {
        width: 100%;
    }
    
    .date .date-item div.col-12:nth-child(2), 
    .date .date-item div.col-12:nth-child(4) {
        display: none;
    }
    
    .table-hover>tbody>tr:hover>* {
        --bs-table-accent-bg: transparent;
    }
    
    .table-hover>tbody>tr:hover, 
    tr.answers-list:hover, 
    .array-flexible-column tr.answers-list:hover {
        background-color: transparent;
    }
    
    tr.ls-odd, 
    .array-flexible-column tr.answers-list:nth-child(even) {
        background-color: transparent;
    }
}

/*****************************************************************/
/*                       End Responsive                          */
/*****************************************************************/
