@import './../fonts/font-awesome-4.7.0/css/font-awesome.min.css';
html{
font-size:62.5%;
}
body {
  background-color: #e9e9e9;
  font-size:1.6rem;
font-family: 'Roboto', sans-serif;
}

@media(max-width:1300px){
  body{
    font-size:1.3rem;
    }
}

.content{
  position: relative;
  min-height:100vh;
  padding-top: 10rem;
}

@media (min-width: 1200px){
  .container {
      max-width: 90%;
  }
}
a,
.fa-thermometer-empty,
.fa-thermometer-half,
.fa-thermometer-full,
#overview i{
  color: #ae18b8;
}
a:hover{
  color: #000;
}
.badge-primary{
  background-color: #ae18b8;
  padding-right: 1em;
padding-left: 1em;
line-height: 2;
}
i.ampel {
  width: 1rem;
    height: 1rem;
    border-radius: 2rem;
    text-align: center;
    margin: 0 2rem 0 0;
    display: inline-block;
}
i.ampel.green{
  background: #69c782;
  color: #69c782;
}
i.ampel.yellow{
  background: #d4c341;
  color: #d4c341;
}
i.ampel.red{
  background: #bd4343;
  color: #69c782;
}
.btn-primary,
.btn-secondary{
  background: #ae18b8;
  transition: all .5s;
  font-size: 1.8rem;
  border: none !important;
}
.btn-primary:hover,
.btn-secondary:hover{
      background: linear-gradient(#e336fe 6%,#ef70a4 91%);
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled).active{
  background:#ef70a4;
}

.alert{
  display: none;
}


/* ----- Rows ----- */
.row.view {margin-bottom: 5rem;}
.card .row{
  margin: 0;
}
/* ---- Top navi ---- */
.nav-item.dropdown{
  display: block !important;
}
.navbar.navbar-expand-sm.navbar-transparent.navbar-absolute.fixed-top{
  width: 100%;
  background: #fff;
  -webkit-box-shadow: 0 0 2px 1px rgba(0,0,0,.2);
box-shadow: 0 0 2px 1px rgba(0,0,0,.2);
left: auto;
}
.navbar .logo a{
  height: 50px;
  width: auto;
  display: block;
  margin-left: -1rem;
}
@media(max-width: 768px){
  .navbar .logo a{
    margin-left: 0.5rem;
  }
}
.navbar .logo img{
  height: 100%;
    width: auto;
}
.navbar-expand-sm .navbar-collapse{
  display: -ms-flexbox!important;
  display: flex!important;
  -ms-flex-preferred-size: auto;
  flex-basis: auto;
}
.navbar-nav{
  -ms-flex-direction: row;
  flex-direction: row;
}
.navbar-nav i{
      font-size: 2rem;
      margin-top: 1.5rem;
}
.navbar-nav .dropdown-menu{
  position: absolute;
}
.navbar-nav .dropdown-menu:blank{
  display: none !important;
}

.navbar-nav a.nav-link{
  width: 6rem;
  height: 5rem;
  text-align: center;
  line-height: 3;
  padding:0;
}
.dropdown-item{
  font-size: 1.8rem;
}
.navbar-nav .dropdown .avatar_bubble{
  width: 5rem;
  height: 5rem;
  border-radius: 3rem;
  background-size: cover;
  border: 2px solid #fff;
  transition: 0.3s all ease-in-out;
}
.navbar-nav .dropdown .avatar_bubble:hover{
      box-shadow: 0 0 5px #ae18b8;
}
/* ---- Keep Container ---- */
#keep_container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background:#fff;
    padding: 0.3rem;
    box-shadow: -1px 0 4px rgba(0,0,0,.2);
}

#keep_container ul{
  padding:0;
  margin:0;
  list-style: none;
}
#keep_container ul li{
  float: left;
  display: inline-block;
  background-color: #C3C0C0;
  padding: 0.1rem 1rem;
  border-radius: 1rem;
  margin-right: 1rem;
  transition: 0.1s all ease-in-out;
}
#keep_container ul li:hover{
  background-color: #ae18b8;
  color: #fff;
}
#keep_container .keeper {
  cursor: pointer;
}
#keep_container .keeper.active{
  background-color: #ae18b8;
  color: #fff;
}
#keep_container ul li span{
    padding: 0.2rem 0.5rem;
}
/* ---- Login ---- */
.login{

}

.login h2{
  font-size: 4rem;
  font-weight: 700;
}
.login .logo{
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 3rem;
}
.login input{
      margin-bottom: 0.7rem;
      height: 4rem;
      font-size: 2rem;
}
.login .checkbox input{
  height: 6rem;
  vertical-align: middle;
  margin-right: 1rem;
}

.login .btn-primary{
  text-transform: uppercase;
      transition: all .5s;
      background: #ae18b8;
      border-radius: 16px;
    border: 2px solid #fff;
    -webkit-box-shadow: 0 0 0 8px #ae18b8;
    box-shadow: 0 0 0 8px #ae18b8;
    color: #fff;
    margin-top: 1rem;
}
.login button[type="submit"]{
  display: block;
}
/* ----- Views ----- */
.view{
  margin-bottom: 7rem;
}
.view.level1{
  position: absolute;
  top: 5rem;
  width: 100%;
  display: none;
}
.view.level1 .maincard{
  position: absolute;
  top:5rem;
  width: 100%;
  display: none;
}
.view.level1 .maincard > .row > div{
  padding-bottom: 4rem;
}

/* ----- Cards ----- */
.view > .card{
  box-shadow: 3px 3px 4px #ddd;
}
.row-eq-height > div > .card{
  height: calc(100% - 2.4rem);
}
#stats > .card{
  box-shadow: none;
  border: 1px solid #ddd;
}

/* ----- Listen ----- */
table span{
  font-size: 1.2rem;
  text-transform: uppercase;
  display: block;
}
table i span {
  display: none;
}
table strong{
  font-weight: 900;
  font-size: 1.8rem;
  font-family: Roboto;
}
table .case_title{
  color: #ae18b8;
  font-weight: 400;
  font-size: 1.2rem;
  text-align: center;
}
table .case_title .rating{
  width: 2rem;
    height: 2rem;
    background: #69c782;
    color: #69c782;
    border-radius: 2rem;
    text-align: center;
    margin: 0 auto;
}
table .case_title .rating.rating-2{
    background: #ebe354;
    color: #ebe354;
}
table .case_title .rating.rating-3{
    background: #f23a3a;
    color: #f23a3a;
}
table .case_title .action{
  color:#000;
  font-size: 1.7rem;
}
table .status{
  font-size: 2rem;
  text-align: center;
}
table.leads-lg .col-1{
  width: 8.3%;
}
table.leads-lg .col-3{
  width: 25%;
}
table.leads-lg .col-4{
  width: 33%;
}
table.dataTable thead th, table.dataTable thead td{
  border-bottom: none;
  display: none;
}
table.dataTable.admin thead th, table.dataTable.admin thead td{
  border-bottom: none;
  display: table-cell;
}
table.dataTable.no-footer{
  border: none;
}
.dataTables_info{
  display: none;
}
.dataTables_wrapper .dataTables_filter{
  float: none;
  text-align: left;
  background: #C3C0C0;
  padding: 0.5rem 1rem;
}
.dataTables_wrapper .dataTables_filter label {
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 900;
}
.dataTables_wrapper .dataTables_filter label input{
  border: none;
  width: 26rem;
  border-radius: 0.5rem;
  outline: none;
  padding: 0.2rem 1rem;
}


#my_leads td,
.free_leads td{
  cursor: pointer;
}

.free_leads .fa-search{
  font-size: 2rem;
  margin-top: 1rem;
}
/* --- Form ---- */
input.form-control{
  height: 3.5rem;
  margin-top: 0.7rem;
  outline: none;
  font-size: 1.6rem;
}
input.form-control:focus{
  outline: 1px solid #ae18b8;
  border-color: #ae18b8;
}
button[type="submit"]{
  display: none;
}
.label-floating{
  position: absolute;
  pointer-events: none;
  top:  1.4rem;
  margin: 0 0 0 0.6rem;
  line-height: 1.4;
  font-weight: 400;
  transition: all .3s ease;
}
.focus .label-floating {
  top:-1rem;
}
.modal-body .label-floating{
  position: relative;
  top:0;
}

textarea{
  overflow: auto;
  outline: none;
  border: 1px solid rgba(0,0,0,.125);
  padding: 1rem;
  width: 100%;
  min-height: 22rem;
}

select {
  -webkit-appearance: none;
  background: #ae18b8;
  color: #fff;
  border: none;
  padding: 0.75rem 1rem;
  text-align: center;
  outline: none;
  border-radius: .25rem;
}
.overview select{
  width: 100%;
}

/* ---- Chat ---- */
.feature#chat{
  padding-bottom: 13rem;
}
.feature#chat > .card{
  max-height: 56rem;
  min-height: 80vh;
}
.feature#chat ul{
  height: 100%;
  overflow: scroll;
  padding-bottom: 20rem;
}
.feature#chat ul:after{
  content:" ";
  width: 100%;
  height: 0.1rem;
  clear: both;
}

.feature#chat li{
  list-style: none;
  border: 1px solid rgba(0,0,0,.125);
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  width: 70%;
  background: #fff;
  position: relative;
  margin-left: 6rem;
}
.feature.agent#chat li{
  margin-left: 2rem;
}
.feature#chat li:not(.me):after {
  content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-right-color: rgba(0,0,0,.125);
    border-left: 0;
    border-top: 0;
    margin-top: -10px;
    margin-left: -13px;
}
.feature#chat li.me:before {
  content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 12px solid transparent;
	border-left-color: rgba(0,0,0,.125);
	border-right: 0;
	border-top: 0;
	margin-top: -10px;
	margin-right: -13px;
}
.feature#chat li.me + li.me:before,
.feature#chat li:not(.me) + li:not(.me):after,
.feature#chat li.me + li.me:after,
.feature#chat li:not(.me) + li:not(.me):before{
  display: none;
}

.feature#chat li.me{
  margin-left:calc(30% - 8rem);
}

.feature#chat li.me + li.me,
.feature#chat li:not(.me) + li:not(.me){
  margin-top: -0.5rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: none;
}

.feature#chat .avatar,
.feature#chat .avatar_bubble{
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-radius: 9rem;
  overflow: hidden;
  left: -6rem;
top: -1rem;
}
.feature#chat .avatar_bubble{
  left: unset;
  right: -7rem;
}
.feature#chat .avatar img,
.feature#chat .avatar_bubble img{
  width: 100%;
}
.feature#chat .avatar i,
.feature#chat .avatar_bubble i{
    font-size: 3rem;
    padding: 1.5rem 1.5rem;
}
.feature#chat li:not(.me) + li:not(.me) .avatar,
.feature#chat li.me + li.me .avatar_bubble,
.feature#chat li:not(.me) + li:not(.me) .avatar_bubble,
.feature#chat li.me + li.me .avatar{
  display: none;
}


.chat_input{
  position: absolute;
  bottom: -6rem;
  width: 100%;
  left: 0;
}
.chat_input textarea{
  width: calc(100% - 10rem);
  margin-left: 0.3rem;
  line-height: 3.5rem;

  outline: none;
}
.chat_input button.send_chat{
      margin-top: -3px;
}
.feature#chat .upload_file_trigger{
  float:left;
  margin-left: 0.5rem;
}
.data {
    opacity: 0.5;
    font-size: 1.3rem;
}
/* ----- Kundendaten ---- */

.card #customer_info .row {
    margin: 0 -15px;
}
.agent #customer_info .col-md-2{
  max-width: 30%;
  flex: 0 0 30%;
}
.agent #customer_info .col-md-2 + .col-md-5{
  max-width: 70%;
  flex: 0 0 70%;
}
.agent #customer_info .col-md-4,
.agent #customer_info .col-md-5,
.agent #customer_info .col-md-6{
  max-width: 100%;
  flex: 0 0 100%;
}

/* ----- Downloads ---- */

#files > .card{
  max-height: 60rem;
}
#files table{
  height: 100%;
    overflow: scroll;
    display: block;
}
#files table tr.new td:nth-child(2):before{
  content: "NEU";
  display: inline;
  color: #fff;
  padding: 0.2rem 0.5rem;
  background: #ae18b8;
  float: right;
  font-weight: normal;
  font-size: 1rem;
  border-radius: 0.3rem;
}
#files table td:first-child{
  font-weight: 400;
  font-size: 1.2rem;
  width: 6rem;
}
#files table td:nth-child(2){
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.2rem;
  /*width: calc(100% - 14.2rem);*/
}
#files table td .type{
  font-size: 1rem;
    font-weight: 100;
    text-transform: none;
}

.upload_file_trigger{
  margin-bottom: 2rem;
  float: right;
}
#files table button{
  float: right ;
}
.downloadpass{
  text-align: center;
}
.downloadpass input{
  -webkit-text-security: disc;
  line-height: 6rem;
    border-radius: 1rem;
    width: 5rem;
    text-align: center;
    font-size: 5rem;
}

.downloadlink{
  display: block;
  text-align: center;
  width: 100%;
  font-size: 8rem;
  transition: 0.5s all ease;
}
.downloadlink.hidden{
  display: none;

}
/* ----- Modal ---- */

#modalBody strong{
  display: inline-block;
    width: 14rem;
}
#modalBody p strong{
  display: inline;
}
#modalBody .free_lead p{
  display: inline;
}
#modalBody .free_lead .pledge{
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
}
#modalBody .free_lead .title{
      color: #ae18b8;
}

/* ----- Overview ---- */
.card.overview{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.card.overview h3{
  border-bottom: 1px solid rgba(0,0,0,.125);
    padding: 0.5rem 0 0.5rem 1rem;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
}
.card.overview h3.collapsed{

}
.overview .collapse.show{
      padding-bottom: 2rem;
}
.card.overview .btn-primary{
  width: 100%;
}
.card.overview .avatar{
  width: 13rem;
height: 13rem;
border-radius: 10rem;
overflow: hidden;
}
.card.overview .avatar img{
  width: 100%;
}
/* ---- Upload ---- */
.inputfile{
  width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.inputfile + label {
    max-width: 80%;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}
.inputfile.avatar + label {
    height: 9rem;
    width: 9rem;
    border-radius: 9rem;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
}
.inputfile.avatar + label img{
  width: 100%;
}
.inputfile.avatar + label i{
  position: absolute;
    font-size: 6rem;
    color: #fff;
    top: 50%;
    left: 50%;
    margin: -3rem 0 0 -2.5rem;
    opacity: 0;
    transition: 0.5s all ease;
}
.inputfile.avatar + label:hover i{
  opacity: 1;
}


.error.filename{
  border-color:#ae18b8;
}
.error.inputfile + label{
  color:#ae18b8;
}


.chat_input {

    height: 200px;
	bottom:-20rem !important;
}

textarea {

    min-height: 17rem;
}