/* Variables */
:root {
  --darkblue: #173042;
  --blue: #236477;
  --lightblue: #cfdfda;
  --green: #7cad3e;
  --darkergreen: #6E9B34;
  --darkgreen: #4a6c2f;
  --darkgray: #c7c7c7;
  --lightgray: #dedede;
  --gold: #d5b505;
  --red: #c90000;
  --orange: #ffb300;
}

.gold {
  color: var(--gold);
}
.gray {
  color: var(--darkgray);
}
.red {
  color: var(--red);
}
.orange {
  color: var(--orange) !important;
}
.green {
  color: var(--green);
}

.bk_lightgray {
  background-color: var(--lightgray);
}

/* Misc */
a, a:hover {
  color: var(--blue);
  text-decoration: none;
}
.nav-link, .nav-link:hover {
  color: var(--blue);
}
table th {
  border-top: 0 !important;
}
  table td {
    border: 0;
    border-top: 1px solid #dee2e6;
  }
  table .td-fit {
    width: 1%;
  }
  tr.not_active td, tr.not_active td a, tr.not_active td i {
    color: var(--darkgray);
  }
    tr.not_active img, tr.not_active svg {
      filter:saturate(0);
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button  {
    color: #C6C6C6 !important;
    padding: 0.3rem 0.65rem;
    border: none !important;
    background: none !important;
    margin-right: 5px;
    }
      .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        color: #000 !important;
      }
    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        font-weight: bold !important;
    }

    .my-wrapper {
        width: 100%;
        margin: 0 auto;
      }
      .my-inner1 {
        margin: 0 0;
        display: block;
      }
      .my-inner2 {
        margin: 10px 0 10px 0;
        display: block;
      }
      .my-inner3 {
        display: block;
      }





.flag {
  vertical-align: baseline;
}

.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}


/* Bootstrap */
.table-sm th, .table-sm td {
  padding: 0.4rem;
}

.blink_me {
  animation: blinker 1s linear infinite;
}

.w-50 {
  width: 50%;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/* Dropdown */
table .nav-link {
  padding: 0;
}
.dropdown-item {
  padding: 0.25rem 1.5rem 0.25rem 1rem;
}
.dropdown-toggle::after {
  border: 0;
}
/*
.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu div:hover .sub-menu {
    visibility: visible;
}


.dropdown:hover .dropdown-menu {
    display: block;
}
*/

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}


/* Buttons */
.btn {
    border-color: transparent;
    outline: 0;
    border-radius: 0.5em;
    box-shadow: none !important;
    border: none;
}
  .btn-danger {
    background-color: var(--red);
  }
  .btn-success {
    background-color: var(--green);
  }
    .btn-success:hover, .btn-success:focus, .btn-success:active {
      background-color: #74a33a;
    }
  .btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--darkblue) !important;
    outline: 0;
    border: 0;
  }

  .btn-light, .btn-light:focus, .btn-light:active {
    background-color: #dee2e6 !important;
    outline: 0;
    border: 0;
  }
    .btn-light:hover {
        background-color: #d4d8dc !important;
    }

.badge {
  border-radius: 0.5em;
  padding: 0.4em 0.6em;
  min-width: 30px;
}
  .badge-danger {
    background-color: var(--red);
    color: #fff;
  }
  .badge-warning {
    background-color: var(--orange);
    color: #fff;
  }
  .badge-success {
    background-color: var(--green);
    color: #fff;
  }
  .badge-gold {
    background-color: var(--gold);
    color: #fff;
  }
  .badge-blue {
    background-color: var(--blue);
    color: #fff;
  }
  .badge-grey {
    background-color: #dee2e6;
    color: #000;
  }


  /* Checkbox */
  .switches [type="checkbox"] {
    position: absolute;
    left: -9999px;
  }
    .switches {
      width: 100%;
      list-style: none;
      padding: 0;
    }

    .switches li {
      position: relative;
    }

    .switches li:not(:last-child) {
      border-bottom: 1px solid var(--darkgray);
    }

    .switches label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 13px 0;
      margin: 0;
      cursor: pointer;
    }

    .switches span:last-child {
      position: relative;
      width: 50px;
      height: 26px;
      border-radius: 15px;
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
      background: var(--darkblue);
      transition: all 0.3s;
    }

    .switches span:last-child::before,
    .switches span:last-child::after {
      content: "";
      position: absolute;
    }

    .switches span:last-child::before {
      left: 1px;
      top: 1px;
      width: 24px;
      height: 24px;
      background: var(--white);
      border-radius: 50%;
      z-index: 1;
      transition: transform 0.3s;
    }

    .switches span:last-child::after {
      top: 50%;
      right: 8px;
      width: 12px;
      height: 12px;
      transform: translateY(-50%);
      /* background: url(../img/switcher_0.svg);
      background-size: 12px 12px; */
    }

    .switches [type="checkbox"]:checked + label span:last-child {
      background: var(--green);
    }

    .switches [type="checkbox"]:checked + label span:last-child::before {
      transform: translateX(24px);
    }

    .switches [type="checkbox"]:checked + label span:last-child::after {
      width: 14px;
      height: 14px;
      /*right: auto;*/
      left: 8px;
      /* background-image: url(../img/switcher_1.svg);
      background-size: 14px 14px; */
    }

  @media screen and (max-width: 600px) {
    .switches li::before {
      display: none;
    }
  }

  /* modal */
  a[data-toggle="modal"] {
    cursor: pointer;
  }
  .modal {
    text-align: center;
    z-index:10001;
  }

  .modal-backdrop {
  	z-index:10000;
      from { opacity: 0; }
      to   { opacity: 0.45; }
      -webkit-animation: fadein 200ms; /* Safari, Chrome and Opera > 12.1 */
         -moz-animation: fadein 200ms; /* Firefox < 16 */
          -ms-animation: fadein 200ms; /* Internet Explorer */
           -o-animation: fadein 200ms; /* Opera < 12.1 */
              animation: fadein 200ms;

      -webkit-transition: opacity 200ms ease-in-out;
      -moz-transition: opacity 200ms ease-in-out;
      -ms-transition: opacity 200ms ease-in-out;
      -o-transition: opacity 200ms ease-in-out;
  }

  .modal-dialog {
    text-align: left;
    min-width:20rem;
    max-width:30rem;
  }
  .modal-header {
  	background-color: var(--darkblue);
  	color:#fff;
  	padding: 0.5rem 1rem;
  	border-top-left-radius: 0.9rem;
  	border-top-right-radius: 0.9rem;
  }
  .modal-header .close {
    color: #fff !important;
    opacity:1 !important;
    text-shadow: none !important;
    background-color: transparent;
    border: 0;
    font-size: 2em;
    line-height: 1em;
    padding: 0;
  }
  .modal-title {
  	font-size:1em;
  	font-weight:600;
  }
  .modal-content {
  	border-radius: 1rem;
  	border:0;
  }
  .modal-content .col-md-6:nth-of-type(1) {
    padding-right: 0.25em;
  }
  .modal-content .col-md-6:nth-of-type(2) {
    padding-left: 0.25em;
  }
  .modal-dialog .btn {
  	width: 100%;
  	margin-bottom: 0.5rem;
  	}



.row img:not(.flag) {
  max-width: 100%;
}


/* Colors */
.green {
  color: var(--green);
}

/* Login */
#login body {
  background: rgb(26,81,121);
  background: linear-gradient(336deg, rgba(26,81,121,1) 0%, rgba(32,120,145,1) 100%);
  color: #fff;
}
  #login, #login body {
    height: 100%;
  }
    #login .jumbotron {
      background-color: transparent;
      width: 80vw;
      max-width: 500px;
    }
    #login h1 {
      color: #fff;
      font-size: 3em;
      margin-bottom: 1em;
    }
    #login footer {
      background-color: #222222;
      color: var(--darkgray);
      padding: 0.5em;
      font-size: 0.75em;
      position: absolute;
      bottom: 0;
      width: 100%;
    }

/* Headlines */
h1, h2, h3, h4 {
  color: var(--blue);
}
h1 {
  font-size: 2em;
}
h2 {
  font-size: 1.5em;
}
h3 {
  font-size: 1.3em;
}
h4 {
  font-size: 1.1em;
}


/* Navbar */
.navbar {
  background-color: var(--blue) !important;
}
    .navbar-brand {
      padding-top: .75rem;
      padding-bottom: .75rem;
      box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
      display: flex;
      align-items:center;
    }
      .navbar-brand img {
        max-height: 30px;
        margin-right: 10px;
      }

    .navbar .navbar-toggler {
      top: .25rem;
      right: 1rem;
    }

    .navbar .form-control {
      padding: .75rem 1rem;
      border-width: 0;
      border-radius: 0;
    }


/* User Circle */
.center {
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 999px;
    box-shadow: inset 0 0 0 50px rgba(255, 255, 255, 0.1);
}

.l-half, .r-half {
    float: left;
    width: 50%;
    height: 100%;
    overflow: hidden;
  }
    .l-half::before, .r-half::before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        border: 3px solid var(--green);
        -webkit-animation-duration: 7200s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: linear;
        -webkit-animation-fill-mode: forwards;
    }


.l-half::before {
    border-right: none;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
    -webkit-transform-origin: center right;
    -webkit-animation-name: l-rotate;
}

.r-half::before {
    border-left: none;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    -webkit-transform-origin: center left;
    -webkit-animation-name: r-rotate;
}

/* -- NOTIFICATIONS -- */
.be_notifications {
  position: absolute;
  width: 84%;
  left: 8%;
  top: 8%;
  z-index: 2;
  -webkit-animation: fadeout 0.5s 7201s 1 linear;
  -webkit-animation-fill-mode: forwards;
}
  .be_notifications .dropdown-menu {
    overflow-y: scroll;
    height:400px;
    -webkit-scrollbar: 5px;
  }

    .be_notifications -webkit-scrollbar {
      width: 5px;
    }

    .be_notifications .dropdown-menu a {
      background-color: var(--lightgray);
      padding: 0.5em 0.5em;
      color: var(--blue);
    }
    .be_notifications .dropdown-menu a:nth-child(odd) {
      background: #fff;
    }

/* -- TIMER -- */

.session_timer {
    position: absolute;
    width: 84%;
    left: 8%;
    top: 8%;
    z-index: 2;
    -webkit-animation: fadeout 0.5s 7201s 1 linear;
    -webkit-animation-fill-mode: forwards;
}
  .session_timer .count {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 6px;
  }
  .session_timer img {
    -webkit-animation: fadein2 0.5s linear;
    -webkit-animation-fill-mode: forwards;
  }
  .session_timer:hover img {
    -webkit-animation: fadeout2 0.15s linear;
    -webkit-animation-fill-mode: forwards;
  }
  .session_timer:hover .count {
    display: inherit;
  }



    @-webkit-keyframes l-rotate {
        0% { -webkit-transform: rotate(0deg); }
        50% { -webkit-transform: rotate(-180deg); }
        100% { -webkit-transform: rotate(-180deg); }
    }

    @-webkit-keyframes r-rotate {
        0% { -webkit-transform: rotate(0deg); }
        50% { -webkit-transform: rotate(0deg); }
        100% { -webkit-transform: rotate(-180deg); }
    }

    @-webkit-keyframes fadeout {
        0% { opacity: 1; }
        100% { opacity: 0.5; }
    }
    @-webkit-keyframes fadeout2 {
        0% { opacity: 1; }
        100% { opacity: 0; }
    }
      @-webkit-keyframes fadein2 {
          0% { opacity: 0; }
          100% { opacity: 1; }
      }

.stat_info {
  background-color: #f2f2f2;
  font-size: 0.8em;
  padding: 0.25em;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 1em 0 1em 1em; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  background-color: var(--darkblue) !important;
  color: #fff;
}

    @media (max-width: 767.98px) {
      .sidebar {
        top: 5rem;
      }
    }
    @media (min-width: 768px) {
      .sidebar {
        padding-top: 5.5em;
      }
    }

    .sidebar .badge {
      background-color: var(--blue);
    }

    .sidebar h6 {
      padding-left: 0.5em !important;
      margin-bottom: 1em !important;
    }

    .sidebar a {
      color: #fff;
    }

    .sidebar li {
      padding: 0;
    }

    .sidebar li:hover {
      background-color: rgb(255, 255, 255, 0.15);
      border-top-left-radius: 1em;
      border-bottom-left-radius: 1em;
    }

    .sidebar li.active {
      background-color: #fff;
      border-top-left-radius: 1em;
      border-bottom-left-radius: 1em;
    }
        .sidebar li.active .nav-link {
          color: var(--blue);
          font-weight: bold;
        }

    .sidebar .nav-link {
      color: #fff;
      padding: 0.5em;
      width: 100%;
    }

    .sidebar-heading {
      font-size: .75rem;
      text-transform: uppercase;
    }



.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* Main Area */
main {
  padding: 2.5em !important;
}
  main h1 {
    color: var(--blue);
    border-bottom: 1px solid var(--lightgray);
    padding-bottom: 0.25em;
    margin-bottom: 0.25;
  }
  main figure {
    display: table;
  }
  main figure:nth-of-type(odd) {
    float: left;
    margin: 0 1.5em 1em 0;
  }
  main figure:nth-of-type(even) {
    float: right;
    margin: 0 0 1em 1.5em;
  }
    main figure figcaption {
      background-color: #f5f5f5;
      font-size: .8em;
      padding: 0.75em;
      display: table-caption;
      caption-side: bottom;
    }
  main blockquote {
    margin: 1em;
    width: 40%;
    border: 0;
    padding: 20px;
    margin: 1em 0;
    background-color: #f5f5f5;
    color: var(--blue);
    font-size: 1.15em;
    float: right;
    }
    main blockquote p {
      font-weight: 700;
      line-height: 1.25em;
    }
    main cite {
        font-style: normal;
    }

#deal_details img {
  max-width: 50%;
  height: auto;
}


/* Map */
.marker, .tmarker {
  background: url('../img/marker_s.png');
  width: 48px;
  height: 49px;
  position: relative;
}
  .tmarker {
    background: url('../img/tmarker_s.png');
  }
  .marker svg, .tmarker svg {
    position: absolute;
    font-size: 1.25em;
    top: 6px;
    left: 6px;
    width: 1.25em;
    height: 1.25em;
    color: var(--blue);
    fill: var(--blue);
  }
    .tmarker svg {
      color: var(--gold);
    }
  .l_coverage g {
    opacity: 0.5;
  }


/* Score */
.score {
  display: block;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  height: 1.25em;
  float: right;
}

.score-wrap {
  display: inline-block;
  position: relative;
  height: 19px;
}

.score .stars-active {
  color: #EEBD01;
  position: relative;
  z-index: 10;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.score .stars-inactive {
  color: grey;
  position: absolute;
  top: 0;
  right: 0;
  -webkit-text-stroke: initial;
  /* overflow: hidden; */
}

img.img_left {
  float: left;
  margin: 0 1em 1em 0;
}
img.img_right {
  float: right;
  margin: 0 0 1em 1em;
}



/* Images */
.inactive {
  position: relative;
}
.inactive img {
  filter: saturate(0);
}
  .inactive:after {
    position: absolute;
    top: 40%;
    left: 0%;
    width: 100%;
    height: 100%;
    color: #fff;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    font-size: 1em;
    font-weight: bold;
    content: 'unsichtbar';
  }

/* Word Count */
.word_count {
  background-color: #dedede;
  border-radius: 5px;
  width: 80px;
  height: 12px;
}
  .word_count div {
    height: 100%;
    max-width: 100%;
    border-radius: 5px;
    // animation: color 2s linear 0s alternate;
  }

  @keyframes color{
    10% {
    background-color: red;
    width: 20%;/*At 10%, change the width to 20%*/
    }
    40% {
    background-color: yellow;
    width: 40%;
    }
    70% {
    background-color: orange;
    width: 60%;
    }
    100% {
    background-color: green;
    width: 100%;
    }
}
