@import url("./fonts.css");
@import url("./base.css");

body {
  overflow: hidden;
	width:	100%;
	min-height: 100vh;
	display:	flex;
	justify-content:	center;
	align-items:	center;
	flex-direction: column;
}

body > header {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: space-between;
  background-color: black;
  color: white;
	top: 0;
	left: 0;
	width: 100%;
	height: 50px;
	padding: 0 35px;
	z-index: 1;
}

body > header:last-child {
  justify-content: flex-end;
}

body > header > div > a {
  color: white;
}

body > header > div > a:hover {
  color: red;
}

a {
  color: black;
}

a:hover {
  color: red;
}

body > data {
  position:absolute;
  display: flex;
  margin-top: 50px;
  overflow: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 15px 15px;
  top: 0px;
  bottom: 0px;
  width: 100%;
}

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

table.phones {
  border: 2px solid #999999;
  border-collapse: collapse;
  padding: 0px 0px;
  margin: 0px 0px;

  th {
    border: 2px solid #999999;
    padding: 3px 10px;
  };

  td {
    border-top: 2px solid #999999;
    border-bottom: 2px solid #999999;
    padding: 3px 10px;
  };

  td:nth-child(2) {
    border: 2px solid #999999;
  };
}

.table {
	display: table;
  border: 1px solid #999999;
  border-radius: 4px;
  margin-top: 10px;
}

.table > .row {
	display: table-row;
}

.table > .row > div {
  display: table-cell;
	border: 1px solid #999999;
	padding: 3px 10px;
}

.table > .row > div ~ div {
  border-left: none;
  border-right: none;
}

.table > .row > div:last-child {
  border-right: 1px solid #999999;
}

.table > .row > .rowspanned {
  border: 1px solid #999999;
}

.scheduler {
  font-size: 14px;
  padding: 0px 0px;
  margin: 0px 0px;
}

.scheduler > .row  {
  padding: 0px 0px;
  margin: 0px 0px;
}

.scheduler > .row > div  {
  padding: 2px 2px;
  margin: 0px 0px;
}

.table > .row > .value {
	/*border: 0px;*/
	display: table-cell;
	top: 0px;
	left: 0px;
  height: 100%;

  background-color: white;
  background-position: left top 0, left top 0;
  background-repeat: no-repeat;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  min-width: 120px;
  max-width: 300px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;
  white-space: nowrap;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  cursor: pointer;
  visibility: visible;
}

.hidden {
/*  visibility: hidden;
  display: none;*/
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 310px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}