html, body {
/* font-family: 'Alike', serif; */
font-family: 'Lato', serif;
background-color: #fff;
font-weight: 400;
color: #5a5a5a;
font-size: 1rem;
line-height: 1.6em;
}

html {
  position: relative;
  min-height: 100%;
}



.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    background-color: #56588a;
    border-top: 2px solid #44466e;
    font-size: 0.8125rem;
    height: 73px;
    width: 100%;
}


h1, h2 {
    /* font-family: 'Roboto Slab', serif; */
        color: #5a5a5a;
    font-weight: 400;
    margin-bottom: 40px;
    text-transform: uppercase;
}

h2.white {
    color: #555387;
}

h3.connect {
    color: #441b34;
}

h3, h4 {
    /* font-family: 'Roboto Slab', serif; */
        color: #5a5a5a;
    font-weight: 400;
    margin-bottom: 15px;
    text-transform: uppercase;
}

h4 {
  font-size: 1.375rem;
}

p, ul li {
  font-size: 1.125rem;
}

.pl30 {
    padding-left: 30px;
}

.mt20 {
    margin-top: 20px;
}

.mt40 {
    margin-top: 40px;
}

.mb40 {
    margin-bottom: 40px;
}

.mt80 {
  margin-top: 80px;
}

.center {
  text-align: center;
}

.footer h3 {
    font-size: 1rem;
    margin-top: 10px;
    font-weight: bold;
    color: #fff;

}

.footer a {
    color: #fff;
}

.footer a:active; .footer a:hover {
    text-decoration: underline;
}

.social-icon {
    margin-top: -35px;
    float: right;
}

.portfolio-btn {
    margin-top: 15px;
    background: #3C968E !important;
    
}

.portfolio-btn:hover,
.portfolio-btn:focus,
.portfolio-btn:active,
.portfolio-btn.active{
    background: #307771 !important;
    color: #fff;
    border: 1px solid #307771;
}



.btn{
    color: #fff;
    
}

.btn-send {
  background-color: #e084bc;
  color: #fff;
  border: 1px solid #ba6297 !important;
}

.sub-head {
    
    font-size: 1.25rem;
}

.container {
color: #444;

}

.sub-page {
    padding-top: 90px;
     /* background-color: #f7eef4; */
     height: 100% !important;
     /* padding-bottom: 100px; */
}

.about-project {
    padding-left: 80px;
    padding-right: 20px;
}

.sm-title a {
color: #fff;
text-decoration: underline;

}

.top-nav {
    /* background-color: #8c4646; */
    background-color: #963c44;
    border-bottom: 3px solid #d06f78;

}

.navline {
    border-top: 3px solid #bd3539;
}

.top-nav h4 {
    color: #fff;
}

.projects a:hover, .projects a:active, .projects a:focus {
    text-decoration: underline;
    color: red;
}




.nav {
    text-transform: uppercase;
}

.nav>li>a:hover, .nav>li>a:active {
    text-decoration: underline;
    color: #444;
    background-color: transparent;
}

.navbar-nav {
   float :right;
   
}

.navbar-default {
   background-color: #e084bc;
   border: 1px solid #ba6297 !important;
}

.navbar-default li a {
    color: #fff !important;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover{
    background-color: #c35d9b !important;
}



.content-box {
    /* padding: 15px 25px 15px 25px; */
}

.lowbox {
    margin: 50px 0 30px 0;
}



.mainback {
    margin-top: 40px;
    padding: 30px;
  margin-bottom: 30px;
  font-size: 1.3125rem;
  font-weight: 200;
  line-height: 2.1428571435;
    /*background: url("img/background1.jpg") no-repeat center center fixed;*/
    min-height: 100%;
  min-width: 1024px;
	background-color: #ccc;
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  border-radius: 4px;
}


.mainback h1 {
    font-size: 3.9375rem;
}


/*.mainback h1, mainback h2 {
    
    background-color: #000;
    opacity:0.4;
    filter:alpha(opacity=40);
}*/



.thumbnail {
    position:relative;
    overflow:hidden;
}
 

.projects {
    margin-top: 15px;
    margin-bottom: 60px;
}

.boxy {
    margin-left: 15px;
    margin-right: 15px;
    padding: 10px;
    width: 500px;


}

.content {
    background-color: #ffa037;
    color: #fff;
}

.about {
    background-color: #a3d6f5;
    
}



.site {
    background-color: #A3F5EB;
}



#about {
    padding-top: 50px;
    padding-bottom: 35px;
    min-height: 400px;
    
}

 #work {
   padding-bottom: 15px;
    min-height: 400px;
}

#about, #contact {
    /* background: url('../images/white_wall_hash.png') repeat; 
    background-color: #f5e9f1; */
    background-color: #f7eef4;
}

/* #work {
   background-color: #555387; 
   background-color: #a87db2; 
   background-color: #ce7d9e; 
   background-color: #e0b7d0;
} */

 .quote-section {
  display: none;
   /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#626597+0,f7eef4+100 */
 background: #626597; /* Old browsers */
 background: -moz-linear-gradient(-45deg,  #626597 0%, #f7eef4 100%); /* FF3.6-15 */
 background: -webkit-linear-gradient(-45deg,  #626597 0%,#f7eef4 100%); /* Chrome10-25,Safari5.1-6 */
 background: linear-gradient(135deg,  #626597 0%,#f7eef4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#626597', endColorstr='#f7eef4',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

  text-transform: uppercase;
      padding: 25px;
    line-height: 1.7;
    color: #441b34;
} 

#contact {
  padding-bottom: 75px;
}

.content-box {
    padding: 10px;
    /* border: 1px solid #f1f1f1;
    background-color: #fff; */
        width: 43%;
    margin-left: 40%;
    line-height: 1.6em;
    padding: 10px 10px 30px 30px;
}

.content-box a {
    color: #fff;
}



.content-box p{
    margin-left: 0;
    padding-left: 0;
}

.section {
    margin-top: 60px;
}

.img-full {
        background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
}


.maincontent {
      /* background: url('/img/wild_flowers.png') repeat; */
      background-color: #f1f1f1;
    margin-bottom: 10px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.skills {
    border: 2px solid #963c44;
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
}

.portfolio-sites {
margin-top: 20px;
margin-bottom: 20px;
}

.sm-title {
    text-align: center;
    margin-top: 20px;
    color: #fff;
}

.recent-projects {
  display: flex;
  flex-direction: row;
  margin: 30px 0;
}

.recent-projects .project-img {
width: 100%;
}

.recent-projects .project-info {
  padding-left: 40px;
  margin-top: 70px;
}

.recent-project-image {
  width: 684px;
  height: 400px;
}

.personal-project-img {
  width: 100%;
}

.personal-project-img .project-image {
 /*  width: 570px;
  height: 400px; */
}

.personal-project-info {
  padding-left: 40px;
}



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

  .recent-projects {
    display: unset;
  }
  .recent-project-image, .personal-project-img .project-image {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .personal-project-info {
    margin: 50px 0;
    padding-left: 0;
  }

  .recent-projects .project-info {
    padding-left: 0px;
  }

  
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 7px;
}

#referrals {
  padding-top: 50px;
  padding-bottom: 35px;
}

.referral-detail {
  display: flex;

}

.referral-title-detail {
  display: flex;
  flex-direction: column;
}

.referral-detail img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-right: 15px;
}

.referrals .project-description{
  margin-bottom: 20px;
}

.referrals .project-title {
  margin-bottom: 0;
}

.pad-right {
  padding-right: 45px;
}

.project-description {
  font-style: italic;
}

.personal-projects {
  margin-top: 80px;
  margin-bottom: 60px;
}

.thumbnail, .proj-img {
    position:relative;
    overflow:hidden;
}



.proj-img img {
  margin: 5px 0 25px 0;
}

.caption {
    position:absolute;
    top:0;
    right:0;
    /* background:rgba(66, 139, 202, 0.75); */
    background: rgba(224, 183, 208, 0.75);
    width:100%;
    height:100%;
    padding:2px;
    display: none;
    text-align:center;
    color:#fff !important;
    z-index:2;
}

hr {
    border-top: 1px solid #d5bacc;
}

.footer p{
    color: #fff !important;
    
}

.footer .flexRow a {
      color: #fff !important;
    
}



.footer {
    position: absolute;
    color: #fff;
    background-color: #56588a;
    border-top: 2px solid #44466e;
    font-size: 0.8125rem;
    height: auto;
    width: 100%;

}

.footer .flexRow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  color: #fff;
}

.footer .container {
  padding: 15px 0;
}



/****** Begining of Media Queries ******/

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

  .referrals .mobile-referral {
     margin-top: 50px;
   }
  
 }


/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait)  {
    p {
	font-size: 1rem;
    }
    
    h3 {
	font-size: 1.625rem;
    }
    
    .content-box {
	width: 100%;
	margin-left: 0;
	text-align: center;
	font-size: 0.875rem;
	font-weight: bold;
    }

    .quote-img{
  display: none;
}
    
    .footer {
	height: auto;
    }
    
.nav>li {
    width: 100%;
}

.navbar-nav {
    float:left;
    width: 100%;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #f7eef4;
}

.navbar-toggle {
   background-color: #f7eef4; 
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #ba6297;
}

.content-box a {
      display: inline-block;
  padding: 6px 12px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #f7eef4;
  color: #441b34;
}

h2.sm-title {
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.sm-title a {
      display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #a87db2;
  color: #fff;
}

.about-project{ padding-left: 20px; }

       .quote-section {
  display: block;
}

.quote-section p {
  font-size: 1.25rem;
}

    
  }

  

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  {

    #contact {
  margin-bottom: 150px;
}

       .quote-section {
  display: block;
}

.quote-section p {
  font-size: 1.25rem;
}

/* #work img {
  display: none;
} */

.quote-img{
  display: none;
}
    
    
  }
  
  

/* Landscape */
@media only screen 
  and (min-device-width: 568px) 
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

    #contact {
  margin-bottom: 150px;
}
    
      /*   .quote-section {
  visibility: visible;
}

#work img {
  display: none;
} */
    
  }
  
  


@media only screen and (min-width: 250px) and (max-width: 600px) {
  .footer .container .flexRow {
  flex-direction: column;
  margin-left: 20px;
}
}


/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) {



    
       .content-box a {
	
    }

    #contact {
  margin-bottom: 150px;
}


     .quote-section {
  display: block;
}

.quote-section p {
  font-size: 1.25rem;
}



  }
  

    
  

/* ----------- iPad mini ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
    
        .content-box {
	width: 100%;
	margin-left: 0;
	text-align: left;
	/* font-size: 14px;
	font-weight: bold; */
    }
    .content-box a {
      display: inline-block;
  padding: 6px 12px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #f7eef4;
  color: #441b34;
}

.project-img {
    margin-top: 80px;
    margin-bottom: 50px;
    margin-left: 10%;
}

.about-project{ padding-left: 20px; padding-bottom:35px;}
    
  }