.tags_up {
    display: inline;
    margin-top: 15px; 
}
.tags_up a {
    white-space: nowrap;
    font-size: 90%;
    background:  #fff;
    border: 1px solid #e87f2c;
    padding: 5px 15px;
    border-radius: 3px;
    color: #e87f2c;
    text-decoration: none;
}
.tags_up a:hover {
    background:  #e87f2c;
    color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
}
.tags_down {
display: inline;
margin-top: 15px;
font-size: 14px;
line-height: 2.2;
border-radius: 3px;
}
.tags_down a {
    white-space: nowrap;
    background:  #e87f2c;
    border: 1px solid #e87f2c;
    padding: 5px 15px;
    border-radius: 3px;
    color: #ffffff;
    text-decoration: none;
}
.tags_down a:hover {
    white-space: nowrap;
    background:  #ffffff;
    border: 1px solid #e87f2c;
    padding: 5px 15px;
    border-radius: 3px;
    color: #e87f2c;
    text-decoration: none;
}
.more_cat {
    border-radius:5px;
    padding:5px;
    border:3px solid white; 
    }
.more_cat a {
    background:#e87f2c;
    border: 1px solid #e87f2c;
    padding:5px 15px;
    border-radius:3px;
    color:#ffffff;
    text-decoration:none;
}
.more_cat a:hover {
    background:  #ffffff;
    border: 1px solid #e87f2c;
    padding: 5px 15px;
    border-radius: 3px;
    color: #e87f2c;
    text-decoration: none;
}/* Карта Контейнер для кнопки */
.css-modal-target-container {
    height: 60px;
    display:flex;
    align-items:center;
    justify-content:center;
}
/* Кнопка для открытия */
.css-modal-open {
    display: inline-flex;
    margin: 10px;
    text-decoration: none;
    position: relative;
    font-size: 12px;
    line-height: 12px;
    padding: 10px 10px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    background: #e87f2c;
    cursor: pointer;
    border: 2px solid #BFE2FF;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;    
}
 .css-modal-open:hover  {
     background: #064d82;
    }
/* Контейнер, который затемняет страницу */
.css-modal-target {
    display: none;
}
.css-modal-target:target {
    display:flex;
    align-items:center;
    justify-content:center;    
    z-index: 4;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: bg 0.5s ease;
    background: rgba(202, 215, 247, 0.6);
}
/* Модальное окно */
.css-modal-target .cmt {
    font-family: Verdana, sans-serif;  
    font-size: 12px;
    padding: 2px;
    width: 80%;
    z-index: 8;
    max-width: 100%;
    max-height: 100%;
    transition: 0.5s;
    border: 1px solid #064d82;
    border-radius: 8px;
    background: #FFF;
    text-align: center;
    overflow: auto;
    animation: scale 0.3s ease;
}
/* Кнопка с крестиком закрывающая окно */
.css-modal-close {
    position: relative;
    display: block;
}
.css-modal-close:after {
    content: "";
    width: 45px;
    height: 45px;
    border: 1px solid #064d82;
    border-radius: 12px;
    position: fixed;
    z-index: 10;
    top: 20px;
    right: 20px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23337AB7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cline x1='18' y1='6' x2='6' y2='18'%3e%3c/line%3e%3cline x1='6' y1='6' x2='18' y2='18'%3e%3c/line%3e%3c/svg%3e");
    background-color: #FFF;
    background-size: cover;
    animation: move 0.3s ease;
}
.css-modal-close:before {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    content: "";
    cursor: default;
}
/*дата в короткой новости клендаря*/
.data_short {
	font-weight: bold;
	color:#FF4500;  
	font-size:110%;
    display: inline;  
    }
/*название brand*/
.brand {
    font-weight: bold;
    color: white;
	text-decoration: none;
	display: inline-block;
	padding-top: 0.3125rem;
	padding-bottom: 0.3125rem;
	margin-right: 1rem;
	font-size: 1.25rem;
	white-space: nowrap;
}
.brand:focus, .brand:hover {
  color: white;
    text-decoration: none;
}
.row_width {
	padding-bottom:10px;
}


.city:first-letter {
    text-transform: uppercase;
}
.city {
	color:#FFA500; 
    font-weight:bold; 
    padding-left:10px; 
    padding-bottom:7px; 
    font-size:90%;    
}

/*аккардион меню категории*/
.accordion-group { 
    margin: 5px 0; 
}
.accordion-body {
    font-size: 14px;
    display: none;
    padding: 2px 5px;
    background: #FFF;
    border-radius: 5px;
    margin: 2px 0;
    border: 1px solid #587ca9;    
}
.accordion-body p {
    font-size: 14px;
    color:#587ca9;
    line-height: 18px;
    margin: 2px 0;
}
.accordion-body a {
    color:#e87f2c;
}
.accordion-body a:hover {
    color:#543632;
}
.accordion-body > * > .accordion-body {
    background: #FFF;
    margin: 0;
}
.accordion-header {
    font-size:90%;
    border: 1px solid #587ca9; 
    background: #fff;
    margin: 3px 0;
    color: #000;
    padding: 8px 30px 8px 8px;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
}
.accordion-header::after {
    content: "";
    right: 16px;
    font-family: Courier;
    font-size: 12px;
    line-height: 12px;
    color: #000;
    position: absolute;
}
.accordion-header.open {
    background: #587ca9;
    color: #fff;
}
.accordion-header.open::after {
    content: "";
    color: #FFF;    
}
/*аккардион меню категории*/
/*сортировать*/
.sort-title {
    font-size: 14px;
    color: #000;
    padding-left: 10px;
    display: block;
    text-align: center;
}
.sortn .sort {
    font-size: 0.7em;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -o-flex;
    margin-top: 5px;
    justify-content: center;
}
.sortn .sort li {
    border-radius: 5px;
    padding: 5px 10px;
    background: #9B2D30;
    margin: 8px 3px;
    cursor: pointer;
}
.sortn .sort li:hover {background: #FF4500; box-shadow: 0 8px 16px rgba(0,0,0,0.1), 0 18px 20px rgba(0,0,0,0.1);}
.sortn .sort li a {color: #fff;}
.sortn .sort li.desc,
.sortn .sort li.asc {background: #4682B4;}
.sortn.dpad {margin-bottom: 20px;}
/*сортировать*/

.full a {
     text-decoration: underline; /* Ссылка подчеркнутая и надчеркнутая */
     color: #e87f2c /* Цвет ссылки */
}
.name_days_calend {  /*заголовок именины в календаре*/
	margin-top:5px;
	margin-bottom:15px;
    font-size: 16px;
    color: #FF4500;
    font-weight: bold;
}
.name_1_calend {
	margin-top:5px;
	margin-bottom:5px;    
    width:35%; 
    float:left; 
    display: inline; 
    padding-left:-15px;
    }
.name_2_calend {
	margin-top:10px;
	margin-bottom:10px;    
	width:65%; 
    float:left;
    display: inline;
    padding-top: 5px; 
    padding-right:5px; 
    }
.date_ncal {
    border-left: 8px solid #1164B4; 
    margin-left:5px; 
    margin-right:5px; 
    margin-bottom:10px; 
    background: #fff; 
    padding: 5px; box-shadow: 0 8px 16px rgba(0,0,0,0.4), 0 18px 20px rgba(0,0,0,0.3);
    }
.days_name { /*заголовок календаря событий*/
    text-transform: uppercase;
	margin-top:5px;
	margin-bottom:3px;
    font-size: 16px;
    padding: 5px 10px;
    background: #fff;
    color: #FF4500;
    font-weight: bold;
    border-left: 10px solid #FF4500; 
    border-bottom: 1px solid #FF4500;
    width: 100%; 
    position:relative;
    }
.show-more_main a {
    display: inline-flex;
    margin: 10px;
    text-decoration: none;
    position: relative;
    font-size: 18px;
    line-height: 10px;
    padding: 10px 20px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase; 
    font-family: 'Roboto', Тahoma, sans-serif;
    background: #337AB7;
    cursor: pointer; 
    border: 2px solid #BFE2FF;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4), 0 18px 20px rgba(0,0,0,0.3);
}
/*fullstory*/
.hr { /*тень под заголовком*/
    height: 15px;
    margin-top: -25px;
    margin-bottom: 5px;
    width: 100%;
    background-image: radial-gradient(farthest-side at 50% -50%, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    position: relative;
    border: none;
}
.title_fill {
	margin-top:5px;
	margin-bottom:3px;
    font-size: 36px;
    padding: 5px 10px;
    color: #000000;
    font-weight: bold;
    width: 100%; 
    position:relative;
    }   
/*fullstory*/
/*calend*/
.month_year {
	margin-top:30px;
    margin-bottom:30px;
	}
.calendar {
  margin: 0 auto;
  border: 1px solid #587ca9;
  position: relative;
  margin-bottom:8px;
  max-width: 240px;
  min-width: 240px;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 9px 10px rgba(0,0,0,0.1);
	}
.month {
    background-color: #587ca9;
    padding: 5px 10px;
    cursor: pointer;
    position: relative;
    }
.month H4 {
    font-size: 1.2em;
	font-weight: bold;
	color: #FFF;
	text-shadow: 0 2px 2px rgba(#000, 0.2);
    }
.calendar__picture {
  position: relative;
  height: 200px;
  padding: 20px;
  color: #fff;
  text-shadow: 0 2px 2px rgba(#000, 0.2);
  box-sizing: border-box;
  &::before {
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    background: linear-gradient(to top, rgba(#000, 0.25), rgba(#000, 0.1));
  }
  h2 {
    margin: 0;
  }
  h3 {
    margin: 0;
    font-weight: 500;
  }
}
.calendar__date {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25px, 1fr));
  grid-gap: 5px;
  box-sizing: border-box;
}
.calendar__month {
  padding: 20px;
  grid-gap: 5px;
  box-sizing: border-box;    
  grid-template-columns: repeat(auto-fit, minmax(25px, 1fr));  
    }
.calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  font-weight: 600;
  color: #262626;
  &:nth-child(7) {
    color: #ff685d;
  }
}
.month_number {
	align-items: center;
	justify-content: center;
	margin: 2px;
	border: 1px solid #BFE2FF;
	height: 25px;
	width: 75px;
	color: #262626;
	float:left; 
	display: inline;     
    }
.month_number:hover {
    background-color: #e87f2c;
	color: #fff;
    }
.calendar__number:hover {
    background-color: #e87f2c;
	color: #fff;
    }
.calendar__number {
	border: 1px solid #BFE2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  color: #262626;
  &:nth-child(7n) {
    color: #ff685d;
    font-weight: 700;
  }
  &--current,
  &:hover {
    background-color: #009688;
    color: #fff !important;
    font-weight: 700;
  }
}
/*calend*/
/*краткая новость биографии и имена*/
.days_name {
    text-transform: uppercase;
	margin-top:5px;
	margin-bottom:15px;
    font-size: 16px;
    padding: 5px 10px;
    background: #fff;
    color: #FF4500;
    font-weight: bold;
    border-left: 10px solid #FF4500; 
    border-bottom: 1px solid #FF4500;
    height: 30px; 
    width: 100%; 
    position:relative;
    }
.head_name {
    width: 175px; 
    float:left; 
    display: inline; 
    padding-left:5px; 
    padding-right:5px; 
    margin-top:15px: 
    margin-bottom:15px; 
    }
.mind  {
    height: 240px; 
    border-radius: 8px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 4px 8px rgba(0,0,0,0.3);
    background: #FFF; 
    margin-bottom:15px;
    }
.prof_name {
	text-align: center;
    margin-top:10px;
    font-size: 10px;
    color: #FF4500;
    height:25px;
    }
/*краткая новость биографии и имена*/
/*каталог биографии и имена*/
.biogr_catalog {
  border: 1px solid #587ca9;
  position: relative;
  margin-bottom:15px;
  width: 100%;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  vertical-align:middle;
  text-align:center;
  background: #fff; 
}
.name_cont {
  margin-left:10px;
  margin-top:45px;
  position: relative;
  margin-bottom:8px;
  width: 100%;
  background-color: #fff;
  overflow: hidden;
}
.title_biogr {
    text-transform: uppercase;
    background-color: #587ca9;
    padding: 5px 10px;
    position: relative;
    }
.title_biogr H4 {
    font-size: 1.2em;
	font-weight: bold;
	color: #fff;
    }
.letter_number {
	align-items: center;
	justify-content: center;
	margin: 2px;
	border: 1px solid #BFE2FF;
	height: 25px;
	width: 25px;
	color: #262626;
	float:left; 
	display: inline;     
    }
.letter_number:hover {
    background-color: #B00000;
	color: #fff;
    }
.str_name {
    margin-left: 10px;
   float:left; 
    display: inline;
    }
/*каталог биографии и имена*/