/* Page */
.kd-content-container {
    display: flex;
    height: 100%; 
    min-height: 100%; 
}
.kd-content-body-container {
    display: flex;
    height: calc(100% - 48px - 0px);
    min-height: calc(100% - 48px - 0px);
}

.kd-site-content > .container {
    margin-top: 4px;
    margin-bottom: 4px;
}

.kd-site-description p {
    color: #555;
}

/* Sidebar */

.kd-sidebar {
    width: 300px;
    height: calc(100% - 48px - 0px);
    min-height: calc(100% - 48px - 0px); 
    border-right: 1px solid #DEDEDE;
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
}
    .kd-sidebar.expanded {
        display: block;
    }
    .kd-sidebar .kd-link:hover {
        text-decoration: none;
    }
.kd-sidebar-mobile {
    width: 300px;
    height: calc(100% - 0px);
    min-height: calc(100% - 0px);
    border-right: 1px solid #DEDEDE;
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
}
    .kd-sidebar-mobile.expanded {
        display: block;
    }
    .kd-sidebar-mobile .kd-link:hover {
        text-decoration: none;
    }

.kd-site-content {
    width: calc(100% - 300px - 0px);
    height: calc(100% - 48px - 0px); 
    min-height: calc(100% - 48px - 0px);
    border-right: 1px solid #DEDEDE;
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: 300px;
}
.kd-site-content-mobile {
    width: calc(100% - 300px - 0px);
    height: calc(100% - 0px);
    min-height: calc(100% - 0px);
    border-right: 1px solid #DEDEDE;
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: 300px;
}
  
.kd-site-body {
    width: 100%;
    height: calc(100% - 48px);
    min-height: calc(100% - 48px); 
    border-right: 1px solid #DEDEDE;
    overflow-x: hidden;
    overflow-y: auto;
}
    .kd-site-body .overflow-y {
        height: calc(100% - 4px);
        max-height: calc(100% - 4px);
        overflow-y: auto;
    }
    .kd-site-body .overflow-x {
        width: calc(100% - 4px);
        max-width: calc(100% - 4px);
        overflow-x: auto;
    }

.kd-sidebar-menu {
    position: absolute;
    width: 48px;
    margin-left: 0px;
    margin-top: 0px;
    height: 48px;
    border-radius: 10px;
    z-index: 996;
    overflow: hidden;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background-color: transparent;
}

.kd-sidebar-container {
    margin-left: -300px;
    position: relative;
    display: inline-flex;
    display: -ms-inline-flexbox;
    flex-wrap: nowrap;
    overflow-x: hidden;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.kd-sidebar-container.root {
    margin-left: 0px;
}

.kd-sidebar-container > div {
    width: 300px;
    float: left;
    -ms-flex: 0 0 auto;
}

.kd-sidebar-root-nav .root-nav-widgsite {
    margin-bottom: 18px;
    display: none;
}

.kd-sidebar-root-nav h3 {
    margin: 0;
    padding: 0 16px;
    font-weight: 600;
    font-size: 16px;
    line-height: 44px;
    letter-spacing: 0.4px;
    color: #454545;
    text-transform: uppercase;
    cursor: pointer;
}

.kd-sidebar-root-nav li:hover h3,
.kd-sidebar-root-nav li .kd-list li a:hover,
.kd-sidebar-site-nav li a:hover {
    background-color: #f3f3f3;
}


.kd-sidebar-root-nav li a.kd-group-link,
.kd-sidebar-site-nav li a.kd-group-link {
    margin-left: -20px;
}

.kd-sidebar-root-nav li a,
.kd-sidebar-site-nav li a {
    padding: 0 36px;
    display: block;
    font-weight: 400;
    font-size: 15px;
    line-height: 30px;
    color: #656565;
    cursor: pointer;
    user-select: none;
}

.kd-sidebar-site-nav li.level-2 > ul a {
    padding-left: 52px;
}

.kd-sidebar-site-nav li.level-3 > a {
    padding-left: 52px;
}

.kd-sidebar-site-nav li.level-2 > ul li.level-3 a {
    padding-left: 68px;
}

.kd-sidebar-root-nav li a:hover,
.kd-sidebar-site-nav li a:hover {
    color: #656565;
}

.kd-sidebar-root-nav li a.active,
.kd-sidebar-site-nav li a.active {
    color: #702DE8;
}

.kd-sidebar-root-nav li a.active,
.kd-sidebar-site-nav li a.active,
.kd-sidebar-root-nav li a.selected,
.kd-sidebar-site-nav li a.selected {
    font-weight: bold;
    border-color:lightgray;
    border-width:2px;
    color: #ffffff;
    background-color: #ff6358;
    background-image: linear-gradient(rgba(255, 138, 88, 0), rgba(255, 138, 88, 0.2));
}

.kd-sidebar-site-nav {
    margin: 18px 0;
}

.kd-sidebar-site-nav h3,
.kd-sidebar-site-nav .group {
    font-weight: 600;
    font-size: 16px;
    line-height: 44px;
    color: #454545;
    padding: 0 16px;
}

.kd-sidebar-site-nav h3 {
    margin: 0;
    text-transform: uppercase;
}

.kd-jquery .kd-sidebar-container li.active .kd-link,
.kd-jquery .kd-sidebar-container .kd-link.active,
.kd-jquery .kd-sidebar-container .kd-link:focus {
    color: #FF884D;
}

.kd-mvc .kd-sidebar-container li.active .kd-link,
.kd-mvc .kd-sidebar-container .kd-link.active,
.kd-mvc .kd-sidebar-container .kd-link:focus,
.kd-core .kd-sidebar-container li.active .kd-link,
.kd-core .kd-sidebar-container .kd-link.active,
.kd-core .kd-sidebar-container .kd-link:focus {
    color: #27A306;
}

.kd-sidebar-root-nav .root-nav-categories > li {
    border-bottom: 1px solid #E6E6E6;
}

.kd-sidebar-toggle a {
    display: block;
}

.kd-sidebar-toggle {
    border-bottom: 1px solid #454545;
    line-height: 48px;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    margin: 0 auto;
}

.kd-sidebar-toggle .arrow-prev,
.kd-sidebar-toggle .arrow-next {
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: absolute;
    top: 50%;
    margin: 0 auto;
    transform: translateY(-50%);
}

.kd-sidebar-toggle .arrow-prev svg path,
.kd-sidebar-toggle .arrow-next svg path {
    fill: #454545;
}

.kd-sidebar-toggle .arrow-prev  {
    left: 0;
}

.kd-sidebar-toggle .arrow-next  {
    right: 0;
    display: none;
}

    .kd-sidebar-toggle > a {
        display: block;
        width: 100%;
        padding: 0 20px;
        font-weight: 500;
        line-height: 50px;
        color: #454545;
        z-index: 998;
    }

.kd-sidebar-toggle > a:hover,
.kd-sidebar-toggle > a:focus {
    color: #656565;
}

@media (max-width: 1024px) {
    .kd-sidebar {
        display: none;
        z-index: 999;
        background: #fff;
        position: absolute;
    }
    .kd-sidebar-mobile {
        display: none;
        z-index: 999;
        background: #fff;
        position: absolute;
    }

    .kd-site-content {
        margin: 0;
        width: calc(100% - 0px);
    }
    .kd-site-content-mobile {
        margin: 0;
        width: calc(100% - 0px);
    }

}

/* Breadcrumb */
.kd-breadcrumb-nav {
    display: flex;
}

.kd-breadcrumb-nav .kd-list {
    display: inline-flex;
    flex-wrap: wrap;
}

.kd-breadcrumb-nav .kd-list li {
    display: inline-flex;
}

.kd-breadcrumb-nav .kd-list li.active a {
    color: #2D2DB2;
    opacity: 0.6;
    cursor: auto;
}

.kd-breadcrumb-nav .kd-list li.active:hover a {
    text-decoration: none;
}

.kd-breadcrumb-nav .kd-list a {
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.45px;
}

.kd-breadcrumb-nav .delimiter {
    margin: 0 3px;
    color: #3D57D8;
}

/* Keyboard navigation */
.kd-site-content-container .keyboard-legend {
    list-style: none;
}

.keyboard-legend li {
    margin-bottom: 32px;
}

.keyboard-legend .key-button {
    margin: 0;
    padding: 7px 14.25px;
    display: inline-block;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    background: #EFF3FB;
    color: #3D57D8;
}

.keyboard-legend .button-preview {
    margin-right: 15px;
    color: #3D57D8;
}

.keyboard-legend .key-button,
.kd-site-content-container .keyboard-legend li a {
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
}

.keyboard-legend .button-descr {
    color: #555;
}

/* Validation */
.validation-errors {
    padding: 16px 4px 16px 44px;
}

/* Tip, Note, Warning, Error blocks */
.site-alert {
    font: normal 18px "Metric";
    border-radius: 2px;
    margin: 20px auto 40px auto;
    padding: 20px;
    border-left: 4px solid;
}

.site-alert-success {
    border-left-color: rgb(55,180,0);
    background: rgba(55,180,0, 0.1);
}

.site-alert-info {
    border-left-color: rgb(83,146,228);
    background: rgba(83,146,228, 0.1);
}

.site-alert-error {
    border-left-color: rgb(243, 23, 0);
    background: rgba(243, 23, 0, 0.1);
}

.site-alert-warning {
    border-left-color: rgb(255, 192, 0);
    background: rgba(255, 192, 0, 0.1);
}

/* Feedback Form */
.kd-site-feedback-form {
    background-image: url("../images/site/feedback-bgr.svg");
    background-size: cover;
    background-repeat: repeat-x;
}

.kd-site-feedback-form .feedback {
    display: flex;
    align-items: center;
}

.kd-site-feedback-form .feedback > .kd-title {
    width: 100%;
    text-align: center;
}

.kd-site-feedback-form .feedback-question {
    display: flex;
    flex: 0 0 100%;
    flex-wrap: wrap;
    align-items: center;
}

.kd-site-feedback-form .feedback-no-button {
    margin-left: 20px;
}

.kd-site-feedback-form h3 {
    margin: 24px 0;
}

.kd-site-feedback-form .feedback-more-info {
    max-height: 0;
    overflow: hidden;
    padding-left: 15px;
}

.kd-site-feedback-form .feedback-more-info.show {
    margin-bottom: 32px;
    width: 100%;
    max-height: 250px;
    display: block;
    transition: max-height 0.2s ease-out;
}

.kd-site-feedback-form .feedback-more-info.hide {
    max-height: 50px;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.kd-site-feedback-form .feedback-other-text-input {
    margin-bottom: 16px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: 120px;
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,.15);
    font-weight: 400;
    color: #000;
    outline: none;
    resize: none;
    transition: border .2s ease-in;
}

.kd-site-feedback-form.vote-disabled {
    display: none;
}

.kd-site-feedback-form.vote-hide {
    animation-name: hideFeedback;
    animation-duration: 0.2s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes hideFeedback {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
