.lk_menu .lk_menu_link a{
    width: 78px;
    height: 21px;
    background: url(../images/lk_bg.png) no-repeat;
    color: #FFF;
    font-weight: normal;
    text-decoration: none;
    display: block;
    text-align: center;
}

.lk_menu .lk_menu_link a:hover{
    background: url(../images/lk_bg_hover.png) no-repeat;
    color: #FFF;
    font-weight:normal;
    font-weight:bold;
}

.lk_menu{
    text-align: center;
}

.lk_menu .lk_menu_ico{
    height: 39px;
}

#user-profile-form label.control-label {
	max-width: 180px;
	text-align: left;
}
.width_btn_c
{
    width: max-content;
}
.width_btn_c a
{
    color: white;
    text-decoration: none;
}
.search_main_table th a {
    padding-right: 15px;
    color: black !important;
    font-weight: normal;
}
.search_main_table thead th {
    color: black !important;
    font-weight: normal;
}
.kat-btn-red-cast
{
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 5px;
}
.grid-view table.items th a {
    color: black !important;
    font-weight: normal;
}
.grid-view table.items th {
    font-weight: normal;
}
/* Выпадающее меню */
nav.kat-navigation ul ul.sub_list_main {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 100;
}

nav.kat-navigation ul li:hover > ul.sub_list_main {
    display:block;
}

nav.kat-navigation ul ul.sub_list_main li {
    background-color: white;
    min-width:170px;
    float:none;
    display:list-item;
    position: relative;
    padding: 20px;
    border-bottom: 1px solid #C70013;
    border-left: 1px solid #C70013;
    border-right: 1px solid #C70013;
}

nav.kat-navigation ul ul.sub_list_main li:hover {
    background-color: #C70013;
}

nav.kat-navigation ul ul.sub_list_main li:hover a {
    color: white;
}

nav.kat-navigation ul ul.sub_list_main li a {
    color: #C70013;
    text-decoration: none;
}

body{background: #edf2f7;}
details{
  display:block;
  background: #fff;
  width:100%;
  box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  overflow:hidden;
  margin-bottom: 1.5rem;
}
summary::-webkit-details-marker{display:none;}
summary::-moz-list-bullet{list-style-type:none;}
summary::marker{display:none;} 
summary {
   display:block;
   padding: .3em .3em .3em 1.4em;
   font-size:1.4em;
   cursor: pointer;
   position: relative;
   border-bottom: 1px solid #e2e8f0;
}
summary:before {  
  top: .4em;
  left: .3em;
  color: transparent;
  background: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOC41OSAxNi4zNGw0LjU4LTQuNTktNC41OC00LjU5TDEwIDUuNzVsNiA2LTYgNnoiLz48L3N2Zz4=") no-repeat 50% 50% / 1em 1em;
  width: 1em;
  height: 1em;  
  content: "";
  position: absolute;
  transition: transform .5s;
}
details[open] > summary:before {
  transform: rotateZ(90deg);
}
summary ~ * {
   padding: 0 2em 10px 2em;
}
details[open] summary ~ *{ 
  animation: sweep .5s ease-in-out;
}
@keyframes sweep {
  0%    {opacity: 0;}
  100%  {opacity: 1;}
}
summary:focus {
  outline:0;
  box-shadow: inset 0 0 1px rgba(0,0,0,0.3), inset 0 0 2px rgba(0,0,0,0.3);
}

.submenu {
  position: absolute;
  z-index: 5;
  min-width: 200px;
  background: white;
  border-top: 1px solid #CBCBCC;
  border-left: 1px solid #CBCBCC;
  border-right: 1px solid #CBCBCC;
  visibility: hidden;
  opacity: 0; 
  transform-origin: 0% 0%;
  transform: rotateX(-90deg);
  transition: .3s linear;  
}
.submenu li {position: relative;}
.submenu li a {
  color: #282828;
  padding: 10px 20px;
  font-size: 13px;
  border-bottom: 1px solid #CBCBCC;
}
.submenu .submenu {
  position: absolute;
  left: 100%;
  top: -1px;
  transition: .3s linear;
}
nav li:hover > .submenu {
  transform: rotateX(0deg);
  visibility: visible;
  opacity: 1;
}