 /*
* Skin Flesh 'n' Bones V1.1
* Inspired by Dave Gamache's Skeleton and Twitter Bootstrap
* 01/01/2015
*/



/* SKIN -
================================================== */

/*
COLOUR PALET

TEB RED:  #D01C45  rgb(208,28,69)
Pale Grey: #f2efe8
Light Grey:	#e2dfd9
Mid Grey: #bbb9b3

*/

body { background: #242B5E; }


/* Full width wraps to define areas of the page */
.header-wrap {
	background: #242B5E; 
	border-bottom: #D60000 solid 4px
	   }
.content-wrap {
	background: #dddddd url(../images/dot-dash-rings.svg) no-repeat -200px -400px;
	padding: 60px 0 40px 0;
}
.client-wrap {
	background-color: #e2dfd9;
	padding: 20px 0 30px 0;
}
.footer-wrap {
	color: #FFFFFF;
	background-color: #242B5E;
	padding-top: 10px;
}

header, .header {
position: relative;
height: 120px;
}

a.brand {
	display: inline-block;
	position: absolute;
	top: 10px;
	left: 10px;
	width: 180px;
	height: 180px;
	text-indent: -9999px;
    background: transparent url(../images/prl-logo_180x180.png) no-repeat 0 0;
}

.tagline {
	display: block;
	position: absolute;
	border-top: solid #666666 2px;
	top: 114px;
	left: 10px;
	padding: 0;
	font-size: 20px;
}

/* MAIN NAV -------------------- */

nav, .nav {
	position: absolute;
	top: 70px;
	right: 0;
}

ul.main-nav {
    list-style: none inside;
	margin: 0; /* overides base style */
	padding-left: 0;
}
ul.main-nav li {
	display: inline-block;
	position: relative;
	margin: 0 2;
}

ul.main-nav li a {
	text-decoration: none;
	position: relative;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	color: #ffffff;
	display: block;
	font-size: 16px;
    line-height: 18px;
    padding: 12px 20px 10px 20px;
	height: 40px;
	transition: all 0.3s ease 0s;
	z-index: 5;
}
ul.main-nav li a:hover {
	color: #FFFFFF;
}
ul.main-nav li a:after {
    background-color: #D60000;
    height: 100%;
    left: 50%;
    opacity: 0;
    top: 50%;
    -ms-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 1%;
    content: "";
    position: absolute;
    transition: all 0.3s ease 0s;
    z-index: -1;
}
ul.main-nav li a:hover:after {
	opacity: 1;
	width: 100%;
}

/*
.main-nav li a:hover {
	color: #777;
  	background-position: 100% 100%;
} */





/*  Social Network Buttons --------------- */
ul.socnet {	padding: 0 0 5px 0; margin: 0; }
ul.socnet li { display: inline; padding: 0; margin: 0  0 0 10px; }
ul.socnet li a {
    display: inline-block;
	text-indent: -9999px;
	width: 30px;
    line-height: 30px;
    padding: 0;
	height: 30px;
	overflow: hidden;
}
.socnet li.twitter a { background-position: 0 0; }
.socnet li.facebook a { background-position: -30px 0; }
.socnet li.pinterest a { background-position: -60px 0; }
.socnet li.youtube a { background-position: -90px 0; }
.socnet li.instagram a { background-position: -120px 0; }
.socnet li.gplus a { background-position: -150px 0; }

.socnet li.twitter a:hover { background-position: 0 -30px; }
.socnet li.facebook a:hover { background-position: -30px -30px; }
.socnet li.pinterest a:hover { background-position: -60px -30px; }
.socnet li.youtube a:hover { background-position: -90px -30px; }
.socnet li.instagram a:hover { background-position: -120px -30px; }
.socnet li.gplus a:hover { background-position: -150px -30px; }

.socnet-header li a {
	background: transparent url(../images/prl-icons_30x30.png) no-repeat 0 0;
}
.socnet-header {
	display: block;
	position: absolute;
	top: 15px;
	right: 10px;
}

/* -- Media Queries for Header -- */

@media only screen and (min-width: 768px) and (max-width: 959px) {
ul.main-nav li a {
    padding: 12px 15px 10px 15px;
}
}
@media only screen and (max-width: 767px) {

a.brand {
	display: inline-block;
	position: absolute;
	top: 50px;
	left: 0px;
	width: 140px;
	height: 140px;
	text-indent: -9999px;
    background: transparent url(../images/prl-logo_140x140.png) no-repeat 0 0;
}
header, .header { height: 140px; }
ul.socnet-header {top: 5px; right: 5px; }

nav, .nav { width: 70%; top: 46px;}
ul.main-nav {
    list-style: none inside;
	margin: 0; /* overides base style */
	padding-left: 0;
	text-align: left;
	width: 100%;
	letter-spacing: 0;
}
ul.main-nav li {
	display: inline-block;
	position: relative;
	text-align: center;
	margin: 2px 1px;
	width: 32%;
}

ul.main-nav li a {
	text-decoration: none;
	position: relative;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	color: #000000;
	background-color: #ffffff;
	display: block;
	font-size: 16px;
    line-height: 18px;
    padding: 10px 16px 8px 16px;
	height: 36px;
	transition: all 0.3s ease 0s;
	z-index: 5;
}


ul.main-nav li a:after {
    background-color: #D60000;
    height: 100%;
    left: 50%;
    opacity: 0;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 0;
    content: "";
    position: absolute;
    transition: all 0.3s ease 0s;
    z-index: -1;
}
ul.main-nav li a:hover:after {
	opacity: 1;
	width: 100%;
}

ul.main-nav li a:hover {
	color: #FFFFFF;
}

} /* END @media */

@media only screen and (max-width: 589px) {
	ul.main-nav li { width: 31%; }
} /* END @media */

@media only screen and (max-width: 499px) {
nav, .nav { 
	top: 10px;
	width: 60%;
}
ul.main-nav li { width: 48%; }
ul.socnet-header { display: none; }
} /* END @media */

@media only screen and (max-width: 399px) {
ul.main-nav li { width: 100%; }
header { height: 260px; }
nav, .nav { 
	width: 50%;
}
a.brand {
	top: 30px;
	left: 0px;
}
} /* END @media */



/* ================================================================================================
	 GENERAL CONTENT
  ================================================================================================ */

 h1.mega {
	 font-size: 44px;
	 line-height: 1.1em;
}

.col-12.introduction, .col-12.summary {
	margin-bottom: 50px;
}

/* Removes extra 6 pixels bug */
.img-wrap {
	line-height: 0.001em;
}

figure {
	border: 1px #DDDDDD solid;
	padding: 19px 19px 9px 19px;
	margin-bottom: 10px;
 }
/* lkh changed figurecaption to figcaption (html5 tag)*/
figcaption {
	display: block;
	font-size: 18px;
	line-height: 1.428571429em;
	font-style: italic;
	padding-top: 5px; /* lkh */
}

/* SCROLL UP ? ====================== */

/html {
	overflow-y: scroll;
}
/* core */
.scrollToTop {
	position: fixed;
	right: 20px;
	bottom: -100px;
	opacity: 0;
	overflow: hidden;
	outline: none;
}

.scrollToTop_show {
	opacity: 1;
	bottom: 40%;
}

@-webkit-keyframes scrollToTop_fade {
	0%	 {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes scrollToTop_fade {
	0%   {opacity: 0;}
	100% {opacity: 1;}
}

@-webkit-keyframes scrollToTop_slide {
	0%   {bottom: -100px;}
	100% {bottom: 20px;}
}
@keyframes scrollToTop_slide {
	0%   {bottom: -100px;}
	100% {bottom: 20px;}
}


.scrollToTop_animating,
.scrollToTop_animating * {
	pointer-events: none !important;
}

/* skin(default) */
.scrollToTop {
	width: 72px;
	height: 72px;
	color: #000;
	font-family: sans-serif;
	font-size: 12px;
	text-decoration: none;
	text-transform: uppercase;
	text-indent: 100%;
	white-space: nowrap;
	background: no-repeat center center transparent;
	padding: 4px;
	-webkit-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
	/* Get rid of focus outline on js link */
a.scrollToTop {
	outline: 0;
}

/* skin(cycle) */
.scrollToTop_cycle {
	background-image: url("../images/up_64.png");
}
.scrollToTop_cycle:hover {
	background-image: url("../images/up_64.png");
}



@media only screen and (max-width: 767px) {
 h1.mega {
	 font-size: 34px;
	 line-height: 1.1em;
}
}


/* ===============================================================================
   PAGE STYLES
================================================================================== */



/* HOME PAGE
================================================== */


/* Mission Statement */


h1.mega-home {
	font-size: 32px;
	padding-left: 200px;
	margin-top: -40px; 
}


h2.mission {
	text-align: justify;
	padding: 10px;
}

/* News snippets */

.blog-tzr  .postdate { display: none; }
.blog-tzr .blog-wrap {
	
	}
.blog-tzr .blog-wrap > h4 {
	margin-bottom: 20px;
}
.blog-tzr .blog-wrap > img { 
	float: right;
	display: block;
	width: 50%;
	height: auto;
}

.blog-tzr .blog-wrap > p {
	width: 45%;
}
span.read-more {
	text-transform: uppercase;
	font-size: 80%;
	padding-left: 15px;
}
span.read-more:after { content: " >";}



/* Twitter Feed */

.twitter-box {
    border: medium none;
    color: #181818;
    font-size: 20px/24px;
    margin-bottom: 20px;
    padding: 3px;
    text-indent: 0;
}

.twitter-box > iframe {
	overflow: auto;
}

#twitter-widget-1 {
	height: 1600px !important;
}

.twitter-box .tweet {
    background-image: url("../images/tweety-bird_30x25.png");
    background-repeat: no-repeat;
}
.tweet > p {
    font-style: italic;
}
.twitter-box p a {
    -moz-hyphens: auto;
    word-break: break-all;
}


/* Icon Links */

.icon-link {
	text-align: center;
	padding: 130px 20px 20px 20px;
}
.icon-link.film { background: url(../images/film-camera_128.png) no-repeat center top; }
.icon-link.author { background: url(../images/pen_128.png) no-repeat center top; }
.icon-link.singer { background: url(../images/mic_128.png) no-repeat center top; }
.icon-link > p { font-size: 18px; }

@media only screen and (min-width: 768px) and (max-width: 959px) {
.blog-tzr .blog-wrap > img, .blog-tzr .blog-wrap > p {
	width: 100%;
}
} /* END @media */


@media only screen and (max-width: 767px) {
h1.mega-home {
	font-size: 28px;
	padding-left: 0;
	margin-top: 0; 
}
.blog-tzr .blog-wrap > img { 
	width: 45%;
}
.blog-tzr .blog-wrap > p {
	width: 50%;
}
} /* END @media */

@media only screen and (max-width: 600px) {
.blog-tzr .blog-wrap > img, .blog-tzr .blog-wrap > p {
	width: 100%;
}
} /* END @media */

@media only screen and (max-width: 500px) {
	h2.mission { font-size: 24px; 
	}
} /* END @media */


/* CLIENT PAGE 
===================================================== */

.client-wrap h2 { padding-left: 10px; }

.client-holder {
	padding-bottom: 40px;
}
.client-box {
	float: left;
	position: relative;
	display: inline-block;
	padding: 10px;
	width: 25%;
}
.client-box  .client-image-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	overflow: hidden;
}
.client-box  .client-image-wrap > div {
	position: absolute;
	top: 0; right: 0; left: 0; bottom: 0;
}
.client-details {
	position: relative;
	padding: 10px 20px;
	background: #242B5E;
	color: #FFFFFF;
	height: 106px;
	}
.client-image-wrap > div > img {
	width: 100%;
	height: auto;
}
.client-details .client-name {
	display: block;
	font-size: 16px;
	font-weight: 700;
}
.client-details > .client-aka, .client-details > .client-extra {
	display: block;
	font-size: 13px;
	line-height: 1.2;
	color: #DDDDDD;
}
.client-details > .client-link {
	display: block;
	position: absolute;
	left: 20px;
	bottom: 6px;
}
.client-details > .client-link a {
	
}

@media only screen and (max-width: 999px) {
.client-box {
	width: 33.3333333%;
}
}
@media only screen and (max-width: 699px) {
.client-box {
	width: 50%;
}
}
@media only screen and (max-width: 499px) {
.client-box {
	width: 100%;
	max-width: 320px;
}
}

/* When space is tight we lose the extra info */
@media only screen and (min-width: 700px) and (max-width: 767px) {
	.client-details > .client-extra { display: none; }
}
@media only screen and (min-width: 500px) and (max-width: 529px) {
	.client-details > .client-extra { display: none; }
}



/* alpha-nav scroll to menu ------------ */
.alpha-wrap {
	display: block;
	position: fixed;
	right: 0;
	top: 150px;
	z-index: 100;
	background-color: #EFEFEF;
}
.alpha-nav {
	position: relative;
	display: block;
	overflow: visible;
	width: 24px;
	padding: 10px 3px 10px 3px;
	
}

.alpha-nav > ul { 
	list-style-type: inside none;
	padding: 0;
}
.alpha-nav > ul > li {
	display: block;
	text-align: center;
	margin-bottom: 6px;
	width: 24px;
	float: left;
}
.alpha-nav > ul > li > a {
	font-size: 18px;
	line-height: 20px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 2px 4px 2px 4px;
}
.alpha-nav > ul > li > a:hover {
	color: #242B5E;
	text-decoration: none;
}

/* #Media Queries SPECIALS FOR ALPHA MENU */

/* Max height changes for  */
	@media only screen and (max-height: 900px) {
.alpha-wrap {
	top: 150px;
}
.alpha-nav {
	width: 32px;
	padding: 5px 2px 5px 2px;
}
.alpha-nav > ul > li {
	margin-bottom: 0px;
	width: 32px;
}
.alpha-nav > ul > li > a {
	font-size: 14px;
	line-height: 18px;
	padding: 1px 5px 1px 5px;
}
}
	
	
@media only screen and (max-height: 740px) {
	.alpha-wrap {
		left: 0;
	right: 0;
	bottom: 0;
	top: auto;
}
.alpha-nav {
	position: relative;
	display: block;
	overflow: visible;
	width: 100%;
	height: 30px;
	padding: 10px 10px 10px 10px;
	
}
.alpha-nav > ul > li {
	margin-bottom: 10px;
	width: 3.84%;
}
}

@media only screen and (max-height: 740px) and (max-width: 500px) {
.alpha-nav > ul > li {
	width: 7.66%;
}
	}

/* ABOUT US PAGE
================================================== */
/* .project  {
	margin-bottom: 40px;
}
*/
.container.biog {
	margin-bottom: 40px;
}
p.biog-summary {
	font-size: 20px;
	margin-bottom: 0.8em;
}

.profile-wrap {
	display: none;
	/*overflow: hidden;*/
}

/* CONTACT PAGE
================================================== */
#map-canvas {
	height: 500px;
}

/* Overide default form colors ---- */

input[type="text"], input[type="number"], input[type="password"], input[type="email"], textarea, select {
    background-color: #ffffff;
    border: 2px solid #bbb9b3;
    color: #bbb9b3;
    display: block;
    font-size: 14px;
    height: 28px;
    margin: 0 0 20px;
    max-width: 95%;
    outline: medium none;
    padding: 6px 4px;
    width: 95%;
}



/* BLOG / NEWS
======================================================================================= */
 /* .container.menu-margin {margin-top: 120px; } LOOSE THIS ?? */


.postdate { padding: 0; }
.postdate > span:before { content: "Posted on "; }
.blogHeading > h1 { margin-left: 20px; margin-right: 20px; }
.blog-wrap { margin-bottom: 60px; }
/* Clearfix for blog-wrap */
.blog-wrap:after {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0;
      clear: both;
 }
.blog-wrap > h2 { margin-bottom: 20px; }
/* Images with no alignment will stretch to full width */
.blog-wrap > img, .blog-wrap > p > img { width: 100%; height: auto; }
.blog-wrap > p > img.align_right { 
	width: inherit;
	float: right;
	margin: 0 0 0 20px;
}
.blog-wrap > p > img.align_left {
	width: inherit;
	float: left;
	padding: 0 20px 0 0;
}
img.home-news-img {margin-bottom: 10px; }
/* .blog-posts, .blog-menu { margin-top: 30px; } */

.blog-menu ul { list-style: outside none none; }
.blog-menu > ul { padding: 0; }
.blog-menu > ul > li {
	position: relative;
	border-top: 4px solid #242B5E;
	font-size: 18px;
	line-height: 28px;
	padding-bottom: 50px;
}

.blog-menu > ul > li > ul {
	padding-left: 0;
}
.blog-menu > ul > li > ul > li {
	font-size: 14px;
	line-height: 18px;
	padding: 4px 0;
}
.blog-menu > ul > li:last-child {   }

.blog-pagination { text-align: center; padding: 10px 0; }
.blog-pagination > a.prev {
	display: inline-block;
	line-height: 64px;
	width: 64px;
	height: 64px;	padding: 0;
	margin-right: 50px;
	text-indent: -9999px;
	background: transparent url(../images/prev_64.png) no-repeat center center;
	/* BG Image replaced for newer browsers
  	background-image: linear-gradient(transparent, transparent), url(../images/icons_blog_gry_22x22.svg);background-image: -webkit-linear-gradient(transparent, transparent), url(../images/icons_blog_gry_22x22.svg); */
}
.blog-pagination > a.next {
	display: inline-block;
	line-height: 64px;
	width: 64px;
	height: 64px;
	padding: 0;
	margin-left: 50px;
	text-indent: -9999px;
	background: transparent url(../images/next_64.png) no-repeat center center;
	/* BG Image replaced for newer browsers
  	background-image: linear-gradient(transparent, transparent), url(../images/icons_blog_gry_22x22.svg);background-image: -webkit-linear-gradient(transparent, transparent), url(../images/icons_blog_gry_22x22.svg); */
}


/* Video */

.video-wrap {
	/* height: 0;
	padding-bottom: 56.25%; 
	position: relative; */
	margin-top: 20px;
	margin-bottom: 20px;
}
.video-wrap > div {
	margin-bottom: 20px;
}

/* #Testimonials
============================================================================= */

.testimonial {
	margin-bottom: 40px;
}

.testimonial > .blockquote  {
    margin-bottom: 0;
    margin-top: 40px;
    padding-top: 0;
}
.testimonial > .attribution {
    padding-left: 24px;
}
.testimonial > h4 {
    margin-top: 40px;
}
.testimonial > .blockquote, .testimonial > h4:first-child {
    margin-top: 0;
}
.testimonial > .attribution > .testimonial-title {
    font-weight: 700;
    padding: 0 10px 0 0;
}
.testimonial > .attribution > .testimonial-org {
    font-style: italic;
}
.testimonial > .attribution > .testimonial-link {
    font-size: 80%;
    padding: 0 0 0 24px;
    text-transform: uppercase;
}


/* FOOTER
  ====================================================================== */

footer, .footer {
	padding: 20px 0 100px 0;
	line-height: 1.1em;
}

footer ul.vcard {
    list-style: outside none none;
    padding-left: 0;
    margin-bottom: 1em;
}

/* SOCIAL NETWORK BUTTONS */

.socnet-footer li a {
	background: transparent url(../images/prl-icons_30x30.png) no-repeat 0 0;
}

ul.socnet-footer {	padding: 0 0 15px 0; margin: 0; }
ul.socnet-footer li { margin: 0 10px 0 0; }

p.ft { padding-top: 6px; }

@media only screen and (min-width: 768px) and (max-width: 959px) {
.trade-links {text-align: center; }
.trade-links > a:first-child {
	margin: 0 0 20px 0;
}

}

/* leanModal.js styles */

#lean_overlay {
position: fixed;
z-index: 10000;
top: 0px;
left: 0px;
height:100%;
width:100%;
background: #000;
display: none;
}

[id*="viewer-"] {
display:none;
}