@font-face {
    font-family: "wiki";
    src: url("../font/wiki1.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: "wiki";
    src: url("../font/wiki2.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: "wiki";
    src: url("../font/wiki3.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "wiki";
    src: url("../font/wiki4.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "wiki";
    src: url("../font/wiki5.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 100;
    src: url('../font/PeydaWeb-Thin.woff2') format('woff2');  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 200;
    src: url('../font/PeydaWeb-ExtraLight.woff2') format('woff2');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 300;
    src: url('../font/PeydaWeb-Light.woff2') format('woff2');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 500;
    src: url('../font/PeydaWeb-Medium.woff2') format('woff2');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 600;
    src: url('../font/PeydaWeb-Semibold.woff2') format('woff2');
}

@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 800;
    src: url('../font/PeydaWeb-ExtraBold.woff2') format('woff2');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 900;
    src: url('../font/PeydaWeb-Black.woff2') format('woff2');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: bold;
    src: url('../font/PeydaWeb-Bold.woff2') format('woff2');
}
@font-face {

    font-family: PeydaWeb;
    font-style: normal;
    font-weight: normal;
    src: url('../font/PeydaWeb-Regular.woff2') format('woff2');
}
@font-face {

    font-family: Yekan;
    font-style: normal;
    font-weight: normal;
    src: url('../font/Yekan Bakh Light.woff') format('woff2');
}
body {
    font-family: wiki , 'Montserrat', sans-serif;
    direction: rtl;
    font-size: 1.02rem;
    opacity: 1;
    /*overflow-y: scroll;*/
    margin: 0;
}

/*****************
- Header -
*****************/

header {
    position:relative;
    left:0;
    top:0;
    width:100%;
    padding:20px 0px;
    color:#fff;
    background: #383838 url(https://www.athenadesignstudio.com/plugins/switch/images/bg.jpg) no-repeat center center;
    margin-bottom:3px
}

/* Logo */
header .logo {
    clear:both;
    display:block;
    text-align:center;
    padding-bottom:10px;
}

/* Title */
header h1 {
    font-weight:300;
    font-size:24px;
    color:#eee;
/*letter-spacing:2px;*/
text-align:center;
text-transform:uppercase;
margin:0 !important;
padding-bottom:2px;
}

/* Category Ads */

#ads {
    margin: 30px 0 30px 0;

}

#ads .card-notify-badge {
    position: absolute;
    left: -10px;
    top: -20px;
    background: #e1e1df;
    text-align: center;
    border-radius: 3px 3px 3px 3px;
    color: #000;
    padding: 5px 10px;
    font-size: 14px;

}

#ads .card-notify-year {
    position: absolute;
    right: -10px;
    top: -20px;
    background: #085e32;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    width: 50px;
    height: 50px;
    padding: 15px 0 0 0;
}


#ads .card-detail-badge {
    background: #d5eee1;
    text-align: center;
    border-radius: 3px 3px 3px 3px;
    color: #000;
    padding: 5px 10px;
    font-size: 14px;
}



#ads .card:hover {
    background: #fff;
    box-shadow: 12px 15px 20px 0px rgba(46,61,73,0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
}

#ads .card-image-overlay {
    font-size: 20px;

}

label.error{
    color: #dc3545;
}

input.error, select.error , textarea.error{
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

input.valid, select.valid , textarea.valid{
    border-color: #148469;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23148469' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

#ads .card-image-overlay span {
    display: inline-block;
}


#ads .ad-btn {
    text-transform: uppercase;
    width: 150px;
    height: 40px;
    border-radius: 80px;
    font-size: 16px;
    line-height: 35px;
    text-align: center;
    border: 3px solid #e6de08;
    display: block;
    text-decoration: none;
    margin: 20px auto 1px auto;
    color: #000;
    overflow: hidden;
    position: relative;
    background-color: #e6de08;
}

#ads .ad-btn:hover {
    background-color: #e6de08;
    color: #1e1717;
    border: 2px solid #e6de08;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: 12px 15px 20px 0px rgba(46,61,73,0.15);
}

#ads .ad-title h5 {
    text-transform: uppercase;
    font-size: 18px;
}
*,
::after,
::before {
    box-sizing: border-box;
}

a {
    cursor: pointer;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

li {
    list-style: none;
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.275rem;
    color: var(--bs-emphasis-color);
}

/* Layout for admin dashboard skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    background: var(--bs-dark);
    transition: all 0.35s ease-in-out;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    width: 100%;
    background: var(--bs-dark-bg-subtle);
}

/* Sidebar Elements Style */

.sidebar-logo {
    padding: 1.15rem;
}

.sidebar-logo a {
    color: #e9ecef;
    font-size: 1.15rem;
    font-weight: 600;
}

.sidebar-nav {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    margin-left: 0;
}

.sidebar-header {
    color: #e9ecef;
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #e9ecef;
    position: relative;
    display: block;
    font-size: 0.875rem;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.avatar {
    height: 40px;
    width: 40px;
}

/*.navbar-expand .navbar-nav {
    margin-right: auto;
}*/

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

@media (min-width:768px) {
    .content {
        max-width: auto;
        width: auto;
    }
}

.card {
    box-shadow: 0 0 .875rem 0 rgba(34, 46, 60, .05);
    margin-bottom: 24px;
}

.illustration {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-emphasis-color);
}

.illustration-img {
    max-width: 150px;
    width: 100%;
}

/* Sidebar Toggle */

#sidebar.collapsed {
    margin-left: -264px;
}

/* Footer and Nav */

@media (max-width:767.98px) {

    .js-sidebar {
        margin-left: -264px;
    }

    #sidebar.collapsed {
        margin-left: 0;
    }

    .navbar,
    footer {
        width: 100vw;
    }
}

/* Theme Toggler */

.theme-toggle {
    /*position: fixed;
    top: 50%;*/
    transform: translateY(-65%);
    text-align: center;
    z-index: 10;
    right: 0;
    left: auto;
    border: none;
    background-color: var(--bs-body-color);
}
/*html{
    height: -webkit-fill-available;
}*/
.wiki-ui-blocker {
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: #001a33;
    opacity: 50%;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 1100;
    display: none;
}
html[data-bs-theme="dark"] .theme-toggle .fa-sun,
html[data-bs-theme="light"] .theme-toggle .fa-moon {
    cursor: pointer;
    padding: 10px;
    display: block;
    font-size: 1.25rem;
    color: #FFF;
}

html[data-bs-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

html[data-bs-theme="light"] .theme-toggle .fa-sun {
    display: none;
}
.select2-selection__rendered {
    line-height: 31px !important;
}

/*
.select2-container .select2-selection--single {
    height: 2.3rem !important;
}
.select2-selection__arrow {
    height: 2.3rem !important;
}*/
/*@media only screen and (min-width: 600px and ) {
    body {
        background-color: lightblue;
    }
}*/

table.dataTable tbody tr.selected>* {
    color: #f1f0ef !important;
    box-shadow: inset 0 0 0 9999px rgb(28, 120, 170) !important;
}

.loading {
    position: fixed;
    top: 0; right: 0;
    bottom: 0; left: 0;
    opacity: 0.5;
    background: rgba(0, 0, 0, 0.9);
}
.loader {
    left: 50%;
    margin-left: -4em;
    font-size: 10px;
    border: .8em solid rgba(218, 219, 223, 1);
    border-left: .8em solid rgba(58, 166, 165, 1);
    animation: spin 1.1s infinite linear;
}
.loader, .loader:after {
    border-radius: 50%;
    width: 8em;
    height: 8em;
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -4.05em;
}

@keyframes spin {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}