@import url(https://fonts.googleapis.com/css?family=Sorts+Mill+Goudy:400,400italic&subset=latin,latin-ext);

*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td { margin:0; padding:0 }
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal }
a img { border:1px solid grey; } /* Gets rid of IE's blue borders */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

html{
    -webkit-tap-highlight-color:transparent;
}

body {
	margin: 0;
	min-width: 100%;
	padding: 0;
    color: #555;
    font-size: 15px;
    font-family: Sorts Mill Goudy, Times New Roman, serif;
    font-weight: 400;
    line-height: 1.7;	
}

h2 {
	text-align:center;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:400;
	letter-spacing:2px;
	font-size:20px;
	line-height:29px;
	padding-bottom:0px;
	margin-bottom:0px;
	color:#666666;
}
		
#contentHome h1, #contentHome h2{
	opacity: 0;
} 

p {
	margin: 0;
}


/*HEADER*/
header{
	width: 100%;
	position: fixed;
	top: -180px;
	z-index: 3000;
}

/*MAIN*/
.slide{
	width: 100%;
	z-index: 1;
	padding-top: 25px;
}

a,
a:link,
a:active {
	color: #242424;
	text-decoration: none;
	outline: none;
}
a:visited {
	color: #242424;
	text-decoration: none;
}
a:hover {
	color: #242424;
	text-decoration: none;
}

::select { 
	background:#242424;
	color:#ae2900; 
}
::selection { 
	color:#ae2900; 
}

::-moz-selection { 
	background:#242424;
	color:#ae2900; 
}

h1::selection{
	color: #ae2900;
}

h1::-moz-selection{
	color: #b1d535;
	background: #242424;
}

#home, #portfolio, #services, #goodies, #contact{
	display: table;
	position: relative;
}

#contentHome, #contentPortfolio, #contentServices, #contentGoodies, #contentContact{
	text-align: center;
	width: 80%;
	margin: 0 auto;
	display: table-cell;
	vertical-align: middle;
}

/*FOOTER*/
footer{
	width: 100%;
	position: fixed;
	bottom: -40px;
	z-index: 3000;
	height: 40px;
}


.footerControl:hover{
	background-position: center bottom;
}

#copyright{
	margin: 10px 0 0 14px;
	padding: 4px;
	float: left;
	font-size: 13px;
	font-family: Sorts Mill Goudy, Gotham SSm, Arial;
	font-weight: 100;
}

#piva{
	margin: 8px 10px 0 0;
	float: right;
	font-size: 16px;
	font-family: Sorts Mill Goudy, Gotham SSm, Tahoma;
	font-weight: 100;
}


#iconMail{
	overflow: hidden;
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
	height: 40px;
	width: 100px;
	border-right: 1px solid #444;	
}

#iconMail:hover{
	background-position: 38px center;
	cursor: pointer;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
	width: auto;
}

.sans-home-portfolio,
.sans-portfolio,
.filter-controls {
	position: relative;
}
.sans-portfolio {
	padding: 0 0 1.625em;
	text-align: center;
}
.sans-portfolio ul {
	list-style: none;
	margin: 0px;
	padding: 0;
}
.sans-portfolio ul li {
	display: inline-block;
}
.portfolio-grid li {
	margin: 0 0.6em 1.2em;
}
.portfolio-grid li a {
	border: none;
	display: block;
}

/* 320px - 479px
*/

@media only screen and ( min-width: 20em ) and ( max-width: 29.938em ) {

	.portfolio-grid li,
	.sans-entry p.sans-byline span {
		float: none;
	}
	.portfolio-grid li {
		margin: 0 0 1.714em;
	}
	.portfolio-grid li,
	.articles-left {
		width: auto;
	}
}


/* 320px - 783px The body font size & line height become 14/24
*/

@media only screen and ( min-width: 20em ) and ( max-width: 48.938em ) {
	ul, ol {
		padding: 0;
	}
	ul ul, ul ol, ol ul, ol ol {
		margin: 0.857em 0;
	}
	.sans-portfolio {
		padding: 0 0 1px;
	}
	.portfolio-grid li img {
		height: auto;
	}
}

/* 480px - 783px
*/
@media only screen and ( min-width: 30em ) and ( max-width: 48.938em ) {
	.portfolio-grid li {
		margin: 0 3.8% 1.786em 0;
		min-width: 46.1686%;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
}

::-webkit-scrollbar {
    width: 7px;
	height:7px;
}
 
/* Track */
::-webkit-scrollbar-track {
    background:#ffffff;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background:#333;
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,0,0,0.4); 
}

.ghost-button-semi-transparent {
display: inline-block;
  margin-left: 3px;
  margin-bottom: 3px;
  width: 112px;
  padding: 17px;
  line-height: 1em;
  font-size: 10px;
  text-align: center;
  vertical-align:middle;
  outline: none;
  font-family: Gotham SSm, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: .22em;
  transition: background-color 0.2s ease-out,
              border-color 0.2s ease-out;
}
.ghost-button-semi-transparent:hover,
.ghost-button-semi-transparent:active {
  transition: background-color 0.3s ease-in,
              border-color 0.3s ease-in;
}
