/* 
Theme Name: راییوم
Theme URI: https://www.rayium.ir/
Author: Raymond Baghumian
Author URI: https://www.rayium.ir/
Description: قالب آموزشی راییوم
Version: 5.0
License: GNU General Public License v2 or later
*/

@font-face {
    font-family: Estedad;
    src: url('fonts/Estedad-Regular.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Estedad;
    src: url('fonts/Estedad-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

a{
    color: oklch(0% 0 0);
}
body {
    font-family: 'Estedad', sans-serif;
    background-color: #e8e8e8;
	font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

#wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-right: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
    width: 240px;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
    margin-right: 0;
    min-width: 240px;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-right: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-right: -15rem;
    }
}

a#menu-toggle {
    margin-right: 15px;
}

figure.avatar img {
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    display: inline;
}

/* Logo */

figure.imgLogo img {
    width: 200px;
}

/* Content */

.icons,
.texts {
    display: inline-block;
}

ul li {
    list-style: none;

}


.menu-container {
    border-radius: 12px;
    overflow: hidden;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
}

.menu-header:hover {
    background: #f8f9fa;
}

.menu-header .title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

.menu-header .arrow {
    font-size: 14px;
    color: #888;
    transition: transform 0.3s ease;
}

.menu-header.active .arrow {
    transform: rotate(180deg);
}

.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #fafbfc;
}

.sub-menu.open {
    max-height: 300px;
    padding: 8px 0;
}

.sub-menu a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-right: 3px solid transparent;
    transition: all 0.2s;
}

.sub-menu a:last-child {
    margin-bottom: 4px;
}

/* Blog */

figure.wp-block-image img{ 
    border-radius: 15px;
}

.duration {
    display: ruby;
}
/* Comments */

.commentlist {
    display: flex;
    flex-direction: column;
    gap: 2em;
    list-style: none;
    margin-bottom: 20px;
}

.comment-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1em;
    padding: 1em 1em 1.5em 1em;
    border-radius: 1em;
    border: 1px solid #e8e8e8;
}

.comment:has(.children)>.comment-body {
    padding: 1.5em 1.5em 4.5em 1.5em
}

.comment.bypostauthor {
    border-radius: 1em;
    list-style: none;
}

.comment-author {
    justify-self: start;
    border: 1px solid #dacfcf;
    display: flex;
    gap: .25em;
    align-items: center;
    padding: .5em .5em .5em 1em;
    border-radius: 5em;
}

.comment-author img {
    margin-left: .5em;
    border-radius: 50%
}

.comment-author .says {
    display: none
}

.comment-meta {
    justify-self: end;
}


.comment-body p {
    grid-column: 1/3
}

.comment-body pre {
    margin-inline: 0 !important;
    grid-column: 1 / 3
}

.children {
    margin: -2.5em -1% 0 3%;
    list-style: none;
}

.comment .children .comment-body {
    background-color: #e8e8e8;
    margin-right: 30px;
}

.children .comment-author {
    background-color: #e8e8e8;
}

.comment .reply {
    margin-top: 1em;
    grid-column: 1/3
}

.comment .reply a {
    border: 1px solid #dacfcf;
    padding: .5em 1em .5em 1em;
    font-size: medium;
    font-weight: 600;
    border-radius: 5em;
    transition: color 0.3s ease
}


#respond {
    gap: 1em;
    padding: 1.5em;
    border-radius: 1em;
    border: 1px solid #e8e8e8;
}

#cancel-comment-reply-link {
    color: #222222;
}

#commentform {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    margin-top: 1.5em
}

#commentform textarea {
    min-height: 10em
}


/* Share Social */

.fa-telegram:hover {
    color: #33a6e1;
}

.fa-whatsapp:hover {
    color: #21c741;
}

.fa-linkedin:hover {
    color: #0173b2;
}

.fa-square-x-twitter:hover {
    color: #000000;
}

/* Courses */
.cprice {
    padding: 10px;
    font-family: "Lalezar";
}

.bap,
.count-student {
    font-family: "Lalezar";
}

.times,
.counts {
    font-size: 0.8rem;
}

del {
    display: block;
    font-size: medium;
}

ins {
    text-decoration: none;
}

.titlesidebar {
    display: contents;
}

.card-body ol {
    margin: 35px;
}

.bio i {
    margin: 5px;
}

/* Profile User */

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

/* Google Icon */
.google-icon {

    background: conic-gradient(
        #4285F4 0deg 90deg,
        #34A853 90deg 180deg,
        #FBBC05 180deg 270deg,
        #EA4335 270deg 360deg
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}