body {
	font-size: 0.875rem;
	overflow: hidden;
}

label:active {
	border: none;
}

.feather {
	width: 16px;
	height: 16px;
	vertical-align: text-bottom;
}

.btn-primary {
	height: unset !important;
}

.btn {
	padding: 0.375rem 0.95rem;
	font-size: 16px;
	font-weight: 600;
	border: none;
	transition: all ease 0.1s;
}

.btn:hover {
	border: none;
	background-color: rgb(42, 108, 214);
}
body,
.bg-dimm {
	background-color: #f7f7f7;
}

.alert {
	top: -20px;
	position: absolute;
	right: 0;
	box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.11);
	z-index: 100;
}

.scroll-bottom-button {
	position: fixed;
	right: 120px;
	top: 130px;
}
.shake {
	-webkit-animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
	-moz-animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
	animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
	transform: translate3d(0, 0, 0);
}
@keyframes shake {
	10%,
	90% {
		transform: translate3d(0, -3px, 0);
	}
	20%,
	80% {
		transform: translate3d(0, 3px, 0);
	}

	30%,
	50%,
	70% {
		transform: translate3d(0, 6px, 0);
	}
	40%,
	60% {
		transform: translate3d(0, -6px, 0);
	}
}
/* --------------pju main------------ */
/* --------------pju main------------ */
/* --------------pju main------------ */
/* --------------pju main------------ */
/* --------------pju main------------ */

.pju-main {
	margin: 0 auto;
	max-width: var(--site-width);
	height: calc(100vh - 60px);
}

.pju-main > main {
	width: 100%;
	padding: 30px 10px 0px 30px;
	overflow-y: scroll;
	/* height: var(100vh - 60px); */
}

.pju-main > nav {
	position: sticky;
	top: 0;
	height: 100%;
	min-height: 900px;
}

.sidebar-sticky {
	top: 48px; /* Height of navbar */
	height: calc(100vh - 48px);
	padding-top: 0.5rem;
	overflow-x: hidden;
	overflow-y: auto;
	/* Scrollable contents if viewport is shorter than content. */
	border-right: solid 1px rgb(233, 233, 233);
}

/* custom textarea */
/* custom textarea */
/* custom textarea */

.pju-textarea {
	width: 100%;
	max-width: 450px;
	height: 63px;
	border-radius: 5px;
	border: solid 1px transparent;
	background-color: transparent;
	padding: 10px 15px 20px 15px;
	resize: vertical;
	overflow: hidden;
	/* transition: var(--pju-transition); */
	border: 1px solid #ced4da;
}

.pju-textarea::-webkit-resizer {
	display: none;
}

.pju-textarea:disabled {
	background-color: white;
	border-color: white;
}

.pju-textarea:disabled + .pju-textarea::after {
	content: "After";
}

input:hover,
textarea:hover,
select:hover {
	/* border: solid 1px white;
    background-color: white; */
	border: 1px solid #ced4da;
	outline: none;
}

input:focus,
textarea:focus,
select:focus {
	border: solid 1px white;
	background-color: white;
	border: 1px solid #ced4da;
	box-shadow: 0px 0px 0px 1px #ced4da;
	outline: none;
}

/*
 * Sidebar
 */

.sidebar {
	width: 300px;
}

.row {
	flex-wrap: nowrap;
}

.sidebar-sticky > ul {
	margin-top: 20px;
}

.sidebar .nav-link {
	position: relative;
	font-weight: 500;
	color: rgb(77, 77, 77);
	min-height: 50px;
	display: flex;
	align-items: center;
	transition: 0.2s ease all;
}
.sidebar .nav-link:hover {
	background-color: rgb(236, 236, 236);
}

/* .sidebar .nav-link .feather {
  margin-right: 15px;
  color: #999;
} */

.sidebar .nav-link.active {
	color: var(--pju-red);
	background: linear-gradient(270deg, var(--pju-red) 4px, rgb(255, 255, 255) 4px);
}

.sidebar .nav-link svg {
	margin-right: 15px;
}

.sidebar .nav-link.active > svg > path {
}

.sidebar-heading {
	font-size: 0.75rem;
	text-transform: uppercase;
}

/* navbar */
/* navbar */
/* navbar */

.navbar {
	background-color: var(--pju-red);
	height: 60px;
	/* box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.30); */
}

.navbar > div {
	width: 100%;
	max-width: var(--site-width);
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
}

.navbar .nav-link {
	color: white;
}

.navbar-brand img {
	max-height: 40px;
}

.navbar .dropdown-menu .nav-link {
	color: black;
}

.navbar-brand {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	font-size: 1rem;
	min-width: 240px;
}

.profile-btn {
	color: white;
}
.profile-btn:hover {
	color: white;
}

.table-fit {
	width: 1px;
}

.navbar .form-control {
	padding: 0.75rem 1rem;
	border-width: 0;
}

.nav-link .badge {
	background-color: var(--pju-red);
	position: absolute;
	top: -8px;
	right: -20px;
	font-size: 80%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	white-space: nowrap;
	border-radius: 37px;
	width: fit-content;
	height: 18px;
	opacity: 1;

	animation-delay: 0.3s;
}

@keyframes fad-badge {
	0% {
		opacity: 0;
		transform: translateY(3px);
	}
	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}

.nav-link > span:first-of-type {
	position: relative;
}

/* master search */
/* master search */
/* master search */

.master-search {
	width: 100%;
	max-width: 100%;
	background-color: transparent;
	padding: 5px;
	align-self: flex-start;
	position: relative;
}

.master-search:active {
	width: 100%;
	max-width: 100%;
}

.master-search .search_form > input::placeholder {
	color: rgb(226, 141, 141) !important;
}

.master-search > div {
	width: 100%;
	position: absolute;
	top: 0;
	/* background-color: white; */
}

.master-search > div > form {
	margin-top: 5px;
}

.master-search > div > form > input {
	border-radius: 5px;
	background-color: rgb(151, 20, 20);
}

/* tabs */
/* tabs */

.view-translations .tab-content,
.import-translations .tab-content {
	/* background-color: white; */
	margin-top: 30px;
	min-height: 150px;
}

.view-translations .nav-tabs,
.import-translations .nav-tabs {
	border-color: rgb(233, 233, 233);
}

.view-translations .nav-link,
.import-translations .nav-link {
	color: rgb(104, 104, 104);
	border: unset;
	transition: var(--pju-transition);
}

.view-translations .nav-link,
.import-translations .nav-link {
	padding: 0.8rem 2rem;
}

.view-translations .nav-tabs .nav-link.active,
.import-translations .nav-tabs .nav-link.active {
	border: none;
	color: var(--pju-red);
	box-shadow: inset 0px -8px 0px -6px var(--pju-red);
	background-color: unset;
}

.view-translations .nav-tabs .nav-link:hover,
.import-translations .nav-tabs .nav-link:hover {
	border-color: transparent;
	color: var(--pju-red);
}

.view-translations .nav-tabs .nav-link.active:hover {
}

/* 
.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
} */

.dropdown-menu {
	border: unset;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

/*
 * Utilities
 */

.border-top {
	border-top: 1px solid #e5e5e5;
}
.border-bottom {
	border-bottom: 1px solid #e5e5e5;
}

.t-input {
	background: transparent;
	border: none;
}

/* ---------admin------ */
/* ---------admin------ */
/* ---------admin------ */
/* ---------admin------ */
/* ---------admin------ */
/* ---------admin------ */

#users .btn-primary {
	display: inline !important;
	height: unset;
}

#users > tr > td:last-child {
	justify-content: flex-end;
	display: flex;
	flex-wrap: wrap;
}

#users .table-success {
	background: linear-gradient(90deg, var(--pju-red) 3px, transparent 3px);
}

#users > tr:hover {
	background-color: unset;
}

/* buttons */

#users > tr > .buttons > .btn {
	border: unset;
	background-color: transparent;
	padding: 0.1rem 0.1rem;
	border-radius: 30px;
	width: 35px;
	height: 35px !important;
	transition: 0.2s all ease;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

#users > tr > .buttons > .btn:hover {
	background-color: rgb(230, 230, 230);
}
#users > tr > .buttons > .btn:hover > svg {
	color: rgb(65, 65, 65);
}

#users > tr > .buttons > .btn > svg {
	transition: 0.2s all ease;
	color: rgb(146, 146, 146);
}

#users > tr:hover + .buttons > a {
	opacity: 1;
}

#users .table-success > td,
#users .table-success > th {
	background: unset !important;
}

#users .table-success > tr:hover,
#users .table-success > th:hover {
	background-color: grey !important;
}

#users .table-hover > td {
	background-color: unset;
	filter: brightness(0.96);
}

#users table th,
table td {
	background-color: transparent;
	padding: 0.25rem 0.75rem !important;
}

table th,
table td {
	background-color: transparent;
}

table .name > th {
	background-color: white !important;
	border: none;
}

/* requested changes */
/* requested changes */
/* requested changes */
/* requested changes */

.card {
	border: unset !important;
}

.approve-box {
	border: unset;
	box-shadow: 0px 0px 12px rgb(241, 241, 241);
}

.approve-box .card-body {
	padding: 30px;
	flex-shrink: 0;
}

.approve-box .title {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.approve-box .titles-trans {
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	color: grey;
}

.approve-box .titles-trans > div {
	width: 30%;
	/* text-align: center; */
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 80%;
	font-weight: 700;
}

.approve-box .titles-trans > .space {
	width: 5%;
}

.trans-windows {
	display: flex;
	justify-content: space-between;
	margin: 10px 0px;
}

.trans-windows > * {
	width: 30%;
	padding: 5px 10px;
	border-radius: 10px;
}
.trans-windows > svg {
	padding: 0;
	width: 5% !important;
	height: auto;
	filter: brightness(4.5) invert();
}

.trans-windows div:nth-child(1) {
	background-color: rgb(241, 241, 241);
}

.trans-windows div:nth-child(2) {
	background-color: rgb(255, 225, 225);
}
.trans-windows div:nth-child(4) {
	background-color: rgb(225, 255, 225);
}

#approve_request {
	display: flex;
	justify-content: flex-end;
}

#approve_request > div {
	margin-left: 10px;
}

/* translations */
/* translations */
/* translations */

.translations {
	padding: 15px 20px;
	border-radius: 5px;
	background-color: unset;
	box-shadow: 0px 2px 5px rgb(0 0 0 / 10%);
	margin: 1em 0;
	background-color: #fff;
}

.priority {
	background: linear-gradient(90deg, var(--pju-red) 5px, transparent 5px);
}

.translations .original-text > div:first-of-type {
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 80%;
}
.translations .original-text > div:first-of-type {
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 80%;
}

.translations .original-text > div:nth-of-type(2) {
	padding: 10px;
	padding-top: 20px;
	padding-right: 30px;
	white-space: pre-line;
	/* background-color: rgb(238, 238, 238); */
}
.translations .original-text > div:nth-of-type(3) {
	padding: 10px;
	padding-top: 0;
	padding-right: 30px;
	/* background-color: rgb(238, 238, 238); */
}

.textarea-single-container {
	position: relative;
}

.translations .translation-wr {
	display: flex;
	flex-shrink: 0;
	width: 100%;
}

.translations .translation-wr > div {
	width: 50%;
}

.translations .buttons input {
	margin-bottom: 0 !important;
}

.highlight {
	background: rgba(255, 0, 0, 0.2);
	color: #ff0064;
}

.loader-wr {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.288);
	position: absolute;
}

.translations {
	position: relative;
}

.loader {
	border: 5px solid #f3f3f3;
	border-radius: 50%;
	border-top: 5px solid #3498db;
	width: 30px;
	height: 30px;
	-webkit-animation: spin 1s linear infinite; /* Safari */
	animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.container {
	position: relative;
}

/** Change original text css **/
.change-text-container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 1em 0;
}
.change-text-container .text-container {
	width: 50%;
}

.change-text-container textarea {
	width: 350px;
	height: 100px;
}

#save_translation_change {
	margin-top: 1em;
}

/** Request to change modal **/
.modal-body > div {
	width: 45%;
}

.modal-dialog {
	max-width: 800px;
}

.modal-dialog .previous-text h6:not(:first-child) {
	margin-top: 1em;
}

/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */
/* responsive */

@media only screen and (max-width: 767px) {
	body {
		background-color: lightblue;
	}

	.sidebar {
		position: fixed;
		display: none;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 100; /* Behind the navbar */
		padding: 0;
		box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
	}

	.pju-main > main {
		padding-left: 0;
	}
}
