@font-face {
    font-family:nazanin;
    src: url("../fonts/Far_Nazanin.ttf") format('truetype');
}
@font-face {
    font-family:vaziri;
    src: url("../fonts/Vazir-Medium.ttf") format('truetype');
    src: url("../fonts/Vazir-Medium.woff") format('woff');
    src: url("../fonts/Vazir-Medium.woff2") format('woff2');
}
body {
    font-family: vaziri, nazanin, Tahoma, serif;
    font-size: 13px;

}
h1, h2, h3, h4, h5 {
    font-family: vaziri, nazanin, Tahoma, serif;
    font-weight: 700;
}
h6 {
    font-family: vaziri, nazanin, Tahoma, serif;
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 20px; /* Default for large screens */
}

@media (max-width: 1200px) {
    h1, h2, h3, h4, h5, h6 {
        font-size: 19px; /* XXL screens */
    }
}

@media (max-width: 992px) {
    h1, h2, h3, h4, h5, h6 {
        font-size: 18px; /* XL screens */
    }
}

@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6 {
        font-size: 17px; /* MD screens */
    }
}

@media (max-width: 576px) {
    h1, h2, h3, h4, h5, h6 {
        font-size: 16px; /* SM screens */
    }
}

.bg_my_color {
      background-color: #0D2F52 !important;
}

@media (max-width: 767px) {
    .restricted-size {
        max-height: 150px; /* image height, adjust as needed */
        max-width: 100%;   /* Keeps the image responsive */
    }
}



.bg_header {
        background-color: #cfe2ff !important;
}

.img_width {
    width: 50%;
}
.icon_deactivate{
    color: red;
    display: inline-flex;
    padding: 1px;
    border-radius: 1px;
}

.icon_active{
    color: blue;
    display: inline-flex;
    padding: 1px;
    border-radius: 1px;
}

.icon{
    color: blue;
    background-color: #ebeafb;
    display: inline-flex;
    padding: 15px;
    border-radius: 15px;
}
.icon_danger{
    color: red;
    display: inline-flex;
    padding: 1px;
    border-radius: 1px;
    font-size: 20px;
}


.headline {
        color: black;
        text-decoration: none; /* No underline by default */
        }

        .headline:hover {
            color: blue;
            text-decoration: none; /* No underline on hover */
        }

        /* Specific rule for anchor tags inside headlines */
        .headline a {
            text-decoration: none !important; /* Force remove underline */
            color: inherit !important; /* Inherit color from parent headline */
        }

        .headline a:hover {
            color: blue !important; /* Change color to blue on hover */
            text-decoration: none !important; /* Ensure no underline on hover */
        }

.popular {
        color: black;
        text-decoration: none; /* No underline by default */
        }

        .popular:hover {
            color: #fd7f19;
            text-decoration: none; /* No underline on hover */
        }

        /* Specific rule for anchor tags inside headlines */
        .popular a {
            text-decoration: none !important; /* Force remove underline */
            color: inherit !important; /* Inherit color from parent headline */
        }

        .popular a:hover {
            color: blue !important; /* Change color to blue on hover */
            text-decoration: none !important; /* Ensure no underline on hover */
        }


.list li::marker {
    color: red;
}

.cke {
    direction: rtl; /* Set the toolbar direction to right-to-left */
}

.cke_top {
    text-align: right; /* Align the toolbar to the right */
}

.hr-blurry {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.5), rgba(0,0,0,0));
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.hr-divider {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.5), rgba(0,0,0,0));
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.ckeditor-content {
    width: 100%;
    resize_enabled: true;
    height: auto;
}
.ckeditor-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header_setting {
    font-size: 16px !important;
    font-weight: 300;
}

.color-picker {
    width: 150px;
    height: 150px;
    border: 3px solid #000 !important; /* Enforce border color for visibility */
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff; /* Ensure the color picker is white initially */
}

@media (min-width: 576px) {
    .custom-responsive-font {
        font-size: 1.25rem; /* Matches fs-5 */
    }
}

@media (min-width: 768px) {
    .custom-responsive-font {
        font-size: 1.5rem; /* Matches fs-4 */
    }
}

@media (min-width: 992px) {
    .custom-responsive-font {
        font-size: 1.75rem; /* Matches fs-3 */
    }
}

@media (min-width: 1200px) {
    .custom-responsive-font {
        font-size: 2rem; /* Matches fs-2 */
    }
}

@media (min-width: 1400px) {
    .custom-responsive-font {
        font-size: 2.5rem; /* Matches fs-1 */
    }
}

.clean {
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding-left: 10px; /* For better readability */
    padding-right: 30px; /* Space for the icon */
    background: #f9f9f9;
    font-size: 14px;
    cursor: pointer;
    direction: rtl; /* Ensures text is displayed in RTL format */
    text-align: left; /* Aligns text visually */
}

.icon-link {
    font-size: 16px;
    color: #666;
}

.copied {
    font-size: 14px;
    color: #333;
    border-radius: 4px;
}

.form-group {
    text-align: right; /* Aligns the entire group to the right */
}

