/* TEMP, move somewhere  */
.flex {
	display:flex;
}

.flex-grow {
	flex-grow:1;
}

 svg.svg-fullwidth {
 	width:100% !important;
 	height:auto !important;
 }

/* move to main.css (clients) */
nav#menu-level {
	display:flex;
	font-size:16px;
	font-weight:500;
	align-items:stretch;
	border-bottom:1px solid #efefef;
	margin:0;
}

nav#menu-level > a {
	flex:0 0 20%;
	padding:0.5em;
	background:#f2f3f4;
	border:none;
	border-left:1px solid #cbcbcb;
}

nav#menu-level > a:first-child {
	border-left:none;
}

nav#menu-level > a:hover {
	background:rgba(0,122,194,0.15) !important;
	color:#007AC2 !important;
}

nav#menu-level > a.active {
	background:#007AC2;
	color:#fff;
}

/* param value */
span.param-value,
span.param-value + span.value
{
	display:inline-block;
	margin-right:0.5em;
	font-weight:500;
	color:#888;
}

span.param-value + span.value {color:#037ac1;}

p.param-value {
	font-weight:500;
	font-size:16px;
	color:#037ac1;
	margin:0 0 0.2em;
}

p.param-value + p.value {

}


/* regular temp */
.intro-block {
	font-size:24px;
	font-weight:500;
}


.figure {
	margin:0 0 1em;
}

[class*='cols-'] > div.figure {margin:0 0 1em;}

.figure .number {
	line-height:1;
	color:#007AC2;
	font-size:40px;
	margin:0 0 0px;
	font-weight:500;
	white-space:nowrap;
}

.figure .param {
	color:#888;
	font-weight:500;
}


/* ico-link */
a.ico-link {
	border:none;
	display:flex;
	
	align-items:center;
}

a.ico-link > *{
	display:block;
}

a.ico-link > img {
	padding-right:10px;
}



/* not so temp */
ymaps[class*="-ground-pane"] {
  filter:grayscale(1);
}


a.wrap {
  display:block;
  border: none;
  transition: 0.3s background;
}


/*
                     frames etc
*/
.col.beforeAside {
  width:70%;
  padding:0;
}

.col.aside {
  width:30%;
  padding:5px 0 0 50px;
  
  font-size:0.75rem;
}

.narrow-block {
	max-width:750px;
	margin: 0 auto;
}


/*
                     inner page defaults
*/


/* default text with no frames around it */
.gridpagets__1 section > .ce > .ce-text,
.gridpagets__1 section > .ce > .ce-textpic > .ce-bodytext,
.gridpagets__1 section > .ce > .ce-textpic .imageswrap.cols-1, 
.gridpagets__1 section .news-text-wrap  
{
  max-width:800px;
}

/* .inner section > .ce > .ce-textpic > .imageswrap + .ce-bodytext, */
.inner section > .ce > .ce-textpic.ce-intext .imageswrap.cols-1,
.inner section > .ce > .ce-textpic.ce-intext .ce-bodytext
{
  max-width:none;
}

div.side-header header + div {max-width:800px;}
.bg div.side-header header + div {max-width:none;}

/* TODO > rework intext nowrap elements to Flex with flex basis 
.inner section > .ce > .ce-textpic.ce-intext .imageswrap.cols-1 {max-width:40%;}
.inner section > .ce > .ce-textpic.ce-intext .imageswrap.cols-1 + .ce-bodytext {padding-left:42% !important;}*/

.inner .ce-textpic.ce-intext {overflow:hidden;} /* fixing float */




/* 
                          home page
*/

.frontpage .layout-2.align-center h2 {
	text-transform:uppercase;
	letter-spacing:8.7px;
	font-size:30px;
	margin:0 0 1.5em;
}





						/* ms_usable_records > template cover */
						
.ce-msusable-records.template-cover > .item {
	text-align:left;
}						
						
.ce-msusable-records.template-cover > .item > .wrap {
  position:relative;
  overflow:hidden;
  
  border-radius: 5px;
  height:200px;
}

.ce-msusable-records.template-cover .page-thumbnail {
	position:absolute;
	z-index:1;
	left:0;right:0;top:0;bottom:0;
	min-height:0;
	
}

.ce-msusable-records.template-cover > .item .page-thumbnail img {
	min-height:100%;
	min-width:100%;
	height:auto !important;
	width:auto !important;
}


.ce-msusable-records.template-cover .item-text {
  z-index:3;
  position:relative;
  color:#fff;
  
  padding:20px;
}

.ce-msusable-records.template-cover .item-text h3 {
	margin:0;
	font-size:24px;
	line-height:1.35;
}

.ce-msusable-records.template-cover .item-text h3 a {border:none;}

.ce-msusable-records.template-cover .item-text p.item-subtitle {display:none;}