/* ==================================================================

*   Ceevee Media Queries
*   url: styleshout.com
*   03-18-2014



/* screenwidth less than 1024px
--------------------------------------------------------------------- */



@media only screen and (max-width: 1024px) {

  .leftAbout{
    display: block;
          text-align: center;
    padding: 24px;
  }
    /* header styles
   ------------------------------------------------------------------ */
   header .banner-text h1 {
font-family: 'Playfair Display', serif;
    font-size: 49px;
    color: #3C4757;
    letter-spacing: 0px;
    margin: 0 auto 22px auto;
   }

.heroImg {
    width: 450px;}

    .hero {
    padding-left: 58px;
    width: 388px;}

}

/* screenwidth less than 900px
--------------------------------------------------------------------- */
@media only screen and (max-width: 900px) {

  .featuresImg img {
    width: 262px;
      padding: 30px;}

      .featuresText {
    width: 340px;
        padding: 26px;}


.heroText h4{text-align: center;
    padding-bottom: 32px;}

.hero{padding: 0px;
width: 60%;}

.heroTitle h1 {
      margin: auto;
}


    /* header styles
   ------------------------------------------------------------------ */
   header .banner { padding-bottom: 12px; }
   header .banner-text h1 {
       font-family: 'Playfair Display', serif; font-size: 49px;
     
   }
   header .banner-text h3 {
        font-family: 'Source Sans Pro', sans-serif;
    font-size: 12pt;
    color: #3C4757;
    margin: 0 auto;
    width: 84%;
    line-height: 1.4;
   }
   header .banner-text hr {
      width: 65%;
      margin: 12px auto;
   }
   /* nav-wrap */
   #nav-wrap {
   font-family: 'Source Sans Pro', sans-serif;
       letter-spacing: 1.3px;
   width: 100%;
   text-transform: uppercase;
   }
/* gallery Section
   ------------------------------------------------------------------- */
.gallery_thumbnail{
      display: inline-block;
      width: 40%;
    height: auto;
}

   /* About Section
   ------------------------------------------------------------------- */
   #about .profile-pic {
      width: 114px;
      height: 114px;
      margin-left: 12px;
   }
   #about .contact-details { width: 50%; }
   #about .download { width: 50%; }

   /* Resume Section
   ------------------------------------------------------------------- */
   #resume h1 { font: 16px/24px 'opensans-bold', sans-serif; }
   #resume .main-col { padding-right: 5%; }   

   /* Testimonials Section
   ------------------------------------------------------------------- */
  

   #testimonials .header-col h1:before {
      font-size: 66px;
      line-height: 66px;
   }
   #testimonials blockquote p {
      font-size: 22px;
      line-height: 46px;      
   }

    /* Call to Action Section
   ------------------------------------------------------------------- */
   #call-to-action .header-col h1:before {
      font-size: 66px;
      line-height: 66px;
   }

   /* Contact Section
   ------------------------------------------------------------------- */
   #contact .section-head { margin-bottom: 30px; }
   #contact .header-col h1:before {
      font-size: 66px;
      line-height: 66px;
   }
   #contact .section-head p.lead { font: 17px/33px opensans-light, sans-serif; }


}

/* mobile wide/smaller tablets
---------------------------------------------------------------------- */

@media only screen and (max-width: 767px) {

.endContainer{
  background-image: url(../images/trip/bg2.png) ;background-repeat: no-repeat;
}

.logo{
      display: none;
}

  .featuresText{
      text-align: center;
      display: block;
      margin: auto;
      padding-top: 50px;
    width: 70%;
}

.icons{
  margin: auto;
}

.colorsContainer{
      text-align: center;
}
.featuresImg{    padding: 0px;
display: block;}

.EndfeaturesText{margin-top: 0px;
      text-align: center;

}
/* gallery Section
   ------------------------------------------------------------------- */
.gallery_thumbnail{
      display: inline-block;
      width: 90%;
    height: auto;
}

   /* mobile navigation
   -------------------------------------------------------------------- */
   #nav-wrap {
      font: 12px 'opensans-bold', sans-serif;
      background: transparent !important;
      letter-spacing: 1.5px;  
      width: auto;
      position: fixed;
      top: 0;
      right: 0;
   }
   #nav-wrap > a {
	   width: 48px;
		height: 48px;
		text-align: left;
		background-color: #B2DED4;
		position: relative;
      border: none;
      float: right;

      font: 0/0 a;
      text-shadow: none;
      color: transparent;

      position: relative;
      top: 10px;
      right: 10px;
   }

	#nav-wrap > a:before,
   #nav-wrap > a:after {
	   position: absolute;
		border: 2px solid #fff;
		top: 35%;
		left: 25%;
		right: 25%;
		content: '';
	}
   #nav-wrap > a:after { top: 60%; }

   /* toggle buttons */
	#nav-wrap:not( :target ) > a:first-of-type,
	#nav-wrap:target > a:last-of-type  {
	   display: block;
	}

   /* hide menu panel */
   #nav-wrap ul#nav {
      height: auto;
		display: none;
      clear: both;
      width: auto; 
      float: right;     

      position: relative;
      top: 12px;
      right: 0;
   }

   /* display menu panels */
	#nav-wrap:target > ul#nav	{
	   display: block;
      padding: 30px 20px 48px 20px;
      background: #ffffff;
     right: 10px;
      clear: both;
   }

   ul#nav li {
      display: block;
      height: auto;      
      margin: 0 auto; 
      padding: 0 4%;           
      text-align: left;
     
   }
  
   ul#nav li a {  
      display: block;    
      margin: 0;
      padding: 0;      
      margin: 12px 0; 
      line-height: 16px; /* reset line-height from 48px */
      border: none;
   }  


   /* Header Styles
   -------------------------------------------------------------------- */
   header .banner {
      padding-bottom: 12px;
      padding-top: 6px;
   }
   header .banner-text h1 {  font-family: 'Playfair Display', serif; font-size: 49px; }
   header .banner-text h3 {
     font-family: 'Source Sans Pro', sans-serif;
    font-size: 12pt;
    color: #3C4757;
    margin: 0 auto;
    width: 75%;
    line-height: 1.4;
   }
   header .banner-text hr {
      margin: 18px auto;
   }

   /* header social links */
   header .social {
      margin: 18px 0 24px 0;
      font-size: 24px;
      line-height: 36px;      
   }
   header .social li { margin: 0 10px; }

    /* scrolldown link */
   header .scrolldown { display: none; }


   /* About Section
   -------------------------------------------------------------------- */
   #about .profile-pic { display: none; }
   #about .download .button {
      width: 100%;
      text-align: center;
      padding: 15px 20px;
   }
   #about .main-col { padding-right: 30px; }

   .leftAbout{
        text-align: center;
    margin: auto;
   }

   .rightAbout{    text-align: center;
    margin: auto;}

    .rightAbout h6{    margin: auto;
    margin-bottom: 14px;}


   /* Resume Section
   --------------------------------------------------------------------- */
   #resume .header-col {
      padding-top: 0;
      margin-bottom: 48px;
      text-align: center;
   }
   #resume h1 { letter-spacing: 3px; }
   #resume .main-col { padding-right: 30px; }
   #resume h3, #resume .info { text-align: center; }
      
   .bars { width: 42%; }

    .rightAbout{    margin-top: 25px;display: block;}
    .leftAbout {
    display: block;}


   /* Call To Action Section
   /* ----------------------------------------------------------------- */
   #call-to-action { text-align: center; }
   #call-to-action h1 {
      font-family: 'Playfair Display', serif; font-size: 49px; 
      text-align: center;
      margin-bottom: 30px;
      text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
   }
   #call-to-action h1 span { display: block; }
   #call-to-action .header-col h1:before { content: none; }
   #call-to-action p { font-size: 15px; }


   /* Portfolio Section
   /* ----------------------------------------------------------------- */
   #portfolio-wrapper .columns { margin-bottom: 40px; }
   .popup-modal {	max-width: 85%; }
.galleryItem {
    width: 50%;}



   /* contact Section
   ----------------------------------------------------------------------- */
   #contact {         padding-top: 54px;
    background-size: auto 100%;
    padding-bottom: 62px;
  }

  

.KeepInTouch {
    display: block;
    width: 278px;
    text-align: center;
      margin: auto;
         padding-top: 36px;
}

    .socialMedia {
    display: block;
    width: 245px;
    text-align: center;
       margin: auto;}

       .socialElement img {
   }
   /* footer
   ------------------------------------------------------------------------ */
  
   /* copyright */
   footer .copyright li:before { content: none; }
   footer .copyright li { margin-right: 12px; }

   /* social links */
   footer .social-links { font-size: 22px; }
   footer .social-links li { margin-left: 18px; }

   /* Go To Top Button */
   #go-top { margin-left: -22px; }
   #go-top a {
   	width: 54px;
   	height: 54px;
      font-size: 18px;
      line-height: 54px;
   }


}

/* mobile narrow
  -------------------------------------------------------------------------- */

@media only screen and (max-width: 480px) {

	.rightAbout{
		    width: 90%;
	}

	.AboutContent{
		    width: 90%;
	}

   .services_box{
          margin: auto;
    padding-top: 55px;
    display: block;
    }

  .heroTitle h1 {
        font-size: 37px;
            text-align: center;
                width: 244px;
                    line-height: 35px;
  }

  .heroImg {
    width: 100%;
    padding: 55px;}

    .hero{
      width: 100%; padding: 20px;}

   /* mobile navigation
   -------------------------------------------------------------------- */
   #nav-wrap ul#nav { width: auto; float: none; }

   /* header styles
   -------------------------------------------------------------------- */
   header .banner { padding-top: 24px; }
   header .banner-text h1 {
      font-family: 'Playfair Display', serif; font-size: 49px;    
      margin: 0 auto 24px auto;
   }
   header .banner-text h3 {
      font: 14px/1.9em 'librebaskerville-regular', sans-serif;
         width: 70%;
   }
  
   /* header social links */
   header .social { font-size: 20px;}
   header .social li { margin: 0 6px; }

   /* footer
   ------------------------------------------------------------------------ */

   /* social links */
   footer .social-links { font-size: 20px; }
   footer .social-links li { margin-left: 14px; }  

  .galleryItem {
    width: 100%;}

}









