$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: #8AC832;
                }
            }
        }

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

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