


/* zoom maps */




/* zoom html code */
/*
<div class="img-magnifier-container" id="img-magnifier-container">
    <img alt="Odessa 1814" id="myimage" src="/portals/0/Images/Old-maps/map2-1814.jpg" />
</div>
*/

/* zoom js code */
/*
<div class="img-magnifier-container-out">
   <div class="img-magnifier-container kinetic-active" id="img-magnifier-container" style="cursor: move;">
      <div class="img-magnifier-glass-border" style="left: 608px; top: 111.2px; display: none;">
          <div class="img-magnifier-glass" style="background-image: url(http://odessahistory.net/portals/0/Images/Old-maps/map2-1814.jpg); background-repeat: no-repeat; background-size: 2726px 2162px; background-position: -1441px -447.4px;">
            <div class="img-magnifier-glass-span" style="display: none;">2x</div>
          </div>
          <img class="img-magnifier-glass-img" src="/Maps/js/Voyage/lupa5.png">
      </div>
      <img alt="Odessa 1814" id="myimage" src="/portals/0/Images/Old-maps/map2-1814.jpg">
    </div>
</div>
*/


      .kinetic-moving-up {
        border-top-color: green !important;
      }
      .kinetic-moving-down {
        border-bottom-color: green !important;
      }
      .kinetic-moving-left {
        border-left-color: green !important;
      }
      .kinetic-moving-right {
        border-right-color: green !important;
      }
      .kinetic-decelerating-up {
        border-top-color: red !important;
      }
      .kinetic-decelerating-down {
        border-bottom-color: red !important;
      }
      .kinetic-decelerating-left {
        border-left-color: red !important;
      }
      .kinetic-decelerating-right {
        border-right-color: red !important;
      }

* {box-sizing: border-box;}

#myimage {
  /*height: 1277px;*/
  width: 100%;
}

/*
.zoom-container {
    position: relative;
    border: 0px solid #000;
    cursor: none;
    height: calc(100vh - 120px);
    width: 100%;
    overflow: hidden;

    / *padding: 50px 50px 50px 50px;* /    
}
*/

.img-magnifier-container-out {
    position: relative;
    border: 0px solid #000;
    cursor: none;
    
    /*padding: 50px 50px 50px 50px;*/    
}

.img-magnifier-container {
    position: relative;
    border: solid 0px white;
    height: calc(100vh - 125px);
    width: 100%;
    overflow: hidden;
}

.img-magnifier-glass-border, .img-magnifier-glass-border2 {
  position: absolute;
  border: 0px hidden yellow;
  cursor: none;

  /*   lupa5 */
  width: 450px;
  height: 450px;
  /*background-image: url("/Maps/js/Voyage/lupa5.png");*/

  /*  lupa3 */
  /*width: 425px;
  height: 432px;
  background-image: url("/Maps/js/Voyage/lupa3.png");*/
  
  z-index: 6;
  left:0px;
  top:0px; 
  
}

.img-magnifier-glass-border2 {
 /* vertical-align: middle;*/
 /* text-align: center;*/
 /* z-index: 2;*/
}

.img-magnifier-glass, .img-magnifier-glass2 {
  position: relative;
  border: 0px solid #000;
  border-radius: 50%;
  cursor: none;

  /*   lupa5 */
  width: 450px;
  height: 450px;
  left:0px;     /*20*/
  top:0px;

  /*  lupa3 */
  /* width: 300px;
   height: 300px;
   left:11px;
   top:15px;*/
 
  z-index: 4;  
}

.img-magnifier-glass2 {
  position: absolute;
  /*z-index: 1;*/
}




.img-magnifier-glass-img, .img-magnifier-glass-img2 {
  position: absolute;
  border: 0px hidden green;
  cursor: none;
  width: 450px;
  height: 450px;
  left:0px;
  top:0px;
  z-index: 7;
  background-repeat: no-repeat;

  /*   lupa5   */
  /*background-image: url("/Maps/js/Voyage/lupa5.png");*/
  /*border-image: none 100% 0 0 stretch;*/

   /*  lupa3 */
  /* background-image: url("/Maps/js/Voyage/lupa3.png"); */

}

.img-magnifier-glass-img2 {
  /*z-index: 1;*/
}

.img-magnifier-glass-span,.img-magnifier-glass-span2 {
  position: absolute;
  border: 0px solid red;
  cursor: none;
  display: none;
  font-size: 40px;
  font-weight: bold;
  color: black;
  left: 50%;
  top: 50%;

  /*
   -webkit-transition: width 0.3s linear;
  -khtml-transition: width 0.3s linear;
  -moz-transition: width 0.3s linear;
  -ms-transition: width 0.3s linear;
  -o-transition: width 0.3s linear;
  transition: width 0.3s linear;
*/

  z-index: 5;
 /* width: 50px;
  height: 45px;*/
  transform: translate(-50%, -50%);
  margin: 0 auto; 
}

.img-magnifier-glass-span2 {
  /*z-index: 3;*/
   /*vertical-align: middle;*/
 /* text-align: center;*/
 /* margin: auto;*/
}


/* red button */



div.d-center{    /* center div with 1x1px on center screen */   
    /*padding: 0%;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*z-index: 3;*/  
    /*border: 1px solid white;*/
}

div.d-center-h{    /* center div with 1x1px on center screen */   
    padding: 0%;
    position: absolute;
    left: 50%;
    top: 0px;
    transform: translate(-50%, 0%);
    /*z-index: 3;*/  
    /*border: 1px solid white;*/
}

div.d-zi-3{ 
    z-index: 3;
}


/*---- MAPS MENU  ------*/

.maps-box {
    background-image: url("/Portals/0/images/bk-01.png"); 
    background-color: rgba(13, 9, 6, 0.98);
    border: 1px solid #9c8860;
    border-radius: 10px;
    padding: 10px;  /* no effect for div*/
}

.maps-box-info {
  background-image: url("/Portals/0/images/bk-01.png");
  background-color: rgba(14,22,27, 0.95);
  border: 1px solid #9c8860;
  border-radius: 10px;
  padding: 10px;  /* no effect for div*/
}

.maps-box-help {
  background-image: url("/Portals/0/images/bk-01.png");
  background-color: rgba(12, 5, 5, 0.97);
  border: 1px solid #8f3c39;
  border-radius: 10px;
  padding: 10px;  /* no effect for div*/
}



.maps-bunner {
    float: left;
    display: block;
    position: relative;
    top:  0px;
    left: 0px;

    background-image: url("/maps/images/bunner/bunner01.gif");
    background-repeat: no-repeat;
    width: calc(100% - 30px);
    height: 150px;    
    text-align: center;
    font-size: 26px !important;
    padding: 0px; /* no effect  for background-image */
    margin: 10px 0px 10px 15px; 
}

.maps-btn {
    width: 100%;
    padding: 5px 0px !important;  /* странно но надо */
    margin:  3px 0px !important;  /* странно но надо */
    font-size: 14px !important;
    text-align: center !important;
    display: block;
}

.maps-scroll-y-,  .help-scroll-y, .main-scroll-y, .navinfo-scroll-y {
    float: left; 
    display: block;
    position: relative;
    top:  0px;
    left: 0px;

    width: 100%;
    height: calc(100% - 50px); /* баннер 170 +кнопка = 235  отнимаем баннер  */
    padding: 10px 10px 0px 25px;  /* ура работает для scroll */   
    margin-left: 0px;  
    margin-top: 15px;     /* если есть баннер то = 0 */

    /*vertical-align: top;*/
    /*overflow-y: scroll;*/
    /*border: 1px solid red;*/
}




/*---- MAIN slider ------*/
.main-slick {
    width: 520px !important; 
    height: 435px !important;    /*height + 30 padding for buttons style */
}


.mapinfoM {
   position: relative;
   /*border: 1px solid red;*/
}

.mapinfoM .mapinfotext {
    top: 470px;           /*top = main-slick + 40  */ 
    /*float: left;  not work in slider */
    position: absolute;
    /*left: 50%;      not work in slider*/
    /*transform: translate(-50%, -50%);  not work in slider*/
    visibility: hidden; /*hidden - test*/
    width: 100%;
    color: #ff6763;
    text-align: center;
    padding: 5px 10px;
    z-index: 10;   /* 1 */
    opacity: 0;  /*0 - test*/
    transition: opacity 1s;

    
    /* border: 1px solid green;*/
}

.mapinfoM .mapinfotext::after {
    content: "";
    position: fixed;
    border-color: #555 transparent transparent transparent;
}

.mapinfoM:hover .mapinfotext {
    visibility: visible;
    opacity: 1;
    animation: mapinfo-up 0.5s 1;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
   
}


/* Chrome, Safari, Opera */

@-webkit-keyframes mapinfo-up {
    from {
       /* transform: translate(-50%, 120%); */
          top: 500px;    /* from  comHTGcontUpM.height */
    }
    to {
          top: 470px;   /* to mapinfotext.top */
        /*transform: translate(-50%, 100%);*/ 
    }
}


/* Standard syntax */

@keyframes mapinfo-up {
    from {
        /*transform: translate(-50%, 120%);*/
         top: 500px;
    }
    to {
          top: 470px;
        /*transform: translate(-50%, 100%);*/
    }
}


.comHTGcontUpM {
    /*width: 520px;*/
    height: 650px;  /*height = mapinfotext.top + max height of mapinfotext  */ 
    float: left;
    padding-left: 0px;
        
   /* border: 1px solid blue; */
}

@media screen and (max-width: 1024px) {
    .comHTGcontUpM {
        width: 545px !important;
    }
}

@media screen and (max-width: 559px) {
    .comHTGcontUpM {
        width: 300px !important;
    }
}

@media screen and (max-width: 375px) {
    .comHTGcontUpM {
        width: 300px !important;
    }
}

.comHTGcontUpM .nav-main-page{
      width: 100%;
      display: block;
      padding: 0px;
      margin-bottom: 10px;
      position: relative;

}

.comHTGcontUpM .main-scroll-y {
    margin: 0 0 0 2px;
    width:  100%;  /*500*/
    height: 415px;  /*height = comHTGcontUpM.height - 150px -   */ 
    display: block;
    float: left;
    padding: 15px 5px 0 5px;
    /*overflow-y: scroll;*/
    position: relative;
}


 

/*
  background-color: rgba(13, 9, 6, 0.98);
    border: 1px solid #9c8860;
      .mCSB_scrollTools

mCSB_scrollTools 
mCSB_2_scrollbar 
mCS-light-thick-nav-main 
mCSB_scrollTools_vertical 
mCSB_scrollTools_onDrag_expand

mCSB_draggerContainer
*/


  .mCS-light-thick-nav .mCSB_draggerContainer .mCSB_draggerRail 
  {
    background-color: #9c8860; background-color: rgba(156,136,96,0.1);
  }

  .mCS-light-thick-nav .mCSB_draggerContainer .mCSB_dragger .mCSB_dragger_bar 
  {
    background-color: #9c8860; background-color: rgba(156,136,96,0.75);
  }

  .mCS-light-thick-nav .mCSB_draggerContainer .mCSB_dragger:hover .mCSB_dragger_bar{ background-color: #9c8860; background-color: rgba(156,136,96,0.85); }

  .mCS-light-thick-nav .mCSB_draggerContainer .mCSB_dragger:active .mCSB_dragger_bar,
  .mCS-light-thick-nav .mCSB_draggerContainer .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{ background-color: #9c8860; background-color: rgba(156,136,96,0.9); }

 
  /* ---------------------------------------- */

  /* theme: "light-thin", "dark-thin" */
  
  .mCS-light-thin-nav.mCSB_scrollTools .mCSB_draggerRail{ background-color: #9c8860; background-color: rgba(156,136,96,0.75); }

  .mCS-light-thin-nav.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, 
  .mCS-dark-thin-nav.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{ width: 2px;    }

  .mCS-light-thin-nav.mCSB_scrollTools_horizontal .mCSB_draggerRail, 
  .mCS-dark-thin-nav.mCSB_scrollTools_horizontal .mCSB_draggerRail{ width: 100%; }

  .mCS-light-thin-nav.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar, 
  .mCS-dark-thin-nav.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{
    width: 100%;
    height: 2px;
    margin: 7px auto;
  }

   /* только для http://odessahistory.net/old-odessa-maps/old-map-1630  сдвиг вертикального скролера ближе */
  .right_drag13 .mCS-light-thick-nav.mCSB_scrollTools_vertical {
    margin-right: 13px;
  }


/* ============== MODAL =========================*/




.modalDiv {
    display: none;
    /* Hidden by default */
    position: absolute;
    /* Stay in place */
    z-index: 1000002;
    /* Sit on top */
    /*padding-top: 30px;*/
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    /* Enable scroll if needed */
    /*background-color: rgb(0,0,0); /* Fallback color */
    /*background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
   background-image: url("/Portals/0/images/bk-04.png");
   background-color: rgba(13, 9, 6, 0.95);
    /*background-color: white;*/
    overflow: hidden ;
}



/* https://habr.com/post/189764/  */
.modalDiv .modalDiv-wrapper .loaded {
    opacity: 1;
}

.modalDiv .modalDiv-wrapper {
  position: relative;
  max-width: calc(100% - 40px);
  max-height:  calc(100% - 10px);
  width: auto;
  height:  auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  border: 0px solid red;
}


/* Modal Content (Image) */

.modalDiv .modalDiv-content, 
.modalDiv .modalDiv-contentYT 
{

    position: relative;
    margin: 10px auto;
    padding: 0;
    max-width: calc(100% - 40px);
    max-height:  calc(100% - 100px);
    width: auto;
    height: auto;
    overflow: hidden;
    /*top: 10px;*/
    border: 0px solid green;
    visibility: hidden;
    display: none;
}

.modalDiv .modalDiv-contentYT 
{
    margin: 0px auto;
    max-width: calc(100%) ;
    max-height:  calc(100% );
}

.modalDiv .modalDiv-content-img,
.modalDiv .modalDiv-content-yt, 
.modalDiv .modalDiv-content-ytYT, 
.modalDiv .modalDiv-content-video, 
.modalDiv .modalDiv-content-videoYT 
{
    position: relative;
    margin: 10px auto;
    padding: 0 ;
    max-width: calc(100% - 40px);
    max-height:  calc(100% - 100px);
    width: auto;
    height: auto;
    overflow: hidden;
    /*border: 1px solid #9c8860;*/
    visibility: hidden;
    display: none;
}

.modalDiv .modalDiv-content-videoYT,
.modalDiv .modalDiv-content-ytYT
{
    margin: 0px auto;
    max-width: calc(100% - 0px);   /*(100% - 40px);*/
    max-height:  calc(100% - 0px); /*100% - 100px*/
}


.modalDiv .modalDiv-content-img { z-index: 1; display: none; }
.modalDiv .modalDiv-content-yt  { z-index: 2; display: none; } 
.modalDiv .modalDiv-content-ytYT  { z-index: 2; display: none; } 
.modalDiv .modalDiv-content-video { z-index: 3; display: none; }
.modalDiv .modalDiv-content-videoYT { z-index: 3; display: none; }


.modalDiv .modalDiv-caption,
.modalDiv .modalDiv-captionYT 
{
    /*left: 10%;*/
    position: absolute;
    display: block;
    margin: 40px auto;
    padding: 10px 50px;
    width: 100%;
    /*height: 60px;*/
    text-align: center;
    color: #d4d4d4;
    font-size: 16px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 100;
    border: 0px solid blue;
    visibility: visible;
    top: 10px;
    z-index: 11000;
    font-weight: 400;
}


.modalDiv .modalDiv-captionYT {
    /*margin: 0px;
    padding: 0px;
    top: 0px;
    border: orangered 1px solid;*/
    opacity: 0;
}

.modalDiv:hover .modalDiv-captionYT{
    opacity: 1;
    width: 78%;
    left: calc(100vw*0.1);   
    display: none;  /* если надо выводить - убрать */
}

@media screen and (max-width: 800px) {
  .modalDiv:hover .modalDiv-captionYT{
      display: none;
  }
}


.modalDiv .modalDiv-close, 
.modalDiv .modalDiv-screen, 
.modalDiv .modalDiv-closeYT, 
.modalDiv .modalDiv-screenYT, 
.modalDiv .modalDiv-closemap  {
    position: absolute;
    top: 17px;
    color: #aaa;
    font-size: 30px;
    font-weight: bold; 
    transition: 0.3s;
    width: auto;
    z-index: 11;
    line-height: 17px;
    z-index: 9999;
}

.modalDiv .modalDiv-closeYT, 
.modalDiv .modalDiv-screenYT
{
    right: 17px;
    line-height: auto;
    opacity: 0;
}

.modalDiv .modalDiv-closemap {
    opacity: 1; 
    width: 26px;
    height: 26px; 
    top: 15px;    
    right: 17px;   
    background: url("/Maps/Btn-close.png"); 
    -moz-transition: all .5s ease-in;
    /* WebKit */
    -webkit-transition: all .5s ease-in;
    /* Opera */
    -o-transition: all .5s ease-in;
    /* Standard */
    transition: all .5s ease-in;    
}

.modalDiv .modalDiv-closemap:hover {
    opacity: 1; 
    background: url("/Maps/Btn-close-hover.png"); 
    cursor: pointer;
    color: #db5854;    
}


.modalDiv .modalDiv-close {
    right: 17px;  /*37px; */
    outline: 0.5;    
}


.modalDiv .modalDiv-screen {
    left: 17px;
    font-size: 20px;

}


.modalDiv .modalDiv-closeYT {
    top: 45%;  /*37px; */
    right: 37px;
    font-size: 35px;
    margin-bottom: 40px;
}


.modalDiv .modalDiv-screenYT {
    top: 45%;
    right: 32px;
    font-size: 35px;
    margin-top: 40px;
}

.modalDiv:hover .modalDiv-screenYT{
    opacity: 1;
}
.modalDiv:hover .modalDiv-closeYT{
    opacity: 1;
}





.modalDiv .modalDiv-close:hover,
.modalDiv .modalDiv-close:focus,
.modalDiv .modalDiv-closeYT:hover,
.modalDiv .modalDiv-closeYT:focus,
.modalDiv .modalDiv-screen:hover,
.modalDiv .modalDiv-screen:focus, 
.modalDiv .modalDiv-screenYT:hover,
.modalDiv .modalDiv-screenYT:focus 
{
    color: #db5854;
    text-decoration: none;
    cursor: pointer;
    /*font-weight: bold;*/
    opacity: 1;
    /*outline: 1px solid white  !important;*/
}


.modalDiv .modalDiv-content,
.modalDiv .modalDiv-contentYT,
.modalDiv .modalDiv-content-img,
.modalDiv .modalDiv-content-video,
.modalDiv .modalDiv-content-videoYT,
.modalDiv .modalDiv-content-yt,
.modalDiv .modalDiv-content-ytYT,
.modalDiv .modalDiv-caption,
.modalDiv .modalDiv-captionYT {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    0% { transform: scale(0);}
    99% { transform: scale(1);}
  100% { 
      }
}

@keyframes zoom {

      0% { transform: scale(0);  }
     99% { transform: scale(1);}
    100% {        
            /* transform: translate(-50%, -50%); 
            left: 50%;
            top: 50%; */
         }
}

.modalDiv .center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-height: 100%;
      max-width: 100%;
}

/*==========   типовые стили =========*/

.h-fr {
  float: right;
}

.h-fl {
  float: left;
}

.h-m-5 {
  margin: 5px 10px 5px 0;
  width: 100%;
  text-align: left;
}

.h-m-non-5 {
  margin: 0px 0px 0px 0px;
}

.h-mr-5 {
  margin-right: 5px;
}

.h-mr-1 {
  margin-right: 1px;
}

.h-ml-5 {
  margin-left: 5px;
}

.h-p-5 {
  padding: 5px;
}
.h-p-7 {
  padding: 7px;
}

.h-pr {
  position: relative;
}

.h-t-5 {
  top: 5px;
}

.h-w100 {
  width: 100%;
}


.divFade {
  /*background-color: rgba(13, 9, 6, 0.5);*/ 
  background-color: transparent;
  /*background-image: url("/Portals/0/images/bk-01.png");*/
  display: block; 
  position: fixed; 
  width: 100%; 
  height: 100vh; 
  top:0px; 
  left: 0px;
  z-index: 100; 
  visibility: hidden;
  
  /*transition: background-color 1s ease-in; */
  /*transition: left .5s ease-in; */

  -moz-transition: all .5s ease-in;
    /* WebKit */
  -webkit-transition: all .5s ease-in;
    /* Opera */
  -o-transition: all .5s ease-in;
    /* Standard */
   transition: all .5s ease-in;
}





/*
.article-img {
    width: 100%;
    float: left;
    text-align: center;
    padding: 0 0 5px 0;
    transition: 0.3s;
}


.article-img:hover {
    cursor: pointer;
    opacity: 0;
    background-image: url("/Portals/0/images/bk-01.png");
}


*/


 /* Container needed to position the overlay. Adjust the width as needed */
.article-container {
  position: relative;
  width: 100%;
  /*max-width: 100px;*/
}

/* Make the image to responsive */
.article-container img {
  display: block;
  width: 100%;
  height: auto; 
  z-index: 0;
  position: relative;
  opacity: 1;
  transition: .3s ease;
}

.article-container img:hover {
  opacity: 1;
  cursor: pointer;
}



.article-container .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  /*background-color: black;*/
   /*background-color: rgba(13, 9, 6, 0.95);*/
  /*background-color: #ff6763;*/
  background-image: url("/Portals/0/images/bk-01.png");
  background-repeat: repeat;
  z-index: 1;

 /* filter: alpha(opacity=0);
  -webkit-transition: opacity 0.3s linear;
  -khtml-transition: opacity 0.3s linear;
  -moz-transition: opacity 0.3s linear;
  -ms-transition: opacity 0.3s linear;
  -o-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;*/
}

/* When you mouse over the container, fade in the overlay icon*/
.article-container:hover .overlay {
  opacity: 0.8;


/*
    background-color: rgba(13, 9, 6, 0);
    background-image: url("/images/articles_comments.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;    */

}

/* The icon inside the overlay is positioned in the middle vertically and horizontally */
.article-container  .icon {
  font-size: 40px;
  font-weight: 100;
  color: white;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;

  /*background-color: rgba(13, 9, 6, 1);*/
  /*background-image: url("/images/articles_comments.png");*/
  /* background-image: url("balloon.png");
  background-repeat: no-repeat;
  background-size: auto; */
  z-index: 2;

}

/* When you move the mouse over the icon, change color */
.article-container .overlay .fa-search-plus:hover {
  color: red;
  opacity: 1;
} 

.article-container .overlay .fa-search-plus {
  color: white;
  opacity: 1;
} 


.article-container span {
    /*background-color: rgba(13, 9, 6, 1);
    background-image: url("/images/articles_comments.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: auto;*/
}



/* Custom InfoWindow */

.hgm-style-iw {
   
    top: 18px !important;
    left: 10px !important;
    background-color: transparent;

    width: 374px !important; 
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(152, 136, 91, 1);
    border: 1px solid rgba(152, 136, 91, 0.6);
    border-radius: 2px 2px 10px 10px;



}

/*  не работает приходится через скрипт менять СТРАННО!!!
.gm-style-iw:nth-child(1) {   
   
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(152, 136, 91, 1);
    border: 1px solid rgba(152, 136, 91, 0.6);
    border-radius: 2px 2px 10px 10px;
    background: white;
}
 */

#hiw-container {
    margin-bottom: 10px;
   /*width: 350px !important; */
    position: relative;

}

#hiw-container .hiw-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 5px;
    background-color: #98885b;
    color: white;
    text-align: center;
    margin: 0;
    border-radius: 2px 2px 0 0;
    /*width: 100%;   him new */
}

 .hiw-title {
   position: absolute;
   width: 100%;
}



#hiw-container .hiw-content {
   /* width: 100%;   him new */
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    margin-right: 1px;
    padding: 10px 5px 0px 15px;
   /* max-height: 250px; him old*/
    overflow-y: auto;
    overflow-x: hidden;
}


.hiw-content {
  position: absolute;
  top: 25px;
}


#hiw-container .hiw-content a {
    color: black;
    text-decoration: underline;
    
}

#hiw-container .hiw-content a:hover {
    color: #ce4542;
}

.hiw-content {
    padding-right: 2px !important;  /* 5 him */
}

.hiw-content img {
    float: left;
    clear: both;
    margin: 0px 10px 10px 0;
    width: 120px !important;
}

.hiw-subTitle {
    font-size: 14px;
    font-weight: 700;
    padding: 5px 0;
}

.hiw-bottom-gradient {
    position: absolute;
    /*width: 326px; him old*/
    width: 100%;
    height: 25px;
    bottom: 4px;  /* 10 him */
    right:  4px;   /* 18 him */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    /* him test border: 1px solid red; */
}

.infoHelp {
  line-height: 1.5;
  margin-bottom: 0pt;
}

.infoHelp li {
   /* font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-size-adjust: none;
    font-stretch: 100%;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    color: rgb(66, 66, 66);*/
    cursor: none;
}

.infoHelp li:hover {   
    color: #9c8860;
    cursor: pointer;
}

.infoHelp .hiliteLI {   
    color: #ff6763;
}

.infoHelp .disabledLI {   
    color: #aaaaaa;
    font-style: italic;
}

/*.infoHelp > ol:nth-child(1) > li:nth-child(1) > a:nth-child(1)*/


.myImgInfo {
    /*border-radius: 5px;*/
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    height: auto;
    padding-bottom: 5px;
}

.myImgInfo {
    padding-top: 5px;
}


.myImgInfo:hover {
    opacity: 0.7;
}


/*--------- OldMaps Voyage ----- BLOCK -------*/
 
.FullScreenDiv {
  background-color: white;
}

.whiteBg {
  background-color: white;
}

.leftInfoList {
  padding: 0px 0px 0px 25px; 
  height: 100%; 
  width: 275px; /* 300 - 25 for scroller */
  background-color: white;
}


.divCalcH100 {
  height: 100vh;
  background-color: white;
}

.divCalcH138 {
  height: calc(100vh - 186px);
  /*height: calc(100vh);  /* new like mobile */
  /*height: calc(100vh - 88px); old */
  /*height: calc(100vh - 100px); */
  background-color: white;
}


.divCalcH500 {
  height: 560px !important;
  background-color: white;
}



.divCalcH128 {
  height: calc(100vh - 128px); 
  background-color: white;
}

.divCalcH88 {
  height: calc(100vh - 88px); 
  background-color: white;
}

.divCalcHF {
  height: calc(100vh); 
  background-color: white;
}

.divW100 {
  width: 100%;
}

.divH100 {
  height: 100%;
}

.divHW100 {
  height: 100%;
  width: 100%;
}

.divHW500 {
  height: 560px;
  width: 100%;
}

.maxH100 {
    max-height: 100px;
}

.maxH200 {
    max-height: 200px;
}

.maxH300 {
    max-height: 300px;
}

.maxHAuto {
    max-height: 10%;
}

/*
.gutter {
    background-color: #f00;

    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    background-image: url('/maps/dragger.png');
    cursor: col-resize;
}

.gutter.gutter-vertical {

    background-image: url('/maps/dragger.png');
    cursor: row-resize;
}
*/

.gutter.gutter2-horizontal {
    background-image: url('/maps/dragger.png');
    position: relative;
    cursor: col-resize;
    left: -17px;
    top:  calc(50% - 19px);
    width: 38px;
    height: 38px;
    z-index: 2100;
    background-color: transparent;
   
}

.gutter.gutter2-vertical {
    position: relative;
    left: calc(50% - 19px);
    top:  -16px;
    background-color: transparent;
    width: 38px;
    height: 38px;
    background-image: url('/maps/dragger.png');
    cursor: row-resize;
    z-index: 1000;
    transform: rotate(90deg);

}




.EDN_article_content  .in_article_image .image_wrapper .mCS_img_loaded {

    display: block;
    margin: 0 auto;
    /*border: 3px blue solid;*/
}


/* voyages left list of markers */
/*   !important надо перебить стиль DNN   */

.voyage-info-title {    
    font-family: "Roboto Condensed", sans-serif;
    font-weight: bolder !important;;
    font-size: 26px;
    text-align: center;
    color: #333  !important;
}

.font20 {
    font-size: 14px;
}
/*
@media only screen 
    and (min-width : 1px) 
    and (max-width : 1300px){
        .font20 {
            font-size: 20px;
        }
}
*/


.containerOf_list {
    position: absolute;
    top: 10px;
    left: 0;
    display: inline-block;
    cursor: pointer;
    z-index: 1;
}
.containerOf_list:hover .bar_list1,
.containerOf_list:hover .bar_list2,
.containerOf_list:hover .bar_list3 {
    background-color: #ff6763;
}

.bar_list1,
.bar_list2,
.bar_list3 {
    width: 22px;
    height: 4px;
    margin: 4px 0;
    background-color: #333;
    transition: 0.4s;
}


.changeOf .bar_list1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 5px);
    transform: rotate(-45deg) translate(-6px, 5px);
}

.changeOf .bar_list2 {
    opacity: 0;
}

.changeOf .bar_list3 {
    -webkit-transform: rotate(45deg) translate(-6px, -6px);
    transform: rotate(45deg) translate(-6px, -6px);
}

.changeOf:hover .bar_list1,
.changeOf:hover .bar_list2,
.changeOf:hover .bar_list3 {
    background-color: #db5854;
}

/* div контейнер для img logo */
.logo_list {
    position: absolute;
    top: 0;
    left: 30px;
    display: inline-block;
    cursor: pointer;
    z-index: 1;
    width: 95px;
    height: 44px;  
    overflow: hidden;  
  }

/* img  logo */
.logo_list_img {
    text-align: center;
    cursor: pointer;
    width: 100%;
    object-fit: contain;
    /*height: 100%; */
  }



.blinks2 {
  cursor:pointer;
  animation: blinks2 0.4s infinite;
  animation-timing-function: ease-in;
  animation-direction: alternate-reverse;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes blinks2 {
    from {opacity: 0.5;}
    to {opacity: 1.0;}
}
/*
img {
    pointer-events: none;
}*/



.watermark2 {
    background-image: url("/portals/0/images/watermark1.png");
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
    float: right;
    display: inline-block;
    margin: 20px;   
    z-index: 100;
    height: 52px;
    width: 138px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@media only screen 
    and (min-width : 1px) 
    and (max-width : 800px){
    .watermark2 {
                background-image: url("/portals/0/images/watermark2.png");
                height: 38px;
                width: 100px;
            }
}
@media only screen 
    and (min-width : 1px) 
    and (max-width : 500px){        
     .watermark2 {
        background-image: url("/portals/0/images/watermark3.png");
        height: 30px;
        width: 80px;
    }
}


.noanimation {   
  animation-name: none;
  animation-duration:0ms;
}
.notransition {   
  transition: none;
}


#snackbardlg0, #snackbardlg1, #snackbardlg2, #snackbardlg3, #snackbardlg4, #snackbardlg5   {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  font-size: 20px;
  font-weight: 400;
  border: 1px solid #333;
}

#snackbardlg0.show, #snackbardlg1.show, #snackbardlg2.show, #snackbardlg3.show, #snackbardlg4.show, #snackbardlg5.show  {
  visibility: visible;
  -webkit-animation: fadeindlg 0.5s, fadeoutdlg 0.5s 2.5s;
  animation: fadeindlg 0.5s, fadeoutdlg 0.5s 2.5s;
}

@-webkit-keyframes fadeindlg {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadeindlg {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeoutdlg {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeoutdlg {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

/* btn for list-left-menu Voyages */
#leftPanoMenuDivID {
  display: none !important;
  visibility: hidden !important;
}


.popup-description{ 
    font-size: 12px;
    font-weight: normal;
    line-height: auto;
    margin-top: 5px;
    margin-bottom: 0;
    margin: 5px 0px;
}

.popup-description p{ 
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important; 
}

.popup-description > p{ 
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}