/****    all pages   *********/
/* colors
grey- > #9CA0A3;
dark blue-> #162947;
rgb of same:rgb(22,41,71)
lighter blue: rgba(75, 100, 140, 1.0);
>> links hover state: #23527c;
>> links non hover state:#337ab7;



*/

html, body{
  font-family: 'Raleway', sans-serif;
  font-size: 1.0rem;
  line-height: 1.4rem;
  background-color: #162947;
  color: white;
  text-align: center;
  align-items: center;
  font-family: 'Raleway', sans-serif;
  width: 100%;
  margin: 0 auto;

}

/* header */

header{
  margin: 0 auto;
  margin-top: .5rem;
  margin-bottom: 1rem;
  display: block;
  box-sizing: border-box;
  max-width: 100%;
}

a:hover{
  text-decoration: none;

}
a{
  font-family: 'Raleway:700', sans-serif;
  max-width: 100%;
  display: block;
  margin-right: auto;
  margin-left: auto;
  border-bottom: .25rem;
}

/* greybox used in aboutme section, and all subpages*/
.greyboxSection{
    margin: 0 auto;
    background-color:#9CA0A3;
    align-items: center;
    padding: 30px 30px;
    text-align: left;
    align-self: center;
}


/* footer */
footer{
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer img{
height: 13vh;
}

/*footer h3{
  margin:auto;
}
*/
footer a{
  color: white;
  text-decoration: none;
}

footer ul{
  padding-left: 0;
}

footer .phone{
color:white;
text-decoration: none;
}

footer .blue{
  color: rgba(75, 100, 140, 1.0);
}

footer .smallFont{
  font-size: 0.60rem;
  margin-top: 1rem;
}

footer .smallFont a{
  text-decoration: underline;
}

footer li{
  display: inline-block;
}

.footer_contactMe{
  padding-left:.5rem;
}

.footer_contactMe a{
color: rgba(75, 100, 140, 1.0);
}

.footer_contactMe a:hover{
  color:#23527c;
}
/***** end all pages ****/

/**** index page only ******/


/* examples */
.examples{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  padding: 0px 0px;
  margin-left: 0%;
  margin-right: 0%;
  margin-bottom: 9px;
  align-items: center;
}
.overlay{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background-color: rgba(75, 100, 140, 0.65);
  z-index:2;
}

.card-container {
    /*url(images/bg.jpg);*/
  position:relative;
  width: 270px;
  height: 270px;
  margin: 13px 13px;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size:100%,100%;
}
.overlay{
  width:100%;
  height:100%;
  background-color: rgba(75, 100, 140, 0.65);
  z-index:2;
}

.card-container p {
  position: absolute;
  height: 15%;
  width: 100%;
  color: white;
  /*background-color: ;*/
  background-color: rgba(75, 100, 140, 1.0);
  margin: auto auto;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 1.2em;
  line-height: 1.4em;
  padding-top: 8px;
  bottom: 0;
  left: 0;
}

/*.card-container:before {
  position: absolute;
  background-color: rgba(75, 100, 140, 0.65);
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
*/




.overlay:hover{
  background-color: rgba(75, 100, 140, 0);
  cursor: pointer;
}


.card-container:hover .cardP {
  background-color: grey;
}

.card-container:hover p {
  font-weight: bold;
}

/* testimonials section */

.testimonials {
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-color: #49638c;
  height: 530px;
  width: 100%;
  margin-top: 9px;
  padding: 0 250px;
}
.testimonials h2{
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 1.2em;
  line-height: 1.4em;
  font-weight: bold;
}

.testimonialImage{
  background-image:url("../images/Clients.png");
  /*background-size:contain;*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position:center;
  background-size: 94%,100%;
}
/************END INDEX PAGE -****************/


.greyboxSection div{
  padding:1rem .5rem;
}
.greyboxSection div:first-child{
  padding-top:0;
}
.greyboxSection .subTitle{
  padding-left: 0;
  font-weight:bold;

}
.greyboxSection .mainTitle{
  line-height: 1.6rem;
  text-align: center;
  margin-bottom: .75rem;
}
.greyboxSection .emphasize{
  font-weight: bold;
  padding-left: 0;

}

.plainList{
  list-style: none;
  padding-left: 0;
}
.plainList li{
  padding-top:.75rem;
}

#resume{
  line-height: 1.6em;
}

#resume ul{
  padding-left: 1rem;
  margin-bottom: .75rem;
}


#resume .subject{
  padding-bottom:.5rem;
  padding-left:0;
  font-weight: bold;
}


#resume .experience-box{
  display: flex;
  flex-direction: column;
  padding:0;
  /*align-items: flex-start;*/

}
#resume .experience-box div{
padding:0;
}

#resume .company{
  font-weight: bold;
}

#policy-terms{
  font-size:.6rem;
  line-height: .75rem;
}

#policy-terms div{
  padding:0;
}

#policy-terms div .subTitle{
padding-top:.5rem;
}
#policy-terms li{
  padding:0
}
#policy-terms ul{
  /*padding:0;*/
  margin:0;

}

/** END INFO PAGES  **/



/************ @media ******************************/


/* use this image UNTIL the screen is 1k wide */
/*@media screen and (max-width: 1000px){
    .testimonialImage{
      background-image:url("../images/clients-mobile.jpg");
    }
}
*/
@media screen and (max-width : 375px)
{
  .testimonialImage{
    background-image:url("../images/Mobile_Clients_Small.png");
    background-size:contain;
  }
  /*.card-container:before {
    display:none;
  }
    */
  
}


@media screen and (max-width:622px) {
  .testimonials {
    padding: 0 15px;
  }
}


/* do this UNTIL the screen is 622 wide*/
@media screen and (min-width : 418px) and (max-width:622px)
{
  /** all pages **/
  footer h3{
    font-size: 1.2rem;
  }

  /** INDEX PAGE **/

  .card-container {
    width: 400px;
    height: 350px;
  }

  .greyboxSection{
    width: 400px;
  }
  .testimonials {
    /*width:270px;*/
    /* width:95%; */
    width: 400px;
    padding: 0 15px;

  }
  .testimonialImage{
    background-image:url("../images/Mobile_Clients_Small.png");
    background-size: contain;
    background-repeat: no-repeat;
    height: 522px
  }

  /*** INFO PAGES ****/
  .mainInfo {
    font-size: 1.0rem;
    line-height: 1.6rem;
    padding: 1rem 1rem  1rem  1rem;
  }
  /*.card-container:before {
    display:none;
  }
  */


}


@media screen and (min-width : 380px) and (max-width:417px)
{

  .greyboxSection{
    width: 330px;
  }
  .testimonials {
    width: 330px;
  }
  .testimonialImage{
    background-image:url("../images/Mobile_Clients_Small.png");
    background-size: contain;
    background-repeat: no-repeat;
    height: 522px
  }
}


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

  .greyboxSection{
    width: 253px;
  }
  .testimonials {
    width: 253px;
  }
  .testimonialImage{
    background-image:url("../images/Mobile_Clients_Small.png");
    background-size: contain;
    background-repeat: no-repeat;
    height: 478px
  }
}


@media screen and (min-width: 623px) and (max-width: 917px)
{
    .greyboxSection{
      width:565px;
    }
    .testimonials{
      width:565px;
      padding: 0 30px;

  }
  .testimonialImage{
    background-size: contain;
    background-repeat: no-repeat;
    height: 449px;
    background-image:url("../images/Mobile_Clients.png");
  }

}

@media screen and (min-width: 918px) and (max-width: 1215px)
{
  .greyboxSection{
    width:862px;
    background-size: 94%,100%;
    height: 253px;
  }
  .testimonials{
    width:862px;
    height: 383px;
  }
}
/* when the width gets to 1500 pixels, do this **/
@media screen and (min-width: 1216px){
  .examples{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 270px;
    grid-auto-columns: 270px;
    grid-row-gap: 25px;
    margin-left:25%;
    margin-right:25%;
    margin-bottom: 13px;
  }
  .greyboxSection{
    width:1160px;
  }
  .testimonials{
    width:1160px;

}
}
/** iphone 5,6,7,8 and x in landscape mode**/
@media screen and (max-width:830px) and (orientation: landscape){
  .header-img{
    height:5rem;
  }
  header{
    height:15vh;
  }
/*  .card-container:before {
    display:none;
  }
  */


}

/** iphone 5 only ***/
@media screen and (max-width:570px) and (orientation: landscape){
  .card-container{
    width: 215px;
    height: 215px;
  }
  /*.card-container:before {
    display:none;
  }*/

}
/* ipad landscape */
@media only screen
  and (min-device-width: 1024px)
  and (max-device-width: 1300px)
  and (orientation: landscape)
  and (-webkit-min-device-pixel-ratio: 2) {
    header{
      margin-bottom:0rem;

    }
    /*.card-container:before {
      display:none;
    }
    */

}
/* ipad pro landscape */
@media only screen
  and (min-device-width: 1300px)
  and (max-device-width: 1400px)
  and (orientation: landscape)
  and (-webkit-min-device-pixel-ratio: 2) {
    header{
      margin-bottom:-1rem;

    }
    /*.card-container:before {
      display:none;
    }
    */

}

/* ipad and ipad pro portrait */
/* Portrait */
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 1) {
  /*  .card-container:before {
      display:none;
    }
    */

}

/** START: About Me **/
.headshot {
  width: 344px;
  float: left;
  margin: 0 20px 20px 0;
}
@media (max-width: 991px) {
  .headshot {
    width: 200px;
  }
}
@media (max-width: 480px) {
  .headshot {
    width: 100px;
  }
}
/** END: About Me **/