/*
018AA6 - main color 
00ADEF - hover and blue
f1f2f3 - light gray
#fc4a0a - orange
*/

html { height: 100%; }
.hide, .visuallyhidden { display: none; }

/* common text */
body
{
  text-align: left;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;

  min-width: 1000px;
  max-width: 1300px;
  margin: 0 auto;
  background:#f2f2f2;
}

html {
  color: #010101;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;

}

body, input, select, textarea
{
/*  === moved to html so could use rem units

  color: #010101;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
 */
}

input, select, textarea { outline: none;}

/* links general */
a
{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #d2d2d2;
}

.pseudo-link {border-bottom: 1px dashed #d2d2d2;cursor:pointer;}

a.imglink {border-bottom:none;}

a:hover, .pseudo-link:hover
{
  text-decoration: none;
  color: #fc4a0a !important;
  border-color: #fc4a0a !important;
  cursor:pointer;
}

/*
a:hover img {
    opacity:0.7;
    //filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
*/

img {vertical-align:top;}

iframe {border:none; vertical-align:top;}

/* headings, text */

h1, h2, h3, h4, h5, h6
{
  line-height: 1.3;
  font-weight: bold;
  font-weight:normal;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; text-decoration: none; }
h1 b, h2 b, h3 b, h4 b, h5 b, h6 b { font-weight: inherit; }
i { font-style: italic; }

sup
{
  font-size: 10px;
  line-height: 10px;
  color: #888;
}

blockquote {
  font-size: 1.15em;
  color:#666;
  margin:0 0 1em;
  padding: 1em;
}

blockquote p:last-child {margin-bottom:0;}


address { font-style: normal; }
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* general text styles */
.page-content p, .intro p {margin: 0 0 1em;}


h1.mainHeader.long, .page-content h1
{
  color: #000;
  font-size: 48px;
  line-height: 50px;
  font-weight: bold;
  margin:0 0 0.5em;
}


#content-header h1.mainHeader {margin:0;}

h2
{
  font-size: 32px;
  line-height: 40px;
  margin: 1em 0 0.6em;
  color:#111;
  font-weight: bold;
  

}

h2 + h3.ce-subheader {
  color:#018AA6;
  font-size: 16px;
  font-weight: 300;
  margin:-10px 0 1em;
}

p.page-date { 
  color: #018AA6;
  margin-top: 5px;
  margin-bottom: 15px;
  font-weight: bold;
}

#content-header h2 {
  margin:7px 0 0;
  font-size: 20px;
  color: #888;
  line-height: 1.3;
}

#content-header p.page-date + h2.page-subtitle{
  margin-top:-15px; 
}


h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 1em 0 0.4em;
  color:#111;

}



h4
{
    font-weight: bold;
    font-size: 15px;
    margin: 0 0 0.6em;
    line-height: 1.5;
}


.col h2:first-child, .col h3:first-child, .col h4:first-child {margin-top:0;}
.content section h2:first-child  {margin-top:0;}

.bg h2:first-child, .bg h3:first-child {margin-top:0;}

p.subheader {
    margin: 0.2em 0 0;
    font-size: 16px;
    color: #888;
    line-height: 1.3;
}

ul
{
  margin-bottom: 0.5em;
  margin-top: 0;
  padding:0;
  list-style: none;
}

ul ul { margin-top: 0.5em; padding-left:15px;}

ul li
{
  background: url(../images/ul.png) 0 0.7em no-repeat;
  padding-left: 15px;
  margin-bottom: 0.5em;
  position: relative;
}


ol
{
  list-style: decimal;
  padding-left: 30px;
}

ol li { margin-bottom: 0.6em; }

.content dl
{
  margin-bottom: 1em;
  overflow: hidden;
  position: relative;
  zoom: 1;
  _height: 1%;
}

dt
{
  font-weight: normal;
  float: left;
  padding-right: 0.5em;
  padding-bottom: 0.5em;
}

dd
{
  padding-bottom: 0.5em;
  min-height: 1.5em;
}


span.extra
{
  color: #018AA6;
}

.description {
  font-size:13px;
  color:#888;
}

.highlight {
  font-size: 1.3em;
  margin-top: 1em;
}

/* tables */
td, th
{
  vertical-align: top;
  text-align: left;
  font-weight: normal;
}

table
{
  margin-bottom: 30px;
  border:none;
  width: 100%;
  font-size: 13px;
  line-height: 1.4;
}

table th
{
  padding: 5px 3px;
  font-weight: bold;
  text-align: left;
  background: #fff;
  color: #000;
  vertical-align: top;
  
  border-bottom: solid 1px #fc4a0a;
  
}

table th[scope="col"] { border-bottom: solid 1px #fc4a0a; }

table th[scope="row"]
{
  border-right: solid 1px #fc4a0a;
  border-bottom: solid 1px #e6e6e6;
}

table td
{
  border:none;
  border-bottom: solid 1px #e6e6e6;
  padding: 3px 20px 3px 3px;
}

.page-content .tr-even td { background: #fcfcfc; }


/* ==============================================================================
============================   STRUCTURE   ==============
============================================== */


                /* HEADER */
#page-header
{
  overflow: hidden; 
  position:relative;
  padding:0;
  background:#fff;
  min-height:120px;
  border-bottom: solid 1px #eee;
}

  /* logo */

#page-header h1.logo
{
  margin: 0;
  padding: 0;
  position: absolute;
  line-height: 1;
  z-index: 2; 
  display:block;
  height: 60px;
  top: 45px;
  left: 50px;
  max-width:350px; /*ie11, moz fix*/
  
  left: 35px;
  height: 60px;
  top: 35px;
  max-width:500px; /*ie11, moz fix*/  
}

#page-header .img-container a {
  border:none;
}

#page-header .img-container img {
  display: block;
  border: none;
  height: 100% !important;
  width: auto;
}


#page-header #topline {
  position: absolute;
  overflow: hidden;
  z-index:2;
    
  right: 35px;
  left: 585px;
  top:5px; 
  line-height:32px; /* like search height */

  font-size: 14px;
  color:#888;
}

#page-header .logo-gazprom {
  position:absolute;
  z-index:2;
  top:28px;
  right:35px;
  height:60px;
}



#page-header #topline > * {text-align:left; white-space:normal; vertical-align:middle;}

#page-header #topline .search_short {display:inline-block;  margin-left: 20px;}


#page-header #topline .left {float:left;}

              /* navigation */

              
  /* main menu */
nav#website-menu
{
  position: relative;
  overflow: hidden;
  vertical-align: middle;

  font-size: 18px;
  color: #000;
  font-weight:normal;

  margin: 17px 0 0;
  padding:0px;
  padding-left: 580px;
  padding-right: 160px;
  /*
  text-transform: uppercase;
  letter-spacing:0.45px;  
  */
  display:table;
  border:none;
  width:100%;
  box-sizing:border-box;
  
  min-height: 100px;
}


nav#website-menu > div {
  display:table-cell;
}

nav#website-menu > div.fixed-menu {
  width:220px;
  padding:0;
}

nav#website-menu > div.main-menu {
  vertical-align:middle;
}

nav#website-menu a
{
  display: inline-block;
  line-height: 2;
  padding: 0 5px;  
  margin: 0 10px 10px 0;
  border: none;
  outline: none;
  border-radius:5px;
}

nav#website-menu a:hover
{
  border-color: #aaa !important;
  color: #666 !important;
  background: #efefef;
}


#page-header nav#website-menu a.act
{
  background: #e9f2f8;
  background: #037ac1;
  color:#fff;
}

#page-header nav#website-menu a.act:hover 
{
  color: #000 !important;
  background: #e9f2f8;  
}


nav#website-menu > div.fixed-menu a {
/*   border:solid 1px #b9d5e6; */
/*   color:#007bc8; */
  background:#efefef;
}

nav#website-menu > div.main-menu a {
  margin-bottom:1px;
}

nav#website-menu a.pid-8 {color:#037ac1;}



  /* footer */

#page-footer
{
  overflow: hidden;
  position: relative;

  font-size: 13px;
  color: #888;

  border-top: dotted 1px #ccc;
  padding: 25px 35px 30px;
  display: table;
  box-sizing: border-box;
  width: 100%;
}

#page-footer > .cell {
  display: table-cell;
  position: relative;
  overflow: hidden;
  border:none;
  padding:0;
}


#page-footer .cell.address {
  width:40%;
/*   font-weight:400; */
  text-align:right;
}


                /* search form */

.search_short {
  overflow: hidden;
    width: 167px;
  height: 30px;
  padding: 0px 30px 0px 0px;
  font-size:13px;
  border:solid 1px #efefef;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px  
}

.search_short form
{
  padding: 0;
  margin: 0;
}

.search_short fieldset
{
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  -webkit-padding-before: 0;
  -webkit-padding-start: 0;
  -webkit-padding-end: 0;
  -webkit-padding-after: 0;
}

.search_short fieldset input
{
  margin: 0;
  padding: 0 0 0 0.5em;
  border: none;
  background: none;
  line-height: 1;
  height:24px;
  padding:3px;
  vertical-align: baseline;
  -webkit-box-shadow: none;
  width:100%;
  font-size: 13px;
  color:#888;
}

.search_short input[type="submit"]
{
  width: 30px;
  height: 30px;
  position: absolute;
  right: 2px;
  top: 3px;
  text-indent: -3000px;
  background: none;
  line-height: 1;
  border: none;
  overflow: hidden;
  background:url(../images/search-button.png) 0 0 no-repeat;
}




              /* navigation */


/* wayFinder */
body ul.wayFinder
{
  list-style:none;
  padding:0;
  margin:0;
  color: #888;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 16px;
  overflow: hidden;
  position: relative;
  padding: 0 !important;

}

body .wayFinder li
{
  background:none;
  float: left;
  margin: 0 1em 0 0;
  padding:0;
}

.wayFinder strong { font-weight: 300; }
/*
.wayFinder .home a { 
  display:inline-block;
    *display:block;
    width:11px;
    *height:11px;
    overflow:hidden;
    text-indent:2000px;
    white-space:nowrap;
    background:url(../images/home.png) no-repeat 0px 50%;
     vertical-align:top;
}
*/
.wayFinder a
{
  text-decoration: none;
  margin-right: 1em;
  color: #888;
}

.wayFinder a:hover { text-decoration: none; color:#fc4a0a;}
  
      /* submenu */
nav.subMenu {
  font-size: 20px;
}

nav.subMenu ul
{
  padding: 0;
}

nav.subMenu ul li
{
  margin: 0;
  padding: 0;
  background:none;  
  margin-bottom: 0.8em;
}

nav.subMenu li ul {
  margin: 0.5em 0;
  padding-left: 0.7em;
}

nav.subMenu strong {font-weight: bold;}


/* topline menu 
#topline nav 
{
  display:inline-block;
  background:#e1f1fa;
  border-radius:5px;
  line-height:31px;
  border:solid 1px #fff;
}

#topline nav > *
{
  display: inline-block;
  padding: 0 0.3em;  
  margin:0;
  border: none;
  outline: none;
  color:#000;
}

#topline nav a {border:none;}

#topline nav > *:hover
{
  background: #efefef;
  color:#888 !important;
}


#topline nav > *.active
{
  background: #037ac1;
  color:#fff;
}

#topline nav > *.active:hover 
{
  color: #fff !important;
  background: #888;  
}
*/

/* ==============================================================================
============================   SPECIAL PAGES   ==============
============================================== */

.content.inner #content-image img {max-width:100%; height: auto;}

/* ••• GRID 1 = default •••• */
.inner.grid1 #content-normal .ce-textpic .ce-bodytext, .inner.grid1 #content-normal .ce-text, .inner.grid1 #content-normal .ce-header {
  max-width:700px;
}

/* ••• GRID 9 = longread •••• */
.page-content.inner.grid9 #content-normal {background:none;}
.page-content.inner.grid9 #content-normal > .wrap {
  max-width:none;
  padding:0;
}

.grid9 #content-header {
  max-width:1000px;
  margin-left: auto;
  margin-right: auto;
}

.grid9 .ce-header, .grid9 .ce-text, .grid9 .ce-textpic .ce-bodytext, .grid9 .ce-textpic.ce-below, .grid9 .ce-textpic.ce-above, .grid9 .ce-textpic.layout-1.ce-nowrap, .grid9 .ms_filelist
{ 
  max-width:700px;
  margin-left: auto;
  margin-right: auto;
}

.grid9 .ce-textpic.ce-below .ce-bodytext, .grid9 .ce-textpic.ce-above .ce-bodytext {
  margin-left:0;
  margin-right:0;
  max-width:none; 
}

.grid9 .ce-textpic {overflow: initial;}

.grid9 .ce-header {margin-top: 30px;}
.grid9 .bg .ce-header {margin-top: 0px;}

.grid9 .align- {text-align:center;}

.grid9 .vrezka .ce-bodytext, .grid9 .vrezka .ce-text,  .grid9 .vrezka .ce-header, .grid9 .vrezka .ce-msusable-menu .item-text
{background: #f2f3f4;}


.grid9 .width-big, .grid9 .width-big .ce-header, .grid9 .width-big .ce-text, .grid9 .width-big  .ce-textpic .ce-bodytext, .grid9 .width-big .ce-textpic.ce-below, .grid9 .width-big .ce-textpic.ce-above, .grid9 .width-big .ce-textpic.layout-1.ce-nowrap, .grid9 .ce-msusable-records, .grid9 .width-big .ms_filelist
{max-width:1000px;margin-left:auto;margin-right:auto;}

/*.grid9 #content-image .ce-textpic, .grid9 #content-image .ce-text
{max-width:1000px;}*/


.grid9 .width-whole, .grid9 .width-whole .ce-header, .grid9 .width-whole .ce-text, .grid9 .width-whole  .ce-textpic .ce-bodytext, .grid9 .width-whole .ce-textpic.ce-below, .grid9 .width-whole .ce-textpic.ce-above, .grid9 .width-whole .ce-textpic.layout-1.ce-nowrap, .grid9 .ce-msusable-records, .grid9 .width-whole .ms_filelist
{max-width:none;}

.grid9 .bg {
  background-color:#f2f3f4;
  max-width:700px;
  box-sizing:border-box;
  margin-left:auto;
  margin-right:auto;
}

.grid9 .chapter-next-prev {text-align:center;}

.grid9 .vrezka .align- {text-align: left;} 

.grid9 .ce-related-wrap {text-align:center;}

.grid9 .ce > iframe {display:block; margin: 35px auto;}

.grid9 .page-related {text-align:center;}
.grid9 .page-related .ce-msusable-records.template-default > .item:first-child {margin-left:0;}

.grid9 .ce-msusable-records[class*='cols-'] {text-align:center;}
.grid9 .ce-msusable-records[class*='cols-'] > .item {text-align:left;}

.grid9.inner #content-normal .ce-msusable-records.template-default > .item .item-text, .grid9.inner  #content-normal .ce-msusable-records.template-default > .item .page-thumbnail {
  background:#fff;
}

/* ••• GRID 81 - menu on top •••• */
.page-content.inner.gridpagets__81 nav.subMenu {
  float:right;
  width:50%;
  text-align:right;
  margin-top:-90px;
  font-size:18px;
}

.page-content.inner.gridpagets__81 #content-header {
  padding-right:51%;
}

.page-content.inner.gridpagets__81 #content-all {
  clear:both;
}

.page-content.inner.gridpagets__81 nav.subMenu ul li {
  display:inline-block;
  padding:0.3em 0.5em;
  margin:0 0 0.5em 0.5em;
  border: solid 1px #ccc;
  border-radius:5px;
}

.page-content.inner.gridpagets__81 nav.subMenu ul li.current {
  background:#e9f2f8;
}

.page-content.inner.gridpagets__81 nav.subMenu ul li.current strong {font-weight:400;}

.page-content.inner.gridpagets__81 nav.subMenu ul li a {
  line-height:1;
  border:none;
}
/* ==============================================================================
============================   ELEMENTS   ==============
============================================== */
.ce-header p.subheader {margin-bottom:1em; font-weight: bold;}
.ce-header div.categories {font-size:14px; color:#888;}
.ce-header div.categories > span {
  display:inline-block;
  margin-right:0.5em;
}


            /* common frames */ 
.bg  {
  background-color:#f1f2f3;
  padding:1em;
  margin-bottom:30px;
}


.vrezka {
  overflow: hidden;
  position: relative;
  width: 230px;
  margin-bottom: 35px;
  font-size: 15px; 
  z-index:2;
}

.vrezka .ce-header {
  padding:0 15px;
  background:#f2f3f4;
  overflow:hidden;
}

.vrezka img {
  max-width:100%;
  height: auto;
}

.vrezka .ce-header + .ce-text {
  padding-top:0;
}

.vrezka .ce-header h2 {
  font-size: 20px;
  margin:0.6em 0;
  line-height: 1.3;
  font-weight: bold;
}

.vrezka .imageswrap.cols-1 > .image {margin-bottom:0;padding-bottom:0;}
.vrezka .imageswrap.cols-1 > .image .caption {padding: 5px 15px 0; background:#fff;} 

.vrezka .ce-bodytext, .vrezka .ce-text {
  padding:15px;
  background: #f2f4f4;
}

.vrezka .ce-bodytext p:last-child, .vrezka .ce-text p:last-child {
  margin-bottom:0;
}

.vrezka.right {float:right; margin-left: 35px;}
.vrezka.left {float:left; margin-right: 35px;}



.intro-block {
  font-size: 1.45em;
  margin-bottom:1em;
}

.vrezka .ce-msusable-records > .item, .vrezka .ce-msusable-records.template-default > .item {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 1em !important;
}

.inner #content-normal .ce-msusable-records.template-default > .item .item-text, .inner  #content-normal .ce-msusable-records.template-default > .item .page-thumbnail {
  background:#f2f3f4;
}


            /* main slider v2 */
.ms1slider
{
  position: relative;
  overflow: hidden;
  width: 1200px;
  height: 350px;
}

.ms1slider__container
{
  position: relative;
  height: 100%;
}

.ms1slider > .ms1slider__slide {display: none;}

.ms1slider__slide
{
  position: absolute;
  z-index: 1;
  top: 0;
  width: 100%;
  height: 100%;
}

.ms1slider__points
{
  position: absolute;
  z-index: 10;
  bottom: 0px;
  left: 50%;
  text-align: center;
}

.ms1slider__point
{
  display: inline-block;
  width: 4px;
  height: 4px;

  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;

  margin-right: 3px;
  background: rgba(255,255,255,0.6);
  *background:#aaa;
}

.ms1slider__point.selected { background: #fff; }

.ms1slider__ears
{
  position: absolute;
  top: 0;
  bottom:0;
  
  z-index: 10;
  width: 30px;
  height: 100%;
  cursor: pointer;
}

.ms1slider__ears_left { 
  left: 0;   
  background: transparent url(../images/b.png) no-repeat 50% 50%;
}
.ms1slider__ears_right {
  right: 0;
  background: transparent url(../images/f.png) no-repeat 50% 50%;
}

.ms1slider > .layer {
  position: absolute;
  z-index: 2;
  top:0;
  bottom:0;
}

.ms1slider > .layer.right {
  right:0; 
}





    /* msausable records and menu defaults */
.ce-msusable-records .item .item-category, .ce-msusable-menu .item .item-category {
    display: inline-block;
    margin-right: 0.5em;
    font-size: 14px;
    color: #888;
}

    /* msusable records */ 

.ce-msusable-records.template-default > .item {
  position: relative;
  display:inline-block;
  box-sizing: border-box;
  vertical-align:top;
  height:auto;
  
  width:300px;
  padding: 0 17.5px;
  margin: 0 0 35px;
  text-align:left;
}



.ce-msusable-records[class*='cols-'] {margin-left:-17.5px;margin-right:-17.5px;}
.ce-msusable-records.template-default > .item:first-child {margin-left:-17.5px;}
.ce-msusable-records[class*='cols-'] > .item:first-child {margin-left:0;}


.ce-msusable-records.cols-3 > .item {width:33%;}
.ce-msusable-records.cols-4 > .item {width:25%;}
.ce-msusable-records.cols-5 > .item {width:20%;}


.ce-msusable-records.template-default > .item .page-thumbnail {
  /*margin: 0 0 5px; <- padding on text */

  /* + 31.10.2017 */
  padding:10px 10px 0;
  background:#fff;
}

.ce-msusable-records > .item .page-thumbnail a {border:none;}

.ce-msusable-records.template-default > .item .page-thumbnail img {
  max-width:100%;
  height:auto;
}

.ce-msusable-records.template-default > .item .item-text {
  padding:10px;
  background:#fff;

  /*border: solid 1px #ddd;
  + 31.10.2017
  */
  
}

.ce-msusable-records.template-default > .item p {margin:0;}
.ce-msusable-records.template-default > .item h3 {margin:5px 0;}
.ce-msusable-records .item-date {
    color: #018AA6;
  font-size: 14px;   
}

.ce-msusable-records .item-subtitle {
  font-size: 14px;   
}



/* template 151 */
.ce-msusable-records.template-151 > .item {
  margin: 0 0 50px;
}

.ce-msusable-records.template-151 > .item > .header {
  text-align:center;
}

.ce-msusable-records.template-151 > .item > .header h2 {margin:0 0 5px;}


.ce-msusable-records.template-151 > .item > .body {
  position: relative; 
  overflow: hidden;
}

.ce-msusable-records.template-151 > .item .page-thumbnail {
  width:50%;
  /*float:left;*/
}

.ce-msusable-records.template-151 > .item .page-thumbnail img {
  max-width:100%;
  width:auto;
  height: auto;
}

.ce-msusable-records.template-151 > .item .item-text {
  box-sizing: border-box;
  width:50%;
  float:right;
  background:#fff;
  padding: 20px;   
  padding-bottom:2020px;
  margin-bottom:-2000px;
}

.ce-msusable-records.layout-156 .item-text {
  position:absolute;
  z-index:2;
  padding: 0px 50px;
  padding-right:300px;
  top:0;
  left:0;
  bottom:0;
  right:0;
  background:rgba(0,0,0,0.5);
}

.ce-msusable-records.layout-156 .item-text * {color:#fff;}

.ce-msusable-records.layout-156 > .layer {
  display:table;
  height:100%;
  padding-right:50px;
}

.ce-msusable-records.layout-156 > .layer > .layer-data {
  display:table-cell;
  vertical-align:middle; 
  height:100%;  
}

/* template 171 > longreads frontpage */
.ce-msusable-records.template-171 {
  margin: 35px 0 50px;
  position: relative;
  overflow: hidden;
}

.ce-msusable-records.template-171 > .item {
  position:relative;
  overflow:hidden;
}

.ce-msusable-records.template-171 > .item.iterator-3 {margin-bottom:0;}

.ce-msusable-records.template-171 > .item.iterator-0 {
  float:left;
  width: 50%;
  box-sizing: border-box;
  margin-right: 17.5px;
  padding:0;
  margin-bottom:0;
}

.ce-msusable-records.template-171 > .item.iterator-0 .item-text {
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  padding:17.5px; 
  background:rgba(0,0,0,0.6);
  text-align: center;
}

.ce-msusable-records.template-171 > .item.iterator-0 .item-text * {color:#fff;text-shadow:1px 1px 3px rgba(0,0,0,0.8);}

.ce-msusable-records.template-171 > .item.iterator-0 .item-title {
  font-size: 38px;
  margin-top:55%;
}

.ce-msusable-records.template-171 > .item.iterator-0 .item-subtitle {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
}

.ce-msusable-records.template-171 > .item.isFirst- {
  height:205px;
  background:#fff;
  margin-bottom:17.5px;  
}

.ce-msusable-records.template-171 > .item.isFirst- .page-thumbnail {
  float:left;
  height: 205px;
  width: 205px;
  margin-right: 17.5px;
  overflow:hidden;
}

.ce-msusable-records.template-171 > .item.isFirst- .page-thumbnail img {
  height:100%;
  width:auto; 
}

.ce-msusable-records.template-171 > .item.isFirst- .item-text {
  padding:17.5px;  
}

.ce-msusable-records.template-171 > .item.isFirst- .item-title {
  /*font-size:24px;
  font-weight: bold;*/
  font-size: 20px;
}

.ce-msusable-records.template-171 > .item.isFirst- .item-subtitle {
  /*font-size:20px;*/
  font-size:18px;
}


/* personas = vertical img used */
/* v1*/
.ce-msusable-records.persons > .item > .wrap {
  background:#fff;
  border:solid 1px #ddd;
  position:relative;
  overflow: hidden;
}

.ce-msusable-records.persons > .item .item-text {
  background:transparent;
  border:none;
}

.ce-msusable-records.persons > .item .page-thumbnail {
  float:left;
  margin:0;
  padding:0;  
  margin-right:10px;
  max-width: 150px;
}

.ce-msusable-records.persons .item-subtitle {display:none;} 

/*
persons v2
.ce-msusable-records.persons > .item > .wrap {
  background:transparent;
  position:relative;
  overflow: hidden;
}

.ce-msusable-records.persons > .item .item-text {
  background:#fff;
  padding:10px;
  margin:0;
  border:none;
  margin-left:100px;
  min-height: 170px;
}

.ce-msusable-records.persons > .item .item-text h3 {margin-top:0;} 

.ce-msusable-records.persons > .item .page-thumbnail {
  float:left;
  margin:0;
  padding:0;
  width:100px;
}
*/

.col .ce-msusable-records.persons {margin:0;}  
.col .ce-msusable-records.persons > .item {
  margin:0 0 35px;
  width: 100%;
  padding:0;
}

  /* msusable-menu */
.ce-msusable-menu .item .item-date {
  margin:0;
  color: #018AA6;
  font-size: 14px;
}

  /* bottom nav */
.chapter-next-prev {
  position: relative;
  overflow: hidden;
  margin:35px -17.5px;
}

.chapter-next-prev > .item {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  height: auto;
  padding: 0 17.5px;
  margin:0; 
  text-align: left;
}

.chapter-next-prev > .item > .wrap {
  box-sizing:border-box;
  width:300px;
  overflow:hidden;
  display:block;
  padding:10px;
  background:#fff;
  display:table;
  min-height:100px;
}

.chapter-next-prev > .item > .wrap a {border:none;}

.chapter-next-prev > .item > .wrap > * {
  display:table-cell;
  vertical-align:middle; 
  border:none;
  padding:0;
}

.chapter-next-prev > .item > .wrap > div.item-icon {
  width:35px;
}

.chapter-next-prev > .item > .wrap > div.item-icon a {
  display:block;
  padding-right:15px;
  padding-left:0;
}

.chapter-next-prev > .item.next > .wrap > div.item-icon a {
  padding-left:15px;
  padding-right:0;
}

.chapter-next-prev > .item > .wrap > div.item-text a {
  min-height:90px;
}

.chapter-next-prev > .item > .wrap > div.item-icon img {max-width:100%;height:auto;}

.chapter-next-prev h3.page-title {
    margin:0 0 0.3em;
    line-height: 1.25;
}

.chapter-next-prev p.page-date {
    font-size: 14px;
    line-height: 1;
    margin:0;
    font-weight:300;
}


        /* imageoverlays */
.imageoverlay {
  position:relative;
  overflow:hidden;
}

.imageoverlay > .overlay {
  position:absolute;
  z-index:2;
  top:0;
  right:0;
  left:0;
  bottom:0;
}

.imageoverlay.flex > img {width:100%;}

.imageoverlay.map > .overlay > .item {
  position:absolute;
  padding:0 0 0 20px;
  margin:-7px 0 0 -7px; /*point radius*/
}

.imageoverlay.map > .overlay > .item:before {
  content:'';
  display:block;
  position: absolute;
  left:0px;
  top:0px;
  
  width:10px;
  height:10px;
  background:#fff;
  border: solid 2px #018AA6;
  border-radius: 7px;
}

.imageoverlay.map > .overlay > .item.link:hover:before {
  border-color:#fc4a0a;
}

.imageoverlay.map p {
  text-shadow: 0px 0px 3px #fff; 
}

.imageoverlay.map p.title {
  font-weight:500; 
  margin: -1px 0 0.2em;
  line-height:1;
  font-size: 16px;
}

/*.imageoverlay.map .item.link p.title {font-weight:bold;}*/

.imageoverlay.map p.subtitle {
  font-size:14px;
  color:#666;
  margin: 0;
  line-height:1;
  font-weight:500;
}


      /* tt_content > ce-related */
.ce-related {
  position:relative;
  overflow:hidden;
  margin:0 -17.5px 35px;
  display:none; /* script related */
}

.ce-related > .item {
  position: relative;
  display:inline-block;
  box-sizing: border-box;
  vertical-align:top;
  height:auto;
  
  width:20%;
  min-width:200px;
  padding: 0 17.5px;
  margin: 0 0 35px;
  text-align:left;
}


.ce-related > .item .page-thumbnail img {
  /*max-width:100%;*/
  width:100%;
  height:auto;
}

.ce-related > .item .item-text {
  padding:10px;
  background:#fff;
  border: solid 1px #ddd;
}

.ce-related > .item p {margin:0;}
.ce-related > .item h3 {margin:5px 0;}
.ce-related .item-date {color: #018AA6; font-size: 14px;}
.ce-related .item-subtitle {font-size: 14px;}

.button.ce-related-toggle {
  background:#888;
  font-size: 14px;
  margin:0 0 1em;
  cursor:pointer;
}

.ce-related-toggle:hover {opacity:0.8;}

/* youtube video ajax */
.msyoutube-container {
  position: relative;
  overflow: hidden;
  margin:0 0 35px;
}

.msyoutube-container.info > .video {
  float:left;
  padding-right: 20px;
}

.msyoutube-container span.date {
    color: #018AA6;
    font-size: 14px;
    margin-right: 1em;
    line-height: 1.3;    
}

/* update 8.09.18 */
body {
  max-width:1400px;
  padding:0 50px;
} 

#msnpaMap + .description {
    position: absolute;
    z-index: 4;
    bottom: 0;
    background: #f2f3f4;
    margin: 0;
    padding: 0 5px;
}

/* update 13.07.19 */
#page-header {
  height:120px;
  min-height:0;
}

nav#website-menu {height:100%; margin:0;}

#page-header #topline {
  right:0; left:auto; top:0; bottom:auto;
  overflow:visible;
}

#page-header #topline a.typo {
  position:absolute;
/* 
  top:2px;
  right:2px;
  border-radius:0.6em;
  
 */
   top:0; right:0;
     
  z-index:3;
  
  display:block;
  width:1.2em;
  height:1.2em;
  
  color:#888;
  background:#f2f3f4;

  font-weight:500;
  border:none;
  line-height:1.2em;
  text-align:center;
}


#page-header #topline a.typo:hover {color:#fff !important; background:#fc4a0a;}

#page-header #topline a.typo.in {
  display:inline-block;
  width:auto;
  height:auto;
  padding:0.1em 0.4em;
  color:#fff;
  background:#fc4a0a;
  border-radius:0px;
  top:0; right: 0;
  white-space:nowrap;
}