body{
    padding:0;
    margin:0;
    font-size: 1.25em;
    background: black;
    background-image: linear-gradient(#ae3f091a, #4b740030), url(/pic/bg/bgBody3.webp);
    background-repeat: repeat;
    background-attachment: fixed;
}

#topNav{
    border: 1px solid rgb(189, 167, 68);
    background: rgb(232 177 45);
    overflow: hidden;
    max-width: 1500px; 
    margin:0 auto;
    border-radius: 10px 10px 0 0;
}

header{
    text-align: center;
    max-width: 1500px; 
    background: rgb(245, 243, 240);
    padding-top:4px;
    margin:0 auto;
    margin-top: 2px;
    border-radius: 10px;
    border-bottom: 1px solid #8f8f8f;
}

#mainDiv{
    max-width: 1500px; 
    min-height: 1200px;
    background: rgb(249 249 249);
    margin:0 auto;
    border-top: 1px solid #999999;
    padding-bottom: 14px;
}

footer{
    background-color: rgb(253, 239, 176);
    border: 1px solid black;
    max-width: 1500px;
    margin:0 auto;
}

/* -------------------------------- */
.hgroup{
    display: inline-block;
    margin: 0 15px;
    padding: 0 8px;
    text-align: center;
    height: 140px;
    vertical-align: top;
}
.hgroup > h1{
    margin: 14px 4px;
    color: rgb(11, 46, 110);
    font-size: 25px;
}
.hgroup > h2{
    display: inline-block;
    margin:20px;
    font-family: Roboto_Slab;
    color: rgb(122, 122, 102);
    font-size: 24px;
}
#gerb{
    float: right;
    height: 70px;
    position:relative;
    bottom:5px;
    margin-right: 35px;
}

#weather{
    display: inline-block;
    background: rgb(18, 90, 224);
    max-height: 148px;
    overflow: hidden;
    border-radius: 9px;
}
#weather > div > p{
    display: none;
}

#weather > div > a{
    background: rgb(18, 90, 224) !important;
    width: auto !important;
    font-family: auto !important;
}
#weather .widget-column_item{
    display: inline-block;
    border:none;
    margin: 0;
    padding: 0 2px;
    border-left: 1px solid rgb(83, 119, 178);
}
.widget-column_item:hover {
    background: linear-gradient(rgb(18 90 224), rgba(200, 205, 216, 0.15));
 }
#weather a > .widget-column_item:first-child{
    border-left: none;
}
#weather .widget-column_item_week{
    margin: 0 -1px;
    display: block;
    color: rgb(247, 247, 242) !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 1px #38383a !important;
    text-align: center;
    width:110px;
    padding-bottom: 12px;
}


#weather .widget-column_item_week > div{
    display: inline;
    text-align: center;
}

#weather .widget-column_item_week > .column-date > div{
    font-size: 18px;
}
#weather .temp-line{
    font-size: 20px;
    font-weight: bold;
}
#weather .other-line{
    font-size: 14px;
    line-height: 18px;
}
#topNav > a{
    display: inline-block;
    padding: 5px 12px;
    margin: 2px 9px;
    text-decoration: none;
    color: rgb(66, 48, 10);
    font-weight: bold;
    border-radius: 7px;
}
#topNav > a:hover{
    background: radial-gradient(ellipse at top, #efd80c, transparent), radial-gradient(ellipse at bottom, #9f540c, transparent);

    
}

#leftmenutd{
    width: 302px;
    height: 100%;
    float: left;
    overflow:hidden;
    margin-top: 0px;
}
#leftMenuBlock{
    border-right: 3px groove #cecece45;
    border-bottom: 3px groove #cecece45;
    border-radius: 0 8px 8px 0;
}

#minfo{
    border-right: 3px groove #cecece45;
    border-bottom: 3px groove #cecece45;
    border-radius: 0 8px 8px 0;
    padding: 15px 5px;
    margin-top:1px;
}
#minfo > div{
    padding: 5px 0;
}

#mainBlock{
    margin-left: 304px;
    padding: 2px 10px;
    min-height: 2500px;
    border-left: 3px ridge #cecece45;
    border-bottom: 3px groove #cecece45;
    border-radius: 8px 0 0 8px;
}
#mainBlock > h2:first-child{
    text-align: center;
    color: #212020;
    margin: 25px 0;
    padding-bottom: 15px;
    margin-bottom: 5px;
}

.itemNews {
    margin:0 15px;
    overflow:hidden;
    position:relative;
    padding:25px 20px 15px 20px;
    background:#d8ccc333;
    border-radius: 9px;
}


.headItem{
    margin: 5px 20px;
    
}

.headItem > a{
 text-decoration: none; 
 color:#0021a5;
}

.headItem > a:hover{
    color: #0d3cf7;
}

.itemNews > .text > p{
    margin: 8px 0;
}
.itemPhotos { 
    width:100%;
    max-width: 300px; 
    height:200px; 
    overflow: hidden;
    position: relative;
    border-radius: 9px;
    padding:0;
    text-align: center;
    float: left;
    margin: 0 20px 0 0;
    box-sizing: border-box;
}

.divPhotosHover {
    position: relative;
    display: inline-block; 
    z-index:5;
    box-sizing: border-box;
    height:100%; 
}

.divPhotosHover:hover > .divPhotoIndicator{
    box-shadow: inset 0px 0px 10px 10px rgb(255, 255, 255);
}
.divPhotoIndicator{
    position: relative;
    top:82%;
    width:12px;
    height: 12px;
    box-sizing: border-box;
    border: 2px solid rgb(255, 255, 255);
    margin: 0 auto;
    transform: rotate(45deg);
    border-radius: 5px;
    box-shadow: 0 0 1px 2px rgba(227, 225, 228, 0.2), inset 0px 0px 10px rgba(12, 12, 12, 0.7);
}

.imgContainer:nth-child(2) {
    visibility: visible;
}


.divPhotosHover:hover + .imgContainer{
    visibility: visible;
}
.imgContainer{
    visibility: hidden;
    position: absolute;
    width: 100%; 
    top:0;
    left:0;
    z-index:1;
    background: rgb(255, 255, 255);
}

.divPhoto {
    width: 100%; 
    height: 180px;
    overflow: hidden;
}
.divPhotoAuth{
    width: 100%; 
    height: 170px;
    overflow: hidden;
}

.imgPhoto{
    z-index:2;
    display:block;
    max-width: 100%;
    max-height: 130%;
    margin: auto;
}

.imgNameAuthor{
    position: absolute;
    bottom: 5;
    text-shadow: 1px 1px 2px red, 0 0 1em blue, 0 0 0.2em blue;
    color: white;
}


.bottomItem{
    text-align: right;
    margin-left: auto;
    margin-right: 20px;
    z-index:0;
    padding: 3px 7px 3px 2px;
    font-style: italic;
}
.authorItem{
    display: inline-block; 
    padding: 5px;
}
.dateItem{
    display: inline-block; 
    padding: 5px;
}
.text {
    margin: 2px 20px;
    font-size:1.1em;
}

.hrNews {
    margin: 10px auto;
    border-top: 1px solid #d4d0cd;
    width: 94%;
}

.headLeftLink{
    font-size:1.4em;
    margin: 0;
    padding: 14px 0 4px 7px;
}
.leftMenuLink{
    font-family: Roboto_Slab;
    margin-left:17px;
    text-decoration:none;
    letter-spacing:0.05em;
    display: block;
    font-size: 1.2em;
}
.leftMenuLink:hover{
    color:orange;
}
#aboutMenu{
    margin: 25px 5px;
    
}
/* left menu */
/*--*/
/*--*/
#lmpk{
    margin-top: 35px;
    margin-bottom: 25px;
}
#lmpk li{
    list-style-type: none;
}
#lmpk a{
    text-decoration: none;
}
#lmpk > nav > p {
    margin: 20px 5px 5px 10px;
}
#lmpk > nav > ul {
    margin: 5px 15px 35px 20px;
}
#lmpk a:hover {
    color:red;
}
#bsk + ul {
    padding: 0;
    margin: 10px 5px 5px 10px;
}
#bsk + ul > li >a{
    color:rgb(51, 146, 8);
    font-size: 21px;
}
#bsk + ul > li {
    margin-top: 14px;
}
#bsk + ul > li >ul {
    padding: 0;
    margin-left: 10px;
    margin-top: 2px;
}
#bsk + ul > li > ul> li {
    margin-top: 8px;
}
#bsk + ul > li >ul > li >a{
    color:rgb(110, 74, 51);
}
#bsk + ul > li > ul > li >ul{
    padding: 0;
    margin-left: 20px;
    margin-top: 1px;
}
#bsk + ul > li > ul > li > ul > li >a{
    color:rgb(139, 132, 104);
    font-size: 18px;
}
#bsk + ul > li > ul > li > ul > li > a:hover::before {
    content: "\27A5  "; 
    color:rgb(21, 255, 0);
}
#glk + ul {
    padding: 0;
    margin-left: 10px;
}
#glk + ul > li > a{
    color:rgb(110, 74, 51);
}

#kser + ul {
    padding: 0;
    margin-left: 10px;
}
#kser + ul > li > a{
    color:rgb(110, 74, 51);
}

#kmv + ul {
    padding: 0;
    margin-left: 10px;
}
#kmv + ul > li > a{
    color:rgb(110, 74, 51);
}
hr.leftMenu {
    width: 90%;
    margin-top: 30px;
}
/* ----------- */
/* ----------- */

footer > div {
    margin: 20px 25px;
}
footer > div > a{
    text-decoration: none;
    color: rgb(21, 21, 141);
    display: inline-block;
    padding-left: 7px;
}
footer > div > a:hover{
    color: rgb(136, 15, 118);
    text-decoration: underline;
}

#footer2{
    margin-bottom: 4px;
}
#footer3{
    margin-top: 4px;
}

#historyLink{
    display: block;
    text-decoration: none;
    font-size: 1.2em;
    width:250px;
    height: 40px;
    border: 1px solid rgb(238, 194, 15);
    border-radius: 3px;
    text-align: center;
    line-height: 40px;
    margin: 14px 20px 0 auto;
    
}
#historyLink:hover{
    color:rgb(116, 19, 19);
    background-color: rgb(232, 222, 222);
    text-decoration: underline;
}
#recYaLeft{
    max-width:300px;
    margin:15px auto;
    overflow: hidden;
}
#recYaLeft2{
    max-width:292px;
    margin:40px auto;
    overflow: hidden;
}

#reclYa{
    border-radius: 9px;
    max-width: 1402px;
    max-height: 250px;
    margin: 30px auto;
    overflow: hidden;
    border: 1px solid rgb(100, 100, 100);
}

#reclYa2{
    border-radius: 9px;
    max-width: 1402px;
    max-height: 250px;
    margin: 30px auto;
    overflow: hidden;
    border: 1px solid rgb(100, 100, 100);
}
#reclYaDown{
    border-radius: 9px;
    max-width: 1580px;
    margin: 30px auto;
    overflow: hidden;
}
@font-face {
    font-family: Roboto_Slab;
    src: url(/fonts/Roboto_Slab.woff2);
}

/**********************************************************************************************
**********************************************************************************************
**********************************&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*******************************/

@media all and (orientation:portrait) and (max-width: 1300px){
    /* Для мобильных телефонов: */
* {
      box-sizing: border-box;
      }
body{
    background: rgb(0, 0, 0);
    margin: 0;
    width:100%;
    max-width: 100%;
}

body > *{
    width:100%;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}
#mainDiv{
    display: flex;
    flex-direction: column;
}
#mainBlock{
    border:0;
    padding: 5px;
    margin: 5px;
    order: 1;
    min-height: 100px;
}
#mainBlock > h2:first-child{
    margin: 10px 0;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 28px;
    line-height: 35px;
}

.hgroup{
    height: auto;
}
.hgroup > h1 {
    margin: 4px;
    font-size: 34px;
}
.hgroup > h2{
    margin: 4px;
    font-size: 29px;
}
#leftmenutd{
    float:none;
    display:block;
    order: 3;
    width:100%;
    margin-top: 10px;
}

#leftMenuBlock{
    border-top: 3px groove #cecece45;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
}


.itemPhotos{
    float: none;
    margin: 10px auto;
}
#historyLink{
    order: 2;
    margin: 10px auto;
}

#gerb{
    float:right;
    height: 50px;
    margin: 0;
    margin-right: 15px;
}
#gerb:hover{
    position:relative;
    top: 0px;
    height: 50px;
} 
#weather {
    width: 100%;
    height: 148px;
    border-radius: 0px;
}
#weather > div > a {
    display: flex !important;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
#weather .widget-column_item{
    border-left: none;
    padding: 0;
}

#topNav{
    font-size: 18px;
    line-height: 22px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
#topNav > a{
    border-left: none;
    padding: 12px 14px;
}

.itemPhotos{
    margin-bottom: 2px;
}
h2.headItem {
    margin: 0;
    line-height: 30px; 
    font-size: 24px;
}
h2.headItem > a{
    text-decoration: none;
     
}
.itemNews {
    border-bottom: none;
    margin: 0;
    padding: 25px 10px 15px 10px;
}
.text{
    margin: 0;
    font-size: 20px;
    line-height: 25px;
}
.bottomItem > *{
    font-size: 18px;
    padding: 0;
    margin-left: 8px;
}
.bottomItem{
    margin: 0 0 10px 0;
}
}