/* ------------------------------------------------------------------------------ */

:root {
  --tiny:14px;
  --small:16px;
  --gray:#888;
  --blue:#007AC2;
  --red:#c00;
}

/* ------------------------------------------------------------------------------ */

@font-face {
  font-family: 'als_hauss';
  src: url('../fonts/als_hauss_regular.eot');
  src:
       url('../fonts/als_hauss_regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/als_hauss_regular.woff2') format('woff2'),
       url('../fonts/als_hauss_regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'als_hauss';
  src: url('../fonts/als_hauss_bold.eot');
  src:
       url('../fonts/als_hauss_bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/als_hauss_bold.woff2') format('woff2'),
       url('../fonts/als_hauss_bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'als_hauss';
  src: url('../fonts/als_hauss_light.eot');
  src:
       url('../fonts/als_hauss_light.eot?#iefix') format('embedded-opentype'),
       url('../fonts/als_hauss_light.woff2') format('woff2'),
       url('../fonts/als_hauss_light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------------------ */

* {
  box-sizing:border-box;
}

html { height: 100%; }
.hide, .visuallyhidden { display: none; }

/* common text */
html, input, textarea {
  font-family: 'als_hauss', Arial, sans-serif; 
  line-height: 1.5;
  font-weight: 300;
  font-size: 20px; 
  color:#111;
}

body
{
  text-align: left;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;

  min-width: 1000px;
  max-width: 1600px;
  margin: 0;
  background:#fff;

  background: #f2f3f4;
  margin: 0 auto;
}




a, input, select, textarea { outline: none;}

/* links general */
a
{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.2); 
  transition: color 0.1s ease-in, border-color 0.1s ease-in;
}

.pseudo-link {border-bottom: 1px dashed rgba(0,0,0,0.2); cursor:pointer;}

a.imglink {border-bottom:none; transition: opacity 0.2s;}
a.imglink:hover {opacity:0.55;}

.inner p a,
li a,
table a
{
  color:var(--blue);
  border-color:rgba(18,56,153,0.2);
}


a:hover,
.pseudo-link:hover,
body a:visited:hover,
body nav a:hover,
body nav a:visited:hover,
div.expandable.ready .expandable-toggle:hover
{
  text-decoration: none;
  cursor:pointer;
  
  color:#48a3ee !important;
  border-color:#48a3ee !important;
}


img {vertical-align:top;}

iframe {border:none; vertical-align:top; margin:0 0 35px;}

/* headings, text */

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, em { font-style: normal; }*/

sup
{

}

sup.footnote {
  font-weight: normal;
  opacity:0.5;
    font-size: 0.4em;
    vertical-align: 0.9em;  
}

blockquote:not(.expandable) {
  padding:1rem;
  color:var(--blue);
  margin:0 0 1rem;
}

blockquote p:last-child {margin-bottom:0;}

blockquote.news_spravka {
  color:unset;
  background:#f2f3f4;
}

.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

.blue,.text-blue {color:var(--blue);}
.gray,.text-gray {color:var(--gray);}
.error, .red {color:var(--red);}

.text-gray-small {
  color:#888;
  font-size:16px;
  font-weight:500;
}

p > br + .text-gray-small {display:block; line-height:1.4;}

span.tab {
  display:block;
  padding-left:1rem;
}

.text-smaller {font-size:var(--small);}


/* general text styles */
p {
  margin:0 0 1em;
}

h1 {
  margin:1em 0 0.5em;
}
  
h1.mainHeader {
  font-size: 55px;
  line-height: 1.06;
  font-weight: 400;
  margin:0;
}


h1.mainHeader.long, h1
{
  font-size: 40px;
}


#content-header h1.mainHeader {margin:0;}

header.hasSubheader h1,
header.hasSubheader h2
{margin-bottom:0;}

header p.subheader {
  font-size: 20px;
  opacity:0.5;
}

h2
{
  font-size: 32px;
  line-height: 1.25;
  margin: 1em 0 0.5em;
  font-weight: 400;
  

}


h3 {
  font-size: 26px;
  line-height: 1.35;
  margin: 1em 0 0.5em;
  font-weight: 400;

  line-height: 1.35;  
}



h4
{
    font-size: 1rem;
  line-height: 1.5;  
    margin: 1em 0 0.6em;
    font-weight: 400;    
}

h5
{
  font-size: 20px;
  color:#b39271;
  line-height: 1.5; 
  margin: 1em 0 0.6em;
  font-weight: bold;    
  margin: 0em 0 1em;
}


ul
{
  margin-bottom: 0.5em;
  margin-top: 0;
  padding:0;
  list-style: none;
}

ul ul {
  margin-top: 0.5em;
  padding-left:1em;
}

ul li
{
/*   background: url(../images/ul.png) 0 0.7em no-repeat; */
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  position: relative;
}

ul li:before {
  content:'\2014';
  display:block;
  position:absolute;
  left:0;
  top:0;
  color:var(--blue);
}

ul.check li:before {display:none;}
ul.check li {
  background:url(../images/ico-check-stroke.svg) 0 5px no-repeat;
  background-size:22px;
  min-height:20px;
}

ol
{
  list-style: decimal;
  padding-left: 1.5rem;
}

ol li { margin-bottom: 0.6em; }

dl
{
  margin-bottom: 1em;
  overflow: hidden;
  position: relative;
}

dt
{
  font-weight: 500;
  float: left;
  padding-right: 0.5em;
  padding-bottom: 0.5em;
}

dd
{
  padding-bottom: 0.5em;
  min-height: 1.5em;
}

p.param {margin:0 0 0.3em; color:var(--blue); font-weight:500; font-size:var(--small);}
p.param + .value {font-weight:500; margin:0 0 1.5em;}


span.extra
{
  color: var(--blue);
}

.description, .image-caption {
  font-size:var(--small);
  line-height:1.4;
  color:var(--gray);
  font-weight: 500;
}


/* tables */
td, th
{
  vertical-align: top;
  text-align: left;
}

table
{
  margin-bottom: 30px;
  border:none;
  width: 100%;
  line-height: 1.4;
  
  font-size:var(--small);
}


table th
{
  padding: 5px 3px;
  font-weight: 500;
  text-align: left;
  color: #000;
  vertical-align: top;
  
  border-bottom: solid 1px var(--blue);
  
}

table th[scope="col"] { border-bottom: solid 1px var(--blue); }

table th[scope="row"]
{
  border-right: solid 1px var(--blue);
  border-bottom: solid 1px var(--blue);
}

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;
  box-sizing:border-box;
  padding:20px 50px;
  min-height:112px;
  width:100%;

  display:-ms-flexbox;
  -ms-flex-align: start;

  display:flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  z-index:10;
  
  border-bottom: solid 1px #efefef;
}



  /* logo */

#page-header div.logo
{
  position:relative;
  overflow:hidden;
  
  margin: 0;
  margin-right:30px;  
  padding: 0;
  line-height: 1;
  z-index: 2; 
  display:block;

  height: 76px;

  -ms-flex-order:99;
  -ms-flex-negative:0;

  flex: 0 0 auto; 
  order:99;
  
  margin-top:-10px;
  height:86px;
}


#page-header div.logo a {border:none;}

#page-header div.logo a img
{
  display: block; 
  border: none;
  height: 100% !important;
  width: auto !important;
}


#page-header div.logo a img
{
  display: block; 
  border: none;
  height: 100% !important;
  width: auto !important;
}

/*#page-header div.logo.hasSub {text-align:right;}*/

#page-header div.logo.hasSub a img {
  height:calc(100% - 26px) !important;
  
  height:calc(100% - 36px) !important;
  height:calc(100% - 40px) !important;
  display:inline-block;
}

#page-header div.logo.hasSub div.sub {
  font-size:20px;
  font-weight:bold;
  color:var(--blue);
  margin:0 0 8px; 
    
  font-size:32px;
}
#page-header div.logo.hasSub a + div.sub {
  margin:8px 0 0; 
}




              /* navigation */

              
  /* main menu and header nav */
#page-header > nav {
  overflow: visible;
    
  margin:0;
  padding:0;
  
  -ms-flex-positive: 1;
  flex: 1 1 auto;
}

#page-header > nav,
nav.main-menu
{
  position: relative;
  
  display: -ms-flexbox;
  -ms-flex-align:center;
  -ms-flex-wrap:wrap;
    
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-items:flex-start;
  
  margin-top:0px;
}

nav.main-menu {
  font-size: 22px;
  color:var(--blue);
  line-height:1;
  font-weight:500;
}


nav.main-menu a {
  display:inline-block;
  line-height: 1;
  outline: none;

  padding: 5px 10px;
  margin: 0 5px 5px 0;

  border-radius:5px;
  border:none;
}

nav.main-menu a.active {
  background:rgba(0,122,194,0.15);
  color:var(--blue);
}

nav.main-menu a:hover {
  background:rgba(0,122,194,0.15);
}


#page-header #header-top {
  position:absolute;
  height:20px;
  padding:10px 50px 0;
  top:0; left:0; right:0;

  font-size:var(--tiny);
  font-weight:500;
  color:var(--gray);
  
  display:flex;
  justify-content:space-between;
}

#page-header #header-top .ico-link {
  margin-right:10px;
    font-size:var(--tiny);
}

#page-header #header-top aside a {border:none;}
#page-header #header-top aside a:after {
  content:'';
  display:inline-block;
  vertical-align:middle;
  height:12px;
  width:12px;
  background:url(../images/ico-linkexternal-gray.svg) center no-repeat;
  background-size:12px;
  margin-left:0.2em;
}


#page-header > nav#menu-lang {
  -ms-flex-positive: 0;
  flex: 0 0 auto;
  
  display: -ms-flexbox;
  -ms-flex-align:center;
    
  display:flex;
  align-items:center;
  justify-items:flex-start;  
  
  margin-right:1.75rem;
}

nav#menu-lang span.item {
  display:inline-block;
  
  text-transform:uppercase;
  font-size:20px;
  padding:0 0.25rem;
  font-weight:500;
  line-height:1;
  opacity:0.5;
}

nav#menu-lang span.item a {border:none;}

nav#menu-lang span.item:hover {opacity:1;}
nav#menu-lang span.item.active {opacity:1;}

                  /* main menu 2 lvl */
#header-bottom {margin-bottom:-10px;}
                  
nav.main-menu-2lvl {
  display:flex;
  align-items:flex-start;
  flex-wrap:nowrap;
  
  align-self:center;
  
  overflow:visible;
  position:relative;
  
  font-weight:400;
  
  background:#e9f2f9;
  
  padding:0px 50px;
  margin:0 0 10px;
  max-width:none !important;

  border-bottom:solid 3px rgba(0,0,0,0.1);
  
  font-size:var(--small);
  z-index:50;
}

nav.main-menu-2lvl > .items {
  border-bottom:10px solid transparent;
  margin-bottom:-10px;
}

nav.main-menu-2lvl > .items > a {
  display:block;
  line-height:1;
  padding:10px 12px;
  border-radius:20px;
  
  background:#fff;  
  background:#e9f2f9;
  
  color:#027ac1;
  white-space:nowrap;
    
    color:#111;
    background:#f2f3f4;
    
    background:none;
    padding:10px 12px;
    border:none; border-radius:0;
    border-left:1px solid #ccc;
}

nav.main-menu-2lvl > .items:hover {
}

nav.main-menu-2lvl > .items:hover > a {
  background:#e9f2f9;
  background:#027ac1;
  color:#fff !important;
  
  background:transparent;
  border-color:#ccc !important;
  color:#027ac1 !important;
}

nav.main-menu-2lvl .active > a {
  background:#01b9f2;
  background:#027ac1;
  color:#fff;
  
  background:transparent;
  border-color:#ccc;
  color:#027ac1;  
}


nav.main-menu-2lvl > .items {
  overflow:visible;
}

nav.main-menu-2lvl div.lvl-2 {
  display:none !important;
  
  position:absolute;
  z-index:919;
  
  background:#e9f2f9;
  background:#027ac1;
  color:#fff;
  
  margin:10px 0 0 !important;  
  padding:10px 0px;
  border-radius:5px;
  
  font-size:var(--small);
  
  background:#e9f2f9;
  color:#111;  

  border:solid 1px #ccc;
  border-bottom-width:3px;
  border-bottom-color:#ddd;  
}

nav.main-menu-2lvl > .items:hover div.lvl-2 {
  display:block !important;
}

nav.main-menu-2lvl > .items:hover div.lvl-2 a {
  display:block;
  padding:5px 10px;
  border:none;
}



/* burger toggle in menu */
nav.main-menu-2lvl #burger-toggle {
  position:relative;
  top:auto; left:auto;
  line-height:1;
  margin:0 15px -5px 15px; /* +19px wide + border = 50px */
  align-self: center;
  
  filter:grayscale(1);
}

nav.main-menu-2lvl {padding-left:0; /* in case of burger toggle */}



  /* footer */

#page-footer
{
  overflow: hidden;
  position: relative;

  font-size: var(--tiny);
  color: var(--gray);

  padding: 30px 50px;
  background:#fff;
  
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;  
  align-items: flex-start;
  
  border-top: solid 1px #efefef;
}

#page-footer > div {
  flex-grow:0;
  margin-left:35px;
}

#page-footer .copyright {
  flex:0 0 300px;
  justify-self:flex-start;
  margin-left:0;
}

#page-footer > .social {
  text-align:center;
  flex:1 1 auto;
}

#page-footer .copyright .social a.imglink {margin:0 2.5px 0;}

#page-footer nav.menu .item {
  display:inline-block;
  margin:0 0.5em 0.5em 0;
}


              /* navigation */
/* rootline */
nav.rootline
{
  padding:0;
  margin:0 0 0.5rem;
  
  font-size: 0.8rem;
  line-height: 1.1;
  font-weight: 500;
  color:var(--blue);
}

nav.rootline span.item
{
  display:inline-block;
  margin:0 0 0.5em 0;
}

nav.rootline span.item:after
{
  content:'\203A';
  display:inline-block;
  margin:0 0.5em;
}

nav.rootline a
{
  border:none;
}

  
/* submenu */
nav.directory {
  position:relative;
  overflow:hidden;
  margin:1rem 0;
  font-size:1rem;
  font-weight:500;
  color:var(--blue);
}
nav.directory > span.item {
  display:inline-block;
  
  margin:0 1em 1em 0;  
}

nav.directory a {
  display:inline-block;
  padding:0.3em 0.5em;
  line-height:1.3;
  border:solid 1px rgba(3,122,193,0.5);
  border-radius:5px;
}

nav.directory a:hover {
  background:rgba(3,122,193,0.1);
}



  /* burger */
#burger {display:none; opacity:0;}
#burger.active {display:block;}

body.burgerActive {overflow:hidden;}

#burger {
  position:fixed;
/*   top:0;right:0;bottom:0;left:0; */
  top:0; right:0; left:0; height:100vh;
  
  z-index:999;
  padding:0;
  background:#fff;
  overflow-x:hidden;
  overflow-y:hidden;  /* bugfix > dobule scroll and width flicker */
  text-align:right;
  
  -webkit-overflow-scrolling: touch;
}

body.burgerActive #burger {overflow-y:auto;}

#burger-toggle {
  position: absolute;
  left:20px;
  top:26px;

  display: block;
  z-index: 20;
  width: 19px;
  height: 19px;
  background: url(../images/ico-burger.svg) 0 0 no-repeat;
  background-size: contain;
  
}


#burger .burger-close {
  display: block;
  position: absolute;
  top:30px; left:20px; 
  
  z-index: 2;
  align-self: center;

  width: 23px;
  height: 23px;
  background: url(../images/ico-close.svg) 0 0 no-repeat;
  background-size: contain;  
}

#burger-toggle:hover,
#burger .burger-close:hover
{
  opacity:0.5;
  cursor:pointer;
}


#burger > .wrap {
  text-align:left;

  padding: 50px;

  display:flex;
  flex-flow: row wrap;
  align-items: flex-start;

  font-size:var(--small);
  font-weight:normal;
}

#burger > .wrap > * {
  padding:0 50px 25px 0;
  flex:0 0 25%;
  
  overflow-y:auto;
  overflow-x:hidden;
}


/* burger menu */
#burger h3.item {
  font-size:24px;
}
#burger span.item {
  display:block;
  
  font-size:var(--small);
  font-weight:500;
  color:var(--blue);
  margin:0 0 0.5em;
}

#burger a {
  border:none;
}
#burger .item.active {
  padding:5px 10px;
  color:#fff;
  background:var(--blue);
}
#burger span.item.active a {
  color:#fff;
  font-weight:400;
}

    


  /* ico-link */

.ico-link.after:after {
  content:'';
  display:block;
  margin-left:3px;
  background: transparent center no-repeat;
  background-size:contain;
  width:1em;
  height:1em;
}
.ico-link.search:after {
  background-image:url(../images/ico-search.svg);
}
.ico-link.quiz:after {
  background-image:url(../images/ico-quiz.svg);
}

  /* ce-link */


 a.ce-link {
  display:none;
}



/*    ///////            inner pages stuff       ///////////      */

/* content header */
header#content-header {
  margin: 0 0 2rem;
}

header#content-header p.subtitle {
    font-weight: normal;
    font-size: 1.25rem;
    line-height: 1.46;
    margin:0;
    color:var(--gray);
}


/* 
/////////////////////////                FRAMES       //////////////////////////
*/

div[class^="bg"] {
  padding:1em;
  background:#f2f3f4;
  margin: 0 0 35px;
}

div.bg2 {background:#e9f2f9;}

div.col {margin:0 0 1rem;}

div[class^="bg"] h2:first-child,
div[class^="bg"] h3:first-child,
div[class^="bg"] h4:first-child,
.col h2:first-child,
.col h3:first-child,
.col h4:first-child
{
  margin-top:0;  
}

/* side header */
div.side-header {
  margin:35px 0;
}
div.side-header .ce {
  display: -ms-flexbox;
  -ms-flex-align: stretch;

  display:flex;
  flex-flow: row nowrap;
  align-items:stretch;
}

div.side-header header {
  -ms-flex-positive: 0;
  -ms-flex-negative: 0;
  -ms-flex-preferred-size: auto;  
  width: 350px;  
  
  flex: 0 0 350px;
  padding-right:35px;
}
div.side-header header + div {
  -ms-flex-positive: 0;
  -ms-flex-negative: 0;
  -ms-flex-preferred-size: auto;  
  width: calc(100% - 350px);  
  
  flex-grow:1;
}
div.side-header header .header {margin-top:0;}


/* highlight block */
div.highlight-block {
  padding-left:1.5rem;
  
  margin:1.5rem 0;
  
  color:#007ac2;
  border-left:4px solid #007ac2;
  
  font-weight:500;
}

div.attention-block {
  padding:10px 20px 10px;
  margin: 0 0 1rem;
  /*border:1px solid #c00;*/
  
    border-radius: 10px;
    overflow: hidden;
    border-top-left-radius: 0;
    background: #cc000012;  
}

div.fact-block {
  padding:20px 20px 10px;
  margin: 0 0 1rem;
  
    border-radius: 10px;
    overflow: hidden;
    border-top-left-radius: 0;
    background: #f2f3f4;  
    
    font-style:italic;
}


div.attention-block:before {
  content:'ВАЖНО!';
  content:'\0412\0410\0416\041D\041E\0021';
  display:inline-block;
  vertical-align:top;
  padding:0.2em 0.5em;
  background: #c00;
  /*background:rgba(128,38,75,1);*/
  color:#fff;
  
  text-transform:uppercase;
  letter-spacing:0.1em;
  font-weight:500;
  font-size:14px;

  margin:-10px 0 10px -20px;  
}

div.intro-block {
  font-size:28px;
  font-weight:500;
  margin:0 0 2em;
  max-width:1000px;
}

/* factoid */
div.factoid {
  margin:1rem 0;
}

div.factoid h3, div.factoid h2 {
  color:#3179BC;
  font-weight: normal;
  line-height:1;
  letter-spacing:-0.02em;
  margin-bottom:0.2em;
}

div.factoid h2 {font-weight: 500; font-size: 40px;}
div.factoid h2 + p.subheader {font-size: 1rem;}
div.factoid h3 {font-size: 32px;}

div.factoid p.subheader {
  font-size:0.85rem;
  line-height:1.4;
  margin-top:0.3em;
  font-weight: normal;
}

/* circled-figure */
div.circled-figure {
  margin:1rem 0;
}


div.circled-figure.flex > .ce {  
  display: -ms-flexbox;
  -ms-flex-align:center;
  -ms-flex-direction: row;

  display:flex;
  flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

div.circled-figure.flex .ce-text {
  padding-left:1rem;
  line-height: 1.4;
  -ms-flex-negative: 0;
  -ms-flex-negative: 1;
}

div.circled-figure.flex header {
  background:url(../images/circle-blue.png) 0 0 no-repeat transparent;
  background-size:cover;
  overflow:visible;
  text-align:center;
  
  display: -ms-flexbox;
  -ms-flex-direction: column;
  -ms-flex-pack: center;
  -ms-flex-align:center;
  -ms-flex-negative: 0;
/*   -ms-flex-positive: 0; */
  -ms-flex-preferred-size: 5rem;
  
  display:flex;
  flex-direction: column;
  flex-wrap:nowrap;
  justify-content: center;
  
  flex:0 0 5rem;
  height:5rem;
}


div.circled-figure.flex header h3,
div.circled-figure.flex header h2 {
  line-height:1;
  margin:0;
  padding:0;
  color:#3179BC;
  
  font-size:1rem;
}

div.circled-figure.flex header h2 {
  font-size:1.5rem;
}

div.circled-figure.flex header p.subheader {
  margin:0;
  line-height:1;
  font-size: 0.75rem;
  color:#3179BC;
  font-weight: normal;
  
  margin-bottom:-0.1em;
}


div.circled-figure.flex .ce-text p:last-child {margin:0;}


/* tooltip */
span.tooltip {
  display:inline-block;
  width:20px;
  height:20px;
  border-radius:20px;
  overflow:hidden;
  margin-left:0.2em;
  color:#fff;
  text-indent:-999px;
  background:url(../images/ico-question.svg) center no-repeat #314359;
  background-size:7px;
}

span.tooltip.ready {
  text-indent:0;
  text-align:center;
  cursor:pointer;
  transition: background-color 0.2s ease-in;
}

span.tooltip.ready:hover {
  background-color:#3179BC;
  background-color:#EA582B;
}

.tooltip-popup {
  display:none;
  position:absolute;
  z-index:2;
  
  width:500px;
  box-sizing:border-box;
  max-width:80vw;
  background:#fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
  border-radius: 4px;  
  padding:0.5rem 0.7rem;
  font-size:0.75rem;
  color:#000;
}

.tooltip-popup.active {display:block;}

/* v2 - mstooltip */
.mstooltip {
  display:block;
  position:absolute;
  z-index:999;
  
  box-sizing:border-box;
  background:#fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
  border-radius: 4px;  
  padding:0.5rem 0.7rem;
  font-size:var(--tiny);
  color:#000;  
  
  max-height:60vh;
  overflow-y:auto;
}

.mstooltipAnchor:hover {
  cursor:pointer;
  opacity:0.7;
}

.mstooltip p:last-child {margin-bottom:0;}

/* expandable */
div.expandable {
  position:relative;
  overflow:hidden;
/*   margin:0 0 1rem; */
}

div.expandable.ready .expandable-toggle {
  display:inline-block;
  color: inherit;
  border-bottom:1px dotted #ccc;
  cursor:pointer;
  transition: color 0.1s ease-in, border-color 0.1s ease-in;  
}



blockquote.expandable {
  padding:10px 20px;
  background:#e9f2f9;
  border-radius: 16px;
  margin:0 0 10px;
  cursor:pointer;
}

blockquote.expandable > .first {margin:0; font-weight:bolder;}
blockquote.expandable > .expandable-content {margin-top:1em;}

blockquote.expandable:hover {
  background:rgba(238, 240, 240, 0.3);
  background: #1237991c;
  background:#fafafa;
}

blockquote.expandable p:last-child {margin-bottom:0.5em;}

                  /* mstab */
.mstab {
  display:none;
  position:relative;
/*   overflow:hidden; < prevents pull left */
}

.mstab.active {display:block;}

.mstab-stack-menu {
  margin:0 0 1em;
}

.mstab-stack-menu .item {
  display:inline-block;
  padding:0.5em 0.7em;
  cursor:pointer;
  background:transparent;
  line-height:1.2;
  border-radius:20px;
  margin: 0 0.5em 0.5em 0;
  transition: color 0.1s ease-in;
  
  font-weight: 500;
  background-color:#f2f3f4;
  color:var(--gray);
}

.mstab-stack-menu .item:hover {
/*   opacity:0.5; */
  color:rgba(0,122,194,0.15);
  color:#000;
}

.mstab-stack-menu .item.active {
  background:rgba(0,122,194,0.1);
  color:#000;
}

.mstab header.convertedToToggle {display:none;}



            /* main slider */
.ms1slider
{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 730px;
}

.ms1slider__container
{
  position: relative;
  height: 100%;
}

.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(0,0,0,0.3);
}

.ms1slider__point.selected { background: #000; }

.ms1slider__ears
{
  position: absolute;
  z-index: 10;
    
  top: 50%;
  margin-top:-63px;
  width: 126px; height: 126px;

  cursor: pointer;
  
  background-size:43px !important;
}

.ms1slider__ears_left { 
  left: 0;   
  background: transparent url(../images/slider-prev.svg) center no-repeat;
}
.ms1slider__ears_right {
  right: 0;
  background: transparent url(../images/slider-next.svg) center no-repeat;
}

.ms1slider__ears:hover {background-color:#fff;}

/* ms_usable records */
.ce-msusable-records.template-cover a.wrap:hover {opacity:0.7;}

.ce-msusable-records.compact h3.item-title {
  font-size:24px;
  line-height:1.46;
}

.bg .ce-msusable-records.template-cover > .item > .wrap:before {display:none;}
.bg .ce-msusable-records.template-cover > .item > .wrap {background:#fff;}
.bg .ce-msusable-records.template-cover a.wrap:hover {opacity:1;}


              /* imgmap-table */
.imgmap-table {
  position:relative;
  overflow:visible;
}

.imgmap-table .points_overlay {
  position:absolute;
  z-index:2;
  top:0; left:0; right:0; bottom:0;
}

.imgmap-table .points_overlay .point {
  position:absolute;
  width:14px;
  height:14px;
  margin:-7px 0 0 -7px;
  overflow:hidden;
  background:#fff;
  border:3px solid var(--blue);
  border-radius:999px;
}




/* social buttons */
#social-buttons {
  position:relative;
  overflow:hidden; 
  margin:30px 0;
}

#social-buttons #vkshare0 {
  padding:0;
  border:0;
  margin:0 1em 0 0;
  
  display:inline-block;
  vertical-align:middle;
}

#social-buttons #vkshare0 td {
  padding:0;
  border:0;
  margin:0; 
}

#social-buttons .fb_iframe_widget {
  margin:0 1em 0 0;
  display:inline-block;
  vertical-align:3px;  
}

#social-buttons #twitter-widget-0 {
  margin:0 0.9em 0 0;
  display:inline-block;
  vertical-align:middle;  
}



                  /* flash messages */
.ms_flash-container {
  position:fixed;
  bottom:0;left:0;right:0;
  z-index:10; 
}
.ms_flash {
  position:relative;
  overflow:hidden;

  align-items:flex-start;
  padding:20px;
  background:#e3f1f9;
  background:#bde6ff;
  border-top:2px dotted rgba(0,0,0,0.6);  
  
  font-size:16px;
  border-top:solid 1px rgba(2,122,195,0.5);
  
  display:none;    
}

.ms_flash.visible {display:flex;}

.ms_flash > .wrap {
  flex:1 1 auto;
  padding-right:50px;  
}

.overlay-close {
  display: block;
  position: absolute;
  top:20px; right:20px; 
  
  z-index: 2;
  align-self: center;

  width: 38px;
  height: 38px;
  background: url(../images/ico-close-stroke-black.svg) 0 0 no-repeat;
  background-size: contain;  
  cursor:pointer;
}