/* @charset "UTF-8"; */

/* ******************************************************************************************
* summary: 
* version:  2.0, 2022-01
* author:   Dirk Werther (bol)
********************************************************************************************/
/* Bootstrap Font Icon CSS */
@import "https://cdn.formular-server.de/fonts/bs/bol-icons.css";

:root {
    --bol-color-accent: rgb(0, 48, 86);             /*  OZG Farbe rgb(0, 64, 128) */ 
    --bol-color-accent-anti: white;                 /* Kontrastfarbe zu OZG, z.B. Schrift auf dem OZG Hintergrund rgb(242, 242, 242)*/
    --bol-color-shadow: var(--bol-color-accent);      /* Schattenfarbe für Umrandungen */

    --bol-color-line: rgb(192,192,192);             /* Farbe einer Linie */

    --bol-color-infotext-bg: silver;                /* Hintergrund für Infotexte */
    --bol-color-infotext-fg: var(--bol-color-bg-contrast);                 /* Vordergrund Infotexte */

    --bol-bar-bg: var(--bol-color-accent);            /* Hintergrund des bol-Balkens */
    --bol-bar-fg: var(--bol-color-accent-anti);       /* Vordergrund des bol-Balkens */

    --bol-color-button-bg: var(--bol-color-accent);       /* Hintergrund Button */
    --bol-color-button-fg: var(--bol-color-accent-anti);                   /* Vordergrund Button */

    --bol-color-field-bg: rgb(223, 223, 223);                    /* Hintergrund Eingabefeld */
    --bol-color-field-fg: rgb(0, 0, 0);             /* Vordergrund Eingabefeld */
    --bol-color-fieldborder:  rgb(0, 158, 224);              /* Randfarbe Eingabefeld */
    --bol-color-fieldfocus: var(--bol-color-accent);  /* Farbe des aktiven Feldes */
    --bol-color-fieldlabel-fg: rgb(0, 0 ,170);      /* Farbe des Labels */
    --bol-color-fieldhover: navy;                   /* MouseOver Farbe Ferld */

    --bol-color-fielderror-bg: #DF0044;             /* Hintergrundfarbe Fehleranzeige */
    --bol-color-fielderror-fg: white;               /* Hintergrundfarbe Fehleranzeige */
    
    --bol-color-sidebar-bg: rgb(242,242,242);       /* Hintergrund seitliche Anzeige "Haben Sie Fragen?"*/   
    --bol-color-sidebar-fg: black;                  /* Textfarbe seitliche Anzeige */ 

  
    --bol-color-table-bg: rgb(247, 246, 244);  


    --bol-color-dialogheader-bg: rgb(84, 83, 83);                 /* Hintergrundfarbe Dialogtitel */
    --bol-color-dialogheader-fg: var(--bol-color-accent-anti);      /* Vordergrundfarbe Dialogtitel */

    --bol-color-stepbutton-bg: var(--bol-color-button-bg);          /* Hintergrund des aktiven Buttons der Fortschrittsanzeige */
    --bol-color-stepbutton-line: rgb(156, 151, 151);           /* Farbe der Umrandung des Buttons */

    --bol-logoheight-xl: 150px;                         /* Höhe des Logos groß */
    --bol-logoheight-xs: 100px;                          /* Höhe des Logos klein */

    --bol-font-sans:  Arial, Helvetica, sans-serif;
    --bol-font-serif: 'Times New Roman', Times, serif;

    --bol-fontsize: 1em;
    --bol-fontsize-h1: 2em;
    --bol-fontsize-h2: 1.6em;
    --bol-fontsize-h3: 1.4em;
    --bol-fontsize-h4: 1.2em;
    --bol-fontsize-h5: 1.1em;
    --bol-fontsize-h6: 1em;
    --bol-fontsize-field: 100%;
    --bol-fontsize-label: 90%;

    --bol-media-break: 999px;
    --bol-font-header: var(--bol-font-sans);
    --bol-font-field: var(--bol-font-sans);
    --bol-font-label: var(--bol-font-sans);
}
/**************** Einstellungen Bezirk Oberbayern ************/
.bob-topbar {
    background-color: var(--bol-color-accent);
    color: var(--bol-color-accent-anti);
    font-size: 18pt;
    font-weight: bold;
    padding: 20px 0px 0px 0px;
}
.bob-outerframe {
    background-color: rgb(240, 240, 240);
    padding: 0px 0px 0px 0px;
}
.bob-logo {
    height: var(--bol-logoheight-xs);
    margin: 0px 0px 0px 0px;
}
@media (min-width: 952px) {
    .bob-logo {
        height: var(--bol-logoheight-xl);
        margin: -40px 0px 0px 0px;
    }
}
/********** body style **********/
body {
    border: none;
    background-color: rgb(240, 240, 240);
    padding: 0px;
    font-family: var(--bol-font-field);
    font-size: var(--bol-font-size);
}
/********** settings fuer Formularseiten **********/

.bol-pagestyle {
    border: none;
    background-color: white;
    padding: 0px 0px 5px 0px;
    margin: 1px 1px 1px 1px;
}
@media (min-width: 952px) {
    .bol-pagestyle {
        border-top: 1px solid silver;
        padding: 5px 5px 5px 5px;
        margin: 0px 0px 0px 0px;
    }
}

/********* Ueberschriften & Textstile **********/
h1, .bol-h1 {
    color: var(--bol-color-accentanti);
    font-family: var(--bol-font-header);
    font-size: calc(var(--bol-fontsize-h1) * 0.4);
    font-weight: bold;
}
h2, .bol-h2 {
    font-weight: normal;
    color: var(--bol-color-accent);
    font-family: var(--bol-font-header);
    font-size: 1.3em;
}
h3, .bol-h3 {
    color: var(--bol-color-accent);
    font-family: var(--bol-font-header);
    font-size: 1.2em;
    font-weight: normal;
}
h4, .bol-h4 {
    font-family: var(--bol-font-header);
    color: black;
    font-size: 1.1em;
    font-weight: normal;
}
@media (min-width: 952px) {
    h1,.bol-h1 {
        font-size: 1.4em;
    }
    h2, .bol-h2 {
        font-size: 1.6em;
    }
    h3, .bol-h3 {
        font-size: 1.2em;
    }
    h4, .bol-h4 {
        font-size: 1.1em;
    }
}

.bol-infoheader {
    background-color: var(--bol-color-infotext-fg);
    color: var(--bol-color-accent);
    font-size: 1em;
    font-weight: bold;
    padding: 5px;
    margin-top: 10px;
}
.bol-infotext {
    background-color: var(--bol-color-infotext-fg);
    color: var(--bol-color-field-fg);
    font-size: 0.8em;
    font-weight: normal;
    padding: 5px;
}
.bol-infotipp {
    color: var(--bol-color-accent);
    font-size: 0.8em;
    font-style: italic;
    padding: 5px;
}
/********** Container settings **********/
.bol-container-hidden {
    display: none;
}
.bol-container-left {
    text-align: left;
}
.bol-container-center {
    text-align: left;
}
.bol-container-right-always {
    text-align: right;
}
.bol-container-right {
    text-align: left;
}
.bol-container-hiddensmall {
    display: none;
}
@media (min-width: 952px) {
    .bol-container-left {
        text-align: left;
    }
    .bol-container-center {
        text-align: center;
    }
    .bol-container-right {
        text-align: right;
    }
    .bol-container-hiddensmall {
        display: flex;
    }
}

/********** Navigationsbar **********/
/* .bol-navbar-top {
    background-color: var(--bol-color-bg);
    border: none;
    margin-top: 2px;
} */
/* .bol-navbar-top-text {
    font-size: 0.8em;
    color: var(--bol-color-accent);
    text-decoration: wavy;
    padding-top: 5px;
}

.bol-navbar-bottom {
    background-color: transparent;
    border-top: 1px solid var(--bol-color-accent);
    padding-top: 10px;
    padding-bottom: 20px;
    margin-top: 5px;
} */
/* .bol-buttonbar {
    border-top: 1px solid var(--bol-color-accent);
    margin: 15px 0px 0px 0px;
    padding: 10px 0px 10px 0px;
} */

/********** SideBar settings **********/
.bol-sidebar {
    padding: 0px;
    margin-left: 0px;
    margin-top: 2px;
    margin-bottom: 10px;
}
@media (min-width: 767px) {
    .bol-sidebar {
        padding-right: 10px;
        margin-left: 0px;
        margin-top: 0px;
        padding-bottom: 20px; 
        background-color: var(--bol-color-sidebar-bg);
        box-shadow: 2px 4px 8px var(--bol-color-accent);
        border: none;
    }
}

.bol-sidebar-link, a {
    color: var(--bol-color-accent);
    font-weight: bold;
}


/********** Kopf- und Fusszeile **********/
.bol-header {
    /* background-color: var(--bol-color-accent-anti); */
    color: var(--bol-color-accent);
    margin-top: 0px;
    margin-bottom: 10px;
    height: var(--bol-logoheight-xs);
}
@media (min-width: 767px) {
    .bol-header {
        background-color: transparent;
        margin-top: 20px;
        height: var(--bol-logoheight-xl);
        color: var(--bol-color-accent);
    }
}

.bol-footer {
    background-color: var(--bol-color-accent);
    color: var(--bol-color-accent-anti);
}

.bol-emblem {
    src: url("https://www.bezirk-oberbayern.de/layout/bob2020/assets/img/logo-negative.png");
    height: var(--bol-logoheight-xs);
}
@media (min-width: 767px) {
    .bol-emblem {
        height: var(--bol-logoheight-xl);
    }
}
.bol-bar-row {
    background-color: var(--bol-bar-bg);
    color: var(--bol-bar-fg);
    padding: 0px 0px 0px 0px;
    margin: 20px -15px 0px -15px;
    border: none;
}
.bol-bar-button {
    background-color: transparent; 
    border: none; 
    font-size: 100%; 
    color: inherit;
}
.bol-bar-text {
    text-align: right;
    font-size: 50%;
}


.cc-button.bol-btn-addblock, 
.cc-button.bol-btn-deleteblock, 
.cc-button.bol-btn-clearblock, 
.cc-button.bol-btn-toggleblock {
    background-color: silver;
    font-weight: normal;
    color: var(--bol-color-accent);
    width: auto;
    font-size: 0.8em;
}
.bol-block-title {
    background-color: var(--bol-color-bg);
    padding-top: 5px;
    margin-top: 10px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 1.0em;
    color: green;
}

.bol-block {
    background-color: var(--bol-color-bg);
    padding: 5px 15px 25px;
    margin-left: 2px;
    margin-right: 2px;
}

/********** Fortschrittsbalken **********/
.bol-stepbar {
    background-color: inherit;
}
.bol-stepbar-text {
    padding-left: 15px;
    font-size: 70%;
}
.bol-stepbtn-active, .bol-stepbtn-active-left {
    background-position: right;
    border-style: none;
    color: var(--bol-color-accent-anti); 
    height: 40px; 
    font-size: 70%;
    font-weight: normal;
}
.bol-stepbtn-inactive, .bol-stepbtn-inactive-left {
    background-position: right;
    border-style: none;
    color: var(--bol-color-accent); 
    height: 40px; 
    font-size: 70%;
    font-weight: normal;
}
.bol-stepbtn-active, .bol-stepbtn-inactive {
    background-color: inherit;
    width: auto;
    padding: 0px 25px 0px 10px;
}
.bol-stepbtn-active-left, .bol-stepbtn-inactive-left {
    background-color: inherit;
    width: 200px;
    text-align: left;
}

.bol-stepbtn-active:hover, .bol-stepbtn-active-left:hover {
    color: yellow;
}
.bol-stepbtn-inactive:hover, .bol-stepbtn-inactive-left:hover {
    background-color: silver;
}




/* ----- Ausgabe der Summary in Tabellen mittels div's ---------------------------------------------------------*/
.bol-table-header {
    background-color: var(--bol-color-accent);;
    color: var(--bol-color-accent-anti);
    font-size: 100%;
    font-weight: bold;
    border-top: 1px solid var(--bol-color-accent)
}
.bol-table-cellleft1 {
    background-color: var(--bol-color-table-bg);
    color: var(--bol-color-field-fg);
    font-style: italic;
    font-size: 90%;
}
.bol-table-cellright1 {
    background-color: var(--bol-color-table-bg);
    color: var(--bol-color-field-fg);
    font-size: 90%;
}
.bol-table-cellleft2 {
    background-color:white;
    color: var(--bol-color-field-fg);
    font-style: italic;
    font-size: 90%;
}
.bol-table-cellright2 {
    background-color: white;
    color: var(--bol-color-field-fg);
    font-size: 90%;
}

/***** Fieldset *****************************************************************************/
fieldset {
    padding: 0px 2px 2px 2px;
    margin: 5px 0px 0px 0px;
    font-size: 100%;
    background-color: var(--bol-fieldset-bg);
}
.fieldset-inner-bs {
    margin: 10px;
    padding: 5px;
    background-color: inherit;
    font-size: 100%;
    /* border: 1px solid silver; */
}
.fieldset-legend-bs {
    padding: 2px 2px 2px 2px;
    margin: 0px 0px 0px 0px;
    color: black;
    font-size: 110%;
    font-weight: bold;
    background-color: inherit;
    /* border-bottom: 1px solid silver; */
}

/* --- Anpassungen bol ---*/
.bol-fs-colright {
    text-align: right;
    margin-top: 7px;
    font-size: inherit;
}
.bol-fs-button{
    /* margin: 2px; */
    /* width: 40px; */
    background-color: var(--bol-color-button-fg);
    color: var(--bol-color-button-bg); 
    border: none;
    box-shadow: none;
}



.bol-fs-s1 {
    padding: 0px 0px 0px 0px;
    margin: 0px 5px 0px 5px;
    background-color: white;
    border: none;
}
.bol-fs-s1legend {
    color: rgb(0, 158, 224);
    font-size: 120%;
    font-weight: normal;
}
.bol-fs-s1legendrow {
    border: none;
    margin: 0px 0px 0px 0px;
    padding: 5px 0px 0px 5px;
    background-color: transparent;
    border-bottom: 1px solid rgb(166, 25, 46);
}
.bol-fs-s1inner {
    font-family: var(--bol-font-sans);
    font-size: 100%;
    margin: 0px 5px 10px 5px;
    padding: 10px 0px 0px 10px;
    background-color: inherit;
}

.bol-fs-s2 {
    padding: 0px 0px 0px 0px;
    margin: 20px 0px 0px 0px;
    background-color: rgb(230, 236, 239);
    border: none;
    /* box-shadow: 5px 5px 10px var(--bol-color-shadow); */
}
.bol-fs-s2legend {
    color: white;
    font-size: 1em;
    font-weight: normal;
    border: none;
}
.bol-fs-s2legendrow {
    border: none;
    /* margin: 0px 0px 0px 0px; */
    padding: 5px 0px 0px 10px;
    background-color: rgb(166, 25, 46);
}
.bol-fs-s2inner {
    margin: 0px 5px 5px 5px;
    padding: 10px 10px 0px 10px;
    border: none;
    background-color: inherit;
}

.bol-fs-s3 {
    margin: 10px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    background-color: white;
}
.bol-fs-s3legend {
    color: rgb(166, 25, 46);
    font-size: 1.1em;
    font-weight: normal;
    border: none;
}
.bol-fs-s3legendrow {
    border: none;
    margin: 0px 0px 0px 0px;
    padding: 5px 0px 0px 0px;
    background-color: inherit;
    border-bottom: 1px solid rgb(166, 25, 46);
}
.bol-fs-s3inner {
    margin: 0px 0px 0px 0px;
    padding: 5px 5px 5px 5px;
    /* border: 1px solid silver; */
    background-color: white;
}


.bol-fs-s4 {
    /* margin: 10px 0px 0px 0px; */
    padding: 0px 0px 0px 0px;
    border: 3px solid var(--bol-color-accent);
    box-shadow: none;
    background-color: rgb(230, 236, 239);
}
.bol-fs-s4legend {
    color: white;
    font-size: 1em;
    font-weight: normal;
    border: none;
    padding-left: 10px;
}
.bol-fs-s4legendrow {
    padding: 5px 0px 5px 10px;
    background-color: rgb(166, 25, 46);
}
.bol-fs-s4inner {
    margin: 0px 0px 0px 0px;
    padding: 5px 15px 5px 15px;
    background-color: inherit;
}

.bol-subframe {
    padding: 0px 0px 5px 5px;
    margin: 0px 0px 0px 15px;
    border: 1px solid rgb(166, 25, 46);
}
.bol-subsplitter {
    padding: 0px 0px 5px 0px;
    margin: 5px 0px 0px 5px;
    border-top: 1px solid rgb(222, 222, 222);   
}


button.bol-button-small {
    font-size: 0.9em;
    font-weight: normal;
    margin-bottom: 10px;
}

.bol-subheader {
    padding: 0px;
    margin: 2px;
    background-color: rgb(222,222,222);
    /* height: 15px; */
}

.bol-field-required, .bol-fd-required {
    vertical-align:text-top;
    font-size: 80%;
    color: var(--bol-color-fielderror-bg);
}

.bol-field-info, .bol-fd-info {
    vertical-align: top;
    font-size: 100%;
    border: none;
    background-color: transparent;
    color: var(--bol-color-accent);
}
/* Klassen für das Löschen von Upload-Feldern */
.bol-text-field-clear {
    position: relative;

}
.bol-text-field-clear button {
    position: absolute;
    color: black;
    right: 1em;
    top: 8;
    bottom: 0;
    line-height: 40px;
    background: transparent;
    border: none;
}
.bol-div-row {
    margin: 5px 0px 0px 5px;
    border-top: 1px solid green;
}
/***** bolDialog *****************************************************************************/
.bol-dialog-header {
    background-color: var(--bol-color-dialogheader-bg); 
    color: var(--bol-color-dialogheader-fg);
    padding: 3px;
    font-weight: bold;
}

.bol-dialog-errorheader {
    background-color: var(--bol-color-fielderror-bg); 
    color: var(--bol-color-fielderror-fg);
    padding: 3px;
    font-size: 120%;
    font-weight: bold;
}

/***** bol Klassen fuer Standard Objekte *****************************************************************************/
input[type="text"]:focus  {
    border:   1px var(--bol-color-border-field) solid;
    box-shadow: 0px 0px 10px var(--bol-color-fieldfocus);
}
input[type="checkbox"]:focus  {
    border: 1px var(--bol-color-fieldborder) solid;
    border-radius: 5px;
    box-shadow: 0px 0px 10px var(--bol-color-fieldfocus);
}

input[type="checkbox"]:hover  {
    border: 1px;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--bol-color-accent);
}
input[type="checkbox"] ~ span:hover  {
    color: var(--bol-color-accent);
}

input[type="radio"]:focus  {
    border:   1px var(--bol-color-fieldborder) solid;
    border-radius: 5px;
    box-shadow: 0px 0px 10px var(--bol-color-fieldfocus);
}
input[type="radio"]:hover  {
    border: 1px;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--bol-color-accent);
}
input[type="radio"] ~ span:hover  {
    color: var(--bol-color-accent);
}

.progress-bar {
    background-color: var(--bol-color-accent);
}
/*** CC Klassen von eforms ***********************************************************************************/
.cc-line {
    border-color: var(--bol-color-shadow);
    border-style: solid;
    border-width: 1px;
}
.cc-button {
    background-color: var(--bol-color-accent); 
    font-weight: bolder;
    color: var(--bol-color-accent-anti);
    border-radius: 5px;
    font-size: 1em;
}
.cc-button:hover {
    background-color: rgb(196, 196, 104);
} 
.cc-checkbox {
    padding-top: 0px;
    padding-left: 0px;
}


/*--- WAIMEA settings, lot of changes --------------------------------------------------------------------------------------------------------*/
/* Infield label input fields */
.infieldlabel {
	background: var(--bol-color-field-bg);
	position: relative;
    font-size: 100%;
}
.infielderror {
	background-color: var(--bol-color-fielderror-bg);
	color: var(--bol-color-fielderror-fg);
    font-size: 0.7em;
}
.infieldlabel label {
    font-family: var(--bol-font-label);
    display:  block;
    position: absolute;
	top: 2px;
	left: 5px;
    background-color: transparent;
	color: var(--bol-color-fieldlabel-fg);
    font-size: 0.8em;

	font-weight: normal;
	/* letter-spacing: 0.03em; */
}

.infieldlabel input {
	font-size: 1em;
    margin-top: 5px;
    padding: 1.2em 5px 3px;
	color:    var(--bol-fieldtext-fg);
	height:   auto;
	border:   1px solid var(--bol-color-fieldborder);
	border-radius: 3px;
    box-shadow: none;
    outline: none;
}
.infieldlabel textarea {
	font-size: 1em;
	padding:  1.2em 5px 5px;
    margin-top: 5px;
	color:    var(--bol-fieldtext-fg);
	height:   auto;
	border:   1px solid var(--bol-color-fieldborder);
	border-radius: 5px;
	outline:  none;
	box-shadow: none;
	-webkit-box-shadow: none;
}
.infieldlabel select {
	font-size: 1em;
	padding:  1.2em 5px 3px;
    margin-top: 5px;
	color:    var(--bol-fieldtext-fg);
	height:   auto;
	border:   1px var(--bol-color-fieldborder) solid;
	border-radius: 5px;
	outline:  none;
	box-shadow: none;
}
/*
input[type="text"] {
    margin: 5px 0px 2px 0px;
    padding: 18px 2px 2px 5px; 
    height: auto;
    background-color: var(--bol-color-field-bg);
    color: var(--bol-fieldtext-fg);

    border: none;
    border-radius: 0px;
    border-bottom: 1px solid var(--bol-color-fieldborder);
    box-shadow: none;
    vertical-align: bottom;
}
input[type="file"]{
    margin: 5px 0px 2px 0px;
    padding: 20px 2px 2px 5px; 
    font-size: 1em;
    height: auto;
    border-radius: 0px;
    border: none;
    border-bottom: 1px solid var(--bol-color-fieldborder);
}
*/









/* Datepicker */
.dpTable {
    background-color: white;
	border:  1px solid var(--bol-color-accent); 
    font-size: 0.8em; 
    color: #505050; 
}
.dpTD {
	cursor: grab;
}
.dpDayHighlightTD {
	border:  1px solid #aaaaaa; 
    cursor: pointer; 
    background-color: #cccccc
}
.dpDayTD {
	border:  1px solid #aaaaaa;     
    color: white; 
    background-color: #cccccc;
}
.dpTitleText {
	font-weight: bold; 
    font-size: 1.2em; 
    color: gray;
}
.dpDayHighlight {
	font-weight: bold; 
    color: var(--bol-color-accent); ;
}
.dpButton {
	padding: 5px;
    border: none;
	font-weight: normal;  
    font-size: 1.0em;  
    background: var(--bol-color-accent); 
    color: var(--bol-color-accent-anti);
}
.dpTodayButton {
	font-weight: normal;  
    font-size: 1.0em;  
    background: var(--bol-color-accent); 
    color: var(--bol-color-accent-anti);
}
/* end Datepicker */
