@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
@import url("https://fast.fonts.net/cssapi/89027f44-a963-4402-8cae-2ccbb664b1f6.css");



* { margin:0; padding:0; border:0; -webkit-text-size-adjust:none; }

html,body { height:100%; }

body { font-family:'Quicksand', Arial, Helvetica, sans-serif; font-size:85%; line-height:1.4em; color:#111; overflow-y:scroll; }

h1 { /*font-family:"Courier New", Courier, monospace;*/ font-size:1.2em; text-transform:uppercase; font-weight:normal; margin:0 0 .7em 0; }

div { position:relative; }

a { color:#000; text-decoration:none; }
a:active,a:focus { outline:0; }

p { margin:0 0 1em 0; }

.hidden { display:none; visibility:hidden; }

.thumbImg { margin:0 37px 25px 0; width:120px; height:120px; }

.video { margin:0 0 25px; }
.video h1 { margin:0 0 5px 0; }
.video p { margin:0 0 7px 0; color:#666; font-size:.85em; line-height:1.3em; }

.smaller { font-size:.95em; }

.floatLeft {/* float:left; *//* display:inline; */}
.floatRight { float:right; display:inline; }
.clear { clear:both; }

.noScrolling { overflow:hidden; }

.padding { padding:10px; }



.contactSmall { display:none; width:80%; margin:0 auto 0 auto; text-align:center; }
.contactSmall img { width:200px; }
.contactSmall h1 { margin-top:40px; }
.bodySmall .contactSmall { display:block; }
.bodySmall .contactLarge { display:none; }



.splash { background-color:#fff; position:fixed; top:0; left:0; z-index:100; }
.splash .splashLogo { position:absolute; width:100px; height:100px; }



.contact .floatLeft { margin:0 25px 0 0; }
.contact .contactLCol { width:200px; }
.contact .contactLCol img { width:200px; height:auto; }
.contact .contactMCol { width:400px; margin-right:40px; }
.contact .contactRCol { width:200px; }
.contact h1 { font-size:1em; font-weight:bold; }



.blog { width:100%; margin:8px 0 0 0; }
.blogItem {/* margin:0 0 50px 0; *//* width:980px; */}
.blogItem .blogItemLCol {/* width:500px; */}
.blogItem .blogItemRCol {/* width:460px; */}
.blogItem .blogItemImages img { margin:0 10px 10px 0; }
.blogItem .blogItemDate { font-size:.9em; }
.blogItem .blogItemDate a { color:#999; }
.blogItem .blogItemNotes { margin:50px 0 0 0; color:#999; font-size:.9em; }
.blogItem .blogItemNotes a { color:#111; }
.blogItem .blogItemNotes ol { list-style:none; margin:0; }
.blogItem .blogItemNotes ol li { margin:0 0 8px 0; }
.blogItem .blogItemNotes ol li .avatar_frame { position:relative; top:4px; }
.blogItem .blogItemNotes ol li .action { margin:0 0 0 5px; }

.blogItem iframe[allowfullscreen] {
	max-width: 100%;
	height: 263px;
}

.pagination {font-size: 14px;padding:0 0 60px 0;}
.pagination a { margin:0 50px 0 0; }



/*.blog { width:100%; margin:20px 0 0 0; }
.blog .blogItem { margin:0 0 50px 0; }
.blog .blogItem .blogItemImages img { margin:0 10px 10px 0; }



.blog .tumblr_posts { width:980px; }
.blog .tumblr_post { width:980px; padding:20px 0 20px 0; border-bottom:1px solid #ccc; }
.blog .photoset { width:980px; overflow:auto; }*/



.headerSmall,.headerSmallPadding { height:50px; width:100%; }

.headerSmall { position:fixed; z-index:100; top:0; left:0; background-color:rgba(255,255,255,.9); background-color:#fff; border-bottom-color:#ccc; border-bottom-style:solid; }
.headerSmall .logo { position:absolute; width:28px; height:28px; top:10px; left:10px; }
.headerSmall .menu { position:absolute; width:27px; height:22px; top:13px; left:50px; }
.headerSmall .grid { position:absolute; width:23px; height:22px; top:13px; left:90px; }
.headerSmall .social { position:absolute; top:12px; right:10px; }
.headerSmall .social .floatRight { width:25px; height:auto; margin:0 0 0 10px; }

.navSmall { position:fixed; z-index:90; top:80px; left:0; width:100%; background-color:#fff; }
.navSmall a { display:block; padding:11px 10px 11px 10px; border-top:1px solid #f0f0f0; }



.header,.headerPadding { height:61px; width:100%; }

.header { position:fixed; z-index:20; top:0; left:0; background-color:rgba(255,255,255,.9); border-bottom-color:#ccc; border-bottom-style:solid; }
.header .logo { position:absolute; top:9px; left:20px; width:42px; height:42px; }
.header .nav { position:absolute; top:21px; left:70px; color:#999; text-transform:uppercase; }
.header .nav a { margin:0 10px 0 10px; color:#999; }
.header .nav a.a { color:#111; font-weight:bold; }
.header .social { position:absolute; top:12px; right:20px; width:300px; }
.header .social img { margin:0 0 0 6px; width:35px; height:35px; }

.bodyPadding { padding-top:0; padding-right:0; }

.staticPage .header { border-bottom-width:1px; }
.staticPage .bodyPadding { padding-top:25px; }

.headerCoverL { position:fixed; top:0; left:0; width:10px; height:100px; background-color:#fff; z-index:25; }
.headerCoverR { position:fixed; top:0; right:0; width:10px; height:100px; background-color:#fff; z-index:25; }

.imageHolder { position:fixed; z-index:40; width:10px; height:10px; padding:10px; top:-1000px; left:-1000px; background-color:#fff; }
.imageHolder .imageHolderImage { width:10px; height:10px; background-color:#f0f0f0; cursor:pointer; }
.imageHolder .imageHolderCaption { padding:10px 0 5px 0; }
.imageHolder .imageHolderCaption p { margin:0; }
.imageHolder .social { position:absolute; bottom:12px; right:10px; }
.imageHolder .social img { margin:0 0 0 6px; width:24px; height:auto; }



.imageHolderSmall { position:fixed; overflow:hidden; z-index:45; width:500px; height:500px; padding:0; top:0; left:-1000px; background-color:#fff; }
.imageHolderSmall .imageHolderSmallImage { position:absolute; top:0; left:0; }
.imageHolderSmall .imageHolderSmallCaption { position:absolute; top:0; left:0; }



.galleryCover { position:fixed; z-index:30; width:10px; height:10px; top:-1000px; left:-1000px; background-color:#fff; }

.galleryHolder { z-index:10; width:100%; overflow:hidden; }
.galleryHolder .galleryHolderRow { position:relative; width:100%; clear:both; }
.galleryHolder .galleryHolderItem { position:absolute; background-color:#f0f0f0; cursor:pointer; overflow:hidden; }
.galleryHolder .galleryHolderItem img { position:absolute; }
.galleryHolder .galleryHolderItem .galleryHolderItemCover { position:absolute; background-color:#000; }

.galleryHolder .galleryHolderRow .galleryHolderItem { position:relative; display:inline; float:left; }


/*
Theme Name: Pip 2016
Theme URI: 
Author: Mike Harding
Author URI: http://www.lazenbybrown.com
Description: Custom theme for Pip
Version: 1.0
*/



/*
font-family:'Century Gothic W01';
400 + 700 + italics
*/

/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
 */

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

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 * 2. Add the correct display in IE.
 */

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

/**
 * Add the correct display in IE 9-.
 */

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

/**
 * Add the correct display in iOS 4-7.
 */

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

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Add the correct display in IE 10-.
 * 1. Add the correct display in IE.
 */

template, /* 1 */
[hidden] {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

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

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

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

/**
 * Add the correct background and color in IE 9-.
 */

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

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

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

/* Grouping content
   ========================================================================== */

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

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

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/* Forms
   ========================================================================== */

/**
 * 1. Change font properties to `inherit` in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
select,
textarea {
  font: inherit; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Restore the font weight unset by the previous rule.
 */

optgroup {
  font-weight: bold;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

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

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

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

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
 */

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

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}



/* BEGIN PIP STYLES */

* {
	-webkit-tap-highlight-color: transparent; /* Prevent grey box appearing in iOS when user clicks on things */
}

html, body {
	height: 100%;
}

/* TYPOGRAPHY */

body {
	font-family:'Century Gothic W01';
	color: #000;
	font-size: 14px;
	line-height: 20px;
	padding: 0 150px;
	margin: auto;
	max-width: 1380px;
}

a {
	color: #999;
}

a:hover {
	color: #000;
}

h1 {
	font-size: 30px;
	line-height: 40px;
}

h2 {
	font-size: 25px;
	line-height: 30px;
}

h3 {
	font-size: 20px;
	line-height: 25px;
}

h4 {
	font-size: 16px;
	line-height: 20px;
}

h5 {
	font-size: 14px;
	line-height: 18px;
}

h6 {
	font-size: 12px;
	line-height: 16px;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
	text-transform: uppercase;
}

#content h1, 
#content h2, 
#content h3, 
#content h4, 
#content h5, 
#content h6, 
#content p, 
#content pre {
	margin: 0 0 20px 0;
}

#content pre {
	font-family:'Century Gothic W01';
}

/* HEADER */

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 40;
	background-color: rgba(255,255,255,0.8);
}

.admin-bar header {
	top: 32px;
}

header a {
	text-decoration: none;
}

header .content {
	padding: 12px 150px;
	max-width: 1380px;
	margin: auto;
}

header .item {
	display: inline-block;
	vertical-align: middle;
}

header .item.logo {
	width: 45px;
	padding: 0 30px 0 0;
	z-index: 10;
	position: relative;
}

header .item.logo img {
	display: block;
}

#lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #EEE;
	box-shadow: 0 0 2px #999;
	display: none;
}

#lightbox.active {
	display: block;
}

#lightbox .content {
	position: relative;
}

#lightbox .ops {
	display: block;
}

#lightbox .content > .ops {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: auto;
	text-transform: uppercase;
	z-index: 100;
}

#lightbox .content > .ops a:hover {
	cursor: pointer;
}

#lightbox .items {
	padding: 80px 0 50px 0;
	text-align: center;
	font-size: 14px;
	color: #999;
}

#lightbox .items .item {
	height: 150px;
	display: inline-block;
	margin: 0 10px 20px 10px;
	position: relative;
}

#lightbox .items .item .ops .remove {
	position: absolute;
	top: 0;
	left: 0;
	width: 80%;
	height: 40%;
	background-color: rgba(0,0,0,0.2);
	color: #FFF;
	padding: 63px 10% 27px 10%;
	font-size: 24px;
	font-weight: bold;
	display: none;
}

#lightbox .items .item:hover .ops .remove {
	display: block;
	cursor: pointer;
}



#lightbox .items .item img {
	height: 100%;
	width: auto;
}

.custom-logo {
	width: 54px;
	height: auto;
}

.custom-logo:hover {
	opacity: 0.5;
}

/* MENUS */

header nav {
	float: right;
	width: 90%;
	padding: 12px 0 0 0;
	z-index: 10;
	position: relative;
}

header nav .menu {
	display: inline-block;
}

header nav .menu.right {
	float: right;
}

header nav .menu.right div, 
header nav .menu.right ul {
	display: inline-block;
}

header nav ul {
	padding: 0;
	margin: 0;
}

header nav ul li {
	list-style: none;
	display: inline-block;
	margin: 0 30px 0 0;
	text-transform: uppercase;
}

header nav .menu.right ul li.last {
	margin-right: 0;
}

header nav li.lightbox:hover {
	cursor: pointer;
}

header nav ul li.current-menu-item a {
	font-weight: 700;
	color: #000;
}

#mobile-menu-icon {
	display: none;
	position: relative;
	float: right;
	z-index: 100;
	line-height: 30px;
	margin-right: 3px;
	width: 25px;
	height: 18px;
	background-image: url(http://p.rrlcr.tv/wp-content/themes/pip2016/img/menu-icon.svg);
	opacity: 0.5;
	top: 8px;
}

#mobile-menu-icon:hover {
	cursor: pointer;
	opacity: 1;
}

#mobile-menu-icon.active {
	color: #222;
}

main {
	padding: 90px 0;
}

.page main {
	padding-top: 130px;
}

nav.pagination {
	display: none;
}

nav.pagination a {
	background-color: #CCC;
	color: #FFF;
	padding: 10px 20px;
	text-decoration: none;
}

/* PAGES */

#content aside, 
#content .body {
	display: table-cell;
	vertical-align: top;
}

#content aside {
	width: 25%;
	padding: 0 30px 30px 0;
}

#content aside img {
	width: 100%;
	margin: 0 0 20px 0;
}

#content aside.sidebar-right {
	padding: 0 0 30px 30px;
	width: 18%;
}

#content aside .social-icons {
	text-align: center;
}

#content aside .social-icons .icon {
	width: 30px;
	height: 30px;
}

#content img {
	max-width: 100%;
	height: auto;
}

/* ACCESSIBILITY */

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

/* THUMBNAILS ETC */

.items {
	font-size: 0;
	position: relative;
}

.items article {
	font-size: 14px;
	display: inline-block;
	width: 23.12%;
	margin: 0 2.5% 2.5% 0;
	position: relative;
	vertical-align: middle;
}

.items article.image:hover {
	cursor: pointer;
}

article.video {
	width: 48.5%;
	margin-right: 3%;
	margin-bottom: 0;
	vertical-align: top;
}

article.video:nth-child(2n) {
	margin-right: 0;
}

article.video iframe {
	width: 100%;
	height: 380px;
	margin: 0 0 20px 0;
}

article.video h3 {
	font-size: 14px;
	line-height: 18px;
}

.items.blogs {
	width: 106%;
	margin-left: -1.25%;
	text-align: center;
}


article.blog {
	width: 30%;
	vertical-align: top;
	margin: 0 1.25% 0 1.25%;
	text-align: left;
}

article.blog .gallery-content {
	display: none;
}

article.blog .blogItemLCol, 
article.blog .blogItemRCol {
	margin: 0 0 20px 0;
	overflow: hidden;
	width: 100%;
}

article.blog .blogItem .blogItemNotes {
	margin: 0;
}

#content article.blog .html_photoset {
	width: 100%;
}

#content article.blog .photoset {
	
}

#content article.blog .photoset .row .image {
	margin: 0 2% 2% 0;
	display: table-cell;
	vertical-align: top;
	background-size: cover;
	background-position: center center;
	border-right: 10px solid #FFF;
	border-bottom: 10px solid #FFF;
}

#content article.blog .photoset .row .image:hover {
	cursor: pointer;
}

#content article.blog .photoset .row .image:last-child {
	border-right: none;
}

#content article.blog .photoset .row .image img {
	visibility: hidden;
	display: block;
}

#content article.blog .photoset .row.count-2 .image {
	width: 49%;
}

#content article.blog .photoset .row.count-2 .image:nth-child(2n) {
	margin-right: 0;
}

#content article.blog .photoset .row.count-3 .image {
	width: 32%;
}

#content article.blog .photoset .row.count-3 .image:nth-child(3n) {
	margin-right: 0;
}

article.blog .meta {
	color: #999;
}

.items nav {
	font-size: 14px;
}

.rotator article {
	display: none;
}

.rotator article:first-child {
	display: block;
}

.items.terms article {
	width: 31.666%;
	margin-bottom: 2.5%;
}

.items article:nth-child(4n) {
	margin-right: 0;
}

.items.blogs article:nth-child(4n) {
	margin-right: 1.25%;
}

.items.terms article:nth-child(4n) {
	margin-right: 2.5%;
}

.items.terms article:nth-child(3n) {
	margin-right: 0;
}

.items article .thumbnail {
	padding-top: 100%;
}

.items.terms article .thumbnail {
	padding-top: 66.666%;
}

.items article .thumbnail.empty {
	background-color: #CCC;
}

.items article .thumbnail img {
	position: absolute;
	height: auto;
	width: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
}

.items article .label {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	text-decoration: none;
	color: #999;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 700;
	opacity: 0;
	transition: opacity 0.25s;
	background-color: rgba(255,255,255,0.8);
}

.items article:hover .label {
	opacity: 1;
}

.items article .label .text {
	position: absolute;
	bottom: 37%;
	width: 100%;
}

.items article .label .text .content {
	padding: 20px;
}

.gallery {
	background-color: #FFF;
	width: 100%;
	position: absolute;
	z-index: 20;
	left: 0;
	display: none;
	height: 100%;
	top: 0;
	white-space: nowrap;
  overflow: hidden;
}

.home .gallery {
	display: block;
}

.gallery .skip {
	position: fixed;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	z-index: 35;
}

.gallery .skip:hover {
	cursor: url(img/gallery-cursor-left.png), default;
}

.gallery .skip.next {
	left: auto;
	right: 0;
}

.gallery .skip.next:hover {
	cursor: url(img/gallery-cursor-right.png), default;
}

.gallery article {
	padding: 0 3%;
  width: 94%;
	margin: auto;
	height: 70%;
	position: relative;
	top: 100px;
	display: inline-block;
}

.gallery.rotator article {
	position: absolute;
	display: none;
}

.gallery article .thumbnail {
	height: 100%;
	position: relative;
	max-width: 1380px;
	margin: auto;
}

.gallery article .thumbnail img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	margin: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

/* FOOTER */

footer {
	position: fixed;
	z-index: 30;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255,255,255,0.8);
	font-size: 12px;
	line-height: 14px;
	color: #999;
}

footer .content {
	padding: 0 150px;
	max-width: 1380px;
	margin: auto;
}

footer .content .left, 
footer .content .right {
	display: table-cell;
	padding: 10px 0;
}

footer .content .left {
	width: 100%;
}

footer .content .right {
	min-width: 130px;
	text-align: right;
}

.breadcrumbs, 
.image-info {
	display: inline-block;
	vertical-align: middle;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	position: relative;
	max-width: 100%;
	padding-right: 20px;
}

.breadcrumbs {
	padding-right: 0;
}

.image-info {
	margin-right: 0;
}

.breadcrumbs .crumb,  
.image-info .caption, 
.image-info .index {
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px 0 0;
}

.breadcrumbs .crumb.empty {
	margin-right: 0;
}

.breadcrumbs .crumb a {
	text-decoration: none;
}

.breadcrumbs .crumb:first-child {
	font-weight: 700;
}

.ellipsis {
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	height: 100%;
	background-repeat: repeat-y;
	background-size: 20px auto;
}
	
footer .ops, 
.image-info .index {
	display: none;
}

.gallery-active .ops, 
.gallery-active .image-info .index {
	display: inline-block;
}

footer .ops {
	width: 40px;
}

footer .ops div {
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px 0 0;
}

footer .ops .gallery-ops {
	margin-right: 0;
}

footer .ops .icon {
	opacity: 0.5;
	height: 11px;
	background-repeat: no-repeat;
	background-size: auto 11px;
	display: inline-block;
}

footer .ops .icon:hover {
	opacity: 1;
	cursor: pointer;
}

footer .ops .lightbox-ops .icon.lightbox-add {
	background-image: url(img/lightbox-add-icon.png);
	width: 11px;
}

footer .ops .gallery-ops .icon.gallery-view {
	background-image: url(img/gallery-icon.png);
	width: 15px;
}

.social-icons .icon {
	width: 25px;
	height: 25px;
	display: inline-block;
	vertical-align: middle;
	opacity: 0.5;
	margin-left: 5px;
}

.social-icons .icon:hover {
	opacity: 1;
}	

.social-icons .icon img {
	width: 97%;
	height: auto;
}

.page-template-page-blog footer .image-info, 
.page-template-page-blog footer .ops .lightbox-ops, 
.page-template-page-blog footer .right {
	display: none;
}

@media (max-width: 1500px) {
	
	header {
		font-size: 12px;
	}
	
}

@media (max-width: 1200px) {
	
	main {
		padding: 60px 0;
	}
	
	header {
		font-size: 11px;
		line-height: 11px;
	}
	
	header nav {
		width: 90%;
	}
	
	header .item.logo {
		width: 34px;
	}
	
	header nav ul li {
		margin-right: 15px;
	}
	
	.items article .label .text {
		bottom: 36%;
	}
	
	article.video iframe, 
	.blogItem iframe {
		height: 150px;
	}
	
}

@media (max-width: 1024px) {
	
	#content aside, 
	#content .body {
		display: block;
		width: auto;
		text-align: center;
	}
	
	#content aside {
		padding-right: 0;
		width: 250px;
		margin: auto;
	}
	
	#content aside.sidebar-right {
		padding-left: 0;
		width: auto;
	}
	
	.body p[style*="justify"] {
		text-align: center !important;
	}
		
}

@media (max-width: 1000px) {
	
	body {
		padding: 0 20px;
	}
	
	header .content, 
	footer .content {
		padding-right: 20px;
		padding-left: 20px;
	}
	
	header nav.item {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		width: 300px;
		height: 100%;
		padding: 30px;
		background-color: #FFF;
		z-index: 50;
	}
	
	header nav .menu {
		display: block;
	}
	
	header nav .menu.right {
		float: none;
	}
	
	header nav ul li {
		display: block;
		margin: 0;
	}
	
	header nav ul li a {
		padding: 20px;
		width: 170px;
		display: block;
		color: #666;
	}
	
	header nav ul li a:hover {
		color: #222;
	}
	
	header nav ul li.current-menu-item a {
		color: #222;
	}
	
	#mobile-menu-icon {
		display: block;
	}
	
	.page #content {
		padding-left: 15%;
		padding-right: 15%;
		padding-top: 15%;
	}
	
	.items article {
		width: 31.333%;
	}
	
	.items article.video {
		width: 48.5%;
	}
	
	.items.blogs article {
		width: 29.7%;
	}
	
	.items article:nth-child(4n) {
		margin-right: 2.5%;
	}
	
	.items.images article:nth-child(3n), 
	.items.rotator article:nth-child(4n) {
		margin-right: 0;
	}
	
	.items.images article.video:nth-child(3n) {
		margin-right: 3%;
	}
	
	.items.images article.video:nth-child(2n) {
		margin-right: 0;
	}
	
	article.video iframe {
		height: 210px;
	}
	
	footer .content .left {
		display: block;
		position: relative;
		padding: 10px 0;
	}
	
	footer .ops {
		position: absolute;
		top: 10px;
		right: 0;
	}
	
	footer .content .right {
		display: none;
	}
	
	.page-template-page-blog footer .ops {
		position: static;
	}
	
}

@media (max-width: 800px) {
	
	body {
		padding: 0;
	}
	
	.items.terms {
		padding: 0 20px;
	}
	
	.items.images {
		padding: 0 0 0 0.4%;
	}
	
	.items.blogs {
		width: auto;
    margin-left: 0;
    padding-left: 1.5%;
    padding-right: 1.5%;
	}
	
	.items article, 
	.items.terms article {
		width: 48.7%;
	}
	
	.items.images article:nth-child(3n), 
	.items.terms article:nth-child(3n) {
		margin-right: 2.5%;
	}
	 
	.items.terms article:nth-child(2n) {
		margin-right: 0;
	}
	
	.items article .label {
		opacity: 1;
		background-color: transparent;
	}
	
	.items article .label .text {
		bottom: 0;
		background-color: rgba(255,255,255,0.8);
	}
	
	#content .items.images article {
		overflow: hidden;
		width: 24.6%;
    margin: 0 0.4% 0.4% 0;
	}
	
	#content .items.images article.video {
		width: 48.5%;
	}
	
	.items.blogs article {
		width: 46%;
	}
	
	.items article .thumbnail img {
		width: 100%;
	}
	
	.breadcrumbs .crumb:last-child {
		display: inline-block;
	}
	
}

@media (max-width: 650px) {
	
	
	.items.images {
		padding-left: 0.5%;
	}
	
	.items article, 
	.items.terms article {
		width: 100%;
		margin: 0 0 6% 0;
	}
	
	.items.terms article {
		margin-bottom: 3%;
	}
	
	.items.blogs article {
		margin: 0 1.25% 2.5% 1.25%;
	}
	
	#content .items.images article {
		width: 32.8%;
		margin: 0 0.5% 0.5% 0;
	}
	
	#content .items.images article.video {
		margin-right: 3%;
	}
	
	#content .items.images article.video:nth-child(2n) {
		margin-right: 0;
	}
	
	article.video iframe {
		height: 170px;
	}
	
}

@media (max-height: 600px) {
	
	.gallery article {
		top: 60px;
	}
	
}

@media (max-width: 520px) {
	
	.items.images {
		padding-left: 0.6%;
	}
	
	#content .items.images article {
		width: 24.4%;
		margin: 0 0.6% 0.6% 0;
	}
	
}

@media (max-width: 500px) {
	
	.custom-logo {
		width: 44px;
	}
	
	#content .body {
		width: 100%;
		display: block;
		float: none;
	}
	
	.items article {
		width: 100%;
	}
	
	.image-info .caption, 
	.breadcrumbs .crumb {
		display: none;
	}
	 
	footer .content {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.items.blogs article {
		width: 95%;
		margin-bottom: 6%;
	}
	
	#content .items.images article.video {
		width: auto;
		display: block;
		margin-right: 0;
	}
	
	article.video iframe {
		height: 230px;
	}
	
	#content .items.images article.video:nth-child(5n) {
		margin-right: 3%;
	}
	
	#content .items.images article.video:nth-child(2n) {
		margin-right: 0;
	}
	
	.breadcrumbs {
		display: none;
	}
	
}

@media (max-width: 470px) {
	
	#content .items.images article {
		width: 32.7%;
		margin: 0 0.6% 0.6% 0;
	}
	
	.items article .label {
		font-size: 14px;
	}
	
	.items article .label .text .content {
		padding: 10px;
	}
	
}

@media (max-width: 400px) {
	
	.page #content {
		padding-top: 70px;
		padding-left: 10%;
		padding-right: 10%;
	}
	
	#content aside, 
	#content aside.sidebar-right {
		padding-bottom: 30px;
		width: auto;
	}
	
	article.video iframe {
		height: 130px;
	}
	
	
	
}

@media (max-width: 320px) {
	
	.items.images {
		padding-left: 1.5%;
	}
	
	#content .items.images article {
		width: 48.5%;
		margin: 0 1.5% 1.8% 0;
	}
	
	.items article .label {
		font-size: 12px;
	}
	
	.items article .label .text .content {
		padding: 8px;
	}
	
}