/*------------------------------------------
--------------------------------------------
Responsive Coding
--------------------------------------------
Includes:
All code edits to make it into a responsive
theme that works on mobile devices.
--------------------------------------------
------------------------------------------*/


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

.to {
margin-top:0px;
}

.da {
display:none;
}

#header {
        margin-top:0px;
        height:200px;
        width:100%;
}

#navigation {
        line-height:40px;
        min-width:100%;
        text-align:center;
}

#navigation a:link {
	font-size: 12px;
}


#sitenamecontainer { 
        display:block;
        width:100%;
}

#social {
        display:none;
}

.removespaceinsidebar {
        display:none;
}

.full {
    display:block;
    width:100%;
}

.sideimg {
        display:none;
}

.sitenamemobile {
        display:block;
}

#stitle {
        font-size:38px!important;
        width:100%!important;
}

.slogan {
        font-size:8px!important;
}

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

#container{
        background-image: url('http://chloemoretz.org/photographs/themes/premade62cpgrv2/');
        background-repeat: repeat-y;
        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;

}


.featured img {
width:100%!important;
height:auto!important;
}

.featured img:hover {
width:100%!important;
height:auto!important;
}

#footer {
margin-top:-50px;
}

}


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

#stitle {
        font-size:25px!important;
        width:100%!important;
}
}


/*------------------------------------------
      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;
   }
   .tableh1 {
    font-size: 1vw!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: 12px!important;
    }
}

@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: 70%!important;
    }
    #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;
}