
.goroda {
opacity: 0.2;
}


body { 
     background: #ededed; 
     margin: 0px auto;
   
   
}

















.BigText {
 
padding-left: 7px;
padding-right: 5px;
}

.PhotoImg {


    text-align: center;
}


.PhotoImg img{

width: 50%;
hight: 50%;
}

.PhotoImgText {
padding-left: 50px;
padding-right: 50px;
font-size: 80%;

}


    .sign {
    
    
 margin: 5px 0 5px 0px;   /*  Отступы вокруг */
     
   }
   .sign figcaption {
  padding-top: 10px;  
padding-left: 70px;
padding-right: 70px;
font-size: 80%;
font-style: italic;

   }
    
 


p.bibliography {

font-weight: bolder;
font-style: italic;
letter-spacing: 3px;
}

.notes {
border-top: 1px solid maroon;
border-bottom: 1px solid maroon;
font-weight: normal;
font-style: italic;
letter-spacing: 1px;
}


#containerGrid {
    display: grid;
    grid-template-areas:
    "header header"
    "navbar navbar"
    "heading1 heading2"
    "navbarLiter ."
    
    
    "glossary authors"
    "footer footer";
   grid-template-rows: 50px 1fr 1fr 1fr 1fr 1fr;
   grid-template-columns: 2fr 20%; 
   height: 100vh;
   margin: 0px;
    grid-gap: 0px;
   
}

.header {
    grid-area: header;
    background: #ededed;
    height: 50px;
    font-size: 55%;
    display: flex;
    flex-flow: row wrap;
    max-width: 100%;
 
}

.header a {
  text-decoration: none;
  color: black;
}


.logo {
    
    position: absolute;
    top: 0px;
    right: 0px;
 
}

.logo img.colonia {
    width: 65px;
    height: 50px;
}


.name {
padding-left: 15px;
font-family:  "Georgia", serif;
letter-spacing: 5px;
font-weight: bolder;
color: #5e0909;


}





#navbar {
    grid-area: navbar;
    justify-content: space-around;
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    background:#d0d0d0;
    margin-top:0px;
    margin-bottom:0px;
    font-family: Geneva, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}


ul#navbar li {
    list-style-type: none;
    align-self:center;
    background:#d0d0d0;
    padding:5px;
    border-radius:5px;

}



#navbar a {
    color: black;
    padding: 5px;
    text-decoration: none;
    font-weight: normal;
    font-size: 70%;
    display: block;
    border-radius: 5px;
}

#navbar a:hover {
    border-radius: 5px;
    background-color: #fff;
    transition: 0.1s 0.1s;
    box-shadow: inset 0 0 11px rgba(0,0,0,0.5);
}


ul#navbar .vkNav li {
    background:#d0d0d0;
    display: none;
}

ul#navbar .vkNav li a:hover {
  
    background-color: #aeadbd;

}

ul#navbar .vkNav img {
    width:40px;
    height:40px;
    padding-top:9px;
}

#navbar li.selected 
       {
       background-color: #fff;
       border-radius: 5px;
       padding: 0px;
       box-shadow: inset 0 0 11px rgba(0,0,0,0.5);
       
}

.gallaryInd {
    text-align: center;
}

#ostrog_text li.selected a
       {
      color: red;
        text-decoration: underline;
       
}





h2 {
    
    text-decoration: underline;
}


#navbarLiter {
grid-area: navbarLiter;
 
justify-content: space-evenly;

display: flex;
 flex-flow: row wrap;
 color: black;
background: #fff;
margin-top:0px;
margin-bottom:0px;
font-family: Geneva, Arial, Helvetica, sans-serif;

}



ul#navbarLiter li {
list-style-type: none;
align-self:center;
background: #fff;
padding:5px;


}



#navbarLiter a {
  color: black;
  padding: 5px;
   
 text-underline-offset: 7px;
  font-weight: 100;

  font-size:95%;
display: block;

}

#navbarLiter a:hover {
  border-radius: 5px;
  background-color: #aeadbd;

}

.navbarLiter_text {
display: flex;
 flex-flow: row wrap;
justify-content: flex-start;
margin-right: 15px;
}



.heading1 {
    grid-area: heading1;
    background: #ededed;
    letter-spacing: 5px;
    text-align: center;
    font-size: 130%;
    padding-top: 10px;
border: solid 1px lightgrey;
 font-family:'lucida grande',tahoma,verdana,arial,sans-serif;
color: black;
}

.heading2 {
    grid-area: heading2;
    background: black;
    letter-spacing: 5px;
    text-align: center;
    font-size: 130%;
    padding-top: 10px;
color: white;
 font-family:'lucida grande',tahoma,verdana,arial,sans-serif;
}


.glossary {
     font-family:'lucida grande',tahoma,verdana,arial,sans-serif;
    grid-area: glossary;
    padding-left: 6px;
    
}

.name {
    font-weight: bold;
}


.ostrog  {
     font-family:'lucida grande',tahoma,verdana,arial,sans-serif;
    grid-area: authors;
    background: #ffffff;
    padding-right: 2px;
}

.ostrog ul li {
    list-style-type: none;
    line-height: 2em;
}




.ostrog ul li a {
    text-decoration: none;
    color: maroon;
}

.ostrog ul li a:hover {
    text-decoration: underline;
}


#ostrog_text {
    margin-right: 20px;
    
}

.footer {
    
    grid-area: footer;
    background: #25243d;
    color: white;
    text-align: center;
    padding-top: 25px;
    font-family: Geneva, Arial, Helvetica, sans-serif;
}


.footer2 {
    
    grid-area: footer2;
    background:#25243d;
    color: black;
    text-align: center;
    
}

.vk {
   
    border-top: solid 1ps #ededed;
}

/*в версиях более 600px скрываем блок со спойлерами*/
.block_item {
    display: none;
}


/*кнопки прокрутки вверх/вниз*/

.top {
position: fixed;
bottom: 100px;
right: 5px;
width: 50px;
height: 50px;
background: #aeadbd;
border-radius: 50%;
cursor: pointer;
opacity: 0.5;
box-shadow: inset 0 0 6px;
transition: opacity 0.1s 0.1s;
}

.top:hover {
    opacity: 1;
    transition: 0.1s 0.2s;
    
}

.topIn {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
  border: solid black;
  border-width: 0 6px 6px 0;
  display: inline-flex;
  padding: 8px;
}



.topCont {
    padding-top: 20px;
}



.down {
position: fixed;
bottom: 30px;
right: 5px;
width: 50px;
height: 50px;
background: #aeadbd;
border-radius: 50%;
cursor: pointer;
box-shadow: inset 0 0 6px;
opacity: 0.5;
}

.down:hover {
    opacity: 1;
    transition: 0.1s 0.1s;
    
}


.downIn {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  border: solid black;
  border-width: 0 6px 6px 0;
  display: inline-flex;
  padding: 8px;
}

.downCont {
    padding-top: 10px;
}

/*колонку с авторами делаем пошире
@media screen and (max-width: 1023px) {

#containerGrid {
    display: grid;
    grid-template-areas:
    "header header"
    "navbar navbar"
    "heading1 heading2"
    "navbarLiter ."
    
    
    "glossary authors"
    "footer footer";
   grid-template-rows: 50px 1fr 1fr 1fr 1fr 1fr;
   grid-template-columns: 2fr 1fr; 
   height: 100vh;
   margin: 0px;
    grid-gap: 0px;
   
}




}
*/

/*колонку с авторами га больших экранах делаем уже*/
@media screen and (min-width: 701px) {

#containerGrid {
    display: grid;
    grid-template-areas:
    "header header"
    "navbar navbar"
    "heading2 heading2"
    "navbarLiter ."
    
    
    "glossary authors"
    "footer footer";
   grid-template-rows: 50px 1fr 1fr 1fr 1fr 1fr;
   grid-template-columns: 2fr 1fr; 
   height: 100vh;
   margin: 0px;
    grid-gap: 0px;
   
}
.heading2 {
    display: none;
    margin-top: 0px;
}

}


@media screen and (min-width: 801px) {

#containerGrid {
    display: grid;
    grid-template-areas:
    "header header"
    "navbar navbar"
    "heading2 heading2"
    "navbarLiter ."
    
    
    "glossary authors"
    "footer footer";
   grid-template-rows: 50px 1fr 1fr 1fr 1fr 1fr;
   grid-template-columns: 2fr 25%; 
   height: 100vh;
   margin: 0px;
    grid-gap: 0px;
   
}
.heading2 {
    display: none;
    margin-top: 0px;
}



}

@media screen and (min-width: 1024px) {

#containerGrid {
    display: grid;
    grid-template-areas:
    "header header"
    "navbar navbar"
    "heading2 heading2"
    "navbarLiter ."
    
    
    "glossary authors"
    "footer footer";
   grid-template-rows: 50px 1fr 1fr 1fr 1fr 1fr;
   grid-template-columns: 1fr 20%; 
   height: 100vh;
   margin: 0px;
    grid-gap: 0px;
   
}
.heading2 {
    display: none;
    margin-top: 0px;
}

.glossary {

margin-left: 200px;
margin-right: 200px;

}

.BigText {
border-left: 1px solid maroon;
border-right: 1px solid maroon;
padding-left: 10px;
padding-right: 10px;
}


    .sign {
    float: right; /* Выравнивание по правому краю */
    
 margin: 5px 0 5px 0px;   /*  Отступы вокруг */
     
   }
   .sign figcaption {
    
padding-left: 70px;
padding-right: 70px;
font-size: 80%;
   }
    
 
}


@media screen and (min-width: 1366px) {

#containerGrid {
    display: grid;
    grid-template-areas:
    "header header"
    "navbar navbar"
    "heading2 heading2"
    "navbarLiter ."
    
    
    "glossary authors"
    "footer footer";
   grid-template-rows: 50px 1fr 1fr 1fr 1fr 1fr;
   grid-template-columns: 1fr 14%; 
   height: 100vh;
   margin: 0px;
    grid-gap: 0px;
   
}
.heading2 {
    display: none;
    margin-top: 0px;
}

.PhotoImg img{

width: 40%;
hight: 40%;
}




}


@media screen and (min-width: 1536px) {

.glossary {

margin-left: 300px;
margin-right: 300px;

}

.BigText {
border-left: 1px solid maroon;
border-right: 1px solid maroon;
padding-left: 10px;
padding-right: 10px;
}



}

@media screen and (max-width: 700px) {



.logo {
    
    position: absolute;
    top: 0px;
    right: 0px;
 
}

.block_item {
    display: block;
}


#navbar {

justify-content: flex-start;
padding-top: 10px;
}





.navbarLiter_text {
display: flex;
 flex-flow: row wrap;
justify-content: center;
margin-right: 40px;

}




#containerGrid {
    display: grid;
    grid-template-areas:
       "header"
    "navbar"
    "heading2"
    "heading1"
    "navbarLiter"
    "glossary"
    "authors"
    "footer";
   grid-template-rows: 50px 1fr 1fr 1fr 1fr 1fr;
   grid-template-columns: 1fr; 
   height: 100vh;
   margin: 0px auto;
    grid-gap: 0px;
    
}





h2{
    font-size: 200%;
}

.heading1 {
    grid-area: heading1;
    background: #f5f5f7;
    text-align: center;
    font-size: 100%;
    padding: 8px 0px 8px 0px;
    color: maroon;
    text-transform: uppercase;
  letter-spacing: 2px;
}

.heading2 {
    grid-area: heading2;
    background: #f5f5f7;
    text-align: center;
    font-size: 100%;
    padding-top: 10px;
    color: white;
}

.ostrog ul {
    
}



.ostrog ul li a{
    font-size: 115%;
    
}
.ostrog ul li {
line-height: 3em;
}




.block_item {
  margin: 0px 0px 8px 0px;
  cursor: pointer;
}



.block_title {
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding: 0px 0px 0px 0px;
}



.block_title:before,
.block_title:after{
  content: "";
  width: 10px;
  height: 1px;
  background-color: black;
  position: absolute;
  top: 8px;
  margin-left: 70px;
  
  
}

.block_title:before {
  transform: rotate(40deg);
  left: 0;
}

.block_title:after {
  transform: rotate(-40deg);
  left: 8px;
 
}

.block_title.active:before,
.block_title.active:after{
  background-color: red;
}

.block_title.active:before {
  transform: rotate(-40deg);
  left: 0;
}

.block_title.active:after{
  transform: rotate(40deg);
  left: 8;
}

.block_text {
  padding: 10px 0px 0px 0px;
  display: none;

}

.ostrog {
    display: none;
}

.Name_heading2 {
    display: none;
}

.block_text ul li {
    list-style-type: none;
    text-align: left;
    line-height: 2em;
}

.block_text ul li a {
text-decoration: none;
color: maroon;
}

.block_text ul li a:hover {
text-decoration: underline;
}




.top {
position: fixed;
bottom: 120px;
right: 20px;
width: 60px;
height: 60px;
background: #ededed;
border-radius: 50%;
cursor: pointer;
box-shadow: inset 0 0 16px;
transition: opacity 0.1s 0.1s;
}

.top:hover {
    opacity: 1;
    transition: 0.1s 0.2s;
    background: #aeadbd;
}

.topIn {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
  border: solid black;
  border-width: 0 6px 6px 0;
  display: inline-flex;
  padding: 8px;
}

.topCont {
    padding-top: 25px;
}

.down {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background: #aeadbd;
border-radius: 50%;
cursor: pointer;
box-shadow: inset 0 0 6px;
}

.down:hover {
    opacity: 1;
    transition: 0.1s 0.2s;
    
}

.downIn {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  border: solid black;
  border-width: 0 6px 6px 0;
  display: inline-flex;
  padding: 8px;
}

.downCont {
    padding-top: 15px;
}





}

@media screen and (max-width: 414px) {
.block_title:before,
.block_title:after{
  content: "";
  width: 10px;
  height: 1px;
  background-color: black;
  position: absolute;
  top: 8px;
  margin-left: 20px;
}
}

@media screen and (max-width: 1023px) {

.PhotoImg img{

width: 70%;
hight: 70%;
}
}

