* {
    background: 0 0;
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    box-sizing: border-box
}

html {
    font-size: 100%;
    scroll-behavior: smooth
}

.wrapper {
    min-width: 320px;
    position: relative;
    overflow: hidden;
}

.container {
    position: relative;
    max-width: 1300px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.section {
    margin-bottom: 60px;
}

.content {
    min-height: 100vh;
    margin-top: 30px;
    margin-bottom: 30px;
}

h1, h2, h3, h4 {
    margin-bottom: 30px;
}

h1 {
    font-size: 35px;
    font-weight: bold;
}

h2 {
    font-size: 25px;
    font-weight: bold;
}

h3 {
    font-size: 20px;
    line-height: 1.4;
}

h4 {
    font-size: 18px;
    line-height: 1.4;
}

p {
    font-size: 14px;
    line-height: 1.8;
}

h1 + p, h2 + p {
    margin-top: -10px;
    margin-bottom: 20px;
}

ol, ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input,select,textarea {
    font-size: 16px;
    font-family: inherit;
}

input:not([type=checkbox]) {
    display: inline-block;
    background: var(--bg2);
    color: inherit;
    padding: 15px 20px;
    border-radius: 10px;
    width: 100%;
}

input[type=button], input[type=checkbox], input[type=file], input[type=image], input[type=radio], input[type=reset], input[type=submit] {
    width: auto;
}

input[type="checkbox"], .checkbox input, .comments_subscribe input,.pm_outbox_copy input {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    vertical-align: middle;
    display: inline-block;
    border: 2px solid #5a5a5a;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    margin: 10px 0;
    margin-right: 15px;
    cursor: pointer;
}

input[type="checkbox"]:checked:before, .checkbox input:checked:before,.comments_subscribe input:checked:before,.pm_outbox_copy input:checked:before {
    content: "";
    position: absolute;
    display: inline-block;
    left: 4px;
    top: 4px;
    width: 9px;
    height: 5px;
    border-radius: 1px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
}

input[type="checkbox"]:checked, .checkbox input:checked,.comments_subscribe input:checked,.pm_outbox_copy input:checked {
    background-color: var(--color1);
    border: 2px solid var(--color1);
}

textarea {
    background: var(--bg2);
    color: var(--text);
    padding: 15px 20px;
    border-radius: 10px;
    width: 100%;
}

select {
    display: inline-block;
    background: var(--bg2);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 10px;
    width: 100%;
    height: 45px;
}

.e-btn, .bbcodes, button[type="submit"], input[type="submit"], input[type="button"] {
    display: inline-block;
    background-color: var(--color1);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

}

.e-grid2, .e-grid3, .e-grid4, .e-grid5, .e-grid6, .e-grid7 {
    display: grid;
    grid-gap: 20px 20px;
    grid-auto-rows: max-content;
}

.e-grid7 {
    grid-template-columns: repeat(7, 1fr);
}

.e-grid6 {
    grid-template-columns: repeat(6, 1fr);
}

.e-grid5 {
    grid-template-columns: repeat(5, 1fr);
}

.e-grid4 {
    grid-template-columns: repeat(4, 1fr);
}

.e-grid3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
    .e-grid7, .e-grid6, .e-grid5, .e-grid4, .e-grid3 {
        grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    }
}

.e-grid2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
    .e-grid2 {
        grid-template-columns: 1fr;
    }
}

.e-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.e-flex50 {
    flex: 1 1 0%;
    max-width: 100%;
    min-width: 50px;
}

.e-column {
    flex-direction: column;
    flex-wrap: nowrap;
}

.e-center {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%,-50%)
}

.e-nowrap {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.e-contain img, .e-contain video, .e-contain iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.e-cover img, .e-cover video, .e-cover iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 860px) {
    .e-swipe {
        display:flex;
        flex-wrap: nowrap;
        overflow-x: auto
    }

    .e-swipe > a, .e-swipe > div {
        min-width: max-content;
    }
}

.e-clamp2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.e-clamp3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.e-scroll::-webkit-scrollbar, #searchsuggestions::-webkit-scrollbar {
    position: relative;
    width: 4px;
    border-radius: 10px;
}

.e-scroll::-webkit-scrollbar-thumb, #searchsuggestions::-webkit-scrollbar-thumb {
    background-color: var(--color1)
}

.e-scroll::-webkit-scrollbar-track, #searchsuggestions::-webkit-scrollbar-track {
    background-color: var(--light)
}

.e-fullscreen {
    height: 100vh;
    overflow: hidden;
}

@media (max-width: 860px) {
    .e-fullscreen {
        height: 70vh;
    }
}

.e-none, .hidden, .e-mobile, .e-desktop {
    display: none
}

@media (max-width: 860px) {
    .e-mobile {
        display: block;
    }
}

@media (min-width: 860px) {
    .e-desktop {
        display: block;
    }
}