body {
	font-family: basier-square, Helvetica, sans-serif;
	line-height: 1.75;
	font-size: 1rem;
	letter-spacing: 0.04em;
	margin: 0;
}

a {
	color: #343a40;
}

input {
    border-color: #cecece;
    border-width: 1px;
    border-style: solid;
}

input:focus{
	outline: none;
}

a:hover {
	color: #28a745;
	text-decoration: none;
}

.article {
	max-width: 800px;
	margin: auto;
}

img {
	max-width: 100%;
	margin: 1em 0;
}

.tags a {
	color: #333;
	background-color: #ddd;
	border-radius: 5px;
	font-size: 1rem;
}

.tags a:hover {
	color: #333;
	background-color: #ddd;
	border-radius: 5px;
	text-decoration: none;
}

.codehilite {
	padding: 0.1em 0.1em 0.1em;
	border-radius: 10px;
	background: #eee;
	margin-bottom: 1em;
	position: relative;
	padding-bottom: 1rem;
}

/* p code {
	background: #ddd;
	display: inline;
	padding: 0.3em 0.5em;
	border-radius: 5px;
	color: #333;
} */

.codehilite .copy-btn {
	color: #333;
	position: absolute;
	/* top: 0;
	right: 0; */
	bottom: 0;
	right: 0;
	margin-bottom: .2rem;
	margin-right: .5rem;
	border-radius: 5px;
	border: 2px solid #ddd6d6;
	font-size: 0.7rem;
}

.codehilite .copy-btn:hover {
	background-color: #28a745;
	color: #fff;
}

.codehilite .copy-btn:active {
	opacity: 0.7;
}

.search {
	padding-left: 30px;
	display: flex;
	align-items: center;
}

.search-bar {
	flex: 1;
	height: 40px;
	padding-left: 10px;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(192, 192, 192);
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	box-shadow: inset 1px 2px 3px rgb(0, 0, 0, 0.05);
}

.search-bar::placeholder {
	font-size: 1rem;
}

.search-button {
	height: 40px;
	width: 60px;
	background-color: rgb(240, 240, 240);
	border-width: 1px;
	border-style: solid;
	border-color: rgb(192, 192, 192);
	margin-left: -1px;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}

.search-icon {
	height: 25px;
	margin-top: 6px;
}

.all-container {
	height: 100vh;
	display: flex;
	flex-direction: column;
}

.main-footer-container {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.main-container {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.main {
	flex-grow: 1;
}

/* footer {
	background-color: #f8f9fa;
	padding: 20px 0;
	text-align: center;
	font-size: small;
	color: #6c757d;
	margin-top: 20px;
} */
.back-button {
	cursor: pointer;
	display: flex;
	justify-content: flex-end;
	padding-right: 20px;
}

.pagination-container {
	padding-top: 20px;
	display: flex;
	justify-content: center;
}

.pagination-container a {
	margin-left: 5px;
	margin-right: 5px;
}

.pagination-container .btn-info {
	background-color: #28a745;
}

.pagination-container .btn-outline-info {
	color: #28a745;
	border-color: #28a745;
}

.pagination-container .btn-outline-info:hover {
	background-color: #28a745;
	color: #fff;
}

.site-head {
	color: #28a745; 
}
.card-title {
	margin-bottom: 0.3rem;
}
.card-text {
	font-size: small;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0.5rem;
}

.allauth-container {
	min-height: 77vh;
    display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 10px;
}

.allauth-container form {
	width: 50%;
}

.allauth-container form p {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.allauth-container form p input {
	min-width: 80%;
}

.errorlist {
	margin-left: -30px;
	color: red;
}

p:has(> #id_password1) + ul {
	margin-left: -30px;
}

.allauth-container form ul {
	list-style-type: none;
	font-size: x-small;
}

.allauth-container form p span {
	font-size: small;
}

.allauth-container form button {
    color: #fff;
    background-color: #28a745;
	border: none;
    outline: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
}

.allauth-container form button:hover {
	background-color: #1a6e2e;
	transition: 0.7s;
}

.allauth-container form button:active {
	background-color: #1a6e2e;
	box-shadow: 0 0 0 3px #6eeec8;
	transition: 0.7s;
}

.author {
	padding-left: 2%;
	min-width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.author-profile {
	display: flex;
	align-items: center;
	gap: 10px;
}

.main-sidebar-container {
	display: flex;
}

.sidebar {
	border-left: 1px solid rgb(240, 243, 240);
	padding-left: 50px;
}

.back-button {
	cursor: pointer;
	display: flex;
	justify-content: flex-end;
	padding-right: 20px;
}

.back-button img {
	backdrop-filter: brightness(300%);
	border-radius: 8px;
}

#div_id_profile_pic {
	position: relative;
	overflow: hidden;
	margin: 10px;
}

#id_profile_pic {
	position: absolute;
	top: 68px;
	right: 0;
	margin: 0;
	padding: 0;
	font-size: 10px;
	cursor: grab;
	filter: alpha(opacity=0);
}

li:has(> a[title]) {
	list-style: none;
	margin-left: -30px;
	font-size: 1.2rem;
}

.preview-create {
	display: flex;
	align-items: center;
	justify-content: space-between;
}