@media (max-width:767px) and (min-width:0px){
	.smobile{
		display:block;
		padding:0;
		margin:3px 0
}
	.sdesktop{
		display:none
}
	.search_mobile{
		padding:5px
}
	.search_mobile input[type=text]{
		float:left;
		max-width:53%;
		margin:0 5px 0 0
}
}
@media (min-width:768px){
	.smobile{
		display:none
}
	.sdesktop{
		display:block;
		padding:0 5px 0 15px;
		position:relative
}
	.search_mobile input[type=text]{
		float:left;
		max-width:53%;
		margin:0 5px 0 0
}
	.navbar-form .input-group{
		width:390px
}
	.input-group-btn{
		width:40px!important
}
	#a_drop{
		display:block
}
	.navleft{
		display:none
}
	.drop_div{
		float:left;
		position:relative
}
	#dropdown_menu{
		left:0;
		right:auto
}
}
@media (min-width:1024px){
	#a_drop{
		display:none
}
	.navleft{
		display:block
}
	.navbar-form .input-group{
		width:251px
}
}
@media (min-width:1071px){
	.navbar-form .input-group{
		width:298px
}
}
@media screen and (max-width:1200px){
	.container{
		margin-top:55px;
		padding:5px 0 5px 6px
}
	.thumb{
		width:19%;
		margin:.5px .949% .5px .5px
}
	.thumbnail .sep{
		width:100%
}
}
@media screen and (max-width:979px){
	.container{
		margin-top:55px;
		padding:5px 0 0 5px;
		margin-bottom:0;
}
	.thumb{
		width:24%;
		margin:.5px .93% .5px .5px
}
	.thumbnail .sep{
		width:100%
}
}
@media screen and (max-width:772px){
	.container{
		margin-top:55px;
		padding:5px 1px 0 5px;
		margin-bottom:0;
		
}
	.thumb{
		width:32.32%;
		margin:.5px .84% .5px .5px
}
	.thumbnail .sep{
		width:100%
}
}
@media screen and (max-width:500px){
	.container{
		margin-top:55px;
		padding:5px 5px 0 5px;
		margin-bottom:0;
}
	.thumb{
		width:49%;
		margin:.5px .84% .5px .5px
}
	.thumbnail .sep{
		width:100%
}
	.gallery_first .left_cover img{
		margin:0 auto 20px auto;
		display:block
}
}
@media (min-width:0px) and (max-width:480px){
	.cat_flag .thumb_flag{
		width:34px;
		height:20px
}
	.left_cover{
		padding-right:5px;
		padding-left:5px
}
	.left_cover img{
		width:80%
}
	.gallery_first{
		padding:5px 0 0 0
}
	.right_details{
		padding-right:10px;
		padding-left:10px
}
	.right_details h1{
		margin-top:5px;
		margin-bottom:10px
}
	.gthumb img{
		padding:0
}
	.gallery_second{
		padding:14px 2px 0 2px
}
	.galleries_info .btn{
		overflow:hidden;
		max-width:290px;
		text-overflow:ellipsis
}
	#comments .reply_avatar_comment{
		width:40px;
		height:40px
}
	.gthumb{
		margin-bottom:9px
}
}
@media (min-width:501px) and (max-width:535px){
	.thumbnail .thumb_flag{
		width:35px
}
}
@media (min-width:1200px){
	.container{
		padding:0 10px;
		margin-top:60px
}
	.thumb{
		width:19.16%;
		float:none;
		display:inline-block;
		vertical-align:top;
		margin:5px
}
	.related .thumb{
		width:19.15%
}
	.related .thumb:nth-child(5n+5){
		margin-right:5px!important
}
	.thumb:nth-child(5n+5){
		margin-right:0
}
	.thumb_fav{
		width:207px;
		float:none;
		display:inline-block;
		vertical-align:top
}
}
@media (min-width:270px) and (max-width:319px){
	.container .cs_mb input[type=text]{
		width:174px
}
	.container .cs_mb .sort_by,.container .cs_mb .sort_by:active,.container .cs_mb .sort_by:hover{
		width:32px;
		margin:0;
		font-size:0;
		padding:9px 0
}
	.container .cs_mb .sort_by i{
		font-size:14px
}
	.container .cs_mb .gos{
		width:66px;
		padding:6px 0
}
	.container .cs_mb a,.container .cs_mb a:active,.container .cs_mb a:hover{
		width:102px;
		padding:6px 0
}
	.galleries .heading2{
		margin-left:0;
		margin-right:0;
		border-radius:0;
		font-size:22px;
		width:244px;
		margin:0 auto 10px auto;
		background:0 0
}

.profile_block .user_profile_avatar, .profile_block .user_profile_info {
	width:220px;
	float:none;
	display:block;
	margin:0 auto 10px auto;
	padding:0;
}

.profile_block .pb_left .normal_btn {
	margin-bottom: 3px;
}

.fstElement {
	min-width:260px !important;
}

.profile_edit .avt_div{
	position:relative;
	width:260px;
}
.profile_edit .avt_div img {
	width:260px;
	height:260px;
}

.profile_edit .file_text {
	width:175px!important;
}

.profile_edit input[type=password], .profile_edit input[type=text] {
	width: 260px;
}

.first_td, .second_td {
	display: block;
}

.profile_edit textarea {
	width:260px;
	margin:0;
}

.profile_edit .bio_p {
	padding:0;
}

}
@media (min-width:320px) and (max-width:360px){
	.container .imhentai{
		padding:6px 10px 10px 10px;
		font-size:18px;
		line-height:20px;
		text-align:center;
		border-radius:0;
		margin-bottom:10px;
		width:302px;
		margin:0 auto 10px auto
}
	#bar .bar_align{
		width:100%
}
	#bar .wrap{
		width:100%
}
	#bar .f_logo{
		display:none
}
	#bar h1{
		float:none;
		text-align:center;
		width:100%;
		padding:9px 5px
}
	#bar .f_message{
		float:none;
		text-align:center;
		width:100%;
		padding:9px 5px
}
	#footer .f_bottom .bottom_align,#footer .wrap{
		width:280px
}
	#footer .f_bottom .f_row{
		width:135px;
		margin:0 0 15px 0
}
	#footer .f_bottom .first,#footer .f_bottom .third{
		margin-right:55px
}
	#footer .f_bottom .second{
		width:90px
}

.profile_block .user_profile_avatar {
	width:220px;
	float:none;
	display:block;
	margin:0 auto 10px auto;
	padding:0;
}
.profile_block .user_profile_info {
	width:100%;
	float:none;
	display:block;
	margin:0 auto 10px auto;
	padding:0;
}


.profile_block .pb_left .normal_btn {
	margin-bottom: 3px;
}

.fstElement {
	min-width:260px !important;
}

.profile_edit .file_text {
	width:175px!important;
}

.profile_edit input[type=password], .profile_edit input[type=text] {
	width: 260px;
}

.first_td, .second_td {
	display: block;
}

.profile_edit textarea {
	width:260px;
	margin:0;
}

.profile_edit .bio_p {
	padding:0;
}

}
@media (min-width:361px) and (max-width:480px){
	.container .imhentai{
		padding:6px 10px 10px 10px;
		font-size:18px;
		line-height:20px;
		text-align:center;
		border-radius:0;
		margin-bottom:10px;
		width:339px;
		margin:0 auto 10px auto
}
	#bar .bar_align{
		width:100%
}
	#bar .wrap{
		width:100%
}
	#bar .f_logo{
		display:none
}
	#bar h1{
		float:none;
		text-align:center;
		width:100%;
		padding:9px 5px
}
	#bar .f_message{
		float:none;
		text-align:center;
		width:100%;
		padding:9px 5px
}
	#footer .f_bottom .bottom_align,#footer .wrap{
		width:280px
}
	#footer .f_bottom .f_row{
		width:135px;
		margin:0 0 15px 0
}
	#footer .f_bottom .first,#footer .f_bottom .third{
		margin-right:55px
}
	#footer .f_bottom .second{
		width:90px
}

.profile_block .user_profile_avatar {
	width:220px;
	float:none;
	display:block;
	margin:0 auto 10px auto;
	padding:0;
}
.profile_block .user_profile_info {
	width:100%;
	float:none;
	display:block;
	margin:0 auto 10px auto;
	padding:0;
}

.profile_block .pb_left .normal_btn {
	margin-bottom: 3px;
}

.fstElement {
	min-width:300px !important;
}

.profile_edit .file_text {
	width:175px!important;
}

.profile_edit input[type=password], .profile_edit input[type=text] {
	width: 300px;
}

.first_td, .second_td {
	display: block;
}

.profile_edit textarea {
	width:300px;
	margin:0;
}

.profile_edit .bio_p {
	padding:0;
}

}
@media (min-width:481px) and (max-width:767px){
	.container .imhentai{
		padding:6px 45px 10px 45px;
		font-size:18px;
		line-height:20px;
		text-align:center;
		border-radius:0;
		margin-bottom:10px;
		width:459px;
		margin:0 auto 10px auto
}
	.container .sort_mt li:nth-child(1){
		margin-bottom:0
}
	#bar .bar_align{
		width:100%
}
	#bar .wrap{
		width:100%
}
	#bar .f_logo{
		display:none
}
	#bar h1{
		float:none;
		text-align:center;
		width:100%;
		padding:17px 5px
}
	#bar .f_message{
		float:none;
		text-align:center;
		width:100%;
		padding:17px 5px
}
	#footer .f_bottom .bottom_align,#footer .wrap{
		width:465px
}
	#footer .f_bottom .f_row{
		width:135px;
		margin:0 0 15px 0
}
	#footer .f_bottom .first,#footer .f_bottom .third{
		margin-right:0
}
	#footer .f_bottom .first{
		width:110px;
		margin-right:20px
}
	#footer .f_bottom .second{
		width:110px;
		margin-right:20px
}
	#footer .f_bottom .third{
		width:110px;
		margin-right:20px
}

.profile_block .user_profile_info {
	width: 51%;
    float: left;
    display: block;
    margin: 0 auto 0 10px;
    padding: 0;
}

.profile_edit input[type=password], .profile_edit input[type=text] {
	width: 300px;
}

.first_td, .second_td {
	display: block;
}

.profile_edit textarea {
	width:300px;
	margin:0;
}

.profile_edit .bio_p {
	padding:0;
}

}
@media (min-width:768px) and (max-width:1044px){
	.container .imhentai{
		background:0 0;
		padding:0 45px 4px 45px;
		font-size:18px;
		line-height:20px;
		text-align:center;
		border-radius:0;
		margin-bottom:10px;
		width:680px;
		margin:0 auto 10px auto
}
	.container .sort_mt li:nth-child(1){
		margin-bottom:0
}
	#footer .f_bottom .bottom_align{
		width:746px
}
	#footer .f_bottom .f_row{
		width:225px;
		margin-right:0
}
	#bar .bar_align{
		width:535px
}

.profile_edit .li_left {
	margin-right: 10px;
}

.profile_block .user_profile_info {
	width: 69%;
    float: left;
    display: block;
    margin: 0 auto 0 10px;
    padding: 0;
}

.profile_edit textarea {
	width:430px;
}

}
@media (min-width:1045px) and (max-width:1366px){
	.container .imh_outer{
		margin-right:5px
}
	.container .imhentai{
		background:#222;
		margin-top:0;
		padding:10px 0 16px 0;
		font-size:24px;
		line-height:24px;
		text-align:center;
		margin:0 auto;
		border-radius:0 0 5px 5px;
		margin-bottom:15px;
		text-align:center;
		width:1011px
}
	.container .sort_mt li:nth-child(1){
		margin-bottom:0
}
	#bar .bar_align{
		width:535px
}

.profile_block .user_profile_info {
	width: 73%;
    float: left;
    display: block;
    margin: 0 auto 0 30px;
    padding: 0;
}

.profile_edit .li_left {
	margin-right: 10px;
}

}
@media (min-width:0px) and (max-width:527px){
	.gallery_first .dl_btn,.gallery_first .fap_btn,.gallery_first .fav_btn{
		margin:0 5px 9px 0
}
}
@media (min-width:0px) and (max-width:480px){
	.gallery_th{
		width:48.5%;
		margin:.5px 4px .5px .5px
}
	.gallery_th:nth-child(2n){
		margin:.5px 0 .5px .5px
}
	.gallery_first .left_cover img{
		margin-bottom:0
}
	.gallery_divider{
		width:99%
}
	.tg{
		width:100%
}
}
@media (min-width:481px) and (max-width:500px){
	.gallery_th{
		width:32.13%;
		margin:.5px 4px .5px .5px
}
	.gallery_th:nth-child(3n){
		margin:.5px 0 .5px .5px
}
	.g_buttons{
		text-align:center
}
	.gallery_first .left_cover img{
		margin:0 auto 15px auto
}
	.gallery_first h1{
		margin:0 0 15px 0
}
	.gthumb img{
		padding:0
}
	.gallery_first{
		padding:5px 0 0 0
}
	.gallery_divider{
		width:99%
}
	.tg{
		float:left;
		width:50%
}
}
@media (min-width:501px) and (max-width:772px){
	.gallery_th{
		width:32%;
		margin-top:.5px;
		margin-right:calc(1.4444% - 4px);
		margin-bottom:.5px;
		margin-left:.5px
}
	.gallery_th:nth-child(3n){
		margin:.5px 0 .5px .5px
}
	.gallery_first .left_cover img{
		display:block;
		margin:0 auto
}
	.gallery_first h1{
		margin:15px 0
}
	.g_buttons{
		text-align:center
}
	.gthumb{
		margin-bottom:9px
}
	.alert{
		margin-right:4px!important
}
	.gallery_divider{
		width:99%
}
	.comments{
		margin:0 5px 10px 0
}
	.tg{
		float:left;
		width:33.33333333%
}
}
@media (min-width:768px) and (max-width:979px){
	.gallery_th{
		width:24.2%;
		margin-top:.5px;
		margin-right:calc(1% - 5.5px);
		margin-bottom:.5px;
		margin-left:.5px
}
	.gallery_th:nth-child(4n){
		margin:.5px 0 .5px .5px
}
	.gallery_first .left_cover img{
		margin:0 5px 0 0;
		max-width:40%;
		float:left
}
	.gallery_first{
		padding:10px 0 0 0
}
	.alert{
		margin-right:5px!important
}
	.gallery_divider{
		width:99%
}
	.comments{
		margin:0 5px 10px 0
}
}
@media (min-width:980px) and (max-width:1200px){
	.gallery_th{
		width:19.2%;
		margin:.5px .5% .5px .5px
}
	.gallery_th:nth-child(4n){
		margin:.5px 0 .5px .5px
}
	.gallery_first .left_cover{
		margin:0 5px 0 0;
		max-width:31.11111111%;
		float:left
}
	.gallery_first .left_cover img{
		width:100%
}
	.gallery_first{
		padding:10px 0 0 0
}
	.alert{
		margin-right:6px!important
}
	.gallery_divider{
		width:99%
}
	.comments{
		margin:0 5px 10px 0
}
}
@media (min-width:1200px){
	#a_drop{
		display:none
}
	.navleft{
		display:block
}
	.gallery_th:nth-child(5n+5){
		margin-right:0
}
	.gallery_first .right_details{
		padding-right:0
}
}
@media (min-width:270px) and (max-width:319px){
	.gallery_first .dl_btn,.gallery_first .fav_btn{
		margin:0 5px 9px 0;
		vertical-align:top
}
	.search_mobile input[type=text]{
		max-width:47%
}
	.cat_flag .thumb_flag{
		width:34px;
		height:20px
}
	.left_cover{
		padding-right:5px;
		padding-left:5px
}
	.left_cover img{
		width:80%
}
	.gallery_first{
		padding:5px 0 0 0
}
	.right_details{
		padding-right:10px;
		padding-left:10px
}
	.right_details h1{
		margin-top:5px;
		margin-bottom:10px
}
	.gthumb img{
		padding:0
}
	.gallery_second{
		padding:14px 2px 0 2px
}
	.galleries_info .btn{
		overflow:hidden;
		max-width:290px;
		text-overflow:ellipsis
}
	#comments .reply_avatar_comment{
		width:40px;
		height:40px
}
	.gthumb{
		margin-bottom:9px
}
	.gallery_th{
		width:48.38463%;
		margin:.5px 4px .5px .5px
}
	.gallery_th:nth-child(2n){
		margin:.5px 0 .5px .5px
}
	.gallery_first .left_cover img{
		margin-bottom:0
}
	.gallery_divider{
		width:99%
}
	.container{
		margin-top:55px;
		padding:5px 5px 0 5px;
		margin-bottom:0;
}
	.thumb{
		width:81%;
		margin:.5px auto;
		display:block
}
	.thumbnail .sep{
		width:100%
}
	.gallery_first .left_cover img{
		margin:0 auto 0 auto;
		display:block
}
	.nav_pagination .nav_first,.nav_pagination .nav_last,.nav_pagination .nav_next,.nav_pagination .nav_prev{
		margin:5px
}
	.gview{
		margin:0;
		padding:0
}
	.container .imhentai{
		padding:8px 10px 10px 10px;
		font-size:18px;
		line-height:20px;
		text-align:center;
		border-radius:0;
		margin-bottom:10px;
		width:244px;
		margin:0 auto 10px auto
}
	#bar .bar_align{
		width:100%
}
	#bar .wrap{
		width:100%
}
	#bar .f_logo{
		display:none
}
	#bar h1{
		float:none;
		text-align:center;
		width:100%;
		padding:9px 0
}
	#bar .f_message{
		float:none;
		text-align:center;
		width:100%;
		padding:9px 0
}
	#footer .f_bottom{
		padding:20px 0
}
	#footer .f_bottom .bottom_align,#footer .wrap{
		width:250px
}
	#footer .f_bottom .f_row{
		width:250px;
		margin:0 0 5px 0
}
	#footer .f_bottom .second{
		width:250px
}
	#footer .f_bottom .f_row.last{
		width:250px
}
	#footer .f_bottom .line{
		width:100%;
		margin:5px 0;
		height:1px
}
	#f_contact_ul,#f_galleries_ul,#f_social_media_ul,#f_useful_links_ul,#f_partners_ul{
		display:none;
		margin-bottom:10px!important
}
	#footer .bottom_align h3{
		position:relative
}
	.f_active:after{
		top:0!important;
		transform:rotate(180deg);
		right:7px!important
}
	#f_social_media:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
	#f_galleries:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
	#f_useful_links:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
#f_partners:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
	#f_contact:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
}
@media (min-width:320px) and (max-width:480px){
	#footer .f_bottom{
		padding:20px 0
}
	#footer .f_bottom .bottom_align,#footer .wrap{
		width:95%
}
	#footer .f_bottom .f_row{
		width:100%;
		margin:0 0 5px 0
}
	#footer .f_bottom .second{
		width:100%
}
	#footer .f_bottom .f_row.last{
		width:100%
}
	#footer .f_bottom .line{
		width:100%;
		margin:5px 0;
		height:1px
}
	#f_contact_ul,#f_galleries_ul,#f_social_media_ul,#f_useful_links_ul,#f_partners_ul{
		display:none;
		margin-bottom:10px!important
}
	#footer .bottom_align h3{
		position:relative
}
	.f_active:after{
		top:0!important;
		transform:rotate(180deg);
		right:7px!important
}
	#f_social_media:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
	#f_galleries:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
	#f_useful_links:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
#f_partners:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
	#f_contact:after{
		content:'';
		background-image:url(https://imhentai.com/images/sprite-ui.png);
		background-repeat:no-repeat;
		background-size:506px;
		background-position:-392px -423px;
		height:9px;
		width:15px;
		position:absolute;
		top:5px;
		right:5px
}
.nav_first, .nav_last {
	margin:0 !important;
}
.gview {
	margin:0;
	padding:0;
}
}
@media (min-width:0px) and (max-width:922px){
	.stags .btn_az{
		margin-bottom:4px
}
}
@media screen and (max-width:900px){
	 .bix, .bcx, .btx {
		display:none!important;
	 }
}