body
{
	font-size: 1.1rem;
	margin-top: 0;
}

.menu--account
{
	padding-right: 1.2rem;
}

@media (min-width: 600px)
{
	article p, article li
	{
		text-align: justify;
	}
}

.views-row
{
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid #eeeeee;
}

#dropZone {
	background-color: #eee;
	padding: 2rem 0;
	text-align: center;
	color: #555;
}

#dropZone.hover {
	border-color: #aaa;
	background-color: #ddd;
}

#dropZone.error {
	border-color: #f00;
	background-color: #faa;
}

/* sticky */
.navbar
{
	position: sticky;
	top: 0;
	z-index: 1020;
	border-radius: 0;
	border-width: 0 0 1px;
	background-image: linear-gradient(#fff, #eee 50%, #e4e4e4);
}

.navbar-toggler {
	margin-right: 0.5rem;
}

.navbar-collapse {
	margin-left: 0.5rem;
}

.navbar .logo
{
	margin: 0.8rem 0 0 0.5rem;
}

.navbar-brand
{
	margin-left: 0.5rem;
}

.brand
{
	color: rgb(154, 50, 2);
	height: inherit;
}

.brand_header {
	background-image: url(Header/HeadTile.png);
	height: 108px;
	cursor: pointer;
}

.brand_header .right,
.brand_header .middle
{
	float: right;
}

@media (max-width: 800px)
{
	.brand_header .head_text 
	{
		display: none;
	}
}

.head_pic {
	height: 108px;
	background: url(Header/HeadPic.jpg) no-repeat top left;
}

.head_right {
	float: right;
	margin: 0 1rem 0 0;
}

.name_text {
	margin: 0 1rem 0 0;
	font-size: xx-large;
	color: White;
	text-shadow: -1px -1px 0 grey,
		1px -1px 0 grey,
		-1px 1px 0 grey,
		1px 1px 0 grey;
}

.head_text {
	font-size: medium;
}

article .create_date
{
	font-size: 0.8rem;
	font-style: italic;
	color: gray;
}

footer
{
	font-size: smaller;
}

@media (min-width: 992px)
{
	.copyright
	{
		float: right;
	}
}

.main_footer
{
	padding-bottom: 1rem;
}

.wait_confirm
{
	animation-duration: 5s;
	animation-name: aging;
}

@keyframes aging
{
  0% {background-color: green;}
  50% {background-color: yellow;}
  100% {background-color: red;}
}

/* Карточка с миниатюрой */
.thumbnail
{
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}

.thumbnail .card-body
{
	flex: initial;
}

/* Полная фотография в модальном окне*/
.photo_modal
{
	--bs-modal-margin: 0px;
	--bs-modal-padding: 0;
	--bs-modal-border-width: 0;
	--bs-modal-border-radius: 0;
	--bs-modal-border-color: grey;
}

.photo_modal .btn-close
{
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 1;
}

.photo_modal .carousel-control-next, .carousel-control-prev
{
	top: 3rem;
}

.photo_modal .carousel-caption
{
	color: white;
	text-shadow: -1px -1px 0 grey,
		1px -1px 0 grey,
		-1px 1px 0 grey,
		1px 1px 0 grey;
}

.photo_modal .modal-dialog
{
	transition: max-width 0.6s ease-in-out, transform 0.3s ease-out !important;
}

/* Согласие на обработку cookie */
#cookie_note
{
	display: none;
	position: fixed;
	z-index: 100;
	bottom: 1rem;
	left: 10%;
	right: 10%;
	max-width: 90%;
	padding: 1rem;
	background-color: white;
	border-radius: 4px;
	box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

#cookie_note p
{
	margin: 0;
	font-size: 0.7rem;
	text-align: left;
	color: black;
}

#cookie_note .btn-sm
{
	width: 20%;
	margin-left: 0.5rem;
}

#cookie_note.show
{
	display: flex;
}

#cookie_note .cookie_accept
{
	display: none;
}

#cookie_note .cookie_close
{
	display: block;
}

@media (min-width: 576px)
{
	#cookie_note
	{
		left: 50%;
		right: 0;
		transform: translateX(-50%);
	}

	#cookie_note .cookie_accept
	{
		display: block;
	}

	#cookie_note .cookie_close
	{
		display: none;
	}
}
