/* since the navbar is fixed we need to add some space to the body */
body {
  padding-top: 3.8rem;
}

a.active.focus,
a.active:focus,
a.focus,
a:active.focus,
a:active:focus,
a:focus,
button.active.focus,
button.active:focus,
button.focus,
button:active.focus,
button:active:focus,
button:focus,
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: 0;
    outline-color: transparent;
    outline-width: 0;
    outline-style: none;
    box-shadow: 0 0 0 0 rgba(0,123,255,0);
}

.navbar, sidebar.navbar {
  display: -webkit-box;
  background-color: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
}

.navbar, sidebar.navbar a {
  text-decoration: none;
}

.dropdown-menu .dropdown-item {
  font-size: 1rem!important;
}

.navbar-light .nav-link a {
  color: rgba(0, 0, 0, 0.4)!important;
}

.navbar-light .nav-link a:hover {
  color: #1a1a1a!important;
}

.navbar button {
  color: rgba(0, 0, 0, 0.4)!important;
  outline: none;
}

.navbar .navbar-links {
  white-space: nowrap;
}

.navbar-toggler {
  font-size: 1.09375rem !important;
}

.buttonsearch{
	position: fixed;
	top : 1.4rem;
	float: right;
	right: 0px;
	margin-right: 10px;
	background-color: transparent;
	border: 0px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.buttonsearch:hover{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: 0px;

}
.buttonsearch:focus{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: 0px;

}

.searchbardiv{
	display: block;
	position: fixed;
	background: #fff;
	top: 3.7rem;
	right: 0px;
	z-index: 1001;
	width: 100%;
	max-width: 100%;
	padding: 10px;
	margin: 0px;
  -moz-box-shadow: 0px 1rem 1.5rem -1rem rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0px 1rem 1.5rem -1rem rgba(0, 0, 0, 0.15);
  box-shadow: 0px 1rem 1.5rem -1rem rgba(0, 0, 0, 0.15);
}

#searchform input {
  letter-spacing: 2px;
}

#searchform .input-group-btn {
  display: flex;
  vertical-align: middle;
  border: 1px solid #ccc;
}

#searchform .input-group-btn:hover {
  background-color: #fafafa;
}

#searchform .btn {
  padding: 0 2rem;
  letter-spacing: 2px;
  outline: 0;
  box-shadow: none;
}

#searchform .form-control {
  font-size: 1rem;
  background-color: #fafafa;
  color: inherit;
}

#searchform .form-control:focus {
  border: 1px solid #ccc;
}

#formsearch{
	display: none;
}
#searchbox {

	box-shadow: none;
	padding: 8px 14px;
}
#searchbox:hover {
	box-shadow: none;
}

.sidebar-hr-below {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.offcanvas-collapse {
  position: fixed;
  /* top: 4.5rem; /* Height of navbar */
  bottom: 0;
  height: 100%;
  right: 100%;
  left:-300px;
  width: 300px;
  padding-right: 1rem;
  padding-left: 1rem;
  overflow-y: auto;
  visibility: hidden;
  background-color: #fff;
  transition-timing-function: ease-in-out;
  transition-duration: .3s;
  transition-property: left, visibility;
  z-index: 1025;
}

.offcanvas-collapse {
    align-items:start;

/*   Adds a subtle drop shadow   */
  	-moz-background-clip: padding;     /* Firefox 3.6 */
		-webkit-background-clip: padding;  /* Safari 4? Chrome 6? */
		background-clip: padding-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */
  /* border-right:5px solid rgba(0, 0, 0, 0.2); */

}

/* Makes the nav visibile with the open class */
.offcanvas-collapse.open {
  left: 0;
  visibility: visible;
}


.navbar-expand-lg .offcanvas-collapse .navbar-nav {
    -ms-flex-direction: column;
    flex-direction: column;
}


.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.offcanvas-collapse::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE and Edge */
.offcanvas-collapse {
  -ms-overflow-style: none;
}


/* .navbar-links {
		position: relative;
		padding-top: 30px !important;
		max-height: 270px;
	} */
/* .navbar-links form[role="search"] {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 100%;
	padding: 0px;
	margin: 0px;
	z-index: 0;
}
.navbar-links form[role="search"] button,
.navbar-links form[role="search"] input {
	padding: 8px 12px;
	border-radius: 0px;
	border-width: 0px;
	/* color: rgb(119, 119, 119);
	background-color: rgb(248, 248, 248);
	border-color: rgb(231, 231, 231);
	box-shadow: none;
	outline: none;
}*/
.navbar-links form[role="search"] input {
	/* padding: 16px 12px; */
	/* font-size: 14pt; */
	/* font-style: italic; */
	color: rgb(160, 160, 160);
	box-shadow: none;
}
.navbar-links form[role="search"] button[type="reset"] {
	display: none;
}

.sidebar {
  font-weight: 600;
}

.sidebar #main-nav {
  margin-top: 5rem;
}

@media (min-width: 768px) { */
	.navbar-links {
		padding-top: 0px !important;
		padding-right: 38px !important;
	}
	.navbar-links form[role="search"] {
		width: 38px;
	}
	.navbar-links form[role="search"] button,
	.navbar-links form[role="search"] input {
		padding: 15px 12px;
	}
	.navbar-links form[role="search"] input {
		/* padding: 25px 12px; */
		/* font-size: 18pt; */
		opacity: 0;
		display: none;
	}
	.navbar-links form[role="search"].active {
		width: 100%;
	}
	.navbar-links form[role="search"].active button,
	.navbar-links form[role="search"].active input {
		display: table-cell;
		opacity: 1;
	}
  .navbar-links form[role="search"].active input {
		width: 100%;
	}
}
