$prim-font: "Roboto", sans-serif;
$sec-font: "Roboto Condensed", sans-serif;

html, body {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 15px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
::-webkit-scrollbar-thumb {
    background: -webkit-gradient(linear,left top,left bottom,from(#999),to(#27292F));
    background: linear-gradient(to bottom,#999,#27292F);
}

::selection {
  background: #FF8901!important; /* WebKit/Blink Browsers */
  color: white!important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .5)!important;
}
::-moz-selection {
  background: #FF8901!important; /* WebKit/Blink Browsers */
  color: white!important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .5)!important;
}

/*
 * HEADER
 */

#header {
    height: 80px;
    background-color: #0c1013;
    box-shadow: 0 0 19px 2px rgba(0, 0, 0, 0.91);
    position: relative;
    z-index: 100;
    text-align: justify;

    display: flex;
    justify-content: space-between;
    
    .logo {
        margin-top: 12px;

        & > a > img {
            width: 57px;
            display: inline-block;
            transition: .5s opacity ease-in;
            
            &:hover {
                opacity: .8;
            }
        }
        
        & > div {
            display: inline-block;
            margin-left: 13px;
            margin-top: 8px;
            vertical-align: top;
        }

        h1 {
            color: #ffffff;
            font-family: $sec-font;
            font-size: 20px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.1px;
            margin: 0;

            & > a {
                color: white;
                text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
                text-decoration: none;

                &:hover {
                    color: #FF0000;
                }
            }
        }

        h2 {
            color: #888;
            font-family: $sec-font;
            font-size: 14px;
            font-weight: bold;
            letter-spacing: 0.1px;
            margin-top: 2px;
            letter-spacing: -0.01px;
        }
    }

    .top-menu {
        vertical-align: top;
        margin-top: 18px;
        margin-left: 50px;

        & > ul {
            margin: 0;
            padding: 0;
            list-style: none;
            
            & > li {
                display: inline-block;
                position: relative;
                
                &:not(:first-child) {
                    margin-left: 20px;
                }
                
                & > a {
                    display: inline-block;
                    text-decoration: none;
                    color: #c6c6c6;
                    font-family: $sec-font;
                    font-size: 16px;
                    text-transform: uppercase;
                    font-weight: bold;
                    transition: .2s color;
                    padding: 10px 0;

                    & > svg {
                        height: 20px;
                        width: 20px;
                        vertical-align: middle;
                        margin-bottom: 4px;
                        margin-right: 3px;
                        margin-left: 3px;
                    }

                    &:hover, &.active {
                        color: #8AC832;
                        
                        &:after {
                            -webkit-transform: scaleX(1);
                            -ms-transform: scaleX(1);
                            transform: scaleX(1);
                            -webkit-transform-origin: left;
                            -ms-transform-origin: left;
                            transform-origin: left;
                        }
                    }

                    &:after {
                        content: "";
                        display: block;
                        height: 3px;
                        border-radius: 10px;
                        -webkit-transform: scaleX(0);
                        -ms-transform: scaleX(0);
                        transform: scaleX(0);
                        transition: .4s -webkit-transform;
                        transition: .4s transform;
                        -webkit-transform-origin: 100% 0;
                        -ms-transform-origin: 100% 0;
                        transform-origin: 100% 0;
                        background: #8AC832;
                        opacity: 0.90;
                        position: absolute;
                        bottom: 5px;
                        left: 0;
                        width: 100%;
                        z-index: 333;
                    }
                    
                }
            }
        }
    }
}

.search {
    display: block;
    margin: 20px 0;
    text-align: center;

    & > form {
        position: relative;
        
        & > input {
            width: 380px;
            height: 38px;
            box-shadow: inset 0 0 5px 1px rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(6, 6, 6, 0.99);
            background-color: #0f1012;
            outline: none;

            color: #D1D1D1;
            font-family: $sec-font;
            font-size: 17px;
            font-weight: 600;
            line-height: 70.58px;
            padding-left: 20px;
            padding-right: 45px;
            padding-right: 45px;
            
            &::placeholder {
                color: #676767;
                font-weight: 400;
            }

            &:focus + button + small {
                opacity: .3;
            }
        }
        
        & > button {
            position: absolute;
            padding: 0;
            margin: 0;
            background: none;
            border: none;
            right: 35px;
            top: 4px;
            width: 30px;
            height: 30px;
            opacity: 1;
            transition: .3s opacity;

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 110%;
                height: 110%;
                background-image: url("data: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eat;
                background-size: 75%;
                background-position: center center;
                transition: all .3s;
            }
            
            &:hover {
                &::before {
                    cursor: pointer;
                    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAbCAYAAABvCO8sAAABN2lDQ1BBZG9iZSBSR0IgKDE5OTgpAAAokZWPv0rDUBSHvxtFxaFWCOLgcCdRUGzVwYxJW4ogWKtDkq1JQ5ViEm6uf/oQjm4dXNx9AidHwUHxCXwDxamDQ4QMBYvf9J3fORzOAaNi152GUYbzWKt205Gu58vZF2aYAoBOmKV2q3UAECdxxBjf7wiA10277jTG+38yH6ZKAyNguxtlIYgK0L/SqQYxBMygn2oQD4CpTto1EE9AqZf7G1AKcv8ASsr1fBBfgNlzPR+MOcAMcl8BTB1da4Bakg7UWe9Uy6plWdLuJkEkjweZjs4zuR+HiUoT1dFRF8jvA2AxH2w3HblWtay99X/+PRHX82Vun0cIQCw9F1lBeKEuf1UYO5PrYsdwGQ7vYXpUZLs3cLcBC7dFtlqF8hY8Dn8AwMZP/fNTP8gAAAAJcEhZcwAACxMAAAsTAQCanBgAAAXRaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzE0MiA3OS4xNjA5MjQsIDIwMTcvMDcvMTMtMDE6MDY6MzkgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9k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+vmLzE/wZjXNPA3gI9w2Zr2tPjQgt7HwsnCNse5FV61tirozjDwm+isbNHYqf0dB/xD0dYHBTHA8nZlraclzckjgdxwkswtttpLxMzzPTcXYleBN/R8eTLfkf4gbcjV/bYI2avai/kWAKz0XHhrjy2eR3fNIRJC/TSzEWza1FVh2r29PT+CPqu7sW7CDvxPGk2K9r4HEzLe5y7MVZp0PKy3Q3ronmvUVW/UX4D9ayB4/iBaFJH8QDOvzt+0BL8LrwwoNNRVZN1PMjffEv4h/hl3I1Po0LeEW43MNAo8ILb6zhfqzIqmebcbO92m6N0OYBelc4pYNebStwRyP2W+HVVvYX7t9hLe8JO9wUV70Qt8VvmBzFDmwpsurEoIDZgLVsid8aYddLcQUuEO7WL0JrrIQH11tFVp0cVvBfVZDA+HDoxOQAAAAASUVORK5CYII=");
                }
            }
        }

        & > small {
            position: absolute;
            font-family: $sec-font;
            font-size: 14px;
            font-weight: bold;
            line-height: 1.7em;
            top: 8px;
            right: 75px;
            background-color: #D1D1D1;
            color: #080C0F;
            padding: 0 7px;
            padding-top: 2px;
            border-radius: 4px;
            opacity: 0;
            transition: opacity .3s;
            cursor: default;
        }
    }

    &.active {
        small {
            opacity: .3;
        }
    }
}

/*
 * CONTENT
 */

#content {
    margin-top: 52px;
    
    & > .inner {
        min-height: 1000px;
        background-image: url(media/images/decor.png);
        background-repeat: no-repeat;
        background-size: 100%;
        
        & > section.materials {
            padding: 36px;
            
            & > header {
                margin-top: 25px;
                
                & > h1 {
                    display: inline-block;
                    margin: 0;
                    padding: 0;
                    color: #d1d1d1;
                    font-family: $sec-font;
                    font-size: 23px;
                    font-weight: bold;
                    letter-spacing: 0.1px;
                    position: relative;

                    & + sup {
                        font-family: $sec-font;
                        margin-left: 10px;
                        color: silver;
                        background: black;
                        padding: 3px 7px;
                        border-radius: 3px;
                        opacity: .5;
                        top: 0;
                        transition: .3s opacity;

                        &:hover {
                            opacity: 1;
                        }
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        left: 0;
                        bottom: -5px;
                        width: 100%;
                        height: 3px;
                        background-color: #ff8a00;
                        background: -webkit-gradient(linear,left top,right top,from(#ff8a00),to(#da1b60));
                        background: linear-gradient(to right,#ff8a00,#da1b60);
                    }

                    &.with-icon {
                        margin-bottom: 5px;

                        & > img {
                            vertical-align: middle;
                            margin-right: 10px;
                        }

                        & > span {
                            vertical-align: middle;
                        }

                        &::before {
                            bottom: -10px;
                        }
                    }
                }
            }
            
            & > article {
                display: table;
                margin: 15px 0;
                font-size: 0;
                position: relative;

                .toolkit {
                    position: absolute;
                    left: 10px;
                    top: 10px;
                    z-index: 10;
                    font-size: 20px;
                    opacity: 0;
                    transition: .3s opacity;

                    & > a {
                        text-decoration: none;
                        opacity: .3;
                        transition: .3s opacity;

                        &:hover {
                            opacity: 1;
                        }
                    }
                }

                &:hover {
                    & > .toolkit {
                        opacity: 1;
                    }
                }

                & > .poster {
                    display: inline-block;
                    vertical-align: top;
                    width: 372px;
                    min-height: 250px;
                    overflow: hidden;
                    background-color: black;
                    border-radius: 3px 0 0 3px;

                    background-repeat: no-repeat;
                    background-size: contain;
                    background-position: center;

                    & > img {
                        max-width: 372px;
                        border-radius: 3px 0 0 3px;
                        vertical-align: middle;
                    }
                }

                & > .details {
                    display: table-cell;
                    vertical-align: top;
                    background-color: #080c0f;
                    min-height: 250px;
                    /*width: calc(100% - 372px);*/
                    width: 100%;
                    border-radius: 0 3px 3px 0;
                    font-size: 16px;
                    padding: 15px 22px;
                    position: relative;

                    & > h1 {
                        display: inline-block;
                        text-shadow: 0 0 4px rgba(55, 55, 55, 0.54);
                        font-family: $sec-font;
                        font-size: 21px;
                        padding: 0;
                        margin: 0;
                        font-weight: normal;
                        font-weight: 600;

                        & > a {
                            color: #fea431;
                            color: #FFC14E;
                            text-decoration: none;
                            display: inline-block;
                            opacity: 1;
                            transition: .1s opacity;
                            position: relative;
                            background: -webkit-gradient(linear,left top,right top,from(#fea431),to(#ff8a00));
                            background: linear-gradient(to right,#fea431,#ff8a00);
                            -webkit-background-clip: text;
                            -webkit-text-fill-color: transparent;
                            -webkit-box-decoration-break: clone;
                            box-decoration-break: clone;
                            text-shadow: none;

                            &:hover {
                                background: -webkit-gradient(linear,left top,right top,from(#ff8a00),to(#da1b60));
                                background: linear-gradient(to right,#ff8a00,#da1b60);
                                -webkit-background-clip: text;
                                -webkit-text-fill-color: transparent;
                                -webkit-box-decoration-break: clone;
                                box-decoration-break: clone;
                                text-shadow: none;
                            }
                        }
                    }
                    
                    & > .meta {
                        margin-top: 10px;

                        .status {
                            &.over5k {
                                color: mediumslateblue;
                                background-image: url(images/bg/bg10.gif);
                                background-position: center center;
                                background-size: 50%;
                                background-repeat: no-repeat;
                            }
                            
                            &.over10k {
                                color: limegreen;
                                background-image: url(images/bg/bg24.gif);
                                background-position: center center;
                                background-size: cover;
                                background-repeat: no-repeat;
                            }

                            &.over100k {
                                color: goldenrod;
                                font-weight: bold;
                                font-size: 20px;
                                background-image: url(images/bg/bg11.gif);
                                background-position: center center;
                                background-size: 100%;
                                background-repeat: no-repeat;
                                text-shadow: 0 0 3px rgba(0, 0, 0, 1);
                                position: relative;
                                top: -2px;
                            }
                        }
                        
                        & > .pubdate {
                            display: inline-block;
                            vertical-align: top;
                            color: #888888;
                            font-family: $sec-font;
                            font-size: 16px;
                            font-weight: 400;
                            margin-right: 19px;
                        }

                        & > .cat {
                            display: inline-block;
                            vertical-align: top;
                            margin-right: 5px;
                            color: #888888;
                            font-family: $sec-font;
                            font-size: 16px;
                            font-weight: 400;
                            margin-right: 17px;
                            opacity: .9;
                            transition: .3s opacity;

                            background-position: center;
                            background-size: 17px;
                            background-repeat: no-repeat;
                            background-position: left center;
                            
                            & > a {
                                color: inherit;
                                text-decoration: none;
                                transition: .2s color;
                                
                                &:hover {
                                    color: deepskyblue;
                                    background-image: url(images/bg/bg8.gif);
                                }
                            }

                            &.icon {
                                & > a > img {
                                    vertical-align: middle;
                                    margin-right: 3px;
                                }
                            }
                        }

                        & > .downloads {
                            display: inline-block;
                            vertical-align: top;
                            margin-right: 5px;
                            color: #888888;
                            font-family: $sec-font;
                            font-size: 16px;
                            font-weight: 400;
                            padding-left: 20px;
                            opacity: .7;
                            transition: .3s opacity;
                            
                            background-position: center;
                            background-size: 17px;
                            background-repeat: no-repeat;
                            background-position: left -2px;
                            
                            & > a {
                                color: inherit;
                                text-decoration: none;
                                
                                &:hover {
                                    color: orange;
                                }
                            }
                        }
                    }
                    
                    & > blockquote {
                        font-family: $prim-font;
                        color: #88919d;
                        font-size: 15px;
                        font-weight: normal;
                        line-height: 20px;
                        padding: 0;
                        margin: 0;
                        margin-top: 12px;
                        overflow: hidden;
                        display: -webkit-box;
                        -webkit-line-clamp: 5;
                        -webkit-box-orient: vertical;
                    }
                    
                    & > .actions {
                        position: absolute;
                        right: 22px;
                        bottom: 15px;
                        font-size: 0;

                        & > .btn {
                            &:first-child {
                                border-radius: 3px 0 0 3px;
                                margin-right: 1px;
                                opacity: .7;
                                
                                & + .btn {
                                    border-radius: 0 3px 3px 0;
                                }
                            }

                            &:not(:first-child):not(:last-child) {
                                border-radius: 0;
                                margin-right: 1px;
                                opacity: .7;

                                &:hover {
                                    opacity: 1;
                                }
                            }
                            
                            &:last-child {
                                border-radius: 0 3px 3px 0;
                                margin-right: 1px;
                                opacity: .7;
                                
                                & + .btn {
                                    border-radius: 0 3px 3px 0;
                                }

                                &:hover {
                                    opacity: 1;
                                }
                            }

                            &:only-child {
                                border-radius: 3px!important;
                            }
                        }
                    }
                }

                &:hover {
                    .meta > .cat {
                        opacity: 1;
                    }

                    .meta > .downloads {
                        opacity: 1;
                    }

                    .actions > .btn:first-child {
                        opacity: 1;
                    }
                }
            }
        }
    }
}

@media (max-width: 1364px) {
    #content>.inner>section.materials>header>h1 {
        font-size: 26px;
    }

    #content>.inner>section.materials>article>.details>h1 {
        font-size: 25px;
    }

    #content>.inner>section.materials>article>.details>blockquote {
        font-size: 17px;
        line-height: 24px;
        -webkit-line-clamp: 4;
    }

    .btn {
        font-size: 16px!important;
    }

    #paginator>header>h1 {
        font-size: 30px!important;
    }

    #paginator>.paginator-wrapper>.paginator-box {
        transform: scale(1.5);
        margin-top: 15px;
    }

    #paginator>.paginator-wrapper>small:first-child {
        display: none;
    }

    #paginator>.paginator-wrapper>small:last-child {
        display: none;
    }
}

@media (max-width: 991px) {
    #wrapper {
        overflow-y: hidden;
    }
    #content>.inner>section.materials>article>.details>h1 {
        font-size: 30px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    #content>.inner>section.materials>article>.details>blockquote {
        -webkit-line-clamp: initial;
        font-size: 18px;
        line-height: 25px;
    }

    #content>.inner>section.materials>article>.poster {
        display: block;
        width: 100%;
        min-height: auto;
        max-height: 650px;

        & > img {
            max-width: none;
            width: inherit!important;
        }
    }

    #content>.inner>section.materials>article>.details {
        display: block;
    }

    #content>.inner>section.materials>article>.details>.actions {
        position: static;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 10px;
        display: none;
    }

    #content>.inner>section.materials>article {
        display: block;
    }

    #content>.inner>section.materials>article>.details>.meta>.cat {
        display: none;
    }

    #content>.inner>section.materials {
        padding: 0px;
    }
}

#paginator {
    text-align: center;

    & > header {
        margin-bottom: 20px;

        & > h1 {
            display: inline-block;
            margin: 0;
            padding: 0;
            color: #d1d1d1;
            font-family: $sec-font;
            font-size: 23px;
            font-weight: bold;
            letter-spacing: 0.1px;
            position: relative;

            &::before {
                content: "";
                position: absolute;
                left: 0;
                bottom: -5px;
                width: 100%;
                height: 3px;
                background-color: #86BF45;
                background: -webkit-gradient(linear,left top,right top,from(#ff8a00),to(#da1b60));
                background: linear-gradient(to right,#ff8a00,#da1b60);
            }
        }
    }

    & > .paginator-wrapper {
        margin-bottom: 150px;
        position: relative;

        & > small {
            display: inline-block;
            opacity: 0.75;
            color: #d3d3d3;
            font-family: $sec-font;
            font-size: 15px;
            font-weight: 700;
            vertical-align: middle;

            &:first-child {
                margin-right: 15px;
                color: #88DB47;
            }

            &:last-child {
                margin-left: 15px;
            }
        }

        & > .paginator-box {
            display: inline-block;
            background: black;
            width: 500px;
            height: 50px;
            border-radius: 2px;
            border: 1px solid #070808;
            background-color: #171A20;
            vertical-align: middle;
            overflow: hidden;
            position: relative;

            /* box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); */

            & > .pb-start, & > .pb-end {
                height: 100%;

                & > nav {
                    & > ul {
                        padding: 0;
                        margin: 0;
                        list-style: none;

                        & > li {
                            display: inline-block;
                            line-height: 43px;

                            & > a {
                                position: relative;
                                display: inline-block;
                                width: 35px;
                                height: 35px;
                                line-height: 33px;
                                border-radius: 1px;
                                border: 1px solid #070808;
                                border-radius: 3px;
                                background-color: #171A20;
                                background-image: linear-gradient(to top, #1a1c24 0%, #20232a 100%);
                                box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.7);
                                text-shadow: 0px 0px 5px #000000, 0px 0px 5px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000;
                                color: #D5DAE3;
                                font-family: $sec-font;
                                font-size: 15px;
                                font-weight: 700;
                                text-decoration: none;
                                text-align: center;

                                &.current {
                                    color: #8AC547;
                                    cursor: not-allowed;
                                    opacity: .5;
                                }

                                &.last {
                                    width: auto;
                                    padding: 0 15px;
                                }

                                &:not(.current):hover {
                                    background-image: linear-gradient(to top, #20222A 0%, #2B2E35 100%);
                                }

                                &::before {
                                    content: "";
                                    position: absolute;
                                    left: 0;
                                    top: 0;
                                    width: 100%;
                                    height: 100%;
                                    border-radius: 2px;
                                    border-left: 1px solid rgba(150, 150, 150, .1);
                                    border-top: 1px solid rgba(150, 150, 150, .1);
                                    border-right: 1px solid rgba(100, 100, 100, .1);
                                    border-bottom: 1px solid rgba(100, 100, 100, .1);
                                }

                                &.chosen {
                                    color: #8AC547;
                                    cursor: not-allowed;
                                    opacity: .5;
                                }
                            }
                        }
                    }
                }
            }

            & > .pb-start {
                background-color: #171a20;
                box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
                text-align: left;
                padding-left: 10px;
                position: absolute;
                z-index: 10;
                padding-right: 10px;
                left: 0;

                &::before {
                    content: "";
                    position: absolute;
                    right: -10px;
                    top: -70%;
                    height: 200%;
                    width: 50px;
                    background-image: linear-gradient(to bottom, #13151A 30%, #16191E 70%, #13151A 100%);
                    border-right: 2px solid #456789;
                    transform: rotate(25deg);
                }

                &.pb-single {
                    position: static;
                    text-align: center;

                    &::before {
                        display: none;
                    }
                }
            }

            & > .pb-end {
                background-color: #0E131A;
                text-align: right;
                padding-right: 10px;
            }
        }
    }
}

/*
 * SIDEBAR
 */

#sidebar, #sidebar-mobile {

    &.col-s {
        &::after {
            content: " ";
            box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.54);
            background-color: #1f2326;
            position: fixed;

            top: 0;
            width: 328px;
            height: 100vh;
        }
    }

    & > .inner {
        z-index: 9;

        & > section {
            position: relative;
            z-index: 2;
            padding: 18px;

            &:last-child {
                margin-bottom: 50px;
            }

            & > header {
                margin-top: 25px;
                
                & > h1 {
                    display: inline-block;
                    margin: 0;
                    padding: 0;
                    color: #d1d1d1;
                    font-family: $sec-font;
                    font-size: 20px;
                    font-weight: bold;
                    letter-spacing: 0.1px;
                    position: relative;
                    
                    &::before {
                        content: "";
                        position: absolute;
                        left: 0;
                        bottom: -5px;
                        width: 100%;
                        height: 3px;
                        background-color: #ff8a00;
                        background: -webkit-gradient(linear,left top,right top,from(#ff8a00),to(#da1b60));
                        background: linear-gradient(to right,#ff8a00,#da1b60);
                    }
                }
            }

            &.hollow {
                padding: 0;

                & > header {
                    padding: 18px;
                }
            }

            &.default {
                & > header {
                    margin-bottom: 18px;
                }
            }

        }

        & > .side-menu {
            padding: 0;

            & > header {
                padding: 18px;
            }

            & > nav {
                background-color: rgba(0, 0, 0, .05);

                & > ul {
                    margin: 0;
                    padding: 0;
                    list-style: none;

                    & > li {
                        & > a {
                            color: white;
                            text-decoration: none;
                            display: block;
                            height: 50px;
                            line-height: 50px;
                            text-align: left;
                            padding: 0 18px;
                            text-transform: uppercase;
                            font-family: $sec-font;
                            font-size: 16px;
                            font-weight: 400;
                            position: relative;

                            &:hover {
                                background-color: rgba(11,12,14,0.75);
                            }

                            &.with-icon {
                                padding-left: 54px;

                                &:hover {
                                    cursor: pointer;
                                }

                                & > .icon-fg {
                                    display: block;
                                    width: 20px;
                                    height: 20px;
                                    background-repeat: no-repeat;
                                    background-position: center;
                                    background-size: contain;
                                    position: absolute;
                                    left: 18px;
                                    top: 12.5px;
                                    z-index: 10;

                                    & > .icon-bg {
                                        display: block;
                                        width: 32px;
                                        height: 32px;
                                        background-repeat: no-repeat;
                                        background-position: center;
                                        background-size: contain;
                                        position: absolute;
                                        left: -6px;
                                        top: -6px;
                                        opacity: 0.3;
                                        z-index: 5;
                                        filter: blur(3px);
                                        transition: .5s all;
                                    }
                                }

                                &:hover {

                                    & > .icon-fg {
                                        & > .icon-bg {
                                            filter: blur(1px);
                                        }
                                    }
                                }
                            }
                        }

                        &.active > a {
                            background-color: rgba(11,12,14,0.75);
                        }

                        span.emoji-ic {
                            display: inline-block;
                            width: 20px;
                            text-align: center;
                            margin-right: 5px;
                        }

                        &.with-dropdown {

                            & > a {
                                &::after {
                                    content: "";
                                    position: absolute;
                                    width: 13px;
                                    height: 13px;
                                    background-color: #434648;
                                    opacity: .3;
                                    border-radius: 50%;
                                    right: 18px;
                                    top: 18px;
                                }
                            }

                            & > ul.dropdown {
                                margin: 0;
                                padding: 0;
                                list-style: none;
                                box-shadow: inset 0 1px 10px rgba(0, 0, 0, .3);
                                display: none;

                                & > li {
                                    & > a {
                                        color: rgba(255, 255, 255, .9);
                                        text-decoration: none;
                                        display: block;
                                        height: 50px;
                                        line-height: 50px;
                                        text-align: left;
                                        padding: 0 18px;
                                        text-transform: uppercase;
                                        font-family: $sec-font;
                                        font-size: 15px;
                                        font-weight: 400;
                                        position: relative;

                                        &:hover {
                                            background-color: rgba(11,12,14,0.5);
                                            color: #FEA431;
                                        }

                                        & > small {
                                            position: absolute;
                                            right: 18px;
                                            opacity: .5;

                                            &.warning {
                                                opacity: .7;
                                                color: #EFCE49;
                                            }
                                        }

                                        &.with-icon {
                                            padding-left: 54px;

                                            & > .icon-fg {
                                                display: block;
                                                width: 18px;
                                                height: 18px;
                                                background-repeat: no-repeat;
                                                background-position: center;
                                                background-size: contain;
                                                position: absolute;
                                                left: 19px;
                                                top: 12.5px;
                                                z-index: 10;
                                                

                                                & > .icon-bg {
                                                    display: block;
                                                    width: 25px;
                                                    height: 25px;
                                                    background-repeat: no-repeat;
                                                    background-position: center;
                                                    background-size: contain;
                                                    position: absolute;
                                                    left: -4px;
                                                    top: -4px;
                                                    opacity: 0.3;
                                                    z-index: 5;
                                                    filter: blur(3px);
                                                    transition: .5s all;
                                                    
                                                }
                                            }

                                            &:hover {

                                                & > .icon-fg {
                                                    & > .icon-bg {
                                                        filter: blur(1px);
                                                    }
                                                }
                                            }
                                        }
                                    }

                                    &.active {
                                        & > a {
                                            background-color: rgba(11,12,14,0.5);
                                            color: #FEA431;
                                        }
                                    }
                                }
                            }

                            &.dropdown-opened {
                                & > a {
                                    background-color: rgba(11,12,14,0.75);
                                }

                                & > ul.dropdown {
                                    /*display: block;*/
                                }
                            }
                        }
                    }
                }
            }
        }

    }
}

#sidebar-mobile {
    section.special {
        margin-top: 30px;

        & > .special-top-tip {
            position: relative;
            width: 285px;
            height: 100px;
            margin: 0 auto;
            border-radius: 5px;
            text-shadow: 0 0 4px rgba(55, 55, 55, 0.54);
            color: #b6b6b6;
            font-family: $prim-font;
            font-size: 14px;
            font-weight: 400;
            line-height: 18px;
            padding: 15px 15px;
            text-align: center;
            z-index: 10;

            background-color: #ff8a00;
            background: -webkit-gradient(linear,left top,right top,from(#ff8a00),to(#da1b60));
            background: -o-linear-gradient(left,#ff8a00,#da1b60);
            background: linear-gradient(to right,#ff8a00,#da1b60);
            color: white!important;

            & > a {
                color: gold!important;
                text-transform: uppercase;
                font-weight: bold;
                text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
                text-decoration: none;
            }

            &::before {
                content: "";
                width: 0; 
                height: 0; 
                border-left: 15px solid transparent;
                border-right: 15px solid transparent;
                border-top: 15px solid #ED5430;

                position: absolute;
                left: 0;
                right: 0;
                bottom: -15px;
                margin: auto;
            }
        }

        & > .special-bottom-tip {
            position: relative;
            width: 200px;
            height: 55px;
            margin: 0 auto;
            border-radius: 5px;
            background-color: #0b0d10;
            text-shadow: 0 0 4px rgba(55, 55, 55, 0.54);
            color: #b6b6b6;
            font-family: $prim-font;
            font-size: 14px;
            font-weight: 400;
            line-height: 18px;
            padding: 8px 15px;
            text-align: center;
            z-index: 10;
            margin-top: 20px;

            & > a {
                color: #fc7234;
                text-decoration: none;
            }
        }

        & > .special-copyright {
            position: relative;
            margin: 0 auto;
            text-shadow: 0 0 3px rgba(0, 0, 0, 1);
            color: #b6b6b6;
            font-family: $prim-font;
            font-size: 14px;
            font-weight: 400;
            line-height: 18px;
            padding: 8px 15px;
            text-align: center;
            z-index: 10;
            margin-top: 20px;

            & > span {
                color: #6c00ff;
                font-weight: bold;
            }
        }

        @mixin rings($duration, $delay) {
            opacity: 0;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            position: absolute;
            top: -21%;
            left: -21%;
            right: 0;
            bottom: 0;
            content: '';
            height: 125%;
            width: 125%;
            border: 11px solid rgba(0, 169, 221, .7);
            border-radius: 100%;
            animation-name: ripple;
            animation-duration: $duration;
            animation-delay: $delay;
            animation-iteration-count: infinite;
            animation-timing-function: cubic-bezier(.65,0,.34,1);
            z-index: -1;
        }

        @keyframes ripple {
          from {
            opacity: 1;
            transform: scale3d(0.75,0.75,1);
          }
          
          to {
            opacity: 0;
            transform: scale3d(1.5,1.5,1);
          }
        }

        & > .special-ripple {
            & > .request-loader {
              position: relative;
              display: flex;
              flex-direction: row;
              justify-content: center;
              align-items: center;
              height: 123px;
              width: 123px;
              background: #00B4DB;
              border-radius: 100%;
              box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
              margin: 0 auto;
              margin-top: 35px;
              text-align: center;
              opacity: .9;
              transition: .3s all;

              &:hover {
                opacity: 1;
                background: #00BEEA;
              }

              img {
                width: 60px;
                margin-right: 5px;
              }
              
              &::after {
                @include rings(3s, 0s);
              }
              
              &::before {
                @include rings(3s, 0.5s);
              }
            }
        }
    }

    .search {
        margin-top: 20px;
        
        & > form {
            position: relative;
            
            & > input {
                width: 100%;
                height: auto;
                box-shadow: inset 0 0 5px 1px rgba(0, 0, 0, 0.6);
                border: 1px solid rgba(6, 6, 6, 0.99);
                background-color: #0f1012;
                outline: none;

                color: #D1D1D1!important;
                font-family: $sec-font;
                font-size: 16px;
                font-weight: 600;
                padding: 15px 20px;

                &::placeholder {
                    color: #676767;
                    font-weight: 400;
                }

                &:focus + button + small {
                    opacity: .3;
                }
            }
            
            & > button {
                position: absolute;
                padding: 0;
                margin: 0;
                background: none;
                border: none;
                right: 15px;
                top: 10px;
                width: 30px;
                height: 30px;
                opacity: 1;
                transition: .3s opacity;

                &::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    background-image: url(icons/search.svg);
                    background-repeat: no-repeat;
                    background-size: 75%;
                    background-position: center center;
                    opacity: .3;
                    transition: all .3s;
                }

                &:hover {
                    &::before {
                        cursor: pointer;
                        background-image: url(icons/magnifier-tool.svg);
                        opacity: .9;
                    }
                }
            }

            & > small {
                position: absolute;
                font-family: $sec-font;
                font-size: 14px;
                font-weight: bold;
                top: 10px;
                right: 50px;
                background-color: #D1D1D1;
                color: #080C0F;
                padding: 1px 4px;
                border-radius: 4px;
                opacity: 0;
                transition: opacity .3s;
            }
        }
    }
}

@media (max-width: 1499px) {
    #sidebar.col-s::after {
        width: 303px;
    }

    #vk_groups {
        max-width: 100%;
        overflow: hidden;
        border-radius: 3px;
    }

    #sidebar>.inner>.side-menu>nav>ul>li.with-dropdown>ul.dropdown>li>a>small {
        font-size: 11px;
    }

    #sidebar>.inner>.statistics span.num {
        font-size: 18px!important;
    }

    #sidebar>.inner>.statistics > div {
        width: 75px!important;
    }
}

/*
 * FOOTER
 */

footer#footer {
    & > .footer-content {
        height: 320px;
        background-color: #0B0D10;
        padding: 45px 0;

        & > .container {
            position: relative;
        }

        .logo {
            display: inline-block;
            margin-top: 7px;

            & > a > img {
                width: 57px;
                display: inline-block;
                transition: .5s opacity ease-in;
                
                &:hover {
                    opacity: .8;
                }
            }
            
            & > div {
                display: inline-block;
                margin-left: 13px;
                margin-top: 15px;
                vertical-align: top;
            }

            h1 {
                color: #ffffff;
                font-family: $sec-font;
                font-size: 20px;
                font-weight: bold;
                text-transform: uppercase;
                letter-spacing: 0.1px;
                margin: 0;

                & > a {
                    color: white;
                    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
                    text-decoration: none;

                    &:hover {
                        color: #da1b60;
                    }
                }
            }

            h2 {
                color: #888;
                font-family: $sec-font;
                font-size: 14px;
                font-weight: bold;
                text-transform: uppercase;
                letter-spacing: 0.1px;
                margin-top: 2px;
                letter-spacing: -0.01px;
            }
        }

        p.cowners-text {
            width: 330px;
            font-family: $prim-font;
            color: #c1c6cf;
            color: #929393;
            line-height: 19px;
            font-size: 14px;
            text-align: left;
        }

        section.special {
            position: absolute;
            height: 380px;
            width: 291px;
            right: 18px;
            top: -80px;
            padding: 0;
            z-index: 10;

            & > .special-top-tip {
                position: relative;
                width: 285px;
                height: 100px;
                margin: 0 auto;
                border-radius: 5px;
                background-color: #0b0d10;
                text-shadow: 0 0 4px rgba(55, 55, 55, 0.54);
                color: #b6b6b6;
                font-family: $prim-font;
                font-size: 14px;
                font-weight: 400;
                line-height: 18px;
                padding: 15px 15px;
                text-align: center;
                z-index: 10;

                & > a {
                    color: #fc7234;
                    text-decoration: none;
                }

                &::before {
                    content: "";
                    width: 0; 
                    height: 0; 
                    border-left: 15px solid transparent;
                    border-right: 15px solid transparent;
                    border-top: 15px solid #0b0d10;

                    position: absolute;
                    left: 0;
                    right: 0;
                    bottom: -15px;
                    margin: auto;
                }
            }

            & > .special-bottom-tip {
                position: relative;
                width: 200px;
                height: 55px;
                margin: 0 auto;
                border-radius: 5px;
                background-color: #0b0d10;
                text-shadow: 0 0 4px rgba(55, 55, 55, 0.54);
                color: #b6b6b6;
                font-family: $prim-font;
                font-size: 14px;
                font-weight: 400;
                line-height: 18px;
                padding: 8px 15px;
                text-align: center;
                z-index: 10;
                margin-top: 20px;

                & > a {
                    color: #fc7234;
                    text-decoration: none;
                }
            }

            & > .special-copyright {
                position: relative;
                margin: 0 auto;
                text-shadow: 0 0 3px rgba(0, 0, 0, 1);
                color: #b6b6b6;
                font-family: $prim-font;
                font-size: 14px;
                font-weight: 400;
                line-height: 18px;
                padding: 8px 15px;
                text-align: center;
                z-index: 10;
                margin-top: 20px;

                & > span {
                    color: #6c00ff;
                    font-weight: bold;
                }
            }

            @mixin rings($duration, $delay) {
                opacity: 0;
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                position: absolute;
                top: -21%;
                left: -21%;
                right: 0;
                bottom: 0;
                content: '';
                height: 125%;
                width: 125%;
                border: 11px solid rgba(0, 169, 221, .7);
                border-radius: 100%;
                animation-name: ripple;
                animation-duration: $duration;
                animation-delay: $delay;
                animation-iteration-count: infinite;
                animation-timing-function: cubic-bezier(.65,0,.34,1);
                z-index: -1;
            }

            @keyframes ripple {
              from {
                opacity: 1;
                transform: scale3d(0.75,0.75,1);
              }
              
              to {
                opacity: 0;
                transform: scale3d(1.5,1.5,1);
              }
            }

            & > .special-ripple {
                & > .request-loader {
                  position: relative;
                  display: flex;
                  flex-direction: row;
                  justify-content: center;
                  align-items: center;
                  height: 123px;
                  width: 123px;
                  background: #00B4DB;
                  border-radius: 100%;
                  box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
                  margin: 0 auto;
                  margin-top: 35px;
                  text-align: center;
                  opacity: .9;
                  transition: .3s all;

                  &:hover {
                    opacity: 1;
                    background: #00BEEA;
                  }

                  img {
                    width: 60px;
                    margin-right: 5px;
                  }
                  
                  &::after {
                    @include rings(3s, 0s);
                  }
                  
                  &::before {
                    @include rings(3s, 0.5s);
                  }
                }
            }
        }
    }

    & > div.footer-copyright {
        height: 80px;
        line-height: 50px;
        font-family: $prim-font;
        color: #929393;
        font-size: 14px;
        background-color: #040506;

        span {
            color: #eee;
        }

        small {
            color: #8AC547;
        }
    }
}

@media (max-width: 1499px) {
    footer#footer>.footer-content section.special {
        right: 5px;
    }
}

@media (max-width: 1364px) {
    #footer .container {
        padding: 0 10px;
    }

    footer#footer>.footer-content section.special>.special-top-tip {
        background-color: #ff8a00;
        background: -webkit-gradient(linear,left top,right top,from(#ff8a00),to(#da1b60));
        background: -o-linear-gradient(left,#ff8a00,#da1b60);
        background: linear-gradient(to right,#ff8a00,#da1b60);
        color: white!important;

        & > a {
            color: gold!important;
            text-transform: uppercase;
            font-weight: bold;
            text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
        }

        &::before {
            border-top: 15px solid #ED5430!important;
        }
    }

    footer#footer>.footer-content p.cowners-text {
        font-size: 16px;
        line-height: 22px;
        width: 450px;
    }

    footer#footer>.footer-content section.special>.special-bottom-tip {
        background-color: rgba(0, 0, 0, .7);
    }
}

@media (max-width: 991px) {
    footer#footer>.footer-content section.special {
        display: none;
    }

    footer#footer>.footer-content p.cowners-text {
        font-size: 20px;
        line-height: 24px;
    }

    footer#footer>.footer-content {
        height: auto;
    }

    .footer-copyright {
        text-align: center;
        font-size: 16px!important;
    }
}

@media (max-width: 750px) {
    .footer-copyright .container {
        padding: 0!important;
    }

    #paginator {
        margin-top: 50px;
    }

    #paginator>.paginator-wrapper>.paginator-box {
        transform: none!important;
        height: auto;
        width: auto;
        background: transparent;
        border: none;
    }

    #paginator>.paginator-wrapper>.paginator-box>.pb-start {
        position: static;
        text-align: center;
        box-shadow: none;
        background: transparent;
        border: none;
    }

    #paginator>.paginator-wrapper>.paginator-box>.pb-start::before {
        display: none;
    }

    #paginator>.paginator-wrapper>.paginator-box>.pb-end {
        display: none;
    }

    #paginator>.paginator-wrapper>.paginator-box>.pb-start>nav>ul>li {
        & > a {
            font-size: 25px;
            width: auto;
            height: auto;
            padding: 10px 20px;
            margin: 5px;
        }
    }

    footer#footer>.footer-content p.cowners-text {
        width: auto;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/*
 * ORPHUS.
 */
#orphus-popup {
    background: #1F2326;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 150px rgba(0, 0, 0, 1);
    position: fixed;
    left: 0;top: 0;right: 0;bottom: 0;
    margin: auto;
    width: 750px;
    height: 500px;
    font-family: $prim-font;
    font-size: 18px;

    & > a {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    & > h2 {
        font-size: 20px;
        color: #F24941;

        & + div {
            line-height: 1.3em;
            font-size: 16px;
            color: #88919D;
            margin-bottom: 15px;

            u {
                font-weight: bold;
                color: #F24941!important;
            }

            & + div {
                line-height: 1.5em;
                font-size: 17px;
                color: #ddd;

                & + form {
                    & > input {
                        font-size: 18px;
                        padding: 10px;
                        border-radius: 5px;
                        border: none;
                        background: #0F1012;
                        -webkit-box-shadow: inset 0 0 5px 1px rgba(0,0,0,.6);
                        box-shadow: inset 0 0 5px 1px rgba(0,0,0,.6);
                        border: 1px solid rgba(6,6,6,.99);
                        background-color: #0f1012;
                        outline: none;
                        color: #D1D1D1;
                        font-family: $prim-font;

                        & + div {
                            margin-top: 7px;

                            input {
                                background: #7DB042;
                                border: none;
                                padding: 10px 5px;
                                border-radius: 3px;
                                color: #eee;
                                text-transform: uppercase;
                                font-size: 14px;
                                font-family: $prim-font;
                                opacity: .9;
                                transition: .3s all;

                                &:last-child {
                                    background: #0F1012;
                                    color: silver;
                                    opacity: .7;
                                }

                                &:hover {
                                    cursor: pointer;
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

}

/*
 * ADAPTIVE
 */
#slideout-open {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
    width: 110px;
    height: 100px;
    text-align: center;
    cursor: pointer;
    transition: left .3s;
    transition-timing-function: ease-in-out;
    visibility: hidden;

    & > .request-loader img:last-child {display: none;}

    &.opened {
        & > .request-loader img:first-child {display: none;}
        & > .request-loader img:last-child {display: block;}
    }

    @mixin rings($duration, $delay) {
        opacity: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: -9px;
        left: -9px;
        right: 0;
        bottom: 0;
        content: '';
        height: 70px;
        width: 70px;
        border: 11px solid rgba(125,133,144, .7);
        border-radius: 100%;
        animation-name: ripple;
        animation-duration: $duration;
        animation-delay: $delay;
        animation-iteration-count: infinite;
        animation-timing-function: cubic-bezier(.65,0,.34,1);
        z-index: -1;
    }

    @keyframes ripple {
      from {
        opacity: 1;
        transform: scale3d(0.75,0.75,1);
      }
      
      to {
        opacity: 0;
        transform: scale3d(1.5,1.5,1);
      }
    }

    &.special-ripple {
        & > .request-loader {
          position: relative;
          display: flex;
          flex-direction: row;
          justify-content: center;
          align-items: center;
          height: 75px;
          width: 75px;
          border-radius: 100%;
          box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
          margin: 0 auto;
          margin-top: 15px;
          text-align: center;
          opacity: .9;
          text-align: center;
          line-height: 75px;
          background-color: #ff8a00;
          background: -webkit-gradient(linear,left top,right top,from(#ff8a00),to(#da1b60));
          background: linear-gradient(to right,#ff8a00,#da1b60);

          &:hover {
            opacity: 1;
          }

          img {
            width: 62px;
          }
          
          &::after {
            @include rings(3s, 0s);
          }
          
          &::before {
            @include rings(3s, 0.5s);
          }
        }
    }
}

@media (max-width: 1364px) {
    #sidebar {
        display: none;
    }

    #slideout-open {
        visibility: visible!important;
    }
}

/*
 * SLIDEOUT
 */
.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 370px;
  min-height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
  background: #1F2326;
  
  & > #sidebar-mobile {
    & > .inner {
        & > .statistics {
            padding-top: 10px;
        }
    }
  }
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  background-color: #14171A; /* A background-color is required */
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}

/*
 * BUTTONS & STUFF
 */

.btn {
    display: inline-block;
    background-color: #181e23;
    color: #d1d1d1;
    font-family: $sec-font;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.2px;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 3px;
    margin: 0;
    text-shadow: 0 0 3px rgba(0, 0, 0, .5);
    transition: .3s all;
    
    & > .label {
        font-family: $sec-font;
        text-align: center;
        background: #31383F;
        color: white;
        font-size: 12px;
        font-weight: bold;
        text-shadow: none;
        border-radius: 2px;
        padding: 2px 5px;
        margin-left: 5px;
        opacity: .5;
        transition: .7s all;
    }

    &.btn-darkblue:hover {
        background-color: rgb(39,111,169);
        color: white;
        
        & > .label {
            opacity: .9;
        }
    }
    
    &.btn-orange:hover {
        background-color: orange;
        color: white;
        
        & > .label {
            opacity: .9;
        }
    }

    &.btn-green:hover {
        background-color: #41b14f;
        background-image: -webkit-gradient(linear,left top,left bottom,from(#9ec14c),to(#41b14f));
        background-image: linear-gradient(#9ec14c,#41b14f);
        color: #fff;

        & > .label {
            opacity: 0.9;
        }
    }

    // &.btn-blue:hover {
    //     background-color: #2096D2;
    //     background-image: -webkit-gradient(linear,left top,left bottom,from(#79C1E4),to(#2096D2));
    //     background-image: linear-gradient(#79C1E4,#2096D2);
    //     color: #fff;

    //     & > .label {
    //         opacity: 0.9;
    //     }
    // }

    &.btn-blue:hover {
        background-color: #0BBFF5;
        color: white;
        
        & > .label {
            opacity: .9;
        }
    }

    &.btn-dark:hover {
        background-color: darkslategray;
        color: white;
        
        & > .label {
            opacity: .9;
        }
    }
}

/**
 * ICONS.
 */
.icon {
    &.icon-books {
        background-image: url(/media/icons/upload/book.svg);
    }

    &.icon-downloads {
        background-image: url(/media/icons/download.svg);
    }
}

/**
 * OTHER.
 */
[class*=hint--]:after {
    color: #DDD;
    text-transform: uppercase;
    font-family: $sec-font;
    font-size: 15px;
    font-weight: 600;
    padding: 13px;
}

.KICKASSELEMENT.KICKASShidden {
    display: none!important;
} 

@-webkit-keyframes ka-bg-alert-blink {
  0%, 49% {
    background: rgba(0, 0, 0, .9);
    border: 3px solid rgb(117, 209, 63);
    color: #ff0000;
  }
  50%, 100% {
    background: rgba(0, 0, 0, .3);
    border: 3px solid rgb(117, 209, 63);
    color: rgb(134,191,69);
  }
}

@-webkit-keyframes ka-activator-blink {
  0% {
    opacity: 1;
  }
  100% {
    opacity: .3;
  }
}

#activate-ka {
    animation: ka-activator-blink 1.2s infinite;
    animation-direction: alternate;
    cursor: pointer;
}

#ka-info {
    position: fixed;
    left: 0;
    bottom: 0;
    background: rgba(8,12,15,.9);
    border-radius: 10px;
    padding: 15px 30px;
    width: 500px;
    margin: 20px;
    display: none;
    font-size: 0;
    z-index: 998;

    & > div {
        display: inline-block;
        width: 50%;
        font-size: 16px;
        font-family: $sec-font;
        vertical-align: middle;

        &:last-child {
            width: 50%;
            font-size: 30px;
            text-align: center;

            p {
                margin: 0;
            }

            #ka-score {
                color: rgb(0,191,8);
                font-weight: bold;
            }

            small {
                display: inline-block;
                font-size: 14px;
                width: 100px;
                opacity: .7;
                margin-top: 10px;
            }
        }
    }

    kbd {
        color: #88DB47;
        background-color: black;
        padding: 5px 10px;
        border-radius: 10px;
    }

    &.ka-new-ship-alert::before {
        content: "НОВЫЙ КОРАБЛЬ!";
        font-size: 40px;
        font-weight: bold;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        padding-top: 50px;
        z-index: 999;
        color: rgb(134,191,69);
        border-radius: 10px;
        animation: ka-bg-alert-blink 1s infinite;
    }
}

hr {
    border: none;
    border-top: 2px dotted #1D3D42;
    background-color: transparent;
    height: 1px;
    width: 75%;
}

/**
 * Chat Bro restyle.
 */

#chatbro {
    height: 500px;
    overflow: hidden;
    position: relative;

    &.is-loading {
        &::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: #1D2124;
            background-image: url(/media/images/preloaders/loader.gif);
            background-repeat: no-repeat;
            background-position: center center;
            z-index: 999;
            transition: 1s opacity;
        }

        &::after {
            content: "Загрузка ...";
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            text-align: center;
            width: 100px;
            height: 50px;
            line-height: 50px;
            font-size: 16px;
            z-index: 999;
            transition: 1s opacity;
        }

        &.is-loaded {
            &::before {
                opacity: 0;
            }

            &::after {
                opacity: 0;
            }
        }

        &.is-loaded-finish {
            &::before {
                display: none;
            }

            &::after {
                display: none;
            }
        }
    }
}

.chatbro_header {
    display: none;
}

.chatbro_body {
    font-family: $prim-font!important;
    border: none!important;
}

.chatbro_body {
    position: relative!important;

    &::before {
        content: "";
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0) 100%);
        height: 26px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        flex-shrink: 0;
        z-index: 2;
        pointer-events: none;
        opacity: .3;
    }

    &::after {
        content: "";
        background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0) 100%);
        height: 16px;
        position: absolute;
        flex-shrink: 0;
        bottom: 57px;
        left: 0;
        right: 0;
        pointer-events: none;
    }
}

.chatbro_messages_block {
    background: #1F2127!important;
}

.chatbro_message_image {
    width: 30px!important;
    height: 30px!important;
}

.chatbro_message_name, .chatbro_message_name > a {
    font-size: 13px!important;
}

.chatbro_message_text {
    color: #c1c6cf!important;
    line-height: 18px!important;
    font-size: 14px!important;
    margin-top: 0!important;
}

.chatbro_message_td_message {
    border-top: 1px dashed #0ef3f322!important;
}

.chatbro_messages .chatbro_message td {
    padding: 12px 2px!important;
}

.chatbro_send_input_wrapper {

}

.chatbro_send_input_block {
    position: relative!important;

    .chatbro_send_button {
        position: absolute!important;
        left: 215px!important;
        top: 0!important;
        background: transparent!important;

        &::before {
            content: ""!important;
            position: absolute!important;
            left: -39px!important;
            top: 9px!important;
            width: 40px;
            height: 42px;
            background-image: url('/media/icons/enter-arrow.svg');
            background-size: 50%;
            background-position: center center;
            background-repeat: no-repeat;
            background-color: #2C3036;
            fill: #6F798A;
        }
    }

    .chatbro_open_smiles_button {
        position: absolute!important;
        left: 224px!important;
        top: 0!important;
        background: transparent!important;

        &::before {
            content: ""!important;
            position: absolute!important;
            left: 0!important;
            top: 5px!important;
            width: 46px;
            height: 46px;
            background-image: url('/media/icons/smile.svg');
            background-size: 50%;
            background-position: center center;
            background-repeat: no-repeat;
            background-color: #2C3036;
            box-sizing: content-box;
            border: 2px solid #0F0F12;
        }
    }

    .chatbro_open_upload_button {
        position: absolute!important;
        left: 273px!important;
        top: 0!important;
        background: transparent!important;

        &::before {
            content: ""!important;
            position: absolute!important;
            left: 0px!important;
            top: 5px!important;
            width: 46px;
            height: 46px;
            background-image: url('/media/icons/photo-camera.svg');
            background-size: 53%;
            background-position: center center;
            background-repeat: no-repeat;
            background-color: #2C3036;
            box-sizing: content-box;
            border: 2px solid #0F0F12;
            opacity: .6;
        }

        &:hover::before {
            opacity: 1!important;
            cursor: pointer;
        }
    }

    .chatbro_send_input_wrapper {
        padding: 0!important;
        box-shadow: inset 0px 0px 4px #000000;
        height: 50px!important;
        width: 215px!important;
        margin-top: 5px;
        margin-left: 5px;

        & > .chatbro_send_input {
            width: 80%!important;
            background: transparent!important;
            cursor: text;
            height: 45px!important;
            overflow: hidden!important;
            max-height: 50px!important;
            padding: 8px 13px !important;
        }
    }
}

.chatbro_smiles_menu {
    bottom: 60px!important;
    right: 34px!important;
}

.emojione {
    width: 20px;
    display: inline;
    vertical-align: middle;
    margin: auto 2px;
}

.chatbro_loader_radial {
    top: 18px!important;
    left: -31px!important;
    border-color: rgb(119, 119, 119) rgb(119, 119, 119) rgb(119, 119, 119) rgb(138,197,71)!important;
}

.chatbro_message_admin {
    color: rgb(138,197,71);
    opacity: 1!important;
    border-radius: 3px!important;

    &::before {
        content: "АДМИН"!important;
    }
}

@media (max-width: 1499px) {
    .chatbro_send_input_block .chatbro_open_smiles_button::before {
        width: 36px;
        left: -1px!important;
    }
    .chatbro_send_input_block .chatbro_open_upload_button::before {
        width: 36px;
        left: -11px!important;
    }
    .chatbro_smiles_menu {
        right: 14px!important;
    }
}

.not-found {
    background-color: #040304;
    padding: 30px 50px;
    margin-top: 5px;
    font-family: $prim-font;
    height: 500px;

    background-image: url(/media/images/tenor.gif);
    background-repeat: no-repeat;
    background-position: 90% 50%;

    h2 {
        font-size: 40px;
        color: white;
        background: -webkit-gradient(linear,left top,right top,from(#ff8a00),to(#da1b60));
        background: -o-linear-gradient(left,#ff8a00,#da1b60);
        background: linear-gradient(to right,#ff8a00,#da1b60);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        text-shadow: none;
    }

    p {
        max-width: 60%;
        line-height: 1.5em;

        span {
            color: #F56C1A;
            font-weight: bold;
        }
    }

    small {
        color: #555;
    }

    .search-f {
        margin-top: 20px;
        background: white;
        width: 440px;
        
        & > form {
            position: relative;
            
            & > input {
                width: 442px;
                height: 50px;
                box-shadow: inset 0 0 5px 1px rgba(0, 0, 0, 0.6);
                border: 1px solid rgba(6, 6, 6, 0.99);
                background-color: #0f1012;
                outline: none;

                color: #D1D1D1;
                font-family: $sec-font;
                font-size: 20px;
                font-weight: 600;
                line-height: 70.58px;
                padding-left: 10px;
                padding-right: 45px;
                padding-right: 45px;
                
                &::placeholder {
                    color: #676767;
                    font-weight: 400;
                }

                &:focus + button + small {
                    opacity: .3;
                }
            }
            
            & > button {
                position: absolute;
                padding: 0;
                margin: 0;
                background: none;
                border: none;
                right: 10px;
                top: 9px;
                width: 30px;
                height: 30px;
                opacity: 1;
                transition: .3s opacity;

                &::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    background-image: url(/media/icons/search.svg);
                    background-repeat: no-repeat;
                    background-size: 75%;
                    background-position: center center;
                    opacity: .3;
                    transition: all .3s;
                }
                
                &:hover {
                    &::before {
                        cursor: pointer;
                        background-image: url(/media/icons/magnifier-tool.svg);
                        opacity: .9;
                    }
                }
            }

            & > small {
                position: absolute;
                font-family: $sec-font;
                font-size: 14px;
                font-weight: bold;
                top: 10px;
                right: 50px;
                background-color: #D1D1D1;
                color: #080C0F;
                padding: 1px 4px;
                border-radius: 4px;
                opacity: 0;
                transition: opacity .3s;
            }
        }
    }
}