.regions a {
    cursor: pointer;
}
.regions a.active {
    font-weight: bold;
}

.region_list {
    display: none;
}
.region_list a {
    display: block;
    padding: 4px 0;
    text-decoration: none;
}
.region_list a:hover {
    text-decoration: underline;
}

.region_list .item {
    display: inline-block;
    width: 120px;
    margin-bottom: 15px;
}
.region_list .item .bukva {
    font-size: 140%;
}

.tabSpan {
	/* display: flex; */
	width: 100%;
    /* justify-content: center; */
    font-size: 16px;
	text-align: left;
}

.vilka_seo_fancy .region_list .item a {
	font-size: 14px;
    line-height: 15px;
	width: 160px !important;
	color: #2b97df;
}

.vilka_seo_fancy .region_list .item {
	width: 100%;
    display: flex;
    flex-wrap: wrap;
    height: height: 100%;
	overflow: hidden;
}

.tab_main {
	flex-direction: column;
    display: flex;
    flex-wrap: wrap;
    max-height: 1200px;
	
}

.tabs__content {
  display: none; /* по умолчанию прячем все блоки */
}
.tabs__content.active {
  display: block; /* по умолчанию показываем нужный блок */
}

.tabs {
  /* max-width: 700px; */
  margin: 0 0 30px;
}
.tabs__caption {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  position: relative;
  margin: -1px 0 0 -1px;
  padding: 0;
}
.tabs__caption li.active:before {
	content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    z-index: 1;
    height: 3px;
    -moz-border-radius-topleft: 3px;
    -webkit-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
    -moz-border-radius-topright: 3px;
    -webkit-border-top-right-radius: 3px;
    border-top-right-radius: 3px;
	background: #2b7de0;
	margin: 0;
	
}
/* .tabs__caption li:last-child:before { */
  /* content: ''; */
  /* position: absolute; */
  /* bottom: -5px; */
  /* left: 0; */
  /* right: -2px; */
  /* z-index: -1; */
  /* height: 5px; */
  /* background: #c7cec8; */
/* } */

.tabs__caption li::before {
  content: none;
}
.tabs__caption:after {
  content: '';
  display: table;
  clear: both;
}
.tabs__caption li {
  padding: 9px 15px;
  margin: 1px 0 0 1px;
  background: #f8f9fb;
  /* color: #FFF; */
  position: relative;
  border: solid #ecf2f4;
  border-radius: 3px;
  border-width: 1px;
  /* border-radius: 5px 5px 0 0; */
  text-align: center;
}
.tabs__caption li:not(.active) {
  cursor: pointer;
}
.tabs__caption li:not(.active):hover {
  background: #fff;
}
.tabs__caption .active {
  background: #FFF;
  color: #000;
}
.tabs__caption .active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 5px;
  /* background: #FFF; */
}
.tabs__content {
  display: none;
  /* background: #FFF; */
  padding: 7px 15px;
}
.tabs__content.active {
      display: flex;
    max-width: 720px;
    flex-wrap: wrap;
}

.vertical .tabs__caption {
  float: left;
  display: block;
}
.vertical .tabs__caption li {
  float: none;
  border-width: 2px 0 2px 2px;
  border-radius: 5px 0 0 5px;
}
.vertical .tabs__caption li:last-child:before {
  display: none;
}
.vertical .tabs__caption .active:after {
  left: auto;
  top: 0;
  right: -2px;
  bottom: 0;
  width: 2px;
  height: auto;
}
.vertical .tabs__content {
  overflow: hidden;
}

@media screen and (max-width: 650px) {
  .tabs__caption li {
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
  }
  .vertical .tabs__caption {
    float: none;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .vertical .tabs__caption li {
    border-width: 2px 2px 0;
    border-radius: 5px 5px 0 0;
  }
  .vertical .tabs__caption li:last-child:before {
    display: block;
  }
  .vertical .tabs__caption .active:after {
    top: auto;
    bottom: -5px;
    left: 0;
    right: 0;
    width: auto;
    height: 5px;
    background: #FFF;
  }
}

@media screen and (max-width: 747px) {
	.vilka_seo_fancy .region_list {
	display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    max-height: 680px !important;
    /* background: #fff; */
    overflow-y: scroll;
    
	overflow-x: hidden;
	height: 100%;
	}
	
	.tabs__content.active {
	display: flex;
    max-width: 420px;
    flex-wrap: wrap;
	}
}
