@charset "UTF-8";

* {
  margin: 0;
  padding: 0; }

html {
  height: 100%; }

body {
  margin: 0 auto;
  height: 100%;
  font-size: 16px;
  background-color: #f7f7f7;
  color: #344050;
  font-family: sans-serif;}
body p {
  margin-bottom: 0; }
body a {
  color: #5e6e82; }
body a:hover {
  text-decoration: underline;
  color: #4e8fe0; }

h1, h2, h3, h4, h5 {
  color: #5e6e82;
}

.background {
  position: fixed;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: -1;}

.wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%; }

.my-container {
  margin-top: 10px;
  padding: 0 15px;}

@media (max-width: 991px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

/*------------------ MAIN ------------------------*/
main {
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  z-index: 2; }

.base-block {
  padding: 20px;
  text-align: left;
  border-radius: 5px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 7px 14px 0 rgba(65,69,88,.1), 0 3px 6px 0 rgba(0,0,0,.07);}

.login {
  width: 320px;
  margin: 20px auto;
  color: #ffffff; }
  .login input {
    margin-bottom: 10px;
    padding-left: 10px;
    border-radius: 5px;
    border: 1px solid #888;
    height: 35px;
    width: 100%; }
  .login span {
    float: right;
    margin-left: 155px;
    font-size: 14px;
    color: #18A0fb; }
    .login span:hover {
      text-decoration: underline;
      cursor: pointer; }
  .login a {
    text-decoration: none; }

.error {
  text-align: center;
  color: #fd4646;
  margin-bottom: 30px; }

.esia:hover {
  background-color: lightgrey;
  cursor: pointer;
}

.user-avatar {
  font-size: 25px;
  color: #99a1a8;
  position: absolute;
  right: 65px;
  top: 0px;
  }
.user-avatar:hover {
  cursor: pointer;
  color: #568dd4; }

.user-name {
    position: absolute;
    right: 95px;
    top: 5px;
    color: #666;
    font-style: italic;
    width: 300px;
    text-align: right;
}
.user-name:hover {
    text-decoration: underline;
}

.razdel-block {
    list-style: none;
    /*background-color: #dedede;*/
    /*padding: 10px;*/
    border-radius: 5px;
}
.razdel-block li {
    margin-bottom: 5px;
}
.razdel-block li div {
    padding: 15px;
    border: 1px solid #dadada;
}
.razdel-block li div:hover {
    background-color: #568dd4;
    color: #ffffff;
    cursor: pointer;
    transition: 0.2s ease;
}
.active-razdel {
    background-color: #5e6e82;
    color: #ffffff;
    /*border: 2px solid #007bff;*/
}

.my-btn-blue {
    background-color: #568dd4 !important;
    border: 1px solid #568dd4 !important;
    color: #ffffff !important;}
.my-btn-blue:hover {
    background-color: #406cb7 !important;
    border: 1px solid #406CB7 !important;}
.my-btn-red {
    background-color: #d04b4b !important;
    border: 1px solid #d04b4b !important;
    color: #ffffff !important;}
.my-btn-red:hover {
    background-color: #993838 !important;
    border: 1px solid #993838 !important;}
.my-btn-yellow {
    background-color: #eca639 !important;
    border: 1px solid #eca639 !important;
    color: #ffffff !important;}
.my-btn-yellow:hover {
    background-color: #D08717 !important;
    border: 1px solid #D08717 !important;}
.my-btn-green {
    background-color: #5ba76d !important;
    border: 1px solid #5ba76d !important;
    color: #ffffff !important;}
.my-btn-green:hover {
    background-color: #468655 !important;
    border: 1px solid #468655 !important;}

.back {
  position: absolute;
  font-size: 22px;
  color: #999999;
  left: 15px;
  top: 0px; }
.back:hover {
  color: orange;
  cursor: pointer; }

.button-box {
  text-align: right; }
  .button-box div {
    font-size: 18px;
    padding-left: 15px;
    display: inline;
    text-align: center; }
    .social div:hover {
      cursor: pointer; }
  .button-box a {
    color: #999; }
    .social a:hover {
      color: #000; }

.fa-plus:hover {
  color: #5cb85c; }
/*.fa-edit:hover {*/
/*  color: #18A0fb; }*/
/*.fa-trash-alt:hover {*/
/*  color: #fd4646; }*/
.fa-ellipsis-h:hover {
  color: #444444; }

.progress-expertise {
    width: 80%;
    margin: 35px auto;
    border-bottom: 1px solid #dddddd;
    position: relative;
    left: -15px; }

.progress-items {
  color: #FFFFFF;
  z-index: 2;
  border: 2px solid #dddddd;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  text-align: center;
  padding: 0 0 5px 0;
  background-color: #dddddd;
  position: absolute;
  top: -10px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer; }

.active-progress-item {
  background-color: #ffc107;
  border: 2px solid #ffc107; }

.hidden {
  display: none !important; }

.sidebar {
  height: 100%;
  width: 30%;
  /*max-height: 400px;*/
  min-height: 100px;
  font-weight: bold;
  padding: 10px 0;
  margin-bottom: 20px;
  font-size: 18px;
  background-color: #ffe0a8;
  color: #fff;
  }

.sidebar-hidden, .content-hidden, .rotate {
  -webkit-transition: 0.7s ease;
       -o-transition: 0.7s ease;
          transition: 0.7s ease;  }

.sidebar-hidden {
  width: 0%; }
  .sidebar-hidden div {
    display: none; }

#simple-treeview {
  display: inline-block; }

.content {
  width: 70%; }

.content-hidden {
  width: 100%; }

.content-top {
  height: 40px;
  background-color: #eee;
  padding: 0px; }

.content-top-title {
  margin-left: 40px;
  padding: 9px;
  font-style: italic; }

.content-bottom {
  padding: 10px; }

.move-left {
  width: 40px;
  height: 40px;
  padding: 8px 14px;
  text-align: center;
  background-color: #cecece;
  cursor: pointer;
  position: relative;
  top: -42px; }
  .move-left p {
    cursor: pointer; }
    .move-left p:hover {
      color: orange; }

.rotate {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg); }

.form-group input,select {
  border: 1px solid #dedede;
  border-radius: 4px;
  padding: 5px 10px;
  width: 100%; }

/*------------------ FOOTER ------------------------*/
footer {
  margin-top: 30px;
  font-size: 12px;
  padding: 15px;
  color: #666;
  background-color: #fff;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto; }

footer a {
    color: #222222;
    font-weight: bold;
}


/*------------------ ANIMATION ------------------------*/

#toTop {
  width:50px;
  height: 50px;
  z-index: 2;
  text-align:center;
  position:fixed;
  bottom:80px;
  right:15px;
  cursor:pointer;
  display:none;
  color:#333;
  font-size: 34px;
  text-shadow: 0px 0px 10px #ffffff;
  opacity: 0.5;
}
#toTop:hover {
  opacity: 0.8;
}

.popup-menu {
  text-align: center;
  height: 10px;
}
.popup-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.popup-menu a {
  text-decoration: none;
  display: block;
  color: #222;
}
.topmenu > li {
  display: inline-block;
  position: relative;
  top: -40px;
  left: 150px;
  z-index: 3;
}
.topmenu > li > a {
  position: relative;
  padding: 10px 15px;
  /*font-family: sans-serif;*/
  font-size: 1.7em;
  line-height: 1;
  letter-spacing: 3px;
}
/*.topmenu > li > a:before {
  content: "";
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: black;
  border-radius: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: .3s;
}*/
.topmenu li:hover a:before {
  transform: translate(-50%, 0);
  opacity: 1;
}
.submenu {
  position: absolute;
  z-index: 4;
  left: 0%;
  top: 100%;
  width: 150px;
  padding: 15px 0 15px;
  margin-top: 5px;
  background: white;
  border: 1px solid #e8eaeb;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,.2);
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: .3s;
}
.topmenu > li:hover .submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
.submenu a {
  font-size: 15px;
  letter-spacing: 1px;
  padding: 5px 10px;
  transition: .2s linear;
}
.submenu a:hover {
  /*background: #e8e8e8;*/
  text-decoration: none; }



/*-----меню---------*/
.site_nav_primary__block {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    /*max-width: 1240px;*/
    padding: 0 10px;
}

.site_nav_primary__ul {
    margin: 0px;
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.site_nav_primary__topmenu > li {
    float: left;
    position: relative;
}

.site_nav_primary__topmenu > li:first-child {border-left: 0;}
.site_nav_primary__topmenu > li > a {
    padding: 13px !important;
}

.site_nav_primary__submenu {
    position: absolute;
    z-index: 5;
    max-width: 350px;
    min-width: 30%;
    background: white;
    visibility: hidden;
    opacity: 0;
    transform-origin: 0% 0%;
    transform: rotateX(-90deg);
    transition: 0.3s;
    /*
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 500px;
    */
}
.site_nav_primary__submenu .site_nav_primary__submenu {
  transform: rotateY(-90deg);
  transition: 0.3s;
}
.site_nav_primary__submenu li {
    position: relative;
}
.site_nav_primary__topmenu li a {
    font-weight: 500;
}
.site_nav_primary__submenu li a {
  max-width: 100%;
  display:flex;
  align-items: center;
  padding-right: 15px;
  font-weight: normal;
}
.site_nav_primary__submenu li a span:first-child {
  flex: 1 1 auto;
}
.site_nav_primary__submenu li a span:last-child {
  flex: 0 0 auto;
}
.site_nav_primary__submenu .site_nav_primary__submenu {
  position: absolute;
  left: 100%;
  top: -1px;
  transition: 0.3s;
}
.site_nav_primary__block li:hover > .site_nav_primary__submenu {
  transform: rotateX(0deg);
  visibility: visible;
  transition: 0.3s;
  opacity: 1;
}

.li_inline {
    display: inline-block;
}
.white_box {
    background-color: rgb(255,255,255);
    box-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    width: auto;
    border-radius: 4px;
}

.ul__column {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.btn::-moz-focus-inner {
    border: 0px;
    padding: 0px;
}

.btn {
    border: none;
    display: inline-block;
    font-size: inherit;
    outline: none;
    padding: 5px 10px;
    cursor: pointer;
}

.btn__light,
.btn__light:focus,
.btn__light:link,
.btn__light:visited {
    /*background-color: rgb(255,255,255);*/
    /*color: #8d959c;*/
    color: #5e6e82 !important;
    transition: 0.3s;
}
.btn__light:active,
.btn__light:hover {
    color: #ffffff !important;
    background-color: #5e6e82;
    transition: 0.3s;
}

.btn__light.selected,
.btn__light.selected:focus,
.btn__light.selected:link,
.btn__light.selected:visited {
    color: rgba(255,255,255,1.0);
    background-color: rgb(28,148,216);
    transition: 0.3s;
}

.dx-field-item-required-mark {
    color: #8b211e !important;
    font-size: 14pt;
}


.btn-group > .dropdown-menu {
    left: -150px !important;
}
.dropdown-menu {
    font-size: 13px !important;
}

.info-block {
    background-color: #fff3c9;
    margin-bottom: 20px;
    padding: 5px 10px 10px;
    border-radius: 5px;
    font-size: 14px;
    color: #5e6e82;
}

.my-icon {
    cursor: pointer;
    color: #5e6e82;
    font-size: 15px !important;
    margin: 0 5px;
}

.dx-calendar-cell:not(.dx-calendar-other-month) .holyday {
    text-shadow: none;
    font-weight: bold;
}
.dx-calendar-cell:not(.dx-calendar-other-month) .holyday {
    color: #d04b4b;
}
.dx-state-disabled.dx-calendar .dx-calendar-cell:not(.dx-calendar-other-month) .holyday {
    color: #FF8080;
}
.dx-state-disabled.dx-calendar .dx-calendar-cell:not(.dx-calendar-other-month) .holyday {
    color: #FF8080;
}

.dx-calendar-cell.dx-calendar-selected-date,
.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-today {
  color: #212529 !important;
  -webkit-box-shadow: inset 0 0 0 1000px #fff !important;
          box-shadow: inset 0 0 0 1000px #fff !important;
  font-weight: normal;
}
.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-contoured-date,
.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-today.dx-calendar-contoured-date {
  -webkit-box-shadow: inset 0 0 0 1px #c7cccf, inset 0 0 0 1000px #fff !important;
          box-shadow: inset 0 0 0 1px #c7cccf, inset 0 0 0 1000px #fff !important;
}

.dx-icon-folder {
    color: transparent !important;
    background-image: url('/media/icon_files/folder.svg') !important;
}

.full_text_messages {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.dx-filemanager-file-actions-button {
  visibility: visible !important;
}

.dx-filemanager-file-actions-button .dx-state-hover,
.dx-filemanager-file-actions-button .dx-state-active {
  background-color: transparent !important;
}
