@charset "UTF-8";
/*!
 * https://unatka.ru
 * Copyright © 2013 - 2020 Родионова Галина Евгеньевна
 */
#base-wrapper {
  display: grid;
  grid-template-columns: 1% 43% 25% 18% 4% 1%;
  /*1-2-4px 2-3-domen 3-4-nav 4-5twice 5-6-forvideo 6-7 7-8 8-9 9-10 10-11 11-12 12-1 13-14 14-15-4px*/
  grid-template-rows: 4px auto  auto auto auto auto  auto auto  auto auto auto auto auto 4px;
  grid-gap: 8px; 
}

.domen {
  grid-column: 1/6;
  grid-row: 2/3;
  display: grid;
  grid-template-columns: 1% 48px 1fr 1fr 1fr 1%;
  grid-template-rows: 48px;
  align-items: center; }

#logo {
  grid-column: 2/3;
  grid-row: 1/2; }

.name {
  grid-column: 3/4;
  grid-row: 1/2; }

.about {
  grid-column: 4/5;
  grid-row: 1/2;
  justify-self: center; }

.up {
  grid-column: 5/6;
  grid-row: 1/2;
  justify-self: center; }

.arrow-up-down {
  grid-column: 5/6;
  grid-row: 2/11; }

nav {
  grid-column: 2/5;
  grid-row: 3/4;
  display: flex;
  justify-content: space-between; }
/*CHANGE*/
#twice {
  grid-column: 2/5;
  grid-row: 4/5;
  display: flex;
  justify-content: space-between; }
/*dop*/  
#forvideo {
  grid-column: 2/5;
  grid-row: 5/6;
  display: grid;
  grid-template-columns: 1% 55% 1fr 1%;
  grid-template-rows: auto; }

#video {
  grid-column: 2/3;
  grid-row: 1/2; }

.chapter {
  grid-column: 3/4;
  grid-row: 1/2;
  justify-self: end; }

main {
  grid-column: 2/5;
  grid-row: 6/7;
  display: grid;
  grid-template-columns: 1% 47% 47% 1%;
  grid-template-rows: auto auto auto auto;
  grid-gap: 8px; }

.header {
  grid-column: 2/4;
  grid-row: 1/2; }


#anchor {
  grid-column: 2/4;
  grid-row: 2/3;
  display: flex;
  justify-content: space-around; }

article {
  grid-column: 2/4;
  grid-row: 3/4; }

#address {
  grid-column: 2/3;
  grid-row: 4/5; }

#time {
  grid-column: 3/4;
  grid-row: 4/5; }

#double {
  grid-column: 2/5;
  grid-row: 7/8;
  display: grid;
  grid-template-columns: 1% 47% 1fr 1%;
  grid-gap: 8px;
  align-items: center; }

#download {
  grid-column: 2/3;
  grid-row: 1/2; }

#commentary {
  grid-column: 3/4;
  grid-row: 1/2; }

#arrow {
  grid-column: 2/5;
  grid-row: 8/9;
  display: flex;
  justify-content: space-between; }

#reccomend {
  grid-column: 2/5;
  grid-row: 9/10; 
  display: flex;
  justify-content: space-between;
  }

menu {
  grid-column: 2/6;
  grid-row: 10/11; }

#comments {
  grid-column: 2/6;
  grid-row: 11/12; }

footer {
  grid-column: 2/6;
  grid-row: 12/13;
  display: flex;
  justify-content: space-between; }

#warn {
  grid-column: 2/6;
  grid-row: 13/14; }

/*@mixin just {

    justify-content: space-between;
}*/
/*Гарнитура шрифта, цвет шрифта, размер шрифта*/
.button1 {
  background-image: linear-gradient(to top, #0bb030, #e3f4ff);
  color: #333333;
  font-family: Century Schoolbook L, Georgia, Charcoal, serif;
  font-size: 16px;
  font-weight: bold;
  /*text-shadow: #fff -1px -1px 0, #333 1px 1px 0;*/
  box-shadow: inset 0 0 6px rgba(18, 9, 10, 0.3);
  box-shadow: 4px 4px 12px rgba(18, 9, 10, 0.8);
  border-radius: 6px;
  padding-top: 10px;
  padding-right: 14px;
  padding-bottom: 10px; }

.button:hover {
  background: rgba(255, 249, 227, 0.5);
  color: #ffffff;
  font-size: 12px;
  text-shadow: rgba(255, 255, 255, 0.5) -1px -1px 0, #333 1px 1px 0;
  background-image: linear-gradient(to top, #e3f4ff, rgba(18, 9, 10, 0.3));
  box-shadow: inset 0 0 6px rgba(18, 9, 10, 0.3);
  box-shadow: 2px 2px 6px rgba(18, 9, 10, 0.8);
  border-radius: 6px;
  padding: 10px; }

.button:active {
  background-color: #330000;
  color: #ffffff;
  border-radius: 6px;
  padding: 10px; }

.button {
  background-image: linear-gradient(to top, #003300, #393);
  color: #c96;
  font-family: liberation Sans,Georgia,Charcoal,serif;
  font-size: 12px;
  font-weight: bold;
  border-radius: 6px;
  padding: 10px; }

/*Adaptation*/
@media all and (max-width: 600px) {
  .nav ul, ul.anchor, .comment, #menu ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; }
  table {
    font-size: 10px; }
    
  .button {
  font-size: 10px;
  width: 70%;}
  
  pre[class*="language-"] {
   font-size: 12px;
  }
  pre code{
   font-size: 12px;
  }
  .warn.warn-act {
  flex-direction: column;
  width: 78%;
  }
 
  }

/*Styles*/
.unionrules {
  margin: 0 auto;
  background-color: #ffffff;
  color: #485151;
  font-size: 16px;
  font-family: Liberation Sans,Arial, Helvetica, sans-serif;
  hyphens: auto; }

#logo img {
  width: 94%; }

.about p {
  margin-left: 20px;
}

.second-button {
  font-family: Liberation Sans Narrow;
  font-size: 12px;
  color: #402B95; 
  }

.up {
  font-family: Liberation Mono;
  font-size: 10px; }

h1, h2, h3, h4, summary {
  font-family: Liberation Serif,Times New Roman, Times, serif;
  color: #0A3300; }

.anchor {
  list-style-image: url(/images/anchor-24.svg); }

.nav ul, #menu ul {
  list-style: none; }

.nav ul li a, #menu ul, .login {
  text-decoration: none; }

.nav ul,
#menu ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; }

#menu ul li ul {
  display: block; }

.name {
  text-decoration: none;
  color: #0A3300; 
  font-size: 20px;
  font-weight: bold;}

a {
  font-family: Liberation Sans Narrow;
  font-size: 16px;
  color: #402B95; }

a:hover, #menu {
  border: 1px solid #339933;
  background-color: #0A3300;
  color: #ffffff; }

#menu h4 {
  color: #ffffff; }
  
#menu ul a,#menu ul li a {
  color: #65CDCD; }
  
.unionrules,
.nav ul li,
.nav ul li a,
.nav ul li a:hover,
.nav ul li a:visited,
#menu,
#menu ul li,
.main ul li,
.main ul li a,
main ul li a:hover,
.login,
.comment,
.arrow,
.arrow div p,
#reccomend ul li,
.footer ul li {
  padding-top: 20px;
  padding-right: 12px;
  padding-bottom: 10px; }

.namesize {
  font-size: 20px;
  font-weight: bold; }

.main ul li {
  margin-left: 14px; }

.chapter p {
  font-size: 12px; }

.login {
  font-family: Liberation Mono;
  font-size: 10px;
  color: #330000; }

.forfieldset, #menu {
  box-shadow: 4px 4px 12px rgba(18, 9, 10, 0.8); }
  
   /*CHANGE*/
 
a.close {
	padding: 20px;
    margin-left: 1%;
    position: fixed;
    top: 0;
    z-index: 30;
    font-size: 24px;
    font-weight: bold;
    color: red;
    text-decoration: none;
}
.forfieldset {
  font-size: 14px;
  font-family: Liberation Sans,Arial, Helvetica, sans-serif;
  width: min-content;
  }
	
.navup, .navdown, summary, #arrow p, .button, .panel span, a.close, .closeiframe  {
  cursor: pointer; }

.navup {
  bottom: 12px;
  display: none;
  font-size: 32px;
  right: 2%;
  position: fixed; }

.navdown {
  display: none;
  font-size: 32px;
  right: 2%;
  position: fixed;
  top: 12px; }

.panel {
  width: 80%;
  background-color: rgba(25, 252, 76, 0.5);
  border: 2px solid #333333;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10; }

.panel span {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #b00012;
  width: auto;
  height: auto; }

.panel div {
  margin-top: 32px;
  margin-left: 8px;
  background-color: #e3f4ff;
  color: #12090a; }

.panel div p {
  margin-left: 8px; }

.panel div a {
  color: blue; }
.footer, .footer ul li a  {
  font-size: 10px;
}
.footer ul, .footer div {
  width: 35%; 
  }

.footer address {
  padding: 12px; }

.video {
  width: 98%;
  height: auto; }

#arrow p i, span i {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px; }

#menu span i {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px; }

#arrow i.right {
  transform: rotate(-45deg); }

#arrow i.left {
  transform: rotate(135deg); }

#menu span i.up {
  transform: rotate(-135deg); }

#menu span i.up.activ {
  transform: rotate(45deg); }

#menu span i.down {
  transform: rotate(45deg); }

 
figure.image-style-side {
    width: 45%;
    height: auto;
    float:right; } 
      
figure.image {
    width: 90%;
    height: auto; } 
    
figure.image img {
    width: 90%;
    height: auto; }   

.ya-share2__link {
  margin-top: 20px;
  margin-left: 20px; }
  
  /*New CHANGE*/

div#linkform {
    width: 35%; }
.modalDialog {
	position:fixed;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background: rgba(0,0,0,0.7);
	z-index: 99999;
	transition:opasity 400ms ease-in;
	display:none;
	pointer-events:none;
}

.modalDialog:target{
	display:block;
	pointer-events:auto;
}
.modalDialog div {
	width:80%;
	position:relative;
	margin: 10% auto;
	padding: 20px;
	border-radius:20px;
	background:#FFF;
}
.textarea {
    width: 80%;
    height: 200px;
}
figcaption {
    text-align:center;
}

p img {
    width: 90%;
    height: auto;
}  
.warn {
    position: fixed;
    bottom: 0;
    left: 26px;
    display:none;
    justify-content: space-around;
    width: 86%;
    padding: 15px;
    background-color: #E0C09F;
}

.warn-act {
    display: flex;
}
.warn-text {
    margin: 20px;
    font-size: 12px;
}
.warn-list {
    padding: 30px;
}
#mask{
background: darkgreen;
  height: 100%;
  opacity: 0.9;
  position: fixed;
  width: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  color: #333333;
  font-size: 16px;
  font-family: Liberation Sans,Arial, Helvetica, sans-serif;
  hyphens: auto;
  display: none;
}
#sheet {
display:flex;
flex-direction: column;
background-color: darkgreen;
  height: auto;
  position: fixed;
  top: 20px;
  left: 3%;
  width: 80%;
  z-index: 20;
}
#forbutton p {
  padding: 30px;
  margin-left: 40px;
}

iframe { 
    height: 340px;
    border: none;
    }
button { 
    padding: 30px;
    cursor: progress;
    }

.insheet { 
	padding: 10px;
	background-color: darkgrey;
	margin-bottom: 30px;
	border-radius: 10px;
}
#resmessage {
    background-color: darkgrey;
    border-radius: 10px;
    }
#message-gr, #message-nmb {
 display: none;
}
/*a.closeiframe {
    padding: 20px;
    margin-left: 60%;
    position: fixed;
    top: 0;
    z-index: 30;
    font-size: 24px;
    font-weight: bold;
    color: red;
    text-decoration: none;
}*/

/* PrismJS 1.29.0
https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+c+markup-templating+php+sql&plugins=show-language+unescaped-markup+toolbar+copy-to-clipboard */
/**
 * okaidia theme for JavaScript, CSS and HTML
 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
 * @author ocodia
 */

code[class*="language-"],
pre[class*="language-"] {
	color: #f8f8f2;
	background: none;
	text-shadow: 0 1px rgba(0, 0, 0, 0.3);
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	/*font-size: 1em;*/
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;
	border-radius: 0.3em;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: #272822;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: .1em;
	border-radius: .3em;
	white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #8292a2;
}

.token.punctuation {
	color: #f8f8f2;
}

.token.namespace {
	opacity: .7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
	color: #f92672;
}

.token.boolean,
.token.number {
	color: #ae81ff;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: #a6e22e;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
	color: #f8f8f2;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
	color: #e6db74;
}

.token.keyword {
	color: #66d9ef;
}

.token.regex,
.token.important {
	color: #fd971f;
}

.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}

div.code-toolbar {
	position: relative;
}

div.code-toolbar > .toolbar {
	position: absolute;
	z-index: 10;
	top: .3em;
	right: .2em;
	transition: opacity 0.3s ease-in-out;
	opacity: 1;
}

div.code-toolbar:hover > .toolbar {
	opacity: 1;
}

/* Separate line b/c rules are thrown out if selector is invalid.
   IE11 and old Edge versions don't support :focus-within. */
div.code-toolbar:focus-within > .toolbar {
	opacity: 1;
}

div.code-toolbar > .toolbar > .toolbar-item {
	display: inline-block;
}

div.code-toolbar > .toolbar > .toolbar-item > a {
	cursor: pointer;
}

div.code-toolbar > .toolbar > .toolbar-item > button {
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	line-height: normal;
	overflow: visible;
	padding: 10px;
	margin-right: 10px;
	-webkit-user-select: none; /* for button */
	-moz-user-select: none;
	-ms-user-select: none;
}

div.code-toolbar > .toolbar > .toolbar-item > a,
div.code-toolbar > .toolbar > .toolbar-item > button,
div.code-toolbar > .toolbar > .toolbar-item > span {
	color: #bbb;
	font-size: .8em;
	padding: 10px;
	background: #f5f2f0;
	background: rgba(224, 224, 224, 0.2);
	box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
	border-radius: .5em;
}

div.code-toolbar > .toolbar > .toolbar-item > a:hover,
div.code-toolbar > .toolbar > .toolbar-item > a:focus,
div.code-toolbar > .toolbar > .toolbar-item > button:hover,
div.code-toolbar > .toolbar > .toolbar-item > button:focus,
div.code-toolbar > .toolbar > .toolbar-item > span:hover,
div.code-toolbar > .toolbar > .toolbar-item > span:focus {
	color: inherit;
	text-decoration: none;
}

/* Fallback, in case JS does not run, to ensure the code is at least visible */
[class*='lang-'] script[type='text/plain'],
[class*='language-'] script[type='text/plain'],
script[type='text/plain'][class*='lang-'],
script[type='text/plain'][class*='language-'] {
	display: block;
	font: 100% Consolas, Monaco, monospace;
	white-space: pre;
	overflow: auto;
}
