﻿* {
  margin:0;
  padding:0; 
}

/* New style */

body {
  font-family:"Open Sans";
}

input {
  font-family:"Open Sans";
}

a {
  text-decoration:none;
}

.landing h1 {
  font-size:51px;
  font-weight:300;
  color:#009fe3
}
.landing h2 {
  font-size:30px;
  font-weight:300;
  color:#009fe3
}
.landing h3 {
  font-size:24px;
  font-weight:300;
  color:#777777;
}
.landing h4 {
  font-size:22px;
  font-weight:300;
  color:#777777;
}
.landing h5 {
  font-size:18px;
  font-weight:400;
  color:#444444;
}

.menu-bar {
  margin-left:auto;
  margin-right:auto;
  width:100%;
  height:50px;
}
.bgv-logo {
  float:left;
  margin-left:15px;
  margin-top:10px;
  font-family: "Open Sans";
  font-size: x-large;
  font-weight: bold;
  letter-spacing: 3px;
  text-shadow: rgb(255, 255, 255) 1px 0px 0px, rgb(255, 255, 255) 0.540302px 0.841471px 0px, rgb(255, 255, 255) -0.416147px 0.909297px 0px, rgb(255, 255, 255) -0.989992px 0.14112px 0px, rgb(255, 255, 255) -0.653644px -0.756802px 0px, rgb(255, 255, 255) 0.283662px -0.958924px 0px, rgb(255, 255, 255) 0.96017px -0.279415px 0px;
}
.bgv-logo a{
  color: #48b6ff;
}

.techno-logo {
  float:left;
  margin-top: 15px;
  margin-left: 20px;
}
div.login {
  margin-right:30px;
}
div.menu {
  float:right;
  margin-block-end: 10px;
}  
a.menu, .username {
  font-size:16px;
  color:#3a3a3a;
  background:#eeeeee;
  padding:4px;
  padding-left:10px;
  padding-right:10px;
  display: inline-block;
  margin-left: 5px;
  margin-top: 11px;
  border-radius: 2px;
  border: 2px solid #00000024;
}

a.menu.selected {
  color:#eeeeee;
  background:#808080;
}

.menu:hover .username {
  display: block;
}

.username {
  position: absolute;
  display: none;
  white-space: nowrap;
  right: 0;
  top: 35px;
  padding: 5px;
}

.intro-banner {
  display:inline-block;
  width:100%;
  height:590px;
  background:url('/static/Icons/banner.png');
  background-position-x: center;
  background-size: cover;
}
.intro {
  margin-top:350px;
  margin-left:auto;
  margin-right:auto;
  width:960px;
  background:rgba(0,159,227,0.8);
}

.intro:after {
  content: "";
  display: table;
  clear: both;
}

.intro-text {
  float:left;
  margin-left:25px;
  margin-top:10px;
  width:605px;
  font-size:19px;
  color:#f8e100;
  text-align:center;
  margin-bottom: 10px;
}
div.intro-anim {
  float:right;
  margin-right:25px;
  margin-top:25px;
}
iframe.intro-anim {
  width:280px;
  height:140px;
}

.map-link-wrapper {
    padding: 30px;
    font-size: 23px;
    text-align: center;
}

.map-link-wrapper a {
    color: #f8e100;
}

.map-info {
    margin-top: 95px;
    margin-left: auto;
    margin-right: auto;
    width: 960px;
    background: rgba(0,159,227,1);
    position: relative;
    z-index: 1;
}

.map-banner {
    width: 100%;
    height: 300px;
    background: url('/static/Icons/mainpage_background.png');
    display: inline-block;
    position: relative;
}


.static-example-map {
    width: 100%;
    height: 100%;
    margin: 0;
    background: rgba(255,255,255,0.8);
    position: absolute;
}

.logo-banner {
  display:inline-block;
  width:100%;
  height:280px;
  background:#eeeeee;
  text-align:center;
}
.participants {
  margin-top:50px;
  height:60px;
}
.logos {
  margin-left:20px;
  margin-right:20px;
}
.page-context {
  text-align:left;
  width:1400px;
  font-size: smaller;
}

.supplier-banner {
  text-align:center;
  margin-bottom:50px;
  overflow: hidden;
}
.big-header {
  margin-top:70px;
}
.suppliers-text {
  height:65px;
}
.supplier-play {
  margin-left:auto;
  margin-right:auto;
  width:1360px;
}
tr.head td, .supplier {
  width:280px;
  padding-left:30px;
  padding-right:30px;
}
tr.head td, .supplier-head {
  padding-bottom:20px;
}
.supplier-head {
  height:82px;
}
tr.text td, .supplier-text {
  padding-top:30px;
}
tr.foot h4 {
  font-weight:400;
}
tr.foot td {
  padding-top:8px;
}

.public-banner {
  display:inline-block;
  width:100%;
  min-height:700px;
  background:#f6f6f6;
  text-align:center;
  padding-bottom: 20px;
  padding-top: 20px;
}
.public-text {
  margin-left:auto;
  margin-right:auto;
  width:960px;
  height:200px;
  font-size:24px;
  font-weight:300;
  color:#777777;
}
.public-table {
  margin-left:auto;
  margin-right:auto;
  width:680px;
}

.consumers-banner {
  text-align:center;
  margin-bottom:70px;
}
.consumers-text {
  margin-left:auto;
  margin-right:auto;
  width:960px;
  min-height:380px;
}

.public-videos {
  background:#f6f6f6;
  margin-left:auto;
  margin-right:auto;
  width:960px;
  margin-bottom: 70px;
}

.public-videos-wrapper {
  background: #f6f6f6;
  width: 100%;
  display: inline-block;
}

.public-video-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
}

tr.video-head td {
    vertical-align: bottom;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 50px;
    padding-bottom: 5px;
}

.bottom-bar {
  height:56px;
  background:#009fe3;
  text-align:center;
}
.foot-texts {
  font-size:13px;
  color:#f9e11b;
}
.foot-text {
  display:inline-block;
  padding-right:15px;
}
.foot-image {
  display:inline-block;
  padding-right:20px;
  padding-top:5px;
}
.disclaimer {
  font-size:10px;
}

/* Legacy below */

.overflow {
  overflow: hidden;
  overflow-y: auto !important;
  -ms-overflow-x: auto !important;
}

.nooverflow {
  overflow: hidden;
}

.content {
  position: absolute;
  top: 50px;
  left: 10px;
  right: 10px;
  box-sizing: border-box;
}

.lightBlueBackground {
  background: #d3dceb;
}

.fullWidth {
  width: 100%;
}

.centered {
  margin: auto;
  display: table;  
}

.margin-button {
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Public Map */

.fullPageMap {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  z-index: -10;
}

.legendLabel {
	margin-left: 13px;
}

.legendLabel .legendItem {
  font-size: 16px;
  padding: 4px;
  margin: 10px 4px;
  color: #3a3a3a;
  background: #E7E6E6;
  border: 2px solid #00000024;
}

.legendLabel .legendItem a {
  color: #3a3a3a;
}

.level-0 {
  background: #E7E6E6;
  border-radius: 4px 4px 4px 4px;
}

.level-1 {
  background: #F3F3F2;
  padding: 3px;
  border-radius: 4px 4px 4px 4px;
}

.level-2 {
  padding: 0px 5px 0px 10px;
  border-radius: 4px 4px 4px 4px;
}

.level-2 li input {
  width: 10px; /* make the invisible checkboxes a bit smaller */
}

.legendLabel .legendItem input {
  vertical-align: middle;
  opacity: 0;
}

.filterLabel {
  font-weight: bold;
}

.filterLabel:before {
	content: '► ';
	color: #999999;
}

.filterLabel.active:before {
	content: '▼ ';
	color: #999999;
}

.filterLabel.level-2 {
	background: #F3F3F2;
	font-weight: normal;
	display: block;
}

.legendLabel .legendItem .sliderContainer input {
	opacity: 1; /* Override the default hiding of inputs, such as checkboxes */
}

.sliderContainer {
    width: 100%; /* Width of the outside container */
    opacity: 1;
}

.slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    margin-left: 25px;
    margin-right: 10px;
    width: 70%; 
    height: 5px; /* Specified height */
    border-radius: 5px;
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
}
/* Mouse-over effects */
.slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */ 
.slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%; /* round slider */
    background: #0073BF; /* same color as a selected option in the other filters */
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 15px; /* Set a specific slider handle width */
    height: 15px;
    border-radius: 50%; /* round slider */
    background: #0073BF; /* same color as a selected option in the other filters */
    cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  float: right;
  margin-right: 5px;
  margin-top: 1px;
}
.switchSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  opacity: 1;
  border-radius: 17px;
}
.switchSlider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .switchSlider {
  background-color: #73b6e6;
}
input:focus + .switchSlider {
  box-shadow: 0 0 1px #73b6e6;
}
input:checked + .switchSlider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

.pointerLabel {
  cursor: pointer;
}

.level-2 li label {
  cursor: pointer;
}

.legendLabel .legendItem input:checked + label {
  color: #0073BF;
  font-weight: bold;
}

.legendLabel .panel ul {
  margin-right: 7px;
}

.legendLabel .panel ul li {
  margin-top: 3px;
  margin-bottom: 3px;
  list-style-type: none;
}

.legendLabel .panel ul li a:hover {
  display: inline-block;
  width: 100%;
  text-decoration: underline;
  cursor: pointer;
}

.legendLabel {
  position: fixed;
  top: 60px;
  left: 0;
  z-index: 3;
  width: 350px;
}

.legendLabel .accordion {
  cursor: pointer;
}

.legendLabel .panel.show {
  display: block;
}

.legendLabel .panel {
    display: none;
}

.legendItem hr {
  border-width: 1px 0px 0px 0px;
}

.accordion .resetFilters {
    display: none;
}
.accordion.active .resetFilters {
	display: block;
	margin-top: -3px;
	float: right;
	opacity: 0.7;
    font-size: large;
}
.accordion.active .resetFilters:after {
    content: '↻';
}

.notificationPanel {
  min-height: 30px;
  left: 0px;
  z-index: 1000;
  position: fixed;
  border: 1px solid black;
  width: 100%;
  bottom: 0px;
  padding-right: 60px;
  box-sizing: border-box;
}

.notificationTable {
  width: 100%;
  border-collapse: collapse;
}

.notificationTable td {
  width: 100%;
  border-bottom: 1px solid black;
}

.popup h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.popup small {
  color: gray;
}

.messageTable {
  border-collapse: collapse;
}

.messageTablePopup {
  border-collapse: collapse;
  width: 350px;
}

.messageTableRow {
  background-color: #d3dceb;
}

.messageTableRow td {
  padding: 0 6px 0 6px;
}

.singleline {
  white-space: nowrap;
}

/* Bridge Openings and Obstructions Panel */

.alttable tr:nth-child(odd) {
  background-color: rgba(0, 60, 136, 0.5);
}

/* Marker Label */

.greenLabel {
  background-color: #73ff73;
  border: #73ff73;
}

.greenLabel.leaflet-tooltip-bottom:before {
  border-bottom-color: #73ff73;
}

.orangeLabel {
  background-color: #ffb973;
  border: #ffb973;
}

.orangeLabel.leaflet-tooltip-bottom:before {
  border-bottom-color: #ffb973;
}

.lockOrangeLabel {
  background-color: #ffd73a;
  border: #ffd73a;
}

.lockOrangeLabel.leaflet-tooltip-bottom:before {
  border-bottom-color: #ffd73a;
}

.redLabel {
  background-color: #ff7373;
  border: #ff7373;
}

.redLabel.leaflet-tooltip-bottom:before {
  border-bottom-color: #ff7373;
}

.blueLabel {
  background-color: #7396ff;
  border: #7396ff;
}

.blueLabel.leaflet-tooltip-bottom:before {
  border-bottom-color: #7396ff;
}

.grayLabel {
  background-color: #d1d1d1;
  border: #d1d1d1;
}

.grayLabel.leaflet-tooltip-bottom:before {
  border-bottom-color: #d1d1d1;
}
.defaultLabel {
}

/* Clustering */

.app-map-group-icon {
    /* Positions were tweaked by hand */
    width: 40px;
    height: 46px;
    left: -14px;
    top: -32px;

    position: absolute;
    z-index: 3;
}
.app-map-group-icon.app-type-cluster {
  	background:url('/static/Icons/app-cluster-marker.png')
}

/* Text in cluster icon (number of markers in this group) */
.app-map-group-icon-text {
    position: absolute;
    text-align: center;
    width: 34px;
    line-height: 32px;
    left: -10px;
    top: -29px;
    z-index: 4;
    font-weight: bold;
    font-size: 14px;
}
.app-map-group-icon-text.app-type-cluster {
    color: #666;
}

/** Reset the default Leaflet DIV icon */
.leaflet-div-icon {
    background: transparent;
    border: 0;
}

/* Bridge Control Panel */

.controlPanelModalWindowContent {
  display:inline-block;
  position: absolute;
  height: 100%;
  cursor: default;
}

.bridgeControlPanelDiv {
  float: left;
  width: 440px;
}

.bridgeControlPanelButtonDiv {
  margin-left: 20px;
  margin-top: 30px;
}

.bridgeControlPanelButtonDiv input {
  width: 120px;
  height: 37px;
  line-height: 30px;
}

.BridgeControlPanelObstructionDiv {
  float: left;
  font-size: 85%;
  width: 100%;
}

.bridgeControlPanelDistribution {
  margin-left: 20px;
  margin-top: 15px;
  font-size: 8pt;
  color: gray;
}

.BridgeControlPanelCurrentStatus {
  margin-left: 20px;
  margin-top: 10px;
  font-size: 8pt;
  color: gray;
}

.operatorMode {
	text-align: center;
	color: #333;
    font-size: 1.2vw;
    font-weight: bold;
    font-family: monospace;
}

.bridgeControlTable {
  border-collapse: collapse;
  margin: 0 0 0 20px;
}

.bridgeControlTable tr,.bridgeControlTable td {
  border: 1px black solid;
}

.bridgeControlTable td {
  display: table-cell;
  width: 80px;
  height: 40px;
  text-align: center;
  vertical-align: middle;
}

.bridgeControlTable td:hover {
  cursor: pointer;
  background-color: #eef1f7;
}

.bridgeControlTable td label {
  cursor: pointer;
}

.controlPanel {
  margin: 0;
}

.controlPanelH4 {
  margin: 0 0 0 10px;
}

.controlPanelH5 {
  margin: 0 0 0 20px;
}

.intervalInput {
  width: 55px;
  margin: 0;
  text-align: right;
}

.inputCellPanelTime {
  width: 33px;
  text-align: right;
}

.controlSelectedLabel {
  color: white !important;
  background: rgb(75, 115, 177) !important;
}

.bridgeControlTable td.disabledControlButton {
  color: gray;
  background: silver;
  cursor: not-allowed;
}

.bridgeControlTable td.disabledControlButton label {
  cursor: not-allowed;
}

.controlPanelContainerDisabled .bridgeControlPanelDiv {
    color: #999;
}

/* Operator configuration page */

.table-row:hover, .table-row:active {
    background: #eee;
}

.table .user-name {
    width: 150px;
    /* define both, just to be sure that older browsers get it as well */
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-style: italic;
    font-size: small;
}

.table {
    text-align: left;
    vertical-align: middle;
    border-collapse: collapse;
}

.header-left {
	text-align: left;
}

.docked-submit-button {
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #009fe3;
}

.table-row td {
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.table-row th {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.table-header th {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.table-header th.small {
    max-width: 110px;
}

.table-header th.medium {
    max-width: 200px;
}

.table-header th.large {
    max-width: 250;
}

.table-row .small {
    text-align: left;
    width: 70px;
}

.table-row .medium {
    text-align: left;
    width: 200px;
}

.table-row .large {
    text-align: left;
    width: 250px;
}

.table-row .bridgeName {
    text-align: left;
    width: 280px;
    /* cut off longer bridge names in order to align checkboxes */
    text-overflow: ellipsis;
    overflow: hidden;
}

.table-row .isrs {
    text-align: left;
    width: 230px;
}

.table-row .showBridge {
    text-align: left;
    width: 30px;
}

.table-row .distributeBridge {
    text-align: left;
    width: 30px;
}

.table-row .vild {
    text-align: left;
    width: 70px;
}

.table-row .openingtime {
    text-align: left;
    width: 70px;
}

.table-row .timeout {
    text-align: left;
    width: 70px;
}

.row-disabled {
	background-color: rgba(128,0,0,0.2);
}

.table-row .userChoice { 
    height: 30px;
    position: relative;
}

/* create a larger clickable area */
.table .userChoice label {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
}

.userChoice.hideLabel label {
	display: none;
}

.table .userChoice input {
    cursor: pointer;
}

.cookie-banner {
	display: inherit;
	width: 960px;
	height: 200px;
	background: url('/static/Icons/cookies.jpg');
	background-position-x: center;
	background-size: cover;
	margin-left: auto;
	margin-right: auto;
}

.privacy-banner {
	width: 960px;
	min-height: 700px;
	background: #f6f6f6;
	text-align: center;
	padding-bottom: 20px;
	padding-top: 20px;
	margin-left: auto;
	margin-right: auto;
}
.privacy-text {
    padding: 10px;
}

.cookie-table {
	text-align: left;
	vertical-align: middle;
	max-width: 900px;
	border: 1px solid lightBlue;
	margin-left: auto;
	margin-right: auto;
}

.cookie-table td {
	padding: 0px 10px 0px 10px;
}

.cookie-table th {
    padding: 0px 10px 0px 10px;
}

.cookie-table .firstColumn {
	width: 150px;
}
 
/* Availability page */

.availabilityTable {
  border-collapse: collapse;
}

.availabilityTable th,.availabilityTable td {
  width: 150px;
  text-align: center;
}

.availabilityTable tr {
  color: white;
  background-color: rgb(92, 129, 186);
}

.availabilityTable .rowHighlighting {
  color: black;
  background-color: #d3dceb;
}

/* Configuration page */

.editForm {
  float: left;
  margin: 4px;
  padding: 10px;
  height: 450px;
  min-width:  340px;
  max-width: 20%;
  color: white;
  background-color: #4183C4;
  overflow-y: hidden;
  overflow-x: auto;
  border: 1px solid #2769AA;
}

.editForm.small {
  height: 250px;
}

.editForm.medium {
  height: 360px;
}

.editForm.large {
  height: 420px;
}

.menu {
    position: relative;
    z-index: 1;
}

.editForm h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.editForm input.submit,
.table input.button,
.docked-submit-button input {
    color: #888;
    background-color: #eee;
    border-color: #ccc;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}

.bridge-edit-form {
    padding-bottom: 45px;
}

.editForm input.submit:hover {
    color: #333;
    background-color: #fff;
    border-color: #adadad;
    text-decoration: none;
}

.editForm .longInputField,
.table .longInputField {
    padding: 5px;
    border: none;
    background: white;
}

.table .userChoice {
    width: 100px;
    margin-right: 2px;
}

.editForm form td {
    min-width: 140px;
    height: 35px;  
}

.configMenu .menu {
    float: left;
}

.configMenu {
    height: 60px;
}

.newEntry .editForm {
    background-color: #EEE;
    color: #333;
    border: 1px solid #ddd;
}

.detailBox {
	display:none;
	background: #EEE;
	padding: 10px;
	border: 2px solid #ddd;
	float: left;
	position: fixed;
	z-index: 99999;
	box-shadow: 0px 0px 20px #999;
	border-radius:6px 6px 6px 6px;
	padding:6px 6px 4px;
	width:600px; 
	color: #333;
}

/* Create new bridge identification panel */
.configuration-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    grid-auto-flow: column;
    padding: 10px;
}

.configuration-form .labels-column {
    grid-column: 1;

}

.configuration-form .field-column {
    grid-column: 2;
}

.configuration-form .save-button {
    grid-column: 2
}

.field-column input:not([type=checkbox]) {
    width: 300px;
}

.feedbackPanel .feedbackPanelERROR {
  background-color: #fab2bd;
}
