	/**
 * @file
 * Subtheme specific CSS.
 */

/* Hide Update Message from Webform. 
AW|2025-02-24: the setting in webforms to hide it, does not seem to work for non-default languages.
 */


.alert-wrapper{
    display:none;
}

/* Due to unknown reasons, the input validation feedback is set to none. This needs correction:  */

.form-item--error-message {
	display: flex;
}

/* #Footer
================================================== */
.form-actions .js-form-wrapper .form-group{
    display:none;
}

/* AW: Alerts sollten nicht ausgeblendet werden. z.b. für feedback von Drupal bei Webform Submissions.

.alert-wrapper{
display:none;
}

*/

.alert-wrapper{
    position:relative;
	margin-bottom: 1em;
}


a.nav-link--user::before {
    height: 1.0rem!important;
}

/* #System
================================================== */
.error {
	color: red;
}

/* #Slider
================================================== */
.pager > ul > li {
    display: inline;
    padding-right: 5px;
}

.is-active > a {
    background-color: #00aeef;
    color: white;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.pager > ul > li > a:hover {
    background-color: #00aeef;
    color: white;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}


#block-bootstrap-barrio-subtheme-footer > ul{
    flex-direction: row!important;

}
#block-bootstrap-barrio-subtheme-footer> ul > li{
    padding-right: 1em!important;
}

header{
    padding-bottom: 1em!important;
}

.pager__items {
    margin-left: -2em;
}

/* #Media
================================================== */

#switch,
#circle {
    cursor: pointer;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}
#switch {
    width: 70px;
    height: 8px;
    margin: 0 auto;
    text-align: center;
    border: 2px solid #000;
    border-radius: 27px;
    background: #8167a9;
    position: relative;
    display: inline-block;
}
#circle {
    position: absolute;
    top: -11px;
    left: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
    background: #fff;
}
.switched {
    border-color: #8167a9 !important;
    background: #000 !important;
}
.switched #circle {
    left: 44px;
    background: #000;
}


.form-switch .form-check-input {
    appearance: radio;  /* [AMe, 15.05.2024]: Remove Switch-Design */
}

body.light{
    background: #f2f5f5;
}
body.light .cursor{
    mix-blend-mode: normal;
}
body.light .cursor2{
    border: 2px solid #000;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    mix-blend-mode: normal;
}
body.light .cursor2.hover{
    background: rgba(0,0,0,.15);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.2);
    border-color: transparent;
    mix-blend-mode: normal;
}
body.light .case-study-images li .hero-number-back{
    -webkit-text-stroke: 4px #ccc;
}
body.light .case-study-images li .hero-number{
    color: #212121;
}
body.light .case-study-images li .hero-number-fixed{
    color: #212121;
}
body.light .case-study-images li .hero-number-fixed:before{
    background-color: rgba(0,0,0,.4);
}
body.light .case-study-wrapper .case-study-name a {
    color: #777777;
}
body.light .case-study-wrapper .case-study-name.active a {
    color: #000;
}

/* PEM */
.pem > .view-content {
    padding-left: 1em;
}
.pem > nav > ul > li:nth-last-of-type{
    float: right;
}

.progress {
	clear:both;
}

.progress-pem  {
	background-color: rgba(0,174,239,0.7);
}

.progress-pem-finished  {
	background-color: rgb(37, 203, 13, 0.8);
}

/* Does not work as intended. Should be set, when 100% is reached.
.progress-bar-success {
	background-color: rgb(66 145 66);
}*/

.pem-nav {
	height: 3em;
	padding-top:1em;
}

.pem-pagenumber {
	text-align: center;
    clear: both;
    display: block;
    position: relative;
    background-color: #fff;
    width: 4em;
    border: 1px solid #ccc;
    margin-left: 47%;
    border-radius: 2em;
    height: 2em;
    padding-top: 0.2em;
    margin-top: 1em;
}

/* Companion */

.node-begleiter-text img {
	margin-right: 20px;
	margin-bottom: 10px;
	float: left;
	width: 20%;
	border: 3px solid #396c39;
	border-radius: 50%;
}

.node-begleiter-text p {
	font-style: italic;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-bottom: 1em;
	font-size: 1.4em;
}
.img-circle {
    border-radius: 50%;
}

.img-ecoach {
    width: 100%;
}

.media-ecoach {
    border-right: 1px solid #eeeeee;
    margin-right: 10px;
    text-align: right;
}

.body-ecoach {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;

}
.my_inputs_css{
    float: right;
}

.therapy-form-wrapper {
    border: 1px solid #dddddd;
    background-color: #fafafa;
    border-radius: 15px;
    padding: 0.8em;
    text-align: right;
}

.table-description{
    font-size: large;
    margin-top: 5px;
}

.therapy-form-text{
    text-align: left;
}

/* Navigation */
#navbar-main {
  /* background-color: #417b41 !important; */
  font-size: 1.3em;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
	font-family: 'Oswald',sans-serif;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
	font-family: 'Oswald',sans-serif;
}


.site-footer__bottom  {
	font-family: 'Oswald',sans-serif;
	border-color: #999;
}

.row.region-footer-fifth {
	margin-left: 0px;
}

/* Content Elements */

.modulecontent {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-width: 350px;
    -moz-column-width: 350px;
    column-width: 350px;
    column-rule: 2px dotted #ccc;
    column-gap: 5em;
}

/* Good for displaying Checkboxes of user inputs, but not for M8P5
.modulecontent > ul {
	break-inside: avoid;
}*/
.figure {
	background-color: #f0e9d4;
	border: 1px solid rgba(0,0,0,0.125);
    padding: 1em;
    border-radius: 1em;
}

.bg-infobox {
	background-color: #f0e9d4  !important;
	border: 2px dotted rgba(0,0,0,0.125) !important;
	margin-left: 2em;
    margin-bottom: 2em;
	break-inside: avoid;
	border-radius: 2em;
}

blockquote {
	background-color: #f4f0ee;
    border-radius: 30px;
    border-left: 5px solid #d7c4bd;
    border-right: 5px solid #d7c4bd;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
	padding: 1em;
	margin: 1em;
	width: -moz-fit-content;
	width: fit-content;
	font-style: italic;
	break-inside: avoid;
}

.card-body {
	break-inside: avoid;
}


.bg-meditatebox {
	background-color: #a6672e !important;
	color: white;
}

.ecoach-card-img {
	padding:2em;
}

.ecoach-card-col {
	border-right:1px dotted #ddd;
}

/* Formularfelder innerhalb eines PEMs. */
.myinput {
	border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 5px 15px 5px 15px;
    background-color: #f1eee5;
    border-top: 2px solid #cdc19e;
    border-bottom: 2px solid #cdc19e;
	border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
	margin-bottom: 1em;

}

/* Formularfelder für Befragungen */
.last7days {
	width: 13%;
	display: inline-block;
	min-width: 8em;
    background-color: #f1eee5;
	text-align: center;
	padding: 0.5em;
}

.webform-likert-table .form-group {
	margin-bottom: 0;
	font-size: 1.1em;
}

.webform-likert-table-wrapper th, .webform-likert-table-wrapper td {
  text-align: center;
}

/* Make radio bullets better clickable*/
.webform-likert-table .form-check-label {
    display: block;
    height: 2em;
}
.form-check-label {
    cursor: pointer;
}

/* Webform für Dossier */
.webform-card-wrapper {
	display: inline-flex;
}

.webform-card-wrapper>.fieldgroup {
	padding: 1em;
}

/* Aktivity-planer */
.activity-form {
	border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 5px 15px 5px 15px;
    background-color: #f1eee5;
    border-top: 2px solid #cdc19e;
    border-bottom: 2px solid #cdc19e;
	border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
	margin-bottom: 1em;

}

/* Hide date and number of submissions */
.webform-submission-information {
    display:none;
}

.webform-multiple-table td input[type="image"] {
	margin: 2px!important;
	width: 25px;
}

@media (max-width: 768px){
.webform-multiple-table-responsive td {
	display:table-cell;
}}

@media (max-width: 768px){
.webform-multiple-table-responsive thead {
	display: block;
}}

/* Submition on clicking Next does not work under safari on iphone. Show Save-Button again.
.pem_container .form-actions.js-form-wrapper.form-group {
	display: none;
}
*/
.pem_container .form-actions.js-form-wrapper.form-group>.submit_showbutton  {
	display: revert!important;
}

.btn.js-form-submit  {
	background-color: #0d6efd;
	color:#fff; 
}


.ui-dialog .button {
    background-color: #0d6efd;
    background-image: -webkit-linear-gradient(top,#0d6efd,#0d6efd)!important;
    background-image: linear-gradient(to bottom,#0d6efd,#0d6efd)!important;
}


.dropdown-item > a {
	text-decoration: none;
}

@-moz-document url-prefix() {
    .pem_container .form-actions.js-form-wrapper.form-group {
        display: block;
    }
}


/* Experimentelle Anpassungen für Fomularfeld. Impacts pending */

.fieldset-legend {
    font-size: 1.1rem;
    font-weight: bold;
	display:block;
}

fieldset>label {
  font-weight:bold;
}

.rateit {
	margin: 0.4em 1em !important;
}
/*

.myinput label {
	font-size: 1.1rem;
	font-weight: bold;
}

fieldset {
    background-color: #f1eee5;
}

.fieldset-wrapper {
	padding: 0em 1em;
}

.mb-3, .my-3 {
	margin-bottom: 0px !important;
	padding-bottom: 1em !important;
}
/* END OF EXPERIMENTAL */ 


/* Registrationsseite */

#edit-informed-consent-profiles-0>summary {
	display: none;
}

#edit-informed-consent-profiles-0 .description {
	display:block;
}

/* Basic Text */

h1 {
	border-bottom: 1px solid #999;
	margin-bottom: 1em !important;
}

.node__content {
	margin-top: 0px!important;
}


h2 {
	color: #a6672e;
	text-transform: unset !important;
}

h3 {
	font-family: 'Oswald',sans-serif!important;
	color: #d08745;
	font-style:unset!important;
}

blockquote {
	margin: 3em!important;
    font-style: italic;
}

p > a:link, p > a:visited, p > a:hover {
	color: #d08745;
}

p > a.btn:link, p > a.btn:visited, p > a.btn:hover {
	color: #fff;
}

/* Discussion between E-Coach and Companion */

.chat-wrapper {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-width: 320px;
    -moz-column-width: 320px;
    column-width: 320px;
    column-gap: 1em;	
	column-rule: #ddd;
    column-rule-style: dotted;
    column-rule-width: 2px;
}


.chat-wrapper .card-body {
	break-inside: revert;
}

.chat-wrapper .card {
	display: revert;
	background-color: transparent;
	border: 0;
}


.chat
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.chat li
{
    margin-bottom: -1px;
    padding-bottom: 5px;
    padding-top: 1em;
    border-bottom: 1px dotted #dedcdc;
    border-top: 1px dotted #dedcdc;
	break-inside: avoid;
	background-color: #fff;
    border-left: 1px dotted #dedcdc;
    border-right: 1px dotted #dedcdc;
    border-radius: 10px;
    margin-top: 5px;
    padding-left: 0px;
}

li.right > .chat-body {
    /*float: right!important;*/
	text-align: right;
}

li.right img {
    float: right!important;

}

li.left > .chat-body {
	/* padding-left: 140px; */
	
}

li.left img {
    float: left!important;

}

.chat-body
{
    width: 99%;
	padding-left: 1em;
    padding-right: 1em;
}
/*
.chat li .chat-body p
{
    margin: 0;
    color: #777777;
}*/

.chat-img {
	width: 20%;
	max-width: 140px;
	margin-left: 10px;
	margin-right: 10px;
}

.pull-left {
    float: left!important;
}

.pull-right {
    float: right!important;
}

/* Diary: Meditation  */

.therapy-form-wrapper .table-description{
    font-size: initial;
}

.chosen-container-multi{
    width: 100%!important;
}

.meditation-button{
    width: 100%;
    border-radius: 10px!important;
}
.rangeslider__fill {
    background: #396c39;
}

.pem_module.pager{
    font-size: 20px !important;
    margin-bottom: 0px!important;
    line-height: 30px !important;
    background-color:  rgb(0, 128, 0)!important;
    opacity: 0.8;
}

.meditation_icon{
    width: 48px;
	margin-left: 0.2em;
	margin-top: 0.7em;

}

.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

/* Add X in Dialog Box */
button.ui-dialog-titlebar-close:after {
	content: "X";
}
button.ui-dialog-titlebar-close {
	height: 25px!important;
}

/* Pie Chart */

/* Form Progress */
.progress_chart {
    margin: 10px 0px 0px 0px;
    text-align: center;
}
.progress_chart .circle,
.progress_chart .bar {
    display: inline-block;
    background: #fff;
    width: 40px; height: 40px;
    border-radius: 40px;
    border: 1px solid #d5d5da;
}
.progress_chart .bar {
    position: relative;
    width: 65px;
    height: 6px;
    top: -33px;
    margin-left: -1px;
    margin-right: -5px;
    border-left: none;
    border-right: none;
    border-radius: 0;
}
.progress_chart .circle .label {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 32px;
    margin-top: 3px;
    color: #b5b5ba;
    font-size: 17px;
}
.progress_chart .circle .title {
    color: #b5b5ba;
    font-size: 13px;
    line-height: 30px;
    margin-left: -5px;
}

/* Done / Active */
.progress_chart .bar.done,
.progress_chart .circle.done {
    background: #eee;
}
.progress_chart .bar.active {
    background: linear-gradient(to right, #EEE 40%, #FFF 60%);
}
.progress_chart .circle.done .label {
    color: #FFF;
    background: #8bc435;
    box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress_chart .circle.done .title {
    color: #444;
}
.progress_chart .circle.active .label {
    color: #FFF;
    background: #0c95be;
    box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress_chart .circle.active .title {
    color: #0c95be;
}

.progress_chart .bar.green{
    background-color: #8bc435;;
}

.activity_picture{
    max-width: 100%;
}


.hover-scale:hover{
    transform: scale(1.05);
    transition: transform .2s ease,
    -webkit-transform .2s ease
}

/* Mood Slider **
 */


/* Mood Slider */
.mood-wrapper > .ui-slider .ui-slider-handle {
    position: absolute;
    height: 20px;
    width: 10px;
    padding: 0;
    margin-left: -5px;
    margin-top: -2px;
    border-radius: 10px;
    border: 1px solid #999;
}

.ui-slider-horizontal {
    width: 100%;
    height: 10px;
    border: 1px solid grey;
}

.mood {
    display: inline-block;
    border: 1px solid #aaa;
    background-color: white;
    margin: 0;
    padding: 0;
    width: 38px;
}

.mood-input > * > input{
    padding: 2px;
    text-align: center;
}

.mood-slider {
    position: relative;
    width: auto;
    margin: auto;
    margin-bottom: 5px;
    border-radius: 0px;
}

.diary-toggle-buttons > div > div > input[type="radio"] {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    width: 1px;
    display: inline-block;
}

.diary-toggle-buttons > div > div > label {
    border: 2px solid #ced4da;
    border-radius: 50%;
    padding: 0.5em;
    margin: 2px;
    background-color: #f9f9f9;
    display: inline-block;
}

.diary-toggle-buttons > div > div > input:checked + label {
    background-color: #2780e3;
    color: white;
    box-shadow: none;
    border: 2px solid #444;
}

.diary-toggle-buttons > div > div > input:checked[value="1"]+ label{
    background-color: #f47879;
    border: 2px solid #fff;
}

.diary-toggle-buttons > div > div > input:checked[value="0"] + label{
    background-color: #6ace6a;
    border: 2px solid #fff;
}

.diary-toggle-buttons > div > div > input[attribute="No"]{
    float: right;
}

.diary-toggle-buttons > div > div > input[attribute="Yes"]{
    float: left;
}

.diary-toggle-buttons .form-check {
/*	display: inline-block!important;*/
	display: inline-flex;
	width: 3em;
}

/* Make urine webform look better */
.fieldset-wrapper .form-check {
/*	display: inline-block!important;*/
	display: inline-flex;
	min-width: 7em;
}


.diary-checkbox {
    height: 2.5em;
    width: 2.5em;
}
.diary-area1 {
    background-color: #dae1ef;
}


.diary-area2 {
    background-color: #efe5da;
}

.diary-numberfield {
    -moz-appearance: textfield;
    text-align: center;
}


/* seems not to be needed? [AW|20-09-2022]
table tr th {
	color: black;
}*/

.table > thead {
		background-color: #00aeef;
}

.form-check-input {
	float: initial!important;
}

/* Slider: Input Box */
.input-group-text {
	background-color: unset;
	border: 0px;
	display: unset;
}
.slider-inputfield-bignumber {
	font-size: 2em;
	margin-top: -0.5em;
}


.tdrow {
	border-bottom: 1px solid #d99;
}

.grad01 {
	background-color: #fee;
}
.grad02 {
	background-color: #fdd;
}
.grad03 {
	background-color: #fcc;
}
.grad04 {
	background-color: #fbb;
}
.grad05 {
	background-color: #faa;
}
.grad06 {
	background-color: #f99;
}
.grad07 {
	background-color: #f88;
}
.grad08 {
	background-color: #f77;
}
.grad09 {
	background-color: #f66;
}
.grad10 {
	background-color: #f55;
}
.grad11 {
	background-color: #f44;
}
.grad12 {
	background-color: #f33;
}

.noautosubmit {
	/* currently only used by pem_submit.js to deactivate the automatic submission. Used for multi-submit-forms within PEMs */
}


/* Correct some elements for persian right-to-left */
[dir="rtl"] .form-check .form-check-input{
		float: right;
		margin-right: -1.5em;
		margin-left: 0;
	}
	 
[dir="rtl"] .form-check {
		padding-right: 1.5em;
	}

[dir="rtl"] body {
	font-family: Tahoma, sans-serif;
	font-size: 1.1em;
}

[dir="rtl"] .my_inputs_css{
    float: left;
}

[dir="rtl"] .progress_chart .bar {
    margin-left: -6px;
    margin-right: 0px;
}

[dir="rtl"] .pem-nav{
    float: left;
	height: 4em;
}


.chart-container {
    display: block;
}


.instruction-general {
    background-color: #dfe3af;
    color: #060606;
    padding-left: .5em;
    border-radius: 5px;
}

.filled-by-psychologist {
    background-color: #98d0c8;
    color: #000;
}

.filled-by-assessor {
    background-color: #d098cf;
    color: #000;
}
