/*
Theme Name: scully
Theme URI: http://underscores.me/
Author: Dyad Communications
Author URI: http://dyadcom.com
Description: Custom Theme for Scully Construction
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: scully
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

scully is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/**
 * @license
 * MyFonts Webfont Build ID 3320584, 2016-12-13T14:39:09-0500
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: VersaillesLTStd-Light by Linotype
 * URL: http://www.myfonts.com/fonts/linotype/versailles/light/
 * Copyright: Copyright &#x00A9; 1990, 1995, 2002 Adobe Systems Incorporated.  All Rights Reserved. &#x00A9; 1981, 1995, 2002 Heidelberger Druckmaschinen AG. All rights reserved.
 * Licensed pageviews: 250,000
 * 
 * 
 * License: http://www.myfonts.com/viewlicense?type=web&buildid=3320584
 * 
 * © 2016 MyFonts Inc
*/


/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/32ab08");

  
@font-face {font-family: 'VersaillesLTStd-Light';src: url('webfonts/32AB08_0_0.eot');src: url('webfonts/32AB08_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/32AB08_0_0.woff2') format('woff2'),url('webfonts/32AB08_0_0.woff') format('woff'),url('webfonts/32AB08_0_0.ttf') format('truetype');}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

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

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

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

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

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

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

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	font-family: "Verlag A", "Verlag B", sans-serif;
	font-weight: 200;
	font-size: 16px;
	font-size: 1.1rem;
	font-weight: 200;
    line-height: 1.8;
    color: #222;
    font-weight: 200;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 200;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}
/*--------------------------------------------------------------
# SLICK CSS START
--------------------------------------------------------------*//*

/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}


/*--------------------------------------------------------------
# SLICK CSS END
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
	height: 100%;
}
body,
#page {
	min-height: 100%;
}
#content {
	min-height: calc(100vh - 2.5rem);
}
.page-template-profile #content {
	min-height: 100vh;
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
	min-height: calc(100vh - 28px);
}
body.parent-pageid-8 {
	background: #e2e0d1;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:visited {
	color: #000;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	/*opacity: .85;*/
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    /*left: 0;*/
    /*right: auto;*/
    /*top: 90px;*/
    /*bottom: auto;*/
    width: 100%;
    text-align: left;
    background: white;
    /*padding: .7rem 0;*/
    padding: 0 3.8%;
    /*max-height: 0;*/
    /*transition: max-height .25s ease;*/
    /*overflow: hidden;*/
}
@media screen and (min-width: 765px) {
	.main-navigation {
		position: absolute;
		text-align: left;
		left: calc(7.6% + 235px);
    	top: 55%;
    	transform: translateY(-50%);
    	-webkit-transform: translateY(-50%);
	  -ms-transform: translateY(-50%);
    	width: auto;
    	padding: 0;
    	/*max-height: none;*/
	}
}	

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	position: absolute;
	top: 90px;
	left: 0;
	width: 100%;
	background: white;
	max-height: 0;
	overflow: hidden;
	transition: all .5s ease-in;
}

.main-navigation.toggled ul {
	max-height: 10rem;
	padding-bottom: .75rem;
	transition: all .35s ease-in;
}
@media all and (min-width: 765px) {
	.main-navigation ul {
		display: block;
		position: relative;
		top: auto;
		left: auto;
		width: auto;
		max-height: 10rem;
	}
}
.main-navigation li {
	padding: .2rem 0 .2rem 3.8%;
	width: 9rem;
	/*display: inline-block;*/
}
@media screen and (min-width: 765px) {
	.main-navigation li {
		padding: 0;
		display: inline-block;
	}
}

.main-navigation a {
	font-size: .99rem;
    color: #9a7301;
    letter-spacing: .2rem;
    /*transition: all 3s;*/
}
.main-navigation a:hover {
	color: black;
	font-weight: 300;
	/*transition: all 3s;*/
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current-page-ancestor > a,
.main-navigation .current-menu-ancestor > a {
	color: black;
    font-weight: 300;
}

/* Small menu. */
button.menu-toggle {
	position: absolute;
	top: 28px;
	right: 3.8%;
	bottom: auto;
	left: auto;
    border: none;
    background: white;
    border-radius: 0;
    padding: 1rem;
    display: block;
}
button.menu-toggle:before {
	content: '';
	position: absolute;
	background: #006341;
	top: 7px;
	left: 50%;
	transform: translateX(-50%);
	height: 2px;
	width: 100%;
}
button.menu-toggle:after {
	content: '';
	position: absolute;
	background: #006341;
	top: auto;
	left: 50%;
	bottom: 7px;
	transform: translateX(-50%);
	height: 2px;
	width: 100%;
}

button.menu-toggle .inner-button {
	width: 100%;
	height: 2px;
	background: #006341;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

@media screen and (min-width: 765px) {
	button.menu-toggle {
		display: none;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Global-ish Elements
--------------------------------------------------------------*/
.image-holder {
	width: 100%;
	height: 100%;
}
.site-main {
  	margin: 90px auto 0;
  	padding: 0 3.8%;
  	/*background: red;*/
}
.page-template-project-grid .site-main {
	padding:0;
}
body.page-template-project-grid {
	background: #ecebe2;
}
@media all and (min-width: 765px) {
	.site-main {
		margin: 120px auto 0;
	}
}
.parent-pageid-8 .site-main {
	/*width: 63.3%;*/
    max-width: 60rem;
    /* background: red; */
    text-align: justify;
    margin: 0;
}

@media all and (min-width: 1200px) {
	.parent-pageid-8 .site-main {
		width: 75%;
    	max-width: 68rem;
	}
}
a.post-edit-link {
	display: none;
}
.site-title a {
	display: block;
}
h1.site-title,
p.site-title {
	font-size: 0px;
	position: absolute;
    left: 3.8%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translatey(-50%);
    -webkit-transform: translateY(-50%);
	  -ms-transform: translateY(-50%);
}
.site-title svg {
	width: 199px;
}
.site-title svg .cls-3 {
    fill: #006341;
}
.site-title svg .cls-2 {
    fill: #c99700;
}
@media all and (min-width: 765px) {
	.site-title svg {
    	width: 234px;
	}
}
.slick-list,.slick-track {
	width: 100%;
	height: 100%;
}
/* HEADER */
header#masthead {
	z-index: 99999999;
	position: fixed;
	margin: 0;
	background-color: white;
	top: 0; right: 0; left: 0;
	height: 90px;
}
@media all and (min-width: 765px) {
	header#masthead {
		height: 120px;
	}
}
.site-branding img {
	width: 200px;
	/*height: 90px;*/
	margin-top: -2px;
}
@media all and (min-width: 765px) {
	.site-title img {
		width: 235px;
	}
}
footer#colophon {
	display: none;
}
/* FOOTER */
@media all and (min-width: 765px) {
	footer#colophon {
		display: block;
		background: white;
		height: 2.5rem;
	}
}
.site-info {
	padding-top: .2rem;
}
.site-info a,
.site-info span{
	margin: 0;
    padding: 0 0 0 3.8%;/* 10px 5px 3.8%;*/
    text-align: left;
    font-size: .8rem;
    letter-spacing: .09rem;
    font-weight: 400;
    color: #8c9790;
    text-transform: uppercase;
}
.site-info span {
	display: none;
}
@media all and (min-width: 765px) {
	.site-info span {
		display: inline-block;
	}
}
.site-info a {
	padding-left: .5rem;
	color: #000;
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/* Homepage */
.home-text {
	position: fixed;
	z-index: 999;
	top: calc(120px + 5vh);
	bottom: auto;
	left: 3.8%;
	right: 5%;
}
h2.home-tagline {
	max-width: 45rem;
	/*position: absolute;*/
	/*z-index: 999;*/
	color: white;
	/*top: 30%;*/
	/*left: 3.8%;*/
	/*right: 5%;*/
	-webkit-font-smoothing: antialiased; 
	-moz-osx-font-smoothing: grayscale;
	font-weight: 400;
	font-size: 1.35rem;
	margin: 0;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	letter-spacing: none;
	font-family: 'VersaillesLTStd-Light',serif;
	text-shadow: 3px 1px 2px rgba(000,000,000,.2);
}
@media all and (min-width: 765px) {
	h2.home-tagline {
		top: 18%;
		font-size: 2.2rem;
		line-height: 1.4;
	}
}
h3.home-history {
    /*position: absolute;*/
    /*bottom: 10%;*/
    /*top: 28%;*/
    /*left: 3.8%;*/
    z-index: 999;
    color: white;
    font-style: normal;
    font-size: 1rem;
    max-width: 57rem;
    line-height: 1.5;
    display: none;
    font-weight: 200;
    text-shadow: 3px 1px 2px rgba(000,000,000,.2);
}
@media all and (min-width: 765px) {
	h3.home-history {
		font-size: 1.3rem;
		bottom: 5%;
		display: block;
		max-width: 30em;
	}
}
.home-slideshow {
	opacity: 0;
	transition: opacity .25s;
}
.home-slideshow.slick-initialized {
	opacity: 1;
}
.home-slideshow {
	position: fixed;
	top: 90px;
	bottom: 0;
	left: 0;
    right: 0;
    /*width: 100%;*/
    /*height: 100%;*/
    z-index: -1;
}
.home-slideshow img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	font-family: "object-fit:cover";
}
@media all and (min-width: 765px) {
	.home-slideshow {
		top: 120px;
		bottom: 38px;
	}
}
/* Profile Subpages */
.banner-slider {
    display: none;
}
@media all and (min-width: 765px) {
	.banner-slider {
		display: block;
		position: absolute;
    	height: 22.5vw;
    	background: #dcdbd9;
    	width: 100%;
	    top: 120px;
	    left: 0;
	    right: 0;
	}
}
.banner-section {
	position: relative;
	width: 33.3%;
	display: inline-block;
	vertical-align: top;
	opacity: 0;
    transition: opacity .35s ease-in;
}
.banner-section.slick-initialized {
	opacity: 1;
	transition: opacity .35s ease-in;
}
.banner-section .image-holder {
	/*position: absolute;*/
}
.banner-section img {
   /* position: absolute;
    top: 0;
    left: 0;*/
    width: 100%;
    height: 22.5vw;
    object-fit: cover;
    font-family: "object-fit:cover";
}
ul.profile-submenu {
	/*margin-top: calc(22.5vw + 1.4rem + 120px);*/
	margin: 120px 0 0 0;
	/*margin-top: 120px;*/
	/*margin-bottom: 0;*/
    /*margin-left: 0;*/
    padding-left: 0;
    /* margin-bottom: 0; */
    text-transform: uppercase;
    letter-spacing: .2rem;
    list-style: none;

}
@media all and (min-width: 765px) {
	ul.profile-submenu {
		margin-top: calc(22.5vw + 1.4rem + 120px);
	}	
}
ul.profile-submenu a {
    color: rgb(109, 103, 106);
    font-size: .92rem;
    cursor: pointer;
}
ul.profile-submenu a.active {
    color: black;
    font-weight: 300;
}
@media all and (min-width: 765px) and (max-height: 900px) {
	ul.profile-submenu a {
		/*font-size: .71rem;*/
	}
}

@media all and (min-width: 765px) {
	ul.profile-submenu li {
		width: auto;
		padding-right: .9rem;
		display: inline-block;
	}
}
@media all and (min-width: 765px) {
	.column {
		width: 48%;
		/*background: pink;*/
		display: inline-block;
		vertical-align: top;
	}
	.column-2 {
		margin-left: 2%;
	}
}
.profile-container {
	/*min-height: 100vh;*/
	/*overflow: hidden;*/
	/*background: red;*/
}
.profile-content {
    margin: 1rem 0 2rem;
    font-weight: 300;
    color: #000;
    /*position: absolute;*/
    /*opacity: 0;*/
}
.profile-content h2:first-child {
    margin-top: 0;
}
.profile-content h2 {
    font-weight: 300;
    line-height: 1.6;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: left;
}
.profile-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.12rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}
#news li {
	margin-bottom: 1rem;
}
#news li a {
	color: gray;
}
/* Project grid */
a.grid-item {
	width: 100%;
	position: relative;
}
@media all and (min-width: 765px) {
	a.grid-item {
		width: 50%;
		float: left;
		display: inline-block;
		position: relative;
		display: block;
	}
	a.grid-item:hover {
		opacity: 1;
	}
	a.grid-item:hover:before {
		opacity: .95;
		transition: opacity .35s ease-in;
		z-index: 1;
	}
	a.grid-item:hover .grid-item-text {
		opacity: 1;
		transition: opacity .25s ease-in;
	}
	a.grid-item:before {
	    content: "";
	    display: block;
	    position: absolute;
	    top: 0;
	    right: 0;
	    bottom: 0;
	    left: 0;
	    background-color: rgba(204,152,0,.95);
	    z-index: 99;
	    opacity: 0;
	    -webkit-transition: opacity 0.5s;
	    -moz-transition: opacity 0.5s;
	    -ms-transition: opacity 0.5s;
	    -o-transition: opacity 0.5s;
	    transition: opacity 0.5s;
	}    
}
@media all and (min-width: 1200px) {
	a.grid-item {
		width: 33.33%;
	}
}
a.grid-item img {
	width: 100%;
	height: auto;
	display: block;
}
/*.grid-item-text {
	opacity: 0;
	transition: opacity .35s ease-in;
	padding-left: 5%;
}*/
.grid-item-text {
	padding-left: 3.8%;
	margin:.5rem 0 1.5rem;
}
@media screen and (min-width: 765px) {
	.grid-item-text {
		padding-left: 5%;
		position: absolute;
	    top: 70%;
	    bottom: auto;
	    right: auto;
	    left: 3%;
	    color: white;
	    font-size: 1.25rem;
	    z-index: 5;  
	    opacity: 0;
	    transition: opacity .35s ease-in; 
	    margin: 0; 
	}
}
.grid-item-text h2,
.grid-item-text h3 {
	margin: 0;
	line-height: 1.5;
}
@media all and (min-width: 765px) {

}
.grid-item-text h2 {
	font-size: 1.5rem;
	font-family: 'VersaillesLTStd-Light', serif;
}
@media all and (min-width: 1450px) {
	.grid-item-text h2 {
	 	font-size: 1.8rem;
	}
}
.grid-item-text h3 {
	text-transform: uppercase;
	letter-spacing: .08rem;
    font-size: .75rem;
}
@media all and (min-width: 1450px) {
	.grid-item-text h3 {
		font-size: 1rem;
	}	
}
/* Project Page */
.project-main {
	margin-top: 161px;
}
@media all and (min-width: 765px) {
	.project-main {
		margin-top: 0;
		height: calc(100vh - 120px);
		/*background: pink;*/
	}
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	.project-main {
		/*background: pink;*/
		height: calc(100vh - 130px);
	}	
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	.project-main {
		/*background: green;*/
		height: calc(100vh - 130px);
	}
}	
.project-main h2 {
	text-transform: none;
	margin: 0;
	font-size: 1.5rem;
    font-family: 'VersaillesLTStd-Light', serif;
	/*color: pink !important;*/
}
@media all and (min-width: 765px) {
	.project-main h2 {
		font-size: 1.8rem;
	}
}
.project-main p {
	margin: 0 0 1rem 0;
	line-height: 1;
	text-transform: uppercase;
    letter-spacing: .08rem;
    font-size: .75rem;
}
@media all and (min-width: 765px) {
	.project-main p {
		font-size: 1rem;
	}
}
.slideshow-holder {
	position: relative;
}
@media all and (min-width: 765px) {
	.no-touchevents .slideshow-holder .mouseover {
	    position: absolute;
	    top: 0;
	    bottom: 0;
	    width: 53.8%;
	    height: 100%;
	    z-index: 9999999;
	    -webkit-tap-highlight-color: rgba(255,255,255,0.05);
	    display: block;
	    /*border: 1px solid red;*/
	}
	.no-touchevents .mouseover.left {
	    left: -3.8%;
	    right: auto;
	    /*cursor: pointer;*/
	    cursor: url(http://scullycorp.com/wp-content/themes/scully/img/left-arrow.cur), w-resize !important;

	}
	.no-touchevents .mouseover.right {
	    right: -3.8%;
	    left: auto;
	    /*cursor: arrow;*/
	    cursor: url(http://scullycorp.com/wp-content/themes/scully/img/right-arrow.cur), e-resize !important;
	}
}	
.project-slideshow.short-screen {
	/*border: 10px solid red;*/
}
#counter {
	display: none;
}
@media all and (min-width: 765px) {
	#counter {
		position: absolute;
    	right: 0;
    	bottom: -1.25rem; 
    	font-size: .6rem;
    	display: block;
	}
}
@media all and (min-width: 765px) {
	.project-slideshow {
		height: calc(100vh - 241px);
		opacity: 0;
	}
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	.project-slideshow {
		height: calc(100vh - 268px);
	}	
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	.project-slideshow {
		height: calc(100vh - 268px);
		/*height: calc(100vh - 288px);*/
	}
}		
.project-slideshow .slide.move-up img {
	/*transform: translateY(-100%);*/
	/*transition: transform .5s ease-in .25s, opacity .35s ease;*/
	/*outline: 10px solid white;*/
	/*opacity: .5;*/

}
@media all and (min-width: 765px) {
	.project-slideshow .slide {
		overflow: visible;
		/*background: #e2e0d1;*/
		background: #ecebe2;
		/*background: #b5afa3;*/
		/*opacity: 0;*/
	}
}	
.project-slideshow.mobile-slideshow,
.project-slideshow.slick-initialized {
	opacity: 1;
	transition: opacity .35s ease-in;
}	
.project-slideshow .slide img {
	width: 100%;
}	
@media all and (min-width: 765px) {
	.project-slideshow .slide img {
		/*transition: all 1s ease-in;*/
		/*outline: 10px solid red !important;*/
		/*opacity: 0;*/
		object-fit: cover;
		font-family: 'object-fit: cover';
		height: 100%;
		width: 100%;
		/*opacity: 0;*/
	}
}	

@media all and (min-width: 765px) {
	.project-slideshow .slide.vertical img {
		width: 50%;
	}
	.project-slideshow.short-screen .slide img {
		/*object-fit: none;*/
		object-fit: initial;
		font-family: none;
		width: auto;
	}
}
@media all and (min-width: 765px) {
	.project-slideshow.short-screen .slide.vertical img {
		width: auto;
	}
}		 
.project-slideshow .slide.cycle-slide-active img {
	/*transition: all 1s ease-in;
	opacity: 1;*/
	/*outline: 10px solid red;*/
}
.project-slideshow .image-holder {
	position: relative;
	height: 100%;
	width: 100%;
}
p.instructions {
	display: none;
}
@media all and (min-width: 765px) {
	p.instructions {
		display: block;
		text-align: left;
		line-height: 1;
		/*background: red;*/
		font-size: .6rem;
		margin: .5rem 0;
		text-transform: uppercase;
	}
}	
.project-title {
	position: fixed;
    top: 90px;
    left: 3.8%;
    background: white;
    width: 100%;
    padding: 0;
}
@media all and (min-width: 765px) {
	.project-title {
		padding: .5rem 0 .25rem;
		position: relative;
		top: auto;
		left: auto;
		background: none;
	}
}
a.next-project {
	text-transform: uppercase;
	font-size: .6rem;
	letter-spacing: .05rem;
}
@media all and (min-width: 765px) {
	a.next-project {
		position: absolute;
	    right: 3.8%;
	    top: calc(100vh - 21px);
	}
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	a.next-project {
		 top: calc(100vh - 48px);
	}	
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	a.next-project {
		 top: calc(100vh - 48px);
	}
}		
.project-details {
	border-top: 1px solid #eaeaea;
	/*background: goldenrod;*/
	/*height: 1rem;*/
}
@media all and (min-width: 765px) {
	.project-details {
		border-bottom: 1px solid #eaeaea;
	}
}
.project-details p {
	margin: 0 0 1rem 0;
    max-width: 800px; 
}
.project-details ul {
	margin: 0;
	padding: 1rem 0;
	list-style: none;
	font-size: 1rem;
}
.project-details span {
	font-style: italic;
}
/* Contact */
body.page-id-13 {
    /*background: #cc9800;*/
      background: #e2b738;
}
.page-id-13 footer#colophon {
	display: none;
}
.background-image {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
}
.background-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	font-family: "object-fit:cover";
	opacity: .1;
}
.contact-list {
	margin-top: 8rem;
	position: relative;
}
@media all and (min-width: 765px) {
	.contact-list {
		margin-top: 11rem;
	}
}	
.contact-list ul {
	font-size: 1.12rem;
    line-height: 1.6;
    list-style: none;
    margin: 1.5rem 0 0 0;
    padding: 0;
}
.contact-list ul li {
	font-weight: 300;
}
.contact-list blockquote {
	margin: 0;
}	
@media all and (min-width: 765px) {
	.contact-list blockquote {
		margin: 0;
		position: absolute;
		left: calc(244px + 6.6%);
		top: 0;
	}
}	   
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}
/* images loaded styles */
.image-loading {
    opacity: 0;
}
.image-loaded {
    opacity: 1;
    transition: opacity .35s ease-in;
    transform: translate3d(0, 0, 0);
    z-indexwebkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
}

/* Dyad Credit Styles
----------------------------------------------------------------------------------------*/
/*change colors of sections of credit here*/
#credit svg svg.siteby path,
#credit svg svg.d path,
#credit svg svg.therest path {
    fill: black;
}
/*sets 'siteby' and 'yad communciations' to opacity 0, adds css transition*/
#credit svg svg.siteby,
#credit svg svg.therest {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.75s ease, filter 0.75s ease;
    -moz-transition: opacity 0.75s ease, filter 0.75s ease;
    -ms-transition: opacity 0.75s ease, filter 0.75s ease;
    -o-transition: opacity 0.75s ease, filter 0.75s ease;
    transition: opacity 0.75s ease, filter 0.75s ease;
}
#credit{
    opacity: 0;
    filter: alpha(opacity=0);
    margin: 0 0 0 0;
    padding: 3px 0 0 0;
    overflow: hidden;
    display: inline-block;
    /* position: absolute; */
    /* top: 0.6rem; */
    /* bottom: auto; */
    /* right: 0; */
    /* left: 0; */
    width: 200px;
    height: 12px;
    max-width: 10px;
    -webkit-transition: max-width .75s ease, opacity .5s ease-in;
    -moz-transition: max-width .75s ease, opacity .5s ease-in;
    -ms-transition: max-width .75s ease, opacity .5s ease-in;
    -o-transition: max-width .75s ease, opacity .5s ease-in;
    transition: max-width .75s ease, opacity .5s ease-in;

    position: fixed;
    bottom: 2rem;
    left: auto;
    top: auto;
    right: 2rem;
    /* background: red; */
}
#credit svg {
    height: 100%;
    position: absolute;
    left:0;
    right:auto;
}
/*make sure other page-specific styles dont overwrite the styles below*/
#credit > a {
    display: block;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    position: relative;
    margin: 0!important;
    padding: 0!important;
    height: 12px;
    width: 200px;
    -webkit-transform: translateX(-30px);
    -moz-transform: translateX(-30px);
    -ms-transform: translateX(-30px);
    -o-transform: translateX(-30px);
    transform: translateX(-30px);
    -webkit-transition: transform .75s ease;
    -moz-transition: transform .75s ease;
    -ms-transition: transform .75s ease;
    -o-transition: transform .75s ease;
    transition: transform .75s ease;
}
/*#credit:hover {
    max-width: 200px;
}*/
@media screen and (min-width:30em) {
  #credit:hover {
      max-width: 200px;
  }
  #credit:hover > a {
      -webkit-transform: translateX(0px);
      -moz-transform: translateX(0px);
      -ms-transform: translateX(0px);
      -o-transform: translateX(0px);
      transform: translateX(0px);
  }
  #credit:hover svg svg.siteby,
  #credit:hover svg svg.therest {
      opacity: 1;
      filter: alpha(opacity=100);
  }
}