@font-face {
	font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/roboto-v18-latin_cyrillic-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('../fonts/roboto-v18-latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v18-latin_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v18-latin_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v18-latin_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v18-latin_cyrillic-regular.svg#Roboto') format('svg'); /* Legacy iOS */
	   }

@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('/fonts/roboto-v18-latin_cyrillic-italic.eot'); /* IE9 Compat Modes */
  src: local('Roboto Italic'), local('Roboto-Italic'),
       url('../fonts/roboto-v18-latin_cyrillic-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v18-latin_cyrillic-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v18-latin_cyrillic-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v18-latin_cyrillic-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v18-latin_cyrillic-italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v19-latin_cyrillic-500.eot'); /* IE9 Compat Modes */
  src: local('Roboto Medium'), local('Roboto-Medium'),
       url('../fonts/roboto-v19-latin_cyrillic-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v19-latin_cyrillic-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v19-latin_cyrillic-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v19-latin_cyrillic-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v19-latin_cyrillic-500.svg#Roboto') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/roboto-v18-latin_cyrillic-700.eot'); /* IE9 Compat Modes */
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('../fonts/roboto-v18-latin_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v18-latin_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v18-latin_cyrillic-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v18-latin_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v18-latin_cyrillic-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('/fonts/roboto-v18-latin_cyrillic-700italic.eot'); /* IE9 Compat Modes */
  src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'),
       url('../fonts/roboto-v18-latin_cyrillic-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v18-latin_cyrillic-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v18-latin_cyrillic-700italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v18-latin_cyrillic-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v18-latin_cyrillic-700italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'rouble';
    src: url('../fonts/rouble-webfont.eot');
    src: url('../fonts/rouble-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/rouble-webfont.woff') format('woff'),
         url('../fonts/rouble-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.rouble
{
	font-family:'rouble';
	font-weight: normal;
    font-style: normal;
}

body {
  font-family: 'Roboto',Arial,Helvetica,sans-serif;
}

.h1, h1 {
  line-height: 1.1;
  margin-bottom: 2.5rem;
  width: 90%;
  word-break: break-word;
}

.container-header h1 {
  display: inline-block;
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: 0;
  width: 100%;
}

.h2, h2 {
	font-size: 2.25em;
	margin: 1.2em 0 0.6em;
	line-height:1.1;
	word-break: break-word;
}

.h3, h3 {
	font-size: 1.625em;
  margin: 1.3em 0 0.65em;
  line-height:1.3;
}

p {
	margin-top: 0;
	margin-bottom: 1.25rem;
	letter-spacing: -0.006em;
}

.margin-bottom-none {
	margin-bottom: 0;
}

.bottom-info-wrapper {
    font-size: 0.9em !important;
	line-height: 1.3 !important;
	font-family: Roboto !important;
}
@media screen and (max-width: 639px) {
    .bottom-info-wrapper .bottom-info-block {
        width: 90% !important;
    }
}
.bottom-info-wrapper .bottom-info-button-agree {
    font: 700 1.1em/2 Roboto !important;
}

.date {
  color: #767676;
  font-size: 0.938em;
  }

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

.social-likes, .social-likes__widget_single {
  display: block;
  margin: 0 !important;
}

.social-likes__widget {
  margin: 0.5em 0.5em 0 0 !important;
}

.container {
  max-width: 1220px;
}

.container-header {
	max-width: 1160px;
}

.name-blog {
	color:#000;
}

.name-blog:hover
{
	color:#000;
}

.name-blog:visited
{
	color:#000 !important;
}

.header {
  background: #efefef none repeat scroll 0 0;
}

.zametki a{
  color: #324a5e !important;
  text-decoration: none !important;
}

.zametki {
  display: inline-block;
  font-size: 2em;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.zametki-span {
	color:#dc3545;
}

.navbar-brand.name-blog, 
.navbar-brand.name-blog .zametki {
    text-decoration: none !important;
}

.navbar-brand.name-blog:hover, 
.navbar-brand.name-blog:focus {
    text-decoration: none !important;
}

@media (max-width: 991.98px) {
    #navbarNav {
        padding-top: 1rem;
    }
}

.name-blog h1 {
	font-size: 2em !important;
	font-weight: 500 !important;
	margin: 0;
	padding: 0;
	border: none;
}


.bg-light {
  background: #efefef none repeat scroll 0 0 !important;
}

.page {
}

.art_line
{
    margin: 0 0 4em 0;
}

 .auto-toc {
 padding: 1.5rem;
 margin: 3rem 0;
 background: #EFEFEF;
}
.auto-toc zagolovok {
 font-size: 1.5rem;
 margin: 0 0 0.6rem 0;
 font-weight: 500;
 display: block;
}
.auto-toc ul li {
 padding: 3px 0;
}

.number {
 background: #324a5e;
 color: #fff;
 padding: 5px 10px;
 line-height: 1;
 border-radius: 2em;
margin:0 0.4em 0 0;
}

form.search {
width: 100%;
}
form.search input[type="text"] {
 padding: 5px 15px;
 border: 1px solid #767676;
 float: left;
 width: 73%;
 background: #fff;
 border-radius: 0;
}
form.search button {
 float: left;
 width: 27%;
 padding: 5px 15px;
 background: #324A5E;
 border: 1px solid #324A5E;
 color: white;
 cursor: pointer;
text-decoration: underline;
}

form.search button:hover {
 background: #dc3545;
 border: 1px solid #dc3545;
text-decoration: none;
}

form.search::after {
 content: "";
 clear: both;
 display: table;
}

.tftextinput {
  -moz-appearance: none;
  border: 1px solid #767676;
  border-radius: 0;
  /* margin: 0 -4px 0 0; */
  width: calc(100% - 100px);
}

.tfbutton, .tftextinput {
  font-family: "Roboto",Arial,Helvetica,sans-serif;
  padding: 5px 15px;
}

.tfbutton {
  background: #324a5e none repeat scroll 0 0;
  text-decoration: underline;
}

.tfbutton {
  border: 1px solid #324a5e;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  margin: 0;
  outline: medium none;
  text-align: center;
}

.sidebar .card {
  background: #324a5e none repeat scroll 0 0;
  border: medium none;
  border-radius: 0;
  margin: 1em 0 3em !important;
  width: 100%;
}

.sidebar .advert-banner {
  background: #fff none repeat scroll 0 0;
  border: medium none;
  border-radius: 0;
  margin: 1em 0 3em !important;
}

.sidebar .card a{
	color:#fff;
}

.sidebar .card td {
  line-height: 1.35;
  padding: 0 0 1rem;
}

.sidebar .card  .h3{
	color:#fff;
	margin: 1.2em 0 0.6em 0;
}

.sidebar .tag {
  background: #fff none repeat scroll 0 0;
  border: medium none;
  border-radius: 0;
  margin: 1em 0 3em !important;
}

.sidebar .tag  .h3{
	color:#000;
	margin: 1.2em 0 0.6em 0;
}

.sidebar .tag a{
color:#337ec4;
  font-size: 14px !important;
  padding: 0 5px 0 0;
  text-align: left;
}

.dashed
{
	border-bottom: 1px dashed #d6d6d6;
	display: block;
	margin: 2em 0;
}

.dashed-page {
	border-bottom: 3px solid #324a5e;
	display: block;
	margin: 2em 0;
}

a {
  color: #337ec4;
  text-decoration: underline;
}

.text-primary {
	color: #337ec4;
}

a:hover
{
	text-decoration: none;
}

a:visited
{
	color: purple;
}

/* .out_link */
/* { */
	/* background: url(/zametki/css/external-link.png) no-repeat 100% 4px; */
	/* margin: 0; */
	/* padding: 0 15px 0 0; */
	/* word-break: break-all; */
/* } */

.col-lg-8 .eTag {
  font-size: 93.75%;
}

.ef_block {
  background: #efefef none repeat scroll 0 0;
  border: 2px dashed #ccc;
  display: block;
  font-weight: 700;
  margin: 2em 0;
  padding: 2em;
}
.ef_block p {
	margin-bottom: 0;
}

.author-aps {
  font-size: 87.5%;
  line-height: 1.3;
}

.author-aps .h4 {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2em;
}

#analog {
  background: #efefef none repeat scroll 0 0;
  margin: 0 0 3em;
  padding: 1em;
}

#analog ul {
  clear: both;
  list-style-type: none;
}

#analog ul li {
  padding: 0 0 0.7em;
}
.menu-text
{
 font-size: 1em;
}

.menu-text li {
  line-height: 1.2;
  padding: 0.7em 0;
}

.menu-text a {
  color: #000;
  padding: 0.7em 0;
}

#overlay {
  background-color: #324a5e;
  bottom: 0;
  box-shadow: 1px 5px 20px #efefef;
  cursor: pointer;
  display: none;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  width: 40%;
  z-index: 6;
}

.overlay-text {
  color: #fff;
  font-size: 1em;
  left: 10%;
  position: absolute;
  top: 3%;
  width: 85%;
}

.overlay-text .close {
	font-size: 3em;
	color:#fff;
}

.overlay-text a {
  color: #fff;
  font-size: 1.063em;
}

.overlay-text li {
  line-height: 1.1;
  padding-bottom: 1.2em;
}

.badge {
  border-radius: 0.25rem;
  display: inline-block;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 0.2em 0.4em;
  text-align: center;
  vertical-align: baseline;
  white-space: nowrap;
}

.klavisha {
  background-color: #212529;
  border-radius: 0.2rem;
  color: #fff;
  font-size: 87.5%;
  padding: 0.2rem 0.4rem;
}

.klavisha {
  font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

.code {
  background: #efefef none repeat scroll 0 0;
  font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  margin: 1em 0 2em;
  padding: 1em;
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  font-size: 16px;
  padding: 4px;
  line-height: 1;
}

.copy-btn:hover {
  color: #333;
}

.photo-attribution {color: #ccc; font-size: 75%; margin: 0.8rem 0 1.6rem 0}

.top {
  display: block;
  margin: 5em 0;
  padding: 1em 0;
}

.top a {
  background: #324a5e none repeat scroll 0 0;
  border-radius: 30px 10px / 10px 20px;
  color: #fff;
  padding: 7px 15px;
}

.swchItemA {
  background: #dc3545 none repeat scroll 0 0;
  color: #fff;
  font-weight: 400 !important;
}

.swchItem, .swchItemA {
  margin: 0 0.2em;
  padding: 2px 5px;
}

div.bookmarklet a {
  border: 1px dotted;
  cursor: grab;
  padding: 2px;
  text-decoration: none;
}

.social .fa:hover {
  opacity: 0.7;
    color: white;
}

.social .fa-facebook {
  background: #3B5998;
  color: white;
}

.social .fa-twitter {
  background: #55ACEE;
  color: white;
} 

.social .fa-vk {
  background: #4680C2;
  color: white;
} 

.social .fa-paper-plane {
  background: #1897C9;
  color: #fff;
}

.social .fa {
  border-radius: 50%;
  font-size: 22px;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  width: 32px;
}

.social .fa:visited
{
	color: white;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #324a5e;
  border-color: #324a5e;
  color: #fff;
}

.outline {
	outline: 1px solid #dee2e6
	
}

.footer {
  font-size: 0.9375em;
  padding: 3em 0 1em;
}


.breadcrumb {
	margin-left: 0;
	background-color: transparent;
	padding-left: 0;
}

ul.trigger li::before {
	content: "";
	width: 8px;
	height: 8px;
	border: 2px solid #dc3545;
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	margin-top: -2px;
	margin-right: 10px;
}
ul.trigger {
	list-style: none;
	padding-left: 1.5em;
}

.list-arrow {
    margin-bottom: 8px;
    padding:0;
    list-style: none;
    counter-reset: li;
}    
.list-arrow li {
    position: relative;
    background: #fff;
    padding:10px 10px 10px 26px;
    margin:10px 0 10px 40px;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.list-arrow li:hover {
    background: #EFEFEF;
}
.list-arrow li:before {
    line-height: 32px;
    position: absolute;
    top: 4px;
    left:-40px;
    width:40px;
    text-align:center;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    background: #324A5E;
    counter-increment: li;
    content: counter(li);
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}
.list-arrow li:hover:before {
    width:46px;
}
.list-arrow li:after {
    position: absolute;
    left: 0;
    top: 4px;
    content: "";
    height: 0;
    width: 0;
    border: 16px solid transparent;
    border-left-color: #324A5E;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s
}
.list-arrow li:hover:after {
    margin-left: 6px;
}

/* promocode */

.promocode
{
 background:#dc3545;
 color: #fff;
 padding: 0.5em 1em;
}
.promocode a
{
 color: #fff;
}
.btn-sm {
 font-size: 90%;
 margin-left: 1em;
}


/* media */

@media (max-width: 990px)

{
	.h1, h1 {
		font-size: 2.25rem;
	}
	#analog ul {
		padding: 0;
	}
	ol, ul {
		padding: 0 1em;
	}
#overlay {
  width: 100%;
}
}

@media (min-width: 1281px)

{
	.container {
    max-width: 1366px;
}
}


/* --- COOKIE BANNER --- */


.cookie-banner
{
	align-items: flex-start;
	animation: slideIn 0.4s ease;
	background: #212529;
	border-radius: 8px;
	bottom: 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.15);
	color: #fff;
	display: flex;
	flex-direction: column;
	font-size: 13px;
	left: 20px;
	max-width: calc(100% - 0px);
	opacity: 1;
	padding: 16px 16px 12px;
	position: fixed;
	transition: opacity 0.4s, transform 0.4s;
	width: 300px;
	z-index: 9999;
}
.cookie-banner img.cookie-icon
{
	height: 40px;
	margin-bottom: 8px;
	width: 40px;
}
.cookie-banner .cookie-text
{
	line-height: 1.3;
	margin-bottom: 12px;
}
.cookie-banner .cookie-btn
{
	background: #fd5a18;
	border: none;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	padding: 6px 14px;
	transition: background 0.2s;
}
.cookie-banner .cookie-btn:hover
{
	background: #fff;
	color: #000;
}
.cookie-banner .cookie-close
{
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	position: absolute;
	right: 10px;
	top: 8px;
}
.cookie-banner .cookie-close:hover
{
	color: #fd5a18;
}
.cookie-banner a
{
	color: #fff;
}
@media (max-width: 768px)
{
	.cookie-banner
	{
		border-radius: 0;
		bottom: 0;
		left: 0;
		padding: 14px 16px 12px;
		width: 100%;
	}
}
@keyframes slideIn
{
	from
	{
		opacity: 0;
		transform: translateY(20px);
	}
	to
	{
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeOut
{
	from
	{
		opacity: 1;
		transform: translateY(0);
	}
	to
	{
		opacity: 0;
		transform: translateY(20px);
	}
}


/* SHARE-BUTTONS */

#share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.share-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 70px;
  height: 24px;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 3px;
  transition: background-color 0.15s, transform 0.15s;
  margin-right: 6px;
  margin-bottom: 6px;
}
.share-btn:last-child {
  margin-right: 0;
}
.share-btn:hover {

}

/* Цвета соцсетей */
.share-btn.vk    { background-color: #0077FF; }
.share-btn.vk:hover    { background-color: #3c5f87; }

.share-btn.ok    { background-color: #FF7700; }
.share-btn.ok:hover    { background-color: #d85e00; }

.share-btn.tg    { background-color: #0088cc; }
.share-btn.tg:hover    { background-color: #1d8ccf; }

.share-btn.wa    { background-color: #2cb742; }
.share-btn.wa:hover    { background-color: #1ebc57; }

.share-btn.copy  { background-color: #555; }
.share-btn.copy:hover  { background-color: #333; }

/* Тултип */
.share-btn {
  position: relative;
}

.share-btn::after {
  content: "Скопировано!";
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.share-btn.show-tooltip::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}


/* Адаптивность для мобильных */
@media (max-width: 480px) {
  #share-buttons {
    justify-content: left;
  }
  .share-btn {
    min-width: 60px;
    font-size: 12px;
    height: 28px;
  }
}