/*

*/


/* ------------------------------------------------------------------------------ */

* {
  box-sizing:border-box;
}

html { height: 100%; }
.hide, .visuallyhidden { display: none; }

/* common text */
html, input, textarea {
  font-family: 'Roboto', 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;}

.inner p a,
.inner li a,
table a
{
  color:#094fa3;
  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;}

/* 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 {

}

blockquote p:last-child {margin-bottom:0;}

.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

.blue {color:#007AC2;}
.gray {color:#888;}
.error, .red {color:#c00;}

span.tab {
  display:block;
  padding-left:1rem;
}

.text-smaller {font-size:0.85rem;}


/* 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:#123899;
}

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;
}


span.extra
{
  color: #018AA6;
}

.description, .image-caption {
  font-size:16px;
  line-height:1.4;
  color:#888;
  font-weight: 500;
}

.highlight {
  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:16px;
}


table th
{
  padding: 5px 3px;
  font-weight: 500;
  text-align: left;
  color: #000;
  vertical-align: top;
  
  border-bottom: solid 1px #b39271;
  
}

table th[scope="col"] { border-bottom: solid 1px #b39271; }

table th[scope="row"]
{
  border-right: solid 1px #b39271;
  border-bottom: solid 1px #b39271;
}

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 0px;
  min-height:112px;
  width:100%;
  
  border-bottom: solid 1px #efefef;
}

#page-header > div {

  display:flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  z-index:10;  
}



  /* logo */

#page-header div.logo
{
  position:relative;
  overflow:hidden;

  margin: 0;
  padding: 0;
  line-height: 1;
  z-index: 2; 
  display:block;

  flex: 0 0 358px;
  width:358px;   
}

#page-header div.logo:lang(en) {
  width:120px;
  flex-basis:120px;
}


#page-header div.logo a {border:none;}

#page-header div.logo a img
{
  display: block; 
  border: none;
  height: auto !important;
  width: 100% !important;
}



        /* navigation */

              
  /* main menu and header nav */
#page-header > nav {
  overflow: visible;

  margin:0;
  padding:0;

  flex: 1 1 auto;
}

#page-header > nav,
nav.main-menu
{
  position: relative;

  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-items:flex-start;

  margin-top:0px;
}

nav.main-menu {
  padding-left:20px;
  margin-top:20px;
  
  font-size: 18px;
  color:#007AC2;
  line-height:1;
  font-weight:500;
  
  align-self:center;
  flex-grow:1;
}


nav.main-menu a {
  display:inline-block;
  line-height: 1;
  outline: none;

  padding: 5px 7px;
  margin: 0 5px 5px 0;

  border:none;
}

nav.main-menu a.active {
  background:rgba(0,122,194,0.15);
  color:#007AC2;
}

nav.main-menu a:hover {
  background:rgba(0,122,194,0.15);
}

/* header > topline */
#page-header #header-topline {
  width:100%;
  padding-left:378px;
  align-items:center;
  justify-items:flex-end;
  font-size:16px;
}

#page-header #header-topline:lang(en) {padding-left:145px;}

#page-header #header-social a {
  display:inline-block;
  margin:0;
  line-height:1;
  border:none;
  filter:grayscale(1);
}

#page-header #header-social a:hover {filter:grayscale(0);}

#page-header .search_short {margin-left:10px;}
#page-header .search_short form,
#page-header .search_short fieldset
{margin:0; padding:0;}

#page-header .search_short  input[type=submit] {display:none;}
#page-header .search_short input[type=text] {
  font-size:16px;
  margin:0;
  width:200px;
}

#page-header .search-link {margin-left:30px;}
#page-header .search-link a {
  border: solid 1px #dedede;
    border-radius: 5px;
    padding: 3px 5px;
    background: url(../images/ico-search.svg) 5px center no-repeat #f2f3f4;
    padding-left: 22px;
    background-size: 12px;
    font-size: 14px;
    color: #007AC2;
    font-weight: 500;
  
  filter:grayscale(1);
}

#page-header .search-link a:hover {filter:grayscale(0);}

#page-header nav#menu-lang {

  text-transform: uppercase;
  color: #888;
  font-size: 12px;
  font-weight: 500;
  line-height:1;
}

nav#menu-lang span.item {
  display:inline-block;
  padding:0.25rem;
}

nav#menu-lang span.item a {border:none;}
nav#menu-lang span.item.active {background:#f2f3f4;}

#burger-toggle {
  display: block;
  z-index: 20;
  width: 30px;
  height: 30px;
  margin:32px 0 0;
  background: url(../images/ico-burger.svg) 0 0 no-repeat;
  background-size: contain;  
}

  /* footer */

#page-footer
{
  overflow: hidden;
  position: relative;

  font-size: 0.75rem;
  color: #888;

  padding: 30px 50px;
  background:#fff;

  display: -ms-flexbox;
  -ms-flex-align: start;  

  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;  
  align-items: flex-start;
  
  border-top: solid 1px #efefef;
}

#page-footer > div {
  -ms-flex-positive:0;  
  flex-grow:0;
  margin-left:35px;
}

#page-footer .copyright {
  -ms-flex-negative:0;
  -ms-flex-positive:1;
  -ms-flex-item-align:start;  

  flex:1 0 auto;
  justify-self:flex-start;

  margin-left: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:#037ac1;
}

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:#037ac1;
}
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:30;
  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 .burger-close {
  display: block;
  position: absolute;
  top:30px; right:30px; 
  
  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: 0 80px 50px;
  
  display:flex;
  flex-flow: row wrap;
  align-items: stretch;
}

#burger > .wrap > * {

  flex: 0 0 300px;
  padding:0 30px 30px 0;
}


/* burger menu */
#burger h3 {font-size:16px; font-weight:bold;}
#burger span.item {
  margin:0 0 0.7em;
  display:block;
  
  font-size:16px;
}

#burger a {
  border:none;
}

#burger span.item.active a {
  color:#b39271;
  font-weight:400;
}

  /* submenu */
nav.submenu {
  font-size:15px;
  font-weight:500;
  margin:30px 0px 0;
}

nav.submenu .item span {
  display:inline-block;
  padding:5px 10px;
  margin:0 0 2px;
}

nav.submenu .item a {color:#037ac1; border:none;}
nav.submenu .item.active > span {background:#037ac1; color:#fff;}

nav.submenu .level .level {
  padding-left:20px;
}

  /* 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:#888;
}


/* 
/////////////////////////                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[class^="bg"] div.side-header {margin:0;}

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;
  border-left:4px solid #3179BC;
  margin:1.5rem 0;
  color:#3179BC;
}

/* factoid */
div.factoid {
  margin:1rem 0;
}

div.factoid h3, div.factoid h2 {
  color:#3179BC;
  font-weight: normal;
  line-height:0.925;
  letter-spacing:-0.02em;
  margin-bottom:0.2em;
}

div.factoid h2 {font-weight: 500;}

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;}


/* 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:#EEF0F0;
  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 .item {
  display:inline-block;
  padding:0.3em 0.5em;
  font-size:0.83rem;
  cursor:pointer;
  background:transparent;
  line-height:1.2;
  border-radius:2rem;
  margin-top: 1rem;
  transition: color 0.2s ease-in;
}

.mstab-stack-menu .item:hover {
/*   opacity:0.5; */
  color:#EA582B;
}

.mstab-stack-menu .item.active {
  background:#eaecee;
}

.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/ico-left-white.svg) center no-repeat;
  
}
.ms1slider__ears_right {
  right: 0;
  background: transparent url(../images/ico-right-white.svg) center no-repeat;
}

.ms1slider__ears:hover {opacity:0.7;}


/* 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;}



/* 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;  
}