@media(min-width:50px) and (max-width:269px){
	
	#header_dtop {
		display:none;
	}
	#header_mob {
		display:flex;
		height: 95px;
		min-height: 95px;
		max-height: 95px;
		position:relative;
	}
	#header_mob .left {
		width:100%;
	}
	#header_mob .left .search {
		position: absolute;
		top: 45px;
		width: 100%;
		padding:0 10px;
	}
	#header_mob .left .search input[type="text"] {
		width: 100%;
	}
	#header_mob .left .search button {
		right: 20px;
	}
	#header_mob .right {
		align-items: flex-start;
	}
	#header_mob .right button {
		border:none;
		margin-right:0;
	}
	.main_container .main_wrap {
		max-width:100%;
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		justify-content: center;
	}
	.main_wrap .galleries_container .thumb {
		margin-right:0;
	}
	.pagination {
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pagination li {
		margin: 5px;
	}
	.main_wrap .tags_head {
		flex-direction: column;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: column;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 0 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
	}
	.main_wrap .tags_az a {
		margin:0 4px 4px 0;
	}
	.main_wrap .tags_container {
		justify-content: center;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:10px;
	}
	.main_wrap h1 {
		text-align: center;
		line-height: 32px;
	}
	.main_wrap .gallery_page .gallery_top {
		flex-direction: column;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info ul {
		flex-wrap:wrap;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .buttons_ul li {
		margin: 0 10px 10px 0;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .ri_txt_last {
		min-width: 0;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 48.3%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	.main_wrap .reader_page a {
		font-size: 14px;
	}
	.main_wrap .reader_page .reader_top, .main_wrap .reader_page .reader_bottom {
		margin: 0;
		position:relative;
	}
	.main_wrap .reader_page .reader_top .reader_pages, .main_wrap .reader_page .reader_bottom .reader_pages {
		margin-top: 35px;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.left, .main_wrap .reader_page .reader_bottom .reader_pages span.left {
		margin: 0 0 0 5px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .jump_area, .main_wrap .reader_page .reader_bottom .reader_pages .jump_area {
		margin: 0;
		position:absolute;
		top: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdp, .main_wrap .reader_page .reader_bottom .reader_pages .rdp {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdf, .main_wrap .reader_page .reader_bottom .reader_pages .rdf {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.right, .main_wrap .reader_page .reader_bottom .reader_pages span.right {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdn, .main_wrap .reader_page .reader_bottom .reader_pages .rdn {
		margin: 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .pgbtn .cr, .main_wrap .reader_page .reader_bottom .reader_pages .pgbtn .cr {
		border: none;
		padding: 0;
		background: none !important;
		margin: 0;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.login_container {
		width: 100%;
		padding: 10px 0;
	}
	.login_container h2 {
		font-size:16px;
	}
	.signup-content {
		padding:20px;
	}
	.loginhere {
		margin-top:20px;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
	}
	.main_wrap .acc_profile .ap_top {
		background: var(--profile-aptop-bg);
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom {
		flex-direction: column;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 0 15px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		width: 100%;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer .footer_wrap {
		
	}
	.footer .footer_wrap .footer_left {
		width: auto;
	}
	.footer .footer_wrap .footer_top {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.footer .footer_wrap .footer_bottom {
		flex-direction: column;
		align-items: center;
		padding: 0 10px;
	}
	.footer .footer_wrap .footer_bottom ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer .footer_wrap .footer_bottom ul li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
	.footer .footer_wrap .footer_right {
		margin-top:20px;
		width: 40%;
	}
	.footer .footer_wrap .footer_bottom .footer_right {
		width:100%;
		text-align:center;
	}
	
}

@media(min-width:270px) and (max-width:319px){
	
	#header_dtop {
		display:none;
	}
	#header_mob {
		display:flex;
		height: 95px;
		min-height: 95px;
		max-height: 95px;
		position:relative;
	}
	#header_mob .left {
		width:100%;
	}
	#header_mob .left .search {
		position: absolute;
		top: 45px;
		width: 100%;
		padding:0 10px;
	}
	#header_mob .left .search input[type="text"] {
		width: 100%;
	}
	#header_mob .left .search button {
		right: 20px;
	}
	#header_mob .right {
		align-items: flex-start;
	}
	#header_mob .right button {
		border:none;
		margin-right:0;
	}
	.main_container .main_wrap {
		max-width:100%;
	}
	.main_wrap .gallery_page {
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		justify-content: center;
	}
	.main_wrap .galleries_container .thumb {
		margin-right:0;
	}
	.pagination {
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pagination li {
		margin: 5px;
	}
	.main_wrap .tags_head {
		flex-direction: column;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: column;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 0 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
	}
	.main_wrap .tags_az a {
		margin:0 4px 4px 0;
	}
	.main_wrap .tags_container {
		justify-content: center;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:10px;
	}
	.main_wrap h1 {
		text-align: center;
		line-height: 32px;
	}
	.main_wrap .gallery_page .gallery_top {
		flex-direction: column;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info ul {
		flex-wrap:wrap;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .buttons_ul li {
		margin: 0 10px 10px 0;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .ri_txt_last {
		min-width: 0;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 48.3%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	.main_wrap .reader_page a {
		font-size: 14px;
	}
	.main_wrap .reader_page .reader_top, .main_wrap .reader_page .reader_bottom {
		margin: 0;
		position:relative;
	}
	.main_wrap .reader_page .reader_top .reader_pages, .main_wrap .reader_page .reader_bottom .reader_pages {
		margin-top: 35px;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.left, .main_wrap .reader_page .reader_bottom .reader_pages span.left {
		margin: 0 0 0 5px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .jump_area, .main_wrap .reader_page .reader_bottom .reader_pages .jump_area {
		margin: 0;
		position:absolute;
		top: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdp, .main_wrap .reader_page .reader_bottom .reader_pages .rdp {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdf, .main_wrap .reader_page .reader_bottom .reader_pages .rdf {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.right, .main_wrap .reader_page .reader_bottom .reader_pages span.right {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdn, .main_wrap .reader_page .reader_bottom .reader_pages .rdn {
		margin: 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .pgbtn .cr, .main_wrap .reader_page .reader_bottom .reader_pages .pgbtn .cr {
		border: none;
		padding: 0;
		background: none !important;
		margin: 0;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.login_container {
		width: 100%;
		padding: 10px 0;
	}
	.login_container h2 {
		font-size:18px;
	}
	.signup-content {
		padding:20px;
	}
	.loginhere {
		margin-top:20px;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
		padding:0 10px;
	}
	.main_wrap .acc_profile .ap_top {
		background: var(--profile-aptop-bg);
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom {
		flex-direction: column;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 0 15px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		width: 100%;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer .footer_wrap {
		
	}
	.footer .footer_wrap .footer_left {
		width: auto;
	}
	.footer .footer_wrap .footer_top {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.footer .footer_wrap .footer_bottom {
		flex-direction: column;
		align-items: center;
		padding: 0 10px;
	}
	.footer .footer_wrap .footer_bottom ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer .footer_wrap .footer_bottom ul li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
	.footer .footer_wrap .footer_right {
		margin-top:20px;
		width: 40%;
	}
	.footer .footer_wrap .footer_bottom .footer_right {
		width:100%;
		text-align:center;
	}
	
}

@media(min-width:320px) and (max-width:359px){
	
	#header_dtop {
		display:none;
	}
	#header_mob {
		display:flex;
		height: 95px;
		min-height: 95px;
		max-height: 95px;
		position:relative;
	}
	#header_mob .left {
		width:100%;
	}
	#header_mob .left .search {
		position: absolute;
		top: 45px;
		width: 100%;
		padding:0 10px;
	}
	#header_mob .left .search input[type="text"] {
		width: 100%;
	}
	#header_mob .left .search button {
		right: 20px;
	}
	#header_mob .right {
		align-items: flex-start;
	}
	#header_mob .right button {
		border:none;
		margin-right:0;
	}
	.main_container .main_wrap {
		max-width:100%;
	}
	.main_wrap .gallery_page {
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		padding:0 10px;
		justify-content: space-between;
	}
	.main_wrap .galleries_container .thumb {
		margin: 0 0 10px;
		width: 49%;
	}
	.pagination {
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pagination li {
		margin: 5px;
	}
	.main_wrap .tags_head {
		flex-direction: column;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: column;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 0 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
	}
	.main_wrap .tags_az a {
		margin:0 4px 4px 0;
	}
	.main_wrap .tags_container {
		justify-content: space-between;
		padding:0 10px;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:10px;
		width:49.2%;
	}
	.main_wrap h1 {
		text-align: center;
		line-height: 32px;
	}
	.main_wrap .gallery_page .gallery_top {
		flex-direction: column;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
		margin: 0 0 20px 0;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info ul {
		flex-wrap:wrap;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .buttons_ul li {
		margin: 0 10px 10px 0;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .ri_txt_last {
		min-width: 0;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 49.2%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	.main_wrap .reader_page a {
		font-size: 14px;
	}
	.main_wrap .reader_page .reader_top, .main_wrap .reader_page .reader_bottom {
		margin: 0;
		position:relative;
	}
	.main_wrap .reader_page .reader_top .reader_pages, .main_wrap .reader_page .reader_bottom .reader_pages {
		margin-top: 35px;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.left, .main_wrap .reader_page .reader_bottom .reader_pages span.left {
		margin: 0 0 0 5px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .jump_area, .main_wrap .reader_page .reader_bottom .reader_pages .jump_area {
		margin: 0;
		position:absolute;
		top: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdp, .main_wrap .reader_page .reader_bottom .reader_pages .rdp {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdf, .main_wrap .reader_page .reader_bottom .reader_pages .rdf {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.right, .main_wrap .reader_page .reader_bottom .reader_pages span.right {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdn, .main_wrap .reader_page .reader_bottom .reader_pages .rdn {
		margin: 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .pgbtn .cr, .main_wrap .reader_page .reader_bottom .reader_pages .pgbtn .cr {
		border: none;
		padding: 0;
		background: none !important;
		margin: 0;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.login_container {
		width: 100%;
		padding: 10px 0;
	}
	.login_container h2 {
		font-size:22px;
	}
	.signup-content {
		padding:20px;
	}
	.loginhere {
		margin-top:20px;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
		padding:0 10px;
	}
	.main_wrap .acc_profile .ap_top {
		background: var(--profile-aptop-bg);
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom {
		flex-direction: column;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 0 15px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		width: 100%;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer .footer_wrap {
		
	}
	.footer .footer_wrap .footer_left {
		width: auto;
	}
	.footer .footer_wrap .footer_top {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.footer .footer_wrap .footer_bottom {
		flex-direction: column;
		align-items: center;
		padding: 0 10px;
	}
	.footer .footer_wrap .footer_bottom ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer .footer_wrap .footer_bottom ul li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
	.footer .footer_wrap .footer_right {
		margin-top:20px;
		width: 40%;
	}
	.footer .footer_wrap .footer_bottom .footer_right {
		width:100%;
		text-align:center;
	}
	
}

@media(min-width:360px) and (max-width:479px){
	
	#header_dtop {
		display:none;
	}
	#header_mob {
		display:flex;
		height: 95px;
		min-height: 95px;
		max-height: 95px;
		position:relative;
	}
	#header_mob .left {
		width:100%;
	}
	#header_mob .left .search {
		position: absolute;
		top: 45px;
		width: 100%;
		padding:0 10px;
	}
	#header_mob .left .search input[type="text"] {
		width: 100%;
	}
	#header_mob .left .search button {
		right: 20px;
	}
	#header_mob .right {
		align-items: flex-start;
	}
	#header_mob .right button {
		border:none;
		margin-right:0;
	}
	.main_container .main_wrap {
		max-width:100%;
	}
	.main_wrap .gallery_page {
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		padding:0 10px;
		justify-content: space-between;
	}
	.main_wrap .galleries_container .thumb {
		margin: 0 0 10px;
		width: 49%;
	}
	.pagination {
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pagination li {
		margin: 5px;
	}
	.main_wrap .tags_head {
		flex-direction: column;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: row;
		justify-content: center;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 10px 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
	}
	.main_wrap .tags_az a {
		margin:0 4px 4px 0;
	}
	.main_wrap .tags_container {
		justify-content: space-between;
		padding: 0 10px;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:10px;
		width:49.2%;
	}
	.main_wrap h1 {
		text-align: center;
		line-height: 32px;
	}
	.main_wrap .gallery_page .gallery_top {
		flex-direction: column;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
		margin: 0 auto 20px auto;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info ul {
		flex-wrap:wrap;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .buttons_ul li {
		margin: 0 10px 10px 0;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .ri_txt_last {
		min-width: 0;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 49.2%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	.main_wrap .reader_page a {
		font-size: 14px;
	}
	.main_wrap .reader_page .reader_top, .main_wrap .reader_page .reader_bottom {
		margin: 0;
		position:relative;
	}
	.main_wrap .reader_page .reader_top .reader_pages, .main_wrap .reader_page .reader_bottom .reader_pages {
		margin-top: 35px;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.left, .main_wrap .reader_page .reader_bottom .reader_pages span.left {
		margin: 0 0 0 5px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .jump_area, .main_wrap .reader_page .reader_bottom .reader_pages .jump_area {
		margin: 0;
		position:absolute;
		top: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdp, .main_wrap .reader_page .reader_bottom .reader_pages .rdp {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdf, .main_wrap .reader_page .reader_bottom .reader_pages .rdf {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.right, .main_wrap .reader_page .reader_bottom .reader_pages span.right {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdn, .main_wrap .reader_page .reader_bottom .reader_pages .rdn {
		margin: 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .pgbtn .cr, .main_wrap .reader_page .reader_bottom .reader_pages .pgbtn .cr {
		border: none;
		padding: 0;
		background: none !important;
		margin: 0;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.login_container {
		width: 100%;
		padding: 10px 0;
	}
	.login_container h2 {
		font-size:22px;
	}
	.signup-content {
		padding:20px;
	}
	.loginhere {
		margin-top:20px;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
		padding:0 10px;
	}
	.main_wrap .acc_profile .ap_top {
		background: var(--profile-aptop-bg);
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom {
		flex-direction: column;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 0 15px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		max-width: 310px;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer .footer_wrap {
		
	}
	.footer .footer_wrap .footer_left {
		width: auto;
	}
	.footer .footer_wrap .footer_top {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.footer .footer_wrap .footer_bottom {
		flex-direction: column;
		align-items: center;
		padding: 0 10px;
	}
	.footer .footer_wrap .footer_bottom ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer .footer_wrap .footer_bottom ul li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
	.footer .footer_wrap .footer_right {
		margin-top:20px;
		width: 40%;
	}
	.footer .footer_wrap .footer_bottom .footer_right {
		width:100%;
		text-align:center;
	}
	
}

@media(min-width:480px) and (max-width:499px){
	
	#header_dtop {
		display:none;
	}
	#header_mob {
		display:flex;
		height: 95px;
		min-height: 95px;
		max-height: 95px;
		position:relative;
	}
	#header_mob .left {
		width:100%;
	}
	#header_mob .left .search {
		position: absolute;
		top: 45px;
		width: 100%;
		padding:0 10px;
	}
	#header_mob .left .search input[type="text"] {
		width: 100%;
	}
	#header_mob .left .search button {
		right: 20px;
	}
	#header_mob .right {
		align-items: flex-start;
	}
	#header_mob .right button {
		border:none;
		margin-right:0;
	}
	.main_container .main_wrap {
		max-width:100%;
	}
	.main_wrap .gallery_page {
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		justify-content: space-evenly;
	}
	.main_wrap .galleries_container .thumb {
		margin: 0 0 10px;
		width: 50%;
	}
	.pagination {
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pagination li {
		margin: 5px;
	}
	.main_wrap .tags_head {
		flex-direction: column;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: row;
		justify-content: center;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 10px 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
	}
	.main_wrap .tags_az a {
		margin:0 4px 4px 0;
	}
	.main_wrap .tags_container {
		justify-content: space-around;
		padding: 0 10px;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:10px;
		width:49.2%;
	}
	.main_wrap h1 {
		text-align: center;
		line-height: 32px;
	}
	.main_wrap .gallery_page .gallery_top {
		flex-direction: column;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
		margin: 0 auto 20px auto;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info ul {
		flex-wrap:wrap;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .buttons_ul li {
		margin: 0 10px 10px 0;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .ri_txt_last {
		min-width: 0;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 32.7%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	.main_wrap .reader_page a {
		font-size: 14px;
	}
	.main_wrap .reader_page .reader_top, .main_wrap .reader_page .reader_bottom {
		margin: 0;
		position:relative;
	}
	.main_wrap .reader_page .reader_top .reader_pages, .main_wrap .reader_page .reader_bottom .reader_pages {
		margin-top: 35px;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.left, .main_wrap .reader_page .reader_bottom .reader_pages span.left {
		margin: 0 0 0 5px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .jump_area, .main_wrap .reader_page .reader_bottom .reader_pages .jump_area {
		margin: 0;
		position:absolute;
		top: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdp, .main_wrap .reader_page .reader_bottom .reader_pages .rdp {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdf, .main_wrap .reader_page .reader_bottom .reader_pages .rdf {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.right, .main_wrap .reader_page .reader_bottom .reader_pages span.right {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdn, .main_wrap .reader_page .reader_bottom .reader_pages .rdn {
		margin: 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .pgbtn .cr, .main_wrap .reader_page .reader_bottom .reader_pages .pgbtn .cr {
		border: none;
		padding: 0;
		background: none !important;
		margin: 0;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.login_container {
		width: 100%;
		padding: 10px 0;
	}
	.login_container h2 {
		font-size:22px;
	}
	.signup-content {
		padding:20px;
	}
	.loginhere {
		margin-top:20px;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
		padding:0 10px;
	}
	.main_wrap .acc_profile .ap_top {
		background: var(--profile-aptop-bg);
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom {
		flex-direction: column;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 0 15px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		max-width: 310px;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer .footer_wrap {
		
	}
	.footer .footer_wrap .footer_left {
		width: auto;
	}
	.footer .footer_wrap .footer_top {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.footer .footer_wrap .footer_bottom {
		flex-direction: column;
		align-items: center;
		padding: 0 10px;
	}
	.footer .footer_wrap .footer_bottom ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer .footer_wrap .footer_bottom ul li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
	.footer .footer_wrap .footer_right {
		margin-top:20px;
		width: 40%;
	}
	.footer .footer_wrap .footer_bottom .footer_right {
		width:100%;
		text-align:center;
	}
	
}

@media(min-width:500px) and (max-width:649px){
	
	#header_dtop {
		display:none;
	}
	#header_mob {
		display:flex;
		height: 95px;
		min-height: 95px;
		max-height: 95px;
		position:relative;
	}
	#header_mob .left {
		width:100%;
	}
	#header_mob .left .search {
		position: absolute;
		top: 45px;
		width: 100%;
		padding:0 10px;
	}
	#header_mob .left .search input[type="text"] {
		width: 100%;
	}
	#header_mob .left .search button {
		right: 20px;
	}
	#header_mob .right {
		align-items: flex-start;
	}
	#header_mob .right button {
		border:none;
		margin-right:0;
	}
	.main_container .main_wrap {
		max-width:100%;
	}
	.main_wrap .gallery_page {
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		justify-content: space-evenly;
	}
	.main_wrap .galleries_container .thumb {
		margin: 0 0 25px;
		width: 31.5%;
	}
	.pagination {
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pagination li {
		margin: 5px;
	}
	.main_wrap .tags_head {
		padding: 0 15px;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: row;
		justify-content: center;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 10px 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
		padding:0 15px;
	}
	.main_wrap .tags_az a {
		margin:0 4px 4px 0;
	}
	.main_wrap .tags_container {
		justify-content: space-around;
		padding: 0 10px;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:10px;
		width:30%;
	}
	.main_wrap h1 {
		text-align: center;
		line-height: 32px;
	}
	.main_wrap .gallery_page .gallery_top {
		flex-direction: column;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
		margin: 0 auto 20px auto;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info ul {
		flex-wrap:wrap;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .buttons_ul li {
		margin: 0 10px 10px 0;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .ri_txt_last {
		min-width: 0;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 32.7%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	.main_wrap .reader_page a {
		font-size: 14px;
	}
	.main_wrap .reader_page .reader_top, .main_wrap .reader_page .reader_bottom {
		margin: 0;
		position:relative;
	}
	.main_wrap .reader_page .reader_top .reader_pages, .main_wrap .reader_page .reader_bottom .reader_pages {
		margin: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.left, .main_wrap .reader_page .reader_bottom .reader_pages span.left {
		margin: 0 0 0 5px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .jump_area, .main_wrap .reader_page .reader_bottom .reader_pages .jump_area {
		margin: 0 10px;
		top: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdp, .main_wrap .reader_page .reader_bottom .reader_pages .rdp {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdf, .main_wrap .reader_page .reader_bottom .reader_pages .rdf {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.right, .main_wrap .reader_page .reader_bottom .reader_pages span.right {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdn, .main_wrap .reader_page .reader_bottom .reader_pages .rdn {
		margin: 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .pgbtn .cr, .main_wrap .reader_page .reader_bottom .reader_pages .pgbtn .cr {
		border: none;
		padding: 0;
		background: none !important;
		margin: 0;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.login_container {
		width:100%;
		max-width:600px;
		padding: 10px 0;
	}
	.login_container h2 {
		font-size:22px;
	}
	.signup-content {
		padding:20px;
	}
	.loginhere {
		margin-top:20px;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
		padding:0 10px;
	}
	.main_wrap .acc_profile .ap_top {
		background: var(--profile-aptop-bg);
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom {
		flex-direction: column;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 0 15px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		max-width: 310px;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer .footer_wrap {
		
	}
	.footer .footer_wrap .footer_left {
		width: auto;
	}
	.footer .footer_wrap .footer_top {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.footer .footer_wrap .footer_bottom {
		flex-direction: column;
		align-items: center;
		padding: 0 10px;
	}
	.footer .footer_wrap .footer_bottom ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer .footer_wrap .footer_bottom ul li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
	.footer .footer_wrap .footer_right {
		margin-top:20px;
		width: 40%;
	}
	.footer .footer_wrap .footer_bottom .footer_right {
		width:100%;
		text-align:center;
	}
	
	
}

@media(min-width:650px) and (max-width:959px){
	
	#header_dtop {
		display:none;
	}
	#header_mob {
		display:flex;
		height: 95px;
		min-height: 95px;
		max-height: 95px;
		position:relative;
	}
	#header_mob .left {
		width:100%;
	}
	#header_mob .left .search {
		position: absolute;
		top: 45px;
		width: 100%;
		padding:0 10px;
	}
	#header_mob .left .search input[type="text"] {
		width: 100%;
	}
	#header_mob .left .search button {
		right: 20px;
	}
	#header_mob .right {
		align-items: flex-start;
	}
	#header_mob .right button {
		border:none;
		margin-right:0;
	}
	.main_container .main_wrap {
		max-width:100%;
	}
	.main_wrap .gallery_page {
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		justify-content: space-evenly;
	}
	.main_wrap .galleries_container .thumb {
		margin: 0 0 25px;
		width: 31.5%;
	}
	.pagination {
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pagination li {
		margin: 5px;
	}
	.main_wrap .tags_head {
		padding: 0 15px;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: row;
		justify-content: center;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 10px 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
		padding:0 15px;
	}
	.main_wrap .tags_az a {
		margin:0 4px 4px 0;
	}
	.main_wrap .tags_container {
		justify-content: space-around;
		padding: 0 10px;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:10px;
		width:23%;
	}
	.main_wrap h1 {
		text-align: center;
		line-height: 32px;
	}
	.main_wrap .gallery_page .gallery_top {
		flex-direction: column;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
		margin: 0 auto 20px auto;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
		max-width:350px;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .buttons_ul {
		flex-wrap: wrap;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .buttons_ul li {
		margin: 0 10px 10px 0;
	}
	.main_wrap .gallery_page .gallery_top .gt_right .gt_right_info .ri_txt_last {
		margin: 0;
		min-width:0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 19.5%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	.main_wrap .reader_page a {
		font-size: 14px;
	}
	.main_wrap .reader_page .reader_top, .main_wrap .reader_page .reader_bottom {
		margin: 0;
		position:relative;
	}
	.main_wrap .reader_page .reader_top .reader_pages, .main_wrap .reader_page .reader_bottom .reader_pages {
		margin: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.left, .main_wrap .reader_page .reader_bottom .reader_pages span.left {
		margin: 0 0 0 5px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .jump_area, .main_wrap .reader_page .reader_bottom .reader_pages .jump_area {
		margin: 0 10px;
		top: 10px;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdp, .main_wrap .reader_page .reader_bottom .reader_pages .rdp {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdf, .main_wrap .reader_page .reader_bottom .reader_pages .rdf {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages span.right, .main_wrap .reader_page .reader_bottom .reader_pages span.right {
		margin: 0 5px 0 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .rdn, .main_wrap .reader_page .reader_bottom .reader_pages .rdn {
		margin: 0;
	}
	.main_wrap .reader_page .reader_top .reader_pages .pgbtn .cr, .main_wrap .reader_page .reader_bottom .reader_pages .pgbtn .cr {
		border: none;
		padding: 0;
		background: none !important;
		margin: 0;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.login_container {
		width:100%;
		max-width:600px;
		padding: 10px 0;
	}
	.login_container h2 {
		font-size:22px;
	}
	.signup-content {
		padding:20px;
	}
	.loginhere {
		margin-top:20px;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
		padding:0 10px;
	}
	.main_wrap .acc_profile .ap_top {
		background: var(--profile-aptop-bg);
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom {
		flex-direction: column;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 0 15px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		max-width: 310px;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer .footer_wrap {
		
	}
	.footer .footer_wrap .footer_left {
		width: auto;
	}
	.footer .footer_wrap .footer_top {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.footer .footer_wrap .footer_bottom {
		flex-direction: column;
		align-items: center;
		padding: 0 10px;
	}
	.footer .footer_wrap .footer_bottom ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer .footer_wrap .footer_bottom ul li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
	.footer .footer_wrap .footer_right {
		margin-top:20px;
		width: 40%;
	}
	.footer .footer_wrap .footer_bottom .footer_right {
		width:100%;
		text-align:center;
	}
	
	
}

@media(min-width:960px) and (max-width:979px){
	
	#header_dtop {
		padding:0 15px;
	}
	.header_top .header_wrap .header_top_left {
		width: 160px;
	}
	.header_top .header_wrap .header_top_middle {
		width: 100%;
	}
	.header_top .header_wrap .header_top_right {
		display: flex;
		align-items: center;
		width: 160px;
	}
	.header_top .header_wrap .header_top_right.logged_in_right {
		width: 210px;
	}
	.header_bottom .header_wrap .header_bottom_right {
		width: 90px;
	}
	.main_container .main_wrap {
		max-width:100%;
	}
	.main_wrap .gallery_page {
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		justify-content: space-evenly;
	}
	.main_wrap .galleries_container .thumb {
		margin: 0 0 25px;
		width: 19.5%;
	}
	.pagination {
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pagination li {
		margin: 3px;
	}
	.main_wrap .tags_head {
		padding:0 15px;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: row;
		justify-content: center;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 10px 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
		padding:0 15px;
	}
	.main_wrap .tags_az a {
		margin:0 4px 4px 0;
	}
	.main_wrap .tags_container {
		justify-content: space-around;
		padding: 0 10px;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:10px;
		width:23.5%;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
		margin: 0 10px 0 0;
		max-width:260px;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
		max-width:260px;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 19.5%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
		padding:0 10px;
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 10px 0 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		max-width: 310px;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer {
		padding: 0 15px;
	}
	.footer .footer_wrap .footer_top, .footer .footer_wrap .footer_bottom {
		justify-content: space-between;
	}
	.footer .footer_wrap .footer_right {
		width:105px;
	}
	
}

@media(min-width:980px) and (max-width:1179px){
	
	#header_dtop {
		padding:0 15px;
	}
	.header_top .header_wrap .header_top_left {
		width: 160px;
	}
	.header_top .header_wrap .header_top_middle {
		width: 100%;
	}
	.header_top .header_wrap .header_top_right {
		display: flex;
		align-items: center;
		width: 160px;
	}
	.header_top .header_wrap .header_top_right.logged_in_right {
		width: 195px;
	}
	.header_bottom .header_wrap .header_bottom_right {
		width: 90px;
	}
	.main_container .main_wrap {
		max-width:100%;
	}
	.main_wrap .gallery_page {
		padding:0 10px;
	}
	.main_wrap h2 {
		text-align:center;
	}
	.main_wrap .galleries_container {
		justify-content: space-evenly;
	}
	.main_wrap .galleries_container .thumb {
		margin: 0 0 25px;
		width: 19%;
	}
	.main_wrap .tags_head {
		padding:0 15px;
	}
	.main_wrap .tags_head .th_right {
		flex-direction: row;
		justify-content: center;
	}
	.main_wrap .tags_head .th_right a {
		margin: 0 10px 10px 0;
	}
	.main_wrap .tags_az {
		flex-wrap: wrap;
		padding:0 15px;
	}
	.main_wrap .tags_container {
		justify-content: space-around;
		padding: 0 10px;
	}
	.main_wrap .tags_container .tag {
		margin-right:0;
		margin-bottom:20px;
		width:18.5%;
	}
	.main_wrap .gallery_page .gallery_top .gt_left {
		width:100%;
		margin: 0 20px 20px 0;
		max-width:320px;
	}
	.main_wrap .gallery_page .gallery_top .gt_left .gt_cover {
		width:100%;
		max-width:320px;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container {
		justify-content: space-between;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb {
		width: 19.5%;
		margin: 0;
	}
	.main_wrap .gallery_page .gallery_bottom #thumbs_container .gb_thumb:nth-child(5n+5) {
		margin-right:0;
	}
	.main_wrap .gallery_page .gallery_bottom .more_btns {
		margin-top: 20px;
	}
	#fimg {
		max-width: 100%!important;
		height: auto!important;
	}
	.main_wrap .acc_profile {
		margin-top:80px;
		min-height: auto;
		padding:0 10px;
	}
	.main_wrap .acc_profile .ap_top .profile_photo {
		left: 25px;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns {
		flex-wrap: wrap;
	}
	.main_wrap .acc_profile .ap_top .profile_info .prf_btns a {
		margin:0 10px 10px 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_left {
		width: 100%;
		margin:0 10px 0 0;
	}
	.main_wrap .acc_profile .ap_bottom .ap_btm_right {
		width: 100%;
	}
	.fstElement {
		max-width: 310px;
	}
	.acc_profile .blacklist ul li {
		padding: 0 10px;
	}
	.footer {
		padding: 0 15px;
	}
	.footer .footer_wrap .footer_top, .footer .footer_wrap .footer_bottom {
		justify-content: space-between;
	}
	.footer .footer_wrap .footer_right {
		width:105px;
	}
	
}