/*
 * Globals
 */

body {
  font-family: "europa", Georgia, "Times New Roman", Times, serif;
  /*color: #555;*/
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  font-family: "europa", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}

.container  {
  padding: 30px 40px 15px 40px;
  margin: 10px;
  font-family: "europa", "Helvetica", "Arial";
}



.logo {
  width: 100px;
  height: 100px;
  margin-bottom: 60px;
  margin-left: 0px;
}

.logo-xs {
  width: 80px;
  height: 80px;
  margin-bottom: 40px;
  margin-left: 5px;
}

/* Social Styling */
.social {
  margin: 0 auto;
  text-decoration: none;
  list-style: none;
  width:265px;
}
.social-item {
  display: inline;

}
.social-img {
  width:24px;
  margin-left: 5px;
  margin-right: 5px;
}

/* unvisited link */
.social-item a:link {
    color: #777;
}

/* visited link */
.social-item a:visited {
    color: #777;
}

/* mouse over link */
.social-item a:hover {
    color: #aaa;
}

/* selected link */
.nav-item a:active {
    color: #333;
}

.footer {
  position: relative;
  bottom: 0;
  margin-top: 40px;
  padding:10px;
  margin-left: -15px;
}

.footer-xs {
  position: relative;
  bottom: 0;
}

.footer-xs .social-img {
  width:24px;
  margin-top: 40px;
  display: inline-block;
  padding-left: 0;
  margin-left: 0px;
}

/* unvisited link */
a:link {
  color: #888;
}

/* visited link */
a:visited {
  color: #888;
}

.linkreset a:link {
  color: #000;
}
.linkreset a:visited {
  color: #000;
}

/*
 * Override Bootstrap's default container.
 */

.blog-title {
 font-weight: 700;
}


/*
 * Masthead for nav
 */

.blog-masthead {
  background-color: #333;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #ddd;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}


/*
 * Blog name and description
 */

.blog-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.blog-description {
  font-size: 20px;
  color: #999;
}




/*
 * Main column and sidebar layout
 */

.blog-main {
  /*font-size: 18px;*/
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
  margin-top: -15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
 * Blog posts
 */

.blog-post {
  margin-bottom: 60px;
}
.blog-post-title {
  margin-bottom: 5px;
  font-size: 40px;
}
.blog-post-meta {
  margin-bottom: 20px;
  color: #999;
  font-size: .7em;
}
blockquote {
  font-size: 14px;
}


/*
* Comments
*/

.comment-author {
  margin-bottom: 20px;
  color: #999;
  font-size: .7em;
}

.comment-new a:link {
  color: #000;
}
.comment-new a:visited {
  color: #000;
}

.comment-body, .control-label {
  color: #999;
}



/*
* Backend
*/
.postCheck {
  margin-left: 2em;
}



/*
 * Footer
 */

.blog-footer {
  padding: 40px 0;
  color: #999;
  text-align: center;
  /*background-color: #f9f9f9;*/
  border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}


/*iPhone 4/5 horizontal*/
@media screen and (min-width: 310px) and (max-width: 373px) {
  .container {
    width: 300px;
    padding: 20px;
    margin: 5px;
  }
  .container p img {
    max-width: 240px ;
  }
}

/*iPhone 6 vertical*/
@media screen and (min-width: 374px) and (max-width: 412px)  {
  .if-vimeo-xs {
    width:100%;
    height:200px;
  }
  .project-credit-xs {
    margin-left: 0;
  }

  .container p img {
    max-width: 280px;
  }
}

/*iPhone 6 Plus vertical*/
@media screen and (min-width: 413px) and (max-width: 479px) {
  .if-vimeo-xs {
    width:100%;
    height:230px;
  }
  .container p img {
    max-width: 250px;
  }
}

/*iPhone 5 horizontal*/
@media screen and (width: 480px) {
  .project-item-xs {
    max-width:30px;
  }

  .if-vimeo-xs {
    width:80%;
    height:220px;
  }

  .container p img {
    max-width: 290px;
  }
}

@media screen and (min-width: 481px) and (max-width: 567px) {
  .if-vimeo-xs {
    width:100%;
    height:250px;
  }
  .container p img {
    max-width: 420px;
  }

}

/*iPhone 5 horizontal*/
@media screen and (width: 568px) {
  .project-item-xs {
    max-width:30px;
  }

  .if-vimeo-xs {
    width:80%;
    height:280px;
  }

  .container p img {
    max-width: 340px;
  }
}


/*iPhone 6 horizontal*/
@media screen and (width: 667px) {
  .project-item-xs {
    max-width:30px;
  }

  .if-vimeo-xs {
    width:80%;
    height:340px;
  }

  .container p img {
    max-width: 550px;
  }
}



@media screen and (min-width: 501px) and (max-width: 765px) {
.if-vimeo-xs {
    width:100%;
    height:350px;
  }

  .container p img {
    max-width: 460px;
  }
}


/*iPhone 6 Plus horizontal*/
@media screen and (width: 736px) {
  .project-item-xs {
    max-width:30px;
  }

  .if-vimeo-xs {
    width:630px;
    height:380px;
  }

  .container p img {
    max-width: 440px;
  }
}



/*.if-vimeo-xs {
  width:100%;
  height:250px;
}*/

@media screen and (min-width: 800px) and (max-width: 1023px) {
    .project-item {
      width:180px;
      height: 230px;
    }

    .project-item img {
      width: 180px;
      height: 180px;
    }

    .project-img {
      width: 650px;
    }
    .if-vimeo {
      /*padding-left: 30px;*/
      width:650px;
      height:450px;
    }
    .container p img {
      max-width: 500px;
    }
}


@media screen and (min-width: 760px) and (max-width: 799px) {
  .if-vimeo {
    /*padding-left: 30px;*/
    width:480px;
    height:320px;
  }
  .project-img {
      width: 480px;
    }
  .project-item {
    height: 135px;
    width: 100px;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
  }

  .project-item img {
    width:120px;
    height:120px;
  }

  .project-credit {
    margin-left:0;
    /*padding:0;*/
  }
  .container p img {
    max-width: 480px;
  }
}

/*@media screen and  {

  .project-item {
      width: 200px;
      min-height: 250px;
      margin-left: 0;
      margin-right: 0;
    }

    .project-img {
      width: 400px;
    }

  .if-vimeo {
    /*padding-left: 30px;*/
    /*min-width:690px;
    min-height:480px;
  }
}*/

@media screen and (width:981px) {
  .project-item {
      width: 165px;
      min-height: 188px;
      margin-left: 0;
      margin-right: 0;
    }

    .project-item img {
      width:150px;
      height:150px;
    }

    .container p img {
      max-width: 500px;
    }
}



@media screen and (width:1024px) {

  .project-item {
      max-width:210px;
      min-height: 250px;
    }

  .if-vimeo {
    /*padding-left: 30px;*/
    min-width:800px;
    min-height:600px;
  }

  .container p img {
    max-width: 610px;
  }
}


@media screen and (min-width: 1025px) {
  .if-vimeo {
    /*padding-left: 30px;*/
    width:800px;
    min-height:560px;
  }
  .project-credit {
    /*margin-left: 30px;*/
  }
  .project-item {
    min-height: 250px;
  }
  .container p img {
    max-width: 668px;
  }
}

@media screen and (min-width: 1125px) {
  .if-vimeo {
    /*padding-left: 30px;*/
    width:800px;
    min-height:560px;
  }
  .project-credit {
    /*margin-left: 30px;*/
  }
  .project-item {
    min-height: 250px;
  }
  .container p img {
    max-width: 668px;
  }
}
