/*
Theme Name: Matthew Osborn
Author: Equivocal LLC
Author URI: http://equivocal.org/
Description: A custom portfolio theme for Matthew Osborn
Version: 1.0
*/

/* http://meyerweb.com/eric/tools/css/reset/ - v2.0b1 | 201101 -------------- */

html,body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,
b,u,i,center,
dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,
article,aside,canvas,details,figcaption,figure,
footer,header,hgroup,menu,nav,section,summary,
time,mark,audio,video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  font:inherit;
  vertical-align:baseline;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display:block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: ’’;
	content: none;
}
:focus {
	outline: none;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}




/* MAJOR PAGE ELEMENTS ------------------------------------------------------ */

*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
  margin: 0;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	font-size: 22px;
  line-height: 1.4;
	color: #000000;
  background-color: #FFFFFF;
}

.page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5em 0 5em;
  text-align: center;
}

.header-wrap {
  height: 6em;
  padding: 2.5em 5%;
  xbackground-color: pink;
  clear: both;
}

.page-title {
  float: left;
  text-transform: uppercase;
}

.contact-link {
  float: right;
  display: block;
  height: 30px;
  width: 32px;
  background: url(img/icons.svg) no-repeat 0 -2px transparent;
  xbackground-size: 420px 30px;
)

  text-transform: uppercase;
}

.content-wrap {
  margin: 3em 0 5em;
  padding: 0 3.5%;
}

.featured-image {
  position: relative;
  margin-bottom: 4em;
}

.featured-image img {
  width: 100%;
}

.featured-image span.full-screen-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  display: block;
  width: 34px;
  height: 34px;
  background: url(img/icons.svg) no-repeat -400px 2px #ffffff;
  border-radius: .15em; 
  opacity: 0;
  transition: .4s;
}

.featured-image:hover span.full-screen-indicator {
  opacity: .8;
}

.image-grid {
  position: relative;
  left: -2.5%;
  width: 105%;
  font-size: 0;
}

.image-grid a {
  opacity: 1;
  transition: all .25s;
}

.image-grid a:hover {
  opacity: .4;
}

.image-grid img {
  width: 28.33%;
  margin: 2.5%;
  vertical-align: middle;
}

.scroll-top-link {
  display: inline-block;
  width: 34px;
  height: 34px;
  background: url(img/icons.svg) no-repeat -478px 2px #ffffff;
}

/* SETTINGS AND CLASSES ----------------------------------------------------- */

p {
  margin: 1em 0;
}

a {
  color: #000000;
}

em, i {
  font-style: italic;
}

.hide-text {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/* Typography --------------------------------------------------------------- */

/* Media Queries ------------------------------------------------------------ */


@media handheld, only screen and (max-width: 800px) {

  body {
    font-size: 18px;
  }
  #swipebox-close {
    top: 10px;
    right: 20px;
  }
  #swipebox-next {
    margin-right: 16px;
  }
  #swipebox-prev {
    margin-left: -2px; 
  }
  .featured-image span.full-screen-indicator {
    top: 7px;
    right: 7px;
  }
  .contact-link {
    background: url(img/icons.svg) no-repeat 0 -2px transparent;
    background-size: 455px auto;
  )
  
}


@media handheld, only screen and (max-width: 400px) {

  body {
    font-size: 16px;
  }
  #swipebox-close {
    top: 0;
    right: 10px;
    background-position: -178px 13px;
    background-size: 400px auto;
  }
  .featured-image span.full-screen-indicator {
    top: 2px;
    right: 2px;
  }
  .contact-link {
    background: url(img/icons.svg) no-repeat 0 -1px transparent;
    background-size: 400px auto;
  )
  
}