/* ------------------------------------------------------ */
/*   Navigatiion font size breaking nav bar in Safari     */
/* ------------------------------------------------------ */

  @media (orientation: portrait) {
    /* .nav-li {
      font-size:11px;
    } */

    .logo {
      /* width: 80px; */
      width: 100px;
      padding-bottom: 10px;
    }
    
}

  @media (orientation: landscape) {
    /* .nav-li {
      font-size:15px;
    } */

    .logo {
      width: 120px;
      /* width: 150px; */
    } 

  } 

html {
  scroll-padding-top: 40px; /* space for navbar */
}

.box {
	width: 90%;
	border: 1px solid;
	margin: auto;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

.navbar {
  width: 100%;
  height: 25px;
  padding: 0;
  margin-top: -8px; /* close gap at top */
  position: fixed;
  z-index: 100;
}

.navbar li {
  width: 19.5%;  /* allow for border */
  height: 25px;
  float: left;
  text-align: center;
  list-style: none;
  color: white;
  font-size: 15px;
  font: normal bold;
  margin: 0;
  background-color: #040475;
  padding-top: 10px;
  border-left: 1px solid white;
  display: block;
  z-index: 100;
}

.navbar a {
  text-decoration: none;
}

.navbar li:hover {
  background-color: #0b0bad;
}

.navbar li ul {
  display: none;
  height: auto;
  margin-top: 8px;
  padding: 0;
  z-index: 100;
}
      
.navbar li:hover ul {
  display: block;
}

.navbar li ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25px;
  color: white;
  background-color: #040475;
  width: 100%;
  border-left: 1px solid #040475;
  border-right: 1px solid #040475;
  border-top: 1px solid white;
  border-bottom: 1px solid lightslategray;
  padding-top: 5px;
  padding-bottom: 5px;
  z-index: 100;
}

/* 
.navbar li ul li a { 
	text-decoration: none;
} */
  
.logo_container {
	width: 100%;
	padding-top: 15px;  
	padding-bottom: 20px;
}

.logo {
	position: absolute;
  margin-top: 24px;
  left: 10px;
	border-style: none;
}

.index {
	width: 60%;
	max-width: 300px;
	margin: auto;
}

.facts {
  margin-top: 24px;
  font-family: 'Arial';
	font-size: 26px; 
	text-align: center; 
	color: rgb(32, 32, 128);
}

.header {
  margin-top: 24px;
	font-size: 24px; 
	text-align: center; 
	color: rgb(32, 32, 128);
}
h2 {
  margin-bottom: 8px;
  text-align: center; 
}

.icon {
  /* margin-top: 8px;   */
  /* margin-top: -12px; */
	width: 64px;
  margin-bottom: 8px;
}

.small_icon {
  width: 42px;
}

img {
  /* max-width: 90%; */
	display: block;
	margin-left: auto;
	margin-right: auto;	
}

.comp_screenshot {
	width: 80%;
	max-width: 600px;
  margin-top: 10px;
	border-style: solid;
	border-width: 1px;
}
	
.input-img {
	width: 80%;
  max-width: 320px;
	border-style: solid;
	border-width: 1px;
}

.screenshot {
  margin-top: 12px; 
	width: 160px;
	height: 330px;
	border-radius: 8px; 
	border-style: solid;
  border-width: 1px;
}

.screenshots {
	margin: auto;
	width: 90%;
	max-width: 400px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.screenshots img {
  margin-top: 12px; 
	width: 160px;
	height: 330px;
	border-radius: 8px; 
	border-style: solid;
  border-width: 1px;
}

.inline-text {
  margin: auto;
  width: 90%;
  max-width: 400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
}

.installer {
  margin: auto;
  width: 60%;
  max-width: 250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.centrePage {
  display: flex;
  justify-content: center;
} 

.menu {
  padding-top: 50px;
  padding-bottom: 40px;
  width: 400px;
}

.large-logo {
  padding-top: 40px;
  width: 180px;
  cursor: pointer;
}

.centred {
	text-align: center;
}

.copyright {
	text-align:center;
	font-size: 11px;
}

.fixed-copyright {
  position: fixed; 
  bottom: 0;
  text-align:center;
  font-size: 11px;
  width: 100%;
  height: 42px;

    @media (max-height: 680px) {
      position: relative; 
    }
  }

.sourcecode {
	margin: auto;
  margin-bottom: 20px;
  background-color: #1e1e1e; 
  color: #dcdcdc;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  height: 600px;
  font-family: monospace;
  overflow-y: auto;
  overflow-x: auto;
  white-space: pre;
}

.dlg {
  width: 70%;
  max-width: 500px;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: LightYellow; 
  border: 1px solid #ccc;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.dlg .dlgTitle {
  text-align: left;
  font-size: 18px;  
  font-weight: bold;  
  margin-bottom: 10px;
}

.dlg .dlgText {
  text-align: left;
}

.dlg .dlgButtons {
  width: 100%;
  display: flex;
  justify-content: center;
}

.dlg .dlgButton {
  margin-top: 16px;
  width: 100px;
}

.dlg .dlgSpacer {
  width: 40px; 
  display: inline-block;
}

.overlay {
  /* display: none; */
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); 
  z-index: 900;
} 

.spinner {
  /* display: none; */
  display: block;
  width: 40px;
  height: 40px;
  border: 5px solid #ccc;
  border-top: 5px solid #007bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1000; 
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
