html,
body {
    height: 100%;
}

.header {
    position: relative;
}

.header .header-right-margin {
    margin-bottom: 40px;
}

.header .header-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
}

.wrap {
    min-height: 100%;
    height: auto;
    /*margin: 0 auto -60px;*/
    padding: 0 0 60px;
}

footer {
    margin-top: 50px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.navbar-right {
    margin-right: inherit;
}

.language {
    padding-bottom: 3px;
}

.language .ru {
    position: relative;
    left: -3px;
}

.language a {
    text-decoration: none;
}

.language a:active, .language a:hover {
    outline: 0px none;
}

/* -------------------------------------------------- */

@font-face {
    font-family: 'Cuprum';
    font-style: normal;
    font-weight: 400;
    src: local('Cuprum'), local('Cuprum-Regular'), url("../fonts/cuprum.woff2") format('woff2'), url("../fonts/cuprum.woff") format('woff');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto Condensed'), local('RobotoCondensed-Regular'), url("../fonts/robotocondensed.woff2") format('woff2'), url("../fonts/robotocondensed.woff") format('woff');
}

#title {
    font-family: 'Cuprum', sans-serif;
    font-size: 42px;
    padding-top: 24px;
    padding-bottom: 0;
    line-height: 40px;
    position: relative;
    left: -1px;
}

#title a {
    text-decoration: none;
    color: inherit;
}

#subtitle {
    font-family: 'Cuprum', sans-serif;
    font-size: 19px;
    padding-top: 0;
    padding-bottom: 3px;
    top: 0;
    position: relative;
    line-height: 21px;
}

/* uikit ---------------------------------------- */

@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/fontawesome-webfont.woff2") format("woff2"), url("../fonts/fontawesome-webfont.woff") format("woff");
}

* + address, * + blockquote, * + dl, * + fieldset, * + figure, * + ol, * + p, * + pre, * + ul {
    margin-top: 0;
}

.uk-slidenav {
    color: rgba(50, 50, 50, 0.8);
}

/* ------------------------------------------- */

.top6 { margin-top: 6px; }
.top10 { margin-top: 10px; }
.top15 { margin-top: 15px; }
.top20 { margin-top: 20px; }
.top30 { margin-top: 30px; }
.top50 { margin-top: 50px; }
.bottom15 {margin-bottom: 15px; }
.left0 { padding-left: 0; margin-left: 0; }
.left10 { margin-left: 10px; }
.left20 { margin-left: 20px; }
.right5 { margin-right: 5px }

.return {
    margin-top: 20px;
    margin-bottom: 20px;
}

body h1, body h2, body h3 {
    font-family: 'Cuprum', sans-serif;
}

.well {
    box-shadow: none;
}

.navbar {
    font-family: "Cuprum",sans-serif;
    font-size: 17px;
    margin-bottom: 5px;
    min-height: inherit;
}

.nav .dropdown-menu {
    font-size: 16px;
}

.nav > li > a {
    padding-left: 10px;
    padding-right: 10px;
}

.undertitle {
    display: flex;
    justify-items: baseline;
}

.edu-org-info {
    display:inline-flex; 
    flex-grow:2; 
    align-items: center;
}

.edu-org-info a {
    color:#e41e24!important;
    font-weight: 700;
}

.edu-org-info a:hover {
    text-decoration: underline;
}

.edu-org-info span {
    font-family: 'Roboto Condensed' !important;
} 


.controls-header {
    display: inline-flex;
    position: relative;
    bottom: 3px;
    rihgt: 3px;
    padding-top: 7px;
    justify-content: flex-end;
   
}

.search-form {
    font-size: 12px;
    padding-right: 5px;
    display: flex;
    align-items: baseline;
    width: 80%;
    justify-content: end;
}

.search-form .form-control {
    height: 30px;
}

.search-form i {
    font-size: small;
    position: relative;
    top: -1px;
}

.search-form .input-group-btn .btn {
    padding-bottom: 2px;
    height: 30px;
}

.language {
    padding-bottom: 3px;
}

.language .ru {
    position: relative;
    left: -3px;
}

.language a {
    text-decoration: none;
}

.language a:active, .language a:hover {
    outline: 0px none;
}

/*.language {
    padding-left: 5px;
}*/

.language .btn-group {
    display: flex;
}

.language .btn {
    padding-left: 5px;
    padding-right: 5px;
}

.social .uk-panel-box {
    padding-top: 5px;
    padding-bottom: 5px;
}

.social {
    text-align: center;
    border: 1px solid silver;
    border-radius: 4px;
}

.social .uk-icon-button {
    border: 1px solid silver;
}

.feedback .btn {
    margin-top: 20px;
    font-family: 'Cuprum', sans-serif !important;
    font-size: 22px !important;
    width: 100%;
    background: url('/images/texture-feedback.png') repeat;
}

.feedback .btn:hover {
    filter: contrast(90%);
}

.btn-select {
    color: #333;
    background-color: #E6E6E6;
    border-color: #ADADAD;
}

/* ----------------------------------- */

.activity-info img {
    padding-right: 15px;
    padding-bottom: 8px;
}

.activity-info {
    margin-bottom: 12px;
    text-align: left;
    line-height: 24px;
}

.activity-info a {
    color: white;
}

.activity-info i {
    font-size: 10px;
}

.activity-info .glyphicon-tag {
    margin-right: 7px;
}

.activity-info .date {
    font-family: 'Cuprum', sans-serif;
    font-size: 17px;
    position: relative;
    top: 2px;
    padding-right: 5px;
}

.activity-info .icon i {
    font-size: 17px;
    position: relative;
    top: 1px;
}

.activity-item {
    padding-bottom: 20px;
}

.activity-item h2 {
    line-height: 28px;
    text-align: left;
    margin-bottom: 8px;
}

.activity-index .activity-item h2 a {
    font-size: 24px;
    padding-left: 0;
}

.activity-item img {
    border-radius: 3px;
    margin-bottom: 12px;
}

.activity-view h1 {
    text-align: left;
}

.activity-view h3 {
    text-align: left;
}

.activity-view .picture img {
    margin-right: 15px;
    margin-bottom: 12px;
    border-radius: 3px;
    float: left !important;
}

.activity-view .annotation {
    font-family: 'Cuprum', sans-serif;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 12px;
}

.content .activity-item ul li,
.content .activity-item ol li,
.content .activity-view ul li,
.content .activity-view ol li,
.partition .activity-form ul li,
.partition .activity-form ol li {
    padding-top: 1px;
    padding-bottom: 1px;
}

/* ----------------------------------- */

#sidebar .panel .tags {
    font-family: 'Roboto Condensed';
    font-size: 16px;
    line-height: 19px;
}

/* ----------------------------------- */

.panel {
    box-shadow: none;
}

/* Настройка ширины коллапсирования верхнего навигационного меню */
@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-left, .navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none !important;
        /*margin-top: 7.5px;*/
    }
    .navbar-nav > li {
        float: none;
    }
    .navbar-nav > li > a {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .navbar-collapse ul:first-child li:first-child a {
        margin-top: 10px;
    }

    .navbar-collapse ul:last-child li:last-child a {
        margin-bottom: 10px;
    }

    .collapse.in {
        display:block !important;
    }

    .controls-header {
        width: 100%;
    }

    .search-form {
        width: 100%;
    }
}
/* --------------------------------------------------------- */

.navbar {
    border-radius: 4px;
}

.navbar-inverse .navbar-toggle {
    border-color: #c5c5c5;
}

.nav .dropdown-menu > li > a:hover {
    background-color: #e0e0e0;
}

.well {
    box-shadow: none;
}

#sidebar {
    text-align: left;
}

#sidebar .hovered .panel-body a:hover {
    background-color: #cccccc;
    text-decoration: none;
    padding: 5px 8px 5px 8px;
    position: relative;
    left: -8px;
    color: #000000;
    border-radius: 3px;
}

#sidebar .panel-default > .panel-heading {
    font-family: 'Cuprum', sans-serif;
    font-size: 20px;
}

#sidebar .panel-body {
    font-size: 18px;
}

#sidebar .panel-body p {
    font-family: 'Roboto Condensed';
    font-size: 16px;
    line-height: 19px;
}


#sidebar .panel-body .scale {
    transition: transform 0.8s ease-in-out;
}

#sidebar .panel-body .scale:hover {
    transform: scale(1.085);
}

#sidebar ul li {
    padding-top: 2px;
    padding-bottom: 2px;
    font-family: 'Cuprum', sans-serif;
}

#sidebar .hovered .panel-body li.sidebar-active-item a {
    font-weight: bold;
    color: #3c3c3c;
}

#sidebar .panel-heading a:not(.uk-icon-button), #sidebar .panel-heading, #sidebar .panel-default > .panel-heading a:not(.uk-icon-button){
    font-family: 'Cuprum', sans-serif;
    font-size: 20px;
    color: black;
}

#sidebar .solid-menu .panel-group {
    margin-bottom: 0;
}

#sidebar .solid-menu .panel-group:not(:last-child) .panel {
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

#sidebar .solid-menu .panel-group:not(:first-child):not(:last-child) .panel {
    border-radius: 0;
}

#sidebar .solid-menu .panel-group:not(:first-child):not(:last-child) .panel .panel-heading {
    border-radius: 0;
}

#sidebar .solid-menu .panel-group:last-child .panel {
    border-radius: 0 0 4px 4px;
}

#sidebar .solid-menu .panel-group:last-child .panel .panel-heading {
    border-radius: 0 0 4px 4px;
}

#sidebar .solid-menu .panel-group .panel.open:not(:first-child) .panel-heading {
    border-radius: 0;
}

#sidebar .solid-menu .panel-group .panel.open .panel-heading {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#sidebar .solid-menu .panel-heading {
    border-bottom: 1px solid transparent;
}

#sidebar .solid-menu {
    margin-bottom: 20px;
}

#sidebar .panel-body ul {
    margin-bottom: 0;
}

.caret-right {
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    border-left: 4px solid;
    display: inline-block;
    height: 0;
    margin-left: 0.2em;
    margin-bottom: 0.1em;
    width: 0;
}

#sidebar .activities .all {
    float: right !important;
    padding-bottom: 0;
    line-height: 14px;
}

#sidebar .activities .icon {
    position: relative;
    bottom: 1px;
}

#sidebar .administration .panel-body {
    background-color: #f2f2f2;
    border-radius: 4px;
}

/* ----------------------------------------------------- */
.content {
    text-align: justify;
}

.content ul {
    text-align: left;
}

.content h1 {
    line-height: 36px;
    text-align: left;
}

.content h2, .content h3 {
    text-align: left;
}

.content table {
    border: 1px solid #7A7A7A;
}

.content table td, .content table th {
    padding: 10px;
    border-right: 1px solid #7A7A7A;
}

.content table tr, .content table th {
    border-bottom: 1px solid #7A7A7A;
}

.content table th {
    font-weight: bold;
}

.table.no-borders,
.table.no-borders > thead, .table.no-borders > tbody, .table.no-borders > tfoot,
.table.no-borders > thead > tr, .table.no-borders > tbody > tr, .table.no-borders > tfoot > tr,
.table.no-borders > thead > tr > th, .table.no-borders > tbody > tr > th, .table.no-borders > tfoot > tr > th,
.table.no-borders > thead > tr > td, .table.no-borders > tbody > tr > td, .table.no-borders > tfoot > tr > td {
    border: 0;
}
.redactor-box .table.no-borders,
.redactor-box .table.no-borders > thead, .redactor-box .table.no-borders > tbody, .redactor-box .table.no-borders > tfoot,
.redactor-box .table.no-borders > thead > tr, .redactor-box .table.no-borders > tbody > tr, .redactor-box .table.no-borders > tfoot > tr,
.redactor-box .table.no-borders > thead > tr > th, .redactor-box .table.no-borders > tbody > tr > th, .redactor-box .table.no-borders > tfoot > tr > th,
.redactor-box .table.no-borders > thead > tr > td, .redactor-box .table.no-borders > tbody > tr > td, .redactor-box .table.no-borders > tfoot > tr > td {
    border: 1px dashed;
}

.icon-add {
    font-size: 16px;
}

/* ----------------------------------------------------- */

.search-google table {
    border: none;
}

.search-google table td, .search-google table th {
    padding: 0;
    border-right: none;
}

.search-google table tr, .search-google table th {
    border-bottom: none;
}

.search-google table th {
    font-weight: normal;
}

.search-google .gs-title a {

}

.search-google .gsc-control-cse {
    padding-left: 0;
}

.search-google .gsc-webResult.gsc-result {
    padding: 0;
    border-left: none;
}

.search-google .gsc-webResult.gsc-result:hover {
    border-left: none;
}

.search-google .gsc-result-info {
    padding-left: 0;
}

/* ----------------------------------------------------- */

ul.pagination > li.active > a {
    color: white;
}

ul.pagination > li.active > a:hover {
    color: white;
}

.pagination > li > a:hover {
    z-index: auto;
}

li.pagination > li.active > a {
    color: white;
}

li.pagination > li.active > a:hover {
    color: white;
}

.pagination > li > a:hover {
    z-index: auto;
}

/* ----------------------------------------------------- */

.content ol li, .content ul li  {
    padding-top: 5px;
    padding-bottom: 5px;
}
/* ----------------------------------------------------- */

.person-icon {
    font-size: 100px;
}

.user-info .nesting {
    padding-top: 15px;
}
.user-info .nesting .panel-heading h4 a {
    font-size: 20px;
    color: black;
}

.activity-files .uk-icon-file {
    padding-right: 4px;
}

.activity-files .uk-icon-file {
    padding-right: 4px;
}

.activity-files .uk-icon-remove {
    padding-left: 4px;
    padding-right: 4px;
}

.activity-form-images .uk-icon-remove {
    padding-left: 4px;
    padding-right: 8px;
}

.activity-form-images img {
    padding-bottom: 10px;
}

.panel-body .detail {
    font-size: 18px;
    font-family: 'Cuprum', sans-serif;
}

.booktab .label {
    font-size: 9pt;
    font-weight: normal;
    padding-top: 4px;
}

.selectionLabel {
    font-size: 14px;
    font-weight: normal;
    padding-top: 8px;
    padding-bottom: 10px;
    margin-right: 5px;
}

.fullArticle {
    margin-right: 5px;
}

.authorsForSelection {
    margin-top: -10px;
}

.hiddenLabel {
    display: none;
}

.hiddenButton {
    display: none;
}

.header .piwik-stat {
    float: right;
    font-size: 9pt;
    border: none;
    margin-top: 10px;
}

.header .piwik-stat th, .header .piwik-stat td, .header .piwik-stat tr {
    border: none;
}

.header .piwik-stat th, .header .piwik-stat td {
    padding-top: 2px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-left: 10px;
}

.header .piwik-stat .center {
    text-align: center;
}

body em {
    color: inherit;
}

.fragment-page {
    overflow: auto;
}

.go-up, .go-down {
    font: normal normal 30px/30px sans-serif !important;
    padding: 5px;
}

body.eyemode *, body.eyemode {
    color: black !important;
    background: white !important;
}

body.eyemode img {
    display: none !important;
}

body.eyemode .banners {
    display: none !important;
}

.eyebutton {
    border: 1px solid #ADADAD;
    border-radius: 3px;
    margin-bottom: 3px;
    margin-right: 5px;
}

.calendar {
    border-radius: 5px;
    overflow: hidden;
    max-width: calc(60px * 7);
    padding-bottom: 10px;
  }
  .calendar__title {
    background: green;
    color: white;
    text-transform: uppercase;
    padding: 5px 15px;
  }
  .calendar__controls {
    padding: 15px 5px;
    padding-bottom: 5px;
    display: flex;
    justify-content: space-between;
  }
  .calendar__content {
    display: flex;
    flex-wrap: wrap;
  }
  .calendar__content>a {
    flex: calc((1/7)*100% - 4px);
    text-align: center;
    border: 1px solid #00000000;
    border-radius: 3px;
    margin: 1px;
  }
  .calendar__weekdays {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 5px;
  }
  .calendar__weekdays>div {
    flex: calc((1/7)*100% - 4px);
    text-align: center;
    border: 1px solid #00000000;
    border-radius: 3px;
    margin: 1px;
    color: gray;
  }
  
  
  .calendar__current-day {
    background-color: lightblue;
  }
  
  .calendar__foreign-day {
    color: lightgray !important;
  }
  
  .calendar__event-day {
    border: 1px solid green !important;
  }

  

  #cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2147483645;
    box-sizing: border-box;
    width: 100%;
    display: block;
    background-color: #F1F6F4;
    height: 24%;
  }

  #cookie-consent-banner.hidden {
    visibility: hidden;
    display: none;
  }
  
  .cookie-consent-banner__inner {     
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 0;
  }
  
  .cookie-consent-banner__copy { 
    margin-bottom: 16px;
  }
  
  .cookie-consent-banner__header {
    margin-bottom: 8px;
    
    font-family: "CeraPRO-Bold", sans-serif, arial;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
  }
  
  .cookie-consent-banner__description {
    font-family: "CeraPRO-Regular", sans-serif, arial;
    font-weight: normal;
    color: #838F93;
    font-size: 16px;
    line-height: 24px;
  }
  
  #cookie-consent-banner__actions{
    
  }
  
  /*.cookie-consent-banner__cta {
    box-sizing: border-box;
    display: inline-block;
    min-width: 164px;
    padding: 11px 13px;
      
    border-radius: 2px;
    
    background-color:wheat;
     
    color: #FFF;
    text-decoration: none;
    text-align: center;
    font-family: "CeraPRO-Regular", sans-serif, arial;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
  }*/
  
  .cookie-consent-banner__cta--secondary { 
    padding: 9px 13px;
    
    border: 2px solid #3A4649;
    
    background-color: transparent;
    
    color: rgb(250, 247, 247);
  }
  
  /*.cookie-consent-banner__cta:hover {
    background-color:rgb(191, 190, 190);
  }*/
  
  .cookie-consent-banner__cta--secondary:hover {
    border-color: #838F93;
      
    background-color: white;
    
    color:#e3ebe5;
  }
  
  .cookie-consent-banner__cta:last-child {
    margin-left: 16px;
  }

 
  