

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.main-page-block {
  position:relative;
}

.gc-main-content.gc-user-user .top-menu-block + .page-full-block .logo,
.gc-main-content.gc-user-user .top-menu-block + .page-full-block .breadcrumbs,
.gc-main-content.gc-user-user .top-menu-block + .page-full-block .page-header{
  display:none;
}

.top-menu-block {
  padding-left:35px;
}

.top-menu {
  max-width:1250px;
  width:100%;
  margin:28px 0 0 0px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  border-radius:10px;
  background: #f7f7f7;
  padding:25px 35px 25px 90px;
}

/*.top-menu > div:not(.top-menu-links) {
  display:none;
}*/

.top-menu .top-menu-links {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}

.top-menu .top-menu-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #3f3b37;
  text-decoration:none;
  border-bottom:1px solid transparent; 
}

.top-menu .top-menu-links a:hover {
  border-color:#3F3B37;
}

.top-menu #expandable-search {
  height:36px;
  border:1px solid #8B8B8B;
  border-radius:5px;
  width:310px;
  padding:10px 10px 10px 54px;
  background:url('/fileservice/file/download/a/38297/sc/41/h/9330552d60e8e5bee2418bf01d319161.svg');
  background-size:cover;
}

@media(max-width:991px) {
  .top-menu-block {
    margin:16px 8px 0;
    display:flex;
    gap:21px;
    position:relative;
  }
  
  .top-menu {
    padding:10px 13px;
    max-width:100%;
    margin:0;
    justify-content:center;
  }
  
  /*.top-menu .top-menu-links {
    display:none;
  }*/
  
  .top-menu .expandable-search {
    width:100%;
  }
  
  .top-menu #expandable-search {
    height:31px;
    width:100%;
    background-size:contain;
    background-repeat:no-repeat;
    background-color:#fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #8b8b8b;
  }
  
  .open-submenu-btn {
    display:block;
    height:14px;
    width:32px;
    background:url('/fileservice/file/download/a/38297/sc/198/h/1f0d405bd680d969058a473cfabe45c9.svg');
    background-size:cover;
    cursor:pointer;
    margin-top:18px;
  }
  
  .top-menu .top-menu-links {
    flex-direction:column;
    align-items: center;
    margin:46px 0;
  }
  
  .top-menu .top-menu-links a {
    font-size:16px;
    width:fit-content;
    text-align:center;
  }
  
  .close-submenu-btn {
    display:block;
    height:23px;
    width:23px;
    background:url('/fileservice/file/download/a/38297/sc/80/h/76098e7ecb597fe665c93278744b1b70.svg');
    background-size:cover;
    cursor:pointer;
    position:absolute;
    top:18px;
    right:16px;
  }
}




.ScreenBlock__left {
  display:none;
}

.ScreenBlock.__large.__clickable,
.ScreenBlock.__large.__clickable:hover {
  color:#3E3A36
}

.BlockList .TextBlock {
  color:#D8B68D;
}









.top-menu-block {
  --expandable-search-size-compact: 2.6em;
  --expandable-search-size-expanded: min(580px, calc(100vw - 47px));
  --expandable-search-radius: 24px;
  --expandable-search-icon-size: 2em;
  --expandable-search-btn-padding:2px;
}

.top-menu-block .BlockList {
  position: absolute!important;
  top: 48px!important;
  z-index: 9999;
  width: 100%;
  height: 300px;
  max-height: 50vh;
  overflow: hidden;
  border: none;
  border-top: none;
  background: var(--color-1);
  border: 2px solid var(--color-3-c, #656ADF);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: var(--expandable-search-radius, 50em);
  display: none;
  z-index: 5;
  text-align: left;
}
.top-menu-block #expandable-search__input:not(:focus):not(.expandable-search__input--has-content) ~ .BlockList {
  display: none!important;
}
.top-menu-block .BlockList .scroll-container {
  height: 100%;
  width: 100%;
  overflow: auto;
  scrollbar-color: var(--color-11, #CECECE) transparent;
  scrollbar-width: 6px;
    background:#fff;
}
.top-menu-block .BlockList .scroll-container::-webkit-scrollbar {
    width: 6px;
}
.top-menu-block .BlockList .scroll-container::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 6px;
} 
.top-menu-block .BlockList .scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--color-11, #CECECE);
    border-radius: 6px;
}
.top-menu-block .BlockList a {
  color: inherit;
  text-decoration: none;
  outline: none;
  display: block;
}
.top-menu-block .BlockList .TextBlock {
  word-break: break-word;
  white-space: pre-line;
  line-height: 150%;
  color: var(--color-10, #323232);
  font-family: 'Jost', "Lato", Helvetica, Arial, sans-serif;
  font-family: var(--font-family-2);
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 140%;
  padding: 20px 25px 5px;
  margin-top: 0px;
  margin-bottom: 5px;
  opacity: 0.5;
}
.top-menu-block .BlockList .TextBlock.__clickable {
  cursor: pointer
}
.top-menu-block .BlockList .TextBlock .TextBlock__empty {
  color: var(--color-10, #323232);
}
.top-menu-block .BlockList .TextBlock__editor .ProseMirror {
  outline: none;
}
.top-menu-block .BlockList .ScreenBlock {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 60px;
  padding: 5px 15px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: var(--font-family-2);
  font-size: inherit!important;
  font-weight: normal;
  font-size: 16px;
  position: relative;
  margin-top: 0px;
  margin-bottom: 0px;
}
.top-menu-block .BlockList .ScreenBlock.__clickable {
  cursor: pointer;
}
.top-menu-block .BlockList .ScreenBlock.__unavailable {
  background: transparent;
  opacity: 0.6;
}
.top-menu-block .BlockList .ScreenBlock__left {
  width: 70px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
    display:none!important
}
.top-menu-block .BlockList .ScreenBlock__left,
.top-menu-block .BlockList .ScreenBlock__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}
.top-menu-block .BlockList .ScreenBlock__right {
  overflow: hidden;
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2
}
.top-menu-block .BlockList .ScreenBlock__right-wrapper {
  width: 100%;
  max-height: 55px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column
}
.top-menu-block .BlockList .ScreenBlock__logo {
  position: relative
}
.top-menu-block .BlockList .ScreenBlock .ScreenBlock__left.__no-logo {
  width: 10px!important
}
.top-menu-block .BlockList .ScreenBlock__logo-status {
  position: absolute;
  right: -3px;
  bottom: -3px
}
.top-menu-block .BlockList .ScreenBlock__item-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  line-height: 16px
}
.top-menu-block .BlockList .ScreenBlock__item-title-left {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding-right: 5px;
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
  margin-bottom: 3px;
}
.top-menu-block .BlockList .ScreenBlock__item-title-right {
  white-space: nowrap
}
.top-menu-block .BlockList .ScreenBlock__item-unread-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background-color: var(--color-3-c, #2381cc);
  margin-right: 5px;
}
.top-menu-block .BlockList .ScreenBlock__item-time {
  font-size: 13px;
  color: var(--color-16, #9f9f9f);
  margin-right: 10px
}
.top-menu-block .BlockList .ScreenBlock__description {
  font-size: 13px;
  line-height: 15px;
  max-height: 30px;
  opacity: .6;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 5px
}
.top-menu-block .BlockList .ScreenBlock.__selected {
  background-color: #2788cc!important;
  color: var(--color-1, white)!!important
}
.top-menu-block .BlockList .ScreenBlock.__selected .ScreenBlock__description,
.top-menu-block .BlockList .ScreenBlock.__selected .ScreenBlock__item-time {
  color: var(--color-1, white)!important
}
.top-menu-block .BlockList .ScreenBlock.__medium {
  height: 60px;
  padding: 7px 0
}
.top-menu-block .BlockList .ScreenBlock.__medium .ScreenBlock__left {
  width: 60px
}
.top-menu-block .BlockList .ScreenBlock.__medium .ScreenBlock__description {
  max-height: 15px
}
.top-menu-block .BlockList .ScreenBlock.__small {
  height: 50px;
  padding: 7px 0
}
.top-menu-block .BlockList .ScreenBlock.__small .ScreenBlock__left {
  width: 50px
}
.top-menu-block .BlockList .ScreenBlock.__small .ScreenBlock__description {
  white-space: nowrap
}
.top-menu-block .BlockList .ScreenBlock.__mini .ScreenBlock__item-title-left {
  font-weight: 400;
  font-size: 12px
}
.top-menu-block .BlockList .ScreenBlock.__mini .ScreenBlock__left {
  width: 30px
}
.top-menu-block .BlockList .ScreenBlock.__mini {
  height: 30px;
  padding: 7px 0
}
.top-menu-block .BlockList .Logo {
  height: 50px;
  width: 50px;
  border-radius: 50px;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  color: white;
  background-color: var(--main-color, #8f93ff)!important;
  font-size: 14px;
}
.top-menu-block .BlockList .Logo.__circle {
  border-radius: 50px
}
.top-menu-block .BlockList .Logo.__large {
  height: 50px;
  width: 50px
}
.top-menu-block .BlockList .Logo.__medium {
  height: 40px;
  width: 40px
}
.top-menu-block .BlockList .Logo.__small {
  height: 30px;
  width: 30px
}
.top-menu-block .BlockList .Logo.__mini {
  height: 20px;
  width: 20px
}
.top-menu-block .BlockList .Logo.__circle.__default:after {
  border-radius: 50px
}


.top-menu-block .expandable-search {
  max-width: 100%;
  position: relative;
  display: inline-block;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.top-menu-block .expandable-search__input {
  max-width: 100%;
  width: var(--expandable-search-size-compact);
  height: var(--expandable-search-size-compact);
  color: transparent;
  overflow: hidden;
  border: none;
  border-radius: var(--expandable-search-radius);
  transition: width 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), border-color 0.3s, background-color 0.3s;
  font-family: 'Jost', "Lato", Helvetica, Arial, sans-serif;
  font-family: var(--font-family-2);
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  border: 2px solid var(--color-11, rgba(2, 121, 254, .38));
  background: var(--color-1, white);
}
.top-menu-block .expandable-search__input::-webkit-input-placeholder {
  opacity: 0;
  font-weight: 400;
  color: transparent;
}
.top-menu-block .expandable-search__input::-moz-placeholder {
  opacity: 0;
  font-weight: 400;
  color: transparent;
}
.top-menu-block .expandable-search__input:-ms-input-placeholder {
  opacity: 0;
  font-weight: 400;
  color: transparent;
}
.top-menu-block .expandable-search__input::-ms-input-placeholder {
  opacity: 0;
  font-weight: 400;
  color: transparent;
}
.top-menu-block .expandable-search__input::placeholder {
  opacity: 0;
  font-weight: 400;
  color: transparent;
}
.top-menu-block .expandable-search__input:hover {
  background-color: var(--color-1, white);
  border: 2px solid var(--color-3-c, #656ADF);
  cursor: pointer;
}
.top-menu-block .expandable-search__input:not(:focus):not(.expandable-search__input--has-content) {
  padding: 0px;
}
.top-menu-block .expandable-search__input:focus, 
.top-menu-block .expandable-search__input.expandable-search__input--has-content {
  background-color: var(--color-1, white);
  border: 2px solid var(--color-3-c, #656ADF);
  width: var(--expandable-search-size-expanded);
  padding-top: 0;
  padding-right: calc(var(--expandable-search-btn-padding, 2px) + var(--expandable-search-size-compact));
  padding-bottom: 0;
  outline: none;
  box-shadow: none;
  color: var(--color-0, black);
  cursor: auto;
  -webkit-user-select: auto;
     -moz-user-select: auto;
      -ms-user-select: auto;
          user-select: auto;
  outline: none;
}
.top-menu-block .expandable-search__input:focus:not([class^=padding-]):not([class*=" padding-"]), 
.top-menu-block .expandable-search__input.expandable-search__input--has-content:not([class^=padding-]):not([class*=" padding-"]) {
  padding-left: 25px;
}
.top-menu-block .expandable-search__input:focus::-webkit-input-placeholder, 
.top-menu-block .expandable-search__input.expandable-search__input--has-content::-webkit-input-placeholder {
  opacity: 0.5;
  color: var(--color-0, black);
}
.top-menu-block .expandable-search__input:focus::-moz-placeholder, 
.top-menu-block .expandable-search__input.expandable-search__input--has-content::-moz-placeholder {
  opacity: 0.5;
  color: var(--color-0, black);
}
.top-menu-block .expandable-search__input:focus:-ms-input-placeholder, 
.top-menu-block .expandable-search__input.expandable-search__input--has-content:-ms-input-placeholder {
  opacity: 0.5;
  color: var(--color-0, black);
}
.top-menu-block .expandable-search__input:focus::-ms-input-placeholder, 
.top-menu-block .expandable-search__input.expandable-search__input--has-content::-ms-input-placeholder {
  opacity: 0.5;
  color: var(--color-0, black);
}
.top-menu-block .expandable-search__input:focus::placeholder, 
.top-menu-block .expandable-search__input.expandable-search__input--has-content::placeholder {
  opacity: 0.5;
  color: var(--color-0, black);
}
.top-menu-block .expandable-search__input:focus + .expandable-search__btn {
  pointer-events: auto;
}
.top-menu-block .expandable-search__input::-webkit-search-decoration, 
.top-menu-block .expandable-search__input::-webkit-search-cancel-button, 
.top-menu-block .expandable-search__input::-webkit-search-results-button, 
.top-menu-block .expandable-search__input::-webkit-search-results-decoration {
  display: none;
}
.top-menu-block .expandable-search__btn {
  position: absolute;
  display: flex;
  top: 5px;
  right: 4px;
  width: calc(var(--expandable-search-size-compact) - var(--expandable-search-btn-padding, 2px)*2);
  height: calc(var(--expandable-search-size-compact) - var(--expandable-search-btn-padding, 2px)*2);
  border-radius: var(--expandable-search-radius);
  z-index: 1;
  pointer-events: none;
  transition: background-color 0.3s;
  background: none;
  outline: none;
  border: none;
}
.top-menu-block .expandable-search__btn .icon {
  display: block;
  margin: auto;
  height: var(--expandable-search-icon-size);
  width: var(--expandable-search-icon-size);
  transition: filter 0.2s;
}
.top-menu-block .expandable-search__btn:hover {
  background-color: none;
}
.top-menu-block .expandable-search__btn:focus {
  outline: none;
  background-color: none;
}

@media (max-width: 991px) {
  .top-menu-block .expandable-search {
    display: block;
    width: min-content;
  }
  .top-menu-block .expandable-search__input, 
  .top-menu-block .expandable-search__input.expandable-search__input--has-content {
    background-color: var(--color-1, white);
    border: 2px solid var(--color-3-c, #656ADF);
    width: var(--expandable-search-size-expanded);
    padding-top: 0;
    padding-right: calc(var(--expandable-search-btn-padding, 2px) + var(--expandable-search-size-compact));
    padding-bottom: 0;
    outline: none;
    box-shadow: none;
    color: var(--color-0, black);
    cursor: auto;
    -webkit-user-select: auto;
       -moz-user-select: auto;
        -ms-user-select: auto;
            user-select: auto;
    outline: none;
  }
  .top-menu-block .expandable-search__input::-webkit-input-placeholder {
    opacity: 0.5;
    color: var(--color-0, black);
  }
  .top-menu-block .expandable-search__input::-moz-placeholder {
    opacity: 0.5;
    color: var(--color-0, black);
  }
  .top-menu-block .expandable-search__input:-ms-input-placeholder {
    opacity: 0.5;
    color: var(--color-0, black);
  }
  .top-menu-block .expandable-search__input::-ms-input-placeholder {
    opacity: 0.5;
    color: var(--color-0, black);
  }
  .top-menu-block .expandable-search__input::placeholder {
    opacity: 0.5;
    color: var(--color-0, black);
  }
  .top-menu-block .expandable-search__input {
    padding-left: 25px!important;
    padding-right: calc(var(--expandable-search-btn-padding, 2px) + var(--expandable-search-size-compact))!important;
  }
}
@media (max-width: 768px) {
  .top-menu-block {
    --expandable-search-size-compact: 2em;
    --expandable-search-radius: 24px;
    --expandable-search-icon-size: 2em;
    --expandable-search-btn-padding:0px;
  }
  .top-menu-block .expandable-search__btn {
    top: 1px;
    right: 6px;
  }
}
