/*
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 : 23.09.2018, 17:24:40
    Author     : Dirk Munder <dmdr@eisenbahntechnik.com>
*/
body {
  font-family: 'Pigiarniq', Verdana, sans-serif !important;
}

/* ------------------------- General settings */
.etm-blue {
    color: white !important;
    background-color: #2d4a99 !important;
}

.ETM-grey {
    color: white !important;
    background-color: #f8faf8 !important;
}

.etm-bg-blue {
    color: white !important;
    background-color: #2d4a99 !important;
}
.etm-blue-light {
    color: #444e99 !important;
}

.etm-yellow {
    color: #fdc60b !important;
}

.etm-dark-grey {
    color: #616161 !important;
} 

.etm-bg-blue-light {
    color: #fff !important;
    background-color: #444e99 !important;
}

.etm-bg-yellow {
    color: #fff !important;
    background-color: #fdc60b !important;
}

.etm-bg-dark-grey {
    color: #fff !important;
    background-color: #616161 !important;
}

body.loader1 {
    color: #fff !important;
    background-color: #616161 !important;
}

.on {
    color: #2d4a99 !important;
    display: none;
}

.off {
    display: block;
}

.fullScreenWrapper {
    height: 100vh;
}

.wrapper {
    display: none;
}

/* ------------------------- Login page */

#login-form {
    width: 20em;    
}

#login-margin-top {
    margin-top: 50em;
}

#login-error {
    display: none;
}

#login-info {
    display: none;
}

#login-welcome {
    display: block;
}

#login-picture {
    object-fit: cover;
}

.login-symbol {
    width: 50px !important;
}

body:not(.de) :lang(de),
body:not(.en) :lang(en),
body:not(.pl) :lang(pl),
body:not(.es) :lang(es),
body:not(.it) :lang(it),
body:not(.fr) :lang(fr) {
    display: none;
}
/* ------------------------- Reset page */

#reset-form {
    width: 20em;
}

.reset-input {
    position: relative;
}

.reset-input-icon {
    position: absolute;
    right: 0;
    top: 8px;
    padding: 10px;
}

#reset-pwd1-true, #reset-pwd2-true {
    display: none;
}

#pwindicator {
    margin-top: 4px;
    width: 100%;
}

.bar {
    height: 10px;
}

.pw-very-weak .bar {
    background: #d00;
    width: 20%;
}

.pw-very-weak .label {
    color: #d00;
}

.pw-weak .bar {
    background: #d00;
    width: 40%;
}

.pw-weak .label {
    color: #d00;
}

.pw-mediocre .bar {
    background: #f3f01a;
    width: 60%;
}

.pw-mediocre .label {
    color: #f3f01a;
}

.pw-strong .bar {
    background: #f3b31a;
    width: 80%;
}

.pw-strong .label {
    color: #f3b31a;
}

.pw-very-strong .bar {
    background: #0d0;
    width: 100%;
}

.pw-very-strong .label {
    color: #0d0;
}

/* ------------------------- Loader  */

.loader-track {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.loader-track-circle {
    border-radius: 50%;
    margin: 10px;
    height: 150px;
    width: 150px;
    transform: scale(1);
    animation: loader-track-pulse 2s infinite;
}

.loader-track img {
    width: 150px;
}

@keyframes loader-track-pulse {
	0% {
		transform: scale(0.8);
		box-shadow: 0 0 0 0 rgba(253, 198, 11, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 30px rgba(253, 198, 11, 0);
	}

	100% {
		transform: scale(0.8);		
	}
}

.loader-wheel {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.loader-wheel:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 6px;
  box-sizing: border-box;
  border: 26px solid #fff;
  border-color: #fff black #fff black;
  animation: loader-wheel-rotation 1.2s infinite;
}

@keyframes loader-wheel-rotation {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}

/* ------------------------- Main page */

#top-section {
    height: 5em;
}

#top-section img {
    width: 3em;
}

#header-section {
    height: 75px;
}

#sidebar-left {
    display: none;
    width: 200px;
    height: auto;
}

#navigation-detail {
    display: none;
    z-index: 10;
    width: 30em;
    position: absolute;
}

.navigation-border {
    border-color: #f3b31a !important;
    border-style: solid !important;
    border-width: thin !important; 
}

#path {
    font-size: .9em;
    padding: 1em 16px;
}

#station-name-path {
    padding-left: 2em;
}

.toggle-buttons {
    display: inline;
    font-weight: bold;
}

#btn-live.btn-live-On {
    animation: fading 1s infinite;
    font-weight: bold;
    color: red;
}

#search {
    height: 3em;
}

#search input {
    width: 350px;
}

#searchMoment {
    display: none;
}

#filter {
    display: none;
}

#movements {
    width: 95%;
    display: none;
}

#tracks {
    width: 95%;
    display: none;
}

#switches {
    width: 95%;
    display: none;
}

#notAvailable {
    display: none;
}

#bookings {
    width: 95%;
    display: none;
}

#mv-colorline {
    width: 100%; 
    display: none;
}

.btn-menu-select {
    width: 1.2em;  
    color: #f3b31a;
    visibility: hidden;
    display: inline-block;
}

.btn-menu-text {}

.liveOn {
    display: none;
}

.liveOff {
    display: block;
}

.sw-box {
    width: 250px;
    float: left;
}

#datatable-sw-wrapper {
    width: 80%;
}

.sw-dir-left {
    margin-right: 6px;
}

.sw-dir-right {
    margin-left: 6px;
}

.sw-color-free {
    color: white;
}

.sw-color-block {
    color: yellow;
}

.sw-color-error {
    color: red;
    -webkit-animation: blink .75s linear infinite;
    -moz-animation: blink .75s linear infinite;
    -ms-animation: blink .75s linear infinite;
    -o-animation: blink .75s linear infinite;
     animation: blink .75s linear infinite;
}

w3-modal-content {
    max-width:20em !important;
}
/*
#vehicleWhitelist .w3-modal-content {
    max-width:26em !important;
}
*/
#vehicleWhitelist {
    display: none;
}

#userSettings .w3-modal-content {
    max-width:26em !important;
}

#userSettings {
    display: none;
}

#userSettings table {
    display: block;
    width: 100%;
}

#userSettings1stTd {
    width: 25%;
}

vehicleWhitelist .w3-modal-content {
    max-width:52em !important;
}

input {
    width: 100%;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 4px;
}

input.invalid {
    border: 3px solid red;
}

input:focus.valid {
    border: 3px solid green;
}

table.wrapper {
    width: 100%;
}

#notAvailable .w3-modal-content {
    width: 600px;
}

@-webkit-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-moz-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-ms-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-o-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}

 /* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Datatables sort icons */

table.dataTable thead th {
    position: relative;
    background-image: none !important;
    border-right: 1px solid #ddd;
}

table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
    position: absolute;
    top: 12px;
    right: 8px;
    display: block;
}

table.dataTable thead th.sorting:after {
    content: "\21C5";
    color: #ddd;
    font-size: 0.8em;
    padding-top: 0.12em;
}

table.dataTable thead th.sorting_asc:after {
    content: "\2191";
}

table.dataTable thead th.sorting_desc:after {
    content: "\2193";
}

/* ------------------------- ETM Fonts */
@font-face {
    font-family: 'Pigiarniq';
    src:url('../fonts/Pigiarniq.ttf.woff') format('woff'),
        url('../fonts/Pigiarniq.ttf.svg#Pigiarniq') format('svg'),
        url('../fonts/Pigiarniq.ttf.eot'),
        url('../fonts/Pigiarniq.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

/* ------------------------- Icon Fonts */
@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?fn5t8o');
  src:  url('../fonts/icomoon.eot?fn5t8o#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?fn5t8o') format('truetype'),
    url('../fonts/icomoon.woff?fn5t8o') format('woff'),
    url('../fonts/icomoon.svg?fn5t8o#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

.icon-margin-right {
    margin-right: 6px !important;
}

.dataTables_length label {
    margin-right: 16px;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-office:before {
  content: "\e903";
}
.icon-user:before {
  content: "\e971";
}
.icon-users:before {
  content: "\e972";
}
.icon-user-check:before {
  content: "\e975";
}
.icon-key:before {
  content: "\e98d";
}
.icon-sphere:before {
  content: "\e9c9";
}
.icon-earth:before {
  content: "\e9ca";
}
.icon-eye:before {
  content: "\e9ce";
}
.icon-eye-plus:before {
  content: "\e9cf";
}
.icon-eye-minus:before {
  content: "\e9d0";
}
.icon-eye-blocked:before {
  content: "\e9d1";
}
.icon-notification:before {
  content: "\ea08";
}
.icon-question:before {
  content: "\ea09";
}
.icon-info:before {
  content: "\ea0c";
}
.icon-cancel-circle:before {
  content: "\ea0d";
}
.icon-blocked:before {
  content: "\ea0e";
}
.icon-cross:before {
  content: "\ea0f";
}
.icon-checkmark:before {
  content: "\ea10";
}
.icon-enter:before {
  content: "\ea13";
}
.icon-exit:before {
  content: "\ea14";
}
.icon-circle-right:before {
  content: "\ea42";
}
.icon-filter:before {
  content: "\ea5b";
}
.icon-circle-left:before {
  content: "\ea44";
}