/*

  Astutec-vrtcard.css

  External style sheet for vertical cards (cards in which the text and image are vertically arranged).

  Default property values are defined for all *-skn classes.
  Override them as necessary in internal stylesheets.

*/

      .vrtbox
      {
        display: block;
      }

      .vrtbox-skn
      {
        background-color: var(--clr-lt-ivr);
      }

      .vrtbox-hdr-skn
      {
        padding: 25px 0 0;

        text-align: center;
      }

      .vrtbox-ttl-skn
      {
        color: var(--clr-ttl-rsnvlt);

        font-size: 28px;
      }

      .vrtbox-dsc-skn
      {
        padding: 9px 5px 16px;

        color: var(--clr-txt-chrcol);

        font-size: 19px;
      }

      .vrtbox-in
      {
        display: block;

        height: auto;

        text-align: justify;

        /* IE 9/10 don't like font-size: 0; */
        font-size: 0.1px;
      }

      .vrtbox-in:after
      {
        display: inline-block;

        /* Ensures there are at least 2 lines of text, so justification works */
        width: 100%;

        content: '';
      }

      /* Small devices (phones) */
      .vrtcard
      {
        display: inline-block;

        width: 100%;
        height: auto;

        text-align: center;
      }

      .vrtcard-skn
      {
        margin: 0 0 35px;

        border: 1px solid var(--clr-gry-ltgry);

        box-shadow: 9px 12px 5px var(--clr-gry-gry);
      }

      .vrtcard:last-child
      {
        margin-bottom: 0;
      }

      .vrtcard-skn:hover
      {
        border: 3px ridge var(--clr-lt-wht);

        cursor: pointer;

        -ms-transform: scale(1, 1.03);         		/* Standard syntax */
        -webkit-transform: scale(1, 1.03);         	/* Standard syntax */
        transform: scale(1, 1.03);         		/* Standard syntax */
      }

      .vrtcard-skn:hover .vrtcard-img-skn
      {
        opacity: 1;
        filter: alpha(opacity=100);
      }

      .vrtcard-hdr
      {
        position: relative;
      }

      .vrtcard-hdr-skn
      {
        height: 100px;

        background-color: var(--clr-brnd-cprrs);
        color: var(--clr-lt-wht);
      }

      .vrtcard-ttl
      {
        position: absolute;
        top: 50%;
        left: 50%;

        margin: 0;

        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
      }

      .vrtcard-ttl-skn
      {
        font-size: 30px;
      }

      .vrtcard-img-skn
      {
        height: 300px;

        opacity: 0.6;
        filter: alpha(opacity=60);
      }

      /* Default property values for each individual card.
         Override them as necessary in internal stylesheets. */
      #appcardMkt-img
      {
        background: url('../Media/Images/Apps/Marketing3_500x300px.jpg')
                    no-repeat
                    center / cover;
      }

      #appcardPrd-img
      {
        background: url('../Media/Images/Apps/ShopFloor1_500x300px.jpg')
                    no-repeat
                    center / cover;
      }

      #appcardInv-img
      {
        background: url('../Media/Images/Apps/Warehouse2_500x300px.jpg')
                    no-repeat
                    center / cover;
      }

      #appcardFin-img
      {
        background: url('../Media/Images/Apps/Fin1_500x300px.jpg')
                    no-repeat
                    center / cover;
      }

      #appcardBnk-img
      {
        background: url('../Media/Images/Apps/Banking1_500x300px.jpg')
                    no-repeat
                    center / cover;
      }

      #appcardIns-img
      {
        background: url('../Media/Images/Apps/Ins_Umb1_500x300px.jpg')
                    no-repeat
                    center / cover;
      }

      /* Medium devices (portrait tablets and large phones) */
      @media (min-width: 479px)
      {
        .vrtcard
        {
          width: 45%;
        }

        .vrtcard:nth-last-child(2)
        {
          margin-bottom: 0;
        }
      }

      /* Large devices (laptops and desktops) */
      @media (min-width: 768px)
      {
        .vrtcard
        {
          width: 29%;
        }

        .vrtcard:nth-last-child(3)
        {
          margin-bottom: 0;
        }
      }


/* flex layout mode */
      @supports (display: flex)
      {
        /* Small devices (phones) */
        .vrtbox-in
        {
          display: flex;

          flex-direction: column;
          flex-wrap: wrap;
          align-items: center;
          justify-content: space-between;
          align-content: space-evenly;
        }

        /* Medium devices (portrait tablets and large phones) */
        @media (min-width: 479px)
        {
          .vrtbox-in
          {
            flex-direction: row;
          }
        }
      }


/* grid layout mode */
      @supports (display: grid)
      {
        /* Small devices (phones) */
        .vrtbox-in
        {
          display: grid;

          grid-template-columns: 1fr;
        }

        .vrtbox-in-skn
        {
          gap: 35px 0;
          grid-gap: 35px 0;
        }

        .vrtbox-in:after
        {
          display: none;
        }

        .vrtcard
        {
          width: auto;
        }
        
        .vrtcard-skn
        {
          margin: 0;
        }

        .vrtcard:first-child
        {
          margin-top: auto;
        }

        .vrtcard:last-child
        {
          margin-bottom: auto;
        }

        /* Medium devices (portrait tablets and large phones) */
        @media (min-width: 479px)
        {
          .vrtbox-in
          {
            grid-template-columns: 1fr 1fr;
          }

          .vrtbox-in-skn
          {
            gap: 35px 10%;
            grid-gap: 35px 10%;
          }

          .vrtcard:nth-child(2)
          {
            margin-top: auto;
          }

          .vrtcard:nth-last-child(2)
          {
            margin-bottom: auto;
          }
        }

        /* Large devices (laptops and desktops) */
        @media (min-width: 768px)
        {
          .vrtbox-in
          {
            grid-template-columns: 1fr 1fr 1fr;
          }

          .vrtbox-in-skn
          {
            gap: 35px 6.5%;
            grid-gap: 35px 6.5%;
          }

          .vrtcard:nth-child(3)
          {
            margin-top: auto;
          }

          .vrtcard:nth-last-child(3)
          {
            margin-bottom: auto;
          }
        }
      }