@media only screen and (max-width: 768px) {
	#logo .wrapper {
	position: fixed;
	top: 0;
	left: 0;
	height: 50px;
    width: 100%;
	z-index: 999;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center;
	padding: 0 8px;
	background: #2f92ff;
	border-bottom: 0;
	margin: auto auto;
	-webkit-box-shadow: 0px 10px 20px -5px rgb(0 0 0 / 79%),
					 inset 0px 3px 5px rgb(255 255 255 / 45%),
					 0px -1px 8px 2px rgb(0 0 0 / 50%), inset 0px -2px 4px rgb(0 0 0 / 40%), 					  inset 0 -6px 12px rgb(255 255 255 / 20%);
    -moz-box-shadow: 0px 10px 20px -5px rgb(0 0 0 / 79%),
					 inset 0px 3px 5px rgb(255 255 255 / 45%),
					 0px -1px 8px 2px rgb(0 0 0 / 50%), inset 0px -2px 4px rgb(0 0 0 / 40%), 					  inset 0 -6px 12px rgb(255 255 255 / 20%);
	box-shadow: 0px 10px 20px -5px rgb(0 0 0 / 79%),
					 inset 0px 3px 5px rgb(255 255 255 / 45%),
					 0px -1px 8px 2px rgb(0 0 0 / 50%), inset 0px -2px 4px rgb(0 0 0 / 40%), 					  inset 0 -6px 12px rgb(255 255 255 / 20%);
}
#logo img {
    width: 90px;
}
a.logo, a.logo2 {
	margin-left: 10px;
}
a.logo, a.logo2 {
	font-family: astro;
	font-size: 22px;
	font-weight: bold;
	color: var(--black);
	text-decoration: none;
}
  #logo .menu-btn i{
    display: initial;
  color: #000;
  font-size: 20px;
	font-weight: 900;
	  transition: 1s;
  }
  #click:checked ~ .menu-btn i:before{
    content: "\f00d";
	  transition: 1s;
  }
#logo .menu-btn {
	margin-right: 28px;
}
	
#logo ul.top_links {
	font-weight: bold;
	text-align: left;
	margin: 0;
}
#header #panel .upper, #header #panel .lower{
	 	position: relative;
	 	top: 29.5px !important;
	 	z-index: 993;
	}
	
#search input.textbox{
  width: 120px;
}
 
#header ul.menu.top_links {
    position: fixed;
    height: 100%;
    width: 300px;
    top: 0;
    left: -100%;
	padding-top: 83px;
    display: block;
	box-shadow: 1px 0px 40px 1px rgba(40, 40, 40, 0.35)
   				,1px 0px 45px 0px rgba(40, 40, 40, 0.45);
    background: var(--ul-top-back);
    transition: 0.6s left ease-in-out;
    border-radius: 0 1px 0 0;
    backdrop-filter: var(--ul-top-blur);
    z-index: 9990;
	overflow: hidden;
  }
  
 #header ul.menu.top_links li {
	 width: 100%;
	 margin-top: 0;
	 margin: 0 !important;
	 border: none;
   	 display: block!important;
  	 text-align: left !important;
  }
	
	
#header ul.menu.top_links li a {
	padding: 15px 25px;
   	transition: 0.8s;
  	margin-left: -100%;
  	display: block;
  	background-image: none;
  	color: var(--ul-top-a-col);
	font-size: 14px;
  	line-height: 0px;
  	margin-top: 0;
  	margin-right: 0px;
  	text-decoration: none;
  	text-transform: capitalize;
	white-space: nowrap;
}

#click:checked ~ .menu.top_links li a {
    margin-left: 0px;
/* 	transition-delay: -4s; */
}

  #header ul.menu.top_links li a:hover {
	  background: var(--ul-top-a-hov-back);
	  color: #3989da !important;
	  border: none;
	  border-radius: 0;
	  margin-bottom: 0px;
	  overflow: hidden;
	  transition: 0s;
}
#header ul.menu.top_links li.active1{
      background: #303347 !important;
      color: #3989da !important;
    }
	
	
#header ul.menu.top_links li.active1 a{
	color: #3989da !important;
	}
#header ul.menu.top_links li a:hover i {
-webkit-animation: bcb 0.4s;
	}
	
@-webkit-keyframes bcb {
0% {
transform: scale(1);
}
100% {
transform: scale(1.4);
}
	}
	
	#header ul.menu.panel_links li a {
		background-image: none;
		margin: 0 !important;
		font-size: 17px;
	}
  #header ul.menu.user_links li a {
       font-size: 17px;
	  background-image: none;
	  color: var(--light-grey);
	}
	
	#header #panel .upper a.logout {
		background: none;
		background-image: none;
		padding: 0;
	}

#header ul.menu.top_links li.day_night a{
    display: none !important;
}

#header ul.menu.top_links li a i {
margin-right: 6px;
	transition: 0.6s all;
	}
  
    #click:checked ~ ul.menu.top_links {
      left: 0;
    }
	
  #header ul.menu.top_links .show_mobile.xlogo {
	  height: 50px;
	  width: 100%;
	  display: flex;
	  justify-content: space-around !important;
	  align-items: center;
	  background: #2f92ff;
	  position: absolute !important;
	  top: 0;
	  left: 0;
	}
	
  #header ul.menu.top_links .xlogo img {
      text-align: center;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	}

.day_night_res {
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
    -kit-appearance: none;
    appearance: none;
	}
	
	.drop {
		display: block !important;
		margin: 0 !imoprtant;
		padding: 0;
		line-height: 0px !important;
	}
.drop	.drop-down{
		position: static !important;
		top: 0 !important;
		left: 0 !important;
	  bottom: 0 !important;
		display: block !important;
		max-height: 0px !important;
		opacity: 0 !important;
		margin: 0;
		padding: 0;
		background: none !important;
		box-shadow: none !important;
    border-radius: 0px !important;
	 overflow: hidden !important;
		transition: 0.5s all ease-in-out;
	}
	
	.drop:hover > .drop-down {
		display: block !important;
		background: var(---ul-top-back) !important;
		max-height: 100% !important;
		opacity: 1 !important;
	}
	
.drop	.drop-down li {
	  position: relative;
	  display: flex !important;
    flex-direction: column;
	  margin: 0 !important;
		transition: 0.5s transform linear !important;
		transform: translateY(-100%);
   overflow: hidden !important;
	}
	
.drop	.drop-down li a {
		background: var(--ul-top-back) !important;
    background-image: none;
		padding: 13px 25px;
		margin-right: 0 !important;
	 margin-top: 0 !important;
	padding-left: 7em !important;
		color: var(--ul-top-a-col) !important;
		transition: 0.4s ease-in-out !important;
		display: inline-block;
	font-size: 11px !important;
	overflow: hidden !important;
	}
	
	.drop .drop-down li a:hover {
		background: var(--ul-top-a-hov-back) !important;
		color: #3989da !important;
		padding-left: 9.5em !important;
	}

.drop .drop-down li a.newp {
    background-image: none !important;
}

.drop .drop-down li a.todayp {
    background-image: none !important;
}

.drop .drop-down li a.readp {
    background-image: none !important;
	}

.border-dot {
    height: 2px;
    width: 100%;
    border: none !important;
	  padding: 0px !important;
    top: 0;
    background: transparent !important;
    position: relative !important;
    transform: translateY(-80%) !important;
	  transition: .7s transform linear !important;
	  overflow: hidden !important;
	}
.drop:hover .border-dot {
	transform: translateY(0) !important;
}
.border-dot span {
	height: 100%;
	width: 8px;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 0;
	left: 15px;
	background: #55d42a;
	animation: moving 2s linear infinite;
}
.border-dot span:nth-child(2) {
	animation-delay: .1s;
	background: #29e3d7;
}
.border-dot span:nth-child(3) {
	animation-delay: .2s;
	background: #ffe70f;
}
.border-dot span:nth-child(4) {
	animation-delay: .3s;
	background: #ff12a4;
}
.border-dot span:nth-child(5) {
	animation-delay: .4s;
	background: #ff7b0f;
}
@keyframes moving {
	0% {
		left: -117px;
	}
	100% {
		left: 100%;
	}
}
	
.drop.active1:hover .drop-down .border-dot.{
	    background: transparent !important;
	}
	
	.drop:hover .drop-down li{
		transform: translateY(0);
	}

.drop-down li a i {
    animation: none !important;
}

.drop .drop-down li a:hover i {
    transform: scale(1.6);
	}
	
.drop:hover .drop-icon {
transform: rotate(180deg) !important;
	}
	
	.drop .drop-icon {
 margin-left: 6em !important;
 padding-right: 0;
 padding-left: 0;
 margin-right: 0;
 padding: 0;
 font-size: 16px;
 animation: none !important;
 transition: 0.6s transform ease-in;
	}
	
	.pm_alert , .red_alert {
		
		padding: 19px 18px;
	}
	
}
@media only screen and (max-width: 380px) {
	#header ul.menu.top_links {
		width: 250px;
	}
}

@media only screen and (max-width: 768px) {
	
#search_mobile 
{
	display:inline-block !important;
}
	
#header #panel .lower {
	padding: 0px 7px;
	}
	
	#header ul.menu.panel_links li, #header ul.menu.user_links li{
		display: inline !important;
		margin: 0;
		padding: 0;
	}
	#header ul.menu.panel_links li a, #header ul.menu.user_links li a {
		padding: 7px 6px;
		margin: 0;
		color: var(--text-black);
		display: inline-block;
	}
	#header ul.menu.panel_links li a:hover i, #header ul.menu.user_links li a:hover i{
		color: #fff;
	}
	#header ul.menu.panel_links li a i,#header ul.menu.user_links li a i  {
		color: var(--black-tone);
	}
	#header ul.menu.panel_links li a.usercp:hover{
		background: #f02e82;
	}
	#header ul.menu.panel_links li a.modcp:hover {
		background: #1b9617;
	}
	#header ul.menu.panel_links li a.admincp:hover{
		background: #d92323;
	}
	#header ul.menu.user_links li a#buddylink:hover{
		background: #831da8;
	}
	#header ul.menu.user_links li a#newpost:hover{
		background: #14c729;
	}
	#header ul.menu.user_links li a#todaypost:hover{
		background: #ff33f1;
	}
	#header ul.menu.user_links li a#pm:hover{
		background: #0274ed;
	}
	/* for dark theme */
	
	#header ul.menu.panel_links li a.usercp,
	#header ul.menu.panel_links li a.modcp,
	#header ul.menu.panel_links li a.admincp,
	#header ul.menu.user_links li a#buddylink,
	#header ul.menu.user_links li a#newpost,
	#header ul.menu.user_links li a#todaypost,
	#header ul.menu.user_links li a#pm{
		background: var(--lower-bg);
	}
	/* end */
	#header ul.menu.panel_links li a.login{
		background: #d92323;
		color: var(--white);
	}
	#header #panel .upper a.logout{
		background: red;
		color: var(--white);
		padding: 6px;
	}
	#header ul.menu.panel_links li a.register {
		background: #1b9617;
		color: var(--white);
	}
#menu_desktop, .hide_mobile, .hide, .usercp_container, #threads, #views, #replies, #lastpost, #rating {
	display:none !important;
	}
	
.smalltext {
font-size: 11px;
}
.largetext {
font-size: 13px;
	}
	
	.modal {
		width: auto;
	}
}
@media screen and (max-width: 384px) and (min-width: 319px) {
	
	#info2, .show_mobile2{
	display: none !important;
    }
}
@media only screen and (max-width: 321px) {
	.smalltext{
		font-size: 9px;
	}
	.largetext{
		font-size: 11px;
		font-weight: 100;
	}
	dl.forum_legend {
		display: none;
	}
}
@media only screen and (min-width: 769px) {
.show_mobile,#info,#info2,.show_mobile {
	display:none !important;
	visibility:hidden; 
	}

#header ul.menu.top_links li a i {
display: none !important;
	}

#header ul.menu.panel_links li a i {
display: none !important;
	font-size: 16px;
	font-weight: bold;
	}

#header ul.menu.user_links li a i {
display: none !important;
	font-size: 17px !important;
	font-weight: bold;
	}
#header ul.menu.top_links li.day_night a i {
    display: block !important;
	  pointer-events: none;
	}
}
		
		
		
		
		
		
		
		
		
		
		
		