html {
    height: 100%;
}

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

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    min-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: "\e151";
}

a.desc:after {
    content: "\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 td {
    white-space: nowrap;
}

.grid-view .td-text-wrap td,
.grid-view td.td-text-wrap  {
    white-space: normal;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.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;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .card-partner-link .badge-count {
        width: auto;
    }
    div.right-sidebar {
        z-index: 9999;
    }
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

@media (max-width: 992px) {

    div.content-wrapper-wide {
        padding: 2rem 0;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
        min-height: calc(100vh - 135px - 75px);
    }

    div.card .card-body {
        padding: 1.5rem 1.3rem;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.mega-menu li a{
    color:black;
}

/* Правая выезжающая панель */
.right-sidebar {
    border-left: 1px solid #f3f3f3;
    display: block;
    position: fixed;
    top: 0;
    right: -450px;
    bottom: 0;
    width: 450px;
    height: 100vh;
    min-height: 100%;
    background: #ffffff;
    padding: 10px 20px;
    transition: ease-in-out .25s;
    transition-property: right, box-shadow;
    z-index: 1050;
    max-width: 100%;
    overflow: auto;
}
.right-sidebar.xx {
    right: -100px;
    width: 100px;
}
.right-sidebar.sm {
    right: -450px;
    width: 450px;
}
.right-sidebar.md {
    right: -1000px;
    width: 1000px;
}
.right-sidebar.lg {
    right: -80%;
    width: 80%;
}
.right-sidebar.open {
    right: 0;
    box-shadow: 0 0 10px rgba(198,196,197,0.7);
}
.right-sidebar-close {
    padding: 8px 0 15px;
    cursor: pointer;
}
.right-sidebar textarea {
    resize: vertical;
}

/* сводные отчеты */
.consolidated-report .btn.active,
.consolidated-report .btn:focus
{
    box-shadow: none;
}
.consolidated-report .nav-pills > li.active > a,
.consolidated-report .nav-pills > li.active > a:hover,
.consolidated-report .nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #7EDB09;
}
.consolidated-report .add-widget-button
{
    background: transparent;border: 5px dashed #dedee3;cursor: pointer;
}
.consolidated-report .add-widget-button:hover
{
    background: #fdfdfd;
}
.right-sidebar .query-builder
{
    width:100%
}
.consolidated-report .tab-pane:not(.active) {
    display: none;
}
.consolidated-report .section-title-settings,
.consolidated-report .report-title-settings {
    display: inline-block;
    margin: 0;
}
.consolidated-report .new-tab
{
    background: transparent;border: 1px dashed #dedee3;cursor: pointer;
    padding: 8px;
}

.partner-link-row {
    padding: 15px 0 0;
    border-radius: 4px;
}

.partner-link-row.new-link {
    border-left: solid 4px #7edb0a;
}
.personal-activity p {
    line-height:1.6;
    margin-bottom: 1em;
}
.personal-activity ol {
    margin-left: 2em;
    font-size: 1rem;
}
.personal-activity ul {
    margin-left: 2em;
    font-size: 1rem;
}
.demo-package-info p {
    line-height:1.6;
    margin-bottom: 1em;
}
.demo-package-info ol {
    margin-left: 2em;
    font-size: 1rem;
}
.demo-package-info ul {
    margin-left: 2em;
    font-size: 1rem;
}
td.td-break-word {
    white-space: pre-wrap;
    max-width: 500px;
}
.scrolltop {
    width: 100%;
    max-width: 100%;
    height: 20px;
    margin-top: 10px;

    overflow-y:hidden;
    overflow-x: auto;
}

.scrolltop div {
    height: 20px;
}

.lkhint-wrapper {position:relative;transition:background-color 0.3s;padding: 10px; padding-top: 25px;}
.lkhint-wrapper:hover {background-color:#E0F6F1;}
.lkhint-wrapper:hover .tp-editorjs-edit {opacity:1;}

.lkhint-edit {opacity:0.7;position:absolute;transition:opacity 0.3s;top:5px;right:5px;color:#000 !important;font-size:10px;}
.lkhint-edit .mdi-pencil {color:#64D1BB;}

#newsMandatoryModalText ol,
#newsMandatoryModalText ul {
    padding-left: 20px !important;
}

#newsModal ol,
#newsModal ul {
    padding-left: 20px !important;
}
