/* =Reset
-------------------------------------------------------------- */
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, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  overflow-y: scroll;
  /* Keeps page centred in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after {
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

ol, ul {
  list-style: none;
}

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

caption, th, td {
  font-weight: normal;
  text-align: left;
}

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

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

a:focus {
  outline: thin dotted;
}

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

a img {
  border: 0;
}

.button, .button--white, .button--blue {
  display: inline-block;
  border-radius: 6px;
  -webkit-transition: background-color 0.15s ease, color 0.15s ease;
  transition: background-color 0.15s ease, color 0.15s ease;
  padding: 4px 16px;
  text-decoration: none;
  font-size: 18px;
  border-width: 1px;
  border-style: solid;
}

.clearfix::after, .clear::after,
.entry-content::after,
.comment-content::after,
.site-content::after,
.site-footer::after, .gallery::after {
  clear: both;
  content: '';
  display: table;
}

.p-0 {
  padding: 0;
}

.pt {
  padding-top: 16px;
}

.pt-1 {
  padding-top: 16px;
}

.pt-2 {
  padding-top: 32px;
}

.pt-3 {
  padding-top: 48px;
}

.pt-4 {
  padding-top: 64px;
}

.pt-5 {
  padding-top: 80px;
}

.pt-6 {
  padding-top: 96px;
}

.pr {
  padding-right: 16px;
}

.pr-1 {
  padding-right: 16px;
}

.pr-2 {
  padding-right: 32px;
}

.pr-3 {
  padding-right: 48px;
}

.pr-4 {
  padding-right: 64px;
}

.pr-5 {
  padding-right: 80px;
}

.pr-6 {
  padding-right: 96px;
}

.pb {
  padding-bottom: 16px;
}

.pb-1 {
  padding-bottom: 16px;
}

.pb-2 {
  padding-bottom: 32px;
}

.pb-3 {
  padding-bottom: 48px;
}

.pb-4 {
  padding-bottom: 64px;
}

.pb-5 {
  padding-bottom: 80px;
}

.pb-6 {
  padding-bottom: 96px;
}

.pl {
  padding-left: 16px;
}

.pl-1 {
  padding-left: 16px;
}

.pl-2 {
  padding-left: 32px;
}

.pl-3 {
  padding-left: 48px;
}

.pl-4 {
  padding-left: 64px;
}

.pl-5 {
  padding-left: 80px;
}

.pl-6 {
  padding-left: 96px;
}

.m-0 {
  margin: 0;
}

.mt {
  margin-top: 16px;
}

.mt-1 {
  margin-top: 16px;
}

.mt-2 {
  margin-top: 32px;
}

.mt-3 {
  margin-top: 48px;
}

.mt-4 {
  margin-top: 64px;
}

.mt-5 {
  margin-top: 80px;
}

.mt-6 {
  margin-top: 96px;
}

.mr {
  margin-right: 16px;
}

.mr-1 {
  margin-right: 16px;
}

.mr-2 {
  margin-right: 32px;
}

.mr-3 {
  margin-right: 48px;
}

.mr-4 {
  margin-right: 64px;
}

.mr-5 {
  margin-right: 80px;
}

.mr-6 {
  margin-right: 96px;
}

.mb {
  margin-bottom: 16px;
}

.mb-1 {
  margin-bottom: 16px;
}

.mb-2 {
  margin-bottom: 32px;
}

.mb-3 {
  margin-bottom: 48px;
}

.mb-4 {
  margin-bottom: 64px;
}

.mb-5 {
  margin-bottom: 80px;
}

.mb-6 {
  margin-bottom: 96px;
}

.ml {
  margin-left: 16px;
}

.ml-1 {
  margin-left: 16px;
}

.ml-2 {
  margin-left: 32px;
}

.ml-3 {
  margin-left: 48px;
}

.ml-4 {
  margin-left: 64px;
}

.ml-5 {
  margin-left: 80px;
}

.ml-6 {
  margin-left: 96px;
}

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

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

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  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 */
}

/* Clearing */
/*******

This theme supports 6 responsive breakpoints

*******/
.wrap {
  max-width: 87.5%;
  margin: 0 auto;
  overflow: hidden;
}

.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol {
  float: left;
  margin-right: 0;
}

.onecol {
  width: 100%;
}

.twocol {
  width: 100%;
}

.threecol {
  width: 100%;
}

.fourcol {
  width: 100%;
}

.fivecol {
  width: 100%;
}

.sixcol {
  width: 100%;
}

.sevencol {
  width: 100%;
}

.eightcol {
  width: 100%;
}

.ninecol {
  width: 100%;
}

.tencol {
  width: 100%;
}

.elevencol {
  width: 100%;
}

.twelvecol {
  width: 100%;
}

.last {
  margin-right: 0 !important;
}

@media only screen and (min-width: 480px) {
  .onecol {
    width: 50%;
  }
  .twocol {
    width: 50%;
  }
  .threecol {
    width: 50%;
  }
  .fourcol {
    width: 50%;
  }
  .fivecol {
    width: 50%;
  }
  .sixcol {
    width: 50%;
  }
  .sevencol {
    width: 50%;
  }
  .eightcol {
    width: 50%;
  }
  .ninecol {
    width: 100%;
  }
  .tencol {
    width: 100%;
  }
  .elevencol {
    width: 100%;
  }
  .twelvecol {
    width: 100%;
  }
}

@media only screen and (min-width: 768px) {
  .wrap {
    max-width: 94.79%;
    padding: 0 20px;
  }
  .onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol {
    margin-right: 2.13%;
  }
  .onecol {
    width: 6.38%;
  }
  .twocol {
    width: 14.89%;
  }
  .threecol {
    width: 23.4%;
  }
  .fourcol {
    width: 31.91%;
  }
  .fivecol {
    width: 37.42%;
  }
  .sixcol {
    width: 48.93%;
  }
  .sevencol {
    width: 57.44%;
  }
  .eightcol {
    width: 65.95%;
  }
  .ninecol {
    width: 74.46%;
  }
  .tencol {
    width: 82.97%;
  }
  .elevencol {
    width: 91.48%;
  }
  .twelvecol {
    width: 99.99%;
  }
}

@media only screen and (min-width: 1024px) {
  .wrap {
    max-width: 940px;
    padding: 0 10px;
  }
}

@media only screen and (min-width: 1280px) {
  .wrap {
    max-width: 1200px;
    padding: 0 40px;
  }
}

@media only screen and (min-width: 1360px) {
  .wrap {
    max-width: 1420px;
    padding: 0 40px;
  }
}

body,
button,
input,
select,
textarea {
  color: #000000;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 300;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
}

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

/* Text elements */
p {
  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;
}

b, strong {
  font-weight: bold;
}

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: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  padding: 1em;
  overflow: auto;
  max-width: 100%;
}

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

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

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

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

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}

figure {
  margin: 0;
}

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

th {
  font-weight: bold;
}

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

/* Links */
a {
  color: #0e8caf;
}

a:hover {
  color: #031b21;
}

button,
input,
select,
textarea {
  font-size: 100%;
  /* Corrects font size not being inherited in all browsers */
  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  vertical-align: baseline;
  /* Improves appearance and consistency in all browsers */
  *vertical-align: middle;
  /* Improves appearance and consistency in all browsers */
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
  /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */
  -webkit-box-sizing: content-box;
  /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  border: 0;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 3px;
}

textarea {
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */
  padding-left: 3px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */
  width: 98%;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul li {
  float: left;
  position: relative;
}

.main-navigation ul li a {
  display: block;
  text-decoration: none;
}

.main-navigation ul li:hover > ul {
  display: block;
}

.main-navigation ul ul {
  display: none;
  float: left;
  position: absolute;
  top: 1.5em;
  left: 0;
  z-index: 99999;
}

.main-navigation ul ul li a {
  color: #ffffff;
}

.main-navigation ul ul ul {
  left: 100%;
  top: 0;
}

/* Small menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.hentry {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.byline,
.updated {
  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;
}

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

.wp-caption {
  border: 1px solid #ccc;
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 1.2% auto 0;
  max-width: 98%;
}

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

.gallery {
  margin-bottom: 1.5em;
}

.gallery .gallery-item {
  float: left;
}

.gallery .gallery-item .gallery-icon a {
  display: block;
}

.gallery .gallery-item .gallery-icon img {
  border: none;
  height: auto;
  margin-bottom: 0;
}

.gallery .gallery-item .gallery-caption {
  margin: 0;
  text-align: center;
}

/* Fluid Gallery Columns
   works well if you remove the default gallery styling
   by adding the following to your functions.php
   add_filter( 'use_default_gallery_style', '__return_false' );
*/
.gallery-columns-2 .gallery-item {
  width: 49%;
  margin-right: 2;
}

.gallery-columns-2 .gallery-item:nth-of-type(2n-2) {
  margin-right: 0;
  clear: right;
}

.gallery-columns-3 .gallery-item {
  width: 32%;
  margin-right: 2;
}

.gallery-columns-3 .gallery-item:nth-of-type(3n-3) {
  margin-right: 0;
  clear: right;
}

.gallery-columns-4 .gallery-item {
  width: 23.5%;
  margin-right: 2;
}

.gallery-columns-4 .gallery-item:nth-of-type(4n-4) {
  margin-right: 0;
  clear: right;
}

.gallery-columns-5 .gallery-item {
  width: 18.4%;
  margin-right: 2;
}

.gallery-columns-5 .gallery-item:nth-of-type(5n-5) {
  margin-right: 0;
  clear: right;
}

.gallery-columns-6 .gallery-item {
  width: 15%;
  margin-right: 2;
}

.gallery-columns-6 .gallery-item:nth-of-type(6n-6) {
  margin-right: 0;
  clear: right;
}

.gallery-columns-7 .gallery-item {
  width: 12.57143%;
  margin-right: 2;
}

.gallery-columns-7 .gallery-item:nth-of-type(7n-7) {
  margin-right: 0;
  clear: right;
}

.gallery-columns-8 .gallery-item {
  width: 10.75%;
  margin-right: 2;
}

.gallery-columns-8 .gallery-item:nth-of-type(8n-8) {
  margin-right: 0;
  clear: right;
}

.gallery-columns-9 .gallery-item {
  width: 9.33333%;
  margin-right: 2;
}

.gallery-columns-9 .gallery-item:nth-of-type(9n-9) {
  margin-right: 0;
  clear: right;
}

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

/* =Navigation
----------------------------------------------- */
.site-main [class*="navigation"] {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.site-main [class*="navigation"] .nav-previous {
  float: left;
  width: 50%;
}

.site-main [class*="navigation"] .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

.comment-content a {
  word-wrap: break-word;
}

.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets */
  /* Search widget */
}

.widget select {
  max-width: 100%;
}

.widget .widget-search .search-submit {
  display: none;
}

/* =Infinite Scroll
----------------------------------------------- */
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation,
.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;
}

.overlay-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f2f2f2;
  border-bottom: solid 1px #e5e5e5;
  z-index: 10;
}

.overlay-controls__button {
  display: block;
  position: absolute;
  color: #000000;
  width: 33.333%;
  height: 40px;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  outline: none;
  -webkit-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
}

.overlay-controls__button:hover {
  background-color: #0e8caf;
  opacity: 1;
}

.overlay-controls__button:hover::before {
  -webkit-filter: invert(100%);
          filter: invert(100%);
}

.overlay-controls__button::before {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-size: 22px;
  background-repeat: no-repeat;
  background-position: center center;
}

.overlay-controls__button--prev {
  left: 0;
}

.overlay-controls__button--prev::before {
  background-image: url("../img/overlay-prev.png");
}

.overlay-controls__button--next {
  right: 0;
}

.overlay-controls__button--next::before {
  background-image: url("../img/overlay-next.png");
}

.overlay-controls__button--close {
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.overlay-controls__button--close::before {
  background-image: url("../img/overlay-close.png");
}

.site-footer {
  padding: 30px 0;
  font-size: 0.8em;
  color: #999999;
}

@media only screen and (min-width: 768px) {
  .site-footer {
    font-size: 1em;
    padding: 40px 0;
  }
}

@media only screen and (min-width: 768px) {
  .site-footer__info {
    float: left;
  }
}

.site-footer__info p {
  margin: 0;
}

.site-footer__info a {
  text-decoration: none;
  color: #8c8c8c;
}

.site-footer__info a:hover {
  text-decoration: underline;
}

.site-footer__social {
  margin: 0;
  padding: 30px 0 0;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .site-footer__social {
    float: right;
    margin: 0;
    padding: 0;
    text-align: right;
  }
}

.site-footer__social-item {
  display: inline-block;
  list-style-type: none;
}

.site-footer__social-link {
  display: block;
  padding: 6px 10px;
  text-decoration: none;
  font-size: 32px;
  color: #999999;
}

@media only screen and (min-width: 768px) {
  .site-footer__social-link {
    font-size: 24px;
  }
  .site-footer__social-link:hover {
    color: #0e8caf;
  }
}

.site-header::after {
  clear: both;
  content: '';
  display: table;
}

@media only screen and (min-width: 768px) {
  .site-header {
    padding: 0 40px;
  }
}

.site-header__logo {
  padding: 30px;
  float: left;
  display: block;
}

@media only screen and (min-width: 768px) {
  .site-header__logo {
    width: auto;
    height: auto;
    padding: 30px 0;
  }
}

.site-header__logo img {
  display: block;
  height: 30px;
  width: auto;
  max-width: none;
}

@media only screen and (min-width: 768px) {
  .site-header__logo img {
    position: relative;
    height: 45px;
  }
}

.site-header__logo svg {
  display: block;
  width: 158px;
  height: 30px;
}

@media only screen and (min-width: 768px) {
  .site-header__logo svg {
    height: 30px;
    width: 160px;
  }
}

@media only screen and (min-width: 1024px) {
  .site-header__logo svg {
    height: 40px;
    width: 210px;
  }
}

.site-header__logo svg g {
  display: none;
}

@media only screen and (min-width: 768px) {
  .site-header__logo svg g {
    display: block;
  }
}

.site-header__logo:hover svg g text,
.site-header__logo:hover svg path {
  fill: #0e8caf;
}

.menu-toggle {
  border-radius: 0;
  position: absolute;
  right: 0;
  padding: 30px;
  display: block;
  border: 0;
  background: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none;
}

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

.menu-toggle--expanded {
  padding-right: 15px;
}

.menu-toggle--expanded .menu-toggle__bar--1 {
  -webkit-transform: rotate(45deg) translate(9px, 9px);
          transform: rotate(45deg) translate(9px, 9px);
}

.menu-toggle--expanded .menu-toggle__bar--2 {
  -webkit-transform: rotate(-45deg) translate(0, 0);
          transform: rotate(-45deg) translate(0, 0);
}

.menu-toggle--expanded .menu-toggle__bar--3 {
  opacity: 0;
  width: 0;
}

.menu-toggle__bars {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.menu-toggle__bar {
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  position: absolute;
  width: 30px;
  height: 4px;
  background-color: #000000;
  left: 0;
}

.menu-toggle:hover .menu-toggle__bar {
  background-color: #444444;
}

.menu-toggle__bar--1 {
  top: 0;
}

.menu-toggle__bar--2 {
  top: 50%;
  margin-top: -2px;
}

.menu-toggle__bar--3 {
  bottom: 0;
  opacity: 1;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: fixed;
  background-color: #000000;
  color: #ffffff;
  padding-left: 60px;
}

@media only screen and (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu a {
  color: #ffffff;
}

.mobile-menu > ul {
  padding: 30px 40px 40px 40px;
}

.mobile-menu ul {
  margin: 0;
}

.mobile-menu ul li {
  list-style-type: none;
  display: block;
  font-size: 1.5em;
  font-weight: 500;
  margin-bottom: 10px;
}

.mobile-menu ul li a {
  display: block;
  text-decoration: none;
}

.mobile-menu ul li ul {
  display: none;
}

@media only screen and (min-width: 768px) {
  .slider {
    padding: 0 40px;
  }
}

.slider__slides {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  background: #f2f2f2 url("../img/photo_loader-alt.gif") center center no-repeat;
}

.slider__slide {
  position: absolute;
  width: 100%;
  padding-bottom: 66.6%;
  background: no-repeat center center scroll;
  background-size: cover;
}

.page-title {
  font-size: 32px;
  margin: 0 0 36px;
}

.client-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

@media only screen and (min-width: 480px) {
  .client-list {
    -webkit-column-gap: 30px;
            column-gap: 30px;
    -webkit-column-width: 50%;
            column-width: 50%;
    -webkit-column-count: 2;
            column-count: 2;
  }
}

@media only screen and (min-width: 1024px) {
  .client-list {
    -webkit-column-gap: 40px;
            column-gap: 40px;
    -webkit-column-width: 33.333%;
            column-width: 33.333%;
    -webkit-column-count: 3;
            column-count: 3;
  }
}

@media only screen and (min-width: 1280px) {
  .client-list {
    -webkit-column-gap: 80px;
            column-gap: 80px;
    -webkit-column-width: 25%;
            column-width: 25%;
    -webkit-column-count: 4;
            column-count: 4;
  }
}

.client-list__item {
  padding: 8px 0;
  line-height: 1.35;
}

.client-list__item-link {
  text-decoration: none;
  color: #000000;
}

.client-list__item-link:hover {
  color: #0e8caf;
  text-decoration: underline;
}

.button {
  background-color: #f2f2f2;
  border-color: #d9d9d9;
  color: #000000;
}

.button:hover {
  background-color: #e8e8e8;
  color: #000000;
}

.button--white {
  background-color: #ffffff;
  border-color: #e6e6e6;
  color: #000000;
}

.button--white:hover {
  background-color: whitesmoke;
  color: #000000;
}

.button--blue {
  background-color: #0e8caf;
  border-color: #0a6680;
  color: #ffffff;
}

.button--blue:hover {
  background-color: #0c7d9c;
  color: #ffffff;
}

.client-header {
  background: #333333;
  color: #ffffff;
  text-align: center;
  padding: 0.5em 0;
}

@media only screen and (min-width: 480px) {
  .client-header {
    padding: 0.85em 0;
  }
}

@media only screen and (min-width: 768px) {
  .client-header {
    padding: 2em 0;
  }
}

@media only screen and (min-width: 1024px) {
  .client-header .wrap {
    overflow: visible;
  }
}

.client-header i {
  position: relative;
}

@media only screen and (min-width: 768px) {
  .client-header i {
    margin-right: 10px;
  }
}

.client-header__title {
  font-size: 1em;
  margin: 0;
  font-size: 1.2em;
}

@media only screen and (min-width: 768px) {
  .client-header__title {
    font-size: 2em;
  }
}

.client-header__password {
  font-size: 1.25rem;
  margin-bottom: 0;
}

@media only screen and (min-width: 1024px) {
  .protected_icon {
    position: relative;
  }
  .protected_icon:hover .tooltip {
    display: block;
  }
  .protected_icon:hover i {
    color: #0e8caf;
  }
}

.tooltip {
  display: none;
}

@media only screen and (min-width: 1024px) {
  .tooltip {
    position: absolute;
    background: #0e8caf;
    width: 250px;
    height: 40px;
    color: #ffffff;
    font-size: 14px;
    top: 50%;
    left: -260px;
    margin-top: -20px;
    line-height: 38px;
  }
  .tooltip:after {
    content: '';
    display: block;
    position: absolute;
    right: -8px;
    top: 50%;
    margin-top: -8px;
    height: 0;
    width: 0;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #0e8caf;
    border-top: 8px solid transparent;
  }
}

.contact-drawer {
  display: none;
  position: relative;
  background-color: #0e8caf;
  color: #ffffff;
  padding: 30px;
  border-bottom: solid 1px #085368;
}

.contact-drawer .wrap {
  margin: 0 auto;
  max-width: 100%;
}

@media only screen and (min-width: 768px) {
  .contact-drawer .wrap {
    max-width: 94.79%;
  }
}

@media only screen and (min-width: 1024px) {
  .contact-drawer .wrap {
    max-width: 940px;
  }
}

@media only screen and (min-width: 1280px) {
  .contact-drawer .wrap {
    max-width: 1200px;
  }
}

.contact-drawer a {
  color: #ffffff;
}

.contact-drawer__close {
  -webkit-transition: opacity 0.15s ease-in-out;
  transition: opacity 0.15s ease-in-out;
  background: none;
  border: 0;
  color: #ffffff;
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 30px;
  width: 44px;
  height: 44px;
  padding: 0;
  text-align: center;
  outline: none;
}

.contact-drawer__close:hover {
  opacity: 0.7;
}

.contact-drawer__main {
  font-size: 1.1em;
}

@media only screen and (min-width: 768px) {
  .contact-drawer__main {
    float: left;
  }
}

.contact-drawer__info-block {
  margin-bottom: 0.5em;
}

.contact-drawer__info-block:last-child {
  margin-bottom: 0;
}

.contact-drawer__info-block i {
  float: left;
  width: 22px;
  margin-right: 15px;
  position: relative;
  top: 5px;
}

.contact-drawer__info-block.contact-drawer__info-block--business_address {
  margin-right: 20px;
}

.contact-drawer__info-block__wrap {
  float: left;
  width: calc(100% - 37px);
}

@media only screen and (min-width: 768px) {
  .contact-drawer__info-block__wrap {
    width: auto;
  }
}

.contact-drawer__info-block__wrap a {
  text-decoration: none;
}

.contact-drawer__info-block__wrap a:hover {
  text-decoration: underline;
}

.contact-drawer__info-block__wrap p {
  margin: 0;
}

.contact-drawer__social {
  margin-top: 2em;
}

@media only screen and (min-width: 768px) {
  .contact-drawer__social {
    float: right;
    margin-right: 2em;
    margin-top: 0;
  }
}

.contact-drawer__social-link {
  border-radius: 6px;
  display: block;
  border: solid 1px #ffffff;
  text-decoration: none;
  font-size: 1.2em;
  overflow: hidden;
  margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {
  .contact-drawer__social-link {
    font-size: 1em;
  }
}

.contact-drawer__social-link i,
.contact-drawer__social-link span {
  display: block;
  padding: 10px;
  float: left;
}

.contact-drawer__social-link i {
  font-size: 1.4em;
  line-height: 22px;
  position: relative;
}

@media only screen and (min-width: 768px) {
  .contact-drawer__social-link i {
    line-height: 18px;
    top: 1px;
  }
}

@media only screen and (min-width: 1024px) {
  .contact-drawer__social-link i {
    padding: 8px;
  }
}

.contact-drawer__social-link span {
  border-left: solid 1px #ffffff;
}

@media only screen and (min-width: 768px) {
  .contact-drawer__social-link span {
    padding: 10px 16px;
  }
}

@media only screen and (min-width: 1024px) {
  .contact-drawer__social-link span {
    padding: 8px 14px;
  }
}

.contact-drawer__social-link:hover {
  background-color: #0a6680;
}

.portfolio-toolbar {
  color: #0e8caf;
  border-top: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
  padding: 1.5rem 0;
}

@media only screen and (min-width: 768px) {
  .single-private .portfolio-toolbar {
    text-align: center;
  }
}

@media only screen and (min-width: 1024px) {
  .single-private .portfolio-toolbar {
    text-align: right;
  }
}

.portfolio-toolbar .wrap {
  overflow: visible;
  max-width: 100%;
  padding: 0 1.5rem;
}

@media only screen and (min-width: 1280px) {
  .portfolio-toolbar .wrap {
    padding: 0 2rem;
  }
}

@media only screen and (min-width: 480px) {
  .portfolio-toolbar .category-switcher {
    float: left;
  }
}

.portfolio-toolbar .search_results_label {
  font-size: 1.4em;
  margin: 0;
  color: #000000;
}

.portfolio-toolbar__search {
  margin-top: 1em;
  text-align: center;
}

@media only screen and (min-width: 480px) {
  .portfolio-toolbar__search {
    float: right;
    margin-top: 0;
  }
}

.portfolio-toolbar__search input {
  border: solid 1px #0e8caf;
  font-size: 1em;
  padding: 6px 10px;
  outline: none;
}

@media only screen and (min-width: 480px) {
  .portfolio-toolbar__search input {
    padding: 4px 10px;
  }
}

.portfolio-toolbar__search input[type="search"] {
  border-radius: 6px 0 0 6px;
}

.portfolio-toolbar__search input[type="submit"] {
  border-radius: 0 6px 6px 0;
  background: #0e8caf;
  color: #ffffff;
  cursor: pointer;
  margin-left: -4px;
}

.portfolio-toolbar__search input[type="submit"]:hover {
  background: #064051;
}

.category-switcher {
  text-align: center;
  position: relative;
}

.category-switcher__toggle {
  border-radius: 6px;
  font-size: 1.2em;
  border: solid 1px #0e8caf;
  background: none;
  position: relative;
  color: #0e8caf;
  padding: 4px 30px 4px 10px;
  outline: none;
  cursor: pointer;
}

@media only screen and (min-width: 480px) {
  .category-switcher__toggle {
    font-size: 1em;
  }
}

.category-switcher__toggle:hover {
  opacity: 0.7;
}

.category-switcher__toggle::before {
  height: 0;
  width: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #0e8caf;
  content: '';
  position: absolute;
  display: block;
  right: 10px;
  top: 50%;
  margin-top: -3px;
}

.category-switcher__list {
  display: none;
  margin: 0;
  padding: 10px 0 0;
  position: absolute;
  z-index: 5000;
  left: 50%;
  width: 200px;
  margin-left: -100px;
}

@media only screen and (min-width: 768px) {
  .category-switcher__list {
    left: 0;
    margin-left: 0;
  }
}

.category-switcher__list::before {
  height: 0;
  width: 0;
  border-bottom: 10px solid #0e8caf;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -10px;
}

@media only screen and (min-width: 768px) {
  .category-switcher__list::before {
    left: 0;
    margin-left: 30px;
  }
}

.category-switcher__list-item {
  list-style-type: none;
}

.category-switcher__link {
  background-color: #0e8caf;
  color: #ffffff;
  display: block;
  text-decoration: none;
  font-size: 1em;
  padding: 0.5em;
}

.category-switcher__link:hover,
.category-switcher__list-item--active .category-switcher__link,
.category-switcher__list-item--active .category-switcher__link:hover {
  color: #ffffff;
  font-weight: bold;
  background-color: #0a6680;
}

.template--client-list {
  padding: 30px;
}

@media only screen and (min-width: 768px) {
  .template--client-list {
    padding: 80px;
  }
}

/*************************************
GLOBALS
*************************************/
html,
body {
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
  font-weight: 300;
  height: 100%;
  min-height: 100%;
  overflow-y: visible;
}

a {
  color: #0e8caf;
}

.site-container {
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
          box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
  position: relative;
  min-height: 100%;
}

@media only screen and (min-width: 768px) {
  .site-container {
    -webkit-box-shadow: 0 0 0 transparent;
            box-shadow: 0 0 0 transparent;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  margin: 0.5em 0;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 1rem;
}

.gray_bg {
  background-color: #f2f2f2;
}

/*************************************
HEADER
*************************************/
header#masthead #site-navigation {
  float: right;
  width: auto;
}

@media only screen and (min-width: 768px) {
  header#masthead #site-navigation {
    font-size: 1em;
    font-weight: 500;
    margin-top: 1.6em;
  }
}

@media only screen and (min-width: 1024px) {
  header#masthead #site-navigation {
    font-size: 1.2em;
    margin-top: 28px;
  }
}

header#masthead #site-navigation #header-menu-container {
  display: none;
}

@media only screen and (min-width: 768px) {
  header#masthead #site-navigation #header-menu-container {
    display: block;
  }
  header#masthead #site-navigation #header-menu-container ul li {
    display: block;
    float: left;
  }
  header#masthead #site-navigation #header-menu-container ul li a {
    display: block;
    color: #000000;
    padding: 0.4em 1.2em;
  }
  header#masthead #site-navigation #header-menu-container ul li.current-menu-item a,
  header#masthead #site-navigation #header-menu-container ul li:hover a {
    color: #0e8caf;
  }
}

/*************************************
HOMEPAGE
*************************************/
.homepage-content {
  padding: 30px 0;
  border-bottom: solid 1px #cccccc;
}

@media only screen and (min-width: 768px) {
  .homepage-content {
    padding: 40px 0;
  }
}

.homepage-content h1.tagline {
  font-size: 1.9em;
  font-weight: 300;
  text-align: center;
  margin: 0 0 1em 0;
}

@media only screen and (min-width: 768px) {
  .homepage-content h1.tagline {
    font-size: 2.5em;
    margin-bottom: 40px;
  }
}

@media only screen and (min-width: 1024px) {
  .homepage-content h1.tagline {
    font-size: 3.5em;
  }
}

.homepage-content .entry {
  font-size: 1.2em;
}

/*************************************
PORTFOLIO INDEX
*************************************/
section#portfolio_index {
  padding: 1.5rem 0;
}

@media only screen and (min-width: 480px) {
  section#portfolio_index {
    padding: 2.2em 0;
  }
}

@media only screen and (min-width: 768px) {
  section#portfolio_index {
    padding: 1.5rem 0 0 0;
  }
}

@media only screen and (min-width: 1024px) {
  section#portfolio_index {
    padding: 2.2rem 0 0 0;
  }
}

section#portfolio_index .wrap {
  max-width: 100%;
  padding: 0 1.5rem;
}

@media only screen and (min-width: 480px) {
  section#portfolio_index .wrap {
    padding: 0 2.2rem;
  }
}

@media only screen and (min-width: 768px) {
  section#portfolio_index .wrap {
    padding: 0 1.5rem;
  }
}

@media only screen and (min-width: 1024px) {
  section#portfolio_index .wrap {
    padding: 0 2.2rem;
  }
}

.portfolio_category_tile {
  margin: 0 0 1.5rem 0;
}

@media only screen and (min-width: 480px) {
  .portfolio_category_tile {
    margin-bottom: 2.2rem;
  }
}

@media only screen and (min-width: 768px) {
  .portfolio_category_tile {
    width: calc( ( 100% - 1.5rem ) / 2);
    margin-right: 1.5rem;
    float: left;
    margin-bottom: 1.5rem;
  }
  .portfolio_category_tile:nth-child(2n) {
    margin-right: 0;
  }
}

@media only screen and (min-width: 1024px) {
  .portfolio_category_tile {
    width: calc( ( 100% - 2.2rem - 2.2rem ) / 3);
    margin: 0 2.2rem 2.2rem 0;
  }
  .portfolio_category_tile:nth-child(2n) {
    margin-right: 2.2rem;
  }
  .portfolio_category_tile:nth-child(3n) {
    margin-right: 0;
  }
}

.portfolio_category_tile:last-child {
  margin-bottom: 0;
}

.portfolio_category_tile a {
  display: block;
  position: relative;
  color: #ffffff;
}

.portfolio_category_tile a h2 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transition: opacity, 0.3s, ease-in-out;
  transition: opacity, 0.3s, ease-in-out;
  background-color: rgba(14, 140, 175, 0.7);
  margin: 0;
  padding: 0;
  opacity: 1;
  font-weight: 100;
}

@media only screen and (min-width: 480px) {
  .portfolio_category_tile a h2 {
    font-size: 2.5em;
  }
}

@media only screen and (min-width: 768px) {
  .portfolio_category_tile a h2 {
    font-size: 2em;
  }
}

@media only screen and (min-width: 1280px) {
  .portfolio_category_tile a h2 {
    font-size: 2.5em;
  }
}

.portfolio_category_tile a h2 span {
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: block;
  position: absolute;
  text-align: center;
  padding: 20px;
  left: 0;
  right: 0;
  top: 50%;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@media only screen and (min-width: 480px) {
  .portfolio_category_tile a h2 span {
    padding: 40px;
  }
}

.portfolio_category_tile a img {
  display: block;
  width: 100%;
  height: auto;
}

.portfolio_category_tile a:hover h2 {
  opacity: 0;
}

/*************************************
PASSWORD PROTECTION
*************************************/
.custom_password {
  margin: 0 0 1.5em 0;
}

.custom_password input {
  border-radius: 0;
  display: inline-block;
  padding: 10px 12px;
  outline: none;
}

.custom_password input[type="password"] {
  border-radius: 4px 0 0 4px;
  border: solid 1px #cccccc;
}

.custom_password input[type="submit"] {
  border-radius: 0 4px 4px 0;
  background: #0e8caf;
  color: #ffffff;
  cursor: pointer;
  padding: 10px 18px;
  border: solid 1px #0c7997;
  border-left: none;
}

.custom_password input[type="submit"]:hover {
  background: #0a6680;
}

/*************************************
MINI PORTFOLIO
*************************************/
#mini_description {
  border-top: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
  padding: 1.5rem 0;
  font-size: 1.15rem;
}

#mini_description :first-child {
  margin-top: 0;
}

#mini_description :first-child {
  margin-bottom: 0;
}

/*************************************
PORTFOLIO CATEGORY INDEX
*************************************/
section#portfolio_thumbnails {
  padding: 1.5rem 0 0 0;
}

@media only screen and (min-width: 1280px) {
  section#portfolio_thumbnails {
    padding: 2rem 0 0 0;
  }
}

section#portfolio_thumbnails .wrap {
  max-width: 100%;
  padding: 0 1.5rem;
}

@media only screen and (min-width: 1280px) {
  section#portfolio_thumbnails .wrap {
    padding: 0 2rem;
  }
}

section#portfolio_thumbnails p.no_images {
  color: #999999;
  text-shadow: 1px 1px 0px #ffffff;
  font-size: 2em;
  text-align: center;
  margin: 0;
  padding: 2em 0 3em 0;
}

section#portfolio_thumbnails ul {
  margin: 0;
  padding: 0;
}

section#portfolio_thumbnails ul li {
  list-style-type: none;
  display: block;
  margin-bottom: 1.5rem;
}

@media only screen and (min-width: 480px) {
  section#portfolio_thumbnails ul li {
    float: left;
    width: calc( ( 100% - 1.5rem ) / 2);
    margin: 0 1.5rem 1.5rem 0;
  }
  section#portfolio_thumbnails ul li:nth-child(2n) {
    margin-right: 0;
  }
}

@media only screen and (min-width: 768px) {
  section#portfolio_thumbnails ul li {
    width: calc( ( 100% - (1.5rem * 2) ) / 3);
  }
  section#portfolio_thumbnails ul li:nth-child(2n) {
    margin-right: 1.5rem;
  }
  section#portfolio_thumbnails ul li:nth-child(3n) {
    margin-right: 0;
  }
}

@media only screen and (min-width: 1280px) {
  section#portfolio_thumbnails ul li {
    width: calc( ( 100% - ( 2rem * 3) ) / 4);
    margin: 0 2rem 2rem 0;
  }
  section#portfolio_thumbnails ul li:nth-child(2n) {
    margin-right: 2rem;
  }
  section#portfolio_thumbnails ul li:nth-child(3n) {
    margin-right: 2rem;
  }
  section#portfolio_thumbnails ul li:nth-child(4n) {
    margin-right: 0;
  }
}

section#portfolio_thumbnails ul li a {
  -webkit-transition: opacity 0.15s ease-in-out;
  transition: opacity 0.15s ease-in-out;
  display: block;
}

section#portfolio_thumbnails ul li a img {
  display: block;
  width: 100%;
  height: auto;
}

section#portfolio_thumbnails ul li a:hover {
  opacity: 0.7;
}

section#portfolio_thumbnails .description {
  display: none;
}

.info_wrap .image_meta {
  font-size: 1em;
  font-weight: 300;
  color: #666;
  line-height: 1.3em;
}

.info_wrap .image_meta p {
  margin: 0;
  padding: 0;
}

.info_wrap .image_meta ul {
  margin: 0;
  padding: 0;
}

.info_wrap .image_meta ul li {
  list-style-type: none;
  margin: 0 0 0.5em 0;
}

@media only screen and (min-width: 1024px) {
  .info_wrap .image_meta ul li {
    display: inline-block;
    font-size: 0.9em;
    margin: 0 10px 6px 0;
  }
  .info_wrap .image_meta ul li:last-child {
    margin: 0 10px 6px 0;
  }
}

.info_wrap .image_meta ul li:last-child {
  margin: 0;
}

.info_wrap .image_meta ul li strong {
  font-weight: 500;
}

.info_wrap .image_share {
  float: right;
  border-top: solid 1px #e2e2e2;
  margin: 10px 0 0 0;
  padding: 10px 0 0 0;
  width: 100%;
}

@media only screen and (min-width: 1024px) {
  .info_wrap .image_share {
    width: 280px;
    border: none;
    margin: 0;
    padding: 0;
  }
}

.info_wrap .image_share iframe.fb-like,
.info_wrap .image_share a.tumblr_share,
.info_wrap .image_share iframe.houzz-add {
  display: block;
  margin: 0 10px 10px 0;
  float: left;
}

.info_wrap .image_share iframe.fb-like {
  width: 80px;
}

.info_wrap .image_share iframe.houzz-add {
  width: 80px;
}

/*************************************
DEFAULT PAGE
*************************************/
article.hentry {
  margin: 0;
  padding: 1.5em 0;
}

@media only screen and (min-width: 768px) {
  article.hentry {
    padding: 2.13% 0;
  }
}

@media only screen and (min-width: 1024px) {
  article.hentry .wrap {
    max-width: 940px;
    padding: 0 10px;
  }
}

article.hentry header.entry-header,
article.hentry .entry-content,
article.hentry footer.entry-footer {
  background: #ffffff;
}

article.hentry header.entry-header img {
  display: block;
  width: 100%;
  height: auto;
}

article.hentry header.entry-header .entry-title {
  padding: 1.5rem 1.5rem 0 1.5rem;
  margin: 0;
}

article.hentry .entry-content {
  margin: 0;
  padding: 1.5em;
}

article.hentry .entry-content > :first-child {
  margin-top: 0;
}

article.hentry .entry-content > :last-child {
  margin-bottom: 0;
}

article.hentry .entry-footer {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/*************************************
Private Client Pages
*************************************/
#private_info {
  padding: 1.5em 0;
}

#private_summary {
  font-size: 1.2em;
}

@media only screen and (min-width: 1024px) {
  #private_summary {
    float: left;
    width: 60%;
  }
}

#private_summary > :first-child {
  margin-top: 0;
}

#private_summary > :last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 1024px) {
  #set_details {
    float: right;
    width: 36%;
  }
}

#set_details table {
  margin: 1.5em 0 0 0;
}

@media only screen and (min-width: 1024px) {
  #set_details table {
    margin: 0;
    font-size: 0.85em;
  }
}

@media only screen and (min-width: 1280px) {
  #set_details table {
    font-size: 1em;
  }
}

#set_details table tr:first-child td {
  border-top: solid 1px #e8e8e8;
}

@media only screen and (min-width: 1024px) {
  #set_details table tr:first-child td {
    border: none;
  }
}

#set_details table tr td {
  border-bottom: solid 1px #e8e8e8;
  border-right: solid 1px #e8e8e8;
  padding: 0.5em;
}

@media only screen and (min-width: 1024px) {
  #set_details table tr td {
    border: none;
    padding: 0.15em;
  }
}

#set_details table tr td.label {
  font-weight: 500;
  border-left: solid 1px #e8e8e8;
}

@media only screen and (min-width: 1024px) {
  #set_details table tr td.label {
    border: none;
  }
}

#set_details table tr td.value {
  font-weight: 300;
}

.private_buttons {
  clear: both;
  overflow: hidden;
  padding: 1.5rem 0 0.5rem 0;
  background: #f2f2f2;
  border-top: solid 1px #e2e2e2;
  border-bottom: solid 1px #e2e2e2;
  text-align: center;
}

.private_buttons .wrap {
  max-width: 100%;
  padding: 0 1.5rem;
}

button.private_download {
  border-radius: 4px;
  -webkit-transition: all 0.05s ease-in-out;
  transition: all 0.05s ease-in-out;
  background: #0e8caf;
  color: #ffffff;
  cursor: pointer;
  border: none;
  margin: 0;
  padding: 0;
  font-size: 1.2em;
  width: 100%;
  text-align: left;
  margin: 0 0 1em 0;
  outline: none;
  position: relative;
}

@media only screen and (min-width: 480px) {
  button.private_download {
    float: left;
    width: calc( ( 100% - 1rem ) / 2);
    margin: 0 1rem 1rem 0;
    font-size: 1em;
  }
  button.private_download:nth-child(2n) {
    margin-right: 0;
  }
}

@media only screen and (min-width: 768px) {
  button.private_download {
    float: none;
    width: auto;
    display: inline-block;
    padding-right: 15px;
    margin: 0 0.5rem 1rem 0.5rem;
  }
  button.private_download:nth-child(2n) {
    margin: 0 0.5rem 1rem 0.5rem;
  }
  button.private_download:last-child {
    margin: 0 0.5rem 1rem 0.5rem;
  }
}

button.private_download .button_icon {
  -webkit-transition: all 0.05s ease-in-out;
  transition: all 0.05s ease-in-out;
  display: inline-block;
  padding: 8px 12px 4px 15px;
  border-right: solid 1px #085368;
  border-radius: 4px 0 0 4px;
  font-size: 26px;
  margin-right: 15px;
  width: 56px;
  height: 45px;
  text-align: center;
}

@media only screen and (min-width: 480px) {
  button.private_download .button_icon {
    padding: 6px 12px 0px 15px;
  }
}

button.private_download .button_icon img.loading {
  display: none;
}

button.private_download .button_label {
  position: relative;
  top: -5px;
}

@media only screen and (min-width: 480px) {
  button.private_download .button_label {
    top: -7px;
  }
}

button.private_download:hover {
  background: #0a6680;
}

button.private_download:hover .button_icon {
  background: #085368;
}

button.private_download:active {
  top: 1px;
}

button.private_download[disabled=disabled],
button.private_download:disabled {
  background: #ccc;
  cursor: default;
}

button.private_download[disabled=disabled] .button_icon,
button.private_download:disabled .button_icon {
  border-right: solid 1px #a6a6a6;
}

button.private_download[disabled=disabled]:hover,
button.private_download:disabled:hover {
  background: #ccc;
}

button.private_download[disabled=disabled]:hover .button_icon,
button.private_download:disabled:hover .button_icon {
  background: #ccc;
}

button.private_download[disabled=disabled]:active,
button.private_download:disabled:active {
  top: 0;
}

button.private_download.loading .button_icon i {
  display: none;
}

button.private_download.loading .button_icon img.loading {
  display: inline;
}

#private_thumbnails {
  padding: 1.5rem 0 0 0;
}

#private_thumbnails .wrap {
  overflow: visible;
  max-width: 100%;
  padding: 0 1.5rem;
}

#private_thumbnails ul {
  margin: 0;
  padding: 0;
}

#private_thumbnails ul li {
  -webkit-transition: all 0.05s ease-in-out;
  transition: all 0.05s ease-in-out;
  list-style-type: none;
  margin-bottom: 1.5rem;
  display: block;
  background: #ffffff;
  position: relative;
}

@media only screen and (min-width: 768px) {
  #private_thumbnails ul li {
    width: calc( ( 100% - 1.5rem ) / 2);
    float: left;
  }
  #private_thumbnails ul li:nth-child(2n) {
    margin-right: 0;
  }
  #private_thumbnails ul li:hover .notes {
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }
}

#private_thumbnails ul li a.photo {
  display: block;
  position: relative;
}

#private_thumbnails ul li a.photo img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

#private_thumbnails ul li:hover {
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

@media only screen and (min-width: 768px) {
  .note_wrapper .note_controls {
    font-size: 0.85em;
    position: relative;
    background: #ffffff;
  }
}

@media only screen and (min-width: 480px) {
  .note_wrapper .note_controls button i {
    font-size: 1em;
  }
}

@media only screen and (min-width: 480px) {
  .note_wrapper .note_controls button:active span {
    top: 1px;
    position: relative;
  }
}

@media only screen and (min-width: 480px) {
  .note_wrapper .note_controls .btn_label {
    display: inline-block;
    margin-right: 5px;
  }
}

.overlay_image_title {
  display: block;
  color: #000000;
  background: rgba(255, 255, 255, 0.85);
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 6px;
  font-size: 0.75em;
  z-index: 10;
}

.overlay_image_title p {
  margin: 0;
  padding: 0;
}

#large_photo .overlay_image_title {
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.photo_info {
  display: block;
  padding: 0;
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 5;
  overflow: hidden;
}

.photo_info span {
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  display: block;
  float: left;
  padding: 4px 6px;
  color: #000000;
  font-size: 0.75em;
  margin-right: 1px;
  background: rgba(255, 255, 255, 0.75);
}

.photo_info .photo_title {
  border-radius: 2px 0 0 2px;
}

.photo_info .view_and_comment {
  border-radius: 0 2px 2px 0;
}

.photo_info .view_and_comment:hover {
  background-color: #f2f2f2 !important;
  color: #000000;
}

@media only screen and (min-width: 768px) {
  #gallery_navigation {
    font-size: 0.75em;
  }
}

@media only screen and (min-width: 1024px) {
  #gallery_navigation {
    font-size: 0.85em;
  }
}

@media only screen and (min-width: 768px) {
  #gallery_navigation a {
    padding: 6px 12px;
  }
}

@media only screen and (min-width: 1024px) {
  #gallery_navigation a {
    padding: 4px 10px;
  }
}

@media only screen and (min-width: 768px) {
  #gallery_navigation a i {
    margin: 0 6px 0 0;
    top: 2px;
  }
}

@media only screen and (min-width: 768px) {
  #gallery_navigation a .label {
    display: inline;
  }
}

@media only screen and (min-width: 768px) {
  #gallery_navigation .back {
    margin: 0 10px;
  }
}

@media only screen and (min-width: 768px) {
  #gallery_navigation .next_link i {
    margin: 0 0 0 6px;
  }
}

@media only screen and (min-width: 1024px) {
  section#photo_info .wrap {
    width: 100%;
    max-width: 100%;
    padding: 0 120px;
    position: relative;
  }
}

@media only screen and (min-width: 768px) {
  #photo_container {
    height: 100%;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1024px) {
  #photo_container {
    text-align: center;
  }
}

@media only screen and (min-width: 1024px) {
  #photo_container #image {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    opacity: 0;
    position: relative;
  }
  #photo_container #image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }
}

@media only screen and (min-width: 1024px) {
  #photo_container #image_info {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
  }
}

@media only screen and (min-width: 768px) {
  #photo_container #image_info #info_wrap {
    padding: 20px 20px 10px 20px;
  }
}

@media only screen and (min-width: 768px) {
  #photo_container #image_info #image_meta {
    float: left;
    max-width: calc( 100% - 260px);
  }
}

@media only screen and (min-width: 768px) {
  #photo_container #image_info #image_meta ul {
    overflow: hidden;
  }
}

@media only screen and (min-width: 768px) {
  #photo_container #image_info #image_meta ul li {
    display: block;
    margin: 0 10px 10px 0;
    font-size: 0.85em;
    float: left;
  }
}

@media only screen and (min-width: 768px) {
  #photo_container #image_info #image_share {
    display: block;
    float: right;
    margin: 0 0 10px 0;
    max-width: 260px;
  }
  #photo_container #image_info #image_share iframe,
  #photo_container #image_info #image_share a {
    display: block;
    clear: none;
    float: left;
  }
  #photo_container #image_info #image_share .fb-like {
    width: 76px;
  }
  #photo_container #image_info #image_share .houzz-add {
    width: 48px;
  }
}

@media only screen and (min-width: 768px) {
  #image_pagination a {
    width: 40%;
  }
}

@media only screen and (min-width: 1024px) {
  #image_pagination {
    overflow: visible;
    padding: 0;
    width: 0;
    height: 0;
  }
  #image_pagination a {
    position: absolute;
    padding: 0;
    width: 40px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    background: none;
    border: solid 1px #d9d9d9;
    color: #d9d9d9;
  }
  #image_pagination a span {
    display: none;
  }
  #image_pagination a i {
    font-size: 30px;
    display: block;
  }
  #image_pagination a:hover {
    background: none;
    border-color: #999999;
    color: #999999;
  }
  #image_pagination a.prev_link {
    left: 40px;
  }
  #image_pagination a.next_link {
    right: 40px;
  }
}

#private_thumbnails ul li a.photo:hover .photo_info span {
  background-color: white;
}

.notes {
  display: none;
}

@media only screen and (min-width: 768px) {
  .notes {
    position: absolute;
    background: #ffffff;
    width: 100%;
    z-index: 0;
  }
}

#private_overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #222;
  position: fixed;
  z-index: 5555;
}

body.locked {
  overflow-y: hidden;
}

#private_container {
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  background: #ffffff;
}

@media only screen and (min-width: 1024px) {
  #private_container {
    width: 300px;
  }
}

#overlay_comments {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
  width: 100%;
  margin-top: 40px;
  background: #ffffff;
  overflow-y: auto;
  top: 300px;
}

@media only screen and (min-width: 1024px) {
  #overlay_comments {
    width: 300px;
    top: 0;
  }
}

#overlay_comments #respond {
  position: relative;
  border-top: solid 1px #e2e2e2;
}

@media only screen and (min-width: 1024px) {
  #overlay_comments #respond {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
}

#overlay_comments #respond h3#reply-title {
  margin: 0;
  padding: 20px 20px 10px 20px;
}

#overlay_comments p {
  margin: 0;
  padding: 10px 20px;
}

#overlay_comments p.comment-form-comment {
  display: block;
  margin: 0;
  padding: 20px;
}

#overlay_comments p.comment-form-comment textarea {
  height: 150px;
}

#overlay_comments p.comment-form-url {
  display: none;
}

#overlay_comments p.form-allowed-tags {
  display: none;
}

#overlay_comments p.form-submit {
  margin: 0;
  padding: 0;
}

#overlay_comments p.form-submit input#submit {
  -webkit-transition: background-color 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out;
  display: block;
  background-color: #0e8caf;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  border: none;
  width: 100%;
  cursor: pointer;
}

#overlay_comments p.form-submit input#submit:hover {
  background-color: #0a6680;
}

#overlay_comments .comment-list {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 0 475px 0;
  padding: 0;
  overflow-y: auto;
}

#overlay_comments .comment-list.logged_in {
  margin-bottom: 366px;
}

#overlay_comments .comment-list li {
  padding: 10px 16px;
}

#overlay_comments .comment-list li:nth-child(even) {
  background: #f8f8f8;
}

#overlay_comments .comment-list li span {
  display: inline-block;
}

#overlay_comments .comment-list li span.comment_author {
  font-size: 0.75em;
  font-weight: 700;
  margin: 0 0 0.1em 0;
}

#overlay_comments .comment-list li span.human_time {
  font-size: 0.75em;
  font-weight: 300;
  color: #cccccc;
  margin-left: 10px;
}

#overlay_comments .comment-list li span.comment_content {
  clear: both;
  display: block;
}

#large_photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  max-height: 300px;
  z-index: 999;
  padding: 20px 0;
  top: 40px;
}

@media only screen and (min-width: 1024px) {
  #large_photo {
    margin-left: 300px;
    max-height: none;
    padding: 20px;
    top: 0;
  }
}

#large_photo img {
  -webkit-transform: translateY(-50%) translateX(-50%);
          transform: translateY(-50%) translateX(-50%);
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
}

.fancybox-overlay {
  background: rgba(255, 255, 255, 0.95);
}

.fancybox-skin {
  border-radius: 0;
}

.fancybox-opened .fancybox-skin {
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.fancybox-controls-header {
  position: absolute;
  background: #ffffff;
  width: 100%;
  height: 50px;
  top: -50px;
}

@media only screen and (min-width: 1024px) {
  .fancybox-controls-header {
    display: none;
  }
}

.fancybox-wrap #photo_container {
  margin-bottom: 80px;
}

a.fancybox-close,
a.fancybox-nav.fancybox-prev,
a.fancybox-nav.fancybox-next {
  background-image: url(../img/fancybox-custom-sprite.png);
  background-size: 120px 40px;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media only screen and (min-width: 1024px) {
  a.fancybox-close,
  a.fancybox-nav.fancybox-prev,
  a.fancybox-nav.fancybox-next {
    -webkit-transition: opacity 0.05s ease-in-out;
    transition: opacity 0.05s ease-in-out;
    opacity: 0.25;
  }
  a.fancybox-close:hover,
  a.fancybox-nav.fancybox-prev:hover,
  a.fancybox-nav.fancybox-next:hover {
    opacity: 1;
  }
}

.fancybox-nav {
  height: auto;
  top: -50px;
  width: 50px;
  height: 50px;
  left: 0;
}

@media only screen and (min-width: 1024px) {
  .fancybox-nav.fancybox-prev, .fancybox-nav.fancybox-next {
    top: 50%;
    margin-top: -25px;
  }
}

.fancybox-nav.fancybox-prev {
  background-position: -76px 5px;
}

@media only screen and (min-width: 1024px) {
  .fancybox-nav.fancybox-prev {
    left: -50px;
  }
}

.fancybox-nav.fancybox-next {
  background-position: -35px 5px;
  left: 50px;
  right: auto;
}

@media only screen and (min-width: 1024px) {
  .fancybox-nav.fancybox-next {
    right: -35px !important;
    width: 35px;
    left: auto;
  }
}

.fancybox-nav span {
  display: none;
}

a.fancybox-close {
  width: 50px;
  height: 50px;
  background-position: 5px 4px;
  top: -50px;
  right: 0px;
}

@media only screen and (min-width: 1024px) {
  a.fancybox-close {
    right: -50px;
  }
}

a.fancybox-close:before {
  content: '';
}

.fancybox-title-inside-wrap {
  padding: 10px;
}
