/* https://piccalil.li/blog/a-modern-css-reset */

/* ----------------- */
/* Custom Properties */
/* ----------------- */

* {
    font-family: 'Roboto', sans-serif;
}

:root {
    /* colors */
    --clr-black: 0, 0, 0;
    --clr-dark: 0 0.0% 12.5%;
    --clr-light: 231 77% 90%;
    --clr-white: 0 0% 100%;
    --clr-red: 2, 71%, 49%;

    /* font-sizes */
    --fs-900: 9.375rem;
    --fs-800: 6.25rem;
    --fs-700: 3.5rem;
    --fs-600: 2rem;
    --fs-500: 1.75rem;
    --fs-400: 1.125rem;
    --fs-300: 1rem;
    --fs-200: 0.875rem;

    /* font-families */
    --ff-open-sans: "Open Sans", "Serif";
    --ff-serif: "Bellefair", "Serif";
    --ff-sans-cond: "Barlow Condensed", sans-serif;
    --ff-sans-normal: "Barlow", sans-serif;
}

/* --------------- */
/* BOX SIZING      */
/* --------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
    margin: 0;
}

/* set up the body */
body {
    font-family: var(--ff-sans-normal);
    font-size: var(--fs-400);
    color: hsl(var(--clr-white));
    background-color: hsl(var(--clr-dark));
    line-height: 1.5;
    min-height: 100vh;
}

/* make images easy to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
    font: inherit;
}

/* remove animations for people who turned them off */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------- */
/* Utility Classes */
/* --------------- */

.flex {
    display: flex;
    gap: var(--gap, 1rem);
}

.grid {
    display: grid;
    gap: var(--gap, 1rem);
}

.container {
    padding-inline: 2em;
    margin-inline: auto;
    max-width: 95%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.box {
    background: lightblue;
    padding: 3rem;
}

.call-to-action {
    --gap: 5rem;
    background: pink;
    padding: 2rem;
    border-radius: 1rem;
}

/* colors */
.bg-black {
    background-color: hsl(var(--clr-black));
}

.bg-dark {
    /* background-color: hsl(var(--clr-dark)); */
    background-color: #0d0d0d;
}

.bg-accent {
    background-color: hsl(var(--clr-light));
}

.bg-white {
    background-color: hsl(var(--clr-white));
}

.bg-red {
    background-color: hsl(var(--clr-red));
}

.text-black {
    color: hsl(var(--clr-black));
}

.text-dark {
    color: hsl(var(--clr-dark));
}

.text-accent {
    color: hsl(var(--clr-light));
}

.text-white {
    color: hsl(var(--clr-white));
}

.text-red {
    color: hsl(var(--clr-red));
}

/* typography */
.ff-open-sans {
    font-family: var(--ff-open-sans);
}

.ff-serif {
    font-family: var(--ff-serif);
}

.ff-sans-cond {
    font-family: var(--ff-sans-cond);
}

.ff-sans-normal {
    font-family: var(--ff-sans-normal);
}

.letter-spacing-1 {
    letter-spacing: 4.75px;
}

.letter-spacing-2 {
    letter-spacing: 2.7px;
}

.letter-spacing-3 {
    letter-spacing: 2.35px;
}

.uppercase {
    text-transform: uppercase;
}

.fs-900 {
    font-size: var(--fs-900);
}

.fs-800 {
    font-size: var(--fs-800);
}

.fs-700 {
    font-size: var(--fs-700);
}

.fs-600 {
    font-size: var(--fs-600);
}

.fs-500 {
    font-size: var(--fs-500);
}

.fs-400 {
    font-size: var(--fs-400);
}

.fs-300 {
    font-size: var(--fs-300);
}

.fs-200 {
    font-size: var(--fs-200);
}

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
    line-height: 1.1;
}

.top-header {
    padding: 10px 0;
}

.site-title {
    padding: 25px 0;
}

.no-underline {
    text-decoration: none;
}

.list-link {
    line-height: 100%;
}

bottom-line {
    border-bottom: 10px solid red;
}

.card {
    color: #212529;
}

a {
    text-decoration: none;
    color: #fff;
}

a:hover {
    text-decoration: none;
    color: #d62a24;
}

.no-color:hover {
    color: #fff;
}

.flex-block {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 400;
}

.header-menu {
    display: flex;
    justify-content: space-between;
    height: 50px;
    margin-bottom: 10px;
    vertical-align: middle;
    align-items: center;
}

.header-link {
    position: relative;
}

/* .header-link:hover { */
/* text-transform: uppercase !important;
transition: all .4s ease-in-out;
transform: scale(1.2);
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
-o-transform: scale(1.2);
-webkit-transition: all .4s ease-in-out;
-moz-transition: all .4s ease-in-out;
-ms-transition: all .4s ease-in-out;
-o-transition: all .4s ease-in-out; */
/* } */

/* .header-link:hover:before { */
/* transform: scaleX(1); */
/* transition: transform 0.25s; */
/* } */

/* .header-link::before {
    content: '';
    width: 40%;
    height: 3px;
    background-color: #d62a24;
    position: absolute;
    left: 0;
    bottom: -17px;
    transform: scaleX(0);
    transition: transform 0.25s;
    transform-origin: left;
} */

.header-search {
    display: flex;
    justify-content: space-between;
    vertical-align: middle;
    align-items: center;
}

.p20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.p10 {
    padding: 10px;
}

.text-center {
    text-align: center;
}

.bottom-red {
    border-bottom: 2px solid #d62a24;
}

/* .news-line {
    display: flex;
    height: 55px;
    width: 100%;
    background-color: red;
    margin-bottom: 10px;
} */

.breaking-block {
    display: flex;
    align-items: stretch;
    height: 100%;
    /* width: 21%; */
}

.breaking-anim {
    position: relative;
    height: 55px;
    width: 55px;
    background-color: #a11f1b;
}

@-webkit-keyframes opac {
    from {
        opacity: 1;
        width: 0;
        height: 0;
        top: 50%;
        left: 50%;
    }

    to {
        opacity: 0;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
}

.animate .w2 {
    -webkit-animation-delay: 1s;
}

.animate .w3 {
    -webkit-animation-delay: 2s;
}

.animate .w4 {
    -webkit-animation-delay: 3s;
}

.wave {
    width: 55px;
    height: 55px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.wave * {
    border: 1px solid #fff;
    position: absolute;
    border-radius: 50%;
    -webkit-animation: opac 4s infinite;
}

.breaking-text {
    height: 55px;
    width: 175px;
    padding: 15px;
    background-color: #d62a24;
}

.breaking-text span {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 25px;
    vertical-align: middle;
    cursor: pointer;
}

.ticker-line {
    display: flex;
    height: 55px;
    width: 100%;
    margin-bottom: 10px;
    background-color: #1a1a1a;
}

.ticker-line--fixed {
    position: fixed;
    z-index: 100;
    overflow: hidden;
    width: 100%;
}

.ticker {
    height: 55px;
    text-align: left;
    width: 100%;
    padding: 7px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-post>a {
    display: inline;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.ticker-post>a:hover,
a:visited {
    /* color: #fff; */
    text-decoration: none;
}

.pre-text {
    display: inline-block;
    height: 41px;
    width: 41px;
    vertical-align: middle;
    background-color: #7a7a7a;
    color: #e3e3e3;
    font-size: 17px;
    line-height: 17px;
    font-weight: 700;
    text-align: center;
    padding: 13px;
    margin: 0 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.ticker-post {
    display: inline-block;
    font-size: 20px;
    line-height: 20px;
    text-indent: 0;
    animation: marquee 20s linear infinite;
}

.ticker>div:hover {
    animation-play-state: paused
}

@keyframes marquee {
    0% {
        transform: translate(100%, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* @media only screen and (max-width: 440px) {
    .ticker span {
        animation: none;
        padding-left:0;
    }
} */

.wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-gap: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.wrapper-posts-spacing {
    padding-top: 60px;
}

.box1 {
    background-color: #212529;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
    position: relative;
}

.box2 {
    background-color: #212529;
    grid-column-start: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    position: relative;
}

.box3 {
    background-color: #212529;
    grid-column-start: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    position: relative;
}

.box4 {
    position: relative;
    grid-column-start: 4;
    grid-row-start: 1;
    grid-row-end: 3;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100% !important;
}

.carousel-control-prev,
.carousel-control-next {
    top: 45% !important;
    height: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #e3e3e345;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #27262645;
}


/* Tabs */

.tab {
    overflow: hidden;
    border-bottom: 2px solid #d72924;
}

.tab button {
    width: 50%;
    background-color: #202020;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0px;
    transition: 0.1s;
    color: #fff;
    text-align: left;
}

.tab button.active {
    background-color: #d62a24;
}

.tabcontent {
    display: none;
    padding-top: 10px;
    border: none;
}

.btn-ic {
    width: 30px;
    height: 30px;
    background-color: #585858;
    display: inline-block;
    text-align: center;
    margin-right: 5px;
    line-height: 30px;
    font-size: 14px;
    vertical-align: middle;
}

.btn-text {
    font-size: 14px;
    font-weight: 550;
    text-transform: uppercase;
}

.tab button.active .btn-ic {
    background-color: #a11f1b;
}

.tab-post {
    display: flex;
    width: 100%;
    height: 84px;
    margin-bottom: 10px;
    align-items: center;
    overflow: hidden;
}

.tab-post-img {
    width: 84px;
    height: 84px;
    margin-right: 10px;
    /* background-color: #7a7a7a; */
}

.tab-post-img>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-post-info {
    max-width: 195px;
}

.tab-post-title {
    font-size: 16px;
    font-weight: 550;
    max-height: 75px;
}


.tab-post-date {
    font-size: 14px;
}

/* Tabs */

.post-size {
    width: 100%;
    height: 100%;
}

.block-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

#scrollup {
    display: none;
    position: fixed;
    bottom: 36px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    background-color: #d72924;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 10px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    z-index: 2;
}

.up:hover {
    color: #fff;
}

/* Main section */

.error-title {
    margin: 10px 0;
    font-size: 42px;
    color: #fff;
    letter-spacing: -2.5px;
}

.main-title {
    margin-top: 10px;
    font-size: 42px;
    color: #fff;
    letter-spacing: -2.5px;
}

.main-post {
    display: inline-block;
    width: 48%;
    margin: 0px 10px 25px 0px;
}

.main-post-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    vertical-align: middle;
}

.main-post-author {
    display: flex;
    vertical-align: middle;
    margin-right: 10px;
}

.post-author-img {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.post-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
    border-radius: 50%;
}

.main-post-btn {
    /* border: 1px solid #d72924; */
    border: 1px solid lightgray;
    background-color: #000;
    color: #fff;
    margin-top: 10px;
    font-size: 16px;
    padding: 5px 10px;
}

.main-post-btn:hover {
    /* background-color: #d72924; */
    background-color: darkgrey;
    transition: 0.3s;
}

.main-post-btn a:hover {
    color: #fff;
}

.fixed-sidebar {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    height: 100%;
    padding: 0 15px;
    color: #fff;
    top: 230px;
    bottom: auto;
}

.header-search-box,
.search-box,
.error-search-box {
    display: flex;
    justify-content: space-between;
}

.error-search-box {
    margin-top: 20px;
}

.search-input,
.error-search-input {
    width: 75%;
    height: 40px;
    border: 1px solid #d62a24;
    background-color: #000;
    color: #fff;
    margin-right: 10px;
}

.search-btn,
.error-search-btn {
    /* width: 25%; */
    height: 40px;
    border: none;
    background-color: #d62a24;
    color: #fff;
    font-size: 15px;
    font-weight: 550;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0;
}

.error-search-input {
    padding-left: 7px;
}

.header-search-box {
    display: flex;
    justify-content: space-between;
    margin-right: 20px;
    visibility: hidden;
}

.active {
    visibility: visible;
}

.header-search-input {
    width: 75%;
    height: 40px;
    padding: 0 5px;
    border: none;
    background-color: #000;
    color: #fff;
}

.header-search-btn {
    /* width: 25%; */
    height: 40px;
    border: none;
    background-color: #d62a24;
    color: #fff;
    font-size: 15px;
    line-height: 12px;
    font-weight: 550;
    text-transform: uppercase;
    cursor: pointer;
}

.sidebar-title {
    margin: 15px 0px;
    font-size: 25px;
    font-weight: 600;
}

.sidebar-list ul {
    list-style: none;
    padding: 0px;
    color: #d72924;
    font-size: 16px;
    line-height: 18px;
}

.sidebar-list ul>li>a {
    /* color: #d72924 !important; */
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer !important;
    /* ft size new */
    font-size: 20px;
}

.sidebar-list ul>li>a:hover {
    /* color: #fff !important; */
    color: lightgray !important;
}

.sidebar-list ul>li>a:visited {
    /* color: #d72924 !important; */
    color: darkgray !important;
}

.main-pagination {
    display: flex;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
    margin: 15px 0 35px;
}

.main-pagination-block {
    width: 30px;
    height: 30px;
    margin: 0px 5px;
    border: 1px solid #d72924;
    color: #d72924;
    font-size: 16px;
    line-height: 16px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
}

.main-pagination-block {
    width: auto;
}

.main-pagination-block:hover {
    border: 1px solid #fff;
    color: #fff;
    transition: 0.3s;
}

.main-pagination-block:active {
    border: 1px solid #d72924;
    background-color: #d72924;
    color: #fff;
}


/* Main section */

.red-label {
    width: 100%;
    display: flex;
    border-bottom: 2px solid #d62a24;
}

.red-label-header {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.posts-line {
    display: flex;
    margin-top: 10px;
    width: 100%;
}

.post-block {
    width: 33%;
    margin-right: 10px;
}

.post-block:last-child {
    margin-right: 0px;
}

.post-block-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    vertical-align: middle;
}

.block-gradient {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%); */
    background: linear-gradient(91deg, rgba(0, 0, 0, 1) 30%, rgba(238, 130, 238, 0) 65%);

}

.block-gradient--carousel-item {
    height: 103px;
    background: linear-gradient(91deg, rgba(0, 0, 0, 1) 5%, rgb(0, 0, 0, 0) 35%);
}

.post-block-label {
    bottom: 15px;
    position: absolute;
    margin-left: 15px;
}

.post-labels-line-wrapper {
    width: 35%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 10px;
}

.post-labels-line {}

.post-labels-line__text {
    height: 24px;
}

.post-block-category,
.post-block-tag {
    margin-right: 10px;
    padding: 3px;
    font-size: 12px;
    line-height: 12px;
}

.red {
    background-color: #dd3333;
}

.green {
    background-color: #81d742;
}

.general {
    background-color: #b59748 !important;
    color: #21201e !important;
}

.post-block-title {
    margin: 10px 0 5px;
}

.post-block-date {
    font-size: 13px;
}

.footer-copy {
    width: 100%;
    position: fixed;
    bottom: 0;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
}


@media (max-width: 620px) {

    #header-name {
        font-size: 20px !important;
    }

    .site-title {
        padding: 15px 0;
    }

    .header-menu {
        position: relative;
    }

    .header-search-box {
        position: absolute;
        top: 50px;
        right: 10px;
        z-index: 2;
    }

    .error-title {
        font-size: 20px;
    }

    .breaking-text {
        display: none;
    }

    .wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        overflow: hidden;
        grid-row-gap: 10px;
        grid-column-gap: 0px;
    }

    .box1 {
        grid-column-start: 1;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .box2 {
        grid-column-start: 1;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    .box3 {
        grid-column-start: 1;
        grid-row-start: 3;
        grid-row-end: 4;
    }

    .box4 {
        grid-column-start: 1;
        grid-row-start: 4;
        grid-row-end: 5;
    }

    .posts-line {
        display: block;
    }

    .post-block {
        display: block;
        width: 100%;
        margin-right: 0px;
        margin-bottom: 10px;
    }

    .main-post {
        width: 100%;
    }

    .main-pagination {
        display: block;
        width: 80%;
        text-align: center;
        margin: 0 15px 30px 38px;
    }

    .main-pagination-block {
        display: inline-block;
        margin: 3px;
    }
}

@media (min-width: 621px) and (max-width: 991px) {

    .error-title {
        font-size: 32px;
    }

    .wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px 200px 200px auto;
    }

    .box1 {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 3;
    }

    .box2 {
        grid-column-start: 1;
        grid-row-start: 3;
        grid-row-end: 4;
    }

    .box3 {
        grid-column-start: 2;
        grid-row-start: 3;
    }

    .box4 {
        grid-column-start: 1;
        grid-row-start: 4;
        grid-column-end: 3;
        grid-row-end: 5;
    }

    .posts-line {
        display: block;
    }

    .post-block {
        display: inline-block;
        width: 49%;
        margin-right: 0px;
    }

    .main-post {
        width: 100%;
    }

    .main-pagination {
        display: block;
        width: 80%;
        text-align: center;
        margin: 0 15px 30px 38px;
    }

    .main-pagination-block {
        display: inline-block;
        margin: 3px;
    }

}

.src-url {
    margin: 10px 0 15px;
}

.src-url>a {
    color: #dd3333;
    text-decoration: none;
    font-size: 16px;
}

.src-url>a:hover {
    color: #dd3333;
    text-decoration: none;
}

.post-control-panel {
    display: flex;
    justify-content: space-between;
    vertical-align: middle;
    align-items: center;
    margin-bottom: 20px;
}

.panel-txt {
    text-decoration: none;
    cursor: pointer;
    color: #e3e3e3;
    font-size: 16px;
}

.panel-txt:hover {
    color: #dd3333 !important;
    text-decoration: none;
    transition: 0.3s;
}

/* Breadcrumbs */

ul.breadcrumb {
    list-style: none;
}

ul.breadcrumb li {
    display: inline;
    font-size: 1rem;
}

ul.breadcrumb li+li:before {
    padding: 5px;
    color: #e3e3e3;
    content: "/\00a0";
}

ul.breadcrumb li a {
    color: #e3e3e3;
    text-decoration: none;
    font-size: 1rem;
}

ul.breadcrumb li a:hover {
    color: #dd3333;
    text-decoration: none;
    transition: 0.3s;
}

/* Breadcrumbs */

/* 500 Error */


body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 100%;
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    body {
        margin: 0 auto;
    }
}

@media (max-height: 350px) {
    .interstitial-wrapper {
        margin-top: 5%;
    }
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    .interstitial-wrapper {
        box-sizing: border-box;
        margin: 7vh auto 12px;
        padding: 0 24px;
        position: relative;
    }
}

@media (max-width: 420px) and (min-height: 401px) and (min-width: 240px),
(max-height: 560px) and (min-height: 240px) and (min-width: 421px) {
    .interstitial-wrapper {
        max-width: 736px;
    }
}

.interstitial-wrapper {
    box-sizing: border-box;
    font-size: 1em;
    line-height: 1.6em;
    margin: 14vh auto 0;
    max-width: 600px;
    width: 100%;
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    #main-content {
        margin: 0;
        transition: opacity 100ms cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (max-width: 420px) and (min-height: 401px) and (min-width: 240px),
(max-height: 560px) and (min-height: 240px) and (min-width: 421px) {

    #details,
    #main-content {
        padding-bottom: 40px;
    }
}

.icon {
    -webkit-user-select: none;
    display: inline-block;
    height: 72px;
    margin: 0 0 40px;
    width: 72px;
    background-repeat: no-repeat;
    background-size: 100%;
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    .icon {
        margin-bottom: 5.69vh;
    }
}

@media (max-width: 420px) and (min-height: 401px) and (min-width: 240px),
(max-height: 560px) and (min-height: 240px) and (min-width: 421px) {
    body .nav-wrapper {
        background: #fff;
        bottom: 0;
        box-shadow: 0 -12px 24px #fff;
        left: 0;
        margin: 0 auto;
        max-width: 736px;
        padding-left: 24px;
        padding-right: 24px;
        position: fixed;
        right: 0;
        width: 100%;
        z-index: 2;

    }
}

body .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-height: 350px) {
    .nav-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    .nav-wrapper {
        box-sizing: border-box;
        padding-bottom: 8px;
        width: 100%;
    }
}

.nav-wrapper {
    margin-top: 51px;
}

#details {
    margin: 0 0 50px;
}

.hidden {
    display: none;
}

@media (max-width: 420px) and (min-height: 401px) and (min-width: 240px),
(max-height: 560px) and (min-height: 240px) and (min-width: 421px) {

    #details,
    #main-content {
        padding-bottom: 40px;
    }
}

@media (max-width: 420px) and (min-height: 401px) and (min-width: 240px),
(max-height: 560px) and (min-height: 240px) and (min-width: 421px) {
    #details {
        padding-top: 5.5vh;
    }
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    #details {
        box-sizing: border-box;
        height: auto;
        margin: 0;
        opacity: 1;
        transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (max-height: 400px) and (orientation: portrait),
(max-height: 239px) and (orientation: landscape),
(max-height: 399px) and (max-width: 419px) {
    #details {
        flex: 1 1 auto;
        order: 0;
    }
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {

    #details.hidden,
    #main-content.hidden {
        display: block;
        height: 0;
        opacity: 0;
        overflow: hidden;
        padding-bottom: 0;
        transition: none;
    }
}

h1 {
    color: rgba(32, 33, 36, 1);
    font-size: 1.6em;
    font-weight: normal;
    line-height: 1.25em;
    margin-bottom: 16px;
    margin-top: 0;
    word-wrap: break-word;
    margin: 0 0 15px;
    margin: 0 0 15px;
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    h1 {
        font-size: 1.5em;
        margin-bottom: 8px;
    }
}

h1>span {
    font-weight: 500;
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    .interstitial-wrapper p {
        font-size: .95em;
        line-height: 1.61em;
        margin-top: 8px;
    }
}

#main-message>p {
    display: inline;
}

p,
li {
    color: rgba(95, 99, 104, 1);
    font-size: 90%;
}

#suggestions-list p:last-child {
    margin: 0;
}

#suggestions-list ul {
    margin-top: 0;
}

#suggestions-list a {
    color: rgba(26, 115, 232, 1);
}

.error-code {
    color: rgba(95, 99, 104, 1);
    font-size: .86667em;
    text-transform: uppercase;
    margin-top: 12px;
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {

    .suggested-left>#control-buttons,
    .suggested-right>#control-buttons {
        float: none;
        margin: 0;
    }
}

.suggested-left>#control-buttons,
.suggested-right>#details-button {
    float: left;
}

button {
    appearance: button;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: -internal-light-dark(buttontext, rgb(170, 170, 170));
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    background-color: -internal-light-dark(rgb(239, 239, 239), rgb(74, 74, 74));
    box-sizing: border-box;
    margin: 0em;
    font: 400 13.3333px Arial;
    padding: 1px 6px;
    border-width: 2px;
    border-style: outset;
    border-color: -internal-light-dark(rgb(118, 118, 118), rgb(195, 195, 195));
    border-image: initial;
}

button {
    border: 0;
    border-radius: 4px;
    box-sizing: border-box;
    color: var(--primary-button-text-color);
    cursor: pointer;
    /* float: right; */
    font-size: .875em;
    margin: 0;
    padding: 8px 16px;
    transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {

    button,
    [dir='rtl'] button,
    button.small-link,
    .nav-wrapper .secondary-button {
        font-family: Roboto-Regular, Helvetica;
        font-size: .933em;
        margin: 6px 0;
        transform: translatez(0);
    }
}

.small-link {
    color: rgba(95, 99, 104, 1);
    font-size: .875em;
}

@media (max-width: 420px) and (orientation: portrait),
(max-height: 560px) {
    .small-link {
        border: 0;
    }
}

.secondary-button {
    background: #d9d9d9;
    color: #696969;
    margin-inline-end: 16px;
}

.nav-wrapper .secondary-button {
    background: #fff;
    border: 1px solid rgba(154, 160, 166, 1);
    color: rgba(95, 99, 104, 1);
    float: none;
    margin: 0;
    padding: 8px 16px;
}

button.blue-button {
    background: rgba(26, 115, 232, 1);
    color: #fff;
}

/* 500 Error */

.dropdown-none {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #dee2e6;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

#change_password {
    cursor: pointer;
}

.mt15 {
    margin-top: 15px;
}

/* Modal Change */

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(100, 100, 100, 0.56);
    z-index: 9999;
}

.overlay.active {
    display: block;
}

.divider {
    border: none;
    color: #e3e3e3;
    background-color: #e3e3e3;
    height: 1px;
}

.change-modal {
    position: fixed;
    /* height: 80%; */
    width: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    color: #e3e3e3;
    border-radius: 20px;
}

.bg-dark {
    background: #212121;
}

.change_close {
    position: absolute;
    top: 0;
    right: -35px;
    font-size: 41px;
    line-height: 21px;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
}

.change-modal-content {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.change-modal-label {
    margin-left: 3px;
    font-size: 15px;
    color: #e3e3e3;
}

.change-modal-input {
    width: 99%;
    height: 40px;
    margin: 5px 2px;
    padding: 0 5px;
    border: none;
}

.input-dark {
    background-color: #000;
    color: #fff;
}

@media (max-width: 780px) {
    .change-modal {
        width: 83%;
    }

    .change_close {
        top: 15px;
        right: 15px;
    }
}

.warning-text {
    padding: 5px;
    font-size: 13px;
    line-height: 13px;
    text-align: justify;
}

.text-red {
    color: #d83f2c;
}

.change_btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 99%;
    margin-top: 20px;
}

/* .change-modal-btn-close {
    height: 35px;
    border: none;
    background-color: #7a7a7a;
    color: #fff;
    font-size: 14px;
    line-height: 15px;
    font-weight: 550;
    text-transform: uppercase;
    cursor: pointer;
}

.change-modal-btn-reset {
    height: 35px;
    border: none;
    background-color: #636161;
    color: #fff;
    font-size: 14px;
    line-height: 15px;
    font-weight: 550;
    text-transform: uppercase;
    cursor: pointer;
} */

.change-modal-btn {
    height: 35px;
    border: none;
    font-size: 14px;
    line-height: 15px;
    font-weight: 550;
    text-transform: uppercase;
    cursor: pointer;
    margin-left: 5px;
}


/* Modal Change */


/* Control Posts*/

.my-post {
    display: flex;
    /*     align-items: center;
        vertical-align: middle; */
    margin: 10px 0;
}

.my-post-img {
    width: 30%;
    height: 300px;
    position: relative;
    margin-right: 10px;
}

.my-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.my-post-info {
    width: 70%;
    overflow: hidden;
}

.my-post-title {
    width: 100%;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.my-post-btn {
    font-size: 16px;
    padding: 5px 10px;
    border: none;
    color: #fff;
    margin-right: 10px;
    cursor: pointer;
}

.btn-gray {
    background-color: rgb(94, 92, 92);
    color: #fff;
}

.btn-light {
    background-color: rgb(129, 121, 121);
    color: #fff;
}

.btn-red {
    background-color: #d83f2c;
    color: #fff;
}


@media (max-width: 780px) {
    .my-post {
        display: block;
    }

    .my-post-img {
        width: 100%;
        height: 100%;
    }

    .my-post-info {
        width: 100%;
        text-align: justify;
    }

}


/* Control Posts */

/* Login Card */

.fixed-card {
    position: fixed !important;
    width: 50%;
    left: 25%;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 890px) {
    .fixed-card {
        width: 70%;
        left: 15%;
    }
}

#activation-result {
    color: #d72924;
}

/* End Login Card */

/* notification icon */
/*.not-ic {*/
/*    position: relative;*/
/*    color: #86888a;*/
/*    font-size: 20px !important;*/
/*}*/

/*.not-ic-number {*/
/*    display: none;*/
/*    background-color: #d62a24;*/
/*    height: 15px;*/
/*    width: 15px;*/
/*    position: absolute;*/
/*    top: -5px;*/
/*    right: -3px;*/
/*    border-radius: 100%;*/
/*    color: #fff;*/
/*    font-size: 9px;*/
/*    overflow: hidden;*/
/*    white-space: nowrap;*/
/*    line-height: 15px;*/
/*    text-align: center;*/
/*}*/

/*.not-ic-number.active {
    display: block;
}*/

.not-box {
    position: absolute;
    width: 300px;
    padding: 10px;
    background-color: #212121;
    /* right: 0; */
    margin-top: 5px;
    z-index: 1112;
}

@media (max-width: 760px) {
    .not-box {
        right: 0;
    }
}

.not-post {
    background: #47474762;
    color: #fff;
    padding: 5px;
    margin-bottom: 5px;
}

/* === End Notification === */

.label-social-filter {
    width: 130px;
    margin-right: 10px;
    font-size: 16px !important;
}

.selection-box {
    background-color: rgba(33, 37, 41);
    padding: 15px;
}

.btn {
    text-transform: capitalize !important;
}

.tagify {
    width: 100%;
}

.modal-content {
    box-shadow: 0 2px 15px -3px #757575, 0 10px 20px -2px rgb(0 0 0 / 20%);
}


.main-pagination-block__preview {
    margin-right: 15px;
}

.main-pagination-block__next {
    margin-left: 15px;
}

/*  header menu for pages except admin panel(pages)  */
.menu-header-custom {
    padding-inline: 2em;
    margin-inline: auto;
    max-width: 95%;
}


/* global styles for menu + mobile menu except admin pages ( '/admin' && '/admin/...' ) */
/* c - custom */
.c-menu {}

.c-menu-navbar-wrapper {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;

    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

.c-menu-time {
    display: block;
}

.c-menu-header-menu-list {
    display: flex;
}

.c-menu-header-pages-links-list {}

.c-menu-header-current-page {
    position: absolute;
    left: 0;
    bottom: -17px;
    width: 40%;
    height: 3px;
    background-color: #d62a24;
    transform: scaleX(0);
    transition: transform 0.25s;
    transform-origin: left;
    -webkit-transition: transform 0.25s;
    -moz-transition: transform 0.25s;
    -ms-transition: transform 0.25s;
    -o-transition: transform 0.25s;
}

.c-menu-page-name {
    display: inline;
}

#c-menu-sidenav {
    background-color: #2d2c2c;
    margin-top: 57px;
}

#c-menu-sidenav-btn {
    display: none;
}

.c-menu-list {
    list-style-type: none;
    padding-left: 10px;
}

.c-menu-list-item {}

.c-menu-list-link {
    margin: 0;
    padding: 10px;
    font-size: 22px !important;
    font-weight: 700;
    cursor: pointer;
    display: block;
    height: 55px;
    line-height: 55px;
}

@media screen and (max-width: 1400px) {

    .c-menu-page-name,
    .c-menu-time {
        display: none;
    }

}

@media screen and (max-width: 1100px) {

    .c-menu-navbar-wrapper {
        justify-content: flex-end;
    }

    .c-menu-header-menu-list {
        display: none;
    }

    .c-menu-time {
        display: block;
    }

    #c-menu-sidenav-btn {
        display: block;
    }

}

/* x */

/* .btn-check:checked + .btn-bg-checked {
    background-color: #ddd !important;
    font-weight: 700 !important;
} */

.btn-check:checked+.btn {
    background-color: var(--mdb-btn-active-color);
    color: #000;
}



.tab-icon {
    line-height: 25px;
    border-radius: 100%;
    text-align: center;
    margin-right: 5px;
}

.tab-icon-sidebar {
    width: 25px;
    height: 25px;
    line-height: 27px;
    border-radius: 100%;
    text-align: center;
    margin-right: 0px;
}

.tab-icon-sidebar>i {
    color: #fff;
}

.social-results-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.carousel-item-social-post {
    width: 100%;
    height: 300px !important;
}

.carousel-item-social-post-attach {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.carousel-item-social-post-attach>iframe {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.audio-attach {
    margin: 45% 0 0 50px;
    transform: translateY(-50%);
}

.horizontal-centered-right {
    right: -50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.btn-occupation {
    box-shadow: none;
    border: 2px solid transparent !important;
    color: #e3e3e3;
    font-size: 14px;
}

.btn-occupation:hover,
.btn-occupation-check:checked+.btn {
    color: #e3e3e3 !important;
    border-bottom: 2px solid #df2b2d !important;
}

.profile-posts-filter-smm:checked+.btn {
    border: 2px solid #df2b2d !important;
}

.border-transparent {
    border-color: transparent !important;
}

.attach-file-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.attach-file {
    display: flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: 1px solid #515151;
    border-radius: 15px;
    margin-right: 0.5rem;
}

/* background-color: #2d2c2c!important; */
/* <input type="hidden" id="filter_${categoryTitleRemoveWhiteSpace}_form" name="filter_${categoryTitleRemoveWhiteSpace}_form" value="filter_handler_posts">
                          <input type="hidden" name="categoryPosts" value="${categoryTitleRemoveWhiteSpace}">
                          <input type="hidden" name="categoryType" value="${categoryType}"> */