html, body {
  margin:0;
}

body.nightMode
{
  background-color:#404040;
}

#phone {
  /*background-color: blue;*/
  display: flex;
  /*align-items: center;*/
  min-width:250px;
  min-height:400px;
  text-align: center;

}

.phoneFormat {
  margin: 5vh auto;
  height:90vh;
  width: 70vw;
}


.lockFormat {
  margin: 5vh auto;
  height:90vh;
  width: 50vh;
}

.tabletFormat {
  margin: 5vh auto;
  height:90vh;
  width: 90vw;
}

text{
  font-size:calc(4px + 2vmin);
}
.appText{
  font-size:calc(3px + 2vmin);
}




#monTel{
  /*background-color: yellow;*/
  width:100%;
  height: 100%;
  z-index:2;
}


#border.nightMode
{
  stroke:LightSkyBlue;
}

#border
{
  stroke:black;
  stroke-width:5;
}





#borderLock{
  /*background-color: yellow;*/
  width:100%;
  height: 100%;
  z-index:2;
  pointer-events: none;
}

#buttons {
  /*Always on top*/
  z-index:4;
  /*border: 3px solid red;*/
  position:absolute;
}




.highlight:hover{
  fill-opacity: 1;
  cursor: pointer;
}
.highlight{
  fill: LightGray;
  fill-opacity: 0;
  stroke-width: 2;
  stroke: LightGray;
}

.borderHighlight{
  stroke-width: 2px;
  color:grey;
}
.borderHighlight:hover{
  stroke:LightGray;
  stroke-width: 2px;
  color:LightGray;
  cursor: pointer;
}


#contentLock {
  position: absolute;
  border-radius: 15px;
}

#content {
  position: absolute;
  border-radius: 15px;
}

.offStage{
  pointer-events: none;
  background-image: url('../img/wallpaper.jpg');
  background-size:     cover;
  background-repeat:   no-repeat;
  background-position: center center;

  z-index:1;
}

.offStageLock{
  /*pointer-events: none;*/
  background-image: url('../img/wallpaper.jpg');
  background-size:     cover;
  background-repeat:   no-repeat;
  background-position: center center;

  z-index:1;
}


.onStage{
  background-color: white;
  display:inline-block;
  z-index: 3;
}


.invisible {
  display:none;
}

.frame{
  width:100%;
  margin-top: 2.5;
  margin-left: 2.5;
  border-radius: 15px;
  border:none;
  /*border: 2px solid green;*/
}


body {
  font-family: sans-serif;
  font-size: 1.1rem;
}

.width-limited {
  max-width: 55rem;

  /* Center horizontally: */
  margin-left: auto;
  margin-right: auto;
}

a {
  color: DarkSlateGrey;
  text-decoration: none;
}

/* Justify paragraphs */
p {
  text-align: justify;
}

/* Titles: set color and sizes */
h1, h2, h3, h4, h5, h6
{
  color: DarkSlateGrey;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

nav ul {
  /* Clear defaults */
  margin: 0;
  padding: 0;

  /* Remove list bullet points */
  list-style-type: none;

  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

nav li {
  margin-right: 3rem;
}

.title-row {
  width: 100%;

  /* Space above and below the title */
  padding-top: 5rem;
  padding-bottom: 5rem;

  background-color: DarkSlateGrey;
  background-image: url(https://bddf794624247cea6a0b-b4761d2ba0154d0278c36dbf2b3c114d.ssl.cf1.rackcdn.com/icons1529553323730.png);

  /* Center the title using flexbox */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Style of the title inside the box */
.title-row h1 {
  font-size: 2.5rem;
  color: white;
  font-variant: small-caps;
}



.unavailable
{
  cursor: auto;
  fill-opacity: 0.8;
}



/*Scrollbar (https://css-tricks.com/the-current-state-of-styling-scrollbars)*/
html {
  --scrollbarBG: #f0f0f0;
  --thumbBG: #a4a4a4;
}
body::-webkit-scrollbar {
  width: 10px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
body::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG) ;
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}
