
@import "fontiran.css";
@import "bootstrap.css";
@import "all.css";
@import "swiper.min.css";
@import "daterangepicker-bs3.css";
@import "persian-datepicker.min.css";
@import "iranmap.css";
@import "responsive.css";
body {
    font-family: IRANSans !important;
    direction: rtl;
    text-align: right;
    font-size: 14px;
    color: #4A4A4A;
    background: white;
    scrollbar-width: thin;
}

html {
    scrollbar-width: thin !important;
    scrollbar-color: #ddd #F6F5FF;
}

body::-webkit-scrollbar {
    width: 7px;
}


/* Only Chrome */

 ::-webkit-scrollbar {
    width: 7px;
}

 ::-webkit-scrollbar:horizontal {
    height: 7px;
}

 ::-webkit-scrollbar-thumb {
    min-height: 10px !important;
}

 ::-webkit-scrollbar-track-piece {
    background-color: #F6F5FF;
}

 ::-webkit-scrollbar-thumb {
    background-color: #ddd;
}

input:focus {
    box-shadow: none !important;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    direction: rtl !important;
    text-align: right !important;
    font-size: 14px;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    direction: rtl !important;
    text-align: right !important;
    font-size: 14px;
}

::-moz-placeholder {
    direction: rtl !important;
    text-align: right !important;
    font-size: 14px;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    direction: rtl !important;
    text-align: right !important;
    font-size: 14px;
}

a:hover {
    text-decoration: none;
}

.btn:focus {
    box-shadow: none !important;
}

button:focus,
a:focus,
select:focus {
    outline: none !important;
}

.orange-color {
    color: #fe943e !important;
}

.orange-hover:hover {
    color: rgb(250, 121, 15) !important;
    transition-duration: 0.2s;
}

.orange-color:hover {
    color: rgb(250, 121, 15) !important;
    transition-duration: 0.2s;
}

.orange-border {
    border: 1px solid #fe943e
}

.orange-bg {
    background: #fe943e;
}

.orange-bg:hover {
    background: rgb(250, 121, 15) !important;
    transition-duration: 0.2s;
}

.red-color {
    color: #ee3c4c;
}

.red-border {
    border: 1px solid #ee3c4c;
}

.red-hover:hover {
    color: #ec2334 !important;
    transition-duration: 0.2s;
}

.red-bg {
    background: #ee3c4c;
}

.red-bg:hover {
    background: #e42535 !important;
    transition-duration: 0.2s;
}

.blue-color {
    color: #0588fc;
}

.blue-hover:hover {
    color: #0588fc !important;
    transition-duration: 0.2s;
}

.blue-border {
    border: 1px solid #0588fc;
}

.blue-bg {
    background: #0588fc;
}

.blue-bg:hover {
    background: #0475d8;
}

.brown-border {
    border: 1px solid #c5a15b
}

.brown-hover:hover {
    color: #c5a15b !important;
    transition-duration: 0.2s;
}

.brown-color {
    color: #c5a15b;
}

.brown-color:hover {
    color: #e8b147 !important;
    transition-duration: 0.2s;
}

.brown-bg {
    background: #c5a15b !important;
}

.brown-bg:hover {
    background: rgb(173, 138, 69) !important;
}

.mt-100 {
    margin-top: 100px;
}

.mt-150 {
    margin-top: 150px;
}

.mb-100 {
    margin-bottom: 100px;
}

.mb-150 {
    margin-bottom: 150px;
}

.header {
    background-color: white;
    min-height: 220px;
}

@media(max-width: 1199px) {
    .header {
        min-height: 150px;
    }
}

.top-header {
    height: 40px;
    text-align: left;
    padding-top: 18px;
    padding-left: 15px;
}

.profile-btn a,
.show-cart-btn a {
    color: #1d2124;
}

.top-header svg {
    font-size: 17px;
}

.bg-border-bottom-orange {
    height: 2px;
    background-image: linear-gradient(to right, #eee 44%, #feb060 46%);
}

.bg-border-bottom-blue {
    height: 2px;
    background-image: linear-gradient(to right, #eee 44%, #0588fc 46%);
}

.bg-border-bottom-red {
    height: 2px;
    background-image: linear-gradient(to right, #eee 44%, #ee3c4c 46%);
}

.bg-border-bottom-brown {
    height: 2px;
    background-image: linear-gradient(to right, #eee 44%, #c5a15b 46%);
}

.menu .navbar .nav-link {
    color: black;
    text-align: center;
    letter-spacing: -1px;
    font-size: 16px;
    margin-right: 10px;
}

.menu .dropdown-toggle::after {
    display: none;
}

.menu .nav-item .nav-link svg {
    font-size: 10px;
    position: absolute;
    top: 15px;
    left: -5px;
}

@media(max-width: 1199px) {
    .menu .nav-item .nav-link svg {
        font-size: 12px;
        left: 5px;
    }
}

.menu .dropdown-menu {
    text-align: right;
    border-color: #eee;
    padding-top: 0;
    padding-bottom: 0;
    min-width: 210px;
    font-size: 14px;
    line-height: 35px;
}

.menu .dropdown-menu .dropdown-divider {
    margin: 0 !important;
}

.menu .dropdown-menu a:hover {
    background: #f7f7f7;
    transition-duration: 0.2s;
}

.main-slider {
    position: relative;
}

.main-slider .swiper-slide img {
    width: 100%;
    max-height: 440px;
}

.fazel {
    margin-top: 90px;
}

.fazel-box {
    background: white;
    border: 1px solid #eee;
    border-radius: 5px;
    height: 160px;
    margin-bottom: 60px;
}

.fazel-box-circle {
    width: 115px;
    height: 115px;
    border-radius: 100%;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -55px);
    border: 1px solid #eee;
    background: white;
    line-height: 108px;
}

.fazel-box h3 {
    text-align: center;
    margin-top: 90px;
    margin-bottom: 10px;
    font-size: 24px;
    color: black;
    letter-spacing: -0.5px;
}

.departman {
    margin-bottom: 30px;
}

.departman-box {
    background: white;
    padding-bottom: 15px;
    overflow: hidden;
}

.departman-img img {
    border-radius: 5px;
    max-height: 250px;
}

.departman-img img:hover {
    opacity: 0.8;
    transition-duration: 0.2s;
}

.departman-title {
    letter-spacing: -1.2px;
}

.news {
    background: #222a35;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
}

.news-tabs {
    padding-right: 0;
    border-bottom: 0;
}

.news-tabs li a {
    color: black;
    background: white;
    padding: 2px 8px;
    margin: 2px;
    border-radius: 5px;
    border: none !important;
}

.news .tab-content {
    letter-spacing: -0.5px;
}

.orange .news-tabs li .nav-link.active {
    background: #fe943e !important;
    color: white !important;
}

.blue .news-tabs li .nav-link.active {
    background: #0588fc !important;
    color: white !important;
}

.red .news-tabs li .nav-link.active {
    background: #ee3c4c !important;
    color: white !important;
}

.brown .news-tabs li .nav-link.active {
    background: #c5a15b !important;
    color: white !important;
}

.news-rows {
    text-align: justify;
}

.news-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
}

.news .next-btn,
.news .prev-btn {
    padding: 3px 8px;
    background: white;
}

.news .next-btn:hover,
.news .prev-btn:hover {
    background: #ffffff38 !important;
    color: white !important;
    transition-duration: 0.2s;
}

.news .next-btn svg,
.news .prev-btn svg {
    vertical-align: middle;
}

.news .pagination-chevron {
    background: white;
    color: #222a35;
    border-radius: 5px;
    text-align: center;
    width: 40px;
    overflow: hidden;
    height: 20px;
}

.news .pagination-chevron li {
    margin-right: 0 !important;
    width: 45%;
    background: white;
}

.news .pagination-chevron li svg {
    font-size: 11px;
}

.news .page-number {
    border: 1px solid white;
    border-radius: 5px;
    width: 35px;
    text-align: center;
    height: 18px;
}

.news-has-icon {
    position: relative;
    margin-bottom: 10px;
}

.news-rows a {
    display: block;
    color: white;
    margin-bottom: 10px;
}

.news-rows a svg {
    vertical-align: middle;
}

.orange .news-rows a:hover {
    color: #fdaf5d !important;
    transition: 0.2s;
}

.blue .news-rows a:hover {
    color: #0588fc !important;
    transition: 0.2s;
}

.red .news-rows a:hover {
    color: #ee3c4c !important;
    transition: 0.2s;
}

.brown .news-rows a:hover {
    color: #c5a15b !important;
    transition: 0.2s;
}

.news-has-icon svg {
    font-size: 35px;
}

.news-box {
    height: 380px;
    overflow-y: auto;
}

.news-border-left {
    border-left: 1px solid #ffffff3b
}

.point-of-view {
    padding-top: 100px;
    background: white;
    padding-bottom: 100px;
}

.view-img-box {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    text-align: center;
    line-height: 97px;
    border: 1px solid #eee;
}

.view-count span {
    font-size: 28px;
    font-weight: bold;
    color: black;
}

.view-count svg {
    font-size: 20px;
}

.view-title {
    color: black;
    font-size: 19px;
    margin-top: 5px;
}

.courses {
    background: white;
}

.course-tabs {
    padding-right: 0;
    border-bottom: 0;
}

.course-tabs li a {
    color: black;
    background: white;
    padding: 2px 10px;
    margin: 2px;
    border-radius: 5px;
}

.course-tabs li a:hover {
    background-color: #f7f7f7 !important;
    transition-duration: 0.2s;
}

.orange .course-tabs li a {
    border: 1px solid #fe943e !important;
}

.orange .course-tabs li .nav-link.active {
    background: #fe943e !important;
    color: white !important;
}

.blue .course-tabs li a {
    border: 1px solid #0588fc !important;
}

.red .course-tabs li a {
    border: 1px solid #ee3c4c !important;
}

.red .course-tabs li .nav-link.active {
    background: #ee3c4c !important;
    color: white !important;
}

.blue .course-tabs li .nav-link.active {
    background: #0588fc !important;
    color: white !important;
}

.brown .course-tabs li a {
    border: 1px solid #c5a15b !important;
}

.brown .course-tabs li .nav-link.active {
    background: #c5a15b !important;
    color: white !important;
}

.courses-border-bottom-orange {
    height: 2px;
    background-image: linear-gradient(to right, #eee 82%, #feb060 15%);
    width: 63%;
    margin-bottom: 10px;
}

.courses-border-bottom-blue {
    height: 2px;
    background-image: linear-gradient(to right, #eee 82%, #0588fc 15%);
    width: 59.4%;
    margin-bottom: 10px;
}

.courses-border-bottom-red {
    height: 2px;
    background-image: linear-gradient(to right, #eee 82%, #ee3c4c 15%);
    width: 59.4%;
    margin-bottom: 10px;
}

.courses-border-bottom-brown {
    height: 2px;
    background-image: linear-gradient(to right, #eee 82%, #c5a15b 15%);
    width: 59.4%;
    margin-bottom: 10px;
}

.departman-border-orange {
    height: 2px;
    background-image: linear-gradient(to right, #eee 83%, #feb060 15%);
    width: 100%;
    margin-bottom: 10px;
}

.departman-border-brown {
    height: 2px;
    background-image: linear-gradient(to right, #eee 86%, #c5a15b 15%);
    width: 100%;
    margin-bottom: 10px;
}

.departman-border-blue {
    height: 2px;
    background-image: linear-gradient(to right, #eee 83%, #0588fc 15%);
    width: 100%;
    margin-bottom: 10px;
}

.departman-border-red {
    height: 2px;
    background-image: linear-gradient(to right, #eee 83%, #ee3c4c 15%);
    width: 100%;
    margin-bottom: 10px;
}

.course-title {
    color: black;
}

.course-box .enrol-btn {
    color: white;
    padding: 1px 30px 3px 30px;
    z-index: 2;
    position: relative;
    width: 170px;
}

.course-img img {
    border-radius: 5px 5px 0 0;
    max-height: 250px;
    width: 100%;
}

.course-box-content {
    padding-bottom: 15px;
    border-radius: 0 0 5px 5px;
    border-top: 0;
    padding: 15px 10px 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 160px;
    justify-content: space-between;
    border-radius: 0 0 15px 15px;
    -webkit-border-radius: 0 0 15px 15px;
    -moz-border-radius: 0 0 15px 15px;
    -ms-border-radius: 0 0 15px 15px;
    -o-border-radius: 0 0 15px 15px;
}

@media(max-width: 575px) {
    .course-box-content {
        height: auto;
        min-height: 160px;
    }
}

.course-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #222a35;
    color: white;
    top: 0;
    right: 0;
    border-radius: 5px;
    display: none;
}

.course-pagination {
    margin-top: 60px;
    padding-bottom: 30px;
    position: relative;
}

.course-pagination .next-btn,
.course-pagination .prev-btn {
    padding: 3px 8px;
    background: #222a35;
    color: white;
}

.course-pagination .next-btn:hover,
.course-pagination .prev-btn:hover {
    background: #535961 !important;
    color: white !important;
    transition-duration: 0.2s;
}

.course-pagination .next-btn svg,
.course-pagination .prev-btn svg {
    vertical-align: middle;
}

.course-pagination .pagination-chevron {
    background: #222a35;
    color: white;
    border-radius: 5px;
    text-align: center;
    width: 40px;
    overflow: hidden;
    height: 20px;
}

.course-pagination .pagination-chevron li {
    margin-right: 0 !important;
    width: 42%;
    background: #222a35;
}

.course-pagination .pagination-chevron li svg {
    font-size: 12px;
}

.course-pagination .pagination-chevron li:hover {
    background: #535961 !important;
    color: white !important;
    transition-duration: 0.2s;
}

.course-pagination .page-number {
    border: 1px solid #222a35;
    border-radius: 5px;
    width: 35px;
    text-align: center;
    height: 18px;
    line-height: 17px;
}

.course-pagination .d-inline-flex {
    position: absolute;
    right: 15px;
    top: 0;
}


/* .search-icon,
.close-search {
    position: absolute;
    right: 0;
    top: 8px;
    font-size: 15px;
} */

.orange-navbar-toggler {
    border: 1px solid #fdaf5d;
    padding: 3px 6px;
    background: #fdaf5d;
}

.blue-navbar-toggler {
    border: 1px solid #0588fc;
    padding: 3px 6px;
    background: #0588fc;
}

.red-navbar-toggler {
    border: 1px solid #ee3c4c;
    padding: 3px 6px;
    background: #ee3c4c;
}

.brown-navbar-toggler {
    border: 1px solid #c5a15b;
    padding: 3px 6px;
    background: #c5a15b;
}

.navbar-toggler-icon {
    line-height: 27px;
    font-size: 15px;
}

.navbar-toggler-icon svg {
    color: #fff;
}

.menu-title {
    position: absolute;
    right: 60px;
    top: 8px;
    display: none;
}

.main-slider .swiper-pagination {
    width: 70%;
    bottom: 15px;
}

.main-slider .swiper-pagination-bullet-active {
    background: white !important;
}

.main-slider .swiper-pagination-bullet {
    border: 1.8px solid white !important;
    opacity: 1;
    background: none;
    width: 12px;
    height: 12px;
}

.footer {
    font-size: 17px;
    padding-bottom: 15px;
    margin-top: 50px;
}

.address-box {
    padding-top: 50px;
}

.footer-title-border-orange {
    height: 2px;
    background-image: linear-gradient(to right, #eee 87%, #feb060 46%);
    margin-top: 10px;
}

.footer-title-border-blue {
    height: 2px;
    background-image: linear-gradient(to right, #eee 87%, #0588fc 46%);
    margin-top: 10px;
}

.footer-title-border-blue {
    height: 2px;
    background-image: linear-gradient(to right, #eee 87%, #ee3c4c 46%);
    margin-top: 10px;
}

.footer-title-border-brown {
    height: 2px;
    background-image: linear-gradient(to right, #eee 87%, #c5a15b 46%);
    margin-top: 10px;
}

.footer .phone-box {
    display: flex;
    justify-content: space-between;
}

.social-box .social-item {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 100%;
    text-align: center;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-box .social-item:hover {
    background: linear-gradient(#feb251, #d9236d, #9630b8);
    transition-delay: 0.2s;
}

.social-box .social-item:hover svg {
    color: white !important;
}

.social-box .social-item svg {
    font-size: 18px;
    margin-top: 10px;
    color: #8d8d8d
}

.social-box .telegram {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 100%;
    text-align: center;
    margin: 5px;
}

.social-box .telegram:hover {
    background: #0f8ae2;
}

.social-box .telegram:hover svg {
    color: white !important;
}

.social-box .telegram svg {
    font-size: 18px;
    margin-top: 10px;
    color: #8d8d8d
}

.contact-us .form-control {
    border-color: #eee;
}

.submit-btn {
    color: white;
    float: left;
    margin-top: 10px;
    padding: 6px 35px;
}

#map {
    width: 100%;
    height: 545px;
}

.news-img {
    max-height: 500px;
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.video-box img {
    width: 100%;
    max-height: 400px;
}

.text-on-video {
    color: white;
    height: 40px;
    text-align: center;
    position: absolute;
    width: 100%;
    right: 0;
    bottom: 0;
    line-height: 38px;
    z-index: 2;
    border-radius: 0 0 5px 5px;
}

.text-on-video-brown {
    background: #c5a15bb3;
}

.text-on-video-blue {
    background: #0588fc9e;
}

.text-on-video-red {
    background: #ee3c4ca8;
}

.text-on-video-orange {
    background: #fe943e9e;
}

.video-stop {
    position: absolute;
    width: 100%;
    right: 0;
    top: 0;
    background: #00000059;
    height: 100%;
    text-align: center;
    border-radius: 5px;
}

.play-icon {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    line-height: 60px;
    z-index: 2;
    padding-left: 4px;
    cursor: pointer;
}

.play-icon-red {
    background: #ee3c4c;
}

.play-icon-red:hover {
    background: #e42535;
}

.play-icon-brown {
    background: #c5a15b;
}

.play-icon-brown:hover {
    background: #dbad50;
}

.play-icon-blue {
    background: #0588fc;
}

.play-icon-blue:hover {
    background: #047ae2;
}

.play-icon-orange {
    background: #fe943e;
}

.play-icon-orange:hover {
    background: rgb(250, 121, 15) !important;
    transition: 0.2s;
}

.categories .navbar .card {
    border: none;
}

.categories .navbar .card-header {
    background: #222a35;
    color: white;
}

.categories .navbar .card-body {
    background: #f7f7f7;
    padding: 10px;
}

.categories .navbar .card-header svg {
    vertical-align: middle;
}

.categories .navbar {
    padding-left: 0;
}

.navbar.nav-category {
    padding-top: 16px;
}

.nav-category li {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.nav-category li:last-child {
    border-bottom: 0 !important;
}

.nav-category li .nav-link {
    background: none !important;
    color: #000000d1 !important;
    padding-right: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.brown .nav-category li .nav-link:hover {
    color: #c5a15b !important;
}

.brown .nav-category li .nav-link.active {
    color: #c5a15b !important;
    transition-duration: 0.2s;
}

.blue .nav-category li .nav-link.active {
    color: #0588fc !important;
    transition-duration: 0.2s;
}

.blue .nav-category li .nav-link:hover {
    color: #0588fc !important;
}

.red .nav-category li .nav-link.active {
    color: #ee3c4c !important;
    transition-duration: 0.2s;
}

.red .nav-category li .nav-link:hover {
    color: #ee3c4c !important;
}

.orange .nav-category li .nav-link.active {
    color: #fe943e !important;
    transition-duration: 0.2s;
}

.orange .nav-category li .nav-link:hover {
    color: #fe943e !important;
}

.nav-category li .nav-link svg {
    color: #7d7d7d;
    font-size: 20px;
    vertical-align: middle;
    margin-left: 10px;
}

.educational-calendar img {
    max-height: 550px;
}

.related-to-right-link {
    font-size: 16px;
}

.nav-category .navbar-toggler {
    display: none !important;
}

.nav-category .navbar-collapse {
    display: block !important;
}

.tab-content-font {
    font-size: 16px;
}

.table-place {
    min-height: 425px;
}

.category-picture {
    position: absolute;
    left: 0;
    bottom: 1px;
}

.chevron-category {
    font-size: 10px !important
}

.togglesearch {
    position: absolute;
    top: 40px;
    right: -18px;
    width: 350px;
    border-top: 4px solid #ddd;
    border-radius: 5px;
    z-index: 2;
    display: none;
}

.togglesearch .input-group {
    border: 1px solid #eee;
}

.togglesearch:before {
    content: "";
    position: absolute;
    top: -24px;
    right: 17px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid transparent;
    border-bottom: 10px solid #ddd;
}

.togglesearch input[type="text"] {
    padding: 5px 10px;
    border: none;
    border-radius: 0;
}

.togglesearch .btn {
    border-radius: 0;
    background-color: #f7f7f7;
}

.togglesearch .btn:hover,
.large-search .btn:hover {
    background-color: #f7f7f79d;
    transition-duration: 0.2s;
}

.close-search {
    display: none;
}

.large-search {
    display: none;
    margin-right: 0;
    margin-bottom: 20px;
    margin-top: 20px;
    direction: rtl;
}

.large-search .btn {
    background-color: #f7f7f7;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-search .input-group {
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.large-search input {
    border: none;
}

.read-more-box ul li a:hover {
    color: #fe943e !important;
    transition-duration: 0.2s;
}

.read-more-box ul li {
    margin-bottom: 10px;
}

.news-date {
    font-size: 14px;
}

.news-content {
    line-height: 22px;
}

.border-bottom-orange {
    border-bottom: 2px solid #fe943e;
    ;
}

.tag-label {
    background: #fe943e;
    color: white;
    padding: 3px 10px;
}

.tags a {
    padding: 3px 10px;
    color: white;
    background: #ccc;
}

.tags a:hover {
    background: rgb(161, 161, 161);
    transition-duration: 0.2s;
}

#comment {
    height: 200px;
    resize: none;
}

.custom-control-label::before,
.custom-control-label::after {
    right: 0;
    left: auto !important;
    top: 2px !important;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: #fe943e !important;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: none !important;
}

.last-news-box {
    padding: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.last-news-box:hover {
    background: #fbfbfb !important;
    transition: 0.2s;
}

.last-news-box:hover a {
    color: #fe943e !important;
    transition-duration: 0.2s;
}

.last-news-box .media-header img {
    width: 70px;
    height: 70px;
    margin-left: 15px;
}

.last-news-box .media {
    font-size: 13px;
}

.last-news .card-body {
    padding: 0 !important;
}

.last-news .card {
    border: none;
    background: #fdfdfd;
}

.comments-section .media {
    border-bottom: 1px solid #f7f7f7;
    margin-bottom: 20px;
}

.comments-section .media-header img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
}

.comments-section .media-body {
    margin-top: 4px;
}

.comment-content {
    margin-top: 20px;
}

.show-comment-btn {
    background: #fbfbfb;
    border: 1px solid #f7f7f7;
}

.show-comment-btn:hover {
    background: #f7f7f7;
    transition-duration: 0.2s;
}

.comments-section {
    display: none;
}

sup {
    color: #fd790f;
    font-size: 17px;
}

.form-table input {
    font-size: 13px;
    margin: 0 auto;
}

.form-table tr td {
    text-align: center;
}

.form-table .custom-control {
    padding-left: 0;
    margin: 0 auto;
}

.w-50 {
    width: 50px !important;
}

.checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 0;
    left: 50%;
    height: 20px;
    width: 20px;
    background-color: white;
    transform: translate(-50%, 0);
    border-radius: 3px;
    border: 1px solid #eee;
}


/* On mouse-over, add a grey background color */

.checkbox:hover input~.checkmark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

.checkbox input:checked~.checkmark {
    background-color: #feb060;
    border: none !important;
}


/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.checkbox input:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 7px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.datepicker-plot-area .datepicker-day-view .table-days {
    position: absolute;
    top: 65px;
    right: 2px;
}

.no-resize {
    resize: none;
}

.post-title {
    font-size: 18px;
}

.post-content {
    text-align: justify;
}

.post-box {
    padding: 20px;
}

.post-box:not(:last-child) {
    border-bottom: 1px solid #f7f7f7;
}

.post-box img {
    border-radius: 5px;
}

.page-item.active .page-link {
    background-color: #fe943e !important;
    border-color: #fe943e !important;
}

.pagination .page-link {
    color: #fe943e;
    border-color: #ececec;
    margin: 1px;
    border-radius: 4px !important;
}

.pagination .page-link:focus {
    box-shadow: none !important;
}

.post-box:hover {
    background: #f9f9f9 !important;
    transition-duration: 0.2s;
}

.post-box:hover .post-title {
    color: #fe943e !important;
    transition-duration: 0.2s;
}

.has-register {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.not-selected-course {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    border: 1px dashed #ddd;
    display: none;
}

.register-side {
    padding-right: 15px;
}

.register-side a:hover {
    color: #fe943e !important;
    transition-duration: 0.2s;
}

.register-side li {
    margin-bottom: 15px;
    position: relative;
}

.register-side li::before {
    content: "\2022";
    color: #fe943e !important;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    font-size: 23px;
    position: absolute;
    right: -15px;
    top: -4px;
}

.card-light .card-body {
    background: #fdfdfd;
}

.course-content {
    background: white;
    position: relative;
    border-radius: 15px 15px 0 0;
    padding: 15px 10px;
}

.course-box {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px -2px #eaeaea;
}

.course-box:hover {
    box-shadow: 0 0 18px 2px #e1e1e1e0 !important;
}

.course-box:hover .course-box-title {
    color: #fe943e !important;
}

.course-box:hover .course-box-img {
    opacity: 0.9;
}

.course-box-title {
    font-size: 15px;
    color: black;
    height: 38px;
    margin-bottom: 0;
    text-align: center;
}

.course-box-footer {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.course-box-duration svg {
    color: #cecece;
}

.course-box-price {
    color: #1ac252;
    font-size: 15px;
    font-weight: bold;
}

.course-box-img img {
    width: 100%;
    max-height: 200px;
}

.related-course-box .media-header img {
    width: auto;
    height: 100px;
}

.related-course-box .media {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.show-course-price {
    color: #1ac252;
    font-size: 20px;
    font-weight: bold;
}

.show-course-side {
    padding-right: 25px;
}

.show-course-side li {
    position: relative;
    margin-bottom: 15px;
}

.show-course-side li::before {
    content: "\2713";
    color: #fe943e !important;
    font-weight: bold;
    display: inline-block;
    font-size: 23px;
    position: absolute;
    right: -25px;
    top: -4px;
}

.course-subjects {
    padding-right: 0;
}

.course-subjects li {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-right: 5px;
    border-bottom: 1px solid #f7f7f7;
    color: #aaa;
    height: 45px;
    line-height: 45px;
    padding-right: 35px;
}

.course-subjects li:hover {
    background: #fdfdfd;
    cursor: pointer;
}

.course-subjects li:before {
    content: "\2611";
    color: #fe943e !important;
    display: inline-block;
    font-size: 23px;
    position: absolute;
    right: 0px;
    top: 3px;
}

.course-active {
    color: black !important;
}

.top-header {
    position: relative;
}

.top-header:after {
    content: "";
    width: calc(100% - 35px);
    position: absolute;
    height: 2px;
    background-image: linear-gradient(to right, #eee 44%, #feb060 46%);
    bottom: -10px;
    left: 0;
}

.top-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.top-header-links li {
    margin-left: 10px;
    margin-right: 0;
}

.top-header-links li:not(:last-child) {
    margin-right: 0 !important;
}

.top-header-links svg {
    margin-left: 5px;
}

@media(max-width: 767px) {
    .top-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        padding-left: 0;
    }
    .top-header-links {
        margin-bottom: 15px !important;
        padding-right: 0;
    }
    .top-header:after {
        display: none;
    }
    .top-header-icons {
        padding-right: 0;
        margin-right: auto;
        padding-left: 10px;
    }
    .logo {
        margin-top: 50px;
    }
}

.logo {
    width: 145px;
    height: 70px;
    margin-right: 70px;
    margin-bottom: 10px;
    display: inline-block;
}

@media(max-width: 1199px) {
    .logo {
        margin-right: 0;
    }
}

.logo a {
    display: block;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 1199px) {
    .menu .navbar-toggler {
        position: absolute;
        top: -60px;
        left: 10px;
        cursor: pointer;
    }
}

.menu .navbar-nav {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.menu .navbar-nav .nav-item {
    width: auto !important;
}

@media(max-width: 1199px) {
    .menu .navbar-collapse {
        position: fixed !important;
        width: 320px;
        top: 0;
        z-index: 9999;
        right: 0;
        background: white;
        padding: 0 20px;
        height: 100%;
        overflow-y: auto;
        //display: block !important;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transition: 0.3s;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -ms-transition: 0.3s;
        -o-transition: 0.3s;
        padding-bottom: 50px;
        direction: ltr;
    }
    .menu .navbar-collapse.open {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }
    .menu .navbar-nav {
        padding-right: 0;
    }
    .menu .navbar-nav .nav-item {
        width: 100% !important;
    }
    .menu .navbar .nav-link {
        letter-spacing: 0;
    }
}
.nav-link{
	cursor: pointer;
}

.sidebar-drag {
    position: fixed;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9000;
    display: none;
}

@media(min-width: 1199px) {
    .sidebar-drag {
        display: none !important;
    }
}

.plan-tabs .nav-tabs {
    padding-right: 0;
    border: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 15px;
}

.course-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 15px;
}

.plan-tabs .tab-content {
    padding-top: 30px;
}

.plan-tabs .nav-tabs .nav-item:not(:last-child) {
    margin-left: 10px;
}

.plan-tabs .nav-tabs .nav-item {
    min-width: 150px;
    width: 150px;
}

.course-tabs .nav-item {
    min-width: max-content;
    width: max-content;
}

.course-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-tabs .nav-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #f7f7f7;
    color: black;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    height: 49px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.plan-tabs .nav-tabs .nav-link.active {
    background: #fe943e !important;
    color: white !important;
}

textarea {
    box-shadow: none !important;
}

.image-parent {
    display: block;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.image-parent::after {
    content: "";
    display: block;
    padding-top: 30%;
}

.image-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-on-slider h2,
.text-on-slider h4 {
    font-size: 1.5vw;
}

.news-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
}

.news-tabs .nav-item {
    min-width: max-content;
    width: max-content;
}

.flex{
    display: flex;
}

        .image-container {
            position: relative;
            display: inline-block;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(0, 0, 0, 0.5);
            opacity: 0;
            border-radius: 8px;
            transition: opacity 0.5s;
        }

        .overlay:hover {
            opacity: 1;
        }

        .overlay-content {
            text-align: center;
        }

        .overlay button {
            color: white;
            font-size: 14px;
            border: none;
            cursor: pointer;
            padding: 8px 18px;
            transition: background-color .5s;
            margin: 5px;
            background-color: rgba(0, 0, 0, 0.8);
            border-radius: 8px;
        }

        .overlay button:hover {
            color: black;
            background-color: rgba(255, 255, 255, 0.8);
        }
    .custom-pagination .page-item {
            margin: 0 5px;
        }

        .custom-pagination .page-link {
            color: #007bff;
            background-color: #fff;
            border: 1px solid #dee2e6;
            border-radius: 0.25rem;
        }

        .custom-pagination .page-item.disabled .page-link {
            color: #6c757d;
            pointer-events: none;
            background-color: #fff;
            border-color: #dee2e6;
        }

        .custom-pagination .page-item.active .page-link {
            z-index: 1;
            color: #fff;
            background-color: #007bff;
            border-color: #007bff;
        }

        .custom-pagination .page-link:hover {
            color: #0056b3;
            background-color: #e9ecef;
            border-color: #dee2e6;
        }

        .pagination-container {
            width: 100%;
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }

    .messenger-float {
        position: fixed;
        bottom: 20px;
        z-index: 999;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .messenger-float img {
        width: 30px;
        height: 30px;
    }

    .messenger-float:hover {
        transform: scale(1.1);
    }

    .messenger-float.whatsapp {
        right: 20px;
        background-color: #25D366;
    }

    .messenger-float.telegram {
        right: 90px;
        background-color: #0088cc;
    }

.fazel > .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}


#chat-box {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
}

#chat-box::-webkit-scrollbar {
    width: 6px;
}

#chat-box::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.chat-message {
    max-width: 75%;
    padding: 10px 14px;
    margin: 8px 0;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.chat-message.user {
    background-color: #dcf8c6;
    align-self: flex-start;
    text-align: right;
}

.chat-message.admin {
    background-color: #f1f0f0;
    align-self: flex-end;
    text-align: left;
}

.chat-message:hover {
    background-color: #eaeaea;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: default;
}



.messenger-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    margin-left: 60px;
    transition: all 0.3s ease;
}

.messenger-float img {
    width: 24px;
    height: 24px;
}

.online-chat {
    background-color: #fe943e;
    color: #fff;
    font-size: 20px;
    right: 20px;
    position: fixed;
}

.online-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}


.chat-message {
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.text-on-slider {
    position: absolute;
    bottom: 70px;
    right: 60px;
    background-color: black;
    border-radius: 10px;
    color: white;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    opacity: 0.6;
}

.hidden {
    display: none !important;
}

.map_canvas {
    overflow: hidden;
    background: none !important;
    height: 600px;
    width: 100%;
    position: relative;
}

.map_canvas:hover .map_overlay {
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: all 1s translate(0px, 100px);
}

.map_overlay {
    position: absolute;
    top: 0px;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 0%;
    background-color: rgba(255, 255, 255, 0.85);
    opacity: 1;
    transition: all 1s ease-in-out;
}

.no_scroll {
    pointer-events: none;
}

.self-center {
    align-self: center;
    text-align: center;
    font-size: 1.5rem; /* 24px */
    line-height: 2rem;
    cursor: grab;
    margin-bottom: 30px;
}

.chat-message { position: relative; padding: 6px 10px; border-radius: 6px; margin-bottom: 6px; }
.chat-message.user   { background: #f3f6ff; }
.chat-message.admin  { background: #f8f9fa; }

.chat-message.user .edit-btn {
    display: none;
    position: absolute;
    top: 4px;
    left: 6px; /* RTL: کنار چپ بهتر دم‌دست کاربره */
    font-size: 12px;
    line-height: 1;
    padding: 4px 6px;
    background: #e9eefc;
    border: 1px solid #cfd8ff;
    border-radius: 4px;
    cursor: pointer;
}

.chat-message.user:hover .msg-text {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.chat-message.user .message-actions button {
    background-color: #fe943e;
    color: #fff;
    border: none;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s ease;
}

.chat-message.user .message-actions button:hover {
    background-color: #e17f2d;
}

#chat-form .btn.btn-success.btn-block.mt-2 {
    background-color: #fe943e !important;
    border-color: #fe943e !important;
}
#chat-form .btn.btn-success.btn-block.mt-2:hover {
    background-color: #e17f2d !important;
    border-color: #e17f2d !important;
}

.chat-message.user:hover .message-actions {
    display: flex;
}

.chat-message.user:hover .edit-btn { display: inline-flex; }

.chat-message.user .message-actions {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 8px;
    z-index: 2;
}

.chat-edit-form { margin-top: 6px; }
.chat-edit-form textarea {
    width: 100%;
    min-height: 70px;
    resize: vertical;
}
.chat-edit-actions { display: flex; gap: 8px; margin-top: 6px; }
.chat-edit-save, .chat-edit-cancel {
    padding: 6px 10px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;
}
.chat-edit-save {
    background: #fe943e;
    color: #fff;
    border-color: #fe943e;
}
.chat-edit-save:hover {
    background: #e17f2d;
    border-color: #e17f2d;
}
.chat-edit-cancel { background: #fff; }

