:root {
  box-sizing: border-box;

  --primary: #e70146;
  --hover-color: #fdd052;
  --dark: #1c2022;
  --light: #fff;

  --header-bg: var(--primary);
}

*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  color: rgba(41, 41, 41, 1);
  background-color: rgb(255, 255, 255);
  font-size: 1rem;
  /* navbar font size */
  font-family: Lato,"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;

  animation: fadeInAnimation ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/* this will scale any photo  */
img {
  max-width: 100%;
  max-height: 100vh;
  height: auto;
}

p {
  margin: 18px 0px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18.72px;
}

h4 {
  font-size: 16px;
}


.spacer {
  position: fixed;
  width: 100%;
  height: 10px;
  background-color: #999999;
}

masthead {
  display: block;
}

/* add this */
header{
  position: sticky;
  width: 100%;
  height: 70px;
  top: 0;
  background-color: red;
}

.container {
  margin: 0 auto;
  max-width: 1025px;
}

.content {
  margin: 0 auto;
  max-width: 940px;
  margin-left: 2vw;
  margin-right: 2vw;
  padding: 4vw;
  font-size: 18px;
  /* page font size global */
  background-color: hsl(0, 0%, 100%);
  /* white */
  /* margin-top: 55px; REMOVE THIS */
}

.content p {
  margin: 16px 0px;
  /* p margin top bottom global */
  /* text-align: justify; */
  /* word-spacing:-2px; */
  /* text-justify: inter-word; */
}


.photo {
  height: auto;
  width: auto;
  object-fit: contain;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.span-update {
  display: block;
  margin: 0 auto;
  margin-top: 5px;
  max-width: 1025px;
  font-size: 10px;
  text-align: center;
}

.copyright {
  clear: both;
  position: relative;
  margin: 0 auto;
  max-width: 1025px;
  height: auto;
  color: black;
  font-size: 12px;
  text-align: center;
}

.veiwport {
  position: relative;
  margin: 0 auto;
  max-width: 1025px;
  height: auto;
  padding-bottom: 20px;
  color: black;
  font-size: 12px;
  text-align: center;
}


/* Go Top Button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: hsla(221.333, 23%, 61%, 1);
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
  color: #8694b3;
}

a:hover {
  color: blue;
}

.content li {margin-left: 40px;}

li {
  padding: 5px 5px;
}

.code-block {
  display: block;
  margin-left: 10px;
  font-size: 16px;
  background: #eeeeee;
  padding: 10px;
  overflow: auto;
  white-space: nowrap;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
}

.ftnav {
  margin-left: 0;
  max-width: 90vw;
  text-align: center;
  padding-left: 0.5em;
  /* border: 1px solid #d7d7d7; */
}


/** Main Pages **/

/* Logout */
.logout-page {
  display: inline-block;
  padding-top: 0px;
  height: auto;
  width: 90%;
}

/* Browser */
.browser-page {
  display: inline-block;
  padding-top: 0px;
  height: auto;
  width: 90%;
}



/* Home Page */
.home-page {
  display: inline-block;
  padding-top: 0px;
  height: auto;
  width: 90%;
}

.home-page .overview {
  margin-left: 6vw;
  font-size: 15px;
}

/* features colums */
.home-page .features {
  display: block;
  margin: 0 auto;
  width: 90%;
  height: auto;
  font-family: Helvetica, Arial, sans-serif;
  font-size: calc(12px + 0.390625vw);
  font-weight: 500;
  color: rgb(95,96,98);
  white-space: nowrap;
  /* border: 1px solid blue; */
}


.home-page .column-left{ float: left; width: 33%; }
.home-page .column-right{ float: right; width: 33%; }
.home-page .column-center{ display: inline-block; width: 33%; }



@media screen and (max-width: 400px) {

  .home-page .features {
    width: 95%;
    font-size: 10px;
  }

  .home-page a.button1 {
  white-space: nowrap;
  }


}


/* button */
.home-page a.button1 {
  home display: inline-block;
  padding: 0.3em 1.2em;
  margin: 0 0.3em 0.3em 0;
  border-radius: 2em;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: white;
  background-color: hsla(221.333, 23%, 61%, 1);
  text-align: center;
  transition: all 0.2s;
}

.home-page a.button1:hover {
  color: blue;
}

.home-page .tab {
  margin-left: 3vw;
}

.home-page .double_tab {
  margin-left: 5vw;
}

.home-page .footnote {
  font-size: 12px;
}


/* About Page */
.about-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.about-page .footnote {
  font-size: 12px;
}


/* Legal Page */
.legal-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.legal-page .footnote {
  font-size: 12px;
}

/* Links */
.links-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.links-page .colleft {
  /* position: relative; */
  display: inline-block;
  width: 98%;
}

.links-page .colleft .links {
  min-width: 21vw;
  height: auto;
  font-family: arial;
  display: inline-block;
  margin: 0;
  padding: 0;
  margin-left: 20px;
  vertical-align: top;
}

.links-page .colright {
  width: 278px;
  height: auto;
  display: inline-block;
  margin: 0;
  padding: 0;
  text-align:right;
  vertical-align: top;
  line-height: 40px;
}



/* Sitemap */
.sitemap-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.sitemap-page .colleft {
  /* position: relative; */
  display: inline-block;
  width: 98%;

}

.sitemap-page .colright {
  width: 278px;
  height: 371px;
  display: inline-block;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.sitemap-page ul {
  font-size: 18px;
}

.sitemap-page ul {
  min-width: 21vw;
  height: auto;
  font-family: arial;
  display: inline-block;
  margin: 0;
  padding: 0;
  margin-left: 20px;
  vertical-align: top;
}


.sitemap-page img {
  width: 278px;
  height: 371px;
  margin-left: 20px;
}


/* 404error Page */
.404error-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

/* Logout */

#logout {
  display: none;
}

/* Browser */

/* templete Page */
.templete-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}



/** Private Pages **/

/* documentation */
.documentation-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.documentation-page ul {
  margin-left: 20px;
  font-size: 16px;
}

.documentation-page .footnote {
  font-size: 12px;
}



/** Resources Pages **/

/* installation-guide */
.installation-guide-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.installation-guide-page .terms {
  margin-left: 3vw;
  font-size: 16px;
}

.installation-guide-page .hardware {
  margin-left: 3vw;
  font-size: 16px;
}

.installation-guide-page .download {
  margin-left: 3vw;
  font-size: 16px;
}

.installation-guide-page .configure {
  margin-left: 40px;
  font-size: 16px;
}

.installation-guide-page .connecting-rpi {
  margin-left: 3vw;
  font-size: 17px;
}

.installation-guide-page .connecting-rpi .connecting-rpi-sub li {
  margin-left: 2vw;
  font-size: 17px;
}

.installation-guide-page .activate {
  margin-left: 4vw;
  font-size: 17px;
}

.installation-guide-page .activate .ip-addrs {
  font-size: 15px;
}

.installation-guide-page .readme {
  margin-left: 4vw;
  font-size: 15px;
}

.installation-guide-page .readme p {
  margin-left: 2vw;
  font-size: 15px;
}

.installation-guide-page .footnote {
  font-size: 12px;
}


/* UserInteface */
.user-interface-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

/* features colums */
.user-interface-page .features {
  display: block;
  margin: 0 auto;
  width: 90%;
  height: auto;
  font-family: Helvetica, Arial, sans-serif;
  font-size: calc(12px + 0.390625vw);
  font-weight: 500;
  color: rgb(95,96,98);
  white-space: nowrap;
  /* border: 1px solid blue; */
}

.user-interface-page .column-left{ float: left; width: 33%; }
.user-interface-page .column-right{ float: right; width: 33%; }
.user-interface-page .column-center{ display: inline-block; width: 33%; }


@media screen and (max-width: 400px) {

  .user-interface-page .features {
    width: 95%;
    font-size: 10px;
  }

}


.user-interface-page .footnote {
  font-size: 12px;
}

/* Activate Visual Guide */
.activation-processe-slide-show-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.activation-processe-slide-show-page .footnote {
  font-size: 12px;
}

/** network-guide-page **/
.network-guide-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.network-guide-page .footnote {
  font-size: 12px;
}




/** Articles **/

/* Remote Control Your Ham Radio Station Through Raspberry Pi */
.articles-rpi-remote-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.articles-rpi-remote-page .terms {
  margin-left: 3vw;
  font-size: 16px;
}

.articles-rpi-remote-page .hardware {
  margin-left: 3vw;
  font-size: 16px;
}

.articles-rpi-remote-page .download {
  margin-left: 3vw;
  font-size: 16px;
}

.articles-rpi-remote-page .configure {
  margin-left: 40px;
  font-size: 16px;
}

.articles-rpi-remote-page .connecting-rpi {
  margin-left: 3vw;
  font-size: 17px;
}

.articles-rpi-remote-page .connecting-rpi .connecting-rpi-sub li {
  margin-left: 2vw;
  font-size: 17px;
}

.articles-rpi-remote-page .activate {
  margin-left: 4vw;
  font-size: 17px;
}

.articles-rpi-remote-page .activate .ip-addrs {
  font-size: 15px;
}

.articles-rpi-remote-page .readme {
  margin-left: 4vw;
  font-size: 15px;
}

.articles-rpi-remote-page .readme p {
  margin-left: 2vw;
  font-size: 15px;
}

.articles-rpi-remote-page .footnote {
  font-size: 12px;
}


/* RPi Hotspot */
.articles-rpi-hotspot-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.articles-rpi-hotspot-page ul {
  margin-left: 20px;
  font-size: 16px;
}

.articles-rpi-hotspot-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.articles-rpi-hotspot-page a {
  font-size: 18px;
}

/* RPI Moble Hotspot */
.article-rpi-mobile-hotspot-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-rpi-mobile-hotspot-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-rpi-mobile-hotspot-page a {
  font-size: 18px;
}

/* RPI Power Supply */
.article-rpi-power-supply-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-rpi-power-supply-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-rpi-power-supply-page a {
  font-size: 18px;
}

/* Sainsmart 4ch usb relay */
.article-sainsmart4-usb-relay-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-sainsmart4-usb-relay-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-sainsmart4-usb-relay-page {
  font-size: 18px;
}

/* Accessories */
.article-accessories-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-accessories-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-accessories-page {
  font-size: 18px;
}

/* MFJ-4712 */
.article-mfj-4712-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-mfj-4712-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-mfj-4712-page {
  font-size: 18px;
}

/* ANT Rotator */
.article-ant-rotator-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-ant-rotator-page ul {
  margin-left: 20px;
  font-size: 16px;
}

.article-ant-rotator-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-ant-rotator-page {
  font-size: 18px;
}

/* Drake RCS4 WiFi */
.article-drake-rcs4-wifi-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-drake-rcs4-wifi-page ul {
  margin-left: 20px;
  font-size: 16px;
}

.article-drake-rcs4-wifi-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-drake-rcs4-wifi-page {
  font-size: 18px;
}

/* ANT Fan Dipole */
.article-ant-fan-dipole-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-ant-fan-dipole-page ul {
  margin-left: 20px;
  font-size: 16px;
}

.article-ant-fan-dipole-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-ant-dipole-page-page {
  font-size: 18px;
}

/* SimpleHRR PTT */
.article-simplehrr-ptt-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.article-simplehrr-ptt-page ol {
  margin-left: 20px;
  font-size: 16px;
}

.article-simplehrr-ptt-page {
  font-size: 18px;
}



/* IC7300 IC7610 remote control software */
.remote-control-software-page {
  display: inline-block;
  padding-top: 0;
  height: auto;
  width: 90%;
}

.remote-control-software-page .terms {
  margin-left: 3vw;
  font-size: 16px;
}

.remote-control-software-page .hardware {
  margin-left: 3vw;
  font-size: 16px;
}

.remote-control-software-page .download {
  margin-left: 3vw;
  font-size: 16px;
}

.remote-control-software-page .configure {
  margin-left: 40px;
  font-size: 16px;
}

.remote-control-software-page .connecting-rpi {
  margin-left: 3vw;
  font-size: 17px;
}

.remote-control-software-page .connecting-rpi .connecting-rpi-sub li {
  margin-left: 2vw;
  font-size: 17px;
}

.remote-control-software-page .activate {
  margin-left: 4vw;
  font-size: 17px;
}

.remote-control-software-page .activate .ip-addrs {
  font-size: 15px;
}

.remote-control-software-page .readme {
  margin-left: 4vw;
  font-size: 15px;
}

.remote-control-software-page .readme p {
  margin-left: 2vw;
  font-size: 15px;
}

.remote-control-software-page .footnote {
  font-size: 12px;
}
/*-----------------*/


/** Web Development **/
.doc-letsencrypt-http-01-page {
  display: inline-block;
  margin-top: 70px;
  height: auto;
  width: 90%;
}

.doc-letsencrypt-dns-01-page {
  display: inline-block;
  margin-top: 70px;
  height: auto;
  width: 90%;
}

/* 404 Error */
.404error-page {
  display: inline-block;
  margin-top: 70px;
  height: auto;
  width: 90%;
}

/** Technical Resource **/
/* Set the first layer of list items to regular numeric decimals */
.technical-page ol {
    list-style-type: square;
}

/* Set the second layer of list items to lowercase alphabetic */
.technical-page ol > li > ol {
    list-style-type: disc;
    font-size: 15px;
}

/* Set the third layer of list items to lowercase Roman numerals */
.technical-page ol > li > ol > li > ol {
    list-style-type: lower-roman;
}

/* Details */
details > summary {  
  cursor: pointer;
}

details > summary:hover {  
  color: blue;
}

/* Large letter */

.text{
    font-family: 'Droid Serif';
    font-style: inherit;
    font-size: 2em;
    font-weight: 700;
}

/* Blink text */
.blink {
  animation: blinker 1s step-start infinite;
  font-size: 1.2em;
  color: #8593b2;  
}

@keyframes blinker {
  0% { visibility: visible; }
  50% { visibility: hidden; }
  100% { visibility: visible; }
}

/* highlight text */
.highlight {border-radius: 4px; padding: 0px 5px;background: #e9d2fd!important}

/* magnify */
.magnify:hover {
        transition: transform 0.2s;
        transform: scale(1.5);
        z-index: 100;
}

/* abbreviate */
abbr {
    border-bottom: 1px ridge #999;
    cursor: help;
}
