/*
Theme Name: Xavier Knight
Version: 1.0
Author: Kinski & Bourke
Author URI: http://www.kinskiandbourke.com/
*/

/* start presets */

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, font, img, ins, kbd, q, s, samp, strike, strong, sub,  tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
}

body {
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	text-align: center;
	font-family: 'Questrial', Arial, Helvetica, sans-serif;
	background-color: #ffffff;
	color: #464646;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* end presets */

#container {
	text-align: center;
	width: 1130px;
	margin-right: auto;
	margin-left: auto;
}

#header {
	height: 120px;
	width: 1130px;
	margin: auto;
	position: relative;
}
img#logo {
	position: absolute;
	left: 50px;
	top: 44px;
}
img#tagline {
	position: absolute;
	right: 0px;
	top: 62px;
}
#header-image {
	height: 360px;
	width: 1130px;
	margin: auto;
	background-repeat: no-repeat;
	background-position: bottom;
	background-color: #ebebeb;
	margin-bottom: 60px;
}

body.page-template-homepage #header-image {
	height: 80px;
	margin-bottom: 0px;
}

#leftcolumn {
	float: left;
	width: 190px;
	padding-left: 50px;
	padding-right: 30px;
	text-align: right;
	padding-top: 90px;
}
#maincolumn {
	float: left;
	width: 590px;
	text-align: left;
	padding-bottom: 80px;
}

#footer {
	clear: both;
	height: 115px;
	margin: auto;
	border-top: 1px solid #ebebeb;
	line-height: 115px;
	color: #9c9c9c;
	font-size: 12px;
}
#footer div {
	width: 1030px;
	margin: auto;
	text-align: left;
}

p, h1, h2, h2, h3, h4 {
	margin: 0px;
	padding: 0px;
}

a:link {color: #99a8b3; text-decoration: none;}
a:visited {color: #99a8b3; text-decoration: none;}
a:hover {color: #99a8b3; text-decoration: underline;}
a:active {color: #99a8b3; text-decoration: none;}

div#footer a:link {color: #9c9c9c; text-decoration: none;}
div#footer a:visited {color: #9c9c9c; text-decoration: none;}
div#footer a:hover {color: #9c9c9c; text-decoration: underline;}
div#footer a:active {color: #9c9c9c; text-decoration: none;}


/* start typography */

div#maincolumn h2 {
	font-weight: 300;
	font-family: 'Ubuntu';
	font-size: 48px;
	margin-bottom: 30px;
}

div#maincolumn p {
	font-size: 14px;
	margin-bottom: 17px;
	line-height: 21px;	
}

div#maincolumn ul {
	font-size: 14px;
	margin-bottom: 17px;
	line-height: 21px;
	text-align: left;
}

div#maincolumn ul li {
position: relative;
padding-left: 35px;
margin-bottom: 17px;
}

div#maincolumn ul li:before {
	content: url(images/li.png);
	position: absolute;
	left: 3px;
	top: 4px;
}

div#leftcolumn h2 {
	font-family: 'Ubuntu';
	font-weight: 300;
	font-size: 18px;
}

/* end typography */

div#sidebar-image {
	width: 190px;
	height: 230px;
	margin-bottom: 15px;
	background-position: 50% 50%;  /* Sets reference point to scale from */
	background-size:cover;         /* Sets background image to cover entire element */
}


/* start projects page */

body.page-template-projects-php div#maincolumn h2, body.page-template-projects-php div#maincolumn p {
	margin-left: 270px;
	margin-right: 270px;
}

/*
ul.image-gallery {
	font-size: 14px;
	margin-bottom: 0 !important;
	text-align: left;
	padding-top: 30px !important;
	margin-left: 35px;
}

ul.image-gallery li {
padding: 0 !important;
margin: 0 !important;
margin-right: 20px !important;
margin-bottom: 20px !important;
max-width: 340px;
height: 190px;
vertical-align: top;
position: relative !important;
}

ul.image-gallery li:before {
	content: none !important;
}


.image-gallery li .caption {
	font-size: 14px;
	text-transform: lowercase;
	line-height: 30px;
	display: block;
	position: absolute;
	bottom: 0;
	z-index: 200;	
	background-image: url(images/bg-caption.png);
	width: 100%;
	text-align: center;
}
*/

/* Start New Gallery */

div.gallery {
	padding-top: 30px;
}

div.gallery dl.gallery-item {
	position: relative;
	box-sizing: border-box;
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 30px;
}

div.gallery dl.gallery-item img {
	border: 0px !important;
	width: 100% !important;
	height: auto !important;
}

div.gallery dl.gallery-item dd.wp-caption-text {
	font-weight: 300;
	font-family: 'Ubuntu';
	color: #464646;
	background-color: rgba(235,235,235,.8);
	position: absolute;
	bottom: 0;
	left: 20px;
	width: calc(100% - 39px);
	opacity: 0;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out; 
	-o-transition: all .2s ease-in-out; 
	-ms-transition: all .2s ease-in-out; 
	padding: 20px 0;
	box-sizing: border-box;
	pointer-events: none;
}

div.gallery dl.gallery-item:hover dd.wp-caption-text {
	opacity: 1;
}

/* end projects page */

/* Start Slider */

div.slider {
	margin-bottom: 60px;
	width: 1130px;
	height: 753px;
}

div.slider div.slide {
	width: 1130px;
	height: 753px;
	background-size: cover;
}

div.slider div.slide span.caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,.5);
	color: #ffffff;
	padding: 20px;
	font-family: 'Ubuntu';
	font-weight: 300;
	font-size: 12px;
}

.caption, .slider{
  animation: caption linear 2s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: caption linear 2s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: caption linear 2s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: caption linear 2s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: caption linear 2s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes caption{
  0% {
    opacity:0;
  }
  52% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes caption{
  0% {
    opacity:0;
  }
  52% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes caption {
  0% {
    opacity:0;
  }
  52% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes caption {
  0% {
    opacity:0;
  }
  52% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

/* End Slider */