/**
 * basisweb.css
 * 
 * StyleSheets
 *
 * CSS version 3
 *
 * @author     	Chris Wiese  <chris@basisweb.de>
 * @copyright   2019 - 2020 basisweb (http://basisweb.de)
 *
 * @file       	basisweb.css
 * @lastchange 	17.01.2020
 * @encoding   	UTF-8
 *
 *
 * Farben
 * ------
 *
 * dunkelgrün:  #778c85
 * rot:         #ea3323
 * dunkelgrau:  #4d504f
 * hellgrau:    #b0b1b0
 *
 * Piktogramme
 * orange:      #eeca53
 * blau:        #235783
 *
 */

i.orange {
    color: #eeca53;
}

i.blau {
    color: #235783;
}



/**
 *
 * Header
 *
 */

.page-logo {
	background: #ffcb00;
}

.page-logo img {
	width: 28px;
	height: 28px;
}

.headerbtn {
	margin-left: 5px;
	display: none;
}

.profile-image {
    border: 1px solid #aaa;
    cursor: pointer;
}

.user-status {
    padding: 20px 9px 0;
}

.user-roleid-1 {
    background-color: #ea3323;
    color:#eee;
    padding: 5px 15px;
}

.user-roleid-2 {
    background-color: #4d504f;
    color:#eee;
    padding: 5px 15px;
}

.user-roleid-3 {
    background-color: #ffcb00;
    padding: 5px 15px;
    color:#eee;
}

.user-roleid-4 {
    background-color: #778c85;
    color:#eee;
    padding: 5px 15px;
}




/**
 *
 * Override Theme
 *
 */

 .btn-group > .btn {
    top: -3px;
 }

.list-group-item {
    padding:0;
}

.list-group-item.active {
    background: #fff;
    border-color: #ddd;
    color: initial;
}

label.menu-open-button,
.header-btn[data-class="mobile-nav-on"], 
.panel-toolbar .btn-panel[data-action="panel-collapse"], 
.panel-toolbar .btn-panel.js-panel-collapse,
.badge.badge-icon,
.page-item.active .page-link{
	background: #4d504f;
	border-color: #778C85;
	color: #eee;
} 

.pagination .page-item:first-child:not(.active) .page-link,
.pagination .page-item:last-child:not(.active) .page-link,
.page-item.active .page-link,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before {
	background: #778c85;
	border-color: #778c85;
	color: #eee;
} 

.pagination .page-item:first-child:not(.active) .page-link:hover,
.pagination .page-item:last-child:not(.active) .page-link:hover,
.page-item.active .page-link:hover,
.pagination .page-link:hover,
.custom-control-input:checked ~ .custom-control-label::before {
	background: #657871!important;
	border-color: #5f716b;
	color: #eee;
} 

.swal2-icon.swal2-question,
.nav-tabs-clean .nav-item .nav-link.active {
	color: #4d504f;
	border-color: #4d504f;
} 

a {
	color: #4d504f;
}

a:hover {
	color: #333;
}

a.nav-group-text span{
    color: #b1b3b2;
}

.primary-nav .nav-menu:first-of-type {
	margin-top: 0;
}

.header-icon:not(.btn)[data-toggle="dropdown"][aria-expanded="true"]::after {
    display: none;
}

.subheader {
    margin-bottom: 20px;
}

.subheader-title small {
    display: inline;
    margin-left: 5px;
    font-size: 0.6em;
    color: #b0b1b0;
}

.subheader-block-meta {
    margin-right: 10px;
    color: #aaa;
    display: none;
}

td:focus, 
th:focus {
    outline: none;
}

.nav-pills .nav-link.active {
    background-color: #fff;
    border-bottom: 1px solid #4d504f;
    color: #333;
    border-radius:0;
}

.datepicker table tr td.disabled {
    color: #ddd;
}


/**
 *
 * Forms & Tabellen
 *
 */

fieldset {
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: 1px solid #eee;
}

label.error {
	font-size: 10px;
	background: #aa0000;
	color: #eee;
	width: 100%;
	padding: 2px 5px;
	opacity: 0.8;
	border: 1px solid #660000;
}

.help-block {
    text-align: right;
    font-size: 10px;
}

.red {
    color: #ea3323;
}

.required-label {
    /*color: #ea3323;*/
}

.required-label:after { content:" *"; }

th.text-center {
    text-align: center;
}

footer {
    text-align: right;
}

.dataTables_empty {
    font-size: 1em;
    color: #999;
}

.piktogramm {
    border: 1px solid #ddd;
    padding: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.piktogramm.aktiv {
    background-color: #778c85;
    border: 2px dashed #000;
}


.deckblatt-bild.aktiv {
    border: 1px dashed #333;
    padding:5px;

}

.deckblatt-bild:hover {
    border: 1px solid #333;
    padding:5px;
    cursor:pointer;
}

.dropzoneKommentar {
    font-size: 80%;
    margin-top: 3px;
    text-align: right;
}


.dz-image {
    width: 128px;
    height: 128px;
}

.dz-image img {
    width: 100%;
    height: 100%;
}

a.overview:hover {
    font-weight: 600;
    color: #4e504f
}

.gefaehrdungLoeschen.btn-outline-primary {
    color: #ddd;
    border: none;
}

.nichtZutreffend.btn-outline-primary:hover,
.gefaehrdungLoeschen.btn-outline-primary:hover {
    color: #4e504f;
    background: #ddd;
}

.nichtZutreffend.btn-primary {
    background: #ddd;
    color: #4e504f;
}

.nichtZutreffend.btn-primary:hover,
.gefaehrdungLoeschen.btn-primary:hover  {
    background: #fff;
    color: #4e504f;
}

.custom-control-label:hover,
select:hover {
    cursor: pointer;
}

select optgroup{
    font-style:normal;
    font-weight:300;
}

td.system {
    color: #aaa;
}


/**
 *
 * Dropzone 
 *
 */

div.myDropzone,
div.myDropzoneSignatur {
    width: 100%;
    height: 101px;
    border: 1px solid #ccc;
}

div.myDropzone,
div.myDropzoneSignatur {
    background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0.25, rgba(0, 0, 0, .03)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(0, 0, 0, .03)), color-stop(0.75, rgba(0, 0, 0, .03)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(135deg, rgba(0, 0, 0, .03) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .03) 50%, rgba(0, 0, 0, .03) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(135deg, rgba(0, 0, 0, .03) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .03) 50%, rgba(0, 0, 0, .03) 75%, transparent 75%, transparent);
    background-image: -ms-linear-gradient(135deg, rgba(0, 0, 0, .03) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .03) 50%, rgba(0, 0, 0, .03) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(135deg, rgba(0, 0, 0, .03) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .03) 50%, rgba(0, 0, 0, .03) 75%, transparent 75%, transparent);
    background-image: linear-gradient(135deg, rgba(0, 0, 0, .03) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .03) 50%, rgba(0, 0, 0, .03) 75%, transparent 75%, transparent);
    background-color: #FAFCFD;
    background-size: 16px 16px;
    cursor: pointer;
}

.progress {
    background: #F8DA49;
    width: 0%;
    height: 4px;
    display: none;
}

.dz-image {
    float: left;
    cursor:pointer;
}

.dropzoneMeta {
    padding-left: 5px;
    font-size: 12px;
    margin-left: 130px;
    border-left: 1px solid #ddd;
    height: 120px;
}

.dropzoneMeta label {
    font-weight: bold;
   
    margin-top: 5px;
}


.dropzoneMeta a {
    color: #666;
}

.dz-preview {
    width: 100%;
    display: block;

}

div.dz-details, div.dz-progress, div.dz-error-message, div.dz-success-mark, div.dz-error-mark {
    display: none;
}

div.dz-preview{
    float: left;
    margin-bottom: 15px;
}

.piktogramm:hover {
    border:1px solid #7b8c86;
    width: 100%;
    position: absolute;
    z-index: 100;
    background: #fefefe;  
}

.piktogramm.aktiv:hover {
    border:1px solid green;
    width: 100%;
    position: absolute;
    z-index: 100;
    background: #7b8c86;  
}

.pikCheck {
    position: absolute;
    top: 5px;
    width: 15px;
    height: 15px;
    padding-left: 1px;
    font-weight: 600;
    color: #fefefe;
    display: none;
}

/**
 *
 * Login 
 *
 */

.browserinfo {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: #666;
    font-size: 0.9em;
}

.blankpage-footer {
    color: #ea3323!important;
}


/**
 *
 * BA Generator: Preview
 *
 */

#HTMLPreview {
    height: 297px;
    width: 210px;
    border: 1px dashed #aaa;
    background: #fff; /* #f7cc46 orange*/
    position: fixed;
    right:15px;
    top: 70px;
    z-index: 100;
    opacity: 0.4;
    font-size: 0.22em;
    word-wrap: all;
    box-shadow: 10px 20px 30px grey;
    cursor: zoom-in;
    /* transform: rotate(6deg); */
}

.previewAbschnitt p {
   margin-bottom:0;
   font-size: 1em;
}

.previewAbschnitt img {
    width: 100%!important;
    height: auto;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.previewAbschnitt {
    width: 100%;
    height: auto;
    border-left: 5px solid #ffffff;
    border-right: 5px solid #ffffff;
    border-bottom: none;
    border-top: none;
    background: #fff;
    color: #333333;
}

.previewAbschnittTitel {
    width: 100%;
    text-align: center; 
    background: #ffffff;
    color: #fff;
    height: 6px;
    padding-top: 1px;
}

.previewAbschnittContent {
    width: 100%;
    height: auto;
    text-align: left; 
    color: #333333;
    padding: 1px 3px 0px 3px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    word-break: break-word;
    hyphens: auto;
}

.previewAbschnittContent.row {
    margin-left: 0;
}

.previewAbschnittContentLeft {
    padding: 3px;
    text-align: center;
}

.previewAbschnittContentCenter {
    padding: 3px;
    word-wrap: break-word;
}

.previewAbschnittContentCenter ul,
.previewAbschnittContentCenter ol {
    margin-left: -25px;
}
.previewAbschnittContentRight {
    padding: 3px;
    text-align: center;
}

.previewHeadLeft {
    width: 50%;
    text-align: left;
    float: left;
    position: absolute;
    left: 7px;
}

.previewHeadRight {
    width: 50%;
    text-align: right;
    position: absolute;
    right: 7px;   
}

.previewHeadCenter,
.previewHeadTitel {
    width: 100%;
    text-align: center; 
}

.previewAbschnitt p {
    font-size: 1em;
    margin: 2px 0;
}


.previewAbschnitt h3 {
    font-size: 1.5em;
    margin: 2px 0;
}

.previewAbschnitt h2 {
    font-size: 2em;
    margin: 0;
}
.previewAbschnitt h1 {
    font-size: 2.5em;
    margin: 2px 0;
}

.previewFooter {
    border-bottom: 10px solid #ffffff;
    padding-bottom: 10px;
     display: none;
}

.previewFooter .previewLogo {
    width: 30%;
    display: none;
    padding-top: 5px;
    padding-left: 2px;
}


#HTMLPreview.zoom .previewFooter .previewLogo {
    padding-top: 15px;
    padding-left: 15px;
}

.previewFooter .previewLogo img{
    max-width: 80%;
}

#HTMLPreview.zoom .previewFooter .previewLogo img{
    height: auto;
    width: auto;
}

.previewFooter .previewSignatur {
    width: 30%;
    border-bottom: 1px solid #999;
    position: absolute;
    right: 7px;  
    margin-right: 15px;
    display:none;
}

.label-0,.label-1,.label-2,.label-3,.label-4,.label-5,.label-6 {
    font-weight: bold;
}

#HTMLPreview.zoom {
    width: 630px;
    height: 891px;
    font-size: 0.7em;
    opacity: 0.9;
}

#HTMLPreview.zoom .previewAbschnitt{
    border-width: 15px;
}

#HTMLPreview.zoom .previewAbschnittTitel {
    height: 18px;
    padding-top: 4px;
}

#HTMLPreview.zoom .previewHeadLeft {
    left: 18px;
}

#HTMLPreview.zoom .previewHeadRight,
.previewFooter .previewSignatur {
    right: 20px;
}

.notused a{
    color: #ccc!important;
}

.piktogramme_l img,
.piktogramme_r img {
    max-width: 75%;
    margin-top: 5px;
    border: 1px solid #ddd;
    padding: 2px;
}

.previewAbschnittContentLeft img {
    max-width: 15px;
    
}

.previewAbschnittContentRight img  {
    max-width: 15px;
   
}

#HTMLPreview.zoom .previewAbschnittContentLeft img {
    max-width: 50px;
   
}

#HTMLPreview.zoom .previewAbschnittContentRight img  {
    max-width: 50px;
   
}


/**
 *
 * RTE Summernote
 *
 */

.note-editor.note-frame .note-editing-area .note-editable  {
    z-index: 10000;
}

.modal-dialog {
    top: 10%;
    box-shadow: 10px 20px 30px grey;
}


/**
 *
 * Freigabe - Balken
 *
 */

div.freigabe {
    border: 1px solid #ddd;
    width: 100%;
    height: 20px;
}

div.freigabeMassnahmen {
    border-right: 1px solid #eee;
    background: #ea3323;
    width: 25%;
    height: 18px;
    opacity: 0.01;
    float: left;
}

div.freigabePruefungen {
    border-right: 1px solid #eee;
    background: #f7cc46;
    width: 25%;
    height: 18px;
    opacity: 0.01;
    float: left;
}

div.freigabeFreigaben {
    border-right: 1px solid #eee;
    background: #4995ec;
    width: 25%;
    height: 18px;
    opacity: 0.01;
    float: left;
}

div.freigabeGesamtfreigabe {
    background: #7b8c86;
    width: 25%;
    height: 18px;
    opacity: 0.01;
    float: left;
}



