/*
Theme Name: DeaccessionNY
Description: Custom theme for deaccessionny.com
Version: 1.0.0
License: Private - Not for distribution
Text Domain: deaccessionny
*/


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

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;
}

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

b,
strong {
	font-weight: 700;
}

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: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

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

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

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

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

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

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

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

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

input[type="search"] {
	-webkit-appearance: textfield;
}

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

fieldset {
	border: 1px solid #d1d1d1;
	margin: 0 0 1.75em;
	min-width: inherit;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */



.screen-reader-text {
	display: none;
}


/**
Typography
 */

 body {
	font-family: 'Didot', 'Helvetica', serif;
	letter-spacing: -.02em;
	font-weight: 300;
	font-size: 16px;
	color: #252525;
  background: #f9f9f9;
 }

h1,h2,h3,h4,h5,h6,label, ul, li {
	font-family: 'Helvetica Light', Helvetica, sans-serif;
	letter-spacing: -.02em;
	font-weight: 300;
	text-transform: uppercase;
}

h1.entry-title {
	font-size: .8rem;
	color: #7E7E7E;
	margin-top: 40px;
}

::-moz-selection {
	background: #f3f3f3!important;
	color: #CD000F!important;
}

::-webkit-selection {
	background: #f3f3f3!important;
	color: #CD000F!important;
}

::selection {
	background: #f3f3f3!important;
	color: #CD000F!important;
}

img::selection {
	background: #f3f3f3!important;
	color: #CD000F!important;
}

img::-moz-selection {
	background: #f3f3f3!important;
	color: #CD000F!important;
}

img::-webkit-selection {
	background: #f3f3f3!important;
	color: #CD000F!important;
}




/**
 Forms
 */

input {
	line-height: normal;
}

button,
button[disabled]:hover,
button[disabled]:focus,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus {
	border: 0;
	border-radius: 2px;
	text-transform: uppercase;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {

}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	outline: none;
	outline-offset: -4px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
	border-radius: 2px;

}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
	background-color: #fff;
	border-color: #007acc;
	color: #1a1a1a;
	outline: 0;
}

.post-password-form {
	margin-bottom: 1.75em;
}

.post-password-form label {

	text-transform: uppercase;
}

.post-password-form input[type="password"] {
}

.post-password-form > :last-child {
	margin-bottom: 0;
}

.search-form {
	position: relative;
}

input[type="search"].search-field {
	border-radius: 2px 0 0 2px;
	width: -webkit-calc(100% - 42px);
	width: calc(100% - 42px);
}

.search-submit:before {
	content: "\f400";
	left: 2px;
	line-height: 42px;
	position: relative;
	width: 40px;
}

.search-submit {
	border-radius: 0 2px 2px 0;
	bottom: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 42px;
}


/**
 * 6.0 - Navigation
 */

/**
 * 6.1 - Links
 */

a {
	color: #CD000F;
	text-decoration: none;
	opacity: 1;
	transition: opacity .5s ease-in;
}

a:hover,
a:focus,
a:active {
	color: #CD000F;
	opacity: .5;
}

a:focus {
	outline: 0;
}

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

a:hover {
	font-style: italic;
}




/**
 * 11.0 - Content
 */
html, body {
	height: 100%;
}

.site-inner {
	height: 110%;
}

/*
.home .site-inner {
  height: calc(100% - 110px)
}
*/

.site {
	color: #252525;
	height: 100%;
}

.site-inner, .site-header-main, .inner {
	margin: 0 auto;
	max-width: 980px;
	position: relative;
}

.site-branding img {
  width: 150px;
  height: auto;
}

.home .site-branding {
  position: relative;
  z-index: 999;
}

.site-header, .site-footer {
	padding: 20px 0px;
	position: relative;
	clear: both;
}

/* Fixed header on homepage */
.home .site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
/* 	background-color: rgba(241, 241, 241, 0.98); */
	z-index: 998;
	padding: 15px 0px;
}

.home .site-content {
	padding-top: 80px;
}

.site-footer {
	height: 20px;
  background-color: #f9f9f9;
}

#header {
/*   background-color: #f1f1f1; */
  padding: 15px 0px;
}

.overlay {
	display: none;
	z-index: 1000;
}

.entry-content {
	font-size: 1.3rem;
	line-height: 1.75rem;
}

#navigation {
	position: fixed;
	right: 20px;
	top: 2px;
	z-index: 999;
}

#nav-toggle {
	color: #7E7E7E;
	font-size: 24px;
	padding: 10px;
	cursor: pointer;
	display: block;
}

#nav-overlay {
	position: fixed;
	height: 100%;
	width: 100%;
	background: rgba(255,255,255,.95);
	left: 0px;
	top: 0px;
	z-index: 100;
	text-align: center;
}

#nav-overlay ul {
  margin-top: -140px;
  padding-start: 0px;
  -moz-padding-start: 0px;
  -webkit-padding-start: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -200px;
	width: 400px;
}

.overlay .close {
	font-family: 'Helvetica Light', Helvetica, sans-serif;
	font-size: 1.5rem;
	position: fixed;
	top: 15px;
	right: 35px;
	z-index: 1001;
}

#nav-overlay .close:hover {
	font-style: normal;
}

#nav-overlay ul li {
	list-style: none;
	font-family: 'Helvetica Light', Helvetica, sans-serif;
	font-weight: 300;
	font-size: 1.5em;
	width: 100%;
	text-transform: uppercase;
	letter-spacing: .05em;
	line-height: 2em;
}

#nav-overlay ul li a {
	cursor: pointer;
}

.page-template-page-splash #content {
	height: 100%;
}

.frame {
	height: 100%;
	width: 100%;

}

.frame .inner {
	display: block;
	vertical-align: middle;
}

#splash-top {
	display: table;
}

#splash-top .inner{
	display: table-cell;
}

#splash-top {
	background-color: #f1f1f1;
}

#splash-top .inner {
	width: 980px;
}

#splash-bottom {
	padding-top: 15%;
	height: auto;
}

#splash-bottom .inner {
	width: 980px;
}

#splash-headshot {
	width: 25%;
	float: left;
}

#splash-headshot img {
	width :100%;
	height: auto;
}

#splash-description {
	width: 73%;
	float: left;
	padding-left: 2%;
	font-size: 1.3em;
	line-height: 1.3em;
}

#splash-description p:first-child {
	margin-top: 0px;
}

#definition {
	margin: 0 auto;
	padding: 0 12.5%;
	font-size: 1.7em;
	line-height: 1.3em;
  font-family: 'Didot', 'Times New Roman', serif;
}


#definition .definition {
  margin: 20px 0px;
}
#definition .word strong{
	color: #CD000F;
	font-weight: 700;
}

.definition strong {
	font-weight: 700;
}

#copyright {
	width: 25%;
	float: left;
	font-size: 0.7em;
	display: block;
	margin-top: 20px;
  color: #252525;
  font-family: "Helvetica Light", Helvetica, sans-serif;
  font-weight: 300;
}

#badges {
	width: 25%;
	float: right;
	display: block;
}

.parent-pageid-13 .content-area {
	width: 70%;
	float: left;
	padding-right: 5%;
}

.page-template-page-case-studies .content-area {
  width: 100%;
  padding-right: 0px;
}

.parent-pageid-13 .sidebar {
	width: 100%;
	float: left;
}

.parent-pageid-13 .sidebar ul {
	padding-start: 0px;
	-moz-padding-start: 0px;
	-webkit-padding-start: 0px;
	margin-top: 0px;
  margin-bottom: 20px;
}

.parent-pageid-13 .sidebar li {
	list-style: none;
	font-size: .8em;
line-height: 1.3em;
  display: inline-block;
  margin-right: 10px;
}

.parent-pageid-13 .entry-content p {
  margin-top: 0px;
  margin-bottom: 20px;
}

.parent-pageid-13 .entry-title {
  margin-bottom: 20px;
}

.current_page_item a {
	font-style: italic;
}

.cs-thumb {
	float: left;
	width: 23%;
	margin-right: 2%;
	margin-bottom: 20px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
}

.cs-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cs-overlay {
	position: fixed;
	background-color: rgba(255,255,255,.95);
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	overflow-y: auto;
}

#badges {
  width: 25%;
  float: right;
  text-align: right;
}

#badges section {
  display: inline-block;
  margin-right: 10px;

}

#badges h2 {
  display: none;
}

#badges img {
  height: 40px!important;
  width: auto;
  margin-top: -10px;
}

.cs-overlay .ajax {
  width: 100%;
  height: auto !important;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: visible !important;
}

.cs-overlay .inner {
  height: auto !important;
}

.cs-slide {
  width: 100%;
  height: auto !important;
  display: block;
  /* font-family: "Helvetica Light", Helvetica, sans-serif; */
  font-size: 1.3em;
  line-height: 1.5em;
}

.cs-content-wrap {
  margin: 0 auto;
  max-width: 1200px;
  height: auto !important;
  display: block !important;
}

.cs-content {
  padding: 20px 5%;
  height: auto !important;
  display: block !important;
  vertical-align: top !important;
}

.cs-caption {
  text-align: left;
  font-size: .7em;
  line-height: 1.2em;
  font-family: 'Helvetica Light', Helvetica, sans-serif;
  font-weight: 300;
}

.cs-caption p {
  margin-top: 0px;
}

.cs-overlay .frame {
  overflow: scroll;
}

.cs-image-full {
  text-align: center;
}

.cs-image-full img {
  max-width: 100%;
  width: auto;
  max-height: 500px;
  height: auto;
}

.cs-title {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: normal;
}

.cs-description {
  margin-top: 20px;
  text-align: left;
}

#cs-nav {
  position: absolute;
  top: 50%;
  margin-top: -1em;
  font-size: 2em;
  width: calc(100% - 40px);
  padding: 0 20px;
  z-index: 1001;
}

.cs-next {
  float: right;
}

@media screen and (max-width : 980px){

  #definition {
    padding: 0 5%;
    font-size: 1.5em;
  }

  .inner {
    width: 90%!important;
  }

  .site-header, .site-footer {
    padding: 20px 5%;
  }

  #header {
    padding: 10px 5%;
  }

  #splash-bottom {
    padding: 15% 5% 0px 5%;
  }

  #splash-description {
    width: 60%;
    padding-left: 3%;
  }

  #copyright, #badges {
    width: auto;
  }

  .parent-pageid-13 .content-area {
    width: 65%;
    float: left;
    padding: 0 5%;
  }

  .page-template-default #content {
    padding: 0 5%;
  }

}


@media screen and (max-width : 460px){

  #definition {
    font-size: 1.2em;
    line-height: 1.3em;
  }

  #splash-top, #splash-bottom {
    padding: 0px;
    padding-top: 15%;
  }

  #splash-headshot {
    float: none;
    width: 45%;
    margin-bottom: 10px;
  }

  #splash-description {
    padding-left: 0px;
    float: none;
    width: 90%;
    font-size: 1.0em;
    line-height: 1.3em;

  }

  .overlay .close {
    top: 10px;
    top: 15px;
  }

  .parent-pageid-13 .content-area {
    width: 90%;
/*     float: left; */
    padding: 0px 5%;
/*     margin-top: 130px; */
  }

  .parent-pageid-13 .sidebar {
    position: absolute;
    left: 5%;
    margin-top: 20px;
    float: none;
    width: 100%;
  }

  h1.entry-title {
/*     display: none; */
  }

  #cs-nav {
    display: none;
  }

  .cs-content {
    display: block;
    padding: 0 5%;
  }

  .cs-content-wrap {
    display: block;
  }

  .cs-slide {
    margin-bottom: 40px;
      height: auto;
      font-size: 1em;
  }

  .cs-overlay .frame {
    height: auto;
    overflow: hidden;
  }

  .ajax {
    overflow: scroll;
    padding-top: 80px;
  }

  .cs-caption {
    font-size: 1em;
    line-height: 1.3em;
    padding-bottom: 40px;
  }



  .site-inner {
    height: auto!important;
  }

  #nav-overlay ul li {
    font-size: 1em;
    line-height: 2em;
  }

  .entry-content {
    font-size: 1em;
    line-height: 1.3em;
  }

  .site-footer {
    padding: 0px;
  }

  #copyright, #badges {
    width: 100%;
    float: none;
    display: block;
    text-align: left;
  }

  #badges img {
    margin-top: 10px;
  }

}
