.post {
	max-width: 1024px;
    margin-left: 1em;
}

.post.brief {
	margin-bottom: 40px;
	border-bottom:1px dotted #c6c6c6;
}

.post.brief:last-of-type {
	border-bottom: none;
}

.postHeader {
	font-family:Verdana, sans-serif;
	font-size: 150%;
	text-align:center;
	margin-bottom: 1.3rem;
}

.postHeader.brief {
	font-size: 120%;
	text-align:left;
	padding-left: 30px;
	margin-bottom: 1rem;
}

.brick {
	padding-bottom: 2em;
}

.brickText > p {
	font-family:Verdana, sans-serif;
	font-size: 15px;
	margin-bottom: 0.5rem;
}

.brickPhoto, .fakeBrickPhoto { /* photoContainer вместо brickPhoto */
	box-sizing: content-box;
    border: 1px solid #c6c6c6;
    border-radius:8px;
	user-select: none;
	max-width: 100%;
	width: auto;
	height: auto;
}

.brickSlideshow {
	position: relative;
}

.brickSlideshow .brickPhoto { /* photoContainer вместо brickPhoto */
	position: absolute;
}

.fakeBrickPhoto {
	opacity: 0;
}

.photoContainer {
	display: block;
	position: relative;
	border-radius: 8px;
	opacity: 0;
}

.photoContainer.selected {
	opacity: 1;
}

.mapPin {
	position: absolute;
	right: 10px;
	top: 10px;
	padding: 5px;
	margin-right: -6px;
	margin-top: -3px;
	cursor: pointer;
	z-index: 1;
}

#miniMap {
	position: absolute;
	right: 25px;
	top: 25px;
	border-radius: 8px;
	overflow: hidden;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.roundels {
	margin: 15px 0 0 0;
	position: relative;
	text-align: center;
	user-select: none;
}

.roundel {
	display: inline-block;
    background-color: #cccccc;
    height: 14px;
    width: 17px;
    margin: 0 2px 3px 3px;
    border-radius: 3px;
	cursor: pointer;
	transition:  .2s ;	
}

ins { 	/* замена center */
	text-align: center;
	display: block;
	text-decoration: none;
	margin-top: -0.5em;
	margin-bottom: -0.5em;
}

@media (min-width: 480px) {
	.roundel {
		margin: 0 6px 3px 6px;
	}
}

.roundel.selected {
	background-color: #67AD6B;
}

.postTags, .readmore, .comments {
	margin-bottom: 1em;
}

.postTags > span:first-child {
	font-weight: 500;
}

#header {
	height:180px;
	margin-bottom: 2em;
}

#header > p {
	font-size:30px;
	text-align: center;
	-webkit-text-stroke: 1px  white;
	color: transparent;
}

.menu {
	position: absolute;
	bottom: 15px;
	width: 100%;  
}

.menu .nav-link {
	color: white;
	border: solid 1px white;
	border-radius: 6px;
	margin: 5px 5px;
	padding: 4px 6px;
}

.menu .nav-link:hover {
	background: white;
	color: #007bff;
}

#footer {
	background-color: #E6F1F9;
	padding: 1.5em;
	margin-bottom: 0;
	font-size: 0.75rem;
}

@media (min-width: 480px) {
	#header > p {
		font-size:47px;
	}
	.menu .nav-link {
		color: white;
		border: solid 1px white;
		margin: 5px 8px;
		padding: 8px 18px;
	}
	#footer {
		font-size: 1rem;
	}
}

@media (min-width: 550px) {
	#header > p {
		font-size: 55px;
	}
}

@media (min-width: 768px) {
	#header {
		height:250px;
	}
	#header > p {
		font-size:70px;
	}
	.menu .nav-link {
		border: solid 2px white;
		margin: 0 15px;
	}
}

#map { 
	width: 100%;
	max-width: 1024px;
	height: 600px;
	padding: 0 0 2em 1em;
	margin: 0 auto;
}

#map ul {
	padding: 0;
	margin: 0;
}	

#map li {
	list-style: none outside;
}

.col-sm-9 {
	padding-left: 0;
}

.col-sm-12 {
	padding-left: 0;
}

.tags {
	line-height: 2em;
}

#sidebarR .tags {
	text-align: center;
	line-height: 2em;
	padding : 0.1em;
	font-size: 90%;
}

#sidebarR .tags span {
    vertical-align: baseline;
}

.container-fluid {
	max-width: 1600px;
}

/* стили для календаря */
.calendarMonth  {
	float: left;
    height: 20em;
    padding: 1em 0 0 1em;
    font-size: 0.75em;
}

.calendarMonth table {
    text-align: center;
}

.calendarMonth th {
	font-weight: 400;
	color:#ccc;
	padding: .1rem;
}

.calendarMonth .monthName {
	font-size: 1.2em;
}

td.noempty {
	background-color: #ddd;
}

td.noempty a{
	color: #007bff;
}

.custom-control-label, .custom-control {
	cursor: pointer;
}

/* конец стилей для календаря */	

.mymap {
	max-width: 1200px;
	width: 100%;
	height: 600px;
}

.prevnext {
	height: 2.5em;
}

a.next {
	float: right;
}

a.prev {
	float: left;
}

form {
	margin: 0 0;
}

p span input {
	margin-right: 1em;
}

b.blue, span.blue {
	color: #007bff;
}


span.postDate {
	font-size: 0.42em;
	white-space: nowrap;
}


.yourComment {
	margin: 1em 0  1em 0;
}

#commentName, #commentSubmit {
	display: none;
}

.reply_box {
	position: relative;
}

.reply_close {
	position: absolute;
	right: 10px;
	top: 10px;
	padding: 5px;
	margin-right: -2px;
	margin-top: -5px;
	cursor: pointer;
	display: none;
}

textarea {
	resize: none;
}

input.form-control{
	width: auto;
	vertical-align: middle;
}

.cmnt {
	margin-bottom: 1.5em;
}

.cmnt-header {
	margin-bottom: 0.1em;
}

.cmnt-body {
	background-color: #E6F1F9;
	padding: 1em 1em;
	border-radius: 6px;
}

.cmnt-name {
	font-weight: 500;
}

.cmnt-date {
	font-size: 60%;
}

.custom-control-inline {
	padding-left: 2.5em;
}

form button {
	margin-right: 1rem;
}

/* на эти три стиля потратил три дня, чтобы заработало как надо */
.owl-stage-outer {
	margin-bottom: -1px;
}

.nav-tabs .nav-link:focus:not(.active), .nav-tabs .nav-link:hover:not(.active) {
	border-color: transparent;
	color: #007bff;
}

@media (pointer:fine) {
	.nav-tabs .nav-link:hover {
		border-color: #e9ecef #e9ecef #dee2e6 !important;
		color: #0056b3 !important;
	}
}
/* да, на эти. дело было 2018-10-28 */

.edit {
	margin-left: 1em;
}

li.photoToCut {
	list-style-type: none;
}
li.photoToCut img {
	max-width: 600px;
}

/*.stat {*/
	/*margin: 0 .3em 0 .5em;*/
/*}*/

/*заимствовано из vred для открывания крупной картинки по даблклику*/
body {
	margin:0;
}

.adm {
	position: absolute;
	top: 0;
	right: 0;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.myprogress {
    padding: 2em;
}