/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 04.11.2020, 15:28:48
    Author     : Rafael martin
*/

/*VERSION: 20.01.2021*/

:root {
    /* Theme: */
    --primary: #004C92;
    --highlight: #a2d5f2;

    /* Buttons: */
    --interactive: var(--primary);
    --hoverinteractive: var(--text_light);

    /* Subtile Main Colors: */
    --bggrey: #f9f7f7;
    --white: #FFF;

    /* Text */
    --text_dark: #666666;
    --text_light: var(--bggrey);
    --text_blue: var(--primary);

    /* Rare Colors: */
    --orange: #FFB300;
    --red: #F44336;
    --green: #8BC34A;
}

body{
    background-color: var(--bggrey);
}

.table{
    color: var(--text_dark);
}

.mainwrap{
    min-height: 1000px;
}

.navbar{
    background-color: var(--primary);
}

.entfernen{
    color: var(--orange);
}

.ueberfaellig {
    color: var(--red);
}

.KSText {
    color: var(--primary);
}

.erledigt{
    color: var(--green);
}

.rightsidecontainer{
    width: auto;
    margin-right: 0px;
}

.btn-danger{
    background-color: var(--red);
}


.jumbotron{
    background-color: var(--white);
}

/*toDo: Active-Underline geben + Hover Effect*/
.navbar  a{
    color: var(--text_light);
}

.navbar a:hover{
    color: var(--highlight); 
}

.navbar a:active{
    color: red;
}

.footernav{
    /*bottom: 0;*/
    /*position: absolute;*/
    width: 100%;
}
.footerinhalt{
    white-space: pre-line;
    color: rgba(255,255,255,.5);
}

.footerinhalt a{
    white-space: pre-line;
    color: rgba(255,255,255,.5);
}

.page-wrapper{
    margin-top: 50px;
}

.btn-primary{
    background-color: var(--interactive);  
    color: var(--text_light);  
}

.btn-primary:hover{
    background-color: var(--highlight);   
    color: var(--text_blue);  
}

.problematicmail{
    background-color: var(--red);
    border-color: var(--red);
}


.problematicmail:hover{
    background-color: var(--yellow);
    border-color: var(--red);
    color: var(--red);
}

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    max-height: 500px;
    overflow: hidden;
    overflow-y: scroll;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #C8C8C9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

#flashAuftragAnlegen, #flashDokumenteUpload, #flashNachunternehmerRegistrieren{ 
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 300;
    display:none;
}

.flashred{
    background-color:rgba(255,0,0,0.5);
}

.flashgreen{
    background-color:rgba(0,255,0,0.5);
}

.loading{
    background-color:rgba(255,255,255,0.5);
}

.adminbuttonwrap{
    text-align:center;
    margin: 10px;
}

.adminmenubtn{
    width: 80%;
    margin: 5px;
}

.btn-primary.disabled, .btn-primary:disabled{
    background-color: var(--bggrey);
    color: var(--text_dark);
}

.fa, .fab, .fal, .far, .fas {
    line-height: inherit !important;
}


#drop_file_zone {
    background-image: url("../assets/images/UploadBG.png");
    background-repeat: no-repeat;
    background-position: center;
    border: #999 5px dashed;
    width: 75%;
    height: 200px;
    padding: 8px;
    margin: auto;
    font-size: 18px;
}


#drag_upload_file {
    width:50%;
    margin:0 auto;
}
#drag_upload_file p {
    text-align: center;
}
#drag_upload_file #selectfile {
    display: none;

}

td.dl_link{
    color: var(--primary);
    background-color: white;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}


/*Hover Animation*/
.dl_link:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: 6px;
  content: "";
  display: block;
  height: 3px;
  left: 0%;
  position: absolute;
  background: var(--primary);
  transition: width 0.5s ease 0.1s, right 0.1s ease 0.1s;
  width: 0;
}

.dl_link:hover:after { 
  width: 100%;
  left: 0; 
  transition: width 0.5s ease 0.1s, left 0.2s ease 0.2s;
}

/*Hover Animation*/
td.delete:after {    
  background: none repeat scroll 0 0 transparent;
  /*bottom: 0;*/
  margin-top: -18px;
  content: "";
  display: block;
  height: 3px;
  opacity: 1;
  left: 0%;
  position: absolute;
  background: red;
  transition: width 0.5s ease 0.1s, right 0.1s ease 0.1s;
  width: 0;
}

td.delete:hover:after { 
  width: 100%;
  left: 0; 
  transition: width 0.5s ease 0.1s, left 0.2s ease 0.2s;
}
.nav-link{
 cursor: pointer;   
}

/*Seltsame Überlagerung verhinern, die von jquery-UI erzeugt wird
Jquery UI wird aber für die Funktionalität gebraucht*/
#ui-datepicker-div{
    display:none !important;
}

@media(min-width: 576px){
    .modal-dialog{
        max-width: 50%;
    }
}

.Dokumente{
    text-align: center;
}


.modal-open{ 
    padding-right: 0px !important;
}

.modal-body{
    /*white-space: pre-wrap;*/
}

input[type="date"]::-webkit-clear-button {
    display: inline-block;
}