:root {
	
	--body-background-color:#00151E;

	--footer-bg-color:#000B10;

	--body-inner-bg: #001F2D;
	
	--link-color: #FFB467;
	
	--text-color: #B5CAD3;
	
	--border-color: #003C57;
	
	/*--input-border-color: #003C57;*/

	--button-border-color: #376A81;

	--button-bg-color: #1B3641;

	--post-note-bg-color: #002637;

	/*--pagi-border-color: #005378;*/

	--form-result-e: #FFC8C8;

	--form-result-s: #83FF75;

	--just-added: #83FF75;

	--dis-button-bg: #393939;  
	
	--dis-button-border: #808080;

	--comment-info-color: #3D7B95;

	--input-text-color: #101010;

	--blog-width: 1280px;

html {
	
	font-size:			16px;
	
}
body {
	
	font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
	margin:				0 0 ;
	padding:			0 0 ;
	background:			var(--body-background-color);
	color:				var(--text-color);
	
}
div, textarea, article, aside, footer, header, main, nav, search, input[type=text], input[type=password] {
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: 	border-box;
	box-sizing: 		border-box;
	
}

input[type=text], input[type=password], select, textarea {
	
	width:100%;
	outline:0;
	border:1px solid var(--border-color);
	font-family: 		Arial, Helvetica, sans-serif;
	color:var(--input-text-color);
	font-size:1em;
	margin:0px;
	padding:5px;

	
}

select {
	cursor:pointer;
}


a, .showCF {

	cursor:pointer;
	color: var(--link-color);
	
	&:link {
		
		color:				var(--link-color);
		text-decoration:	none;
	}
	
	&:visited {
		
		color:				var(--link-color);
	}
	
	&:hover {
		
		color:				var(--text-color);
	}
}

h1, h2, h3, h4, h5, h6, form {
	
	margin:				0 0;
}
h1{
	font-size:2.5em;
}

h2 {
	border-bottom:1px solid var(--border-color);
	padding: 0 0 10px 0;
	margin:0 0 25px 0;
}

.site_tagline > h2 {
	border:0;
	padding: 0;
	margin:0;
	font-size:1.25em;
}

#body_inner {
	
	display:flex;
	flex-wrap:wrap;
	width:100%;
	justify-content:center;
	min-height: 100vh;
	
}
	
	#body_inner_content {
		
		width:			100%;
		max-width:		var(--blog-width);
		background:		var(--body-inner-bg);
		border-left:	3px solid var(--border-color);
		border-right:	3px solid var(--border-color);
	}

video {
	
	cursor:pointer;
}

.header_image {
	
	display:block;
	position:relative;
	width:100%;
	height:100vh;
	max-height:200px;
	background-image:URL('../img/header_image.webp');
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	padding:15px 15px;
	border-bottom:1px solid var(--border-color);

	.x {
		position:absolute;
		top:0;
		right:0;
		
	}
	
}

.x_img {
	
	width:40px;
	height:40px;
	margin:10px 6px 0 0;
	/*border-radius:19px;*/
	&:hover {
		
		opacity:0.75;
	}
}

.site_title, .site_tagline {
	.
	width:100%;
	
}
.site_tagline{
	/*font-size:1.25em;*/
	padding:5px 0 0 2px;
}
.content_media {
	
	display:flex;
	flex-wrap:wrap;
	width:100%;
	justify-content:center;
	margin-top:30px;
	padding: 0 30px;
	
}

.article_list {
	margin-bottom:30px;

	.post_preview {
		display:block;
		width:100%;
		line-height:0;
		padding-bottom:15px;
	}
	
	.post_image_preview {
		width:100%;
		max-width:400px;
		height:100%;
		max-height:225px;
		&:hover {
			opacity: 0.75;
		}
	}
	
	.under_preview_image {
		height:1px;
		width:100%;
		border-bottom:1px solid var(--border-color);
		margin-bottom:5px;
	}
	
	.post_data {

		display:block;
		width:100%;
		text-align:right;
		
	}
	
}




.cm_video_w {
	background:#000000;
	width:100%;
	max-width:		calc(var(--blog-width)-140px);
	line-height:0;
	margin-top:1px;
	text-align:center;
	
}
.page_content {
	margin:15px 0;
	width:100%;
	max-width:		calc(var(--blog-width)-140px);
	
}

.cm_imgages{
	display:flex;
	flex-wrap:nowrap;
	max-width:calc(var(--blog-width)-140px);
	margin-top:1px;
}
.cm_imgages_thumb {
	max-width:25%;
	margin-right:1px;
	line-height:0;
	
}
.s_image{
	
	width:100%;
	max-width:360px;
	height:100%;
	max-height:360px;

}

.related_imgages{
	display:flex;
	flex-wrap:nowrap;
	max-width:calc(var(--blog-width)-140px);
	margin-top:1px;
}

.related_imgages_thumb {
	max-width:33.333%;
	margin-right:1px;
	line-height:0;
	
}

.related_image{
	
	width:100%;
	max-width:400px;
	height:100%;
	max-height:225px;
	
}

.gi_hover {
	&:hover {
		opacity:0.75;
	}
}
.post_date {
	width:100%;
	font-size:1.75em;
	color:				var(--link-color);
	margin-bottom:10px;
}
.video_h {
	width:100%;
	max-width:calc(var(--blog-width)-140px);
}
.video_v {
	
	height:100%;
	max-height:640px;
}
.sep_line {
	width:100%;
	margin:35px 0 25px 0;
	
}
.sep_line > .line {
	width:100%;
	border-top:3px solid var(--border-color);
}
.comments {
	
	.name {
		
		margin:25px 0 ;
		border-bottom:1px solid var(--border-color);
		padding-bottom:25px;
	}
	.add {
		
		margin:45px 0 25px 0 ;
		text-align:right;
		
		.link {
			
			color:		var(--text-color);
			padding:10px 15px;
			background:	var(--button-bg-color);
			cursor:pointer;
			border:1px solid var(--button-border-color);
			line-height:0;
			&:hover {opacity:0.75;}
			&:active {opacity:0.5;}
		}
	}
	
}
.pagination {
	
	width:100%;
	display:flex;
	flex-wrap:nowrap;
	justify-content:center;
	.pag-elem {
		margin-right:5px;
		width:40px;
		height:40px;
		display:flex;
		border:1px solid var(--border-color);
		background:	var(--body-background-color);
		align-items:center;
		justify-content:center;
		color:var(--border-color);
	}
	
	.p {
		
		border:1px solid var(--border-color);
		color:		var(--link-color);
		
	}
	.p:hover {
		
		border:1px solid var(--link-color);
		color:	var(--link-color);
		
	}
	.a {
		
		border:1px solid var(--border-color);
		color:		var(--text-color);
		
	}
	
}
.footer {
	display: block;
	width:100%;
	padding:25px 0 35px 0;
	margin-top:30px;
	border-top:1px solid var(--border-color);
	
	
	background-color:	var(--footer-bg-color);
	.footer_content{
		display: block;
		height:100%;
		width:100%;
		
		.pages {
			display:block;
			width:100%;
			text-align:center;
			margin-bottom:15px;
			
		}
		
		.footer_string {
			display:block;
			width:100%;
			text-align:center;
		}
	}
}
.post_note {
	width:100%;
	display:block;
	margin-bottom:15px;
	padding:15px;
	background:	var(--post-note-bg-color);
	border:1px solid var(--border-color);
	border-left:3px solid var(--border-color);
}

.comment_form {
	display:none;
}


.add_comment, .send_message {
	
	color:		var(--text-color);
	padding:10px 30px;
	background:	var(--button-bg-color);
	cursor:pointer;
	border:1px solid var(--button-border-color);
}
.comment_info {
	color:var(--comment-info-color);
}
.add_comment:hover, .send_message:hover {
	opacity:0.75;
}
.add_comment:active, .send_message:active {
	opacity:0.5;
}
.dis_button {
	pointer-events: none;
	background: var(--dis-button-bg); 
	border:1px solid var(--dis-button-border);
	cursor:not-allowed;
}
.form_result_error {
	color:	var(--form-result-e); 
	margin-bottom:10px;
}
.form_result_ok {
	color:	var(--form-result-s); 
	margin-bottom:10px;
}

.no_comments {
	text-align:center;
	margin-top:30px;
}

.comment_block {
	
	.comment_body {
		margin:15px 0 0 15px;
		
		padding:0 0 0 0;
		
		.comment {
			border-bottom:1px dotted var(--border-color); 
			padding: 0 0 5px 0;
		}
		.date {
			text-align:right;
			padding: 5px 0 0 0;
			font-style:italic;
			font-size:0.85em;
		}
	}
}

.content_just{
	
	color: var(--just-added); 
}

.content_old {
	
	color:		var(--text-color);
}

.content_date_hover {
	
	/*&:hover {
		
		opacity:0.75;
		
		text-decoration: underline;
		
		text-decoration-style: dashed;

		text-decoration-thickness: 1px;
	}*/
}

.posts_on {
	display:flex;
	width:100%;
	flex-wrap:nowrap;
	margin-top:15px;
	padding:15px;
	background:	var(--post-note-bg-color);
	.older {
		text-align:left;width:50%;
	}
	.newer {
		text-align:right;width:50%;
	}
}

.sort_media {
	.link {
		
		
		margin-bottom:30px;
		display:block;
		padding:10px 10px;
		background:	var(--body-background-color);
		text-align:center;
		border:1px solid var(--border-color);
		color:		var(--text-color);
	}
	.sort_link {
		cursor:pointer;
	}
	.sort_condition {
		display:none;
		padding:20px 10px;
	}
	.select_cond {
		width:100%;
		max-width:320px;
		margin-bottom:10px;
	}

	.sort_button {
		
		margin-top:10px;
		color:		var(--text-color);
		padding:10px 30px;
		background:	var(--button-bg-color);
		cursor:pointer;
		border:1px solid var(--button-border-color);
		
		&:hover {
			opacity:	0.75;
		}
		
		&:active {	
			opacity:	0.5;
		}
	}
}

.footer_string > a {
	color:		var(--text-color) !important;
}

#cookie_notice {
	position: fixed;   
	bottom: 0;         
	left: 0;           
	width: 100%;       
	z-index: 9999;    
	background-color: rgba(0, 0, 0, 0.85); 
	color: #ffffff;      
	padding: 30px 0;    
	display:none;
	text-align:center;
	.button_ok {
		color:		var(--text-color);
		padding:5px 25px;
		background:	var(--button-bg-color);
		cursor:pointer;
		border:1px solid var(--button-border-color);
		
		&:hover {
			opacity:	0.75;
		}
		
		&:active {
			opacity:	0.5;
		}
	}
}

.share_buttons {
	display:flex;
	width:100%;
	justify-content:center;
	margin: 25px 0 0 0;
	gap: 15px;
	
	.share_button {
		width:30px;
		height:30px;
		background-color:var(--post-note-bg-color);
		border:1px solid var(--border-color);
		padding:5px;
		&:hover {
			opacity:0.75;
		}
	}
}

@media only screen and (max-width: 600px) {
	
	.content_media {
		
		
		padding: 0 5px;
		
	}
	
	.header_image {
		
		max-height:110px;
		text-align:center;
	}

	.mc_in_pl {
		display:none;
	}


.x_img {
	
	width:30px;
	height:30px;
	margin:5px 5px 0 0;
	
	
}

	
.share_buttons {
	.share_button {
		width:20px;
		height:20px;
		
	}
}
	body {
		
		font-size:0.85em;
		
	}

	
}
@media only screen and (max-width: 1100px) {
	
	.page_content {
		padding: 0 15px;
		border-left:0px solid var(--border-color);
		border-right:0px solid var(--border-color);
	}

	#body_inner_content{
		
		border-left:0px solid var(--border-color);
		border-right:0px solid var(--border-color);
	}
}