/*
 * HTML5 Boilerplate
 *
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */

/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

@import url(fonts.css);
@import url(page.css);
@import url(nav.css);

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;  -webkit-font-smoothing: antialiased;}

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { width: 100%; margin: 0 auto; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

 a { color: #DC4E00; }
a:visited { color: #DC4E00; }
a:hover { color: #333; } */
a:focus { outline: thin dotted; } 

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

/* ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; } */


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */

/* Basics */
body { 
  font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', 'vegurregular', sans-serif;
  font-size: 0.875em; /* 14 px */
  line-height: 1.25em; /* 20 px */
  background: #ccc;
  /* background: url(../img/bg.jpg);  For browsers who don't do multiple backgrounds */
  /* background: url(../img/bg-top.png) top left repeat-x fixed,
    url(../img/bg.jpg); */
  /*max-width: 1280px;*/
  /* border: 2px solid #f00; */
}
section {
  width: 90%;
  margin: 0 auto;
  background-color: rgb(255,255,255);
  -moz-box-shadow: 2px 2px 20px rgba(0,0,0,.5);
  -webkit-box-shadow: 2px 2px 20px rgba(0,0,0,.5);
  -ms-box-shadow: 2px 2px 20px rgba(0,0,0,.5);
  -o-box-shadow: 2px 2px 20px rgba(0,0,0,.5);
  box-shadow: 2px 2px 20px rgba(0,0,0,.5);
}
/* Thumbnail set up for Work page */

article { width: 100%; 
  margin: 0; padding: 0;
  border: none;
  }
article.grid ul { 
  list-style: none;
  padding-bottom: 10em; 
}
article.grid h2 {
  text-align: left;
  width: 90%;
  margin: 1em auto .5em auto;
}
article.grid ul li { 
  width: 265px; 
  height: 210px; 
  border: 1px solid #b3b3b3; 
  float: left; 
  margin: 6px; 
  padding: 10px; 
  background-color: #fff;
  /*-webkit-box-shadow: 1px 3px 2px #c8c8c8;
  -moz-box-shadow: 1px 3px 2px #c8c8c8;
  -ms-box-shadow: 1px 3px 2px #c8c8c8;
  -o-box-shadow: 1px 3px 2px #c8c8c8;
  box-shadow: 1px 3px 2px #c8c8c8;*/
  -webkit-transition: background 0.3s ease-in;
  -moz-transition: background 0.3s ease-in;
  -ms-transition: background 0.3s ease-in;
  -o-transition: background 0.3s ease-in;
  transition: background 0.3s ease-in;
}
/* article.grid ul li img { width: 265px; height: 145px; } */

article.grid p.title { color: #DC4E00; font-weight: bold; font-size: .7em; margin: 18px 0 0 0; }
article.grid p.descriptor { color: #555; font-weight: normal; font-size: .6em; margin: 0 0 12px 0;}
/* Style for the arrow */
article.grid p.ref { width: 25px; 
  height: 25px; 
  position: relative; 
  top: -50px; 
  left: 225px; 
  /* border: 1px solid #b7b8b7; */ 
  text-align: center; 
  vertical-align: center; 
  /* background-color: #f1f1f1; */
  -webkit-transition: background 0.3s ease-in;
  -moz-transition: background 0.3s ease-in;
  -ms-transition: background 0.3s ease-in;
  -o-transition: background 0.3s ease-in;
  transition: background 0.3s ease-in;
}
article.grid ul li:hover { background-color: #e2e2e2; }
article.grid ul li:hover p.title { color: #555;}
article.grid p.ref a { text-decoration: none; }
/* article.grid p.ref:hover { background-color: #666;} */

/* Subnav on Portfolio Page */
article.grid ul.subnav {
  list-style: none;
  margin: 0;
  margin-bottom: 2em;
  padding-bottom: 3em;
  display: block;
}
article.grid ul.subnav li {
  width: auto;
  height: 1em;
  float: left;
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
}
article.grid ul.subnav li a {
  display: block;
  text-decoration: none;
}
article.grid ul.subnav li a:hover {
  background-color: transparent;
}
/* About page styles ********************************************************************/


article h2 { color: #DC4E00;
  -moz-text-shadow: 1px 1px 2px rgba(80,80,80,.3);
  -webkit-text-shadow: 1px 1px 2px rgba(80,80,80,.3);
  -ms-text-shadow: 1px 1px 2px rgba(80,80,80,.3);
  -o-text-shadow: 1px 1px 2px rgba(80,80,80,.3);
  text-shadow: 1px 1px 2px rgba(80,80,80,.3);
}
article.about, article.contact { 
  width: 75%;
  margin: 0 auto;
  margin-top: 1.5em;
  
}
article.about p, article.about h2, article.about ul, article.contact h2, article.contact p, article.contact label, article.contact input, article.contact textarea { 
  margin-left: 20px;
  margin-right: 20px;
}
article.contact h2 { 
  margin-top: 1em;
  margin-bottom: 1.1em;
}
article.contact label { font-weight: bold; }

article.contact input.submit { margin-bottom: 10em;}

p.source { font-style: italic; font-weight: 200; }

/* Form Styles ****************************************************************************/
label { margin-top: .625em; margin-bottom: .925em; margin-right: 20px; }
input[type="email"], input[type="text"]  { width: 90%; padding: 5px 3px; font-size: 1.125em; margin-right: 20px;}
textarea { font-size: 1.125em; padding: 6px 4px; width: 90%; font-family: 'Monda', sans-serif; margin-right: 20px;}
label, textarea { display: block; }

input:required { 
  background-color: rgb(240,240,240);
}
/* Style the Button */
input.submit {
  margin-top: .925em;
  -moz-box-shadow:inset 0px 1px 0px 0px #f29c93;
  -webkit-box-shadow:inset 0px 1px 0px 0px #f29c93;
  box-shadow:inset 0px 1px 0px 0px #f29c93;
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );
  background:-moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#ce0100');
  background-color:#fe1a00;
  -moz-border-radius:9px;
  -webkit-border-radius:9px;
  border-radius:9px;
  border:1px solid #d83526;
  display:inline-block;
  color:#ffffff;
  font-family:arial;
  font-size:15px;
  font-weight:bold;
  padding:7px 30px;
  text-decoration:none;
  text-shadow:1px 1px 0px #b23e35;
}
input.submit:hover {
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );
  background:-moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#fe1a00');
  background-color:#ce0100;
}
input.submit:active {
  position:relative;
  top:1px;
}

/* Portfolio Page Styles )))))***********************************************/
ul.portfolio { margin-bottom: 10em;}
article.other { margin-top: 1em; border-top: 1px dotted #ccc; 
  margin-bottom: 9em;
  padding-bottom: 4em; }
article.other h2 { margin-left: 2em;
  margin-top: .6em;
}
article.other ul { margin-bottom: 2em; }
article.grid ul.portfolio { 
  width: 90%;
  margin: 0 auto;
}









/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
/* Styles */
  body { 
    width: 100%;
  }
  nav { position: absolute; 
    top: 55px; 
    right: 5%;
  }
   nav ul li a { color: #333333 !important; text-decoration: none;
    -moz-text-shadow: 1px 1px 2px rgba(80,80,80,.5);
    -webkit-text-shadow: 1px 1px 2px rgba(80,80,80,.5);
    -ms-text-shadow: 1px 1px 2px rgba(80,80,80,.5);
    -o-text-shadow: 1px 1px 2px rgba(80,80,80,.5);
    text-shadow: 1px 1px 2px rgba(80,80,80,.5);
    -webkit-transition: color 0.3s ease-in;
    -moz-transition: color 0.3s ease-in;
    -ms-transition: color 0.3s ease-in;
    -o-transition: color 0.3s ease-in;
    transition: color 0.3s ease-in;
  }
  nav ul li a:hover { 
    color: #E6E7E8 !important;
  }
  body.about nav li.about a, body.work nav li.work a { color: #8d8d8e !important; }
  
  section { 
    width: 100%;
  }
  article, article.about { 
    margin-top: 50px;
  }
  article h2, article p { 
    margin-left: 5px;
  }
  article.grid ul, article.grid ul.portfolio {
    margin: 0;
    margin-left: -40px;
  }
  article.grid ul li { 
  width: 265px; 
  height: 210px; 
   }
  article.other h2 { margin-left: 10px;
    margin-top: .6em;
  }
  div.featurepic { 
    /* border: 1px solid #333; */
    width: 94%;
    margin: 0 auto;
    margin-bottom: 1em;
  }
  div.description { 
    width: 100%;
    margin: 0 auto;
  }
  div.navigation {
    width: 100%;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 1em;

  }
  div.portNav { /* right side navigation under text description */
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1em;
    font-size: .875em;
   }
    div.portNav a {
    margin-left: 5px;
   }
   div.pieceNav { /* left side navigation under the main image */
    width: 100%;
    margin: 0 auto;
    padding-top: 5px;
    margin-bottom: 1em;
    font-size: 1.2em;
  }
  footer p {
    left: 5px;
  }
  footer div.social { 
    right: 15%;
  }
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) and (max-width: 480px) {
/* Styles */
   body { 
    width: 100%;
  }
  
  section { 
    width: 100%;
  }
  article h2, article p { 
    margin-left: 5px;
  }
  article.grid ul, article.grid ul.portfolio {
    margin: 0;
    margin-left: -40px;
  }
  article.grid ul li { 
  width: 265px; 
  height: 210px; 
   }
  article.other h2 { margin-left: 10px;
    margin-top: .6em;
  }
  div.featurepic { 
    /* border: 1px solid #333; */
    width: 94%;
    margin: 0 auto;
    margin-bottom: 1em;
  }
  div.description { 
    width: 100%;
    margin: 0 auto;
  }
  div.navigation {
    width: 100%;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 1em;

  }
  div.portNav { /* right side navigation under text description */
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1em;
    font-size: .875em;
   }
   div.portNav a, div.pieceNav a {
    margin-left: 5px;
   }
   div.pieceNav { /* left side navigation under the main image */
    width: 100%;
    margin: 0 auto;
    padding-top: 5px;
    margin-bottom: 1em;
    font-size: 1.2em;
  }
  footer p {
    left: 5px;
  }
  footer div.social { 
    right: 15%;
  }
}
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
/* Styles */
  body { 
    width: 100%;
  }
  section { 
    width: 100%;
  }
  nav { position: absolute; 
    top: 55px; 
    right: 5%;
  }
  nav ul li a { color: #333333 !important; text-decoration: none;
    -moz-text-shadow: 1px 1px 2px rgba(80,80,80,.5);
    -webkit-text-shadow: 1px 1px 2px rgba(80,80,80,.5);
    -ms-text-shadow: px 1px 2px rgba(80,80,80,.5);
    -o-text-shadow: px 1px 2px rgba(80,80,80,.5);
    text-shadow: 1px 1px 2px rgba(80,80,80,.5);
    -webkit-transition: color 0.3s ease-in;
      -moz-transition: color 0.3s ease-in;
      -ms-transition: color 0.3s ease-in;
      -o-transition: color 0.3s ease-in;
      transition: color 0.3s ease-in;
  }
  nav ul li a:hover { 
    color: #E6E7E8 !important;
  }
  body.about nav li.about a, body.work nav li.work a { color: #8d8d8e !important; }
  article, article.about { 
    margin-top: 50px;
  }
  article h2, article p { 
    margin-left: 5px;
  }
  article.grid ul, article.grid ul.portfolio {
    margin: 0;
    margin-left: -40px;
  }
  article.grid ul li { 
  width: 265px; 
  height: 210px; 
   }
  article.other h2 { margin-left: 10px;
    margin-top: .6em;
  }
  div.featurepic { 
    /* border: 1px solid #333; */
    width: 94%;
    margin: 0 auto;
    margin-bottom: 1em;
  }
  div.description { 
    width: 100%;
    margin: 0 auto;
  }
  div.navigation {
    width: 100%;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 1em;

  }
  div.portNav { /* right side navigation under text description */
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1em;
    font-size: .875em;
   }
   div.portNav a {
    margin-left: 5px;
   }
   div.pieceNav { /* left side navigation under the main image */
    width: 100%;
    margin: 0 auto;
    margin-left: 5px;
    padding-top: 5px;
    margin-bottom: 1em;
    font-size: 1.2em;
  }
  footer p {
    left: 5px;
  }
  footer div.social { 
    right: 15%;
  }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles */
  div.portNav { width: 125px; }
}

/* Large screens ----------- */
@media only screen and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* 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; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  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; }
}
