/*

  Astutec-cmn.css

  Features:
  1) Modifications dated 28-Nov in AstutecWebsite.docx (dir Files > C > Astutec > Website > AstyPages > docs)

     CHANGE AboutUs.htm’s COMPONENT PARTS

  Variant details:
  (1) It must contain the CSS for the following parts:
      (i)  pghdr
      (ii) topnav
      (iv) pgftr

  Source: Astutec_T9bi.css (in dir Files > C > Astutec > WebSite > AstyPages > CSS)

*/

      *
      {
        box-sizing: border-box;
      }

      body
      {
        width: 100%;
        max-width: 1200px;

        margin: 0 auto;			/* Horizontal centering of body */

        border: ridge var(--clr-lt-ivr);
        border-width: 0 3px;

        padding: 0;

        background-color: var(--clr-lt-ivr);

        font-family: Geneva, Tahoma, "Lucida Sans Unicode", sans-serif;

        --logo-h: 82px;			/* logo height */
        --sld-h: 300px;			/* slide height */
      }

      /* Display semantic elements as block elements,
         in older browsers. */
      header,
      nav,
      main,
      section,
      article,
      aside,
      details,
      summary,
      footer
      {
        display: block;
      }

      img#Logo
      {
        /* To prevent IE9 (and earlier) from displaying a border
           around the image (when the image is a link) */
        border: 0;
      }

      .trnsprnt40
      {
        /* opacity: 0.4;
        /* filter: alpha(opacity=40); For IE8 and earlier */
      }

/* block/inline layout mode */
      /* Extra small devices (phones) */

      .pghdr
      {
        height: var(--logo-h);

        background-color: var(--clr-lt-wht);
      }

      /* "Jump to Top" link */
      .jmptop
      {
        position: fixed;
        bottom: 10px;
        right: 7px;
        z-index: 1;

        color: var(--clr-red-frbrk);

        font-size: 30px;
      }

      /* Top Navigation bar */
      .topnav
      {
        display: block;

        background-color: var(--clr-brnd-cprrs);
      }

      /* Top Navigation bar links */
      .topnav a
      {
        display: block;

        width: auto;		/* stack options vertically */

        padding: 16px 20px;

        color: var(--clr-lt-wht);

        text-align: center;
        text-decoration: none;
      }

      /* Change Top Navigation bar link color on hover */
      .topnav a.active
      {
        background-color: var(--clr-red-indred);
        color: var(--clr-lt-wht);
      }

      /* Top Navigation bar's active link color */
      .topnav a:hover:not(.active)
      {
        background-color: var(--clr-brnd-tscny);
        color: var(--clr-gry-dvygry);
      }

      .topnavicon
      {
        font-size: 20px;
      }

      .topnavtext
      {
        padding-left: 6px;
      }

      .topnav::after
      {
        display: table;

        clear: both;

        content: "";
      }

      .pgftr
      {
        padding: 20px;

        background-color: var(--clr-gry-dmgry);
        color: var(--clr-lt-wht);

        text-align: center;
      }

      /* Small devices (portrait tablets and large phones) */
      @media(min-width: 635px)
      {
        .topnav a
        {
          float: left;
        }
      }    /* block/inline layout mode */


/* flex layout mode */
      @supports (display: flex)
      {
        /* Extra small devices (phones) */

        body
        {
          display: flex;
          flex-direction: column;
        }

        /* Top Navigation bar */
        .topnav
        {
          display: flex;
          flex-direction: column;
        }

        /* Small devices (portrait tablets and large phones) */
        @media(min-width: 635px)
        {
          .topnav
          {
            flex-direction: row;
          }
        }
      }    /* flex layout mode */


/* grid layout mode */
      @supports (display: grid)
      {
        /* Extra small devices (phones) */

        body
        {
          display: grid;
          grid-template-columns: 1fr;
          grid-template-areas:
             "hd"
             "tn"
             "sb"
             "mn"
             "ft";
        }

        .pghdr
        {
          grid-area: hd;
        }

        .topnav
        {
          grid-area: tn;
        }

        main
        {
          grid-area: mn;
        }

        .pgftr
        {
          grid-area: ft;
        }
      }    /* grid layout mode */