/*!
Theme Name: Everest Today Theme
Theme URI: https://ktmlabs.com/
Author: KTM Labs
Author URI: https://ktmlabs.com/
Description: Manipal Pokhara Education Portfolio site
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gafencu-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Gafencu theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.search {
	/*position: relative;*/
}

.search-result {
	position: absolute;
	top: 40px;
	left: 1px;
	max-height: 150px;
	width: 100%;
	background-color: #fff;
	overflow-y: scroll;
	overflow-x: hidden;
	    font-size: 1.5rem;
    padding: 0 1rem;
}
.search-result::-webkit-scrollbar {
	width: 5px;
}
.search-result::-webkit-scrollbar-track {
  background: #888; 
}
.search-result::-webkit-scrollbar-thumb {
  background: #333; 
}

.search-result__item {
	border-bottom: 1px solid #f3f3f3;
	padding: 1rem 0;
}

.search-result__item a p {
	margin:0; 
}

.sidebar-list--home .sidebar-list__item:last-child {
	padding-bottom: 20px;
	border-bottom: 1px solid #c5c5c5;
}

.page-not-found {
	height: calc(100vh - 30vh - 154px);
	display: flex;
    align-items: center;
    justify-content: center;
}
body.admin-bar .page-not-found {
	height: calc(100vh - 30vh - 186px);
}

.invalid-comment {
	border-color: red;
}
.comment-error {
	color: orangered;
    font-size: 14px;
    position: absolute;
    bottom: -18px;
    left: 5px;
}

.search-wrapper{
		position: relative;
		
	}

.search-close {
	display: none;
}

@media (max-width: 767px) {
	/*.row--header .header-right .search.search-mobile form input {
		display: none;
	}*/

	.row--header .header-right .search.search-mobile {
		position: fixed;
		background-color: rgba(0,0,0,.95);
		top: 0;
		left: 0;
		height: 100vh;
		width: 100vw;
	}

	.row--header .header-right .search.search-mobile form i {
		display: none;
	}

	.row--header .header-right .search.search-mobile form input {
		visibility: visible;
		display: block;
	    width: 100%;
	    margin: 0 auto;
	    background-color: transparent;
	    border-bottom-color:#fff;
	    color: #fff;
	 }

	.row--header .header-right .search.search-mobile .search-wrapper{
		width: 80%;
	    margin: 0 auto;
	    margin-top: 20rem;
	}

	.row--header .header-right .search.search-mobile .search-close {
		display: block;
		position: absolute;
		top: 1rem;
	    right: 3rem;
	    font-size: 3rem;
	    color: #fff;
	    font-style: normal;
	    font-weight: bold;
	    font-family: sans-serif;
	   cursor: pointer;
	}
}

.btn-mobile{
	display: none;
  }
  
  @media (max-width:767px){
	.overlay-container{
	  display:none;
	} 
  
	.btn-mobile{
	  display: block;
	  border-radius: 20px;
	  border: 1px solid #5f5f5f;
	  background-color: #5f5f5f;
	  color: #FFFFFF;
	  font-size: 12px;
	  font-weight: bold;
	  padding: 12px 45px;
	  letter-spacing: 1px;
	  text-transform: uppercase;
	  transition: -webkit-transform 80ms ease-in;
	  transition: transform 80ms ease-in;
	  transition: transform 80ms ease-in, -webkit-transform 80ms ease-in;
  
	  
	}

	.container .form-container.mobile-zindex{
		z-index:99;
		opacity: 1;
	}  

	.modal-content{
	  width: 100%;
	}
  
	.container .form-container{
	  width: 100%;
	}
  
	.container .form-container form{
	  padding: 0 1rem;
	}
  
  
  }

.aligncenter {
	text-align: center !important;
}

.single-post .article-body article figure {
    width: 100% !important;
    text-align: center !important;
}
.article-body article .article-image{
	height:auto;
}

.article-body article .article-image img{
	object-fit:contain;
}

.article-body article h3{
	font-size:20px;
	font-weight: bold;
	color:#5f5f5f;
}

.article-body article h2{
	font-size:28px;
	font-weight: bold;
	color:#5f5f5f;
}

.nav-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 100%;
	z-index: 9999999;
	left: -100%;
	right: 0;
	-webkit-transition: all 350ms ease;
	transition: all 350ms ease;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
  }
  
  .nav-drawer__menu {
	background: #fff;
	width: 70%;
	height: 100%;
	padding: 1rem 2rem;
	-webkit-transition: all 350ms ease;
	transition: all 350ms ease;
	z-index: 99999999999;
  }
  
  .nav-drawer__menu li:not(:last-child) {
	margin-bottom: 2rem;
  }
  
  .nav-drawer__menu li a {
	color: #434343;
	cursor: pointer;
	z-index: 999999;
	position: relative;
  }
  
  .nav-drawer__menu .navbar-brand {
	margin-bottom: 2rem;
  }
  
  .nav-drawer__menu .navbar-brand img {
	height: 4rem;
  }
  
  .nav-drawer .outer-menu {
	width: 30%;
	background: rgba(0, 0, 0, 0.8);
	height: 100%;
  }
  
  .nav-drawer-active {
	left: 0;
  }

.article-author-meta {
	display: flex;
	margin-top: 7px;
	align-items: center;
}

.article-author-meta span {
	font-size: 16px;
}

.article-author-meta .author-image {
	height: 32px;
	width: 32px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 5px;
}

.article-author-meta .author-image img {
	object-fit: cover;
	object-position: center;
	height: 100%;
	width: 100%;
}

.sub-banner .section__container--article .article-content h2 {
	margin-bottom: 0;
}