/* THIS IS THE STYLE SHEET CURRENTLY IN USE */
/*----------------------- COLORS -----------------------*/
/*
    NEWEST COLORS
    light red           #ECBDBD
    med red             #D46565
    red                 #DB2E2E
    dark red            #491818
    light blue          #BDCCEC
    med blue            #658AD4
    blue                #2E67DB
    dark blue           #182649
    darkest blue	#0C1326
    yellow              #F6FF01
test new folders
	*/

body{
    font-family:                    "Trebuchet MS", Helvetica, Arial, sans-serif;
    color:                          #BDCCEC;
    /*font-size:                      .9em;*/
    font-size: 1em;
    margin:                         auto;
    position:                       relative;
    background: url("/images/site/bgs/0.png") repeat #000;
}

/*----------------------- CORE -----------------------*/


.wrapper{
    /* Switch between these two widths as you prefer. */
    /*max-width:1120px;*/
    width: 940px;
    background: #000;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;    
    padding: 10px;
}

.header{
    max-width:    100%;
   /* background: #658AD4;*/
   /*background: #0C1326;*/
   background: rgba(12,19,38, .7);
   margin-bottom: -5px;
    
}
.header img{
    width: 100%;
    max-height:250px;
}

.subwrapper {
    background: url('/images/site/bgs/black.png') center repeat-y;
    margin: 0 auto;
    width: 1200px;
}

.content{
    box-sizing: border-box;
    /*max-width: 800px;
    min-width:300px;*/
    /*min-width:50%;*/
    max-width:100%;
    width: auto;
    background: #182649;
    display: block;
    margin:0 auto;
    text-align: left;
    border-radius: 3em;
    padding: 1.5em;
    min-height: 800px;
    /*border: 1px solid white;*/
    /*width: 100%;*/
}

.content img
{
    max-width: 100%;
}

.content section {
    /*width: 940px;*/
    width: auto;
    
    margin: 0 auto;
}

.sidebar{
    /*max-width:19%;
    min-width: 135px;*/
    width:180px;
    display: inline-block;
    /*margin: 0 0 0 auto;*/
    float: right;
   /* background: #182649;*/
    min-height: 500px;
    position:relative;
    top: 1px;
    left: -1px;
    text-align: center;
    padding: 20px 0;
    border-radius: 2em;
    /*border:1px dotted white;*/
    vertical-align: top;
    margin-left: 10px;
}

footer {
}

.announcement {
    margin: 1.2em auto 0;
    padding: .5em;
    text-align: center;
    width: 900px;
    background: #182649;
    border-radius: 2em;
    display: block;
}

.announcement img
{
    float: left;
    max-height:200px;
}

/*----------------------- LINKS AND HEADERS -----------------------*/

a:link, a:visited, a:active {
    color:                          #F6FF01;
    text-decoration:                none;
}

a:hover{
    color:                          #FFF;
}

h1, h2, h3, h4, h5 {
    color:                          #FFF;
}

.sitenav-list a:link, .sitenav-list a:visited, .sitenav-list a:active{
    color:                          #FFF;
}

.sociallist { /*social media icons*/
    list-style-type: none;
    padding: 0;
}

.sociallist li {
    display: inline;
}

/*----------------------- SITENAV -----------------------*/
.sitenav {
    /*background:                     #2E67DB;*/
   /* background:                     #658AD4;*/
   background:	#182649;/*	#0C1326;*/
    text-transform:                 uppercase;
    text-align:                     center;
    width:                          100%;
    font-size:                      1.3em;
    font-weight:                    bold;
    /*margin-bottom:                  10px;*/
    padding-bottom:                 .1em;
    box-sizing:                     border-box;
}

.sitenav ul{
    list-style-type:                none;
    padding:                        0;
    margin:                         0 auto;
}

.sitenav li{
    display: inline;
    text-shadow: 1px 1px #000;
    border-radius: 1em 1em 2em 2em;
    box-shadow: .1em .1em .2em rgba(0,0,0,.5);
    padding: 10px 10px 15px 10px;
    color: #FFF;
    background: #294E96;
    border-bottom: 2px solid #D46565;
    transition-property: background-color, border-bottom;
    transition: all .3s;   
}

.sitenav li:hover {
    color: #F6FF01;
    text-shadow: 1px 1px #000;
    background: #D46565;
    border-bottom: 2px solid #2E67DB;
}
/*
.sitenav-list li a:hover, 
.sitenav-list li:hover {
    color: #949AE8;
}*/

.sitenav select {
    display: none;
}
/*----------------------- COMICNAV -----------------------*/

.comic-nav img {
   /* width: 17% !important;*/
    max-width: 100px;
    border-radius: 0 !important;
    padding: 0 0 .3em;
    opacity: .8;
    transition: all .3s;
}

.comic-nav img:hover {
    transform:scale(1.1);
    opacity: 1;
}

.comic-nav {
    width: 900px;
    padding-top:20px;
}

.cnavbtn {
   /* margin: 0 auto 0 0; */
   width: 49%;
}
.rcnavbutton {
    margin: 0 0 0 auto; 
}


/*----------------------- COMIC -----------------------*/
.comic{
    max-width:900px;
    display: inline-block;
    margin: 0 auto 0 0;
    /*background: #000;*/
    /*border-radius: 3em;*/
}

.comic img{
    width:100%;
    border-radius: 3em;
}


/*----------------------- THUMBNAILS -----------------------*/


/* ----------------------- AFFILIATES ----------------------- */
.affdiv {
    padding-bottom: 10px;
    min-height:     175px;
    vertical-align: top;
}

.affdiv img {
    float: left;
    border: 1px solid #000;
    background: #000;
    
}

.afftitle {
    font-size:  1.2em;
    font-weight: bold;
}

.affdesc {
    margin-left: 185px;
}

.nsfw {
    color:      #FF0000;
    font-weight: bold;
}

/* ----------------------- GALLERY ----------------------- */
.galldiv {
    float: left;
    font-size: .8em;
    text-align: center;
    display: block;
    width: 24%;
    height: 270px;
}

.gallery {
    /*width: 80%; for sidebar */
}

.galldiv img {
    width: 100%;
    max-width: 150px;
    border: 1px solid black;
}

.gallfeatured{
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.gallfeatured img 
{
    display: inline-block;
    margin: 0 auto;
}

/* ----------------------- ARCHIVE ----------------------- */
.chapters {
    /*border:                         1px solid black;*/
   /* margin: 0 auto;
    background: #FFF;
    width: auto;*/
    width: 100%;
   
}

.chapters::after {
     margin-bottom: 300px;
}

 .td {
    /*width:                          155px;*/
    /*width:  185px;*/
    display: inline-block;
    width: 24%;
    vertical-align: top;
    float: left;
    margin-bottom: 2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  /*  background: #294E96; */
}

.td ul {
    padding: 0;
    list-style-type: none;
}

.td li {
    padding-left: 5%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 95%;
    padding: .3em;
    transition-property: background-color;
    transition: all .3s;  
}

.li-alt {
    background: #183458;
    transition-property: background-color;
    transition: all .3s;  
}

.td li:hover, .li-alt:hover {
    background: #D46565;
}

.chap-holder {
    float: right;
}

.chapter-title2 {
    border:                         1px solid black;
    padding:                        2px;
    background: #294E96;
    text-align: center;
    margin: 0 auto 0 0;
    font-size: 1.5em;
    font-weight: bold;
    display: block;
    width: 80%;
    clear: left;
    /*width: 850px;*/
    max-height:100px;
    background: /*url('/images/site/transparancy.gif')*/ #294E96;
 /*   width: 100%;*/
}

.chapter-title2 img {
    margin: 0 auto;
}


.chapter-title{
    width: 13em;
    border: 1px solid black;
    box-shadow: .2em .2em .2em rgba(0,0,0,.5);
    position: relative;
    cursor: pointer;
    opacity: .5;
    /*width: 15em; for with sidebar*/ 
    
    max-height: 20em;
}

.chapter-title:hover {
   /* transform: rotate(2deg);*/
    opacity: 1;
    transition: all .5s;
}

.chapter-title img {
    transform: scale(1.5);
    text-align: center;
}

.title-list {
    clear: left;
}

.book-title {
    clear: left;
}

.pagelist {
    width: 100%;
}

.chap-cover {
    max-width: 18%;
    max-height: 200px;
    display: inline-block;
    overflow: hidden;
}

/*.chap-cover img {
    border: 1px solid black;
    text-align: center;
    position: relative;
    top: -320px;
    left: -170px;
    width: 200%;
}*/

.pagination {
    
    text-align: center;
    padding: 0em;
    width: 90%;
    margin: 0 auto 1em;
    display: inline-block;
}

.pagination ul{
    list-style-type: none;
    margin: 0 auto;
    padding: 0; 
}

.pagination li{
    border: 1px solid black;
    background: #2E67DB;
    display: inline;
    padding: .75em;
    margin:  0 auto;
    text-align: center;
    display: inline;
    text-shadow: 1px 1px #000;
    border-radius: 1em 1em 1em 1em;
    box-shadow: .1em .1em .2em rgba(0,0,0,.5);
    /*padding: 10px 10px 15px 10px;*/
    color: #FFF;
    background: #294E96;
    border-bottom: 2px solid #D46565;
    transition-property: background-color, border-bottom;
    transition: all .3s;  
    width: 19%;
}

.pagination li:hover {
    color: #F6FF01;
    text-shadow: 1px 1px #000;
    background: #D46565;
    border-bottom: 2px solid #2E67DB;
}

.pagination-no-link, .pagination-no-link:hover {
    background: none !important;
    border: none !important;
    color: #FFF !important;
    box-shadow: none !important;
}

.pagination-current-page{
    display: block !important;
}


/*.pagination h4 {
    display: inline-block;
}*/

/* ----------------------- PROFILES ----------------------- */
#profilefeatured {
    width: auto;
    margin: 0 auto;
}
#profilefeatured img {
    float: left;
    display: block;
    border: 1px solid black;
    margin: 10px;
    
}
.profiles {
    clear: left;
    text-align: center;
}

.profile_img {
    width: 7em;
    height: 7em;
    margin: .5em;
    float: left;
    overflow: hidden;
    border: 1px solid black;
}

.profile_img img{
    width: 100%;
    /*min-width: 80px;*/
    
}

.biography {
    padding-bottom: 2em;
}

/*----------------------- STORE -----------------------*/

.ebook_lrg {
	width: 400px;
	text-align: left;
    float: left;
}

.ebook_lrg img {
	width: 400px;
	display: inline-block;
}

.ebook_sml {
	width: 408px;
	text-align: right;
    float: right;
}

.ebook_sml img, .ebook_sml img a {
	width: 200px;
	display: inline;
}

.ebook_featured {
	width: 600px;
	text-align: center;
	margin: 0 auto;
}

.ebook_featured img {
	width: 250px;
}

.ebook_grp {
	padding: 0 0 15px 0;
	clear: both;
}

/*----------------------- MISC -----------------------*/

hr {
    margin: 3em 0;
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}

.left {
    text-align: left;
    float: left;
}

.right {
    text-align: right;
    float: right;
}

.mid {
    text-align: center;
    margin: 0 auto;
}

.tleft {
    text-align: left;
}

.tright{
    text-align: right;
}

.tmid{
    text-align:center;
}

.clear {
    clear: both;
}

.clearleft {
    clear: left;
}

.totop{
    border-radius: 5em 5em 1em 1em;
    box-shadow: .1em .1em .2em rgba(0,0,0,.5);
    float: right;
    z-index: 10;
    background: #294E96;
    border: 1px solid #658AD4;
    border-bottom: 2px solid #294E96;
    padding: .3em;
}

.totop:hover{
    transition: all .5s;
    background: #183458;
    border: 1px solid #294E96;
    border-bottom: 2px solid #183458;
}

.jswarning {
    padding: 20px;
}


.gas {
    clear: both;
    padding: 1em 0;
    overflow: hidden;
    max-height: 200px;
}

/*----------------------- IFRAMES -----------------------*/

iframe {
    max-width: 100%;
    width: 880px;
    height: 490px;
}

/*----------------------- COMPATIBILITY -----------------------*/

/* For old IE versions */
article, aside, footer, header, nav, section {
    display:                        block;
}

@media (max-width: 400px){
    .sidebar
    {
	display: none;
    }
    
    .comic img {
	border-radius: 0;
    }
}

@media (max-width:768px){   
    .sitenav ul {
	display: none;
    }
    
    .td li {
    float: none;
    width: 100%;
    font-size: 1em !important;
    padding: .5em !important;
    margin: 0 auto;
}
    
    .sitenav select {
	display: inline-block;
	width: 100%;
	text-transform: none;
    }
    .sidebar img {
	max-height: 13em;
    }
    
    .profile_img {
	width: 5em;
	height: 5em;
    }
    
    #profilefeatured img {
	float: left;
	display: inline;
	width: 8em;
    }
    
    .sidebar {
	float: left;
	width: 17%;
	padding: 1em 0 0 0;
	min-height: 0;
	margin-bottom: 1em; 
	overflow: hidden;
	margin-right: .5em;
	border-radius: 0;
	background: none;
    }
    
    .td {
        text-align: center;
	min-width: 90%;
	margin: 0 auto;
    }
    
    .all-chapters{
        text-align: center;
        margin: 0 auto;
    }
    
    .pagination ul{
        margin: 0 auto !important;
        width:100% !important;
    }
    
    .pagination li{
        display: inline-block;
        padding: .5em;
        font-size: .7em ;
        max-height: .7em, .5em;
        overflow: visible;
    }
    
    .pagination-current-page{
        font-size: 1.2em !important;
        width: 100% !important;
    }
    
    .gallery {
	width: 100%;
	margin: 0 auto;
	float: right;
    }
    
    .galldiv {
	padding: 0;
	margin: 0;
	height: auto;
	display: inline-block;
    }
    
    .galldiv img {
	width: 100%;
    }
    
    .galldiv p {
	display: none;
    }
    
    .galldiv {
	width: auto;
	max-width: 32%;
    }
    
    .affdiv img {
	float: left;
	margin: 0 1em .5em 0;
	text-align: center;
	width: 30%;
    }
    
    .affdiv {
	width: auto;
    }
    
    .affdesc {
	margin-left: 0;
    }
}

@media (max-width: 1120px){
    .content {
	min-width: 0;
	width: auto;
    }
    
    .comic {
	max-width: none;
    }
    
    .announcement {
	min-width:0;
	width:auto;
    }
    
    .wrapper {
	width: auto;
    }
    
    .subwrapper{
	width: auto;
	background: #000;
    }
    
    .comic-nav {
	width: auto;
    }
    
    .cnavbtn img {
	width: 40%;
	/*background: #FFF;*/
    }
    .content section {
	width: auto;
    }

    .chapters .td {
	width: auto;
	padding: .5em;
    }
    
    .chapter-title {
	width: 15em;
	max-height: 20em;
    }
    
    
    .gas {
	padding: 0em 0;
    }
    

}