/*
Theme Name: Wainwright
Theme URI: http://www.richwainwright.com
Author: Julian Kommunikation
Author URI: http://www.julian.se/en/
Description: Custom theme for Richard Wainwright.
Version: 2.0
*/

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block; }
audio,
canvas,
video {
  display: inline-block; }
audio:not([controls]) {
  display: none;
  height: 0; }
[hidden],
template {
  display: none; }

/* ==========================================================================
   Base
   ========================================================================== */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }
body {
  margin: 0; }

/* ==========================================================================
   Links
   ========================================================================== */
a {
  background: transparent; }
a:focus, a:active, 
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    border: 0;
    outline : 0; }

/* ==========================================================================
   Typography
   ========================================================================== */
@font-face {
    font-family: 'aleoregular';
    src: url('library/fonts/Aleo-Regular-webfont.eot');
    src: url('library/fonts/Aleo-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('library/fonts/Aleo-Regular-webfont.woff') format('woff'),
         url('library/fonts/Aleo-Regular-webfont.ttf') format('truetype'),
         url('library/fonts/Aleo-Regular-webfont.svg#aleoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-family: Arial, Helvetica, "Lucida Grande", Georgia, sans-serif; }
h1 {
  font-size: 1.8em;
  margin: 0.5em 0;
  text-transform: uppercase; }
abbr[title] {
  border-bottom: 1px dotted; }
b,
strong,
.strong {
  font-weight: bold; }
dfn,
em,
.em {
  font-style: italic; }
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0; }
p {
  -webkit-hyphens: auto;
  -epub-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto; }
pre {
  margin: 0; }
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em; }
pre {
  white-space: pre-wrap; }
q {
  quotes: "\201C" "\201D" "\2018" "\2019"; }
q:before,
q:after {
  content: '';
  content: none; }
small, .small {
  font-size: 75%; }
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }
sup {
  top: -0.5em; }
sub {
  bottom: -0.25em; }

/* ==========================================================================
  Lists
========================================================================== */
dl,
menu,
ol,
ul {
  margin: 1em 0; }
dd {
  margin: 0; }
menu {
  padding: 0 0 0 40px; }
ol,
ul {
  padding: 0;
  list-style-type: none; }
nav ul,
nav ol {
  list-style: none;
  list-style-image: none; }
ul#ingredients {
  margin: 0 0 1.5em; }
  ul#ingredients li {
    min-height: 1em; }

/* ==========================================================================
  Embedded content
========================================================================== */
img {
  border: 0; }
svg:not(:root) {
  overflow: hidden; }

/* ==========================================================================
   Figures
   ========================================================================== */
figure {
  margin: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */ }
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */ }
button,
input {
  line-height: normal; }
button,
select {
  text-transform: none; }
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */ }
button[disabled],
html input[disabled] {
  cursor: default; }
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */ }


/* Search form */
form#searchform {
	position: relative;
	width: 90%;
}
form#searchform button {
    overflow: visible;
    position: absolute;
    right: -25px;
	top: 0;
    border: 0;
    padding: 0;
    cursor: pointer;
    height: 40px;
	width: 50px;
    color: #fff;
    border-radius: 0 3px 3px 0;     
	background: #666 url('library/images/search.png') no-repeat center center;
}  
form#searchform button:hover,
form#searchform button:active,
form#searchform button:focus{    
    background: #444 url('library/images/search.png') no-repeat center center;;
    outline: 0;  
}
form#searchform button:before {
    content: '';
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid solid solid none;
    border-color: transparent #666 transparent;
    top: 12px;
    left: -6px;
}
form#searchform button:hover:before,
form#searchform button:focus:before,
form#searchform button:active:before{
    border-right-color: #444;
}    
form#searchform button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* ==========================================================================
   Tables
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0; }
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }
.image-replacement,
.ir {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden; }
.clearfix, .cf, .comment-respond {
  zoom: 1; }
  .clearfix:before, .clearfix:after, .cf:before, .comment-respond:before, .cf:after, .comment-respond:after {
    content: "";
    display: table; }
  .clearfix:after, .cf:after, .comment-respond:after {
    clear: both; }
span.amp {
  font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important;
  font-style: italic; }

/* ==========================================================================
   Typography
   ========================================================================== */
p {
  -ms-word-break: break-all;
  -ms-word-wrap: break-all;
  word-break: break-word;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  -webkit-hyphenate-before: 2;
  -webkit-hyphenate-after: 3;
  hyphenate-lines: 3;
  -webkit-font-feature-settings: "liga", "dlig";
  -moz-font-feature-settings: "liga=1, dlig=1";
  -ms-font-feature-settings: "liga", "dlig";
  -o-font-feature-settings: "liga", "dlig";
  font-feature-settings: "liga", "dlig"; }

/* ==========================================================================
   Unite Gallery
   ========================================================================== */
#thumbnails {
    overflow: hidden;
	display: none;
}
#thumbnails .thumb {
    float: left;
	width: 33.33333%;
	height: auto;
}
#thumbnails .thumb img {
    vertical-align: bottom;
	width: 100%;
}
#thumbnails .thumb img:hover {
    cursor: pointer;
	opacity: 0.9;
}
#controls {
    background: #fff;
}
#controls a {
    line-height: 50px;
}
#controls .pager {
	height: 48px;
	display: inline-block;
	line-height: 50px;
	font-size: 12px;
	color: #F8B44B;
	border-left: 1px solid rgb(255, 236, 208);
	padding: 0 8px 0 12px !important;
}
#controls .pager.story {
	border: none;
	border-right: 1px solid rgb(255, 236, 208);
	padding: 0 12px 0 8px !important;
	text-transform: uppercase;
}
#controls .pager.story a {
	color: #F8B44B;
	text-decoration: none;
}
#controls .pager.story a:hover {
	color: #fa9800;
}

#controls .autoplay {
    text-decoration: none;
    display: inline-block;
    text-indent: -99999px;
    background-image: url('unite-gallery/skins/default/button_playpause.png');
    background-position: 0px -0px;
    width: 51px;
    height: 50px;
    cursor: pointer;
    z-index: 4;
}
#controls .autoplay:hover {
    background-position: 0px -50px;
}
#controls .thumb {
    text-decoration: none;
    display: inline-block;
    text-indent: -99999px;
    background-image: url('unite-gallery/skins/default/button_thumbnails.png');
    background-position: 0px 0px;
    width: 53px;
    height: 50px;
    cursor: pointer;
    z-index: 3;
}
#controls .thumb:hover {
    background-position: 0px -50px;
}
#controls .pause {
    background-position: 0px 100px;
}
#controls .pause:hover {
    background-position: 0px -150px;
}
#controls .fullscreen {
    text-decoration: none;
    display: inline-block;
    text-indent: -99999px;
    background-image: url('unite-gallery/skins/default/button_fullscreen.png');
    width: 53px;
    height: 50px;
    cursor: pointer;
    background-position: 0px 0px;
    z-index: 3;
}
#controls .fullscreen:hover {
    background-position: 0px -50px;
}
#controls .caption {
    text-decoration: none;
    display: inline-block;
    text-indent: -99999px;
    background-image: url('unite-gallery/skins/default/button_caption.png');
    background-position: 0px 0px;
    width: 53px;
    height: 50px;
    cursor: pointer;
    z-index: 3;
}
#controls .caption:hover {
    background-position: 0px -50px;
}
.postid-2611 .ug-item-wrapper img {
    display: block;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 auto !important;
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: 100% !important;
    cursor: pointer;
}
.ug-gallery-wrapper .ug-textpanel {
    visibility: hidden;
}
.ug-gallery-wrapper .ug-textpanel-description{
	text-align:center;
}
.ug-gallery-wrapper .ug-textpanel-description {
	font-size: 0.8em;
}

/* ==========================================================================
   Grids
   ========================================================================== */
.last-col {
  float: right;
  padding-right: 0 !important; }
.everythird {
  clear: left; }
.visible {
    visibility: visible !important;
}
article.everysecond {
  background: #f3f3f3; }

@media (max-width: 480px) {
  .thirditem-2 {
    padding-right: 0; }
  .thirditem-3 {
    display: none; }
  #thumbnails .thumb {
    width:100%;
  }
}
@media (max-width: 767px) {
  .m-all {
    float: left;
    padding-right: 0.75em;
    width: 100%;
    padding-right: 0; }
  .m-1of2 {
    float: left;
    /*padding-right: 0.75em;*/
    width: 50%; }
  .m-1of3 {
    float: left;
    padding-right: 0.75em;
    width: 33.33%; }
  .m-2of3 {
    float: left;
    padding-right: 0.75em;
    width: 66.66%; }
  .m-1of4 {
    float: left;
    padding-right: 0.75em;
    width: 25%; }
  .m-3of4 {
    float: left;
    padding-right: 0.75em;
    width: 75%; }
  .everysecond {
    clear: left; }
  .everythird {
    clear: none; }
  .thirditem-3 {
    display: none; }
  p {
    font-size: 15px;
  }
  #inner-footer p {
    font-size: 10px;
  }
  #thumbnails .thumb {
    width:50%;
  }
}
/* Portrait tablet to landscape */
@media (min-width: 768px) and (max-width: 1029px) {
  .t-all {
    float: left;
    padding-right: 0.75em;
    width: 100%;
    padding-right: 0; }
  .t-1of2 {
    float: left;
    padding-right: 0.75em;
    width: 50%; }
  .t-1of3 {
    float: left;
    /*padding-right: 0.75em;*/
    width: 33.33%; }
  .t-2of3 {
    float: left;
    padding-right: 0.75em;
    width: 66.66%; }
  .t-1of4 {
    float: left;
    padding-right: 0.75em;
    width: 25%; }
  .t-3of4 {
    float: left;
    padding-right: 0.75em;
    width: 75%; }
  .t-1of5 {
    float: left;
    padding-right: 0.75em;
    width: 20%; }
  .t-2of5 {
    float: left;
    padding-right: 0.75em;
    width: 40%; }
  .t-3of5 {
    float: left;
    padding-right: 0.75em;
    width: 60%; }
  .t-4of5 {
    float: left;
    padding-right: 0.75em;
    width: 80%; }
}
/* Landscape to small desktop */
@media (min-width: 1030px) {
  .d-all {
    float: left;
    padding-right: 0.75em;
    width: 100%;
    padding-right: 0; }
  .d-1of2 {
    float: left;
    padding-right: 0.75em;
    width: 50%; }
  .d-1of3 {
    float: left;
    /*padding-right: 0.75em;*/
    width: 33.33%; }
  .d-2of3 {
    float: left;
    padding-right: 0.75em;
    width: 66.66%; }
  .d-1of4 {
    float: left;
    padding-right: 0.75em;
    width: 25%; }
  .d-3of4 {
    float: left;
    padding-right: 0.75em;
    width: 75%; }
  .d-1of5 {
    float: left;
    padding-right: 0.75em;
    width: 20%; }
  .d-2of5 {
    float: left;
    padding-right: 0.75em;
    width: 40%; }
  .d-3of5 {
    float: left;
    padding-right: 0.75em;
    width: 60%; }
  .d-4of5 {
    float: left;
    padding-right: 0.75em;
    width: 80%; }
  .d-1of6 {
    float: left;
    padding-right: 0.75em;
    width: 16.6666666667%; }
  .d-1of7 {
    float: left;
    padding-right: 0.75em;
    width: 14.2857142857%; }
  .d-2of7 {
    float: left;
    padding-right: 0.75em;
    width: 28.5714286%; }
  .d-3of7 {
    float: left;
    padding-right: 0.75em;
    width: 42.8571429%; }
  .d-4of7 {
    float: left;
    padding-right: 0.75em;
    width: 57.1428572%; }
  .d-5of7 {
    float: left;
    padding-right: 1.75em;
    width: 71.4285715%; }
  .d-6of7 {
    float: left;
    padding-right: 0.75em;
    width: 85.7142857%; }
  .d-1of8 {
    float: left;
    padding-right: 0.75em;
    width: 12.5%; }
  .d-1of9 {
    float: left;
    padding-right: 0.75em;
    width: 11.1111111111%; }
  .d-1of10 {
    float: left;
    padding-right: 0.75em;
    width: 10%; }
  .d-1of11 {
    float: left;
    padding-right: 0.75em;
    width: 9.09090909091%; }
  .d-1of12 {
    float: left;
    padding-right: 0.75em;
    width: 8.33%; } }
@media (max-width: 480px) {
  .s-all {
    float: left;
    padding-right: 0.75em;
    width: 100%;
    padding-right: 0; }
  #thumbnails .thumb {
    width:100%;
  } }

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert-help, .alert-info, .alert-error, .alert-success {
  margin: 10px;
  padding: 5px 18px;
  border: 1px solid; }

.alert-help {
  border-color: #e8dc59;
  background: #ebe16f; }

.alert-info {
  border-color: #bfe4f4;
  background: #d5edf8; }

.alert-error {
  border-color: #f8cdce;
  background: #fbe3e4; }

.alert-success {
  border-color: #deeaae;
  background: #e6efc2; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.blue-btn, .comment-reply-link, #submit {
  display: inline-block;
  position: relative;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  color: white;
  font-size: 0.9em;
  font-size: 34px;
  line-height: 34px;
  font-weight: normal;
  padding: 0 24px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  -webkit-transition: background-color 0.14s ease-in-out;
  transition: background-color 0.14s ease-in-out; }
  .blue-btn:hover, .comment-reply-link:hover, #submit:hover, .blue-btn:focus, .comment-reply-link:focus, #submit:focus {
    color: white;
    text-decoration: none; }
  .blue-btn:active, .comment-reply-link:active, #submit:active {
    top: 1px; }

.blue-btn, .comment-reply-link, #submit {
  background-color: #2980b9; }
  .blue-btn:hover, .comment-reply-link:hover, #submit:hover, .blue-btn:focus, .comment-reply-link:focus, #submit:focus {
    background-color: #2574a8; }
  .blue-btn:active, .comment-reply-link:active, #submit:active {
    background-color: #2472a4; }

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  margin-bottom: 14px;
  font-size: 1em;
  color: #5c6b80;
  border-radius: 3px;
  vertical-align: middle;
  box-shadow: none;
  border: 0;
  width: 100%;
  max-width: 400px;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #eaedf2;
  -webkit-transition: background-color 0.24s ease-in-out;
  transition: background-color 0.24s ease-in-out; }
  input[type="text"]:focus, input[type="text"]:active,
  input[type="password"]:focus,
  input[type="password"]:active,
  input[type="datetime"]:focus,
  input[type="datetime"]:active,
  input[type="datetime-local"]:focus,
  input[type="datetime-local"]:active,
  input[type="date"]:focus,
  input[type="date"]:active,
  input[type="month"]:focus,
  input[type="month"]:active,
  input[type="time"]:focus,
  input[type="time"]:active,
  input[type="week"]:focus,
  input[type="week"]:active,
  input[type="number"]:focus,
  input[type="number"]:active,
  input[type="email"]:focus,
  input[type="email"]:active,
  input[type="url"]:focus,
  input[type="url"]:active,
  input[type="search"]:focus,
  input[type="search"]:active,
  input[type="tel"]:focus,
  input[type="tel"]:active,
  input[type="color"]:focus,
  input[type="color"]:active,
  select:focus,
  select:active,
  textarea:focus,
  textarea:active,
  .field:focus,
  .field:active {
    background-color: #f7f8fa; }
  input[type="text"].error, input[type="text"].is-invalid,
  input[type="password"].error,
  input[type="password"].is-invalid,
  input[type="datetime"].error,
  input[type="datetime"].is-invalid,
  input[type="datetime-local"].error,
  input[type="datetime-local"].is-invalid,
  input[type="date"].error,
  input[type="date"].is-invalid,
  input[type="month"].error,
  input[type="month"].is-invalid,
  input[type="time"].error,
  input[type="time"].is-invalid,
  input[type="week"].error,
  input[type="week"].is-invalid,
  input[type="number"].error,
  input[type="number"].is-invalid,
  input[type="email"].error,
  input[type="email"].is-invalid,
  input[type="url"].error,
  input[type="url"].is-invalid,
  input[type="search"].error,
  input[type="search"].is-invalid,
  input[type="tel"].error,
  input[type="tel"].is-invalid,
  input[type="color"].error,
  input[type="color"].is-invalid,
  select.error,
  select.is-invalid,
  textarea.error,
  textarea.is-invalid,
  .field.error,
  .field.is-invalid {
    color: #fbe3e4;
    border-color: #fbe3e4;
    background-color: white;
    background-position: 99% center;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG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aBsWR5wRiIAAAAASUVORK5CYII=);
    outline-color: #fbe3e4; }
  input[type="text"].success, input[type="text"].is-valid,
  input[type="password"].success,
  input[type="password"].is-valid,
  input[type="datetime"].success,
  input[type="datetime"].is-valid,
  input[type="datetime-local"].success,
  input[type="datetime-local"].is-valid,
  input[type="date"].success,
  input[type="date"].is-valid,
  input[type="month"].success,
  input[type="month"].is-valid,
  input[type="time"].success,
  input[type="time"].is-valid,
  input[type="week"].success,
  input[type="week"].is-valid,
  input[type="number"].success,
  input[type="number"].is-valid,
  input[type="email"].success,
  input[type="email"].is-valid,
  input[type="url"].success,
  input[type="url"].is-valid,
  input[type="search"].success,
  input[type="search"].is-valid,
  input[type="tel"].success,
  input[type="tel"].is-valid,
  input[type="color"].success,
  input[type="color"].is-valid,
  select.success,
  select.is-valid,
  textarea.success,
  textarea.is-valid,
  .field.success,
  .field.is-valid {
    color: #e6efc2;
    border-color: #e6efc2;
    background-color: white;
    background-position: 99% center;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYm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LvwCs5DvfBf65p+MypqRbO1FXK9utH4/QKuaqYTsG3E3INJv00Q46px3+XxanJ/Ute2/vqP4FKDza2KcdljIKdnhS0xXYULTaqmLMZFn8FFSFtvt6x70ExFCS5oUXspq2ssa7oEl1swFa+CGFdgtkHgPDyDKy02zyxNU6lXRUZb1EuHYayNNs+Yh5B0WQo+/8fpJnNTZFuzz2OpjoQ2QruSOQlMy35fEGmEGMxY9e1brxobw7TkWA1h6xfckUPb+JhGoE/Hpfvew7qUld/H9J8AAwDpw3WYrxcZ3QAAAABJRU5ErkJggg==);
    outline-color: #e6efc2; }
  input[type="text"][disabled], input[type="text"].is-disabled,
  input[type="password"][disabled],
  input[type="password"].is-disabled,
  input[type="datetime"][disabled],
  input[type="datetime"].is-disabled,
  input[type="datetime-local"][disabled],
  input[type="datetime-local"].is-disabled,
  input[type="date"][disabled],
  input[type="date"].is-disabled,
  input[type="month"][disabled],
  input[type="month"].is-disabled,
  input[type="time"][disabled],
  input[type="time"].is-disabled,
  input[type="week"][disabled],
  input[type="week"].is-disabled,
  input[type="number"][disabled],
  input[type="number"].is-disabled,
  input[type="email"][disabled],
  input[type="email"].is-disabled,
  input[type="url"][disabled],
  input[type="url"].is-disabled,
  input[type="search"][disabled],
  input[type="search"].is-disabled,
  input[type="tel"][disabled],
  input[type="tel"].is-disabled,
  input[type="color"][disabled],
  input[type="color"].is-disabled,
  select[disabled],
  select.is-disabled,
  textarea[disabled],
  textarea.is-disabled,
  .field[disabled],
  .field.is-disabled {
    cursor: not-allowed;
    border-color: #cfcfcf;
    opacity: 0.6; }
    input[type="text"][disabled]:focus, input[type="text"][disabled]:active, input[type="text"].is-disabled:focus, input[type="text"].is-disabled:active,
    input[type="password"][disabled]:focus,
    input[type="password"][disabled]:active,
    input[type="password"].is-disabled:focus,
    input[type="password"].is-disabled:active,
    input[type="datetime"][disabled]:focus,
    input[type="datetime"][disabled]:active,
    input[type="datetime"].is-disabled:focus,
    input[type="datetime"].is-disabled:active,
    input[type="datetime-local"][disabled]:focus,
    input[type="datetime-local"][disabled]:active,
    input[type="datetime-local"].is-disabled:focus,
    input[type="datetime-local"].is-disabled:active,
    input[type="date"][disabled]:focus,
    input[type="date"][disabled]:active,
    input[type="date"].is-disabled:focus,
    input[type="date"].is-disabled:active,
    input[type="month"][disabled]:focus,
    input[type="month"][disabled]:active,
    input[type="month"].is-disabled:focus,
    input[type="month"].is-disabled:active,
    input[type="time"][disabled]:focus,
    input[type="time"][disabled]:active,
    input[type="time"].is-disabled:focus,
    input[type="time"].is-disabled:active,
    input[type="week"][disabled]:focus,
    input[type="week"][disabled]:active,
    input[type="week"].is-disabled:focus,
    input[type="week"].is-disabled:active,
    input[type="number"][disabled]:focus,
    input[type="number"][disabled]:active,
    input[type="number"].is-disabled:focus,
    input[type="number"].is-disabled:active,
    input[type="email"][disabled]:focus,
    input[type="email"][disabled]:active,
    input[type="email"].is-disabled:focus,
    input[type="email"].is-disabled:active,
    input[type="url"][disabled]:focus,
    input[type="url"][disabled]:active,
    input[type="url"].is-disabled:focus,
    input[type="url"].is-disabled:active,
    input[type="search"][disabled]:focus,
    input[type="search"][disabled]:active,
    input[type="search"].is-disabled:focus,
    input[type="search"].is-disabled:active,
    input[type="tel"][disabled]:focus,
    input[type="tel"][disabled]:active,
    input[type="tel"].is-disabled:focus,
    input[type="tel"].is-disabled:active,
    input[type="color"][disabled]:focus,
    input[type="color"][disabled]:active,
    input[type="color"].is-disabled:focus,
    input[type="color"].is-disabled:active,
    select[disabled]:focus,
    select[disabled]:active,
    select.is-disabled:focus,
    select.is-disabled:active,
    textarea[disabled]:focus,
    textarea[disabled]:active,
    textarea.is-disabled:focus,
    textarea.is-disabled:active,
    .field[disabled]:focus,
    .field[disabled]:active,
    .field.is-disabled:focus,
    .field.is-disabled:active {
      background-color: #d5edf8; }

input[type="password"] {
  letter-spacing: 0.3em; }

textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em; }

select {
  -webkit-appearance: none;
  /* 1 */
  background-image: url(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4RkIyNjBGRjA1RTExRTI5MjhERkZBMTMzMDYwNzI2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Vxkp9gAAAI9JREFUeNpidHFxucHAwKAOxE+AmJmBMPgLxDJAfJMFSKwD4kqoAClgA+P///8ZXF1dPaCGcBKh6QcQB+3evXs7WDMIAA2QB1I7gFgDj0aQFz2BGh+AOEwwUaDAQyBlCMR7cGjcC5KHaQQBuM3IAOiKTiBVhiTUDdRUhq4Oq2aoAelAahIQ5wM1zsCmBiDAADhYMJXVZ9u9AAAAAElFTkSuQmCC);
  background-repeat: no-repeat;
  background-position: 97.5% center; }

/* ==========================================================================
   MOBILE
   ========================================================================== */
   
/*********************
GENERAL STYLES
*********************/
body {
  font-size: 100%;
  line-height: 1.5;
  color: #000;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased; }

/*********************
LAYOUT & GRID STYLES
*********************/
.wrap {
  width: 92%;
  margin: 0 auto; }
#controls .wrap {
  text-align: center; }

/*********************
LINK STYLES
*********************/
a, a:visited {
  color: #666;
  /* on hover */
  /* on click */
  /* mobile tap color */ }
  a:hover, a:focus, a:visited:hover, a:visited:focus,
  .nav li.current-menu-item a,
  .nav li.current_page_item a{
    color: #86857b; }
  a:link, a:visited:link {
    /*
    this highlights links on iPhones/iPads.
    so it basically works like the :hover selector
    for mobile devices.
    */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3); }

/******************************************************************
H1, H2, H3, H4, H5 STYLES
******************************************************************/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  text-rendering: optimizelegibility;
  font-weight: 500;
  /*
  if you're going to use webfonts, be sure to check your weights
  http://css-tricks.com/watch-your-font-weight/
  */
  /* removing text decoration from all headline links */ }
  h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a {
    text-decoration: none; }

h1, .h1 {
  font-size: 1.4em;
  line-height: 1.333em; }
body.category-blog h1 {
  display: none; }

h2, .h2 {
  font-size: 1.2em;
  line-height: 1.1em;
  margin-bottom: 0.375em; }
body.home h2 {
  width: 100%;
  display: inline-block; }

h3, .h3 {
  font-size: 1.125em; }

h4, .h4 {
  font-size: 1.1em;
  font-weight: 700; }

h5, .h5 {
  font-size: 0.846em;
  line-height: 2.09em;
  text-transform: uppercase;
  letter-spacing: 2px; }

@media only screen and (min-width: 768px) {
  h1, .h1 {}
}

/*********************
HEADER STYLES
*********************/
/*
.header {
  padding: 0; }

#logo {
  margin: 0.75em 0 0;
  float: left;
  font-size: 2.5em; }
  #logo img {
    max-width: 100%; }
*/

.header {
	width: 100%;
	height: 80px;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 100000;
	background-color: #fff;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
	background: #fff;
}
body.home .header {
	background: none;
}
.header #logo {
	float: left;
}
.header #logo img {
	float: left;
	margin: 10px 0 0;
	height: 56px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.header nav ul {
	float: right;
	margin: 25px 0 0 5px;
	display: block;
    -webkit-transition: margin 0.3s;
    -moz-transition: margin 0.3s;
    -ms-transition: margin 0.3s;
    -o-transition: margin 0.3s;
    transition: margin 0.3s;
}
.header nav ul ul {
	margin: 0;
}
.header.smaller {
	height: 50px;
	border-bottom: 1px solid #eee;
}
.header.smaller #logo img {
	margin: 5px 0 0;
	height: 40px;
	width: auto;
	font-size: 1em;
}
.header.smaller nav ul {
	margin: 13px 0 0;
}

#content {
	padding-top: 80px;
}


@media only screen and (min-width: 481px) {
}

/*********************
NAVIGATION STYLES
*********************/
.nav {
  border-bottom: 0;
  margin: 60px 0 0;
  float: right; }
.nav li {
  float: left; }
.nav li a {
  text-decoration: none;
  padding: 0.4em 0.75em; }
.nav li a:active,
.nav li a:focus,
.nav li a:hover,
.nav li.current-menu-item a,
.nav li.current-menu-parent a,
.nav li.current_page_item a,
.nav li.current_page_parent a,
.nav li.current_page_ancestor a,
.nav li.current-post-ancestor a,
.nav li.current-category-ancestor a,
body.post-type-archive-photojournalism li.menu-item-2682 a,
body.single-photojournalism li.menu-item-2682 a {
  background: #ffa417;
  color: #fff; }
.nav li ul.sub-menu li a,
.nav li ul.children li a {
  padding-left: 30px; }

@media only screen and (min-width: 481px) {
  .nav {}
}

/*********************
POSTS & CONTENT STYLES
*********************/
body.category article {
  border-bottom: 1px solid #eee;
  padding-bottom: 1em; }
.hentry {
  background-color: white;
  margin-bottom: 1.5em; }
  .hentry header {}
  .hentry footer {
    padding: 0.5em 0 1em;
	font-size: 0.7em; }
    .hentry footer p {
      margin: 0; }
body.category .hentry {
  margin-bottom: 1em; }
body.post-type-archive .hentry {
  margin: 0;
  padding: 0 0 5px; }

.single-title,
.page-title,
.entry-title {
  margin: 2% 0 0; }
.entry-title {
  text-transform: uppercase;
  padding-top: 2%; }
body.category .entry-title {
  padding-top: 0;
  color: #000;
  font-size: 1.4em; }
body.category .entry-title a {
  color: #000; }
body.post-type-archive .entry-title a {
  font-size: 1.1em;
  color: #333; }

.byline {
  font-size: 0.8em;
  color: #9fa6b4;

  margin: 0;
  padding: 0; }
body.post-type-archive .byline {
  font-size: 1em;
  font-style: italic;
}
.archive-summary {
  margin: 0;
  padding: 5px 0 0; }
body.post-type-archive article section h3,
body.post-type-archive article section p,
body.post-type-archive article footer {
  padding-left: 4%;
  padding-right: 4%; }

.entry-content {
  padding: 0;
  color: #5c6b80; }
.entry-content h1{
  color: #000; }
  body.page-id-2590 .entry-content ul {
    -webkit-columns: 2 200px;
    -moz-columns: 2 200px;
    columns: 2 200px;
  }
.entry-content p {
  word-wrap: normal;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  hyphens: none;
}
  @media (max-width: 767px) {
    body.page-id-2590 .entry-content ul {
      -webkit-columns: 1;
      -moz-columns: 1;
      columns: 1;
  	}
  }
  .entry-content p {
    margin: 0 0 15px; }
  .entry-content p,
  .entry-content li {
	font-size: 85%; }
  body.post-type-archive .entry-content p {
    margin: 0; }
  .archiveoverview .entry-content p {
    font-size: 0.8em; }
  body.home .entry-content a img:hover,
  body.post-type-archive .entry-content a img:hover {
    opacity: 0.9; }
  .entry-content table {
    width: 100%;
    border: 1px solid #eaedf2;
    margin-bottom: 1.5em; }
    .entry-content table caption {
      margin: 0 0 7px;
      font-size: 0.75em;
      color: #9fa6b4;
      text-transform: uppercase;
      letter-spacing: 1px; }
  .entry-content tr {
    border-bottom: 1px solid #eaedf2; }
    .entry-content tr:nth-child(even) {
      background-color: #f8f9fa; }
  .entry-content td {
    padding: 7px;
    border-right: 1px solid #eaedf2; }
    .entry-content td:last-child {
      border-right: 0; }
  .entry-content th {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaedf2;
    border-right: 1px solid #eaedf2; }
    .entry-content th:last-child {
      border-right: 0; }
  .entry-content blockquote {
    margin: 0 0 1.5em 0.75em;
    padding: 0 0 0 0.75em;
    border-left: 3px solid #2980b9;
    font-style: italic;
    color: #9fa6b4; }
  .entry-content dd {
    margin-left: 0;
    font-size: 0.9em;
    color: #787878;
    margin-bottom: 1.5em; }
  .entry-content img {
    margin: 0 0 0.5em;
    max-width: 100%;
    height: auto;
	vertical-align: bottom; }
  .category .entry-content img {
	border: 1px solid #999; }
  body.post-type-archive article section.entry-content img {
    margin: 0;
  }
  .entry-content .size-auto,
  .entry-content .size-full,
  .entry-content .size-large,
  .entry-content .size-medium,
  .entry-content .size-thumbnail {
    max-width: 100%;
    height: auto; }
  .entry-content pre {
    background: #323944;
    color: #f8f9fa;
    font-size: 0.9em;
    padding: 1.5em;
    margin: 0 0 1.5em;
    border-radius: 3px; }

.wp-caption {
  max-width: 100%;
  margin: 0 0 1.5em; }
  .wp-caption img {
    max-width: 100%;
    margin-bottom: 0;
    width: 100%; }
  .wp-caption p.wp-caption-text {
    font-size: 0.7em;
    margin: 4px 0 7px;
    text-align: left; }

.tags {
  margin: 0; }

.fp_empty_block {
  background: #eee;
  width: 100%;
  height: 0;
  padding-bottom: 66.666%;
  margin: 0px 0px 0.5em;
  display: block; }

#bx-pager {
	margin: 0 -15px 0 0;
}
#bx-pager a img {
	width: 70px;
	margin: 0px 0.65em 0.95em 0px;
}

ul.post-categories {
  display: inline-block;
}
ul.post-categories li {
  display: inline;
}

#gallery,
#thumbnails,
#pj-single {
  padding-bottom: 2em;
}
#gallery-about {
  padding: 2em 0;
}

/******************************************************************
PAGE NAVI STYLES
******************************************************************/
.pagination,
.wp-prev-next {
  margin: 1.5em 0; }

.pagination {
  text-align: center;
  width: 100%;
  display: inline-block; }
  .pagination ul {
    display: inline-block;
    background-color: white;
    white-space: nowrap;
    padding: 0;
    clear: both;
    border-radius: 3px; }
  .pagination li {
    padding: 0;
    margin: 0;
    float: left;
    display: inline;
    overflow: hidden;
    border-right: 1px solid #eaedf2; }
  .pagination a, .pagination span {
    margin: 0;
    text-decoration: none;
    padding: 0;
    line-height: 1em;
    font-size: 1em;
    font-weight: normal;
    padding: 0.75em;
    min-width: 1em;
    display: block;
    color: #FFA417; }
    .pagination a:hover, .pagination a:focus, .pagination span:hover, .pagination span:focus {
      background-color: #FFA417;
      color: white; }
  .pagination .current {
    color: #fff;
	background: #FFA417; }
    .pagination .current:hover, .pagination .current:focus {
      background-color: white;
      color: #5c6b80; }

.wp-prev-next .prev-link {
  float: left; }
.wp-prev-next .next-link {
  float: right; }

/******************************************************************
FRONTPAGE SLIDER
******************************************************************/
#bg{position:absolute; z-index: -1; overflow:hidden; width:100%; height:100%;padding: 80px 0 30px;top: 0;}
@media (max-width: 767px) {
  #bg{ padding: 50px 0 30px; }
}
body.home #bg{padding:0;background:#eee;}
#bgimg{display:none; -ms-interpolation-mode: bicubic;}
#preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 10px;
  text-indent: -9999em;
  border-top: 0.7em solid rgba(0, 0, 0, 0.1);
  border-right: 0.7em solid rgba(0, 0, 0, 0.1);
  border-bottom: 0.7em solid rgba(0, 0, 0, 0.1);
  border-left: 0.7em solid #FFA417;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
#preloader,
#preloader:after {
  border-radius: 50%;
  width: 5em;
  height: 5em;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#thumbnails_wrapper{z-index:2; position:fixed; bottom:0; width:100%; background:url('library/images/empty.gif');}
#outer_container{position:relative; padding:0; width:100%; margin:40px auto;}
#outer_container .thumbScroller{position:relative; overflow:hidden;}
#outer_container .thumbScroller, #outer_container .thumbScroller .container, #outer_container .thumbScroller .content{height:170px;}
#outer_container .thumbScroller .container{position:relative; left:0;}
#outer_container .thumbScroller .content{float:left;}
#outer_container .thumbScroller .content div{margin:5px; height:100%;}
#outer_container .thumbScroller img{border:5px solid #fff;}
#outer_container .thumbScroller .content div a{display:block; padding:5px;}

.nextImageBtn, .prevImageBtn{display:block; position:absolute; width:50px; height:50px; top:50%; margin:-25px 10px 0 10px; z-index:3; filter:alpha(opacity=40); -moz-opacity:0.4; -khtml-opacity:0.4; opacity:0.4;}
.nextImageBtn:hover,.prevImageBtn:hover{filter:alpha(opacity=80); -moz-opacity:0.8; -khtml-opacity:0.8; opacity:0.8;}
.nextImageBtn{right:0; background:#000 url('library/images/nextImgBtn.png') center center no-repeat;}
.prevImageBtn{background:#000 url('library/images/prevImgBtn.png') center center no-repeat;}

/******************************************************************
COMMENT STYLES
******************************************************************/
/*
 // h3 comment title 
#comments-title {
  padding: 0.75em;
  margin: 0;
  border-top: 1px solid #f8f9fa; }

.commentlist {
  margin: 0;
  list-style-type: none; }

.comment {
  position: relative;
  clear: both;
  overflow: hidden;
  padding: 1.5em;
  border-bottom: 1px solid #f8f9fa; }
  .comment .comment-author {
    padding: 7px;
    border: 0; }
  .comment .vcard {
    margin-left: 50px; }
    .comment .vcard cite.fn {
      font-weight: 700;
      font-style: normal; }
    .comment .vcard time {
      display: block;
      font-size: 0.9em;
      font-style: italic; }
      .comment .vcard time a {
        color: #9fa6b4;
        text-decoration: none; }
        .comment .vcard time a:hover {
          text-decoration: underline; }
    .comment .vcard .avatar {
      position: absolute;
      left: 16px;
      border-radius: 50%; }
  .comment:last-child {
    margin-bottom: 0; }
  .comment .children {
    margin: 0; }
  .comment[class*=depth-] {
    margin-top: 1.1em; }
  .comment.depth-1 {
    margin-left: 0;
    margin-top: 0; }
  .comment:not(.depth-1) {
    margin-top: 0;
    margin-left: 7px;
    padding: 7px; }
  .comment.odd {
    background-color: white; }
  .comment.even {
    background: #f8f9fa; }

.comment_content p {
  margin: 0.7335em 0 1.5em;
  font-size: 1em;
  line-height: 1.5em; }

.comment-reply-link {
  font-size: 0.9em;
  float: right; }

.comment-edit-link {
  font-style: italic;
  margin: 0 7px;
  text-decoration: none;
  font-size: 0.9em; }
 */ 


/******************************************************************
COMMENT FORM STYLES
******************************************************************/
/*
.comment-respond {
  padding: 1.5em;
  border-top: 1px solid #f8f9fa; }

#reply-title {
  margin: 0; }

.logged-in-as {
  color: #9fa6b4;
  font-style: italic;
  margin: 0; }
  .logged-in-as a {
    color: #5c6b80; }

.comment-form-comment {
  margin: 1.5em 0 0.75em; }

.form-allowed-tags {
  padding: 1.5em;
  background-color: #f8f9fa;
  font-size: 0.9em; }

#submit {
  float: right;
  font-size: 1em; }

#comment-form-title {
  margin: 0 0 1.1em; }

#allowed_tags {
  margin: 1.5em 10px 0.7335em 0; }

.nocomments {
  margin: 0 20px 1.1em; }
*/

/*********************
SIDEBARS & ASIDES
*********************/
.widget ul {
  padding: 0 0 0 2em;
  margin: 0; }
.widget ul.instagram-pics {
  padding: 10px 0 0;
  overflow: hidden; }
.widget ul#socialmedia {
  padding: 0; }
.widget ul li {
  list-style: circle; }
.widget ul.instagram-pics li {
  list-style: none; }
.widget ul li a {
  text-decoration: none; }

.no-widgets {
  background-color: white;
  padding: 1.5em;
  text-align: center;
  border: 1px solid #cccccc;
  border-radius: 2px;
  margin-bottom: 1.5em; }

ul.instagram-pics li {
  float: left;
  margin: 0 6px 0 0 !important; }
ul.instagram-pics li img {
  max-width: 80px !important;
  height: auto !important; }
.null-instagram-feed p {
  font-size: 0.8em;
  margin: 5px 0 0;
}
.null-instagram-feed p a {
  text-decoration: none;
}

ul#socialmedia li {
  display: inline; }
ul#socialmedia li a img {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: gray; filter: grayscale(100%);
}
ul#socialmedia li a:hover img {
  -webkit-filter: none;
  -moz-filter: none;
  -ms-filter: none;
  -o-filter: none;
  filter: none; filter: none;
}

/*********************
FOOTER STYLES
*********************/
.footer {
  clear: both;
  padding: 30px 0 0; }
body.home .footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 0;
  z-index: 100; }
#inner-footer {
  font-size: 0.75em;
  margin: 0 auto 20px;
  color: #666; }
body.home #inner-footer {
  margin: 0 auto;
  color: #fff; }
#inner-footer p {
  float: left;
  display: inline;
  margin: 0 0 5px; }
#inner-footer a {
  text-decoration: none; }
body.home #inner-footer a{
  color: #fff; }
#inner-footer a:hover {
  text-decoration: underline; }

@media only screen and (min-width: 481px) {
  /******************************************************************

  Stylesheet: 481px and Up Stylesheet
  
  ******************************************************************/

  /*********************
  NAVIGATION STYLES
  *********************/
  /* .menu is clearfixed inside mixins.scss */
  .menu {
    /* end .menu ul */ }
    .menu ul {
      /* end .menu ul li */
      /* highlight current page */
      /* end current highlighters */ }
      .menu ul li {
        /*
        plan your menus and drop-downs wisely.
        */ }
        .menu ul li a {
          /*
          you can use hover styles here even though this size
          has the possibility of being a mobile device.
          */ }

  /* end .menu */
  /*********************
  POSTS & CONTENT STYLES
  *********************/
  /* entry content */
  .entry-content {
    /* at this larger size, we can start to align images */ }
    .entry-content .alignleft, .entry-content img.alignleft {
      margin-right: 1.5em;
      display: inline;
      float: left; }
    .entry-content .alignright, .entry-content img.alignright {
      margin-left: 1.5em;
      display: inline;
      float: right; }
    .entry-content .aligncenter, .entry-content img.aligncenter {
      margin-right: auto;
      margin-left: auto;
      display: block;
      clear: both; }

	#bx-pager a img {
		width: 15%;
		margin: 0px 1% 1.5% 0px;
	}

  /* end .entry-content */
  /*********************
  FOOTER STYLES
  *********************/
  #inner-footer p {
    margin: 0; }
  #inner-footer p.footer-right {
    padding-right: 0px;
    clear: both;
	margin: 0 0 5px; }
 }
/*********************
TABLET & SMALLER LAPTOPS
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*********************/
@media only screen and (min-width: 768px) {
  /******************************************************************

  Stylesheet: Tablet & Small Desktop Stylesheet
  
  ******************************************************************/
  /*********************
  GENERAL STYLES
  *********************/
  /*********************
  LAYOUT & GRID STYLES
  *********************/
  .wrap {
    width: 760px; }

  /*********************
  HEADER STYLES
  *********************/
  /*********************
  NAVIGATION STYLES
  *********************/
  .nav {
    border: 0; }
    .nav ul {
      margin-top: 0; }
    .nav li {
      position: relative;
	  margin: 0 0 0 5px;
	  text-transform: uppercase;
	  font-size: 0.9em; }
      .nav li a {
        border-bottom: 0;
        padding: 0.4em 0.5em; }
      body.home .nav li a {
        color: #fff; }
        .nav li a:hover, .nav li a:focus { }
		.nav li:hover a { 
		  background: #ffa417;
		  color: #fff;
		}
      .nav li ul.sub-menu,
      .nav li ul.children {
        margin-top: 3px;
        position: absolute;
        visibility: hidden;
        z-index: 8999;
		border-top: 1px solid #fff; }
        .nav li ul.sub-menu li,
        .nav li ul.children li {
          margin: 0; }
          .nav li ul.sub-menu li a,
          .nav li ul.children li a {
            padding-left: 10px;
            border-right: 0;
            display: block;
            width: 180px;
            border-bottom: 1px solid #fff; }
          .nav li ul.sub-menu li:last-child a,
          .nav li ul.children li:last-child a {
            border-bottom: 0; }
		  .nav li ul.sub-menu li a:hover,
		  .nav li ul.sub-menu li.current_page_item a,
		  .nav li ul.sub-menu li.current-menu-item a {
		    background: #ffbf5c; }
          .nav li ul.sub-menu li ul,
          .nav li ul.children li ul {
            top: 0;
            left: 100%; }
      .nav li:hover > ul {
        top: auto;
        visibility: visible; }

  /* end .nav */
  /*********************
  SIDEBARS & ASIDES
  *********************/
  .sidebar {
    margin: 0.5em 0 0;
	color: #999; }

  .widgettitle {
    margin-bottom: 0.3em; }

  .widget {
    padding: 0 10px;
    margin: 0 0 2em; }
    .widget ul li {
      margin-bottom: 0.3em;
      /* deep nesting */ }
	.widget a {
	  color: #999; }
      .widget ul li ul {
        margin-top: 0.75em;
        padding-left: 1em; }

  /*********************
  POSTS & CONTENT STYLES
  *********************/
	#bx-pager a img {
		width: 14.7%;
		margin: 0px 1% 1.5% 0px;
	}

  /*********************
  FOOTER STYLES
  *********************/
  .footer-links ul li { }

  /* end .footer-links */ }
/*********************
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*********************/
@media only screen and (min-width: 1030px) {
  /******************************************************************

  Stylesheet: Desktop Stylsheet
  
  ******************************************************************/
  #inner-header.wrap,
  #inner-footer.wrap {
    width: 100%; }
  .header #logo,
  #inner-footer p {
    padding-left: 60px; }
  .header nav ul,
  #inner-footer p.footer-right {
    padding-right: 60px;
	clear: none; }
  .nav li a {
    padding: 0.4em 0.75em; }
  .header nav ul li ul {
    padding-right: 0; }

  /*********************
  POSTS & CONTENT STYLES
  *********************/
	#bx-pager a img {
		width: 15%;
		margin: 0px 1% 1.5% 0px;
	}
  #inner-footer p.footer-right {
    float: right; }
  .category .entry-content img.oversized {
    margin: 0 -70px;
    min-width: 900px !important; }
 }
/*********************
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*********************/
@media only screen and (min-width: 1240px) {
  /******************************************************************

  Stylesheet: Super Large Monitor Stylesheet
  
  ******************************************************************/ }
/*********************
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution. You can also create a media
query for retina AND a certain size if you want. Go Nuts.
*********************/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
  /******************************************************************

  Stylesheet: Retina Screens & Devices Stylesheet
  
  ******************************************************************/
  /* 
  
  EXAMPLE 
  Let's say you have an image and you need to make sure it looks ok
  on retina screens. Let's say we have an icon which dimension are
  24px x 24px. In your regular stylesheets, it would look something
  like this:
  
  .icon {
  	width: 24px;
  	height: 24px;
  	background: url(img/test.png) no-repeat;
  }
  
  For retina screens, we have to make some adjustments, so that image
  doesn't look blurry. So, taking into account the image above and the
  dimensions, this is what we would put in our retina stylesheet:
  
  .icon {
  	background: url(img/test@2x.png) no-repeat;
  	background-size: 24px 24px;
  }
  
  So, you would create the same icon, but at double the resolution, meaning 
  it would be 48px x 48px. You'd name it the same, but with a @2x at the end
  (this is pretty standard practice). Set the background image so it matches
  the original dimensions and you are good to go. 
  
  */ }
/*********************
PRINT STYLESHEET
Feel free to customize this. Remember to add things that won't make
sense to print at the bottom. Things like nav, ads, and forms should
be set to display none.
*********************/
@media print {
  /******************************************************************

  Stylesheet: Print Stylesheet
  
  ******************************************************************/
  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important; }

  a, a:visited {
    color: #444 !important;
    text-decoration: underline; }
    a:after, a:visited:after {
      content: " (" attr(href) ")"; }
    a abbr[title]:after, a:visited abbr[title]:after {
      content: " (" attr(title) ")"; }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: ""; }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid; }

  thead {
    display: table-header-group; }

  tr, img {
    page-break-inside: avoid; }

  img {
    max-width: 100% !important; }

  @page {
    margin: 0.5cm; }
  p, h2, h3 {
    orphans: 3;
    widows: 3; }

  h2,
  h3 {
    page-break-after: avoid; }

  .sidebar,
  .page-navigation,
  .wp-prev-next,
  .respond-form,
  nav {
    display: none; } }
    
    
/******************************************************************

Stylesheet: Mobile Menu

******************************************************************/
#mobile-menu {
  display: none;
}
@media (max-width: 767px) {
	.header {
		height: 50px;
		border-bottom: 1px solid #eee;
	}
	body.home .header {
		border: none;
	}
	#logo {
	  width: 75%;
	  float: left;
	}
	.header #logo img {
		margin: 5px 0 0;
		height: 40px;
		width: auto;
		font-size: 1em;
	}
    #mobile-menu {
	  display: block;
    }
	.header-nav {
	  display: none;
	}
	.nav-icon {
	  width: 35px;
	  height: 35px;
	  position: relative;
	  margin: 10px 10px 0 0;
	  float: right;
	  -webkit-transform: rotate(0deg);
	  -moz-transform: rotate(0deg);
	  -o-transform: rotate(0deg);
	  transform: rotate(0deg);
	  -webkit-transition: .5s ease-in-out;
	  -moz-transition: .5s ease-in-out;
	  -o-transition: .5s ease-in-out;
	  transition: .5s ease-in-out;
	  cursor: pointer;
	}
	.nav-icon span {
	  display: block;
	  position: absolute;
	  height: 6px;
	  width: 100%;
	  background: #555;
	  opacity: 1;
	  left: 0;
	  -webkit-transform: rotate(0deg);
	  -moz-transform: rotate(0deg);
	  -o-transform: rotate(0deg);
	  transform: rotate(0deg);
	  -webkit-transition: .25s ease-in-out;
	  -moz-transition: .25s ease-in-out;
	  -o-transition: .25s ease-in-out;
	  transition: .25s ease-in-out;
	}
	.nav-icon span:nth-child(1) {
	  top: 0px;
	}
	.nav-icon span:nth-child(2) {
	  top: 10px;
	}
	.nav-icon span:nth-child(3) {
	  top: 20px;
	}
	.nav-icon.open span:nth-child(1) {
	  top: 18px;
	  -webkit-transform: rotate(135deg);
	  -moz-transform: rotate(135deg);
	  -o-transform: rotate(135deg);
	  transform: rotate(135deg);
	}
	.nav-icon.open span:nth-child(2) {
	  opacity: 0;
	  left: -60px;
	}
	.nav-icon.open span:nth-child(3) {
	  top: 18px;
	  -webkit-transform: rotate(-135deg);
	  -moz-transform: rotate(-135deg);
	  -o-transform: rotate(-135deg);
	  transform: rotate(-135deg);
	}
	#content {
		padding-top: 70px;
	}
}