.simple-counter-wrap {
  margin-bottom: 40px;
}
.simple-counter-wrap:after {
  clear: both;
  content: '';
  display: block;
}

.simple-counter-item { 
  width: 250px;
  height: 95px;
  padding: 10px 7px 25px 10px;
  border: 1px solid #000;
  cursor: inherit;    
  overflow: hidden;
  margin-left: 15px;
  margin-right: 15px;
  float: left;
}
.counter-number { 
  float: left;
  width: 65px;
  font-size: 40px;
  line-height: 45px;
  padding: 10px 0 0 0;
}

@media (min-width: 768px) {
  .counter-number { font-size: 30px !important; }
}

@media (max-width: 480px) {
  .counter-number { font-size: 55px; }
}

.counter-content { padding-left: 10px; }


/* lang switch */
.region.region-header-top { position: relative; }
#block-locale-language .title_block { display: none; }
#block-locale-language { position: absolute; top: 10px; right: 10px; }
.language-switcher-locale-url a {
  color: #485e95 !important;
  text-decoration: underline;
}
.language-switcher-locale-url a {
  color: #485e95 !important;
  text-decoration: underline;
}

.language-switcher-locale-url a:hover {
  color: #fc202c !important;
}

.language-switcher-locale-url a.active { text-decoration: none; color: #fff !important; cursor: inherit !important; }

@media (max-width: 1100px) {
  #block-locale-language { right: 320px; }
}

@media (min-width: 765px) {
  #block-block-11 {  width: 50%; }
}

#block-block-11 {    
    margin: 0 auto;
    margin-top: 20px;
    display: flex;
}

@media (min-width: 480px) {
  #block-block-11 {    
    padding: 0 14px;
  }
}

#block-block-11 h2.title_block {
  font-family: 'PT Serif', serif;
  font-size: 15px;
  line-height: 22px;
  display: inline-block;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-right: 10px;
  font-weight: bold;
}

/* lang switcher */

.language-switcher-locale-url { position: relative; z-index: 10; }

.language-switcher-locale-url li.en a,
.language-switcher-locale-url li.ru a {
  display: block;
  text-indent: -9999px;
  line-height: 0; /* Collapse the original line */
  text-decoration: none;
}

.language-switcher-locale-url li.en span,
.language-switcher-locale-url li.ru span {
  display: none;
}

.language-switcher-locale-url li.en a::after,
.language-switcher-locale-url li.ru a::after {
  text-indent: 0;
  display: block;
  line-height: initial; /* New content takes up original line height */
}

.language-switcher-locale-url li.en a::after { content: "EN"; }
.language-switcher-locale-url li.ru a::after { content: "RU"; }

/* select list without search */

#edit-field-codex-article-tid,
#edit-field-codex-article-tid--0,
#edit-field-codex-article-tid--1,
#edit-field-codex-article-tid--2,
#edit-field-codex-article-tid--3,
.views-widget-filter-field_codex_article_tid select,
.form-item-field-codex-article-tid select
select[name="field_codex_article_tid"] {
    font-size: 15px;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #666;
}

/* podcasts */

.view-podcasts .views-row {
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 1px dotted #ccc;
}

.view-podcasts .views-row:last-child {
	border-bottom: none;
}

.view-podcasts .views-row .views-field-title {
	font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 21px !important;
    font-weight: bold;
    margin-bottom: 8px;
}

.view-podcasts .views-row .views-field-title a { text-decoration: none; color: #000; }
.view-podcasts .views-row .views-field-title a:hover { color: #fc202c !important; }

.view-podcasts .views-row .views-field-title .date-display-single {
	color:#777;
}

.where-listen {
	background: #eceef0;
    border: 1px solid #d9d8da;
    padding: 15px;
    margin-bottom: 50px;
    margin-top: 30px;
}  

.where-listen .items { margin-top: 7px; }
.where-listen .items:after {
	clear: both;
	content: '';
	display: block;
}
.where-listen .items .item {
	float: left;
}

.where-listen .items .item:after {
	display: inline-block;
	content: ' /';
	padding: 0 10px;
}
.where-listen .items .item:last-child:after {
	content: '';
	display: none;
}

body.node-type-podcast #content-wrapper .field-name-title {
	margin-bottom: 15px;
    line-height: 1.1;
    font-size: 20px;
    color: #000;
    max-width: 800px;
}

body.node-type-podcast .group-tbl { display: flex; }

body.node-type-podcast .field-name-body {
	margin-bottom: 18px;
    max-width: 750px;
}

body.node-type-podcast #content-wrapper { max-width: 800px; }
body.page-node-12605 #content-wrapper { max-width: 800px; }

body.node-type-podcast #content-wrapper .field-name-field-title-image {

}

body.node-type-podcast #content-wrapper .field-name-field-title-image img {
	height: 166px;
	width: auto;
	display: block;
}

body.node-type-podcast #content-wrapper .field-type-soundcloud {
	width: 500px;
}

body.node-type-podcast .where-listen { display: block; clear: both; }
body.node-type-podcast .where-listen-list .wrp * { display: inline-block; }
body.node-type-podcast .where-listen-list .wrp:after { clear: both; display: block; content: ''; }
body.node-type-podcast .where-listen-list .field { float: left; }
body.node-type-podcast .where-listen-list .field:after { 	
	display: inline-block;
	content: ' /';
	padding: 0 10px;
}
body.node-type-podcast .where-listen-list .field:last-child:after {
	content: '';
	display: none;
}

@media (max-width: 890px) {
	body.node-type-podcast .group-tbl { display: block; margin-bottom: 20px; }
	body.node-type-podcast #content-wrapper .field-name-field-title-image img { height: inherit; }
	body.node-type-podcast #content-wrapper .field-type-soundcloud {
		width: inherit;
	}
}

/* .teaser .teaser__source */
@media (max-width: 1024px) {
	.teaser .teaser__source {
		position: static !important;
		padding-top: 7px !important;
	}
	.teaser-sidebar .teaser__title, .teaser-news .teaser__title { margin-top: 0 !important; }
}

@media (max-width: 767px) {
	.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, 
	.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, 
	.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, 
	.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, 
	.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, 
	.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	    padding-left: 0px !important;
	    padding-top: 10px !important;
	}
}

div.jp-audio {
    width: 100%;
    margin-bottom: 20px;

}
div.jp-playlist ul { display: none; }
div.jp-interface {
    border: 1px solid #485e95 !important;
}
.node-type-media #block-system-main .mediaelement-audio .mediaelement-processed {
    margin-bottom: 20px;
    margin-top: -60px;
    height: 40px !important;
    width: 100% !important;
}

.main-media-cont.type-8 .img-wrp { display: none; }
.ttl-wrp { margin-bottom: 1em; }
.ttl-wrp a {
	font-size: 18px;
	line-height: 20px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
}

.ttl-wrp a:hover {
    color: #fc202c;
}
.media-wrp .mediaelement-audio .mediaelement-processed { margin-top: -40px; }

/* view-result-count */

.view-result-count {
  position: absolute;
  margin-top: 80px;
  margin-left: 324px;
}
@media (max-width: 600px) {
  .view-result-count {
    margin-top: 143px;
    margin-left: 26px;
  }
}

#block-views-47df314abcc6955caef058472f553fc4 h2,
#block-views-39b3a065687412639568146552d5a36d h2 { margin-bottom: 2em; font-weight: bold; }
#block-views-39b3a065687412639568146552d5a36d h2 { margin-top: 2em; }


.view-display-id-block_upgrd_list_1 .view-content,
.view-display-id-block_upgrd_list_2 .view-content {
  display: flex;
  flex-wrap: wrap;
}
.view-display-id-block_upgrd_list_1 .view-content .teaser_defendant,
.view-display-id-block_upgrd_list_2 .view-content .teaser_defendant {
    margin-bottom: 30px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 25px;
    position: relative;
    width: 280px;
    min-height: 170px;
    margin-right: 20px;
}

#block-block-13,
.info-message {
    font-weight: bold;
    font-size: 20px;
    /*background: rgba(0, 0, 0, 0.1);*/
    padding: 15px 10px 10px 10px;
    /*text-transform: uppercase;*/
    text-align: center;
    background: #1f3f53;
    color: #fff;
    letter-spacing: 1px;
}

#block-block-13 {
    margin-top: 2em;
}

.info-message {
    margin-bottom: 1em;
}

#block-block-13 a,
.info-message a,
#block-block-13 a:hover,
.info-message a:hover {
  color: #fff;
}
#block-block-13 a:hover,
.info-message a:hover {
  text-decoration: none;
}