/*------------------------------------------
--------------------------------------------
Responsive Coding
--------------------------------------------
Includes:
All code edits to make it into a responsive
theme that works on mobile devices.
--------------------------------------------
------------------------------------------*/
/*------------------------------------------
     1050px Media
------------------------------------------*/
@media only screen and (max-width: 1050px), only screen and (max-device-width: 1050px) {
.site-logo {
  display:none;
}

.navibar {
  background-image: url("...")!important;
  background-position: center;
  background-repeat:no-repeat;
}

.navibar a:link,
.navibar a:visited,
.navibar a:active {
  padding-top: 20px;
  padding-bottom: 20px;
}

.navibar a:hover {
  padding-top: 20px;
  padding-bottom: 20px;
}

.desktop {
  display:none;
}

.welc {
  display:none;
}

.social{
display:none;
}

.navibar {
  width:100%;
}

h5 {
  width:100%;
  margin-bottom:0;
}


#box {
    margin: 0 auto;
    width: 100%!important;
}

.navibar li {
list-style-type:none!important;
}

  .menu-link i {
    display: inline!important;
    font-size: 18px!important;
    font-family: 'FontAwesome';
    color:#ffffff;
  }

  #menu {
    position: relative!important;
    font-size:100%!important;
  }

  #menu > a {
  }

  #menu:not( :target ) > a:first-of-type,
#menu:target > a:last-of-type {
    display: block!important;
  }
 
    /* first level */
 
  #menu > ul {
    height: auto!important;
    display: none!important;
    position: absolute!important;
    left: 0!important;
    right: 0!important;
  }

  #menu:target > ul {
    display: block!important;
  }

  #menu > ul > li {
    width: 100%!important;
    float: none!important;
  }
 
    /* second level */
 
  #menu li ul {
    position: static!important;
  }

.navibar {
  font-size:15px;
}


.menu-link {
list-style-type:none!important;
line-height:20px!important;
}

  #wrapper {
    margin: 0 auto;
    width: 100%!important;
    margin-top: 0px;
  }

  #container {
    overflow: hidden;
    z-index: 1;
    width: 100%!important;
    margin: 0 auto;
  }

  #sidebar {
    width: 100%!important;
    margin-top: 25px;
    margin-bottom: -30px;
  }

  #content {
    width: 100%!important;
  }

  body {
    margin-left: 10px!important;
    margin-right: 10px!important;
  }

  .mobile {
    display: block;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align:center;
  }
}

/*------------------------------------------
     1024px Media
------------------------------------------*/
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {


  nav[role=navigation]  li {
    display: list-item;
    margin: 0;
  }

  nav[role=navigation] li a {
    display: list-item;
    border: 0;
  }


.tableh1 {
        font-size:80%;
}

.statlink {
        font-size:80%;
}


.n2 {
    text-align:left;
}


.navibar li:before{
display:none;
}
}


/*------------------------------------------
      Changing a couple of basic cpg codes
------------------------------------------*/
#cpg_logo_block_logo img {
    max-width: 100%;
    width: 100%!important;
    height: auto!important;
}

.thumbnail {
    max-width: 12vw!important;
    height: auto;
}

.thumb_title,.thumb_caption,.thumb_filename,.thumb_num_comments {
    max-width: 12vw!important;
    overflow: hidden;
}

/*------------------------------------------
      600px width media
------------------------------------------*/

@media all and (min-width: 600px) {
    .thumb_title,.thumb_caption,.thumb_filename,.thumb_num_comments {
    font-size: 80%!important;
   }
    #tabsMenu .navmenu a {
    display: block!important; 
    }
    #tabsMenu .navmenu span {
    display: block!important; 
    }
    .tableb {
    padding: 3px 10px!important;
    }
    .catrow_noalb table,.catrow table  {
    font-size: 100%;
    }
}

@media all and (min-width : 0px) and (max-width : 600px) {
    .thumb_title,.thumb_caption,.thumb_filename,.thumb_num_comments {
        font-size: 70%!important;
    }
    .tableh1 {
    font-size: 80%;
    }
    #tabsMenu .navmenu a {
    display: none!important; 
    }
    #tabsMenu .navmenu span {
    display: block!important; 
    }
    .tableb {
    padding: 1px 1px!important;
    }
}


/*------------------------------------------
      350px width media
------------------------------------------*/

@media all and (min-width : 0px) and (max-width : 350px) {
    .catrow_noalb table,.catrow table  {
    font-size: 70%!important;
    }
}




/*------------------------------------------
      Misc
------------------------------------------*/
.strip_image {
    max-width: 10vw!important;
    height: auto;
}

#film {
    width: 100%!important;   
}

#film .thumb a:link  {
    width: 100%!important;
}

.tape  {
    width: 100%!important;
    height: 100%!important;
    margin-left: 0px!important;
}

.remove {
    display: none!important; 
}

.display_media .image {
    max-width: 70vw!important;
    height: auto;
}
#picinfo {
    width: 100%!important;
    overflow: scroll;
}
.statlink h2 {
    font-size: 15px!important;
}

.sortorder_cell img,.thumb_caption_rating img,#comments img {
    max-width: 2vw!important;
    height: auto!important;
}

#comments #captchaImg img{
    max-width: 25vw!important;
    height: auto!important;
}

.navmenu {
    font-size: 1.5vw!important;
}

.comment_date {
    font-size: 1.4vw!important;
}

.navmenu img,.buttonlist img {
    max-width: 2.5vw!important;
    height: auto;
}
.buttonlist ul li a span {
    height: 2vw!important;
    line-height: 2vw!important;
}
.buttonlist ul li a{
    font-size: 1vw!important;
}