:root {
	--blackpure: #000;
	--black: #171718;
	--black-border: #26292d;
	--white: #fff;
	--gray: rgba(0, 0, 0, 0.5);
	--purple: #5c62ec;
	--blue: #037ec6;

	--text-color: var(--black);

	--dark-bg: var(--black);
	--dark-border: var(--black-border);
	--header-text: var(--white);
	--accent: var(--purple);

	/* Light mode */
	--page-bg: var(--white);
	--text-color: var(--black);
	--text-gray: var(--gray);

	--title-1: var(--accent);

	--project-card-bg: var(--white);
	--project-card-text: var(--black);
	--box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.25);
}

.dark {
	/* Dark mode */
	--page-bg: #252526;
	--text-color: var(--white);
	--text-gray: #808080;

	--title-1: var(--white);

	--project-card-bg: var(--black);
	--project-card-text: var(--white);
	--box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.8);
}

html,
body {
	height: 100%;

	/* Light mode */
	background-color: var(--page-bg);
	color: var(--text-color);
}

body::before {
	content: '';
	display: none;
}

/* Dark mode btn */

.dark-mode-btn {
	order: 9;

	position: relative;
	display: flex;
	justify-content: space-between;
	flex-shrink: 0;
	flex-grow: 0;

	width: 51px;
	height: 26px;
	padding: 5px;

	border: none;
	border-radius: 50px;
	background-color: #272727;
}

.dark-mode-btn::before {
	content: '';

	position: absolute;
	top: 1px;
	left: 1px;

	display: block;
	width: 24px;
	height: 24px;

	border-radius: 50%;
	background-color: var(--white);

	transition: left 0.2s ease-in;
}

.dark-mode-btn--active::before {
	left: 26px;
}

.dark-mode-btn__icon {
	position: relative;
	z-index: 9;
}

/* --------------------------------------------------------------- */

.page-content {
	background-color: var(--page-bg);
	color: var(--text-color);
}

.notification__success,
.notification__error {
	margin-bottom: 16px;
	line-height: 24px;
}

.notification__error--top {
	margin-left: -16px;
	margin-right: -16px;
	margin-bottom: 16px;
	width: auto;
}

.notification__success--top-border-radius {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.notification__error--text {
	line-height: 24px;
}

.notification__error--text p {
	display: block;
	margin: 0;
	margin-bottom: 20px;
	font-size: 16px;
	color: #38505e !important;
}

.notification__error--text p:last-child {
	margin-bottom: 0;
}

.notification__error--text p a {
	color: #38505e !important;
}

.logo__icon,
.work-logo-icon {
	text-decoration: none;
}

.profile__button {
	z-index: 2;
}

.content-center {
	justify-content: center;
}

.navigation__item--active a {
	text-decoration: none;
}

.card-post,
.card-portfolio {
	margin-bottom: 50px;
}

.card-post:nth-child(3n + 3) {
	/* margin-right: 0; */
}

@media (min-width: 768px) {
	.card-portfolio:nth-child(odd) {
		margin-right: 30px;
		margin-left: 30px;
	}
}

@media (min-width: 992px) {
	.card-portfolio:nth-child(odd) {
		margin-right: 0;
		margin-left: 0;
	}
}

.card-post__image-holder {
	overflow: hidden;
}

.contacts__value--bold-link {
	display: block;
}

.delete {
	z-index: 2;
}

input[data-skill][type='number']:invalid + span:after {
	content: '✖';
	position: absolute;
	top: 40px;
	left: 0px;
	cursor: auto;
}

input[data-skill][type='number']:valid + span:after {
	content: '✓';
	position: absolute;
	top: 40px;
	left: 0px;
	cursor: auto;
}

.footer {
	padding-bottom: 60px;
}

.pagination {
	margin-top: 35px;
	margin-bottom: 35px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: baseline;
	align-items: baseline;
}

.pagination__item {
	background: none repeat scroll 0 0 #eee;
	color: #222;
	height: 42px;
	line-height: 1;
	text-decoration: none;
	padding: 13px 18px 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	margin: 0 10px;
	-webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-ms-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
}

.pagination__item:hover {
	background-color: #3866c5;
	color: #fff;
}

.pagination__item:active,
.pagination__item--active {
	background-color: #0060cf;
	color: #fff;
}

.fa-arrow-left {
	left: 30px;
}

/* **********************
*
*         SHOP
*
********************** */

.position-static {
	position: static;
}

.flex-content-end {
	justify-content: flex-end;
}

.price-holder {
	display: flex;
	padding-top: 15px;
	padding-bottom: 30px;
}

.price-old {
	font-size: 26px;
	text-decoration: line-through;
	margin-right: 10px;
	color: #b4b4b4;
	font-weight: 600;
}

.price {
	font-size: 26px;
}

.price span {
	font-size: 18px;
}

.card-price-holder {
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	position: absolute;
	bottom: 20px;
	left: 15px;
	right: 15px;
}

.card__price {
	font-size: 24px;
	font-weight: 400;
}

.card__price span {
	font-size: 16px;
	font-weight: 400;
}

.card-post .card-price-holder .button {
	position: static;
}

.card-goods__image {
	margin-left: auto;
	margin-right: auto;
	background-image: none;
	background-color: transparent;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	height: auto;
}
/* END - SHOP */

/* **********************
*
*		Cart
*
********************** */

.header {
	position: relative;
	justify-content: flex-end;
}

.header__left-side {
	margin-right: auto;
}

.header--vignette .header-user {
	/*padding-top: 60px;*/
	position: absolute;
	bottom: 30px;
	right: 0;
	margin-right: 0;
	font-size: 18px;
}

.header-user__links {
	text-decoration: none;
	border-bottom: 1px solid #fff;
	display: inline-block;
	padding-right: 0;
	margin-right: 20px;
	font-weight: 600;
	opacity: 0.8;
}

.sign-in-guest {
	margin-left: auto;
	margin-right: 30px;
}

.cart {
	background-color: green;
	-webkit-border-radius: 20px 0 0 20px;
	border-radius: 20px 0 0 20px;
	display: inline-block;
	position: absolute;
	z-index: 5;
	right: 0;
	top: 40px;
	font-size: 14px;
	padding: 10px 20px;
	background-color: #fff;
	text-decoration: none;
}
@media (min-width: 350px) {
	.cart {
		top: 10px;
	}
}
@media (min-width: 500px) {
	.cart {
		top: 40px;
	}
}
@media (min-width: 992px) {
	.cart {
		top: 50px;
	}
}

.cart a {
	text-decoration: none;
}

.button {
	padding-top: 0.6em;
}

.button--edit {
	padding-top: 0.8em !important;
}

.button--del {
	padding-top: 0.8em !important;
}

.button--save {
	padding-top: 0.8em;
}

.table {
	border-bottom: 1px solid #dee2e6;
}

.label {
	display: block;
	margin-bottom: 20px;
}

.highlight {
	padding: 1rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
	background-color: #f8f9fa;
	-ms-overflow-style: -ms-autohiding-scrollbar;
}

.header-user__block {
	width: 310px;
}

.header-user__buttons-profile {
	display: flex;
}

.button--profile {
	padding-top: 0.6em;
}

.text-success {
	color: #28a745 !important;
}

.text-danger {
	color: #dc3545 !important;
}

.table-total,
.table-total > th,
.table-total > td {
	background-color: #f8f9fa;
}

.button--small {
	padding-top: 0 !important;
}

.cart-img-preview {
	max-width: 80px;
	min-height: auto;
}

.cart-table td {
	vertical-align: middle;
}

.registration-page-header {
	-webkit-align-items: flex-start;
	align-items: flex-start;
}

.delete-from-cart {
	background-color: transparent;
	border: none;
	cursor: pointer;
	color: #037ec6;
	opacity: 0.3;
	transition: 0.2s ease-in;
	padding-left: 10px;
	padding-right: 10px;
}

.delete-from-cart:hover {
	opacity: 1;
}

.card__title {
	font-size: 22px;
	font-weight: 700;
}

.card__select,
a.card__select {
	color: #037ec6;
	font-size: 22px;
}

.card-post__img {
	max-width: 100%;
	height: auto;
	width: auto;
	margin-left: auto;
	margin-right: auto;
}

/* END - Cart */

.admin-panel-menu__link {
	position: relative;
}

.badge--notification {
	position: absolute;
	left: 10px;
	top: -5px;
	background-color: #dc143c;
	color: #fff;
	padding: 3px;
	font-size: 11px;
	line-height: 1;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.load-file-wrap-img {
	display: block;
	/*background-color: #75c1e8;*/
	width: 300px;
	height: 200px;
}

.load-file-wrap-img__image {
	max-width: 100%;
	max-height: 100%;
}

.registration-wrapper {
	padding: 45px 15px 25px;
}

@media (min-width: 500px) {
	.registration-wrapper {
		padding: 45px 50px 25px;
	}
}

.logo__icon span {
	font-size: 20px;
}

@media (min-width: 500px) {
	.logo__icon span {
		font-size: 32px;
	}
}
