/*

Theme Name: Bil Zelman

Author: Design Web - Sean Harrington

Author URI: http://designweblouisville.com

Description: Masonry Gallery Template for Bil Zelman photography

Version: 1.0.0

*/

/*--------------------------------------------------------------

>>> TABLE OF CONTENTS:

----------------------------------------------------------------

# Font Import

# Normalize

# Typography

# Elements

# Forms

# Navigation

## Links

## Menus

# Accessibility

# Alignments

# Clearings

# Widgets

# Content

## Posts and pages

## Asides

## Comments

# Infinite scroll

# Media

## Captions

## Galleries

--------------------------------------------------------------*/

/*--------------------------------------------------------------

# Font Import

--------------------------------------------------------------*/

@import url("//hello.myfonts.net/count/3083ac");

@font-face {
  font-family: "OfficinaDisplayITCStd-Light";
  src: url("/webfonts/3083AC_0_0.eot");
  src: url("/webfonts/3083AC_0_0.eot?#iefix") format("embedded-opentype"),
    url("/webfonts/3083AC_0_0.woff2") format("woff2"),
    url("/webfonts/3083AC_0_0.woff") format("woff"),
    url("/webfonts/3083AC_0_0.ttf") format("truetype");
}

@font-face {
  font-family: "OfficinaDisplayITCStd-Regular";
  src: url("/webfonts/3083AC_1_0.eot");
  src: url("/webfonts/3083AC_1_0.eot?#iefix") format("embedded-opentype"),
    url("/webfonts/3083AC_1_0.woff2") format("woff2"),
    url("/webfonts/3083AC_1_0.woff") format("woff"),
    url("/webfonts/3083AC_1_0.ttf") format("truetype");
}

@font-face {
  font-family: "ScherzoStd-Regular";
  src: url("/webfonts/3083AC_2_0.eot");
  src: url("/webfonts/3083AC_2_0.eot?#iefix") format("embedded-opentype"),
    url("/webfonts/3083AC_2_0.woff2") format("woff2"),
    url("/webfonts/3083AC_2_0.woff") format("woff"),
    url("/webfonts/3083AC_2_0.ttf") format("truetype");
}

/*--------------------------------------------------------------

# Normalize

--------------------------------------------------------------*/

html {
  font-family: "OfficinaDisplayITCStd-Light", Arial, sans-serif;

  -webkit-text-size-adjust: 100%;

  -ms-text-size-adjust: 100%;
}

body {
  margin: 0 auto;

  max-width: 99%;

  min-width: 320px;
}

.home .loadingp {
  display: block;
}

.mainhome {
  visibility: hidden;
}

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;
}

* {
  box-sizing: border-box;
  outline: none;
}

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-appearance: textfield;

  box-sizing: content-box;
}

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 {
  color: #808285;

  font-family: "OfficinaDisplayITCStd-Light", Arial, sans-serif;

  font-size: 16px;

  font-size: 1rem;

  line-height: 1.5;
}

.light {
  font-family: "OfficinaDisplayITCStd-Light", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

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, 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: 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%;
}

.bzlogo {
  font-family: "ScherzoStd-Regular";

  text-transform: uppercase;
}

/*--------------------------------------------------------------

# Elements

--------------------------------------------------------------*/

html {
  box-sizing: border-box;
}

.loadingp > img {
  display: none;

  left: 0;

  margin: 0 auto;

  position: absolute;

  right: 0;

  top: 25%;

  max-height: 500px;

  z-index: 99999;
}

.loadingp {
  bottom: 0;

  left: 0;

  position: fixed;

  right: 0;

  top: 0;

  z-index: 99999;

  background: #fff;
}

*,
*: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. */
}

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. */
}

table {
  margin: 0 0 1.5em;

  width: 100%;
}

/*--------------------------------------------------------------

# Forms

--------------------------------------------------------------*/

button.menu-toggle {
  border: 0 none;

  background: none;

  padding: 0.6em 1em 0.4em;

  position: absolute;

  top: 10px;

  right: 10px;
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 15px 17px rgba(255, 255, 255, 0.8),
    inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

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;

  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5),
    inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

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;
}

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;
}

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"] {
  padding: 3px;
}

textarea {
  padding-left: 3px;

  width: 100%;
}

/*--------------------------------------------------------------

# Navigation

--------------------------------------------------------------*/

/*--------------------------------------------------------------

## Links

--------------------------------------------------------------*/

a {
  color: royalblue;
}

a:visited {
  color: purple;
}

a:hover,
a:focus,
a:active {
  color: midnightblue;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/*--------------------------------------------------------------

## Menus

--------------------------------------------------------------*/

.main-navigation {
  clear: both;

  display: inline-block;

  position: relative;

  vertical-align: top;

  z-index: 9999;
}

.main-navigation ul {
  list-style: none;

  margin: 0;

  padding-left: 0;
}

.main-navigation li {
  display: block;

  position: relative;
}

.main-navigation a {
  display: inline-block;

  text-decoration: none;

  font-family: "OfficinaDisplayITCStd-Light", Arial, sans-serif;
}

.entry-content.masonry {
  width: 100% !important;

  transition: 0.2s ease all;
}

.site-title {
  display: block;

  text-align: center;

  text-decoration: none;

  text-transform: uppercase;

  font-family: "ScherzoStd-Regular";
}

.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%;
}

/* Small menu. */

.menu-toggle {
  display: block;
}

.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 {
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  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;
}

.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%;
}

/*--------------------------------------------------------------

# Content

--------------------------------------------------------------*/

/*--------------------------------------------------------------

## 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;
}

/*--------------------------------------------------------------

## Asides

--------------------------------------------------------------*/

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}

/*--------------------------------------------------------------

## 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;
}

.masonry {
  margin: 0 auto;

  transition: 0.2s ease all;
}

.masonry img {
  opacity: 0;
}

.grid-item > a {
  color: #414042;

  text-align: center;

  text-decoration: none;
}

.grid-item h2,
.grid-item p {
  color: #808285;

  line-height: 1.1em;

  margin: 0;
}

.grid-item h2 {
  font-size: 0.9em;

  font-weight: 300;

  padding: 3px 0 0;

  text-transform: uppercase;
}

.grid-item p {
  font-size: 0.9em;

  padding: 0 0 20px;
}

.site-content {
  display: inline-block;

  vertical-align: top;
}

.main-navigation a {
  font-size: 0.95em;

  text-transform: uppercase;

  color: #808285;

  letter-spacing: 2px;

  text-decoration: none;

  padding: 0px 5px 2px 25px;

  transition: 0.2s linear all;

  font-family: "OfficinaDisplayITCStd-Light", Arial, sans-serif;

  white-space: nowrap;

  outline: none !important;
}

.main-navigation li a:hover {
  color: #005387;
}

footer {
  background: #fff none repeat scroll 0 0;

  bottom: 0;

  position: fixed;

  width: 100%;

  z-index: 99997;
}

.site-info p {
  font-family: OfficinaDisplayITCStd-Light;

  font-size: 15px;

  letter-spacing: 1px;
}

.site-info p a {
  color: #808285;

  text-decoration: none;

  transition: 0.2s ease all;
}

.site-info p a:hover {
  color: #000;
}

.loading1 {
  background-image: url("/wp-content/themes/bil-zelman/img/load.gif");

  background-position: center center;

  background-repeat: no-repeat;

  min-height: 150px;

  min-width: 100%;
}

.grid-item {
  margin-left: 10px;

  margin-right: 10px;

  cursor: pointer;

  display: inline-block;
}

.grid-item img {
  width: 100%;
}

.full-item {
  width: 100% !important;
}

.full-item > img {
  display: block;

  width: 100%;
}

.blog .entry-content .grid-item:nth-child(n + 4) {
  display: none;
}

.entry-content > div {
  line-height: 1.2em;

  text-align: center;

  position: relative;

  transition: 0.2s ease all;

  min-height: 1000px;
}

.grid > ul {
  padding-left: 0 !important;

  margin-left: 0 !important;
}

.grid {
  margin-top: 50px;

  margin-bottom: 50px;
}

.motion .grid-item > p {
  text-align: center;
}

.entry-title {
  font-size: 1.8em;

  margin: 0;

  text-align: center;
}

.entry-content {
  margin: 0;
}

.entry-header {
  padding-bottom: 10px;
}

.entry-meta {
  font-size: 0.8em;

  text-align: center;
}

.page-template-page-full-commission .menu-item:nth-of-type(2) a {
  background: #194d75 none repeat scroll 0 0;

  color: #fff;
}

.page-template-page-full-motion .menu-item:nth-of-type(3) a {
  background: #194d75 none repeat scroll 0 0;

  color: #fff;
}

.infobanner {
  display: block;

  margin: 0 auto;

  max-width: 640px;

  width: 100%;
}

.infosummaryheader > h3 {
  color: #000;

  font-size: 1em;

  font-weight: bold;

  text-align: center;
}

.infobanner > img {
  width: 100%;
}

.infosection1 {
  margin: 30px auto;

  max-width: 1200px;

  color: #6f6f6f;
}

.topinfoleft {
  padding: 0 0 10px !important;
}

.riadpic {
  padding-top: 20px;
}

video {
  width: 100%;

  height: auto;
}

.bwbannersect > img {
  width: 100%;
}

/*.bottomcols div {

-webkit-columns: 3 200px;

-moz-columns: 3 200px;

columns: 3 200px;

}*/

.bottomcols p {
  display: inline-block;

  margin: 0;

  padding-bottom: 20px;

  vertical-align: top;
}

/*--------------------------------------------------------------

## Hover Front Page

--------------------------------------------------------------*/

.imgspan {
  position: relative;

  display: block;
}

.hoverrel {
  background: rgba(255, 255, 255, 0.7);

  height: 98.8%;

  left: 0;

  top: 0;

  position: absolute;

  transition: all 0.5s ease 0s;

  -webkit-transition: all 0.5s ease 0s;

  width: 100%;

  font-family: "times_new_vespasianregular";

  opacity: 0.5;
}

.roman {
  color: #005387;

  display: block;

  font-family: "times_new_vespasianregular";

  font-size: 8em;

  position: absolute;

  text-align: center;

  top: 20%;

  width: 100%;

  z-index: 99;
}

.hoverrel img {
  max-height: 100px;

  min-height: 100px;

  height: auto;

  display: block;

  position: absolute;

  top: 50%;

  left: 50%;

  width: auto !important;

  transform: translate(-50%, -50%);
}

.fadedstatic {
  opacity: 0;

  transition: all 0.5s ease 0s;

  -webkit-transition: all 0.5s ease 0s;
}

.imgspan:hover .fadedstatic {
  opacity: 1;

  transition: all 0.5s ease 0s;

  -webkit-transition: all 0.5s ease 0s;
}

.infocols > p {
  line-height: 1.3em;

  margin: 0;

  padding: 0;
}

.infocols > h3 {
  font-size: 1.1em;

  font-weight: bold;

  text-transform: uppercase;
}

.home .site-title {
  margin: 0;

  padding-bottom: 20px;

  padding-top: 50px;
}

.site-branding {
  position: relative;

  transition: all 0.5s ease 0s;
}

.modalwind {
  background: #fff none repeat scroll 0 0;

  display: none;

  height: 100vh;

  position: fixed;

  text-align: center;

  top: 0;

  width: 87%;
}

.modalwind > img {
  border: 10px solid #000;

  height: 100vh;
}

.modalwindclose {
  background: #2c2c2c none repeat scroll 0 0;

  color: #fff;

  cursor: pointer;

  font-size: 3em;

  font-weight: 900;

  padding: 2px 10px;

  position: absolute;

  right: 10%;

  text-align: center;

  top: 20px;

  z-index: 999;
}

.grid-item > img,
.blogpostsect .grid-item > a > img {
  display: block;

  margin: 10px auto;

  max-height: 100vh;

  width: 100%;
}

img.loadimg {
  position: absolute;

  top: 40% !important;

  margin: 0 auto;

  left: 0;

  right: 0;
}

.contactfootinfo {
  display: inline-block;

  vertical-align: middle;
}

.contactfootinfo > p {
  margin: 0;

  padding: 0;
}

.blog .grid-item img {
  height: 100vh !important;

  padding: 10px;

  width: auto;
}

.blog .grid-item {
  width: auto;
}

.fullwidthbang .grid-item {
  display: block;

  height: 100vh !important;

  left: 0 !important;

  position: relative !important;

  top: 0 !important;

  width: 100% !important;
}

.grid.fullwidthbang {
  height: auto !important;
}

.site-title img {
  width: 100%;
}

.entry-header {
  display: none;
}

.blog .entry-header {
  display: block !important;
}

.sidelogo img {
  width: 100%;

  padding: 40px 30px 20px;

  max-width: 190px;

  transition: 1s ease all;

  position: relative;
}

.interiorpage .site-title {
  padding: 0px 50px;

  position: fixed;
}

.main-navigation li.current-menu-item a {
  color: #005387;

  transition: 0.2s ease all;
}

.galimg {
  width: 100%;
}

footer .site-info {
  background: #fff none repeat scroll 0 0;

  color: #808285;

  display: block;

  padding: 10px;

  text-align: center;

  width: 100%;
}

.blogitemdescription {
  margin: 0;

  padding: 0 0 20px;

  text-align: center;

  color: #808285;
}

.blog .grid {
  margin-top: 20px;
}

.motion .imgspan img {
  display: block !important;

  margin: 0 auto 10px;

  max-width: 400px;
}

.blogwrapper {
  position: relative;

  padding-bottom: 56.25%; /* 16:9 */

  padding-top: 25px;

  height: 0;
}

.blogwrapper iframe {
  border: 0 none;

  height: 90vh;

  left: 0;

  position: absolute;

  top: 50px;

  width: 100%;
}

.infocols.infocol1 {
  padding-left: 10px;
}

.bottomcols {
  display: block;

  padding-bottom: 70px;

  padding-left: 10px;
}

img {
  -webkit-user-select: none;

  -khtml-user-select: none;

  -moz-user-select: none;

  -o-user-select: none;

  user-select: none;

  outline: none;
}

img::-moz-selection {
  background-color: transparent;

  color: #000;
}

img::selection {
  background-color: transparent;

  color: #000;
}

.grid-item img:hover {
  opacity: 0.8 !important;

  transition: 0.3s ease all;
}

.vidspan img {
  display: block;
}

/*--------------------------------------------------------------

## Responsive

--------------------------------------------------------------*/

@media (min-width: 1200px) {
  .single footer .site-info,
  .page-template-page-commission-php footer .site-info,
  .page-template-page-newmotion footer .site-info {
    bottom: 0;

    position: fixed;

    right: 0;

    left: 0;
  }

  .footerhand {
    display: inline-block;
  }

  .site-info > p {
    display: inline-block;

    padding-left: 60px;

    padding-top: 12px;

    vertical-align: top;
  }
  /*
.site-info p a {

padding-left: 15px;

}
*/

  .grid-item {
    display: inline-block;

    min-height: 100px;

    vertical-align: top;
  }

  .grid-item.grid1 {
    width: 100%;
  }

  .grid-item.grid2 {
    width: 48%;
  }

  .grid-item.grid3,
  .mainhome .grid-item {
    width: 31%;
  }

  .grid-item.grid4 {
    width: 23%;
  }

  .grid-item.grid5 {
    width: 18%;
  }

  .grid-item.grid6 {
    width: 14%;
  }

  .grid-item.grid7 {
    width: 12%;
  }

  .grid-item.grid8 {
    width: 10.5%;
  }

  .bottomcols p {
    width: 33%;
  }
}

@media (max-width: 1199px) {
  .grid-item img {
    width: 100%;
  }

  .site-content {
    padding: 0 20px;
  }

  .site-branding {
    padding: 0 20px;
  }

  .site-info span {
    display: block;

    margin: 0;

    text-align: center;
  }

  .footerhand {
    margin: 20px 0;

    text-align: center;
  }

  .site-info > p::after,
  .site-info > p:first-of-type::before {
    background: rgba(0, 0, 0, 0)
      url("/wp-content/themes/bil-zelman/img/footerline.jpg") no-repeat scroll 0
      0;

    content: "";

    display: block;

    height: 10px;

    width: 300px;

    margin: 0 auto;
  }

  .email {
    padding-bottom: 20px;
  }

  .studio {
    padding-top: 12px;
  }
}

@media (min-width: 825px) and (max-width: 1199px) {
  .grid-item.grid1 {
    min-width: 300px;

    width: 48%;
  }

  .grid-item.grid2 {
    min-width: 300px;

    width: 31%;
  }

  .grid-item.grid3 {
    min-width: 300px;

    width: 23%;
  }

  .grid-item.grid4 {
    min-width: 300px;

    width: 20%;
  }

  .grid-item.grid5 {
    min-width: 300px;

    width: 18%;
  }

  .grid-item.grid6 {
    min-width: 300px;

    width: 15%;
  }

  .grid-item.grid7 {
    min-width: 300px;

    width: 12%;
  }

  .grid-item.grid8 {
    min-width: 300px;

    width: 10%;
  }
}

@media (min-width: 825px) {
  .site-content {
    width: 85%;
  }

  .bodycontent {
    display: flex;

    flex-wrap: nowrap;

    align-items: flex-start;

    justify-content: space-between;
  }

  .main-navigation {
    width: 13%;

    min-width: 240px;
  }

  .sidelogo {
    min-width: 190px;

    transition: 0.5s ease all;
  }

  #site-navigation > div {
    background: #fff none repeat scroll 0 0;

    height: 100vh;

    padding-bottom: 20px;

    position: fixed;
  }

  .main-navigation ul:hover li.current-menu-item a {
    color: #005387;

    transition: 0.2s ease all;
  }

  .main-navigation ul {
    width: 240px;

    margin-left: 7px;

    transition: 0.2s ease all;
  }

  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: block;
  }

  .infocols {
    display: inline-block;

    padding: 30px 50px 60px 0;

    vertical-align: top;

    width: 32%;
  }

  .infocols.infocol3 {
    padding: 30px 0 60px !important;
  }

  .site-title img {
    max-width: 500px;
  }
}

@media (max-width: 824px) {
  .grid-item {
    width: 100%;

    display: block;
  }

  .site-content {
    width: 98%;
  }

  .site-title img {
    max-width: 400px;

    padding-top: 20px;
  }

  .main-navigation {
    min-width: 100%;
  }

  .main-navigation ul {
    overflow: hidden;

    padding-top: 0;

    padding-bottom: 0;

    height: 0;

    -webkit-transition: height 0.3s linear, padding-top 0.3s linear,
      padding-bottom 0.3s linear, border-top-width 0.3s linear,
      border-top-width 0.3s linear;

    transition: height 0.3s linear, padding-top 0.3s linear,
      padding-bottom 0.3s linear, border-top-width 0.3s linear,
      border-top-width 0.3s linear;
  }

  .toggled ul {
    height: auto;

    padding: 0 0 20px;

    -webkit-transition: height 0.3s linear, padding-top 0.3s linear,
      padding-bottom 0.3s linear, border-top-width 0.3s linear,
      border-top-width 0.3s linear;

    transition: height 0.3s linear, padding-top 0.3s linear,
      padding-bottom 0.3s linear, border-top-width 0.3s linear,
      border-top-width 0.3s linear;
  }

  .infocols {
    display: block;

    width: 100%;

    padding: 15px;
  }
}

@media (max-width: 500px) {
  .loadingp > img {
    max-height: 300px !important;
  }
}

/* Content Page Hover Function */

.fslightbox,
.fslightbox > div {
  display: none;
}

@media (min-width: 825px) {
  .bigshow {
    display: block !important;
  }

  .fslightbox {
    bottom: 0;

    left: 0;

    position: fixed;

    right: 0;

    top: 0;

    z-index: 99;

    background: #fff none repeat scroll 0 0;
  }

  .grid > ul {
    list-style: outside none none;
  }
  .prevthird,
  .nextthird,
  .homethird {
    display: block;
  }

  .lbgriditem {
    display: block;

    /*left: calc(50% + 150px);*/
    left: 50%;

    margin: 20px auto;

    max-height: 100vh;

    /* min-height:90vh; */

    max-width: calc(100% - 300px);

    position: fixed;

    top: 50%;

    transform: translate(-50%, -50%);

    width: auto;

    padding-right: 2%;

    padding-top: 30px;

    padding-bottom: 3.5%;
  }

  .motion .lbgriditem {
    min-width: 75%;
  }

  .commplaybutton {
    bottom: 0;

    font-size: 0;

    left: 0;

    position: absolute;

    text-decoration: none;

    text-shadow: 0 0 3px #000;

    top: 0;

    transition: all 0.3s ease 0s;

    width: 100%;
  }

  .prevthird {
    bottom: 0;

    cursor: url("/wp-content/themes/bil-zelman/img/leftarrowcursor.png") 50 25,
      pointer;

    left: 0;

    position: absolute;

    top: 0;

    width: 33%;
  }

  .nextthird {
    bottom: 0;

    cursor: url("/wp-content/themes/bil-zelman/img/rightarrowcursor.png") 50 25,
      pointer;

    position: absolute;

    right: 0;

    top: 0;

    width: 33%;
  }

  .homethird {
    bottom: 0;

    cursor: url("/wp-content/themes/bil-zelman/img/cursorblocks.png") 50 25,
      pointer;

    left: 33%;

    position: absolute;

    top: 0;

    width: 33%;
  }

  .prevthird,
  .nextthird {
    font-size: 0;
  }
}

.sidelogo a {
  padding: 0;
}

.blog .entry-title > a {
  color: #000;

  font-family: serif;

  font-weight: 100;

  text-decoration: none;
}

.blogdate {
  background: #fff none repeat scroll 0 0;

  box-sizing: unset;

  left: 0;

  margin: -10px auto 0;

  max-width: 100px;

  padding: 10px 20px;

  position: absolute;

  right: 0;

  text-align: center;
}

.grid-item2 {
  display: block;

  width: 100%;

  height: auto;
}

.grid-item2 img {
  width: 100%;

  height: auto;

  display: block;
}

.blog .page-title {
  color: #000;

  font-size: 4em;

  line-height: 1.3em;

  margin: 0;

  padding: 30px 0 0;

  text-align: center;
}

.blog .page-subtitle {
  margin: 0;

  padding: 10px 0 50px;

  text-align: center;

  color: #1c6293;

  font-size: 2em;

  font-style: italic;
}

.datewrap {
  border-top: 1px solid #ccc;

  display: block;

  line-height: 1px;

  margin: 15px 0 50px;

  position: relative;

  width: 100%;
}

.blog .site-content {
  display: block;

  margin: 0 auto;

  max-width: 800px;
}

#page {
  position: relative;
}

.vidspan h2,
.vidspan p {
  text-align: center;
}

.lightbox_trigger {
  cursor: pointer;
}

#lightbox {
  bottom: 0;

  display: none;

  left: 0;

  margin: 0 auto;

  position: fixed;

  right: 0;

  top: 0;

  z-index: 9998;

  cursor: pointer;
}

#lightbox video {
  float: right;

  /*padding: 40px 40px 40px 225px;*/
  padding: 40px;

  position: relative;

  /*max-height: 85vh;*/
  max-height: 95vh;*
}

.lightboxclose {
  background-color: #666;

  border-radius: 10px;

  color: #fff;

  cursor: pointer;

  display: none;

  font-size: 1.4em;

  font-weight: bold;

  padding: 5px 20px;

  position: fixed;

  left: 250px;

  /*top: 50px;*/
  top: 90px;

  z-index: 999999;
}

.site-info.bumpright {
  margin-left: 200px;
}

.wp-video > div {
  display: block !important;

  width: 100% !important;
}

.wp-video {
  display: block;

  margin: 50px auto;

  width: 100% !important;
}

.attachment .mejs-controls {
  display: none !important;
}

.mejs-overlay.mejs-layer.mejs-overlay-play {
  height: 100% !important;

  width: 100% !important;
}

.error404 .loadingp {
  display: none !important;
}

/* New Grid */

.flexgrid {
  display: flex;

  align-items: stretch;

  justify-content: space-between;

  flex-wrap: wrap;
}

@media (min-width: 1200px) {
  .flex-grid1 {
    width: 100%;

    margin-bottom: 20px;
  }

  .flex-grid2 {
    width: calc(50% - 25px);

    margin-bottom: 20px;
  }

  .flex-grid3 {
    width: calc(33% - 25px);

    margin-bottom: 20px;
  }

  .flex-grid4 {
    width: calc(25% - 25px);

    margin-bottom: 20px;
  }

  .flex-grid5 {
    width: calc(20% - 25px);

    margin-bottom: 20px;
  }

  .flex-grid6 {
    width: calc(16% - 25px);

    margin-bottom: 10px;
  }

  .flex-grid7 {
    width: calc(14% - 25px);

    margin-bottom: 20px;
  }

  .flex-grid8 {
    width: calc(12% - 25px);

    margin-bottom: 20px;
  }
}

@media (max-width: 1199px) and (min-width: 1100px) {
  .flex-grid1 {
    width: 100%;

    margin-bottom: 20px;
  }

  .flex-grid2 {
    width: 48%;

    margin-bottom: 20px;
  }

  .flex-grid3 {
    width: 32%;

    margin-bottom: 20px;
  }

  .flex-grid4 {
    width: 24%;

    margin-bottom: 20px;
  }

  .flex-grid5 {
    width: 19%;

    margin-bottom: 20px;
  }

  .flex-grid6,
  .flex-grid7,
  .flex-grid8 {
    width: 16%;

    margin-bottom: 20px;
  }
}

@media (max-width: 1099px) and (min-width: 1000px) {
  .flex-grid1 {
    width: 100%;

    margin-bottom: 20px;
  }

  .flex-grid2 {
    width: 48%;

    margin-bottom: 20px;
  }

  .flex-grid3 {
    width: 32%;

    margin-bottom: 20px;
  }

  .flex-grid4 {
    width: 24%;

    margin-bottom: 20px;
  }

  .flex-grid5,
  .flex-grid6,
  .flex-grid7,
  .flex-grid8 {
    width: 19%;

    margin-bottom: 20px;
  }
}

@media (max-width: 999px) and (min-width: 900px) {
  .flex-grid1 {
    width: 100%;

    margin-bottom: 20px;
  }

  .flex-grid2 {
    width: 48%;

    margin-bottom: 20px;
  }

  .flex-grid3 {
    width: 32%;

    margin-bottom: 20px;
  }

  .flex-grid4,
  .flex-grid5,
  .flex-grid6,
  .flex-grid7,
  .flex-grid8 {
    width: 24%;

    margin-bottom: 20px;
  }
}

.flexgrid h2 {
  font-size: 0.9em;

  font-weight: 300;

  padding: 3px 0 0;

  text-transform: uppercase;
}

.main-navigation li:nth-of-type(5)::after,
.main-navigation li:nth-of-type(9)::after {
  content: "";

  border-bottom: 2px solid #ccc;

  display: block;

  max-width: 100px;

  margin-left: 25px;

  padding-top: 10px;

  margin-bottom: 10px;
}
