/*

  Astutec-horcard.css

  External style sheet for horizontal cards (cards in which the text and image are horizontally arranged).

  Default property values are defined for all *-skn classes.
  Override them as necessary in internal stylesheets.

*/

      .horbox
      {
        display: block;

        --horcard-ht: 250px;
      }

      .horbox-skn
      {
        background-color: var(--clr-gry-gnsbro);
      }

      .horbox-hdr-skn
      {
        text-align: center;
      }

      .horbox-ttl-skn
      {
        padding: 50px 0 5px;

        color: var(--clr-ttl-rsnvlt);

        font-size: 28px;
      }

      .horbox-dsc-skn
      {
        padding: 5px 5px 10px;
      }

      .horbox-in
      {
        display: block;

        width: 100%;
        height: auto;
      }

      .horbox-in-skn
      {
      }

      .txtimgcard,
      .imgtxtcard
      {
        display: block;

        width: 100%;
      }

      .txtimgcard-skn,
      .imgtxtcard-skn
      {
        height: var(--horcard-ht);
      }

      .horcard-txt
      {
        display: block;
        position: relative;

        height: 100%;

        text-align: center;
      }

      .horcard-txt-skn
      {
        width: 50%;

        background-color: var(--clr-blu-ltstlblu);

        font-size: 35px;
      }

      .horcard-img
      {
        display: block;

        height: 100%;
      }

      .horcard-img-skn
      {
        width: 50%;

        background-color: var(--clr-lt-wht);
      }

      .txtimgcard .horcard-txt
      {
        float: left;
      }

      .txtimgcard .horcard-img
      {
        float: right;
      }

      .imgtxtcard .horcard-img
      {
        float: left;
      }

      .imgtxtcard .horcard-txt
      {
        float: right;
      }

      .horcard-img img
      {
        display: block;

        width: 100%;
        height: var(--horcard-ht);

        margin-left: auto;
        margin-right: auto;

        object-fit: contain;
      }

      .horcard-icn
      {
        display: block;
      }

      .horcard-icn-skn
      {
        margin-top: 10px;

        font-size: 40px;
      }

      .horcard-dsc
      {
        display: block;
      }

      .horcard-dsc-skn
      {
        position: absolute;
        left: 50%;
        top: 50%;

        /* If the width is not defined explicitly, the 
           transform causes the dsc to wrap to the next line,
           when the font-size is increased. */
        width: 100%;     

        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);

        color: var(--clr-lt-wht);
      }

      .blu
      {
        color: var(--clr-blu-rylblu);
      }


/* flex layout mode */
      @supports (display: flex)
      {
        .horbox-in
        {
          display: flex;

          flex-direction: column;
          justify-content: space-between;
        }
      }


/* grid layout mode */
      @supports (display: grid)
      {
        .horbox-in
        {
          display: grid;

          grid-template-columns: 1fr;
        }
      }