/* CSS */

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

img, video, iframe {
	max-width: 100%;
	/*max-height: 100%;*/
}

ul{
	list-style-type:none;  
    margin:0;  
    padding:0;  

}

a {
  text-decoration: none;
}

body {
  min-width: 320px;
  background-color: #eee;
  text-align: center;
}

/************** FONTS ******************/

nav,
#latest-content h2,
.title-txt h3,
#comments h4,
#comments p,
.submit-comment {
	font-family: 'Montserrat', sans-serif;
}

#latest-content p,
#latest-content a,
.title-txt p,

.contact-message,
label[for="user"], label[for="email"], label[for="message"],
footer {
	font-family: 'Muli', sans-serif;
}

/************** HEADER ******************/

header {
  /*display: none;*/
  border-bottom: 2px solid #999;

  height: 60px;
  width: 100%;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  background: url("../img/stars-header-bg.jpg") no-repeat;
  /*BG size set under misc*/
}

#logo {
  display: block;
  width: 50px;
  height: 50px;
  margin: 5px auto;
  
  background: url("../img/Tiger-Insignia.png") no-repeat;
  /*BG size set under misc*/
}

/************** HEADER NAV ******************/

#nav-trigger {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    /*display: none;*/
}

label[for="nav-trigger"] {
  width: 40px;
  height: 40px;
  background: transparent url(../img/menu-icon.png) center;
  
  position: fixed;
  right: 10px;
  top: 10px;

  opacity: .75;
  cursor:pointer;
  cursor:hand;
}

#main-nav {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 60px;
  left: -100%;

  padding: 20px 10px;
  text-align: center;
  background: #000;

  -webkit-transition: left .5s ease;
     -moz-transition: left .5s ease;
          transition: left .5s ease;
}

#nav-trigger:checked ~ #main-nav{
    left: 0;
}

/************** HEADER NAV CONTENT ******************/

#main-nav ul li,
#gsign  {
  border-color: #999 transparent #999 transparent;
  border-style: solid none solid none;
  border-width: 1px;  
}

#main-nav ul li:not(:first-child){
  margin-top: -1px;
}

#main-nav ul li a,
#gsign p {
  display: block;
  width: 100%;
  padding: 15.5px 0;
  margin: 0;

  color: #fff;

  -webkit-transition: background 0.25s ease-in-out;
     -moz-transition: background 0.25s ease-in-out;
          transition: background 0.25s ease-in-out;
}

#main-nav li a:hover,
#gsign a:hover {
  background: #8712B6;
}

#main-nav li a.current {
  color: #f00;  
}

.g-signin2{
  display: inline-block;
  margin: 7px 0;

}

/************** MAIN ******************/

#wrapper{
  margin: 60px auto 10px auto; 
  padding: 10px;
  display: inline-block;
}

#videos #wrapper,
#contact #wrapper {
   /*width: 100%*/
}

.banner{
  /*display: none;*/
  margin-bottom: 10px;
}

#latest-content > div {
  position: relative;
  padding: 50px 10px 10px 10px;

  overflow: hidden;
}

#latest-content h2{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px 0 8px 10px;
  margin: 0;

 
  font-size: 1.2em;
  font-weight: normal;
  text-align: left;
  background-color: #222;
}

#latest-comic h2 {
   color: #ff8282;
}

#latest-tee h2 {
   color: #82ff82;
}

#latest-video h2 {
   color: #8282ff;
}

#latest-content h3{
  font-size: 1em;
}

#latest-comic,
#latest-tee,
#latest-video {
  margin-bottom: 20px;
}

#latest-comic img,
#latest-tee img {
  display: block;
}

#latest-comic img,
#latest-tee img,
#latest-video .videoHolder {
  margin: 0 auto 10px auto;
}

.gen-btn {
  display: block;
  padding: 10px 0;
  margin-bottom: 10px;
  background-color: #ccc;
  color: #fff;
  border-radius: 5px;
}

.gen-btn:hover{
  background: #8712B6;
}

/************** social ******************/

#social-plugins{
  display:none;
  margin-top: 10px;
}

#fb-plugin,
#twitter-plugin {
  background-color: #fff;
  padding: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

/************** content ******************/

#latest-comic,
#latest-tee,
#latest-video,
#main-content {
  background-color: #fff;
  max-width: 1100px;
}

#main-content {
  padding: 10px;
}

#videos #main-content {
  margin: 0 auto;
}

.videoHolder {
  width: 100%;
}

#main-content img{
  display: block;
  margin: 0 auto;
}

.title-txt {
  width: 100%;
  min-height: 40px;
  padding: 5px;
}

#main-content .title-txt:before,
.title-txt:after {
  content: ' ';
  display: block;
  height: 1px;
  width: 20%;
  margin: 0 auto 10px auto;
  background-color: #ccc;
}

.title-txt h3,
.title-txt p {
  margin:0;
  text-align: center;
}

.title-txt p {
  margin-bottom: 15px;
  color: #999;
  font-size: .8em;
}

/*.link-holder {}*/

#qt_link {
  background-image: url("../img/logos/qwertee-logo.png");
  
}

#rb_link{
   background-image: url("../img/logos/redbubble-logo.png");
}

#qt_link:hover {
  background-color: #000;
}

#rb_link:hover{
  background-color: #f00;
}

.ext-link{
  height: 40px;
  width: 49%;
  display: inline-block;
  margin: 5px 0;
  background-color: #ccc;
  border-radius: 5px;

  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.ext-link:not(:first-of-type){
  margin-left: 2%;
}

/************** SHARE ITEMS ******************/

#stumble-share,
#reddit-share,
#b3ta-share,
#tumblr-share,
#instagram-share,
#blogger-share,
#rss-share {
  display:none;
}

#fb-share {       background-image: url("../img/logos/share-fb.png"); }
#twitter-share {  background-image: url("../img/logos/share-twitter.png"); } 
#gplus-share {    background-image: url("../img/logos/share-gplus.png"); }
#pin-share {      background-image: url("../img/logos/share-pinterest.png"); }
#stumble-share {}
#reddit-share {}
#b3ta-share {}
#tumblr-share {}
#instagram-share {}
#blogger-share {}
#rss-share {}

#fb-share:hover {      background-color: #395699; }
#twitter-share:hover { background-color: #1B95E0; }
#gplus-share:hover {   background-color: #DE4B33; }
#pin-share:hover {     background-color: #CC1F21; }
#stumble-share:hover {}
#reddit-share:hover {}
#b3ta-share:hover {}
#tumblr-share:hover {}
#instagram-share:hover {}
#blogger-share:hover {}
#rss-share:hover {     background-color: #f60; }

.share-btns {
  display: inline-block;
  height: 40px;
  width: 40px;
  margin: 5px;
  border-radius: 5px;

  background-color: #ccc;
  background-size: 35px;
  background-position: 2.5px;
  background-repeat: no-repeat;
}

/*.share-opts {}*/

/************** CONTENT NAV ******************/

#top-nav {
  display: none;
}

.content-nav {
  text-align: center;

  position: fixed;
  bottom: 0;
  left: 0;
  background: #000;

  width: 100%;
  padding: 10px 0;

   z-index: 1000;
}

.content-nav ul {
  height: 40px;/*To stop extra 4px from inline element*/
}

.content-nav li {
  display: inline-block;
  padding: 0 10px;
}

#first,
#previous {
  -webkit-transform: scaleX(-1);
     -moz-transform: scaleX(-1);
      -ms-transform: scaleX(-1);
          transform: scaleX(-1);
}

#first,
#latest {
  background: url("../img/content-nav.png") 40px -45px;
}

#previous,
#next {
  background: url("../img/content-nav.png") 80px -45px;
}

#random {
  background: url("../img/content-nav.png") 0 -45px;
}

#first,
#previous,
#random,
#next,
#latest {
  display: block;
  height: 40px;
  width: 40px;
}

#first:hover,
#latest:hover {
  background: url("../img/content-nav.png") 40px -135px;
}

#previous:hover,
#next:hover {
  background: url("../img/content-nav.png") 80px -135px;
}

#random:hover {
  background: url("../img/content-nav.png") 0 -135px;
}


.not-active {
   pointer-events: none;
   cursor: default;
   opacity: .5;
}

/************** COMMENTS ******************/

#new-comment {
  display: none;
}

#comments,
#new-comment {
  background-color: #fff;
  padding: 10px;
  margin-top: 10px;
}

#comments h4,
#comments p,
#new-comment p {
  color: #999;
  text-align: left;
  margin: 0 0 10px 0;
}

#comments h4 {
  font-size: .9em;
}

#comments li {
  position: relative;
}

#comments li .del-btn {
  position: absolute;
  top: 0;
  right: 0;

  width: 15px;
  margin: 0;

  text-align: center;

  cursor: hand;
  cursor: pointer;
}

#comments p,
#new-comment p {
  font-size: .8em;
}

#comments p span {
  color: #ccc;
}

#comments hr{
  border: none;
  height: 1px;
  width: 80%;
  background-color: #ddd;
  margin: 8px auto 10px auto;
}

#new-comment textarea{
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  resize: vertical; /* user can resize vertically, but width is fixed */
  border-width: 1px;
  border-style: solid;
  border-color: #999 #ccc #ccc #999;

  font-size: .8em;
  color: #999;
}

#submit-comment,
.basic-btn {
  width: 100%;
  border: none;
  border-radius: 5px;

  color: #fff;
  background-color: #ccc;
}

.basic-btn{
  /*font-weight: bold;*/
  padding: 10px;
  margin-bottom: 10px;
}

#submit-comment{
 height: 40px;
}

.error-msg{
  padding: 10px;
  border-left: 2px solid #f00;
  background-color: #eee;
}

/************** CONTACT ******************/

#contact-form {
    max-width: 500px;
    margin: 0 auto
}

.contact-message,
#contact-form form{
  background: #fff;
  padding: 10px;
  margin: 0 0 10px 0;
  width: 100%;
}

.contact-message {
  word-wrap: break-word;
}

.failure-message{
  border-left: 2px solid #f00;
}

.success-message{
  border-left: 2px solid #0f0;
}

#contact-form label,
#contact-form input,
#contact-form textarea{
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

#contact-form label{
  color: #999;
}

#contact-form input{
  height: 40px;
}

#contact-form input[type="text"],
#contact-form textarea{
  /*BORDERS*/
  border-width: 2px;
  border-style: inset;
  border-color: #eee #ccc #ccc #eee;
}

#contact-form textarea{
  height: 100px;

}

#sub-btn{
  background-color: #ccc;
  border: none;
  border-radius: 5px;
  color: #fff;
 
  font-size: 1em;
}

#sub-btn:hover{
  background: #8712B6;
}


/************** FOOTER ******************/

footer{
  margin: 10px 0 0 0;
  text-align: center;
  clear: both;
}

#comics footer,
#t-shirts footer,
#videos footer {
  margin-bottom: 60px;
}

.tgbt-ext {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 5px;
  border-radius: 5px;

  background-color: #ccc;
  background-size: 35px;
  background-position: 2.5px;
  background-repeat: no-repeat;
}

#tgbt-fb {
  background-image: url("../img/logos/share-fb.png");
}

#tgbt-tw {
  background-image: url("../img/logos/share-twitter.png");
}

#tgbt-yt {
  background-image: url("../img/logos/youtube-logo.png");
}

.tgbt-ext:hover {
  background-color: #8712B6;
}


footer p {
  font-size: .8em;
  margin: 10px 0 0 0; 
}

footer p,
footer a {
  color: #999;
}

footer p a:hover {
  color: #8712B6;
}


/************** MISC ******************/

body,
header,
#logo,
#videos .videoHolder:before {
  -webkit-background-size: cover;
     -moz-background-size: cover;
       -o-background-size: cover;
          background-size: cover;
}

.clear {
   clear: both;
}

.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

/*******************  MEDIA QUERIES **************************/

@media screen and (min-width: 768px){
  body {
    /*background: url('../img/space-grid-2.jpg') no-repeat center center fixed;*/
  }

  header {
    height: 120px;
    border-bottom: none;
  }

  label[for="nav-trigger"] {
        display: none;
  }

  #logo{
    width: 140px;
    height: 140px;
    margin-top: 30px;

    -webkit-background-size: 110px 110px;
       -moz-background-size: 110px 110px;
         -o-background-size: 110px 110px;
            background-size: 110px 110px;

    background-position: center; 
    background-color: #000;

    position: relative;
  }

  #logo:before,
  #logo:after {
    content: ' ';
    width: 150px;
    display: block;
    position: absolute;
    left: -5px;
    z-index: -1;
  }

  #logo:before {    
    height: 75px;
    background-color: rgba(255, 255, 255, .25);
    top: -5px;
  }

  #logo:after {
    height: 75px;
    background-color: rgba(0, 0, 0, .25);
    top: 70px; 
  }

  #wrapper{
    margin-top: 180px;
    max-width: 1100px;
  }

  #main-nav {
    height: auto;
    padding: 0;
    top: 100px;
    left: 0;
    background: #8712B6;

    z-index: -2;

    -webkit-transition: none;
       -moz-transition: none;
            transition: none;
  }

  #main-nav ul,
  #main-nav ul li,
  #gsign {
    display: inline-block;
  }

  #main-nav ul{
    /*text-align: left;*/
    position: relative;
  }

  #main-nav ul li:nth-child(3){
    margin-right: 85px;
  }

  #main-nav ul li:nth-child(4){
    margin-left: 85px;
  }

  #main-nav ul li:first-child,
  #gsign .g-signin2 {
    display: none;
  }

  #main-nav ul li:not(:first-child){
    margin-top: 0;
  }

  #main-nav ul li,
  #gsign{
    border: none;
  }

  #main-nav ul li a,
  #gsign p {
    padding: 10.5px 10px;
  }

  #gsign {
    /*float: right;*/
    position: absolute;
    top: 0;
    right: 0;
    opacity: .75;
  }

  #gsign:hover {
    opacity: 1;
  }

  #main-nav li a.current {
    color: #8712B6;
    background-color: #eee;
    font-weight: bold;
  }

  /******* Home page *******/

  #social-plugins{
    display:block;
  }

  #fb-plugin,
  #twitter-plugin {
    width: 49.5%;
    float: left;
  }

  #fb-plugin{
    margin-right: 1%;
  }

  /******* Content *******/

  #contact #wrapper {
    /*width: 500px;*/
  }

  #top-nav {
    display: block;
    margin-bottom: 10px;
  }

  #bottom-nav {
    margin-top: 10px;
  }

  .content-nav {
    position: static;
    background: #fff;
    padding: 10px 0;
  }

  #first,
  #latest {
    background: url("../img/content-nav.png") 40px 0px;
  }

  #previous,
  #next {
    background: url("../img/content-nav.png") 80px 0px;
  }

  #random {
    background: url("../img/content-nav.png") 0 0px;
  }

  /******* Comments / Contact  *******/
  #contact-form input#sub-btn,
  #submit-comment {
    width: 150px;
    float: right;
  }

  /******* Footer  *******/

  #comics footer,
  #t-shirts footer,
  #videos footer {
    margin-bottom: 0;
  }

}

@media screen and (min-width: 1024px){

  /******* Home page *******/

  #latest-content > div {
    overflow: visible;
    padding-top: 10px;
  }

  #latest-content h2{ 
    position: relative;
    left: -20px;
    width: 300px;
    margin-bottom: 10px;
  }

  #latest-content h2:after {
    content: ' ';
    display: block;

    width: 0;
    height: 0;

    border-width: 5px;
    border-style: solid;
    border-color: #4b4b4b #4b4b4b transparent transparent;

    position: absolute;
    left: 0px;
    bottom: -10px;
  }

  #latest-content {
    width: 690px;
    margin-left: 10px;
    float: left;
  }

  #latest-content > div .gen-btn{
    display: inline-block;
    width: 200px;
  }

  #social-plugins {
    width: 290px;
    margin: 0 0 0 10px;
    float: right;    
  }

  #fb-plugin,
  #twitter-plugin {
    width: 100%;
    float: none;
  }

  #fb-plugin{
    margin-right: 0;
  }

  /******* Content *******/

  #videos .videoHolder{
    position:relative;
    padding: 10% 28% 14% 10%;
    background-color: #000;
  }

  .ext-link {
    width: 200px;
  }

  #videos .videoHolder:before{
    content: ' ';
    display: block;
    width: 100%;
    height: 0;
    padding-top: 59.54%;

    position: absolute;
    top: 0;
    left: 0;

    pointer-events:none; 
    background-image: url("../img/old-tv.png");
  }

}

