﻿/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
    
    color: #444;
  /*  font-family: 'Oswald', sans-serif;*/
   font-family: 'Oxygen', sans-serif;

background-color: #ffffff; /* Old browsers */


}

.jumpLinks li {
    margin-left: 5px;
}
.jumpLinks .link {
    padding-left: 25px;
    padding-right: 8px;
    white-space: nowrap;
    cursor: pointer;
}

.jumpLinks .link:hover {
    background-color: #eee;
}

.thumbnailImage {
    cursor: pointer;
}

.topNav {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    background-color: #fff;
    z-index: 100;
    height: 52px;
}
.floatingLogo {
    float: left;
    margin-left: 5px;
    margin-right: 15px;
}

#footer {
      width: 100%;
      height: 100px;
}
 .footerContentWrapper {
    padding: 20px;

}

 .footerContent {
    width: 800px;
    margin: 0px auto;
}
 .btn-xlarge {
    padding: 18px 28px;
    font-size: 22px;
    line-height: normal;
    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
            border-radius: 8px;
    }

#header {
      width: 100%;
      margin-top: 72px;
}
.anchor {
    display: block; position: relative; top: -50px; visibility: hidden;
}
 .headerContentWrapper {
    border-bottom: 1px solid #e2e2e2;
    padding: 20px;
    padding-top: 0px;

}

 .headerContent {
    width: 800px;
    margin: 0px auto;
}

#mainStack {
    width: 100%;
}
 .pieceSection {
    border-bottom: 1px solid #e2e2e2;
    padding: 20px;

}

 .pieceBlurb {
    width: 800px;
    margin: 0px auto;
}
 .titleBar {
     position: relative;
     width: 100%;
 }
 .rightTitle {
     position: absolute;
     right: 0px;
     top: 0px;
 }
 .pieceTitle {
     font-size: 28pt;
 }
  .pieceTitle  i {
     font-size: 12pt;
  }
 .pieceContent {
     margin-top: 10px;
 }
.peterphoto {
    display: inline;
    float: right;


}
.peterphoto:after {
    clear:both;
}
.sectionMaterials {
  
    margin-top: 8px;
}
.thumbs {
    margin-top: 10px;
}
.sectionDesc {
    margin-top: 20px;
    position: relative;
      font-size: 1em;
    white-space: normal;
}
.sectionDate {
    display: none;
    margin-top: 8px;
}
@media screen and (max-width: 840px) {

     .pieceTitle {
     font-size: 22pt;
 }
  .pieceTitle  i {
     font-size: 12pt;
  }


   .pieceBlurb {
    width: 100%;
   
    }
    .headerContent {
    width: 100%;
    margin: 0px auto;
}
     .footerContent {
    width: 100%;
    margin: 0px auto;
}
   .rightTitle {
       display: none;
   }
   .sectionDate {
    display: block;
}
    .floatingLogo  {

    }
    .floatingLogo img {
       width: 73px;
       height: 100px;
    }
}

@media screen and (max-width: 40em), screen and (max-height: 40em) {
      .pieceTitle {
     font-size: 18pt;
     font-weight: bold;
 }
  .pieceTitle  i {
     font-size: 9pt;
  }

}

.featured {

}



.view {
    float: left;
   width: 150px;
   height: 100px;
   margin: 10px;
   border: 5px solid #fff;
   position: relative;
   text-align: center;
   box-shadow: 0px 0px 5px #aaa;
   cursor: default;
   background-color: #000;
}

.featured  {
     width: 300px;
   height: 200px;
}

.view .mask, .view .imgContent {
   width: 140px;
   height: 90px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.featured .mask,.featured  .imgContent  {
      width: 290px;
   height: 190px;
}
.view img {
   height: 100%;
   width: 100%;
    margin:0;
}
.view a.info {
   background:url(../img/link.png) center no-repeat;
   display: inline-block;
   text-decoration: none;
   padding:0;
   text-indent:-9999px;
   width:20px;
   height:20px;
}

.third-effect .mask {
   opacity: 0;
   overflow:visible;
   /*border:100px solid rgba(0,0,0,0.7);*/
   box-sizing:border-box;
   transition: all 0.2s ease-in-out;
}

.third-effect a.info {
     height: 100%;
    width: 150px;
   position:relative;
   opacity: 0;
   transition: opacity 0.3s 0s ease-in-out;
}

.third-effect:hover .mask {
   opacity: 1;
   border:50px solid rgba(0,0,0,0.7);
   border-bottom-width: 40px;

}

.featured:hover .mask {
   opacity: 1;
   border:125px solid rgba(0,0,0,0.7);
   border-bottom-width: 65px;

}

.featured  {
     width: 310px;
   height: 210px;
}
.featured .mask,.featured  .imgContent  {
      width: 300px;
   height: 200px;
}
.featured.third-effect:hover .mask {
   opacity: 1;
   border:135px solid rgba(0,0,0,0.7);
   border-bottom-width: 65px;

}
.featured.third-effect a.info {
     height: 100%;
    width: 300px;
   position:relative;
   opacity: 0;
   transition: opacity 0.3s 0s ease-in-out;
}
.featured.third-effect:hover a.info {
   opacity:1;
   transition-delay: 0.2s;
}

.third-effect:hover a.info {
   opacity:1;
   transition-delay: 0.2s;
}

/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
	padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
	top: 0;
	bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
	padding: 0;
}


/* 

for zoom animation 
uncomment this part if you haven't added this code anywhere else

*/
/*

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0.001; /* chrome opacity transition bug */
	-webkit-backface-visibility: hidden;
	-webkit-transition: all 0.3s ease-out; 
	-moz-transition: all 0.3s ease-out; 
	-o-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}
*/
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
