/* ***  GENERAL SETTINGS ***  */


/*2G  	Dunkelgrün 			#530200 
		Hellgrün			#ffca36
		Schriftfarbe grau 	#595959	
		
		*/


:root {
    --header-bg-color: #FFFFFF;
    --header-border-color: #530200 ;
    --header-text-color: #595959;

    --footer-border-color: #530200 ;
    --footer-bg-color: #FFFFFF;

    --body-bg-color: #FFFFFF;
	
	/* Hintergrund um das Eingabefeld*/
    --body-text-color: #595959;

/* Rahmenfarbe der Eingabeseit */
    --form-border-color: #0C3274;

    /* Kontaktformular Rahmenfarbe und Formfelder */
    --contact-form-border-color: #ced4da;
    --contact-form-input-border-color: #ced4da;

/* Akordeon alle Ergebnisse */
    --accordion-header-text-color: #595959;
    --accordion-header-bg-color: #FFFFFF;
    --accordion-header-border-color: #c3c3c3;
    --accordion-header-font-weight: bold;

/* Akordeon ausgewähltes Ergebnis */
    --accordion-header-active-text-color: #FFF;
    --accordion-header-active-bg-color: #ffca36;
    --accordion-header-active-border-color: #530200;



    --slider-floating-value-color: #595959;
    --slider-floating-value-font-weight: bold;
/* Sliderpunkt beim Bewegen*/	
    --slider-handle-color: #0C3274 ;

/* Hintergrundfarbe Sliderbalken */
    --slider-range-color: #ffca36;

    --spinner-button-bg-color: #ffca36;

    --anchor-color: #ffca36;
    --anchor-color-hover: #000000;

    --general-bottomtop-margin: 10px;
}

/*weiter button Startseite*/
.btn-primary ,.btn-secondary{
  color: #FFF;
  background-color: #0E3475;
  border-color:#FFFFFF;
}
/* MouseOver alle primary buttons */

.btn-primary:HOVER,.btn-secondary:HOVER,  .btn-primary:active, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle, .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus  {
    color: #FFC845;
    background-color: #0E3475 !important;
    border-color:#FFFFFF;
    outline: none !important;
    box-shadow: none;

}

.btn {
	line-height: 1;
}

/* *** MAJOR STYLES *** */
a {
    cursor: pointer;
    /*color: var(--anchor-color) !important; */
	color:#595959 !important;
}
a:hover {
    color: var(--anchor-color-hover);
    text-decoration: none;
}

textarea:focus, input:focus{
    outline: none;
}
body {
    background-color: var(--body-bg-color) !important;
    overflow: auto !important;
    color: var(--body-text-color);
}

header {
    border-bottom: solid 1px var(--header-border-color);
    background-color: var(--header-bg-color);
    padding: 1em 0 2em 0;
    color: var(--header-text-color);
}

header a, header a:hover, header a:active {
    color: var(--header-text-color) !important;
    text-decoration: none;
}
main {
    visibility: hidden;
}
footer {
    margin-top: var(--general-bottomtop-margin);
    border-top: solid 1px var(--footer-border-color);
    background-color: var(--footer-bg-color);
    padding: 1em 0 2em 0;
    display: none;
}

hr {
    border-top-color:#530200;
}

.max-800 {
    max-width: 800px !important;
}

.max-1200 {
    max-width: 1200px !important;
}

.qc-body {
    background-color: white;
    border: solid 3px var(--form-border-color);
    margin-top: 20px;
    border-radius: var(--general-bottomtop-margin);
    padding: var(--general-bottomtop-margin) 0 !important;

}

.qc-result {
    margin-top: 20px;
}

.qc-body div.col-sm-12, .qc-body div.col-md-12, .qc-body div.col-sm-6 {
    border-top: solid 1px var(--form-border-color);
}
.qc-body div.col-sm-12:first-of-type {
    border-top: none;
}
#qc-main-secondary-row .col-sm-12, #qc-main-secondary-row .col-md-12 {
    border-bottom: none;
}


/* ***  OBJECT TYPES ***  */

.object-types .object-type-item {
    display: inline-block;
    padding: 0 5px;
    margin: 0 10px 15px;
    text-align: center;
    cursor: pointer;
	
}
.object-types-label {
    font-weight: bold;
    font-size: 18px;
    margin-top: var(--general-bottomtop-margin);
}
.object-type-item img.active {
    display: none;
}
.object-type-active img.active {
    display: inline;
}
.object-type-active img.inactive {
    display: none;
}
.object-type-active {

}

.object-type-item img {
    height: 90px;
    text-align:center;
}

.object-type-label {
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
}

/* ***  OPTION LIST ***  */

.option-list {
    padding: 20px;
}

.option-list .option-list-item {
    display:inline-block;
    padding: 5px;
    margin-right: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;

}
.option-list-item img {
    height: 50px;
    text-align:center;
    border: none #000000;
    padding: 1px 0px 1px 0px;

    border-radius: 5px;
    margin-bottom: 5px;
}

.option-list-items {
    margin-top: 10px;
    text-align: center;
}

.option-list-label {
    font-size: 14px;
    font-weight: bold;
	position: center;
}


.option-list-item-active {

}

.option-list-item img.active {
    display: none;
}
.option-list-item img.inactive {
    display: inline;
}
.option-list-item-active img.inactive {
    display: none;
}

.option-list-item-active img.active {
    display: inline;
}

/* ***  RANGE SLIDER *** */

.qui-slider-label{
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: bold;
}

.qui-slider-wrapper {
    padding: 20px;
    padding-bottom: 0;
}

.qui-slider {
    background-color: var(--slider-range-color);
}

.qui-slider-container {
    position: relative;
    margin: 30px 60px;
    margin-bottom: 20px;
}
.qui-slider-valuelabel {
    position: absolute;
    top: -30px;
    color: var(--slider-floating-value-color);
    font-weight: var(--slider-floating-value-font-weight);
    white-space: nowrap;
}

.slider-labels {
    margin-top: 5px;
    font-weight: bold;
    font-size: 12px;
}

.ui-slider-handle.ui-corner-all.ui-state-default {
    background-color: var(--slider-handle-color);
    outline: none;
}

/* ***  SPINNNER *** */
.qui-spinner-wrapper {
    padding: 20px;
}
.qui-spinner-container {
    margin-top: var(--general-bottomtop-margin);
}
.qui-spinner-label {
    font-weight: bold;
    font-size: 14px;
}

.spinner-label {
    font-size: 14px;
    font-weight: bold;
    display: inline;
    margin-left: 10px;
}

.ui-spinner-input {
    width: 3rem;
}

.ui-spinner-button {
    background-color: var(--spinner-button-bg-color) !important;
}


/* ***  RESULT *** */

.from-result-back-button {
    margin-top: 30px;
    margin-bottom: 30px;
    display: none;
}

#modal-chart,  #modal-chart .modal-dialog {
    max-width: 1140px;

}
#modal-chart .ranking-chart {

}
#modal-chart canvas {

}
.result-image {
    margin-top: 30px;
    margin-bottom: 30px;
}


.result-image img {
    height: 200px;
    max-width: 100%;
}

.result-download {
    margin-top: var(--general-bottomtop-margin);
}

/* "get in contact" button below the result */
.result-contact {
    margin-top: var(--general-bottomtop-margin);
}
.calculate-result-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: var(--general-bottomtop-margin);
}

/* Result Accordion */
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    background-color: var(--accordion-header-bg-color);
    border-color: var(--accordion-header-border-color);
    color: var(--accordion-header-text-color);
    font-weight: var(--accordion-header-font-weight);
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background-color: var(--accordion-header-active-bg-color);
    border-color: var(--accordion-header-active-border-color);
    color: var(--accordion-header-active-text-color);
    font-weight: var(--accordion-header-font-weight);
}

/* *** CONTACT ELEMENT *** */
.contact-element {
    margin: var(--general-bottomtop-margin) 0;
}
.contact-element button {
    margin: var(--general-bottomtop-margin) 0;
}

/* *** CONTACT FORM *** */

/* Rahmen Kontaktformular */
#contact-form .modal-content, #contact-form .modal-header {
    border-color: var(--contact-form-border-color);
}

/* Rahmen Kontaktformular Inputs */
#contact-form .form-control {
    border-color: var(--contact-form-input-border-color);
}


#contact-form label {
    display: block;
    margin-bottom: 0;
}
#contact-form .contact-form-row {
    margin-bottom: 10px;
}

#contact-form .modal-title {
    font-weight: bold;
    font-size: 14px;
}

#contact-form-validation {
    height: 30px;
    font-weight: bold;
    font-size: 12px;
}

.mandatory label:after {
    content: ' *';
}

/* ***  MODAL WINDOW ***  */


.modal, .modal-dialog {
    max-width: 600px;
    height: auto;
}
.blocker {
    z-index: 2 !important;
    background-color: rgba(0,0,0,0.5);
}
.close-modal {
    top: 5px !important;
    right: 5px !important;
}

.modal a.close-modal[class*="icon-"] {
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    color: #fff;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    background: #f7f7f7;
    border: 2px solid #fff;
    -webkit-border-radius:  26px;
    -moz-border-radius:     26px;
    -o-border-radius:       26px;
    -ms-border-radius:      26px;
    -moz-box-shadow:    1px 1px 5px rgba(0,0,0,0.5);
    -webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    box-shadow:         1px 1px 5px rgba(0,0,0,0.5);
    padding: 5px;
}

/* *** LOADING INDICATOR *** */
.loading-indicator {
    height: 80px;
    width: 80px;
    background-repeat: no-repeat;
    background-position: center center;
}
.loading-indicator-overlay {
    background-color: #FFFFFF;
    opacity: 0.8;
    filter: alpha(opacity = 80);
}
body.loading-indicator-overlay {

    height: 100vh !important;
    position: absolute !important;
    top: 0;
}

.no-background-overlay {
    background-color: transparent;
}

.page-loading-message {
    position: absolute;
    z-index: 70000;
    background-color: white;
    border: solid 1px #c3c3c3;
    border-radius: 10px;
    box-shadow: 3px 3px 8px #1fb2fe;
    padding: 10px;
}


/* *** SECONDARY PAGES *** */
.info-page, .contact-page {
    margin-top: var(--general-bottomtop-margin);
    margin-bottom: var(--general-bottomtop-margin);
}
