body {
    background: #d1ad79 url('/images/bg.jpg') repeat-y fixed top center;
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: cover;
}

.row-header {
    background: #e1d0ae;
    border-radius: 5px 5px 0 0;
}

main {
    background: #e1d0ae;
    border-radius: 0;
}

a {
    color: #3e2923;
}

a:hover {
    color: #211712;
}

i.material-icons {
    vertical-align: bottom !important;
    font-size: 1.6rem
}

.wmi {
    color: rgba(71, 48, 36, .6)
}

.wmi-cursor {
    cursor: default
}

.js-like {
    cursor: pointer
}

h1 {
    font-size: 1.3rem;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1.1rem;
}

.g-ads {
    background: #b9ac91;
    border-radius: 5px;
}

.section-label {
    background-color: #54a8f2;
    padding: 5px 10px;
    text-decoration: none;
    color: #fff;
    float: right;
    border-radius: 3px;
}

.sec {
    border-radius: 0;
}

.navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

button[aria-expanded="false"].navbar-toggler {
    transform: rotate(0deg);
    transition: ease 0.3s;
}

button[aria-expanded="true"].navbar-toggler {
    transform: rotate(-90deg);
    transition: ease 0.3s;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.elements .page-link-x {
    color: #fffdf9;
    background-color: #6f534e;
    border-right: 1px solid #392420;
    padding: 8px 14px;
    font-size: 0.9rem;
    text-decoration: none;
}

.elements .page-link-x:focus, .elements .page-link-x:hover, .page-item-x.disabled .page-link-x {
    color: #fff;
    text-decoration: none;
    background-color: #654944;
    border-color: #392420;
    box-shadow: none;
}

.elements .element .image {
    display: inline-block;
    max-width: 395px;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 3px;
}

.page-item-x:first-child .page-link-x {
    margin-left: 0;
    border-radius: 5px 0 0 5px;
    padding: 8px 14px;
}

.page-item-x.active .page-link-x {
    z-index: 2;
    color: #fff;
    background-color: #3e2923;
    border-color: #3e2923
}

.page-item-x:last-child .page-link-x {
    border-radius: 0 5px 5px 0;
}

.element .stat {
    height: 40px;
    overflow: hidden;
}

.element .image {
    max-width: 600px;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-21by9::before {
    padding-top: 42.85714%;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-4by3::before {
    padding-top: 75%;
}

.embed-responsive-1by1::before {
    padding-top: 100%;
}

.p-element {
    margin-bottom: 10px
}

.p-elements h3 {
    padding: 5px 10px 10px 15px;
    background: #513b2ddb;
    margin: 0 0 20px;
    color: #fff;
    vertical-align: middle;
    line-height: 30px;
    font-size: 1.2rem;
    font-weight: 400;
    position: relative
}

.p-elements h3:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-top: 10px solid #ddc9a3;
    border-left: 10px solid #644f3e;
    width: 0
}

.p-elements h4 {
    font-size: 1.1rem
}

.p-element-border {
    border-bottom: 5px solid #644f3e26;
    margin-bottom: 15px;
    border-radius: 3px
}

.p-element-text {
    line-height: 1rem;
    padding-top: 5px
}

.r-element {
    border-bottom: 1px solid rgba(0, 0, 0, .1)
}

.r-element-image {
    max-width: 100%;
    margin-bottom: 10px
}

.r-title {
    margin-bottom: 0
}

.r-element-adv {
    max-width: 777px;
    overflow: hidden
}

.r-elements h3 {
    padding: 5px 10px 10px 15px;
    background: #513b2ddb;
    margin: 10px 0 20px;
    color: #fff;
    vertical-align: middle;
    line-height: 30px;
    font-size: 1.2rem;
    font-weight: 400;
    position: relative
}

.r-elements h3:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-top: 10px solid #ddc9a3;
    border-left: 10px solid #644f3e;
    width: 0
}

.r-elements h4 {
    font-size: 1.1rem
}

.r-elements .wmi {
    font-size: .9rem
}

.r-elements .material-icons {
    font-size: 1.2rem
}

.sections {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-grow: 1;
    flex-basis: 100px;
}

.section {
    height: 100px;
    border: 1px solid #000;
    margin: 0 10px 10px 0;
    overflow: hidden;
    font-size: 0.8em;
    display: flex;
    flex-basis: 140px;
    flex-grow: inherit;
    text-decoration: none;
}

.section .link {
    padding: 5px;
    text-align: center;
    width: 100%;
    align-self: center;
    text-decoration: none;
    border-bottom: none;
}

#search-input__note {
    font-size: 12px
}

#search-input__input {
    background: rgba(50, 31, 26, .5);
    border-radius: 0;
}

#search-input__input, #search-input__input::placeholder {
    color: #fff;
    border: transparent
}

#search-input__button {
    border: transparent;
    border-radius: 0;
    background: #d80000;
    max-width: 49px;
}

#search-input__button i {
    display: inline-block;
    vertical-align: middle
}

#search-input {
    max-width: 240px;
}

.row-footer {
    background: #4d3630;
    vertical-align: middle;
    line-height: 80px;
    color: #fff;
    border-radius: 0 0 5px 5px;
}

#logo {
    width: 370px;
    max-width: 100%;
}

.navbar .megamenu {
    padding: 1rem;
    background: #664f49;
}
.navbar .megamenu a:hover {
    font-weight: bold;
}

.navbar .megamenu a {
    color: #fef8ec;
    margin: 3px;
    display: inline-block;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }

}

@media (max-width: 1400px) {
    .elements .element .image {
        max-width: 320px;
    }
}

@media (max-width: 1200px) {
    .elements .element .image {
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    .elements .element .image {
        max-width: 270px;
    }
}

@media (max-width: 768px) {
    .elements .element .image {
        max-width: 395px;
    }
    .r-elements h3 {
        font-size: 1rem;
    }
}

/* ============ desktop view .end// ============ */


/* ============ mobile view ============ */
@media (max-width: 991px) {
    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }
}

/* ============ mobile view .end// ============ */
#sidebar_wrap {
    position: relative;
}

.sticky {
    top: 20px;
    position: fixed;
    overflow-x: hidden;
    width: min-content;
    height: min-content;
}