/*
Theme Name: Chris Packham
Theme URI: http://www.chrispackham.co.uk
Description: Wildlife, television
Version: 1.0
Author: Obi Media
Author URI: http://www.obimedia.co.uk
*/
@import "css/fonts.css";
@import "css/layout.css";
@import "css/rwd.css";

.row:after { content: ""; display: table; clear: both; }
.downloadBtn, .bigBtn {display: block;
    text-align: center;
    background: #88e220;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #444;
    border: solid 1px #fff;
    font-size: 1.4em;
    color:#fff;
    transition:.5s background;
    margin-bottom: 10px
}
.bigBtn { display: inline-block;font-size: 1rem; padding: 10px; margin-top: 5px;}
.bigBtn.tweetBtn {background-color: #00aaf0}
.downloadBtn:hover {background:#5aa00a;text-decoration: none; color:#fff;}
.downloadBtn:active {box-shadow: none;margin-top: 1px}
.instructions { display: none}
.instructions a {text-decoration: underline;}
.instructions ol { padding-left: 20px}
.instructionToggle { color:#5aa00a; text-decoration: underline;display: none}

.videoWrapper { position: relative; padding-bottom: 56.25%; padding-top: 0px; height: 0;margin-bottom: .5em}
.videoWrapper iframe { position: absolute;top: 0;left: 0; width: 100%;height: 100%;background:transparent;}

.visible-android {
  display:none;
}
.visible-ios {
  display:none;
}
.on-device .visible-android, .on-device .visible-android {
  display:inherit;
}
.device-ios .visible-android {
  display:none !important;
}
.device-ios .hidden-ios {
  display:none !important;
}
.device-android .hidden-android {
  display:none !important;
}
.device-android .visible-ios {
  display:none !important;
}
.device-android .instructionToggle.androidlink,
.on-desktop .instructionToggle.androidlink { display: block;}
.on-desktop .instructionToggle.ioslink,
.device-ios .instructionToggle.ioslink { display: block;}

.full-wrapper {}
.fullWidthContent {padding:20px; background:rgba(255,255,255,0.6);width: 90%; margin:20px auto;border:solid 1px #555;}
.tweetWrap {margin:auto; width: calc(90% + 40px);padding:20px 0;}
.tweetWrap-tweet {transition:.5s box-shadow;font-family: 'Helvetica Neue', 'Arial', sans-serif;width:24.5%;background:#fff; font-size: 1.4rem; font-weight: 200; line-height: 1.5em;margin: .25%;float: left;}
.tweetWrap-tweet:hover {box-shadow: 0 0 45px #333}
.tweetWrap-tweet a { display: block;padding:20px;position: relative;}
.tweetWrap-tweet img.tweetImg {width: 100%; height:auto;}
.tweet-username {}
.tweet-profile {line-height: 50px; color:#999;font-size: 1.2rem;}
.tweet-profile img { border-radius: 50%; vertical-align: middle; display: inline-block;margin-right: 5px}
.tweet-tweet {}

.tweetButtons { margin:20px auto 0 auto;width:90%;}

.fullWidthBanner img { width:100%; height:auto;}
.messageForm input[type="text"] { 
  padding: 0 10px;
  border-radius: 3px;
  height: 40px;
  vertical-align: top;
  border: 0;
}
.messageForm { display: none}
.messageForm input[name="message"] {
  width:40%
}
.messageForm input[type="submit"] {
  border-radius: 3px;
  border: 0;
  line-height: 40px;
  padding: 0 15px;
  background: #00aaf0;
  color:#fff;
  font-weight: bold
}

@media screen and (max-width: 1000px) {

  .tweetWrap-tweet {width:32.7777%;}

}
@media screen and (max-width: 800px) {

  .tweetWrap-tweet {width:49.5%;font-size: 1.3rem}
  .tweet-profile { font-size: 1rem}

}
@media screen and (max-width: 600px) {

  .tweetWrap-tweet {font-size: 1rem}
  .messageForm input[type="text"] { 
    width:100%;
    margin-bottom: 10px
  }
  .messageForm input[name="message"] {
    width:100%;
    margin-bottom: 10px
  }
  .messageForm input[type="submit"] {
    display: block
  }

}
/* 
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  -webkit-animation-duration: 1000ms;
  animation-duration: 1000ms;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.owl-carousel .owl-animated-in {
  z-index: 0;
}
.owl-carousel .owl-animated-out {
  z-index: 1;
}
.owl-carousel .fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

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

  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* 
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}

/* 
 *  Core Owl Carousel CSS File
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
}
.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
}
.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-controls .owl-nav .owl-prev,
.owl-carousel .owl-controls .owl-nav .owl-next,
.owl-carousel .owl-controls .owl-dot {
  cursor: pointer;
  cursor: hand;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel.owl-loaded {
  display: block;
}
.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}
.owl-carousel.owl-hidden {
  opacity: 0;
}
.owl-carousel .owl-refresh .owl-item {
  display: none;
}
.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  -webkit-transform-style: preserve-3d;
}
.owl-carousel.owl-text-select-on .owl-item {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}
.owl-carousel .owl-grab {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -o-grab;
  cursor: -ms-grab;
  cursor: grab;
}
.owl-carousel.owl-rtl {
  direction: rtl;
}
.owl-carousel.owl-rtl .owl-item {
  float: right;
}

/* No Js */
.no-js .owl-carousel {
  display: block;
}

/* 
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  -webkit-transition: opacity 400ms ease;
  -moz-transition: opacity 400ms ease;
  -ms-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-item img {
  transform-style: preserve-3d;
}

/* 
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}
.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transition: scale 100ms ease;
  -moz-transition: scale 100ms ease;
  -ms-transition: scale 100ms ease;
  -o-transition: scale 100ms ease;
  transition: scale 100ms ease;
}
.owl-carousel .owl-video-play-icon:hover {
  -webkit-transition: scale(1.3, 1.3);
  -moz-transition: scale(1.3, 1.3);
  -ms-transition: scale(1.3, 1.3);
  -o-transition: scale(1.3, 1.3);
  transition: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}
.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  -webkit-transition: opacity 400ms ease;
  -moz-transition: opacity 400ms ease;
  -ms-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
}
.owl-carousel .owl-dots {
  position: absolute;
    z-index: 999;
    margin-top: -20px;
    text-align: center;
    width: 100%;
}
.owl-carousel .owl-dot {
  width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    border:solid 1px #000;
    margin:3px;
}
.owl-carousel .owl-dot.active {
  background:#999;
}
