/**
 * @file
 * Subtheme specific CSS.
 */

/* Hide Update Message from Webform
AW: WHY???

.alert-wrapper{
    display:none;
}
 */


@font-face { 
	font-family: 'Brandon';
    src: url('BrandonRegular.woff2') format('woff2');
	font-weight: normal;
    font-style: normal;
 }

@font-face { 
	font-family: 'Brandon';
    src: url('BrandonBold.woff2') format('woff2');
	font-weight: bold;
    font-style: normal;
 }


body {
	font-family: 'Brandon',sans-serif!important;
}

/* #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: #8167a9;
    color: white;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.pager > ul > li > a:hover {
    background-color: #8167a9;
    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;
}


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;
}

/* Inhalt bisschen groesser */
.pem_container, .content {
    font-size: 1.1rem;
}


/* PEM */
.pem > .view-content {
    padding-left: 1em;
}
.pem > nav > ul > li:nth-last-of-type{
    float: right;
}

.progress {
	clear:both;
}

.progress-bar {
	background-color:#365863C4!important;
}
.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-radius: 20px;
}

.node-begleiter-text p {
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-bottom: 1em;
	line-height: 1.8em;
	font-size: 1.1em;
}
.img-circle {
    border-radius: 5px;
}

.img-ecoach {
    width: 100%;
}

.media-ecoach {
    border-right: 1px solid #eeeeee;
    margin-right: 10px;
    text-align: right;
}

.media-object {
	max-width: 100px;
}

.body-ecoach {
    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.1em;
}

.navbar-brand>img {
	max-height: 30px;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
}

.navbar-dark .nav-item:hover {
	background-color: #365863;
}

.dropdown-item.active, .dropdown-item:active {
	background-color: #365863!important;
}

.site-footer__bottom  {
	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: #e9ecef;
	border: 1px solid rgba(0,0,0,0.125);
    padding: 1em;
    border-radius: 1em;
}

.bg-infobox {
	background-color: #e9ecef!important;
	margin-left: 2em;
    margin-bottom: 2em;
	break-inside: avoid;
}

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: #3b7180 !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: #e9ecef;
    border-top: 2px solid #607b83;
    border-bottom: 2px solid #607b83;
	border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
	margin-bottom: 1em;

}

.myinput a:link, .myinput a:visited, .myinput a:hover {
	color: #cc012f;
}

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

/* Make radio bullets better clickable*/
.webform-likert-table .form-check-label {
    display: block;
    height: 2em;
}
.form-check-label {
    cursor: pointer;
}

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

.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;
}


@-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;
}
/*

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

a {
	color: #3b7180;
}

h1 {
	font-family: 'Brandon',sans-serif!important;
	border-bottom: 1px solid #999;
	margin-bottom: 1em !important;
	color: #003948;
	font-weight: bold;
}

h2 {
	font-family: 'Brandon',sans-serif!important;
	color: #a4968f;
	text-transform: unset !important;
	font-weight: bold;
	font-size: 1.7em;
}

h3 {
	font-family: 'Brandon',sans-serif!important;
	color: #a4968f;
	font-style:unset!important;
	font-weight: bold;
}

blockquote {
	margin: 3em!important;
    font-style: italic;
}

p > a:link, p > a:visited, p > a:hover {
	color: #cc012f;
}

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;

}

/* 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: 0px;
    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;
    font-weight: bolder;
}

/* 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: #90b6bc;
    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: #90b6bc;
    box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress_chart .circle.active .title {
    color: #90b6bc;
}

.progress_chart .bar.green{
    background-color: #90b6bc;;
}

.activity_picture{
    max-width: 100%;
}

.hover-scale:hover{
    transform: scale(1.05);
    transition: transform .2s ease,
    -webkit-transform .2s ease
}

/* Bootstrap */
.btn-primary {
    color: #fff;
    background-color: #003948!important;
    border-color: #003948!important;
}

.btn-primary:hover {
    color: #fff;
    background-color: #3b7180!important;
    border-color: #3b7180!important;
}
#block-footer{
    font-size: 12px;
}
.btn-success{
    background-color: #90b6bc !important;
    border-color: #90b6bc !important;
}

.btn-success:hover{
    background-color: #003948!important;
    border-color: #003948!important;
}

.btn.js-form-submit {
    background-color: #0d6efd;
    color: #fff;
}


.info-box-button{
    background-color: #e9ecef!important;
    color: black!important;
    border-color: black!important;
}

.alert-success{
    border-left: #90b6bc 15px solid!important;
    border-color: #90b6bc!important;
}

.badge-success{
    background-color: #90b6bc!important;
    border-color: #90b6bc!important;
}


/* Carousel adaptions: Fixed Height */
.carousel-item>.card { 
    padding: 0px 50px 0px 50px;
    min-height: 26rem;
	background-color: #17a2b8;
}

.carousel-item .card-body { 
	transform: translateY(-50%);
    width: 80%;
	top: 50%;
	position: absolute;
}