/*------------------------------------------
--------------------------------------------
Responsive Coding
--------------------------------------------
Includes:
All code edits to make it into a responsive
theme that works on mobile devices.
--------------------------------------------
------------------------------------------*/
/* RESPONSIVE Stuff
   ========================================================================== */
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {

.header {
    display:none!important;
}

.navigation {
    width:100%;
}

.menu-link i {
    display:inline;
    font-family: 'FontAwesome';
}

#menu {
    position:relative;
}

#menu > a {
    
}

#menu:not( :target ) > a:first-of-type,
#menu:target > a:last-of-type {
    display:block;
}

#menu > ul {
    height:auto;
    position:absolute;
    display:none;
    left:0;
    right:0;
    list-style:none;
}

#menu:target > ul {
    display:block;
    list-style:none;
}

#menu > ul > li {
    width:100%;
    float:none;
    list-style:none;
}

#menu li ul {
    position:static;
    list-style:none;
}

.navibar li {
    padding:5px;
}

#menu li {
    display:block;
}

#menu ul {
    list-style:none;
    line-height:30px;
}

.mobile {
    display:block;
    padding-top:25px;
    padding-bottom:25px;
    background-color:#B4CEF7;
}

.sitetitlemobile {
    color:#ffffff;
    font-weight:100;
    font-size:35px;
    text-align:center;
}

.sloganmobile {
    color:#ffffff;
    font-weight:400;
    font-size:11px;
    letter-spacing:1px;
    text-align:center;
    text-transform:uppercase;
    margin-top:5px;
}

.mobileborder {
    width:50%;
    height:2px;
    background-color:rgba(255,255,255,0.2);
}

iframe {
    max-width:100%;
    height:auto;
}

.thumb_caption_ctime {
display:block;
}

.thumb_title_views {
display:block;
}


table {
    width:100%!important;
}


h5 {
    width:100%;
}

#wrapper{
  width: 100%;
  margin:0;
}

#container{
  width:100%;
  margin:0;
}

}
/*------------------------------------------
     1024px Media
------------------------------------------*/
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {
.tableh1 {
        font-size:80%;
}

.statlink {
        font-size:80%;
}
}


/*------------------------------------------
      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;
}