
/***** BASIC TYPOGRAPHY *****/

body {
    width: 100%;
    height: 100%;
    margin: 0px;
    background: white;
}

header {
/*
    display: block;
    z-index: 1;
    justify-content: space-between;
    flex-wrap: nowrap;
    line-height: 50px;
    padding: 0px 50px;
*/
    min-height: 50px;
    background-color: #001320;
    background-image: url('images/KD_headshot3.jpg');
    background-size: contain;
    background-attachment: scroll;
    background-position: center bottom;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: cover;
    background-repeat: no-repeat;

}

    header.shortheader {
        background-image: url('images/bg_sm_header.jpg');
    }

    #header-toprow  {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      color: #fff;
    }


    #header-toprow img  {
      vertical-align: middle;
    }



nav {
/*
    position:absolute;
    z-index: 100;
    top: 0;
    right: 50px;
    margin: 0 0 50px 0;
        height: 47px;
    height: 50px;
*/
    display: inline-block;
    float: right;
    padding: 0px;
    align-self: flex-end;
}

    nav a   {
        display: inline-block;
        padding: 0px 15px;
        line-height: 44px;
        font-size: 1.0rem;
        font-family: 'Roboto', 'Open Sans', Helvetica, Arial, sans-serif;
        font-weight: 300;
        color: white;
        text-decoration: none;
        border-collapse: collapse;
        border-bottom: 3px solid rgba(0,0,0,0);
    }

    nav a:hover   {
        border-bottom: 3px solid lime;
        border-collapse: collapse;
    }

#kdux_logo  {
    height: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: auto;
    align-self: flex-start;
  }

#hero   {
  display: block;
}

#hero h1  {
  font-size: 3.5rem;
  font-weight: bold;
}

#hero h2  {
  line-height: 200%;
}

.hero   {
  color: #fff;
  min-height: 500px;
  display: -webkit-box;
  display: -webkit-flex;
  display:    -moz-box;
  display: -ms-flexbox;
  display:         flex;
  -ms-flex-pack: start;
  -ms-flex-align: center;
  display: flex;
  width: 50%;
  padding: 100px 0px;
  min-height: auto;
  height: 100vh;

  background-blend-mode: normal;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
     -moz-box-pack: start;
          justify-content: flex-start;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
          align-content: flex-start;
}



main    {
/*
    background-color: aquamarine;
*/
    min-height: 100px;
    display: block;
    padding: 0px;
    margin: 0;
}

section.chapter {
  padding: 40px 50px;
}

/*
.chapter {
    background-color: darkcyan;
    min-height: 100px;
    display: block;
    left: 0px;
    top: 0px;
    padding: 30px 0px;
}
*/


figcaption  {
  text-align: center;
  font-size: 80%;
  font-weight: bold;
  background-color: #D2E9F9;
  margin: 0 0 0 0;
  padding: 10px 0;
  border-radius: 0px 0px 10px 10px;
}

picture {
  margin: 0px 0 50px 0;
}

picture img {
  margin: 0 0 -8px 0;
  padding: 0;
}


footer  {
/*
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
*/
    color: #fff;
    background: linear-gradient(149.91deg, #545454 16.14%, #000000 81.66%);
    padding: 40px 50px 50px 50px;
    display: block;
    min-height: 100px;
}


    footer hr   {
        width: 100%;
        margin-top: 50px;
        border: 0;
        border-bottom: 1px solid #666;
    }

    .two_col    {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    footer .col1,
    footer .col2  {
/*
*/
        width: 49%;
        min-width: 250px;
        vertical-align: top;
    }

        footer .col1  {
            text-align: left;
        }

        footer .col2  {
            float: right;
            text-align: right;
        }



/* ***** Case Studies and Experience Sections ***** */

  .casestudies   {
  }

    #casesrow   {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        height: 460px;
    }

    .casestudy  {
/*
        display: flex;
        flex-direction: column;
        background-color: lightcyan;
*/
        vertical-align: top;
        width: 31%;
        height: 100%;
        padding: 0px;
        position: relative;
    }

      .casestudy h2,
      .experience h2  {
        font-size: 1.3rem;
        margin-top: 20px;
      }

      .casestudy p,
      .experience p  {
        font-size: 90%;
      }

      #experience   {
        margin-top: 0px;
        margin-bottom: 20px;
      }

      #moreexperience   {
        margin-top: 80px;
        margin-bottom: 20px;
      }


      #experiencerow   {
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          justify-content: space-between;
/*
          height: 400px;
*/
      }

      .experience  {
/*
        display: flex;
        flex-direction: column;
        background-color: lightcyan;
*/
        vertical-align: top;
        width: 23%;
        height: 100%;
        padding: 0px;
        position: relative;
      }

      .card_img  {
        width: 100%;
      }


/* ***** CASE STUDIES ***** */

      .titlecard  {
          line-height: 50px;
          background-color: #001320;
          color: #fff;
          padding: 60px 0px;
        }

        .titlecard h1 {
          line-height: 1.0;
        }

        .titlecard h1,
        .titlecard h3,
        .titlecard h5 {
          margin-top: 0px;
        }


        .case-pagination  {
          display: inline-flex;
          margin-top: 30px;
          margin-bottom: 50px;
          margin-left: auto;
          margin-right: auto;
        }

        a.case-nav-btn {
/*
          line-height: 1.0;
*/
          margin: 1px;
          font-weight: 600;
          text-decoration: none;
          border: 1px solid #D88100;
          padding: .4rem .7rem .3rem .7rem;
          border-radius: 6px;
          color: #D88100;
          background-color: #fff;
          font-size: 90%;
        }

        a.case-nav-btn:hover {
            background-color: #D88100;
            color: #fff;
        }


        .casenav-prev,
        .casenav-next {
          width: 110px;
        }

        .casenav-prev { text-align: right; }
        .casenav-next { text-align: left; }




        .case-image img  {
          max-width: 100%;
        }





/* ***** CLASSES ***** */

.envlp   {
/*  The ENVELOPE is a layer within each section that determines the width and alignment of the content section in a viewport. This is the default desktop setting, to be adjusted for other breakpoints.
*/
    width: 100%;    /* tell it to take up all the space first, then set max-width otherwise it collapses */
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.centered   {   text-align: center; }

.no-border  {   border: none;   }


.readmore {

    border: 1px solid #D88100;
    display: inline-block;
    padding: .4rem .7rem;
    border-radius: 6px;
    color: #D88100;
    background-color: #fff;
    font-size: 90%;
    text-decoration: none;
    position: absolute;
    bottom: 0;
}

    .readmore:hover {
        background-color: #D88100;
        color: #fff;
    }



.width100  {  width: 100%;  }
.width75  { width: 75%;}
.width60  { width: 60%;}
.width50  { width: 50%;}

.automargins  { margin: 0 auto; }
.alittleextraontop  { margin-top: 20px; }
