/*
Theme Name: Duffy Theme
Author: Dave Weller
Author URI: http://www.claudiasavage.co.uk
Version:1.0
*/

body {
	font-family:Helvetica, Arial, "sans-serif";
	padding:0;
	margin:0;	
	font-weight:300;
	overflow:auto;
	background: #ececec;
}
h1, h2, h3, h4, h5 {
	font-weight:300;	
}
h1 {	
	font-size:30px;
}
h2 {
	font-size:20px;	
}
h3 {
	font-size:20px;	
}
p, .contentWrap ul {
	    font-family: Helvetica, Arial, "sans-serif" !important;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
    font-weight: 400;
    color: #000 !important;
}
p.date {
	text-align:right;
	font-size:6px;
	line-height:8px;
	margin-top:30px;
	position: absolute;
    right: 50px;
	bottom: 10px;
}
a {
	text-decoration:none;	
}
.clearBoth {
	clear:both;	
}
a.button {
	display:table;
	margin:20px auto;
	padding:10px 20px;
	border:1px #000 solid;
	color:#000;
	text-transform:uppercase;
	text-align:center;
	transition:.5s;
}
a.button:hover {
	background:#000;
	color:#fff;
}
.mobileShow, #open-menu {
	display:none;	
}
#mobile-menu {
	position:absolute;
	width:100%;
	padding:20px;
	box-sizing:border-box;
	background:#000;	
	z-index:9999;
	height:100%;
	margin-left:-100%;
	transition:left .3s linear
}
#mobile-menu.open {
	margin-left:0;
	transition:left .3s linear
}
#mobile-menu ul {
	margin-top:40px;
	list-style:none;	
}
#mobile-menu ul li {
	margin:20px 0;	
}
#mobile-menu ul li a {
	color:#fff;
	font-size:22px;
	text-transform:uppercase;
	letter-spacing:1px;	
}
#close-me {
	position:absolute;
	top:20px;
	right:20px;
	cursor:pointer;	
}
#close-me svg {
	color:#fff;	
}
/****** Base (1199px +)******/
.page {
	padding:100px;
	background:#fff;
	-webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,.3);
box-shadow: 0 0 5px 1px rgba(0,0,0,.3);
	margin-bottom:20px;
	
}
#wrapper {
	position:relative;
	width:100%;
	max-width:1000px;
	padding:20px;
	box-sizing:border-box;
	margin:0 auto;
}
@media screen and (max-width:500px) {
	#wrapper {
		position:relative;
		width:100%;
		max-width:1000px;
		padding:10px;
		box-sizing:border-box;
		margin:0 auto;
	}
	.page {
		padding:20px;
	}	
	.page:last-of-type {
		padding-bottom:50px;
	}
	p.date {
		right: 20px;
	}
	p {
		font-size:12px;
	}
}
#wrapper {
	position:relative;
	width:100%;
	max-width:1000px;
	padding:20px;
	box-sizing:border-box;
	margin:0 auto;
}
header {
	position:relative;
	width:100%;
	background:#fff;
	min-height:110px;
}
#header_wrap {
	position:relative;
	margin:0 auto;
	width:calc(100% - 40px);
	height:auto	;
	padding:0;
	box-sizing:border-box;
}
#header_wrap img {
	display:block;
	width:100%;
	height:auto;
	    margin: 20vh 0;
}
#header_left {
	position:relative;
	float:left;
}
#logo {
	position:absolute;
	top:30px;
	left:50%;
	margin-left:-300px;
}
#logo img {
	width: 600px;
	height:auto;	
}
#header_right {
	position:relative;
	float:right;
}
#header_right a {
	color:#000;
	margin-left:20px;
	transition:.5s;	
}
#header_right a:hover {
	color:#ccc;
	transition:.5s;	
}
#content {
	position:relative;
	width:100%;
}
.contentWrap {
	position:relative;
	width:calc(100%);
	margin:0 auto;
	box-sizing:border-box;	
}
.contentWrap.content {
	width:50%;
}
.row {
	position:relative;
	width:100%;
}

.one-third {
	position:relative;
	float:left;
	width:33.3%;	
}
.two-thirds {
	position:relative;
	float:left;
	width:66.6%;	
}

.pullLeft {
	position:relative;
	float:left;
	width:49.9%;
	padding:20px;
	box-sizing:border-box;
}
.pullRight {
	position:relative;
	float:right;
	width:49.9%;
	padding:20px;
	box-sizing:border-box;
}
.image-column {
	position:relative;
	float:left;
	width:calc(100% / 3);
	box-sizing:border-box;
	padding:5px;	
}
.image-column:nth-of-type(3n+1) {
	clear:left;	
}
.image-column img {
	width:100%;
	height:auto;
}
nav {
	position:relative;
	width:100%;	
	border-top:1px #000 solid;
	border-bottom:1px #000 solid;
}
nav ul {
	list-style:none;
	text-align:center;	
	margin:0 !important;
}
nav ul li {
	display:inline-block;	
	padding:10px 20px;
}
nav ul li a {
	font-size:16px;
	text-transform:uppercase;
	color:#000;	
	letter-spacing:1px;
	transition:.5s;
}
nav ul li a:hover {
	color:#CCC;	
	transition:.5s;
}
/*** Contact ***/

.wpcf7-text {
	width:100%;
	height:40px;
	padding:0 10px;
	box-sizing:border-box;
	border:#eee 1px solid;
	font-family: 'Quicksand', sans-serif;
	font-size:16px;
	color:#555;	
}
.wpcf7-textarea {
	width:100%;
	height:100px;
	padding:10px 10px;
	box-sizing:border-box;
	border:#eee 1px solid;
	font-family: 'Quicksand', sans-serif;
	font-size:16px;
	color:#555;	
}
.wpcf7-date {
	width:100%;
	height:40px;
	padding:0 10px;
	box-sizing:border-box;
	border:#eee 1px solid;
	font-family: 'Quicksand', sans-serif;
	font-size:16px;
	color:#555;	
}
.wpcf7-select {
	width:100%;
	height:40px;
	padding:0 10px;
	box-sizing:border-box;
	border:#eee 1px solid;
	font-family: 'Quicksand', sans-serif;
	font-size:16px;
	color:#555;	
}
.wpcf7-submit {
	margin:-5px 0 0 0;
	width:100%;
	height:40px;
	padding:0 10px;
	box-sizing:border-box;
	background:#000;
	border:none;
	font-family: 'Quicksand', sans-serif;
	font-size:16px;
	color:#fff;
	text-transform:uppercase;
	transition:.5s;
}
.wpcf7-submit:hover {
	background:#ccc;
	transition:.5s;	
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	font-family: 'Quicksand', sans-serif;
	color:#ccc;	
}
::-moz-placeholder { /* Firefox 19+ */
	font-family: 'Quicksand', sans-serif;
	color:#ccc;	
}
:-ms-input-placeholder { /* IE 10+ */
	font-family: 'Quicksand', sans-serif;
	color:#ccc;	
}
:-moz-placeholder { /* Firefox 18- */
	font-family: 'Quicksand', sans-serif;
	color:#ccc;	
}
/*** Footer ***/
footer {
	position:relative;
	width:100%;
	background:#000;
	padding:30px 0;
}
#footer_wrap {
	position:relative;
	margin:0 auto;
	width:calc(100% - 40px);	
}
footer p, footer a {
	text-align:center !important;
	font-size:14px;
	color:#fff;	
}
/**** Tablet ****/
@media screen and (max-width:768px) {
	.image-column {
		width:calc(100% / 2);
	}
	.image-column:nth-of-type(3n+1) {
		clear:none;	
	}
	.image-column:nth-of-type(1n+1) {
		clear:left;
	}
	.contentWrap.content {
		width:75%;
	}
}

/**** Mobile ****/
@media screen and (max-width:768px) {
	.image-column {
		width:100%;
	}
	.contentWrap.content, .contentWrap {
		width:100%;
	}
	.mobileShow, #open-menu {
		display:block;	
	}
	header {
		min-height:90px;
	}
	nav {
		display:none;
	}
	#logo {
		margin-left:-150px;
		top:70px;
	}
	#logo img {
		width:300px;
		height:auto;	
	}
	.pullLeft, .pullRight {
		width:100%;	
	}
}

video.gallery-vid {
	width:100%;
	height: 56.5% !important;
}

/*** MAsonry ***/
.item {
    float: left;
    position: relative;
    line-height: 1em;
	box-sizing:border-box;
	padding:10px;
}


.grid-sizer { width: 20%; }
.item { width: 20%; }


@media screen and (max-width: 1224px) {
  /* 10 columns for larger screens */
  .grid-sizer { width: 33.33%; }
  .item { width: 33.33%; }
}

@media screen and (max-width: 720px) {
  /* 10 columns for larger screens */
  .grid-sizer { width: 50%; }
  .item { width: 50%; }
}

@media screen and (max-width: 480px) {
  /* 10 columns for larger screens */
  .grid-sizer { width: 100%; }
  .item { width: 100%; }
}

.image{
    max-width: 100%;
    margin: 0;
    display: block;
}

.image:after {
    clear:both;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    color: #fff;
    display: none;
}

.overlay .title {
    text-align: center;
    font-size: 30px;
}

.overlay .description {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.80);
    width: 100%;
    margin: 0;
}

.overlay .description p {
    margin: 20px;
}

.item:hover .overlay {
    display: block;
}