html, body {
	margin:0;
	padding:0;
	height:100%;
	overflow:hidden;
}
table, tr, td {
	border:0;
	margin:0;
	padding:0;
}
p {
	margin-top:5px;
}
a, a:link, a:active {
	color:black;
	text-decoration:none;
}
#maincontainer {
	width:100%;
    height: 100%;
	min-width:1225px;
}
#sidebar_maincontainer {
	font-family: "Franklin Gothic Medium", "Franklin Gothic", "ITC Franklin Gothic", Arial, sans-serif;
	font-size: 1.7vh;
	font-style: normal;
	font-variant: normal;
	font-weight: 600;
	width: 25%;
    height: 100%;
	min-height:762px;
    background: url('images/sidebar_background.jpg') repeat-y;
    background-size: cover;
	overflow:hidden;
	float:left;
	/*
	  animation-name: fade;
	  animation-duration: 1s; 
	  animation-play-state: running; */
}
#sidebar_title {	
	max-width: 80%;
	height:15%;
    background: url('images/sidebar_title.png') no-repeat;
    background-size: contain;
	margin:0 5% 0 5%;
	/**/
}
#sidebar_webtoons_container
 {
		/*hack to preload book hover*/
		background: url(images/sidebar_book_hover.png) no-repeat -9999px -9999px; 
		/*end hack */ 
	width:100%;
	height:37%;
	max-height:37%;
	margin:0 5% 0 5%;
	/**/
}
#sidebar_webtoons_container a:hover {
	color:#3c9249;
}
img {
	width:100%;
	height:auto;
	background-size: contain;
}
#screenshot_wrapper {
	width:90%;
	border-top:8px solid #ff6e4a;
	border-bottom:4px solid #ff6e4a;	
	background:#ff6e4a;
}
#screenshot_wrapper:hover, #sidebar_webtoons_container a:hover > #screenshot_wrapper {
	border-top:8px solid #cdd55e;
	border-bottom:4px solid #97c950;	
	background:#97c950;
}
#screenshot_wrapper img {
	width:calc(100% - 4px);
	height:calc(100% - 4px);
	border:2px solid #201717;
}

#sidebar_newcomic_scribs {
	max-width: 100%;
	height:auto;
    background-size: contain;
}
#sidebar_seealso {
	width:95%;
	height:9%;
	margin:0 0 0 5%;
	background: url('images/scribs_seealso.png') no-repeat;
	background-position:0% 100%;	
	background-size: contain;
	/**/

}
#sidebar_holder {
	width:100%;
	height:40%;
	min-height:40%;
}
#sidebar_ad {
	width:50%;
	height:100%;
	margin:0 0 0 5%;
    background: url('images/sidebar_book.png') no-repeat;
	background-position:0 20%;
    background-size: contain;
	float:left;
}
#sidebar_ad:hover {
    background: url('images/sidebar_book_hover.png') no-repeat;
	background-position:0 20%;
    background-size: contain;
}
#sidebar_dave {
	width:45%;
	height:100%;
    background: url('images/sidebar_dave.png') no-repeat;
	background-position:right 20%;
    background-size: contain;
	float:right;
}
#iframecontainer {
	float:right;
	width:75%;
	min-width:900px;
	height:100%;
}
#iframecontainer iframe {
	width:100%;
	height:100%;
	min-width:800px;
	border:0;
	padding:0;
	margin:0;
	border-left:2px solid #201717;
}

/* ----------- iPhone 6 ----------- */

/*@media only screen and (max-width: 1222px)*/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px){
#maincontainer {
	max-width:480px;
}
	#sidebar_maincontainer {
		width:100%;
		height:1%;
		min-height:175px;		
		position:relative;
		z-index:2;
	}
#sidebar_title {	
	width: 35%;
	min-width:200px;
	height:150px;
    background: url('images/sidebar_title.png') no-repeat 50%;
    background-size: contain;
	margin:0 0 0 5%;
	float:left;
	/**/
}
#sidebar_webtoons_container
 {
	width:50%;
	max-height:100%;
	height:100%;
	float:right;
	margin:0;
	/**/
}
#sidebar_webtoons_container a:hover {
	color:#3c9249;
}
img {
	width:100%;
	height:auto;
	background-size: contain;
}
#screenshot_wrapper {
	width:100%;
	min-width:360px;
	border:0;
	border-left:4px solid #ff6e4a;
	background:#ff6e4a;
		
}
#sidebar_webtoons_container span {
    font-size: small;
	display:none;

}
#screenshot_wrapper:hover, #sidebar_webtoons_container a:hover > #screenshot_wrapper {
	border:0;
	border-left:4px solid #cdd55e;
	background:#97c950;
		
}
#screenshot_wrapper img {
	width:calc(100% - 4px);
	height:calc(100% - 25% - 4px);
	border:0;
	border-left:2px solid #201717;
		
}

#sidebar_seealso {
	width:95%;
	height:9%;
	margin:0 0 0 5%;
	background: url('images/scribs_seealso.png') no-repeat;
	background-position:0% 100%;	
	background-size: contain;
	/**/
	display:none;

}
#sidebar_holder {
	width:35%;
	height:100%;
	min-height:100%;
	float:right;
	display:none;
}
#sidebar_ad {
	width:50%;
	height:100%;
	margin:0 0 0 5%;
    background: url('images/sidebar_book.png') no-repeat;
	background-position:0 20%;
    background-size: contain;
	float:left;
	display:none;
}
#sidebar_ad:hover {
    background: url('images/sidebar_book_hover.png') no-repeat;
	background-position:0 20%;
    background-size: contain;
}
#sidebar_dave {
	width:45%;
	height:100%;
    background: url('images/sidebar_dave.png') no-repeat;
	background-position:right 20%;
    background-size: contain;
	float:right;
}
	#iframecontainer {
		float:none;
		width:100%;
		height:calc(100% - 180);
		overflow-y: scroll;
	}

	#iframecontainer iframe {
		border-left:0;
		border-top:2px solid black;
		top: -140px;
	    position: relative;
		z-index:1;
	}
}/* For mobile : like samsung grand(480 * 800): */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px){
	#iframecontainer {
		-webkit-overflow-scrolling: touch;
		overflow-y: scroll;
		}
		#maincontainer {
			min-width:0;
		}
		#sidebar_maincontainer {			
			width: 100%;
			height: 1%;
			min-height: 100px;
		}
	#sidebar_title {
		width:45%;
		min-width:0;
		overflow:hidden;
    margin-top: 6%;
    margin-right: 4%;
    margin-left: 4%;
		background: url(images/sidebar_title_mobile.png) no-repeat;
		background-size:100%;
		
	}
	#sidebar_webtoons_container {
		    width: 40%;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
    /* display: table; */
    float: none;
    margin: 0 auto;
    margin-top: 2%;
	
	}
	#screenshot_wrapper {
		overflow: hidden;
		border-left: 2px solid #ff6e4a;
		border-top: 2px solid #ff6e4a;
		min-width:0;
		width:95%;
	}
	#screenshot_wrapper img {
    width: 95%;
    height: auto;
    border: 2px solid #201717;	
    position: relative;
    left: 1px;
    top: 2px;
	}
	#sidebar_webtoons_container span {
		    position: absolute;
		top: 55%;		
    left: 4.3%;
		display: block;
		    font-size: 98%;
	}
}