body, html {
    height: 95%;
}


/* Переопределение стилей в медиазапросах */
@media only all and (max-width:800px) {
    #leftColumn {
        display: inline-block;
        visibility: collapse;
        position: fixed;
        background: url('Pict/swipe.png') #ffffff no-repeat fixed; /*rgba(0,0,0,0.2)*/
        z-index: 1;
    }

    .left_swap {
        display: block;
        visibility: visible;
        position: fixed;
        border: 2px;
        text-align: center;
        /*vertical-align: top;*/
        left: 0;
        top: 0;
        width: 50px;
        height: 100%;
        /*flex: 1;
        z-index: 6;*/
        /*background: content-box fixed no-repeat rgba(0,0,0,0.2); rgba(0,0,0,0.25)*/
        padding-right: 30px;
    }

    #swapBlock {
        display: inline-block;
        /*background: url('/Pict/swipeWhite.png') fixed no-repeat rgba(0,0,0,0.3);
        visibility: visible;
        position: fixed;*/
    }

    #wrapper {
        padding-left: 50px;
    }
}

@media only screen and (max-width:720px) {
    .footer_block {
        display: inline-block;
        width: 96%;
        
    }

}

.panel_Indentation {
    margin-top: 5px;
    margin-bottom: 5px;
}

/*@media only screen and (min-width : 800px) {
         .left_side 
    {
        display: block !important;
    }
}*/

/*Пример бэкграундс*/
/*<input type=button value=Click class=click>
<div class=background1></div>*/
/*.background1 {    background: url(#; no-repeat; width:500px; height:500px
}
.click:focus ~ .background1 {
    background: url(#; no-repeat; width:500px; height:500px
}*/

.left_swap {
    /*display: none;*/ /* По умолчанию блок не виден,
	он показывается, если срабатывает медиазапрос*/
    display: none;
    border: 2px;
    text-align: center;
    vertical-align: top;
    position: fixed;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    /*flex: 1;*/
    z-index: 100;
    background: center 20px no-repeat rgba(0,0,0,0.2); /*rgba(0,0,0,0.2)*/
}

/* Стили основного блока */
.wrapper {
    left: 0;
    top: 0;
    height: 100%;/*208px*/
    font-family: 'trixiecyr-plain';
    position: absolute;
    background: none;
    max-height: 100%;
    min-height: 45%;
    max-width: 100%;
    min-width: 25%;
    padding-left: 230px;
    padding-right: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

    .wrapper a {
        color: #576a6f;
    }

        .wrapper a:hover {
            color: #1d282b;
        }


/*СТРУКТУРА СТРАНИЦЫ====================СТРУКТУРА СТРАНИЦЫ*/
/**{
	margin: 0 0 0 0;
	padding: 0;
}*/

body {
    display: flex;
    flex-direction: column;
    min-height: 95vh; /* высота веб-страницы больше или равна высоте окна браузера */
    margin: 1em;
    font-family: buxton_sketch, tds_moster, trixiecyr-plain, comic_relief, gabriola, sans-serif;
    font-size: 15px;
    background: none;
    line-height: 18px;
    border-width: 5px;
    border-radius: 10em 0 5em 2em;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.2) inset;
    quotes: '«' '»';
    /*#dfe2e3*/
}
/* если содержимое body меньше высоты окна, то main будет растянут до нужной величины */
main {
    flex: 1;
}

html {
    width: 100%;
    height: 95%;
    background: none;
    line-height: 18px;
    border-width: 5px;
    border-radius: 10em 0 5em 2em;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.1) inset;
    quotes: '«' '»';
}
/*#72898f*/
/*border-color: #663300;*/

a:link {
    color: #576a6f;
    text-decoration: underline;
    font-weight: bold;
}

a:active {
    color: red;
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    color: purple;
    text-decoration: none;
    font-weight: bold;
}

a:visited {
    color: purple;
    text-decoration: none;
    font-weight: normal;
}

/*Обётка*/
#wrapperColumn {
    display: table;
    font-family: buxton_sketch;
    vertical-align: top;
    margin: 1em;
    padding: 1em;
    height: 90vh;
    flex: 1;
    width: 95%;
    /*border: 2px solid black;*/
}


/*Левый столбец*/
#leftColumn {
    display: table-cell;
    text-align: center;
    background: none;
    /*position: fixed;*/
    left: 0;
    top: 0;
    z-index: 1;
    vertical-align: top;
    height: 80vh;
    flex: 1;
    width: 7%;
    box-shadow: rgba(0,0,0,0.1) 0.3em 0 0 0;
    padding-top: 3em;
    padding-left: 0;
    padding-right: 2em;
    /*margin: 10px 75% 10px 10px;
    margin-right: 1em;*/
    /*border: 2px solid red;*/
}
/*Центральный столбец*/
#centerColumn {
    display: table-cell;
    position: relative;
    text-align: left;
    vertical-align: top;
    /*height: 90%;*/
    width: 99%;
    /*flex: 1;*/
    /*margin-left: 3em;*/
    padding-left: 2em;
    /*margin-bottom: -5em;*/
    /*border: 2px solid yellow;*/
}
/*Заголовок центрального столбца*/
#titleColumn {
    display: inline-block;
    background: url('Pict/Curl.png') fixed no-repeat;
    font-family: 'myPT';
    height: 12%;
    width: 98%;
    margin: 1em;
    /*padding-bottom: 1em;*/
    /*border: 2px solid orange; vertical-align: top;*/
}
/*Главный блок*/
#generalBlock {
    display: block;
    position: relative;
    background-repeat: no-repeat;
    background-color: transparent;
    background: url('Pict/rope.jpg') left top repeat-x;
    height: 88%;
    width: 99%;
    padding-left: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    box-shadow: #576a6f 0.3em 0.3em 0.3em 0;
    top: 0px;
    left: -19px;
}

/*#HeadLine {
}*/

#General {
    height: 100%;
    width: 100%;
}
/*Подвал*/
#footerBlock {
    /*display: table-footer-group;*/
    display: inline-block;
    position: fixed;
    background-color: white;
    opacity: 1;
    /*float: right;*/
    right: 0;
    height: 5%;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    bottom: 0;
    z-index:5;
    /*border: 2px solid orange;*/
}
/*Копирайт*/
#copyright {
    display: block;
    width: 98%;
    float: left;
    /*vertical-align: top;*/
    z-index: 95;
    /*border: 2px solid orange;*/
}
/*Фоны*/
#backgrounds {
    display: table-cell;
    width: 55%;
    /*float: right;*/
    text-align: right;
    padding-right: 1em;
    /*border: 2px solid orange;*/
}
/*СТРУКТУРА СТРАНИЦЫ====================СТРУКТУРА СТРАНИЦЫ*/

/*ЭЛЕМЕНТЫ СТРУКТУРЫ=============================================================>ЭЛЕМЕНТЫ СТРУКТУРЫ*/

/*РАДИУС============================================РАДИУС*/
.radius {
    /*border: 2px solid CornflowerBlue;*/
    border-radius: 25%;
}
/*РАДИУС============================================РАДИУС*/
/*ЛОГОТИП==========================================ЛОГОТИП*/
.logo {
    display: block;
    background: url('Photos/BEPSmall.png') no-repeat center top;
    height: 11em;
    width: 125px;
    margin-left: 65px;
    z-index: 2;
}

    .logo:hover { /* при наведении курсора мышки */
        background: url('Photos/BEPSmallSep.png') no-repeat center top;
        z-index: 2;
   }

/*.logo:focus {  при фокусе, то есть период между щелчком по элементу (неважно правой или левой клавишей мышки) и щелчком вне элемента 
        background: url('Photos/BEPSmallSep.png') no-repeat center top;
    }

    .logo:active {  пока элемент активен, то есть пока нажата правая кнопка мышки 
        background: url('Photos/BEPSmallSep.png') no-repeat center top;
    }*/

.logotype {
    display: block;
    text-align: center;
    font-family: trixiecyr-plain;
    font-weight: bold;
    font-size: 1.2em;
    color: #576a6f;
    margin-left: 36px;
}

    .logotype:hover { /* при наведении курсора мышки */
        color: brown;
    }

    .logotype:active { /* пока элемент активен, то есть пока нажата правая кнопка мышки */
        color: none;
    }

    .logotype:focus { /* при фокусе, то есть период между щелчком по элементу (неважно правой или левой клавишей мышки) и щелчком вне элемента */
        color: none;
    }
/*ЛОГОТИП==========================================ЛОГОТИП*/

/*МЕНЮ================================================МЕНЮ*/
.menu {
    /*list-style-type: none;*/
    text-align: left;
    font-family: trixiecyr-plain;
    font-size: 1.2em;
    color: black;
    /*width: 133px;*/
}

    .menu li a:link {
        color: #1d282f; /*ff6a00*/
        text-decoration: none;
        font-family: trixiecyr-plain;
        font-size: 24px;
        font-weight: bold;
        /*margin-left: 0.1em;*/
        margin-top: 0.3em;
    }

    .menu li a:visited {
        color: orange; /* Цвет посещённых ссылок */
    }

    .menu li a:active {
        color: #f00; /* Цвет активной ссылки */
    }

    .menu li a:hover {
        background: linear-gradient(#ffffff, #576a6f);
        height: 1em;
        text-decoration: solid underline saddlebrown;
        color: saddlebrown;
        font-weight: bold;
    }

.leftMiniMenu {
    display: block;
    position: absolute;
    background: no-repeat fixed rgba(200,200,200,1);
    /*background-color: rgba(0,0,0,2);*/
    color: antiquewhite;
    border: 2px outset brown;
    border-radius: 0 2em 1em 1em;
    line-height: 170%;
    margin-left: 1.0em;
    margin-right: 0.5em;
    padding-left: 1.2em;
    padding-right: 0.8em;
    font-family: trixiecyr-plain;
    font-size: 1em;
    font-weight: bolder;
    text-align: left;
    text-decoration: none;
    list-style-type: disc;
    z-index: 100;
}

    .leftMiniMenu li a:link {
        color: lightslategray; /*#576a6f;*/
    }

    .leftMiniMenu li a:visited {
        color: orange; /* Цвет посещённых ссылок */
    }

    .leftMiniMenu li a:active {
        color: #f00; /* Цвет активной ссылки */
    }

    .leftMiniMenu li a:hover {
        background: linear-gradient(#ffffff, #576a6f);
        height: 1.5em;
        text-decoration: navy solid underline;
        color: saddlebrown;
    }

#imgLitle {
    margin-top: 12px;
    margin-left: -12px;
}
/*МЕНЮ================================================МЕНЮ*/
/*ПАНЕЛЬ ГЛАВНОЙ СТРАНИЦЫ==========>ПАНЕЛЬ ГЛАВНОЙ СТРАНИЦЫ*/
.generalPanel {
    position: relative;
    height: 85%;
    margin-bottom: 12px; 
    border-bottom-color: gray;
    top: 7px;
    left: 3px;
    width: 1360px;
    border-bottom: 2px double brown;
    width: 100%;
    height: 100%;
    z-index: 0;
}
/*ПАНЕЛЬ ГЛАВНОЙ СТРАНИЦЫ==========<ПАНЕЛЬ ГЛАВНОЙ СТРАНИЦЫ*/
.hrHead {
    z-index: 0;
}

.hrRope {
    outline-style: outset;
    outline-color: brown;
    outline-width: 6px;
}

.hrDotted {
    outline-style: dotted;
    outline-color: purple;
    outline-width: 0.1px;
}
.roupeStyle {
    height: 6px;
    width: 97%;
}

#booksBlock{
   position: relative; 
   height: 72%; 
   margin-bottom: 12px;
   z-index: 1;
}
/*ОФОРМЛЕНИЕ: фоны, тени и бордюры==================================>ОФОРМЛЕНИЕ: фоны, тени и бордюры*/
.spanBackgroundRope {
    background: url('..Pict/rope.jpg') left bottom repeat-x;
    background-size: 1px;
}

.shadow {
    box-shadow: 0 0 20px 12px rgba(0,0,0,0.5);
    text-anchor: middle;
}

.shadowRB {
    box-shadow: 0 0 0, 20px, 20px, 0 rgba(0,0,0,0.5);
}

.shadowFilter {
    /*-webkit-filter: drop-shadow(0 0 3px rgba(100,0,0,0.5));*/
    filter: drop-shadow(0 3px 3px rgba(100,0,0,0.5));
}

#fnsWrapp {
    position: absolute;
    bottom: 1em;
    right: -1000px;/*0*/
    /*-webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;*/
    /*left: 1607px;*/
    /*opacity: .6;*/
    z-index: 0;
}
/*Фоны*/
#arrow {
    right: -1000px;/*0*/
}

#bcgrd {
    position: fixed;
    /*bottom: 1em;*/
    right: -30000px;
    /*-webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
    transition-delay: 0.1s;
    -webkit-transition-duration: 5s;
    -moz-transition-duration: 5s;
    -o-transition-duration: 5s;
    transition-duration: 5s;
    -webkit-transition-property: all right  ;
    -o-transition-property: right;
    -moz-transition-property: right;
    transition-property: right;*/
    transition-timing-function: ease-out;
    transition-duration: 1s;
    z-index: 3;
    text-align: left;
}

/*#fnsWrapp:hover {
    background: linear-gradient(to left, antiquewhite, azure);
    opacity: .7;
    right: 0;
    z-index: 0;
}*/

    /*#fnsWrapp:hover #bcgrd {
        right: 40px;
        z-index: 0;
    }*/

    /*#fnsWrapp:hover #arrow {
        right: 0;
    }*/
/*margin-right: -37px; Возвращаем из далекого заэкранного края блок на место*/

/*Бордюр маленьких изображений*/
.imgSmallBorder {
    border: 2px solid brown;
}

/*ОФОРМЛЕНИЕ: фоны, тени и бордюры==================================>ОФОРМЛЕНИЕ: фоны, тени и бордюры*/

/*Указатели==============================================>*/
/*#arrow {
    position: relative;
    cursor: help;
    height: 35px;
    width: 35px;
}*/

#arrow span {
    /*position: absolute; Выводим элемент из потока*/
    /*margin-right: 10000px; И прячем далеко за краем экрана*/
    display: block;
    transform: scale(1);
}

.arrow:hover span { /*При наведении*/
    position: absolute;
    display: none;
    visibility: hidden;
}
/*Указатели==============================================<*/


/*ЗАГОЛОВКИ======================================>ЗАГОЛОВКИ*/
/*ЗАГОЛОВКИ======================================<ЗАГОЛОВКИ*/

/*БЛОКИ==============================================>БЛОКИ*/
p {
    text-indent: 46px;
    text-align: justify;
}

h6 {
    text-indent: 58px;
    text-align: left;
}
/*ТРАНСФОРМАЦИИ===============================>ТРАНСФОРМАЦИИ*/

/*Увеличение изображения=============> Увеличение изображения*/
.imageMagnification {
    transform: scale(1);
    /*transition: 2s;*/
    position: relative;
    padding: 6px;
    margin: 6px;
    height: 50px;
    border: solid purple;
    cursor: move;
    transition: all 1.5s linear .3s;
}

.imageMagnification:hover {
        padding: 10px;
        background: rgba(0,0,0,0.1);
        transform: scale(6) !important;
        cursor: pointer;
    transition: all 1.5s linear .3s;
}

/*Увеличение изображения============< Увеличение изображенияи*/

/*Трасформация имидж-блока и его полей*/
/*В 1,02 раза*/
.imageBlock {
    transform: scale(1);
    transition: 2s;
    padding: 2px;
    height: 45px;
    border: 1px double brown;
}

    .imageBlock:hover {
        padding: 10px;
        /*Толщина рамки вокруг картинки*/
        background: rgba(0,0,0,0.1);
        /*Цвет рамки*/
         transform: scale(1.02) !important;
    }

/*Вправо*/
.imageBlockRight {
    transform: scale(1);
    transition: 2s;
    padding: 2px;
    height: 45px;
    border: 1px double brown;
}

    .imageBlockRight:hover {
        padding: 10px;
        /*Толщина рамки вокруг картинки*/
        background: rgba(0,0,0,0.1);
        /*Цвет рамки*/
        transform: scale(1.02) !important;
        margin-right: 45px;
    }

/*В 7 раз*/
.imageBlock7 {
    position: relative;
    transform: scale(1);
    transition: 2s;
    padding: 0.2px;
    height: 45px;
    border: 1px double brown;
    overflow: hidden;
}

    .imageBlock7:hover {
        position: absolute;
        /*left: 15%;
        top: 50%;*/
        /*-webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(15%, 50%);*/
        transform:  translate(50%, 90%) scale(7) !important;
        background: rgba(0,0,0,0.7);
        overflow: hidden;
    }

/*В 3 раза*/
.imageBlockLarge {
    transform: scale(1);
    transition: 2s;
    padding: 2px;
    height: 45px;
    cursor: default;
}

    .imageBlockLarge:hover {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
        height: auto;
    }

/*.imageBlockLarge1:hover {
        transform: scale(3) !important;
        position: absolute;
        background: yellow;
        max-height: 80%;
        max-width: 80%;
        left: 15%;
        top: 15%;
        padding: 4px;Толщина рамки вокруг картинки        
        position: relative;  боковая колонка перемещается в рамках основного содержания 
        margin: 0 auto;  сайт располагается по центру экрана 
        opacity: 0.75;  Степень прозрачности 
        z-index: 10;
        cursor: zoom-in;
    }*/

.backGrnd {
    background-image: url('~/Pict/222.png');
}

/*#galleryLW {
  position: relative;
  padding-top: 50%;
  -moz-user-select: none; user-select: none;
}

#galleryLW img {
  position: absolute;
  top: 25%;
  left: 12.5%;
  max-width: 24.5%;
  max-height: 49.5%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  cursor: zoom-in;
  transition: .2s;
}


#galleryLW img:focus {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  outline: none;
  pointer-events: none;
}

#galleryLW img:focus ~ div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  cursor: zoom-out;
}*/

.imageZoom {
    left: 0;
    height: 45px;
    cursor: pointer;
    transition: all 1.5s linear .3s;
    z-index: 1;
}
    .imageZoom:focus {
        position: absolute;
        transform: scale(5) translate(-25%, -5%);
        overflow: auto;
        background: radial-gradient(yellow, brown);
        max-height: 60rem;
        left: 30%;
        top: 50%;
        opacity: 1; /*Степень прозрачности*/
        z-index: 4;
    }

.imageZoomTitle {
    left: 0;
    height: 45px;
    cursor: pointer;
    transition: all 1.5s linear .3s;
    z-index: 1;
}
    .imageZoomTitle:focus {
        position: absolute;
        transform: scale(3) translate(30%, 30%);
        overflow: auto;
        background: radial-gradient(yellow, brown);
        max-height: 60rem;
        left: 30%;
        top: 50%;
        opacity: 1; /*Степень прозрачности*/
        z-index: 4;
    }

.imageZoomBottom {
    left: 0;
    /*height: 45px;*/
    cursor: pointer;
    transition: all 1.5s linear .3s;
    z-index: 0;
}
    .imageZoomBottom:hover {
        position: absolute;
        transform: scale(5) translate(45%, 45%);
        overflow: hidden;
        background: radial-gradient(yellow, brown);
        max-height: 80rem;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        opacity: 1; /*Степень прозрачности*/
        z-index: 1000;
    }

.imageZoomTop {
    position: relative;
    padding: 6px;
    margin: 6px;
    height: 50px;
    border: solid purple;
    cursor: move;
    transition: all 1.5s linear .3s;
    z-index: 10;
}

    .imageZoomTop:hover {
        position: relative;
        transform: scale(8) translate(45px, -20px);
        overflow: hidden;
        background: radial-gradient(orange, brown);
        margin-left: 12px;
        margin-bottom: 32px;
        max-height: 60%;
        cursor: zoom-out;
        opacity: 1; /*Степень прозрачности*/
        z-index: 1000;
    }

.imageZoomCenter {
    position: relative;
    padding: 6px;
    margin: 6px;
    height: 50px;
    border: solid purple;
    cursor: move;
    transition: all 1.5s linear .3s;
    z-index: 10;
}

    .imageZoomCenter:hover {
        position: relative;
        transform: scale(8) translate(45px, -20px);
        overflow: hidden;
        background: radial-gradient(orange, white);
        margin-left: 12px;
        margin-bottom: 32px;
        max-height: 60%;
        cursor: zoom-out;
        opacity: 1; /*Степень прозрачности*/
        z-index: 1000;
    }

/*.image-flex {
    position: static;
    padding: 6px;
    margin: 6px;
    height: 50px;
    border: solid purple;
    cursor: move;
    transition: all 1.5s linear .3s;
    z-index: 10;
}

.image-flex:hover {
    display: flex;
    align-items: center;
    justify-content: center;
                z-index: 10;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: auto;

        transform: scale(8) translate(45px, -20px);
        overflow: auto;
        background: radial-gradient(orange, brown);
        margin-left: 12px;
        margin-bottom: 32px;
        max-height: 60%;
        cursor: zoom-in;
        opacity: 1;
        z-index: 1000;
}*/

figure {
    background: #5f6a72; /* Цвет фона */
    width: auto; /* Ширина */
    float: left; /* Блоки выстраиваются по горизонтали */
    margin: 12px; /* Отступы */
    text-align: center; /* Выравнивание по центру */
}

figcaption {
    color: #fff; /* Цвет текста */
}

    img {
      border-color: purple;
      border-style: solid;
      padding: 4px;
      background-color: antiquewhite; /**/
      color: azure;
      cursor: zoom-in;
    }
        img[tabindex="0"]:focus {
            position: fixed;
            z-index: 10;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: auto;
            height: auto;
            max-width: 60%;
            max-height: 60%;
            margin: auto;
            border-color: white;
            color: antiquewhite;
            opacity: 0.4;
            /*box-shadow: 0 0 20px #000, 0 0 0 1000px rgba(210,210,210,.7);*/box-shadow: 0 0 60px brown, 0 0 0 1000px;
            transform: scale(1.4) translate(0,0);
            -webkit-transform: scale(1.4) translate(0,0);
            /*transform: scale(1.2) translate(25%, -15%);*/
            /*-webkit-transform: translate(45%, 45%);*/
            transition: 1s;
        }
            /*img[tabindex="0"]:focus,  убрать строку, если не нужно, чтобы при клике на увеличенное фото, оно возвращалось в исходное состояние */
            img[tabindex="0"]:focus ~ * {
                pointer-events: none;
                cursor: zoom-out;
            }

.imgTtl {
    display: inline-block;
    position: relative;
    /*border: 2px double brown;*/
    cursor: zoom-in;
    text-align: left;
    vertical-align: middle;
    padding: 12px;
    margin-right: 32px;
    width: 60px;
    /*background-color: brown;*/
}
/*[tabindex="0"]*/
    .imgTtl:focus {
        display: block;
        position: fixed;
        z-index: 10;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: auto;
        height: auto;
        max-width: 80%;
        max-height: 80%;
        margin: auto;
        box-shadow: 0 0 60px brown, 0 0 0 1000px;/*rgba(0,0,0, .8);240,240,240*/ /*#000*/
        background-image: radial-gradient(white, brown); 
        border-width: 16px;
        padding: 8px;
        color: antiquewhite;
        opacity: 1;
        transform: scale(1.4) translate(0,0);
        -webkit-transform: scale(1.4) translate(0,0);
        transition: 1s;
    }
    
/*[tabindex="0"]*/
        /*.imgTtl:focus,~ */
        .imgTtl:focus * {
            pointer-events: none;
            cursor: zoom-out;
        }


.imgTtlGray {
    display: inline-block;
    border: 2px double brown;
    cursor: zoom-in;
    text-align: left;
    vertical-align: middle;
    padding: 2px;
    /*margin-right: 32px;*/
    width: 60px;
    /*background-color: brown;*/
}

    .imgTtlGray:hover {
        padding: 10px;
        /*Толщина рамки вокруг картинки*/
        background: lightslategray;
        /*Цвет рамки*/
        transition: 2s;
    }

    .imgTtlGray:focus {
        display: block;
        position: fixed;
        z-index: 10;
        top: 0;
        transition: 2s;
        left: 0;
        bottom: 0;
        right: 0;
        width: auto;
        height: auto;
        max-width: 80%;
        max-height: 80%;
        margin: auto;
        box-shadow: 0 0 60px brown, 0 0 0 1000px;/*rgba(0,0,0, .8);240,240,240*/ /*#000*/
        background-image: radial-gradient(gray, brown); 
        border-width: 16px;
        padding: 8px;
        color: grey;
        opacity: 1;
        transform: scale(5) translate(3, 3);
        /*-webkit-transform: scale(2) translate(0,1);*/
        transition: 2s;
    }


        .imgTtlGray:focus,
        .imgTtlGray:focus ~ * {
            pointer-events: none;
            cursor: zoom-out;
        }

.imgTtlGrayHeight {
    display: inline-block;
    border: 2px double brown;
    cursor: zoom-in;
    text-align: left;
    vertical-align: middle;
    padding: 2px;
    /*margin-right: 32px;*/
    height: 60px;
    /*background-color: brown;*/
}

    /*.imgTtlGrayHeight:hover {
        padding: 10px;*/
        /*Толщина рамки вокруг картинки*/
        /*background: lightslategray;*/
        /*Цвет рамки*/
        /*transition: 2s;*/
    /*}*/

    .imgTtlGrayHeight:focus {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: auto;
        height: auto;
        /*max-width: 60%;*/
        max-height: 60%;
        margin: auto;
        padding: 8px;
        color: grey;
        /*box-shadow: rgba(0,0,0, 1);*//*240,240,240*/ /*#000*//*0 0 60px brown, 0 0 0 1000px;*/
        background-image: radial-gradient(gray, brown); 
        border-width: 16px;
        transition: 2s;
        /*opacity: 1;*/
        transform: scale(3) translate(3);
        /*-webkit-transform: scale(2) translate(0,1);*/
        transition: 2s;
        pointer-events: none;
        z-index: 100;
        cursor: zoom-out;
    }


        .imgTtlGrayHeight:focus,
        .imgTtlGrayHeight:focus ~ * {
            pointer-events: none;
            cursor: auto;
        }

.imgTtlWhite {
    display: inline-block;
    position: relative;
    height: 60px;
    border: 2px double brown;
    cursor: zoom-in;
    text-align: left;
    vertical-align: middle;
    padding: 12px;
    margin-right: 32px;
    /*background-color: brown;*/
}
/*[tabindex="0"]*/
    .imgTtlWhite:focus {
        display: block;
        position: fixed;
        z-index: 10;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        /*width: auto;
        height: 60%;
        max-width: 80%;*/
        max-height: 80%;
        margin: auto;
        box-shadow: 0 0 60px brown, 0 0 0 1000px;/*rgba(0,0,0, .8);240,240,240*/ /*#000*/
        background-image: radial-gradient(white, brown); 
        border-width: 16px;
        padding: 8px;
        color: antiquewhite;
        opacity: 1;
        transform: scale(1.4) translate(0,0);
        -webkit-transform: scale(1.4) translate(0,0);
        transition: 1s;
    }
    
/*[tabindex="0"]*/
        /*.imgTtlWhite:focus,~ */
        .imgTtlWhite:focus * {
            pointer-events: none;
            cursor: zoom-out;
        }

#mainwrapper {
    font: 10pt normal Arial, sans-serif;
    height: auto;
    text-align: left;
}

    #mainwrapper .box {
        position: relative;
        overflow: hidden;
        border: 5px solid #fff;
        cursor: zoom-out;
        height: 140px;
        width: 140px;
        text-align: center;
        margin: 5px;
        -webkit-box-shadow: 1px 1px 1px 1px #ccc;
        -moz-box-shadow: 1px 1px 1px 1px #ccc;
        box-shadow: 1px 1px 1px 1px #ccc;
    }
 
#mainwrapper .box img {
    position: absolute;
    left: 0;
    bottom: 0;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}

#mainwrapper .box .caption {
    background-color: rgba(0,0,0,0.8);
    position: absolute;
    color: #fff;
    z-index: 100;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    left: 0;
}

#mainwrapper .box .simple-caption {
    height: 30px;
    width: 200px;
    display: block;
    bottom: -30px;
    line-height: 25pt;
    text-align: center;
}

#mainwrapper .box:hover .simple-caption {
    -moz-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-130%);
}

    /*.imgTtl:focus {
        display: block;
        position: absolute;
        height: 18em;
        width: auto;
        max-height: 60%;
        top:50%;
        left:50%;
        margin:-9em 0 0 -9em;
    }*/
/*        .imgTtl[tabindex=0]:focus {
            position: fixed;
            z-index: 10;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: auto;
            height: auto;
            max-width: 80%;
            max-height: 80%;
            margin: auto;
            box-shadow: 0 0 20px #000, 0 0 0 1000px rgba(210,210,210,.4);
            transform: scale(2) translate(45%, 45%);
            -webkit-transform: scale(2) translate(45%, 45%);
            transition: 1s;
        }
            .imgTtl[tabindex=0]:focus,  /*убрать строку, если не нужно, чтобы при клике на увеличенное фото, оно возвращалось в исходное состояние */
            /*/*.imgTtl[tabindex=0]:focus ~ * {
                pointer-events: none;
                cursor: zoom-out;
            }*/

/*.imgTitle {
    display: inline-block;
                pointer-events: auto;
      cursor: zoom-in;
      border-color: purple;
      border-style: solid;
    padding: 12px;
    margin-right: 32px;
    max-height: 70%;
    width: 60px;
    border: 2px double brown;
    z-index: 5;
}*/
/*.imgTitle {
            position: fixed;
            z-index: 10;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: auto;
            height: auto;
            max-width: 80%;
            max-height: 80%;
            margin: auto;
            box-shadow: 0 0 20px #000, 0 0 0 1000px rgba(210,210,210,.4);
            transform: scale(2) translate(0,0);
            -webkit-transform: translate(0, 0);
            transform: scale(1.2) translate(0, 0);
            transition: 1s;
}*/

            /*.imgTitle:focus, 
            .imgTitle:focus ~ * {
                pointer-events: none;
                cursor: zoom-out;
            }*/

/*ТРАНСФОРМАЦИИ===============================<ТРАНСФОРМАЦИИ

/*БЛОКИ =============================================<БЛОКИ

/*.tblFr{
    display: table-cell;
}*/

/*БЛОКИ БИОГРАФИИ==========================>БЛОКИ БИОГРАФИИ*/
.spanTable {
    display: table;
    font-family: comic_relief;
    font-size: 14px;
    font-weight: normal;
    text-align: justify;
    height: 85%;
    width: 98%;
    margin-left: 0px;
}

.spanRow {
    display: table-row;
    width: 102%;
    height: 35px;
}

.spanData {
    display: table-cell;
    font-family: comic_relief;
    font-size: 14px;
    font-weight: normal;
    text-align: justify;
    color: brown;
    border-bottom: 1px ridge brown;
    width: 12%;
    /*padding-bottom: 1em;*/
}

.spanText {
    display: table-cell;
    font-family: comic_relief;
    font-size: 10px;
    font-weight: normal;
    text-align: justify;
    border-bottom: 1px ridge brown;
    padding-left: 0.2em;
    padding-bottom: 1em;
    min-height: 6px;
    height: auto;
    width: 88%;
    /*margin-bottom: 293px;*/
}

/*       Увеличенная фотография*/
.grave {
    border: 3px groove black;
    padding: 3px;
}
/*       Увеличенная фотография*/

/*БЛОКИ БИОГРАФИИ==========================<БЛОКИ БИОГРАФИИ*/

/*Всплывающая подсказка Tooltype=========================>*/
.tooltipNote {
    position: relative; /* Делаем элемент родительским для всплывающих подсказок */
    cursor: help;
}

    .tooltipNote span {
        position: absolute; /* Выводим элемент из потока */
        margin-left: -30000px; /* И прячем далеко за краем экрана */
        background: linear-gradient(gainsboro, cadetblue); /* Фон всплывающего блока*/
        opacity: .9;
        color: red; /* Цвет текста  #fafafa*/
        font-weight: normal; /*Толщина символов текста*/
        font-size: 1.2em; /*Высота текста*/
        padding: 10px; /* Отступы */
        -webkit-border-radius: 5px; /* Закругляем уголки */
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

    .tooltipNote:hover span { /* При наведении */
        margin-left: 0; /* Возвращаем из далекого заэкранного края блок на место */
        width: 20em;  /*Задаем ширину, высоту и перенос строк */
        height: auto;
        word-wrap: normal;
        z-index: 1000; /* Помещаем на самый верх */
        /* Позиционируем относительно родительского блока */
        top: 30px; /* Отступ сверху */
        left: 20px; /* Отступ слева */
    }

    .tooltipNote span:after {
        content: ''; /* Добавили контент */
        width: 0; /* Спрятали его, превратив в 0 */
        height: 0;
        border-bottom: 10px solid gainsboro; /*#000099 Нижним бордером задаем цвет и высоту треугольника */
        border-right: 30px solid transparent; /* Правым - ширину треугольника вправо */
        position: absolute; /* Позиционируем относительно родительского блока */
        top: -10px;
        left: 10px;
    }

.tooltipAnnotation {
    position: relative; /* Делаем элемент родительским для всплывающих подсказок */
    cursor: help;
}

    .tooltipAnnotation span {
        position: absolute; /* Выводим элемент из потока */
        margin-left: -30000px; /* И прячем далеко за краем экрана */
        background: linear-gradient(gainsboro, gray); /* Фон всплывающего блока*/
        opacity: .9;
        color: #fafafa; /* Цвет текста */
        font-weight: normal; /*Толщина символов текста*/
        font-size: 1.2em; /*Высота текста*/
        padding: 10px; /* Отступы */
        -webkit-border-radius: 5px; /* Закругляем уголки */
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

    .tooltipAnnotation:hover span { /* При наведении */
        margin-left: 0; /* Возвращаем из далекого заэкранного края блок на место */
        width: 25em;  /*Задаем ширину, высоту и перенос строк */
        height: auto;
        word-wrap: normal;
        color: white;
        z-index: 1000; /* Помещаем на самый верх */
        /* Позиционируем относительно родительского блока */
        top: 30px; /* Отступ сверху */
        left: 20px; /* Отступ слева */
    }

    .tooltipAnnotation span:after {
        content: ''; /* Добавили контент */
        width: 0; /* Спрятали его, превратив в 0 */
        height: 0;
        border-bottom: 10px solid gainsboro; /*#000099 Нижним бордером задаем цвет и высоту треугольника */
        border-right: 30px solid transparent; /* Правым - ширину треугольника вправо */
        position: absolute; /* Позиционируем относительно родительского блока */
        top: -10px;
        left: 10px;
    }

.shift {
    transform: scale(1);
    transition: 1s; /*Время перехода*/
    content: '';
}

    .shift:hover {
        padding: 10px; /*Толщина рамки вокруг картинки*/
        background: rgba(0,0,0,0.1); /*Цвет рамки*/
        transform: scale(1.2)  /*!important;Увеличиваем фотографию*/
        /*content: attr(data-description);*/
    }

.shiftBig {
    transform: scale(1);
    transition: 2s; /*Время перехода*/
    content: '';
}

    .shiftBig:hover {
        position: absolute;
        padding: 10px; /*Толщина рамки вокруг картинки*/
        background: rgba(0,0,0,0.1); /*Цвет рамки*/
        transform: scale(2.5);  /*!important;Увеличиваем фотографию*/
        padding-left: 250px;
        /*content: attr(data-description);*/
    }
/*Всплывающая подсказка Tooltype=========================<*/

/*Заметки*/
#spanNote {
    /*width: auto;*/
    font-family: comic_relief, gabriola, Helvetica,Arial,sans-serif;
    color: burlywood;
    font-size: 12px;
    left: 5em;
    text-align: right;
    padding: 10px;
    /*margin: 10px auto;*/
    display: inline;
    position: relative;
}

    #spanNote:before {
        content: attr(data-description);
        box-sizing: border-box;
        display: block;
        z-index: 2;
        /*background: white; rgba(109, 82, 82, 1);*/
        color: purple;
        padding: 20px; /* Поля вокруг изображения */
        margin-right: 10px; /* Отступ справа */
        margin-bottom: 10px; /* Отступ снизу */
        outline: 1px solid #666; /* Параметры рамки */
        background: #f0f0f0; /* Цвет фона */
        float: right; /* Обтекание по левому краю */
        position: absolute;
        right: 10%;
        margin-left: -70px;
        top: -300px;
        width: 30em;
        height: auto;
        opacity: 0;
        transition: 1s ease-in-out;
    }

    #spanNote:after {
        content: '';
        display: block;
        position: absolute;
        top: 35px;
        left: 50%;
        margin-left: -8px;
        height: 0;
        width: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid saddlebrown; /*rgba(0,0,0,.7)*/
        transition: ease-in-out .25s;
        opacity: 0;
    }

    #spanNote:hover:before {
        opacity: 1;
        top: 25px;
    }

    #spanNote:hover:after {
        opacity: 1;
        top: -5px;
    }

/*Комментарий*/
#spanAnnotation {
    /*width: auto;*/
    font-family: comic_relief, gabriola, Helvetica,Arial,sans-serif;
    color: burlywood;
    font-size: 12px;
    left: 7em;
    text-align: left;
    padding: 10px;
    /*margin: 10px auto;*/
    display: inline;
    position: relative;
}

    #spanAnnotation:before {
        content: attr(data-description);
        box-sizing: border-box;
        display: block;
        z-index: 2;
        /*background: rgba(109, 82, 82, .85);*/
        color: purple;
        padding: 20px; /* Поля вокруг изображения */
        margin-right: 10px; /* Отступ справа */
        margin-bottom: 10px; /* Отступ снизу */
        outline: 1px solid #666; /* Параметры рамки */
        background: #f0f0f0; /* Цвет фона */
        float: left; /* Обтекание по правому краю */
        position: absolute;
        left: -50%;
        margin-left: 60px;
        top: -300px;
        width: 30em;
        height: auto;
        line-height: 25px;
        border-radius: 5px;
        opacity: 0;
        transition: 1s ease-in-out;
    }

    #spanAnnotation:after {
        content: '';
        display: block;
        position: absolute;
        top: 35px;
        left: 50%;
        margin-left: -8px;
        height: 0;
        width: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid rgba(109, 82, 82, .85);
        opacity: .7;
        transition: .25s ease-in-out;
        /*opacity: 0;*/
    }

    #spanAnnotation:hover:before {
        opacity: 1;
        top: 25px;
    }

    #spanAnnotation:hover:after {
        opacity: 1;
        top: -5px;
    }

/*Всплывающая подсказка Tooltype==========================*/
/*ЭЛЕМЕНТЫ СТРУКТУРЫ=============================================================<ЭЛЕМЕНТЫ СТРУКТУРЫ*/

/*НАБОР ШРИФТОВ==============================НАБОР ШРИФТОВ*/
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on September 4, 2014 */
@font-face {
    font-family: 'buxton_sketch';
    src: url('Fonts/buxtonsketch-webfont.eot');
    src: url('Fonts/buxtonsketch-webfont.eot?#iefix') format('embedded-opentype'), url('Fonts/buxtonsketch-webfont.woff') format('woff'), url('Fonts/buxtonsketch-webfont.ttf') format('truetype'), url('Fonts/buxtonsketch-webfont.svg#buxton_sketchregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ds_moster';
    src: url('Fonts/ds_moster-webfont.eot');
    src: url('Fonts/ds_moster-webfont.eot?#iefix') format('embedded-opentype'), url('Fonts/ds_moster-webfont.woff') format('woff'), url('Fonts/ds_moster-webfont.ttf') format('truetype'), url('Fonts/ds_moster-webfont.svg#ds_mosterregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gabriola';
    src: url('Fonts/gabriola-webfont.eot');
    src: url('Fonts/gabriola-webfont.eot?#iefix') format('embedded-opentype'), url('Fonts/gabriola-webfont.woff') format('woff'), url('Fonts/gabriola-webfont.ttf') format('truetype'), url('Fonts/gabriola-webfont.svg#gabriolaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'trixiecyr-plain';
    src: url('Fonts/trixiecyr-plain-webfont.eot');
    src: url('Fonts/trixiecyr-plain-webfont.eot?#iefix') format('embedded-opentype'), url('Fonts/trixiecyr-plain-webfont.woff') format('woff'), url('Fonts/trixiecyr-plain-webfont.ttf') format('truetype'), url('Fonts/trixiecyr-plain-webfont.svg#trixiecyr-plainregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'comic_relief';
    src: url('Fonts/comicrelief-webfont.eot');
    src: url('Fonts/comicrelief-webfont.eot?#iefix') format('embedded-opentype'), url('Fonts/comicrelief-webfont.woff') format('woff'), url('Fonts/comicrelief-webfont.ttf') format('truetype'), url('Fonts/comicrelief-webfont.svg#comic_reliefregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*НАБОР ШРИФТОВ==============================НАБОР ШРИФТОВ*/

/*ФОРМАТ ТЕКСТОВ============================ФОРМАТ ТЕКСТОВ*/
.title {
    font-family: comic_relief;
    font-size: 14px;
    font-weight: bold;
    /*text-indent: 3em;*/
    color: #6c4223;
    min-height: 100px;
    vertical-align: text-bottom;
    word-wrap: break-word;
}

.subtitle {
    font-family: trixiecyr-plain;
    font-size: 11px;
    font-weight: normal;
}

.subtitleFriends {
    font-family: trixiecyr-plain;
    font-size: 20px;
    font-weight: 400;
    color: saddlebrown;
}

.news {
    font-family: comic_relief;
    font-size: 14px;
    font-weight: bold;
}

.HeadLarge {
    font-family: trixiecyr-plain;
    font-size: 28px;
    font-weight: bold;
}

.HeadMiddle {
    font-family: trixiecyr-plain;
    font-size: 20px;
    font-weight: bolder;
}

.HeadSmall {
    font-family: trixiecyr-plain;
    font-size: 10px;
    font-weight: normal;
}

.note {
    font-family: comic_relief;
    font-size: 12px;
    font-weight: normal;
    font-style: oblique;
    color: brown;
}
.notePurple {
    font-family: comic_relief;
    font-size: 12px;
    font-weight: normal;
    font-style: oblique;
    color: Purple;
}
.notePurpleButtom {
    display: block;
    position: fixed;
    bottom: 6em;
    font-family: trixiecyr-plain;
    font-size: 18px;
    font-weight: bold;
    font-style: oblique;
    color: Purple;
}

.comic_Text {
    font-family: comic_relief;
    font-size: 14px;
    font-weight: normal;
    text-align: justify;
    padding: 12px;
}

.comic_Text16 {
    font-family: comic_relief;
    color: brown;
    padding: 12px;
    font-size: 16px;
    font-weight: normal;
    text-indent: 24px;
}

.alignmentSubtitle {
    color: purple;
    font-size: 12px;
    text-indent: 24px;
}

/*ФОРМАТ ТЕКСТОВ============================ФОРМАТ ТЕКСТОВ*/

.gradient1 {
    background-image: radial-gradient(orange, red);
    border-radius: 4px; 
    opacity: 1;
    display: table-column;
}

/*ФОТОАЛЬБОМ====================================ФОТОАЛЬБОМ*/
/*Фотографии фотоальбома===========================Фотографии фотоальбома*/
.photoInAlbum {
    position: relative;
    /*background: linear-gradient(#ba9478, black) no-repeat;*/ /*rgba(242, 242, 227, 0.55), #000*/
    background-image: url(Pict/222.png);
    opacity: 1;
    height: 65vh;
    padding: 12px 12px 12px 12px;
    margin-bottom: 12px;
    z-index: 5;
}

/*.pointerBack {
    display: none;
}
.pointerNext {
    display: none;
}*/

.pointerBack {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 0;
    bottom: 0;
    vertical-align: central;
    width: 15px;
    z-index:120;
}
.pointerNext {
    position: absolute;
    display: inline-block;
    right: 0;
    top: 0;
    bottom: 0;
    width: 15px;
    z-index:120;
}

.imgCSS[tabindex="0"] {  
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    /*border: 2px double brown;*/
    padding: 12px;
    margin: 6px 6px 6px 6px;
    height: 60px;
    overflow: hidden;
    opacity: 1;
    cursor: zoom-in;
    z-index: 5;
} 
 
.imgCSS[tabindex="0"]:focus {  
  position: fixed;  
  z-index: 20;  
  top: 0;  
  left: 0;  
  bottom: 0;  
  right: 0;  
  width: auto;  
  height: auto;  
  max-width: 100%;  
  max-height: 100%;  
  margin: auto;  
  box-shadow: 0 0 200px #000, 0 0 0 1000px rgba(0,0,0,.3);  
  opacity: 1; 
  border: 10px solid #1E1E1E; /* бордюр */  
  border-radius: 5px;/* радиус углов */  
}  
.imgCSS[tabindex="0"]:focus, /* Строчка для того что бы при клике на увеличенное фото, оно возвращалось в исходное состояние */  
.imgCSS[tabindex="0"]:focus ~ * {  
  pointer-events: none;  
  cursor: zoom-out;  
}


 

        .imgPhoto:focus,
        .imgPhoto:focus ~ * {
            display: inline-block;
            position: absolute;
            text-align: left;
            vertical-align: middle;
            /*border: 2px double brown;*/
            padding: 12px;
            margin: 6px 6px 6px 6px;
            height: 60px;
            overflow: hidden;
            opacity: 1;
            z-index: 5;
            pointer-events: none;
            cursor: zoom-out;
        }


    .imgPhoto:focus {
        display: block;
        position: center;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: auto;
        height: auto;
        margin: auto;
        max-width: 60%;
        max-height: 60%;
        overflow: scroll;
        background-image: url(Pict/222.jpg);        
        box-shadow: 0 0 60px brown, 0 0 0 1000px; 
        border-width: 16px;
        padding: 8px;
        opacity: 1;
        transform: scale(1.2) translate(0,0);
        -webkit-transform: scale(1.2) translate(0,0);
        transition: 1s;
        z-index: 15;
    }

        /*.imgPhoto:focus .pointerBack {
        }*/

        /*.imgPhoto:focus.container:hover div {
        }*/
    /*background-image: linear-gradient(antiquewhite, brown);*/

        /*.imgPhoto:focus footerBlock {
            display: none;
        }*/

        /*, .imgPhoto:focus ~ **/

        /*.imgPhoto:focus {
            pointer-events: auto;
            cursor: zoom-out;
            z-index: 5;
        }*/




#imgButtBack {
    position: absolute;
    display: none;
    vertical-align: middle;
    /*top: 0;
    bottom: 0;*/
    left: 50px;
    z-index: 17;
}

#imgButtNext {
    position: absolute;
    display: none;
    top: 0;
    bottom: 0;
    right: -35px;
    z-index: 17;
}


#gallery {
    position: relative; 
    background: linear-gradient(gray,#000); 
    height: 60vh; 
    z-index: 1;
}

.gallery img {
    position: absolute;
    top: 25%;
    left: 12.5%;
    max-width: 24.5%;
    max-height: 49.5%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -moz-user-select: none;
    user-select: none;
    cursor: zoom-in;
}

.gallery img:focus {
      position: fixed;
      top: 50%;
      left: 50%;
      z-index: 31;
      max-width: 100%;
      max-height: 100%;
      outline: none;
      pointer-events: none;
}

.gallery img:focus ~ div {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 30;
      background: rgba(240,240,240,.9);
      cursor: zoom-out;
}
/*========================================================*/
.galleryTitle {
    position: relative; 
    background: linear-gradient(gray,#000); 
    text-align: left;
    vertical-align: middle;
    /*padding: 12px;
    margin-right: 32px;*/
    width: 60px;
    z-index: 1;
}

.galleryTitle img {
    position: absolute;
    top: 25%;
    left: 12.5%;
    max-width: 24.5%;
    max-height: 49.5%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -moz-user-select: none;
    user-select: none;
    cursor: zoom-in;
}

.galleryTitle img:focus {
      position: fixed;
      top: 50%;
      left: 50%;
      z-index: 31;
      max-width: 100%;
      max-height: 100%;
      outline: none;
      pointer-events: none;
}

.galleryTitle img:focus ~ div {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 30;
      background: rgba(240,240,240,.9);
      cursor: zoom-out;
}
/*========================================================*/

#photo {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
}



.container {
    display:inline-block;   
    position:relative;
}
.container div { 
    display: none;
    position: absolute; 
    bottom: 10px; 
    left: 0px; 
    background-color: rgba(0,0,0,.4); 
    padding: 5px 5px 5px 10px;
    color: white
}
.container:hover div {
    display: block 
}
/*Фотографии фотоальбома===========================Фотографии фотоальбома

divClss {
    display: block;
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: yellow;
    z-index: 200;
}
divClss:focus {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: yellow;
}

/*Увеличение изображения::after абсолютное позиционирование===============*/
.overlay {
    position: absolute; /* Абсолютное позиционирование */
    left: 0;
    right: 0;
    top: 0;
    bottom: 0; /* Занимает всё пространство */
    /*max-height: 70%;*/
    background: rgba(0, 0, 0, 0.8); /* Полупрозрачный цвет фона */
}

.message {
    position: absolute; /* Абсолютное позиционирование */
    background: #fff; /* Цвет фона */
    width: 50%; /* Ширина */
    padding: 20px; /* Поля */
    min-height: 180px; /* Минимальная высота */
    left: 0;
    right: 0; /* Нужно для выравнивания */
    margin: 80px auto 0; /* Выравниваем по центру */
    overflow-wrap: break-word;
    overflow: auto;
    z-index: 10;
}

/*Увеличение изображения Aбсолютное позиционирование===============*/

.blackout {
    /*background-color: #000;  Чёрный фон */
    position: absolute; /* Фиксированное положение */
    max-height: 99%; /* Высота максимальная */
    max-width: 99%;
    left: 0; /* Нулевой отступ слева */
    right: 0;
    top: 0; /* Нулевой отступ сверху */
    bottom: 0;
    opacity: 1; /* Степень прозрачности */
    z-index: 4; /* Заведомо быть НАД другими элементами */
    visibility: visible;
    /*border: 3px double brown;
    box-shadow: 12px 12px 25px 12px #576a6f;
    box-shadow: rgba(196, 106, 41, 0.62),10px, 10px;*/
}

.wrapperImgZoom {
    /*background-color: beige rgba(210,210,210,.2) #72898f #576a6f;
    background: radial-gradient(beige, saddlebrown);*/
    opacity: 1;
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
}

.photoZoom {
    position: fixed;
    max-width: 45%;
    max-height: initial ;
    min-width: 1.5%;
    min-height: initial;
    margin: auto;
    top: 0;
    bottom: 0; /*326px*/
    left: 0;
    right: 0;
    opacity: 1;
    overflow: auto;
    z-index: 15;
    /* Переход */
    /*transition: right 1s ease-out 0.5s;*/
}
    /*.photoZoom:hover {
        position: absolute;
        right: 45%;
    }*/

/*#phtZoom:hover blackout {
    transition: right ease-out 1.5s;
}*/

.photoZoomBgrf {
    position: relative;
    width: 50%;
    height: 50%;
    min-width: 5%;
    min-height: 5%;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 15%; /*326px*/
    right: 0;
    opacity: 1;
    z-index: 150;
    /* Переход */
    transition: top right 1s ease-out 0.5s;
}
    .photoZoomBgrf:hover {
        position: fixed;
        right: 50%;
    }

/*.photoZoom {
    display: flex;
    top: 15%;
    align-items: center;
    justify-content: center;
    height: 50%;
}*/

.container p {
    width: 400px;
    padding: 15px;
    background-color: #f1f1f1;
}

/*.photoZoom1 {
    position: absolute;
    border: 5px inset brown;
    transform: translateY(-40%);
    transform: translateX(-50%);
    top: 23%;
    left: 50%;
    top: 50%;
    left: 45%;
    text-align: center;
    height: auto;
    width: auto;
    margin: -15% 0 0 -10%;
    height: auto;
    width: auto;
    box-shadow: 12px 12px 25px 12px #576a6f;
    z-index: 5;
}*/

/*.photoZoom2 {
    height: 300px;
    width: 300px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

  .photoZoom2:hover {
    width: 400px;
    height: 400px;
}*/


.photoText {
    position: absolute;
    left: 0.2em;
    right: 117.6em;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    bottom: 0;
    line-height: 0.8;
    color: darkorange;
    text-align: center;
    font-weight: normal;
    font-size: 1.8em;
    overflow-y: auto;
    text-shadow: 3px 3px 5px black, 0 0 1em brown;
    filter: drop-shadow(0 3px 3px gray);
    box-shadow: 0 0 20px #000, 0 0 0 1000px none; /*rgba(210,210,210,.2)*/
    border-radius: 10px;
    opacity: 1;
    z-index: 6;
}

    .photoText:hover {
        background-color: seashell;
        color: brown;
        text-shadow: none;
    }

.opacityText {
    opacity: .4;
}

    .opacityText:hover {
        opacity: 1;
    }

.closeImage {
    position: absolute;
    display: none;
    height: 37px;
    width: 37px;
    border-radius: 50%;
    border: solid brown 5px;
    top: 3%;
    right: 1.3%;
    margin-right: -0.5em;
    margin-top: -1.7em;
    background-color: orange;
    z-index: 1;
}

    .closeImage:hover {
        position: absolute;
        overflow: auto;
        height: 39px;
        width: 39px;
        border-radius: 50%;
        border: 5px solid brown;
        top: 3%;
        right: 1.3%;
        margin-right: -0.5em;
        margin-top: -1.7em;
        z-index: 100;
        background-color: yellow;
    }

.internalCloseImage {
    position: absolute;
    height: 28px;
    width: auto;
    right: 0;
    margin-right: .30em;
    margin-top: .27em;
    z-index: 10;
}

#imgQuestionMark {
    background-color: brown; /* Цвет фона */
    text-align: right; /* Выравнивание по правому краю */
}

#divQuest {
    position: relative;
    background-color: brown; /* Цвет фона */
    border-radius: 0 0 0 25px;
    color: #fff; /* Цвет текста */
    opacity: 1; /* Прозрачность */
    text-align: center; /* Выравнивание по центру */
     width: 7em; /*Ширина*/ 
    z-index: 0;
}

#bar {
    top: -19.5em;
    right: -.7em; /* Положение */
    padding: .2em; /* Поля */
    margin-right: -.4em; /* Отступы */
    position: absolute; /* Абсолютное позиционирование */
    width: 8em;  /*Ширина*/ 
    text-align: center; /* Выравнивание по... */
    transition-property: top;
    transition-delay: 0.3s;
    transition-duration: 1s;
    opacity: 1;
    z-index: 0;
}

    #bar:hover {
        top: 0;
        opacity: 1;
        z-index: 2;
    }

.barVideo {
    top: .5em;
    right: 50%; /* Положение */
    padding: .2em; /* Поля */
    margin-right: -.4em; /* Отступы */
    position: absolute; /* Абсолютное позиционирование */
    width: 8em; /* Ширина */
    text-align: center; /* Выравнивание по... */
    transition-property: top;
    transition-delay: 0.3s;
    transition-duration: 1s;
    opacity: 1;
}

    .barVideo:hover {
        top: 0;
        opacity: 1;
        z-index: 100;
    }

        /*Модальные окна*/
        .popup {
            display: inline-block;
            position: relative;
            text-align: left;
            vertical-align: middle;
            padding: 6px;
            margin: 6px 6px 6px 6px;
            height: 80px;
            overflow: hidden;
            opacity: 1;
            cursor: zoom-in;
            pointer-events:  none;
            z-index: 0; 
       }
        
       .popup :focus {
            position: fixed;
            /*content: "Текст на фотографии";*/        
            overflow: hidden;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            height: 60%;
            width: auto;
            max-height: 60%;
            max-width: inherit;
            margin: auto;
            box-shadow: 0 0 60px brown, 0 0 0 1000px;/*rgba(0,0,0, .8);240,240,240*/ /*#000*/
            background-image: radial-gradient(white, brown); /*antiquewhite*/
            border-width: 16px;
            padding: 8px;
            color: antiquewhite;
            opacity: 1;
            transform: scale(1.3) translate(0,0);
            /*-webkit-transform: scale(1.3) translate(0,0);*/
            transition: 3s;
            cursor: progress;
            pointer-events: none;
            z-index: 10;
        }

    /*.popup:focus::after {
        content: attr(data-title);
    }*/

/*ФОТОАЛЬБОМ====================================ФОТОАЛЬБОМ*/
