
div.loading {
  width:100%;
  height:24px;
  position:absolute;
  top:50%;
  margin-top:-12px;
  background: url(images/loading.gif) center no-repeat;
  background-attachment:fixed;
  display:none;
}

.sticky {
  position:relative;
}
.sticky:before {
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  content: "\f097";
  position:absolute;
  top: -5px;
  right: 20px;
  color:#999;
}
.sticky.post.onecol:before {
  top: 4px;
  left: 11px;
  right:auto;
  color:#fff;
  z-index:5;
  font-size:24px;
}
.bypostauthor {
  border:3px;
}

/* #General Elements
================================================== */

/* This makes images responsive */
img.scale-with-grid {
  max-width: 100% !important;
  height: auto !important; 
}
#sitecontainer img {
  max-width: 100% !important;
  height: auto;
}
.alert { /* For Non-Javascript Enabled Browsers */
  background: #ffffff;
  text-align: center;
  padding: 5px 0px;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:9999;
  opacity: .9;
}
.alert p {
  font-size:24px;
  color:#666;
  position:absolute;
  top:50%;
  width:100%;
  text-align:center;
  margin-left:-30px;
  margin-top:-18px;
}
.mobileclear {
  display:none;
}
.alignright {
  float:right;
}
.alignleft {
  float:left;
}
strong {
  font-weight:bold;
}

/* #Vertical Centering
================================================== */
.verticalcenter {
  display: table;
}
/* For IE7 */
.verticalcenter td {
  vertical-align:middle;  
}
.verticalcenter .cell.verticalcenter {
  display: table-cell;
  vertical-align: middle;
  float:none;
}


/*-----------------------------------------------------------------------------------*/
/*  *CSS3 Animations
/*-----------------------------------------------------------------------------------*/

.animated {
  -webkit-animation-fill-mode:both;
  -moz-animation-fill-mode:both;
  -ms-animation-fill-mode:both;
  -o-animation-fill-mode:both;
  animation-fill-mode:both;
  -webkit-animation-duration:0.45s;
  -moz-animation-duration:0.45s;
  -ms-animation-duration:0.45s;
  -o-animation-duration:0.45s;
  animation-duration:0.45s;
}

/* #FadeInUp
================================================== */

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
  }
  
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@-moz-keyframes fadeInUp {
  0% {
    opacity: 0;
    -moz-transform: translateY(20px);
  }
  
  100% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
}

@-o-keyframes fadeInUp {
  0% {
    opacity: 0;
    -o-transform: translateY(20px);
  }
  
  100% {
    opacity: 1;
    -o-transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  -moz-animation-name: fadeInUp;
  -o-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

/* #FadeOutDown
================================================== */

@-webkit-keyframes fadeOutDown {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
  } 100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
  }
}
@-moz-keyframes fadeOutDown {
  0% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
  
  100% {
    opacity: 0;
    -moz-transform: translateY(20px);
  }
}

@-o-keyframes fadeOutDown {
  0% {
    opacity: 1;
    -o-transform: translateY(0);
  }
  
  100% {
    opacity: 0;
    -o-transform: translateY(20px);
  }
}

@keyframes fadeOutDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/*-----------------------------------------------------------------------------------*/
/*  * Isotope Styling
/*-----------------------------------------------------------------------------------*/

/** Isotope Filter
===================================*/
div.filtercontainer {
  margin-bottom:40px;
}
ul.filter {
  margin-bottom:0;  
}
ul.filter li {
  list-style-type: none;
  float: left;
  margin: 5px 5px 0 0;
}
ul.filter li a,
ul.filter li a:visited {
  padding: 9px 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #999;
  border:1px solid transparent;
}
ul.filter li a.active,
ul.filter li a:hover {
  border-color:#dcdcdc;
}

/** Isotope Elements
===================================*/
.isotopecontainer .featured-image {
  min-height:50px;
}
.isotopeliquid {
  max-width:2100px;
  margin:auto;
  transition: width 0.5s ease-in-out;
  -webkit-transition: width 0.5s ease-in-out;
  -moz-transition: width 0.5s ease-in-out;
  -o-transition: width 0.5s ease-in-out;
  padding-bottom:50px;
  margin-bottom: 30px;
  margin-right: -8px;
}
.isotopeliquid .postphoto img {
  width: 100%;
}
.isotopecontainer {
  padding-bottom:50px;
  margin-bottom: 30px;
}

/* Individual Bricks */
.isobrick.thirds {
  width:30%;  
  margin-bottom:40px;
  float: left;
  margin-right: 2%;
}
.isobrick {
  float:left;
  margin: 0 2px 4px 2px;
}

/** Isotope Transitions
===================================*/
.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}
.isotope {
  -webkit-transition-property: height;
     -moz-transition-property: height;
      -ms-transition-property: height;
       -o-transition-property: height;
          transition-property: height;
}
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}

/* #Disabling Isotop CSS3 Transitions
================================================== */
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/*-----------------------------------------------------------------------------------*/
/*  * Regular Gallery
/*-----------------------------------------------------------------------------------*/
.gallery-icon {
  position:relative;
  z-index:2;
  overflow:hidden;
  float:left;
}
.gallery-item {
  margin: 6px;
  position:relative;
  background:#222;
}
.gallery .gallery-icon img, 
.gallery .gallery-icon a {
  border:none !important;
  display:block;
  margin:0;
}

/** Regular Styles
===================================*/
.single-gallery img {
  width:305px;
}
.single-gallery.gallery-wrap.fixed {
  margin-right: -15px;
}

/** Full-Width Styles
===================================*/

/* Loading Styles */
.single-gallery.full {
  background: url(images/loading.gif) center no-repeat;
}
.single-gallery.full .gallery {
  opacity:0;
  -webkit-opacity:0;
  -moz-opacity:0;
}
/* No JS Fallback */
.no-js .single-gallery.full .gallery {
  opacity:1;
  -webkit-opacity:1;
  -moz-opacity:1;
}
/* Image Size Changes */
.single-gallery.full img {
  width:256px;
}
/* Different Margin */
.single-gallery.full .gallery-item {
  margin-bottom:10px;
}
/* Center Gallery on Page */
.single-gallery.full .gallery {
  margin: 40px auto;
}

/*-----------------------------------------------------------------------------------*/
/*  * Slideshow Gallery
/*-----------------------------------------------------------------------------------*/
/* Add Pager Margin */
.single-slideshow.gallery-wrap.pager {
  margin-bottom: 80px;
}
.single-slideshow,
.single-carousel,
iframe {
  background:#fff url(images/small-loading.gif) center no-repeat;
}
/* No JS Fallback */
.no-js .single-slideshow {
  opacity:1;
  -webkit-opacity:1;
  -moz-opacity:1;
}

/** Full-Width Styles
===================================*/
.single-slideshow .full.gallery {
  margin:auto;
}

/*-----------------------------------------------------------------------------------*/
/*  * Carousel Gallery
/*-----------------------------------------------------------------------------------*/
.single-carousel .gallery-icon {
  height:100%;
  background:#333;
}
.single-carousel img {
  position: relative;
  z-index: 2;
}

/** Full-Width Styles
===================================*/
.single-carousel.full .bx-wrapper {
  margin:auto;
}

/*-----------------------------------------------------------------------------------*/
/*  * Gallery Controls
/*-----------------------------------------------------------------------------------*/

.single-slideshow .bx-wrapper .bx-controls-direction a,
.single-carousel .bx-wrapper .bx-controls-direction a {
	margin-top: -34px;
	width: 50px;
	height: 68px;
	background-color: rgba(0,0,0,0.4);
	opacity: 1;
}
.bx-wrapper .bx-prev,
.single-slideshow .bx-wrapper .bx-prev,
.single-carousel .bx-wrapper .bx-prev {
  left: 0px;
  background: url(images/sprites.png);
  background-color: #111;
  background-color: rgba(0,0,0,0.6);
	background-position: -162px -53px;
	border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  -webkit-border-radius: 0 5px 5px 0;
}
.bx-wrapper .bx-next,
.single-slideshow .bx-wrapper .bx-next,
.single-carousel .bx-wrapper .bx-next {
  right: 0px;
  background: url(images/sprites.png);
  background-color: #111;
  background-color: rgba(0,0,0,0.6);
  background-position: -217px -52px;
  border-radius: 5px 0 0 5px;
  -moz-border-radius: 5px 0 0 5px;
  -webkit-border-radius: 5px 0 0 5px;
}
.single-slideshow .bx-wrapper:hover .bx-prev,
.single-carousel .bx-wrapper:hover .bx-prev {
  opacity: 1;
  background-color: rgba(0,0,0,0.75);
}
.single-slideshow .bx-wrapper:hover .bx-next,
.single-carousel .bx-wrapper:hover .bx-next {
  opacity: 1;
  background-color: rgba(0,0,0,0.75);
}

/*-----------------------------------------------------------------------------------*/
/*  * Image Styles
/*-----------------------------------------------------------------------------------*/

/* #Image Alignment
================================================== */
.singlecontent img.alignright,
.wp-caption.alignright {
  float: right;
  margin: 5px 0 30px 30px;
}
.singlecontent img.alignleft,
.wp-caption.alignleft {
  float:left;
  margin: 5px 30px 30px 0;
} 

/*-----------------------------------------------------------------------------------*/
/*  *Parallax-Style Image
/*-----------------------------------------------------------------------------------*/

.post-break {
  position: relative;
  float: none;
  margin: 40px auto 30px;
  display: inline-block;
  line-height: 0;
  min-width: 100% !important;
  max-width: 100% !important;
  background:transparent url(images/small-loading.gif) center no-repeat;
}
.full-bg-image {
  display: block;
  position: relative;
  padding-left: 99999px;
  margin-left: -99999px;
  padding-right: 99999px;
  margin-right: -99999px;
  background-position: center;
  background-attachment: fixed;
  background-color: #222;
  background-size: cover !important;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  padding-bottom: 60%;
  background-position: center;
}
/* Loading */
img.alignparallax {
  display:none;
}
.no-js img.alignparallax {
  display:block;
}

/*-----------------------------------------------------------------------------------*/
/*  * SiteWide Caption Styles
/*-----------------------------------------------------------------------------------*/

/* #General Styles
================================================== */
.wp-caption {
  margin: 0 0 30px 0;
  width: auto;
  position:relative;
  max-width:100%;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin:0;
  max-width: 98.5%;
  padding:0;
  width: auto;
  display: block;
}

/* #Typography
================================================== */
.wp-caption-text, 
.gallery-caption, 
.mfp-title {
  padding: 20px 30px;
  display: block;
  position: relative;
  text-rendering: optimizeLegibility;
  line-height: 16px;
  background: #f4f4f4;
  color: #999;
  font-size: 12px;
}
.mfp-title,
.wp-caption-text.caption-fixedimg span,
.wp-caption-text.caption-normal span,
.single-slideshow .gallery-caption span {
  background: transparent;
  padding: .4em 0;
  color: #fff;
  display: inline;
  background: #000;
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0.8em 0 0 rgba(0, 0, 0, 0.75), -0.8em 0 0 rgba(0, 0, 0, 0.75);
  margin:0;
  line-height: 2em;
}

/*-----------------------------------------------------------------------------------*/
/*  * Image Captions
/*-----------------------------------------------------------------------------------*/ 

/* #Normal and Fixed Image Captions
================================================== */
.wp-caption-text.caption-fixedimg,
.wp-caption-text.caption-normal {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  background: transparent;
}

/* #Alignment Captions
================================================== */
.wp-caption.aligncenter {
  margin-top:50px;
  margin-bottom:50px;
}
.wp-caption.alignleft .wp-caption-text,
.wp-caption.alignright .wp-caption-text,
.wp-caption.aligncenter .wp-caption-text {
  position:static;
  background:#f4f4f4;
}
.wp-caption.alignleft .wp-caption-text span,
.wp-caption.alignright .wp-caption-text span,
.wp-caption.aligncenter .wp-caption-text span {
  background:transparent;
  padding:0;
  box-shadow: none;
  color:#999;
}

/* #Parallax-Style Caption
================================================== */
.post-break .wp-caption-text {
  padding-right: 99999px;
  margin-right: -99999px;
}

/*-----------------------------------------------------------------------------------*/
/*  * Gallery Captions
/*-----------------------------------------------------------------------------------*/ 

/* #Slideshow Caption
================================================== */
.single-slideshow .gallery-caption {
  background:none;
  position:absolute;
  left: 0;
  bottom: 0;
  color:#fff;
}

/* #Regular Caption
================================================== */
.gallery-caption span {
  display: block;
  padding: 13px 20px;
}
.gallery-item .gallery-caption {
  position:absolute;
  bottom:0;
  left:0;
  color:#fff;
}



/*-----------------------------------------------------------------------------------*/
/*  *BxSlider
/*-----------------------------------------------------------------------------------*/

/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
  position: relative;
  padding: 0;
  *zoom: 1;
}
.outsidearrows .bx-wrapper {
  padding: 0 25px;  
}
.bx-wrapper img {
  width: 100%;
  display: block;
}
.bx-wrapper ul li {
  margin:auto;  
}

/** THEME
===================================*/
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -40px;
  width: 100%;
}
.bx-wrapper .bx-controls {
 /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=00)";
  /* IE 5-7 */
  filter: alpha(opacity=00);
  /* Netscape */
  -moz-opacity: 0;
  /* Safari 1.x */
  -khtml-opacity: 0;
  /* Good browsers */
  opacity: 0;
}

/*  Bullets */
.bx-wrapper .bx-pager.bx-default-pager a {
  border: 1px solid #ccc;
  border-color: rgba(0,0,0,0.25);
  background:transparent;
  margin-bottom:15px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #ccc;
  background: rgba(0,0,0,0.25);
  border-color: transparent;
}

/* LOADER */
.bx-wrapper .bx-loading {
  display:none;
}

/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  position: absolute;
  bottom: -50px;
  width: 100%;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  border-radius: 14px;
  -webkit-border-radius: 14px;
  -moz-border-radius:14px;
  -o-border-radius:14px;
  text-indent: -9999px;
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 4px;
}

.gallery-size-audio.featured-image .bx-prev,
.gallery-size-audio.featured-image .bx-next {
  display: none;
}
.gallery-size-audio.featured-image {
  margin-bottom:0 !important;
}
.gallery-size-post.featured-image {
  margin-bottom:70px !important;
}

.outsidearrows .bx-wrapper .bx-prev {
  left:-20px;
  background: url(images/sprites-nivo.png);
  background-position: 0 0;
  width: 31px;
  height: 30px;
  margin-top:-15px;
}

.outsidearrows .bx-wrapper .bx-next {
  right: -20px;
  background: url(images/sprites-nivo.png);
  background-position: -100px 0;
  width: 31px;
  height: 30px;
  margin-top:-15px;
}
.dark .outsidearrows .bx-wrapper .bx-next,
.dark .outsidearrows .bx-wrapper .bx-prev {
  background-image: url(images/sprites-nivo-white.png); 
}

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 60;
    /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  /* IE 5-7 */
  filter: alpha(opacity=100);
  /* Netscape */
  -moz-opacity: 0;
  /* Safari 1.x */
  -khtml-opacity: 0;
  /* Good browsers */
  opacity: 0;
}

.bx-wrapper .bx-controls-direction a.disabled,
.isobrick .bx-wrapper .bx-controls-direction a {
  display: none;
}

/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
  text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url(images/controls.png) -86px -11px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
  background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url(images/controls.png) -86px -44px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
  background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}

/* IMAGE CAPTIONS */
.bx-caption {
  position:absolute;
  font-size:16px;
  bottom: 10px;
  left: 15px;
  color: white;
  z-index:999;
  color:#fff;
  z-index:8;
  padding: 5px 10px;
  overflow: hidden;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;    
  box-sizing: border-box;  
  max-width:50%;  
  
}
.bx-caption span {
  line-height: 2.1em;
  padding: .4em 0;
  background:#000;
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0.8em 0 0 rgba(0, 0, 0, 0.75), -0.8em 0 0 rgba(0, 0, 0, 0.75);  
}
.no-caption .bx-caption {
  display: none !important;
}

.bxslider {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=00)";
  /* IE 5-7 */
  filter: alpha(opacity=00);
  /* Netscape */
  -moz-opacity: 0;
  /* Safari 1.x */
  -khtml-opacity: 0;
  /* Good browsers */
  opacity: 0;
  position:absolute;  
}





/*-----------------------------------------------------------------------------------*/
/*  *Image Grids
/*-----------------------------------------------------------------------------------*/

/* #General Styles
================================================== */
.postphoto img {
  display:block;
  max-width: 100% !important;
  height: auto !important;
}
.postphoto .featured-image {
  margin:0;
}
.postphoto a.postlink div.overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height:100%;
  text-align: center;
  background:#333;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=00)";
  /* IE 5-7 */
  filter: alpha(opacity=00);
  /* Netscape */
  -moz-opacity: 0;
  /* Safari 1.x */
  -khtml-opacity: 0;
  /* Good browsers */
  opacity: 0;

}
.postphoto {
  padding:0;
  position:relative;
  overflow:hidden;
  background: #333; 
  width:310px;
  display:block;
  min-height:100px;
}
.hasimages .postphoto {
  background:#f3f3f3 url(images/small-loading.gif) center no-repeat;
}
.postphotoinner {
  padding:30px;
}

/* Sizes */
.big .postphoto {
  width:623px;
  min-height:220px;
}
.slim .postphoto {
  min-height:100px;
}

.wide .postphoto {
  width:623px;
  min-height:220px;
}

/* #Titles
================================================== */
.postphoto div.title {
  position: absolute;
  width:100%;
  text-align:center;
  display: table;
  height: 576px;
  top: 0;
  left: 0;
}
.postphoto div.title h2 {
  margin:auto;
  display:table-cell;
  vertical-align:middle;
  padding:0 50px;
  height:100%;
  color: #fff;
  font-size: 20px;
  margin:0;
  line-height:26px;
}

/* Change Sizes */
.big .postphoto div.title h2 {
  font-size: 32px;
  line-height:38px;
}
.slim .postphoto div.title h2 {
  font-size: 16px;
  line-height: 22px;
}
.wide .postphoto div.title h2 {
  font-size: 24px;
  line-height:30px;
}

/* Set css if no image */
.noimages .postphoto div.title {
  position:relative;
  top:auto;
  padding:50px 0;
  margin:0 !important;
  height: auto !important;
}

/* #Hover Effect
================================================== */
a.postlink {
  display:block;
  width: 100%;
  height: 100%;
  background:#222;
}
/* Hover Image Effect */
a.postlink img,
.postphoto a.postlink div.overlay {
  transition: all 0.45s ease-in-out;
  -webkit-transition: all 0.45s ease-in-out;
  -moz-transition: all 0.45s ease-in-out;
  -o-transition: all 0.45s ease-in-out;
  -ms-transition: all 0.45s ease-in-out;
}
.postphoto a.postlink:hover div.overlay {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  /* IE 5-7 */
  filter: alpha(opacity=50);
  /* Netscape */
  -moz-opacity: 0.5;
  /* Safari 1.x */
  -khtml-opacity: 0.5;
  /* Good browsers */
  opacity: 0.5;
}
a.postlink:hover img {
  -webkit-transform:scale(1.2) rotate(5deg); /*Webkit: Scale up image to 1.2x original size*/
  -moz-transform:scale(1.2) rotate(5deg); /*Mozilla scale version*/
  -o-transform:scale(1.2) rotate(5deg); /*Opera scale version*/
  -ms-transform: scale(1.2) rotate(5deg); /*MS scale version*/
  /* Firefox 10+, Firefox on Android - too buggy */
  /* filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); */
  filter: gray; /* IE6-9 */
  filter:  grayscale(100%) opacity(0.5);
  -webkit-filter: grayscale(100%) opacity(0.5);
  -moz-filter: grayscale(100%) opacity(0.5);
  -o-filter: grayscale(100%) opacity(0.5);
  -ms-filter: grayscale(100%) opacity(0.5);
}

/* Title Hover Effect */
a.postlink .title h2 {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  /* IE 5-7 */
  filter: alpha(opacity=0);
  /* Netscape */
  -moz-opacity: 0.0;
  /* Safari 1.x */
  -khtml-opacity: 0.0;
  /* Good browsers */
  opacity: 0.0;
}
.noimages a.postlink .title h2 {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  /* IE 5-7 */
  filter: alpha(opacity=100);
  /* Netscape */
  -moz-opacity: 1;
  /* Safari 1.x */
  -khtml-opacity: 1;
  /* Good browsers */
  opacity: 1;
}
a.postlink:hover .title h2 {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  /* IE 5-7 */
  filter: alpha(opacity=100);
  /* Netscape */
  -moz-opacity: 1;
  /* Safari 1.x */
  -khtml-opacity: 1;
  /* Good browsers */
  opacity: 1;
}


/*-----------------------------------------------------------------------------------*/
/*  *Widths smaller than 1130
/*-----------------------------------------------------------------------------------*/
@media only screen and (max-width: 1130px) {
  /* Hide the top button if it's too narrow */
  .top {
    display:none !important;
  }
}

/*-----------------------------------------------------------------------------------*/
/*  *Width between smaller than 1130 and 960
/*-----------------------------------------------------------------------------------*/
@media only screen and (min-width: 960px) and (max-width: 1130px) {
   /* Disable for touch devices at this size */
  .full-bg-image {
  	background-attachment:scroll !important;
  	padding-left:0;
  	margin-left:0;
  	padding-right:0;
  	margin-right:0;
	}
	.post-break .wp-caption-text {
		padding-right:0;
		margin-right:0;
	}
	.three-fourths-post .post-break .wp-caption-text,
	.three-fourths-post .full-bg-image {
		padding-right: 180px;
		margin-right:-180px;
	}
}

/*-----------------------------------------------------------------------------------*/
/*  *Portrait size to standard 960 (devices and browsers)
/*-----------------------------------------------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
	
   /* Disable for devices at this size */
  .full-bg-image {
  	background-attachment:scroll !important;
  	padding-left:0;
  	margin-left:0;
  	padding-right:0;
  	margin-right:0;
	}
	.post-break .wp-caption-text {
		padding-right:0;
		margin-right:0;
	}
	.three-fourths-post .post-break .wp-caption-text,
	.three-fourths-post .full-bg-image {
	  padding-right: 140px;
	  margin-right:-140px;
  }
  .fluid-width-video-wrapper {
  	width: 768px !important;
  	padding-bottom: 110px;
  	margin: 40px 0 55px 0;
  }

  /* #Nav Changes */	
  .sf-menu li {
  	margin-left: 2px;
  }
  .sf-menu li > a {
   /* padding: 2em 0 2em 1.7em;*/
	letter-spacing:normal;
  }
  
  /* Thumbnail Changes */
  .postphoto {
    width: 245px;
  }
  .big .postphoto {
    width: 495px;
  }
  
  .wide .postphoto {
    width: 495px;
  }

 
}

/*-----------------------------------------------------------------------------------*/
/*  *All Mobile Sizes (devices and browser)
/*-----------------------------------------------------------------------------------*/

@media only screen and (max-width: 767px) {
	

  
  /* Thumbnail Changes */
  .slim .postphoto {
    min-height:20px !important;
  }
  .postphoto div.title h2 {
  	font-size: 14px;
  	line-height: 18px;
  	padding: 0 30px;
  }
  .slim .postphoto div.title h2 {
  	font-size: 14px;
  	line-height: 18px;
  	padding: 0 30px;
  }
  .big .postphoto div.title h2 {
  	font-size: 22px;
  	line-height: 28px;
  	padding: 0 30px;
  }
  
    .wide .postphoto div.title h2 {
  	font-size: 22px;
  	line-height: 28px;
  	padding: 0 30px;
  }
 
}

/*-----------------------------------------------------------------------------------*/
/*  *Mobile Landscape Size to Portrait (devices and browsers)
/*-----------------------------------------------------------------------------------*/
/* #General Layout Changes */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
  /* Full Slideshow Changes */
  .single-slideshow.full {
  	margin-left: 	-100px;
  	margin-right: 	-100px;
  }
  .single-slideshow.full .bx-wrapper .bx-prev {
  	left: 100px;
  }
  .single-slideshow.full .bx-wrapper .bx-next {
  	right: 100px;
  }
  .single-slideshow.full .gallery-caption {
  	left: 108px;
  	bottom: 0;
  	padding: 10px;
  	max-width: 300px;
  }

  /* Thumbnail Changes */
  .postphoto {
    width: 206px;
  }
  .big .postphoto {
    width: 416px;
  }
  
  .wide .postphoto {
    width: 416px;
  }
  
  /* Blog Changes */
  .indexcontent {
	width: 305px;
  }  
 
}

/*-----------------------------------------------------------------------------------*/
/*  *Mobile Portrait Size to Mobile Landscape Size (devices and browsers)
/*-----------------------------------------------------------------------------------*/
@media only screen and (max-width: 479px) {
	
	

  /* Full Slideshow Changes */
  .single-slideshow.full {
  	margin-left: 	-100px;
  	margin-right: 	-100px;
  }
  .single-slideshow.full .bx-wrapper .bx-prev {
  	left: 100px;
  }
  .single-slideshow.full .bx-wrapper .bx-next {
  	right: 100px;
  }
  .single-slideshow.full .gallery-caption {
  	left: 108px;
  	bottom: 0;
  	padding: 10px;
  	max-width: 300px;
  }
  

 	  
  /* Gallery Changes */
  .single-gallery.full img,
  .single-gallery.fixed img, 
  .single-gallery img {
    width: 140px;
  }
  
  /* Thumbnail Changes */
  .postphoto {
    width: 146px;
  }
  .big .postphoto {
    width: 296px;
  }

}