/*ELEMENT STYLE START*/

body {
    background-color: var(--backgray);
    padding: 0 !important;
    margin: 0 !important;
}

.full-anim .modal {
    backdrop-filter: blur(14px) !important;
}

html {
    overflow-y: scroll;
}

main.main {
    margin-top: 10.5rem;
}

.main {
    min-height: calc(100vh - 493px);
}

img {
    outline: unset !important;
}

video {
    background-color: #000;
}

span {
    vertical-align: middle;
}

i {
    vertical-align: middle !important;
}

button {
    outline: none;
    border: none;
}

button:focus {
    outline: none !important;
}

hr {
    border-top: 0.5px solid var(--bordergray);
}

a {
    color: inherit;
}

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

a:hover {
    color: unset;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ELEMENT STYLE END */


/* MAIN CLASS START */

.list-view .pager {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
}

.btn-check:focus + .btn, .dropdown-toggle.btn:focus {
    box-shadow: unset !important;
}

.btn-group.open .dropdown-toggle {
    box-shadow: unset !important;

}

.main > .overlay {
    position: fixed;
    right: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
    width: 100%;
    height: 100%;
    display: none;
}

.ERPnum {
    font-family: ERPx-FaNum;
}

.white {
    color: #ffff;
}

.title {
    color: var(--blackgray);
    /* color: rgba(51, 65, 85, 1); */
    margin: 0 0 20px 0;
    text-align: right;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: end;
}

.title::before {
    content: "";
    background-image: url(../../assets/img/svg/4dot.svg);
    /*height: 4.7rem;*/
    /*width: 2.3rem;*/
    height: 3.7rem;
    width: 1.7rem;
    background-size: contain;
    display: inline-flex;
    transform: translateY(0.6rem);
    background-repeat: no-repeat;
    margin-left: 0.7rem;
}

.sp_background {
    border-radius: var(--border-sm) !important;
    background-color: #ffff;
    box-shadow: var(--mainshadow);
}

.text-ellipsis {
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nowrap {
    white-space: nowrap;
}

.cr-pointer {
    cursor: pointer;
}

.sp_card {
    width: 285px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.12); */
    bottom: 0;
}

.sp_card .content {
    padding: 2rem 1.8rem;
}


.bold {
    font-weight: bold;
}

.headline {
    color: var(--blackgray);
    margin: 0 0 2rem 0;
    text-align: right;
    font-size: 2.5rem;
}

.border {
    border: 1px solid var(--bordergray) !important;
}

.border-b {
    border-bottom: 1px solid var(--bordergray);
}

.border-t {
    border-top: 1px solid var(--bordergray);
}

.border-l {
    border-left: 1px solid var(--bordergray);
}

.border-r {
    border-right: 1px solid var(--bordergray);
}

.border-sm {
    border-radius: var(--border-sm);
}

.border-md {
    border-radius: var(--border-sm);
}

.border-lg {
    border-radius: var(--border-sm);
}

.content-left {
    width: 25%;
}

.content-right {
    border-radius: var(--border-sm) !important;
    width: 72%;
}

.content-right-sp {
    background-color: #ffff !important;
    box-shadow: var(--mainshadow);
    border-radius: var(--border-sm) !important;

}

.mb-9 {
    margin-bottom: 9rem !important;
}


.curve-btn {
    background-image: url("../img/svg/curve-btn.svg");
    mask-image: url("../img/svg/curve-btn.svg");
    mask-size: 100%;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("../img/svg/curve-btn.svg");
    -webkit-mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    position: relative;
}

.img-fit {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.unset {
    all: unset;
}

/* MAIN CLASS END */


/* NAVBAR START */

.header .navbar {
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.72);
    box-shadow: var(--mainshadow);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    cursor: pointer !important;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    background-color: unset !important;
}


.center-nav.nav > li > a {
    position: relative;
}

.center-nav.nav > li > a::before {
    background: var(--themecolor);
    bottom: 0;
    content: "";
    height: 3px;
    right: 50%;
    transform: translateX(50%);
    position: absolute;
    width: 0;
    transition: all 0.3s ease-in;
}

.center-nav.nav > li:hover > a::before {
    width: 100%;
}


.map iframe {
    width: 100%;
    border: unset;
    height: 33.3rem;
}


.header .dropdown-menu {
    padding: 0 !important;
}

.center-nav {
    display: flex;
    gap: 3rem;
}

.center-nav .open > .dropdown-menu {
    display: unset;
}

.center-nav .dropdown .dropdown-menu {
    display: unset;
}

.center-nav .dropdown .dropdown-menu {
    filter: opacity(0);
    transition: filter 0.1s ease-in-out, top 0.25s ease-in-out;
    visibility: hidden;
    top: 100px;
}

.center-nav .dropdown.open .dropdown-menu {
    filter: opacity(1);
    visibility: unset;
    top: 80px !important;
    border: unset;
}

.navbar-left > li > a {
    padding: 0 !important;
    cursor: pointer;
}

.navbar-left > li > a:hover {
    background-color: inherit !important;
}

.navbar-left > li > a:focus {
    background-color: inherit !important;
}

.navbar a {
    color: black;
}

.navbar .container {
    height: 80px;
}

.navbar .container::before,
.navbar .container::after {
    content: none;
}

.navbar-brand img {
    max-height: 64px;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: unset !important;
    color: var(--themecolor) !important;
}

.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
    margin: 0;
}

.navbar-nav > li > a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 1.5rem;
    font-weight: 400;
}

.navbar-nav > li > .header .dropdown-menu {
    margin-top: 9px !important;
}

.navbar-nav > li > .dropdown-menu {
    margin-top: -1px;
}

.header .dropdown-menu {
    width: 100vw !important;
    height: auto;
    position: fixed !important;
    border-radius: 0;
    margin: 0 !important;
}

.nav > li > a:hover,
.nav > li > a:focus {
    transition: all 0.25s;
}

.schools {
    position: relative;
}

.grade-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in;

}

.grade-btn i {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
    background: aquamarine;

}

.grade-btn img {
    transition: .25s ease-in-out;
}

.grade-btn:hover img {
    transform: scale(1.1);
}


.grade-btn .curve-btn {
    width: 9rem !important;
    height: 9rem !important;
    position: relative;
}

.grade-btn .curve-btn .male-grade {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0.3rem;
    background: #abcfff77;
    transition: .25s ease-in-out;
}

.grade-btn .curve-btn .male-grade:hover {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0.3rem;
    background: #abcfffcc;
}

.grade-btn .curve-btn .female-grade {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0.3rem;
    background: #fac3ffbb;
    transition: .25s ease-in-out;

}

.grade-btn .curve-btn .female-grade:hover {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0.3rem;
    background: #fac3ffff;
}

.grade-btn-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
}

.grade-img {
    background-image: url("/frontend/new_main/assets/img/maghta-mob.png");
    background-size: contain;
    display: block;
    height: 99px;
    position: absolute;
    top: -10px;
    right: 4rem;
    width: 314px;
    filter: invert(0%) sepia(0%) saturate(100%) hue-rotate(11deg) brightness(100%) contrast(100%);
    background-repeat: no-repeat;
}


.grade-img.girl {
    filter: invert(0%) sepia(0%) saturate(98%) hue-rotate(118deg) brightness(108%) contrast(100%);
}

.grade-img:before {
    content: "";
    position: absolute;
    top: -3px;
    right: 26px;
    width: 11rem;
    height: 8rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(29%) sepia(100%) saturate(3231%) hue-rotate(184deg) brightness(93%) contrast(92%);
}

.male-school, .female-school {
    position: relative;
}

.register-btn,
.log-btn {
    font-weight: 500;
    transition: 0.25s ease-in;
}

/*.search-btn {*/
/*    font-size: 2rem;*/
/*    color: var(--themecolor) !important;*/
/*    transform: scale(0.86);*/
/*}*/

.register-btn-r {
    width: 4rem;
    height: 4rem;
    background-color: var(--themebg) !important;
    border-radius: 50%;
    padding: 0 !important;
    display: grid;
    place-content: center;
    border: 1px solid var(--themeborder);
    color: var(--themecolor) !important;
    font-size: 2rem;
}

.search-btn {
    width: 4rem;
    height: 4rem;
    background-color: var(--themebg) !important;
    border-radius: 50%;
    padding: 0 !important;
    display: grid;
    place-content: center;
    border: 1px solid var(--themeborder);
    color: var(--themecolor) !important;
    font-size: 2rem;
}

.log-btn {
    color: white !important;
    background-color: var(--themecolor);
    border-radius: 0.5rem;
    padding: 1rem 3rem;
}

@media only screen and (max-width: 1200px) {
	.register-btn>i {display:none;}
	.register-btn {
		background-image: url('/frontend/new_main/image/reg-mob_2-mini.webp');
		background-size: 38px;
		background-repeat: no-repeat;
	}
}

.register-btn {
    background-color: var(--themebg);
    margin-right: -1.75rem;
    border-radius: 0.5rem;
    color: var(--themecolor) !important;
    padding: 0.9rem 1.8rem;
    border: 1px solid var(--themeborder);
}

.register-btn:hover {
    background-color: var(--themehover);
    color: #ffff !important;
}

.log-btn:hover {
    background-color: var(--themehover);
    /*background-color: rgba(10, 120, 195, 0.8);*/
}

/* مدارس ما */

.slider-nav .carousel-indicators {
    padding: 0;
}

/* درباره ما */

.social-btn {
    list-style: none;
}

.social-btn li {
    font-size: 1.25rem;
    margin-left: 5px;
    text-align: center;
}

.social-btn li a span {
    display: block;
    text-align: center;
    margin-top: 5px;
}

.social-btn li a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 6rem;
    height: 7rem !important;
    border-radius: 1rem;
}

.social-btn li a:hover {
    background-color: #0002;
    transition: all 0.5s;
    transform: scale(1.1);
}

/* مطالب */
.header .dropdown-menu .content-list-box {
    width: 35%;
}

.header .dropdown-menu .content-list li {
    padding: 0.3rem 0;
}

.header .dropdown-menu .content-list li a {
    padding: 0.7rem;
    transition: 0.25s ease-in-out;
    display: block;
    border-radius: var(--border-sm);
}

.header .dropdown-menu .content-list li a:hover {
    background-color: rgba(185, 185, 185, 0.44);
}

.header .dropdown-menu .content-detail {
    width: 5%;
}

.header .dropdown-menu .content-img img {
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(73, 73, 73, 0.4);
    transition: 0.5s;
}

.header .dropdown-menu .content-img img:hover {
    box-shadow: 0 3px 8px -3px;
    transform: scale(1.1);
}

.header .dropdown-menu .left-content {
    /* background-color: #373A4A; */
    background-image: linear-gradient(
            to right,
            #373a4a,
            #394359,
            #374d69,
            #305878,
            #226386
    );
    width: 60%;
}

.header .dropdown-menu .left-content-list li {
    padding: 0.3rem 0;
}

.header .dropdown-menu .left-content-list li a {
    padding: 0.7rem;
    transition: 0.25s ease-in-out;
    display: block;
    border-radius: var(--border-sm);
    color: #f1f1f5 !important;
}

.header .dropdown-menu .left-content-list li a:hover {
    background-color: rgba(185, 185, 185, 0.44) !important;
}

.header .dropdown-menu .content-list li i,
.header .dropdown-menu .left-content-list li i {
    transform: scale(1.123);
}

.course-content,
.experiment,
.forum,
.weblog {
    margin: 8px 0;
}

.last-news {
    position: absolute;
    top: 50%;
    right: 20rem;
    transform: translateY(-50%);
    padding: 1rem 5rem 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease-in-out;
    height: 100%;

}

.last-news .news a {
    border-radius: 0.5rem;
}

.news a {
    background-color: transparent !important;
}

.news a:hover {
    background-color: rgba(185, 185, 185, 0.44);
}

.left-content-list li:hover .last-news {
    opacity: 1 !important;
    visibility: unset !important;
}

#course-content {
    display: none;
}

#experiment {
    display: none;
}

#forum {
    display: none;
}

#weblog {
    display: none;
}

.content-title {
    color: #f1f1f5;
}

.content-title a {
    color: #f1f1f5;
}

.madares {
    text-align: center;
}

.news {
    display: flex;
    align-items: center;
}

.content-title-box img {
    width: 35px;
    height: 35px;
}

.Register span {
    cursor: pointer;

}

.password-page {
    display: none;
}

.max-nav {
    max-height: 34rem;
    overflow: auto;
}

/* NAVBAR END */


/* LOGIN-NOTIF */

.login-notif {
    gap: 1rem;
    position: relative;
}

.login-notif::before {
    content: "";
    display: block;
    background-image: url("../img/svg/bg-user-menu.svg");
    background-size: cover;
    width: 270px;
    height: 14rem;
    position: absolute;
    top: -0.7rem;
    left: -0.7rem;
    z-index: 11;
    filter: drop-shadow(rgba(0, 0, 0, 0.08) 0px 4px 12px);
    opacity: 0;
    transition: 0.25s ease-in-out;
    visibility: hidden;
}

.login-notif::after {
    content: "";
    display: block;
    background-image: url("../img/svg/loginbef.svg");
    background-size: cover;
    width: 176px;
    height: 7rem;
    position: absolute;
    top: -0.5rem;
    left: -5.6px;
}

.sos::before {
    opacity: 1 !important;
    visibility: unset !important;
}

.sos:after {
    opacity: 0;
    visibility: hidden;
}

.sos .login-notif-details {
    opacity: 1 !important;
}

.sos .login-notif-details-header {
    opacity: 1 !important;
    visibility: unset !important;
}

.sos .login-notif-details {
    visibility: unset !important;
}

.login-notif-name:focus .login-notif::before {
    opacity: 1;
}

.sos .login-notif-name {
    transform: translateX(2rem);
}

.login-notif-header {
    gap: .5rem;
    transition: 0.25s ease-in-out;
    cursor: pointer;
    width: 17rem;
    justify-content: end;
}

.login-notif-header img {
    width: 6rem;
    z-index: 111;
}

.login-notif-name {
    transform: translateX(0);
    gap: .5rem;
    cursor: pointer;
    z-index: 1111;
    transition: 0.25s ease-in-out;
}

.login-notif-name span {
    max-width: 8rem;
    min-width: 7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.login-notif-details-header {
    z-index: 11;
    width: 270px;
    left: -0.7rem;
    top: 6.4rem;
    /*background-color: #ffff;*/
    opacity: 0;
    transition: 0.25s ease-in-out;
    color: #fff;
    font-weight: 520;
    filter: drop-shadow(0 0 7px #0772bfaa);
    text-shadow: 0 0 2px #000a;
    visibility: hidden;
}

.login-notif-details-header li {
    padding: 0.5rem 0;
}

.login-notif-details {
    padding: 1rem 0;
    width: 270px;
    left: -0.7rem;
    top: 13rem;
    background-color: white;
    border-radius: 0 0 var(--border-md) var(--border-md);
    opacity: 0;
    transition: 0.25s ease-in-out;
    filter: drop-shadow(rgba(0, 0, 0, 0.08) 0px 4px 12px);
    visibility: hidden;
}

.login-notif-details li i {
    vertical-align: middle;
}

.login-notif-details a {
    padding: 0.7rem;
    transition: 0.25s ease-in-out;
    display: block;
    border-radius: var(--border-sm);
}

.login-notif-details li {
    padding: 0.3rem 0;
}

.login-notif-details li a:hover {
    background-color: rgba(185, 185, 185, 0.44);
}

.login-notif-details hr {
    border: 0.5px solid #d9d9d96b !important;
}

.vl {
    border-left: 1px solid var(--bordergray);
    height: 2rem;
    width: 1rem;
}

.exit {
    color: var(--red) !important;
}

.price::after {
    content: "";
    background-image: url("../img/svg/toman.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.9rem;
    height: 1.5rem;
    margin-right: 0.4rem;
    filter: drop-shadow(0 0 5px #0772bfaa);
}

/* LOGIN-NOTIF END */


/* MODAL START */

.modal-open .modal {
    overflow: hidden;
}

.modal-open {
    overflow: hidden !important;
}

.modal-dialog {
    width: 450px;
    margin: 50px auto;
}

.modal-dialog-1 {
    margin: 20px;
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    text-align: center;
    font-size: 23px;
    font-weight: 500;
}

#password-page {
    display: none;
}

.password-header {
    align-items: center;
    justify-content: center;
    display: flex;
}

.modal-title-1 {
    font-size: 19px;
}

/*.user-info {*/
/*    width: 32%;*/
/*}*/

/*.user-info:hover {*/
/*    box-shadow: 1px;*/
/*}*/

.user-info-item {
    cursor: pointer;
    display: flex;
    height: 32px;
    align-items: center;
    border: 1px solid #dadce0;
    border-radius: 1.5rem;
    gap: 1rem;
    padding: 7px;
}

.user-info-item span {
    font-size: 13px;
    padding-right: 2px;
}

.user-info-item img {
    width: 22px;
}

.modal {
    background-color: #fffa;
}

.sp_modal {
    background-color: #fffa;
}

#loginModal,
#searchModal {
    background-color: #fffa;
    /* backdrop-filter: blur(5px); */
}

.modal-backdrop {
    background-color: transparent;
}

.modal-btn {
    color: var(--themecolor);
    font-weight: 500;
}

.modal-btn :hover {
    color: rgba(var(--themeop), .7);
}

/* SEARCH MODAL */
.search-field {
    width: 50%;
}

.wrapper {
    margin-top: 95px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wrapper .search_box {
    width: 425px;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
}

.wrapper .search_box .dropdown {
    width: 150px;
    border-right: 2px solid #dde2f1;
    color: #9fa3b1;
    position: relative;
    cursor: pointer;
}

.wrapper .search_box .dropdown .default_option {
    text-transform: uppercase;
    padding: 13px 15px;
    font-size: 14px;
}

.wrapper .search_box .dropdown ul {
    position: absolute;
    top: 70px;
    left: -10px;
    background: #fff;
    width: 150px;
    border-radius: 5px;
    padding: 20px;
    display: none;
    box-shadow: 8px 8px 6px -10px #b3c6ff;
}

.wrapper .search_box .dropdown ul.active {
    display: block;
}

.wrapper .search_box .dropdown ul li {
    padding-bottom: 20px;
}

.wrapper .search_box .dropdown ul li:last-child {
    padding-bottom: 0;
}

.wrapper .search_box .dropdown ul li:hover {
    color: #6f768d;
}

.wrapper .search_box .search_field {
    width: 100%;
    height: 100%;
    position: relative;
}

.wrapper .search_box .search_field .input {
    width: 100%;
    height: 100%;
    border: 0px;
    font-size: 16px;
    padding-left: 20px;
    padding-right: 38px;
    color: #6f768d;
    border-radius: 4px;
    outline: none;
}

.wrapper .search_box .search_field div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    font-size: 22px;
    color: var(--themecolor) !important;
    cursor: pointer;
}

.search-details {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 60px;
    border-radius: 1rem;
    background-color: #fff;
    padding: 1rem 0;
    width: 100%;
    box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
}

.search-details div {
    width: 100%;
}

.scale-out {
    transform: scale(0.9);
    filter: opacity(0);
}

.scale-in {
    transform: scale(1);
    filter: opacity(1);
}

.scale-in,
.scale-out {
    transition: all 0.5s;
}

.form-check {
    margin: 0 10px;
}

.wrapper .search_box .dropdown {
    border: none;
    width: 82px;
}

.search_box .dropdown .header .dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 0;
}

.search_box .dropdown .header .dropdown-menu {
    position: absolute;
    width: 107%;
    top: 119%;
    padding: 10px;
}

.search-details-title {
    padding: 5px 11px;
}

/*animate CheckBox*/
ul.animate-checkboxtags {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

ul.animate-checkboxtags li {
    display: inline;
    margin: 0 5px;
}

ul.animate-checkboxtags li label {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 139, 139, 0.3);
    color: #adadad;
    border-radius: 25px;
    white-space: nowrap;
    margin: 3px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    font-weight: 400;
}

ul.animate-checkboxtags li label {
    padding: 5px 12px;
    cursor: pointer;
}

ul.animate-checkboxtags li label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "FA";
    font-weight: 400;
    font-size: 12px;
    padding: 2px 2px 2px 6px;
    content: "\f067";
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

ul.animate-checkboxtags li input[type="checkbox"]:checked + label::before {
    content: "\f00c";
    -webkit-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    transform: rotate(-360deg);
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

ul.animate-checkboxtags li input[type="checkbox"]:checked + label {
    border: 1px solid var(--themecolor);
    background-color: var(--themecolor);
    color: #fff;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

ul.animate-checkboxtags li input[type="checkbox"] {
    display: absolute;
}

ul.animate-checkboxtags li input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

#mamd {
    display: none;
}

.navcol-open {
    height: 100%;
    width: 57%;
    background-color: red;
    position: absolute;
    top: 0;
    z-index: 1111;
    left: 0;
    display: none;
}

.navcol-close {
    height: 100%;
    width: 57%;
    background-color: red;
    position: absolute;
    top: 0;
    z-index: 1111;
    left: -313px;
}

#menuToggle {
    display: block;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
}

#menuToggle input {
    display: block;
    width: 3rem;
    height: 2.5rem;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 27px;
    height: 3px;
    position: relative;
    background: var(--themecolor) !important;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 1px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    left: 0;
    top: 0;
    width: 312px;
    height: 100vh;
    padding: 75px 10px 20px 10px;
    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    overflow-y: auto;
}

#menu a,
.right-hide-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.right-hide-nav i {
    margin-left: 10px;
    padding: 0rem;
    width: 3rem;
    display: flex;
    justify-content: center;
}

#menu a {
    width: 100%;
    height: 52px;
    padding: 0 1rem;
}

#menu li {
    padding: 10px 0;
    font-size: 22px;
}

.hide-menu1,
.hide-menu2,
.hide-menu3 {
    display: none;
}

#menuToggle input:checked ~ ul {
    transform: none;
}

#menuToggle {
    display: none;
}

.mm {
    display: none;
}

.hide-menu1 img {
    width: 31px;
    float: right;
    margin: 0 10px;
}

.hide-menu3 ul li {
    text-align: justify;
}

.hide-menu3 ul {
    padding: 10px 20px;
}

.hide-menu2 ul {
    padding: 0;
}

.hide-menu2 ul li a div {
    display: flex;
    justify-content: right;
}

.hide-menu2 ul li a div i {
    padding-left: 10px;
}

.social-btn-hide {
    display: flex;
    justify-content: center;
}

.social-btn-hide li a {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

.hide-content-img {
    display: flex;
    justify-content: center;
    padding: 11px;
}

.hide-content-img img {
    width: 100px;
    border: 1px solid #c1bbbb;
    margin: 0 10px;
}

.black {
    background-color: #333;
}

.black li a div {
    color: #f1f1f5;
}


/* NEWS BOX START */

.news-list {
    display: grid;
}

.news-header .title, .middle-carousel-header .title, .news-header .more, .middle-carousel-header .more {
    margin: 0 !important;
}

.news-header, .middle-carousel-header {
    margin-bottom: 2rem;
}

/* NEWS BOX END */


/* SCOREBOARD START */
.scorebord {
    width: calc(60% - 0.5rem);
    overflow: hidden !important;
}


.scorebord-person img {
    width: 6rem;
}

.scorebord-person-img .user-status {
    padding: 0.6rem;
    left: 7px;
    top: 11px;
}

.person-medal {
    left: -6px;
    bottom: -2px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: white;
    transition: background-color 1.4s;
}

.person-medal img {
    display: block;
    right: 0;
    top: 0;
    position: absolute;
    height: 25px;
    width: 25px;
}

.scorebord-person:hover .person-medal {
    animation: medal 1.5s ease 0s normal forwards;
    background-color: #fff5;
    transition: background-color .25s;
}

@-webkit-keyframes medal {
    0% {
        transform: scale(1) rotate(0deg)
    }
    25% {
        transform: scale(2) translate(-9px, -7px) rotate(180deg)
    }
    40% {
        transform: scale(2) translate(-9px, -7px) rotate(360deg)
    }
    60% {
        transform: scale(2) translate(-9px, -7px) rotate(360deg)
    }
    75% {
        transform: scale(2) translate(-9px, -7px) rotate(180deg)
    }
    100% {
        transform: scale(1) rotate(0deg)
    }
}

@keyframes medal {
    0% {
        transform: scale(1) rotate(0deg)
    }
    25% {
        transform: scale(1.5) translate(-9px, -7px) rotate(180deg)
    }
    40% {
        transform: scale(1.5) translate(-9px, -7px) rotate(360deg)
    }
    60% {
        transform: scale(1.5) translate(-9px, -7px) rotate(360deg)
    }
    75% {
        transform: scale(1.5) translate(-9px, -7px) rotate(180deg)
    }
    100% {
        transform: scale(1) rotate(0deg)
    }
}

.score {
    font-family: ERPy !important;
}

.person-medal-box span {
    color: #777;
}

/* SCOREBOARD END */


.update-cv,
.scorebord,
.last-weblog {
    padding: 1rem;
    border-radius: 1rem;
    background: #ffffff8f;
    box-shadow: rgb(0 0 0 / 8%) 0px 4px 12px;
}

.last-weblog {
    width: 65% !important;
}

.scor-cv {
    width: 40%;
    gap: 1rem;
}

.lul {
    gap: 1rem;
}

/* UPDATE CV START */

.update-cv {
    width: calc(46% - 0.5rem);
}

.update-cv-img {
    /* flex-direction: column !important; */
}

.update-cv-img img {
    width: 8rem;
}

.update-cv-img a {
    transform: rotateY(0deg);
    -webkit-transition: all 1s cubic-bezier(0.79, 0.09, 0.25, 0.79);
    transition: all 1s cubic-bezier(0.79, 0.09, 0.25, 0.79);
}

.update-cv-img a:hover {
    transform: rotateY(360deg);
}

/* UPDATE CV END */

/* WEBLOG BOX START */

.last-weblog-post-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.heart-comment .heart-comment-item:after {
    content: "|";
    padding: 0.5rem;
}

.heart-comment .heart-comment-item:last-child:after {
    content: unset;
    padding: 0;

}

.last-weblog-post .weblog-details .weblog-details-item {
    gap: .5rem !important;
}

.last-weblog-post .weblog-text {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    transition: .25s ease-in-out;

}

.last-weblog-post .weblog-text h4 {
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    transition: .25s ease-in-out;
}

.last-weblog-post .weblog-details {
    position: absolute;
    right: 0;
    bottom: -3rem;
    transition: .25s ease-in-out;
    gap: .5rem;
}


.last-weblog-post {
    padding: 1rem;
    transition: .25s ease-in-out;
    border-radius: var(--border-sm);
    align-items: stretch !important;
    overflow: hidden;
}

.last-weblog-post:hover {
    background-color: rgba(185, 185, 185, 0.44);

}

.last-weblog-post:hover .weblog-text h4 {
    font-size: 14px !important;

}

.last-weblog-post:hover .weblog-details {
    bottom: 0rem;

}

.last-weblog-post:hover .weblog-text {
    bottom: 50%;

}


.last-weblog-post p {
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-weblog-post a {
    margin-left: 1rem;

}

.last-weblog-post img {
    min-width: 10rem;
    max-width: 10rem;
    border-radius: 0.5rem;
}

.last-weblog-post h4 {
    display: inline-block;
}

/* WEBLOG BOX END */


/* PULSE EFFECT START*/
.pulse {
    box-shadow: 0 0 0 rgba(var(--themeop), 0.4);
    animation: pulse 1s 2 normal;
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 #68bbfa70;
        box-shadow: 0 0 0 0 #68bbfa70;
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 20px rgba(204, 169, 44, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    }

}

.back-fade {
    animation: back-fade linear 2s infinite alternate;
}

@keyframes back-fade {
    0% {
        background-color: var(--themebg);
    }

    50% {
        background-color: #d9ebf9;
    }

    100% {
        background-color: var(--themebg);
    }
}

/* PULSE EFFECT END*/


/* SHORT NEWS START */

.short-news-date {
    gap: 1rem;
    padding: 0 1rem;
}

.short-news {
    width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.short-news,
.date {
    /* background-color: #92c0e470; */
    border-radius: var(--border-sm);
}

.short-news .title {
    color: var(--blackgray);
    display: inline-block;
    margin: 0 !important;
}

.short-news .title::before {
    height: 2.7rem !important;
}

/*BOTTOM MENUE START*/

.menu-pulse {
    box-shadow: 0 0 0 rgba(204, 169, 44, 0.4);
    animation: pulse 1s infinite normal;
}


.bottom-bars {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    border: 0;
    bottom: 0;
    font-size: 2rem;
    transition: 0.7s ease-out;
    font-size: 3rem;
}

.bottom-menu {
    display: none;
}

.bottom-menu-rotate {
    transform: rotate(180deg) translateX(-50%) !important;
}

.login-header-box {
    display: none;
}

.content-list-right.content-line {
    align-items: center !important;
}

@media (min-width: 0px) {
    .sp_alert_box {
        position: fixed;
        right: 0;
        left: 0;
        top: 2rem;
        display: flex;
        align-items: center;
        z-index: 11111;
        flex-direction: column;
        gap: 1rem;
    }

    .sp_alert {
        max-width: 95%;
    }

    .img-like {
        width: 6rem;
        height: 6rem;
    }

    .gallerymodal-right .like {
        bottom: -2.5rem;
        width: 6rem !important;
        height: 6rem !important;
    }

    .pagination {
        gap: .5rem;
    }

    .pager li > a, .pager li > span {
        padding: 4px 11px !important;
    }

    .hide-text {
        display: none;
    }

    .container-slider {
        margin-bottom: 1rem;
    }

    .carousel-caption h3 {
        font-size: 14px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .slider-box {
        height: 100px;
    }

    .carousel-caption {
        padding: 3rem 2rem 0 2rem;
    }

    .carousel-caption p, .carousel-caption .caption-box {
        display: none;
    }

    /*main.main {*/
    /*    margin-top: 8.1rem;*/
    /*}*/
    .short-news-date {
        order: 2;
        margin-top: 1rem;
    }

    .news-list {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        gap: 2rem;

    }

    .last-weblog-post-box {
        grid-template-columns: repeat(1, minmax(250px, 1fr));

    }

    .grade-btn-box {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        gap: 1rem;
    }

    .left-header {
        flex: 1;
    }

    #myCarousel .carousel-control {
        height: fit-content !important;
        top: unset !important;
        bottom: -77px !important;
    }

    #myCarousel .carousel-indicators {
        bottom: -24px !important;
    }

    .bottom-menu-box {
        height: 45rem;
    }

    .bottom-menu-open {
        bottom: 45rem !important;
    }

    .bottom-menu-box .curve-btn {
        width: 6rem !important;
        height: 6rem !important;
    }

    .icon-bar .container {
        flex-wrap: wrap;
    }

    .main-slider .carousel-inner {
        aspect-ratio: 16 / 9;

    }

    .item-img {
        aspect-ratio: 16 / 9;
    }

    .grade-img:before {
        width: 6rem;
        top: 0px;
        right: 29px;
    }

    .grade-img {
        right: 14rem;
    }

}

@media (min-width: 400px) {

    .pagination {
        gap: 1rem;
    }

    .pager li > a, .pager li > span {
        padding: 5px 14px !important;
    }

    .grade-btn-box {
        display: grid;
        grid-template-columns: repeat(5, minmax(60px, 1fr));
        gap: 1rem;
    }

    .hide-text {
        display: inline;
    }

    .bottom-menu-box .curve-btn {
        width: 7rem !important;
        height: 7rem !important;
    }

    .bottom-menu-box {
        height: 50rem;
    }

    .bottom-menu-open {
        bottom: 50rem !important;
    }


}

@media (min-width: 460px) {
    .news-list {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 1.5rem;

    }

    .carousel-caption h3 {
        font-size: 2rem !important;
    }

    .bottom-menu-box .curve-btn {
        width: 9rem !important;
        height: 9rem !important;
    }

    .bottom-menu-box {
        height: 55rem;
    }

    .bottom-menu-open {
        bottom: 55rem !important;
    }

    /*.news-list .news-item:last-child {*/
    /*    display: none;*/
    /*}*/

}

@media (min-width: 576px) {

    .grade-img:before {
        width: 11rem;
    }

    .grade-img {
        background-image: url("/frontend/new_main/image/maghta.png");
        height: 99px;
        top: -10px;
        right: 140px;
        width: 345px;

    }

    .news-list {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 3rem;

    }

    .sp_alert_box {
        right: 50%;
        left: unset !important;
        transform: translateX(50%);
    }

    .sp_alert {
        max-width: 100%;
    }

    .img-like {
        width: 7rem;
        height: 7rem;
    }

    .last-weblog-post-box {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }

    .carousel-caption p, .carousel-caption .caption-box {
        display: block;
    }

    .slider-box {
        display: none;
    }

    .container-slider {
        margin-bottom: 3rem;
    }

    .short-news-date {
        order: 0;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    main.main {
        margin-top: 10.5rem;
    }

    #myCarousel .carousel-control {
        height: auto !important;
        top: 0 !important;
        bottom: 0 !important;

    }

    #myCarousel .carousel-indicators {
        bottom: 10px !important;
    }

    .item-img {
        aspect-ratio: unset;
        height: 100%;
    }

}

@media (min-width: 768px) {
    .grade-img:before {
        width: 7rem;
    }

    .grade-img {
        height: 8rem;
        top: -1rem;
        right: 140px;
        width: 255px;

    }

    .news-list {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
    }

    .news-list .news-item:nth-child(4), .news-list .news-item:nth-child(5) {
        display: none;
    }

    .icon-bar .container {
        flex-wrap: nowrap;
    }

    .gallerymodal-right .like {
        bottom: -3.5rem;
        width: 7rem !important;
        height: 7rem !important;
    }

    .center-nav.nav > li > a {
        padding: 3rem 0rem !important;
    }
}

@media (min-width: 992px) {
    .grade-img {
        height: 99px;
        position: absolute;
        top: -10px;
        right: 140px;
        width: 345px;
    }

    .grade-img:before {
        top: -3px;
        right: 26px;
        height: 8rem;
        width: 11rem;

    }

    .last-weblog-post-box {
        grid-template-columns: repeat(3, minmax(250px, 1fr));

    }

    .left-header {
        flex: unset;
    }


    .main-slider .carousel-inner {
        aspect-ratio: 1920 / 783;
    }

    .center-nav.nav > li > a {
        padding: 3rem 2rem !important;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 90%;
    }

    .last-weblog-post-box {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }

    .news-list {
        grid-template-columns: repeat(4, minmax(200px, 1fr));
        justify-content: space-between;
    }

    .news-list .news-item:nth-child(4)
/*---------------------------------------------------------------------- از اینجا داش علی حذفید 
	, .news-list .news-item:nth-child(5)
/*---------------------------------------------------------------------- تا اینجا داش علی حذفید */
	{
        display: block;
    }

    /*.news-list .news-item:last-child {*/
    /*    display: none;*/
    /*}*/

    .left-header {
        flex: 1;
    }

    .last-weblog-post-box a:nth-child(7), .last-weblog-post-box a:nth-child(8), .last-weblog-post-box a:nth-child(9) {
        display: none !important;
    }

}

@media (min-width: 1400px) {
    .last-weblog-post-box {
        grid-template-columns: repeat(3, minmax(250px, 1fr));
    }

    .last-weblog-post-box a:nth-child(7), .last-weblog-post-box a:nth-child(8), .last-weblog-post-box a:nth-child(9) {
        display: inline !important;
    }
	
/*---------------------------------------------------------------------- از اینجا داش علی افزود */
	.news-list .news-item:nth-child(4), .news-list .news-item:nth-child(5) {
		display: block;
	}
	
}

@media (min-width: 1401px){
	.news-list .news-item:nth-child(5) {
		display: block;
	}
	.news-list {
		grid-template-columns: repeat(5, minmax(200px, 1fr));
			justify-content: space-between;
	}
}
/*---------------------------------------------------------------------- تا اینجا داش علی افزود */

@media (min-width: 1920px) {
    .container {
        width: 1600px !important;
    }

    .news-list {
        grid-template-columns: repeat(5, minmax(200px, 1fr));
        justify-content: space-between;
    }

    /*.news-list .news-item:last-child {*/
    /*    display: block;*/
    /*}*/
}


@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .item1 img {
        transform: scale(1.115) translatex(-1.2rem);
    }
}

@media only screen and (max-width: 1920px) {
    .carousel-control {
        font-size: 38px !important;
    }

    .footer-nav ul {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 1400px) {
    .scor-cv {
        width: 62rem !important;
    }

    .update-cv {
        width: 30rem !important;
    }
}

@media only screen and (max-width: 1200px) {
    .header-btns {
        gap: 1rem;
    }

    .register-btn {
        margin-right: 0 !important;
    }

    .register-btn:hover {
        color: var(--themecolor) !important;
    }

    .left-header .left-header-item {
        width: 4rem;
        height: 4rem;
        background-color: var(--themebg) !important;
        border-radius: 50%;
        padding: 0 !important;
        display: grid;
        place-content: center;
        border: 1px solid var(--themeborder);
        color: var(--themecolor) !important;
        font-size: 2rem;
    }

    .register-btn span, .log-btn span {
        display: none;
    }

    .carousel-control {
        font-size: 31px !important;
        width: 5% !important;
    }

    .last-weblog {
        width: 100% !important;
    }

    .scor-cv {
        width: 100% !important;
        justify-content: space-between !important;
        margin-top: 3rem;
    }

    .lul {
        flex-direction: column !important;
    }

    .scorebord {
        width: 60% !important;
    }

    .update-cv {
        width: 40% !important;
    }
}

@media only screen and (max-width: 992px) {

    .social-btn li a {
        padding: 3px 5px;
    }

    .header-menu {
        padding-bottom: 10px;
    }

    .header-menu h3 {
        margin-top: 10px;
    }

    .icon {
        font-size: 32px;
    }

    .content-list {
        font-size: 13px;
        padding: 0 4px 0px 1px;
    }

    .content-list li a {
        padding: 3px 0;
    }

    .left-content {
        font-size: 13px;
        padding: 0;
    }

    .last-news-nav {
        font-size: 13px;
    }

    .chat-body {
        font-size: 11px;
    }

    .navbar-nav {
        font-size: 13px;
    }

    #menu li {
        font-size: 13px;
        font-weight: 500;
    }

    .carousel-control {
        width: 7% !important;
    }

    .content {
        flex-direction: column !important;
    }

    .content-right {
        width: 100% !important;
    }

    .content-left {
        width: 100% !important;
    }

    #menuToggle {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .ham {
        width: 3.5rem;
        height: 3.5rem;
        background-color: var(--themebg) !important;
        border-radius: 50%;
        padding: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid var(--themeborder);
    }

    .footer-middle {
        background-color: unset !important;
        flex-direction: column-reverse;
        height: auto !important;
        margin-bottom: 5rem;
    }

    .footer-middle .addres-phone {
        background-color: #717171b3 !important;
        width: 100%;
        margin-bottom: 4rem;
        justify-content: center;
        padding: 1rem 2rem;
        border-radius: var(--border-sm);
    }

    .footer-footer {
        flex-direction: column;
    }

    .footer-footer .copyright {
        margin-bottom: 4rem;
    }
}

@media only screen and (max-width: 768px) {

    .nav.center-nav {
        display: none !important;
    }

    .bottom-menu {
        background-image: url("../img/svg/bottom-menu-3.svg");
        width: 100%;
        height: 12.6rem;
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: center;
        position: fixed;
        right: 0;
        bottom: 0;
        z-index: 11111111111111;
        filter: drop-shadow(0 -4px 3px rgba(0, 0, 0, 0.2));
        display: block;
        transition: 0.35s ease-out;
    }

    .bottom-menu-box {
        background-color: rgba(255, 255, 255, 0.9) !important;
    }

    .bottom-menu-box-sch {
        /* display: grid;
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); */
        display: flex;
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 1.5rem;
    }

    .sch-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in;
        width: calc(100% / 5);
    }

    .sch-item:hover {
        transform: translateY(-1rem);
    }

    .sch-item i {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3.5rem;
    }

    .sch-item .curve-btn {
        width: 8rem !important;
        height: 8rem !important;
    }

    .sch-item .fa-graduation-cap {
        background: #5ba2ff;
        color: #fff;
        text-shadow: 0 1px 5px #0191bd;
    }

    .bottom-list-box ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(10rem, 1fr));
        gap: 1rem;
    }

    .bottom-list-box ul li a {
        padding: 1rem;
        transition: 0.25s ease-in-out;
        display: block;
        border-radius: var(--border-sm);
        border: 1px solid var(--themecolor);
        color: var(--themecolor);
        text-align: right;
    }

    .bottom-list-box ul li a i {
        font-size: 2rem;
        vertical-align: middle;
        margin-left: 0.5rem;
        transition: 0.25s ease-in-out;
    }

    .bottom-list-box ul li a span {
        color: #001531;
        transition: 0.25s ease-in-out;
        font-weight: 500;
    }

    .bottom-list-box ul li a:focus {
        background-color: var(--themecolor) !important;
    }

    .bottom-list-box ul li a:focus i {
        color: #e6f0fd !important;
    }

    .bottom-list-box ul li a:focus span {
        color: #e6f0fd !important;
    }

    .bottom-user-btn {
        top: 0.9rem;
        -webkit-top: 0.4rem;
        right: 50%;
        -webkit-right: 50%;
        transform: translateX(50%);
        width: 7rem;
        height: 7rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: var(--themecolor);
        font-size: 2rem;
        color: white;
    }
	
    .bottom-user-btn-img {
		border-radius: 50%;
		transform: scale(.95);
		}
    .bottom-right-btn img,
    .bottom-left-btn img {
        width: 5rem;
    }

    .bottom-left-btn i,
    .bottom-right-btn i {
        font-size: 2.5rem;
        vertical-align: middle;
    }

    .bottom-left-btn button,
    .bottom-right-btn button {
        transition: 0.2s ease-in;
        background-color: unset;
    }

    .bottom-left-btn button,
    .bottom-right-btn button {
        color: #373a3c;
    }

    .bottom-right-btn button img:focus,
    .bottom-right-btn button img:active {
        filter: invert(36%) sepia(67%) saturate(4436%) hue-rotate(185deg) brightness(90%) contrast(92%);
    }

    .bottom-left-btn button:nth-child(1):focus,
    .bottom-left-btn button:nth-child(2):focus,
    .bottom-right-btn button:nth-child(2):focus {
        color: var(--themecolor) !important;
    }

    .bottom-right-btn,
    .bottom-left-btn {
        margin-top: 5rem;
    }


    .navbar-nav {
        display: flex;
        align-items: center;
        padding: 0;
        font-size: 13px;
    }

    .Register span {
        display: none;
    }

    .search span {
        display: none;
    }

    .navbar-header {
        width: 69%;
        padding-right: 15px;
    }

    #mamd {
        display: block;
    }

    .navbar-nav li {
        font-size: 20px;
    }

    .center-nav {
        display: none;
    }

    /*.carousel-inner .item img {*/
    /*    transform: scale(1.16) translatex(-1.2rem) !important;*/
    /*}*/
    .carousel-caption {
        top: 2rem !important;
        text-align: center !important;
    }

    .carousel-caption p {
        font-size: 1.4rem !important;
        width: 100%;

    }

    .ro1 {
        justify-content: space-around !important;
    }

    .footer-header {
        display: flex;
        justify-content: center;
    }

    .footer-nav {
        width: 100% !important;
    }

    .footer-nav ul {
        justify-content: space-evenly !important;
    }

    /*.icon-bar-item {*/
    /*    width: calc(100% / 3) !important;*/
    /*}*/
    .footer-middle .addres-phone {
        flex-direction: column-reverse !important;
    }

    .footer-phone::before {
        border-right: unset !important;
    }

    .footer-phone,
    .footer-addres {
        justify-content: center !important;
    }

    .footer {
        padding: 4rem 0 14rem 0 !important;
        margin-bottom: 0;
        background-size: cover !important;

    }

}

@media only screen and (max-width: 576px) {

    .icon-bar-item img {
        width: 10rem;
    }

    .header .navbar {
        backdrop-filter: unset !important;
        background-color: rgba(255, 255, 255, 0.92);
    }

    .title {
        font-size: 2rem;
    }

    .news-header .title, .middle-carousel-header .title {
        align-items: end;
    }

    .title::before {
        height: 3.3rem;
        width: 1.6rem;
    }

    .news-header h4 {
        margin: 0 !important;
    }

    .news-header {
        margin-bottom: 2rem !important;
    }


    .login-header-box {
        display: block;
    }

    .login-header {
        gap: 2rem;
    }

    .login-header .login-header-cart a span {
        left: 100%;
        top: 90%;
        z-index: 11;
        background-color: #f56636;
    }

    .login-header-score {
        background-color: #f5663677;
        border-radius: 5rem;
        padding: 1rem 1.5rem;
    }

    .login-notif {
        display: none;
    }


    .carousel-inner {
        overflow: inherit !important;
    }


    .carousel-caption {
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        text-align: center !important;
    }

    .carousel-caption h3,
    .carousel-caption p {
        text-align: center !important;
        background-color: unset !important;
        box-shadow: unset !important;
        width: 100% !important;

    }

    .carousel-caption h3 {
        padding: unset !important;
    }

    .carousel-caption p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 1rem;
    }


    .caption-box {
        width: auto !important;
        display: inline-block;
    }

    .over-carousel {
        overflow: hidden;
    }

    .slider-box {
        width: 100%;
        background-color: #e6e6e6;
    }

    .container-slider {
        padding: 0;
    }

    .carousel-inner > .item > img,
    .carousel-inner > .item > a > img {
        display: block;
        min-width: 100%;
    }

    .carousel-control.right i {
        padding-right: 2rem;
    }

    .carousel-control.left i {
        padding-left: 2rem;
    }

    .scor-cv {
        flex-direction: column;
        margin-top: 2rem !important;
    }

    .scorebord {
        width: 100% !important;
        margin-top: 2rem;
    }

    .update-cv {
        width: 100% !important;
    }

    .update-cv-img {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media only screen and (max-width: 500px) {
    .footer-addres span {
        font-size: 1rem !important;
    }
}

@media only screen and (max-width: 455px) {
    .modal-dialog {
        width: 89%;
        margin-top: 78px;
    }
}

@media only screen and (max-width: 390px) {
    .modal-dialog {
        width: 89%;
        margin-top: 78px;
    }

    .bottom-list-box {
        height: 77rem;
        padding: 5rem 0;
        padding: 0 2rem;
    }
}

@media only screen and (max-width: 400px) {
    .login-notif-name span {
        display: none !important;
    }

    .short-news-date {
        flex-direction: column;
        justify-content: center;
    }

    .short-news {
        width: 100%;
        text-overflow: unset !important;
        white-space: unset !important;
        overflow: unset !important;
        text-align: center;
    }

    #menu {
        width: 100%;
        height: 100vh;
        overflow-y: auto;
    }

    .search_box {
        width: 340px !important;
    }

    .footer-addres i {
        display: none !important;
    }
}

@media only screen and (max-width: 390px) {
    .bottom-list-box ul li a {
        text-align: center !important;
    }

    .sch-item {
        width: calc(100% / 4);
    }
}

/* SLIDER START*/

.main-slider {
    box-shadow: var(--mainshadow);
}

.main-slider .carousel-inner {
    border-radius: 2rem;
}

/*.item1 img {*/
/*    transform: scale(1.021) translatex(-1.2rem);*/
/*}*/

.item-img {
    overflow: hidden;
    transform: scale(1.05);
}

.item1 {
    animation: slider-effect 0.35s ease-out normal forwards;
    height: 100% !important;

}

@keyframes slider-effect {
    from {
        transform: translateX(2.5rem);
    }

    to {
        transform: translateX(0rem);
    }
}

.carousel-caption {
    top: 8rem;
    bottom: auto;
    left: auto;
    right: 6%;
    width: 470px;
    text-align: right;
}

@keyframes slider-sector {
    from {
        opacity: 0;
        transform: translateY(4rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slider-text {
    from {
        opacity: 0;
        transform: translateY(-4rem);
    }

    to {
        opacity: 1;
        transform: translateY(11px);
    }
}

.caption-box {
    display: inline-block;
    background-color: #333;
    padding: 5px 10px;
    animation: slider-sector 0.7s ease-out 0.5s normal forwards;
    opacity: 0;
    border-radius: var(--border-sm);
    backdrop-filter: blur(12px);
    background-color: rgba(9, 9, 9, .9);
    width: fit-content;
    text-shadow: 0px 0px 1px #000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px 0px;
}

.carousel-caption h3 {
    padding-bottom: 5px;
    font-size: 25px;
    text-align: right;
    animation: slider-text 0.7s ease-out 1s normal forwards;
    opacity: 0;
    padding: 1rem;
    border-radius: var(--border-sm);
    background-color: rgba(9, 9, 9, 0.3);
    width: fit-content;
    text-shadow: 0px 0px 1px #000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px 0px;
}

.carousel-caption p {
    font-size: 1.5rem;
    text-align: right;
    animation: slider-text 0.7s ease-out 1.4s normal forwards;
    opacity: 0;
    padding: 1rem;
    border-radius: var(--border-sm);
    background-color: rgba(9, 9, 9, 0.3);
    width: fit-content;
    text-shadow: 0px 0px 1px #000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px 0px;
    font-weight: 500;
}

.carousel-control {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 44px;
    width: 4%;
}

#myCarousel .carousel-indicators {
    width: fit-content !important;
    border-radius: 1.25rem;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 0;
    padding: 0.25rem 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-direction: row-reverse;
}

.carousel-control.right,
.carousel-control.left {
    background-image: none;
}

#myCarousel-2 .carousel-inner {
    height: auto;
}

#myCarousel-2 .carousel-indicators {
    /* left: 43%; */
}

#toggleCarousel {
    background-color: transparent;
    border: none;
    padding: 2px;
    vertical-align: middle;
}

#toggleCarousel i {
    font-size: 23px;
    color: #fff;
}

/* SLIADER END */

/* ICON BAR START */

.icon-bar-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    flex: 1;
    width: calc(100% / 3);
}

.icon-bar-item span {
    opacity: 0;
    transform: scale(1);
    transition: 0.3s ease-in;
    font-weight: 600;
    text-shadow: 0 2px 5px #0007, 0 1px 1px #0005;
    color: #fff;
    position: absolute;
    bottom: 30px;
}

.icon-bar-item img {
    transition: 0.25s ease-out;
}

.icon-bar-item:hover img {
    transform: scale(1.24);
    filter: blur(5.2px) contrast(75%) hue-rotate(100deg);
}

.icon-bar-item:hover span {
    opacity: 1;
    transform: scale(1.05);
    bottom: 44px;
}

.icon-bar-item i {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
}

.icon-bar-item .curve-btn {
    width: 8rem !important;
    height: 8rem !important;
}

.icon-bar-item .fa-images {
    background: #ffa8a8;
    color: #ffe9e9;
    text-shadow: 0 1px 5px #fdafaf;
}

.icon-bar-item .fa-shopping-cart {
    background: #47ea77;
    color: #fff;
    text-shadow: 0 1px 5px #9fffb3;
}

.icon-bar-item .fa-graduation-cap {
    background: #5ba3ff;
    color: #fff;
    text-shadow: 0 1px 5px #0191bd;
}

.icon-bar-item .fa-books {
    background: #ffa05b;
    color: #fff;
    text-shadow: 0 1px 5px #fbba8b;
}

.icon-bar-item .fa-users {
    background: #b271ff;
    color: #fff;
    text-shadow: 0 1px 5px #a280fd;
}

.icon-bar-item .fa-blog {
    background: #e86975;
    color: #fff;
    text-shadow: 0 1px 5px #ff8e8e;
}

.icon-bar-item span {
    margin-top: 10px;
    font-size: 18px;
}

/* ICON BAR END */

/* BOX NEWS START */

.news-item {
    cursor: pointer;
    padding: 1rem;
    transition: 0.25s ease-in;
    background: white;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    z-index: 0;
    height: 100%;
    position: relative;
}

.news-item:hover img {
    transform: scale(1.05);
}

.news-item:hover .img-detils {
    color: rgba(255, 255, 255, 1);
}

.news-img {
    width: 100%;
    border-radius: 0.25rem;
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-sm);
    overflow: hidden;
}

.news-shadow {
    right: 0;
    bottom: 0;
    left: 0;
    height: 30%;
    z-index: 3;
    /* background: -webkit-gradient(linear-gradient(to top,#2f2727ad,transparent)); */
    background: linear-gradient(to top, #2f2727ad, transparent);
}

.news-shadow-top {
    right: 0;
    top: 0;
    left: 0;
    height: 20%;
    z-index: 3;
    /* background: -webkit-gradient(linear-gradient(to top,#2f2727ad,transparent)); */
    background: linear-gradient(to bottom, #2f2727ad, transparent);
}

.img-link {
    height: 100% !important;
    width: 100%;
    display: block;
    overflow: hidden;
}

.img-link img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.3s;
}

.news-title h3 {
    font-size: 20px;
    margin: 0 !important;
    padding: 7px 0 7px 0;
}

.news-info {
    direction: rtl;
}

.news-info p {
    /*margin: 0;*/
    /*width: 100%;*/
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
}

.news-info h4 {
    margin-top: 1.7rem;
}

.img-detils {
    font-size: 13px;
    display: flex;
    color: rgba(255, 255, 255, 0.59);
    /*color: rgb(228 228 228);*/
    transition: .25s ease-in-out;

}

.news-subject-box {
    position: absolute;
    top: 15px;
    left: -7px;
    width: auto;
    height: auto;
    text-align: center;
    border-radius: 0.4rem;
    background-color: var(--catcontent);
    color: #fff;
    padding: 3px 20px;
    box-shadow: -1px 6px 12px -6px #000;
}

.news-subject-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 4px;
    background-color: #00aeff;
    width: 10px;
    height: 15px;
    z-index: -1;
    transform: rotate(-45deg);
    bottom: -8px;
}

.img-detils .time {
    position: absolute;
    left: 6px;
    bottom: 2px;
    padding: 3px;
    font-family: ERPy !important;
    z-index: 4;
}

.img-detils .heart-comment {
    position: absolute;
    right: 6px;
    bottom: 2px;
    padding: 3px;
    font-family: ERPy !important;
    z-index: 4;
}

/* BOX NEWS END */


/* MIDDLE CAROUSEL START*/

.middle-carousel {
    background-image: url("../img/svg/test.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

#tranding {
    padding: 4rem 0;
}

.tranding-slide {
    display: flex;
    justify-content: center;
}

.tranding-slide {
    width: 30rem !important;
    height: auto !important;
}

.tranding-slide .news-item {
    width: 30rem;
}

.tranding-slide .tranding-slide-content {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

/* MIDDLE CAROUSEL END*/


/* FOOTER START */

.footer {
    width: 100%;
    height: auto;
    padding: 4rem 0;
    margin-top: 8rem;
    color: #ffff;
    font-size: 1.5rem;
    /* background-color: #373A4A; */
    background-image: url(../img/svg/footer.svg);
    background-size: auto;
}

.footer-header {
    padding: 0;
}

.footer-nav {
    width: 40rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li a:hover {
    color: #c3c6cf !important;
    transition: all 0.2s linear 0s;
}

.footer-nav ul li a {
    color: #ffff !important;
}

.footer-middle {
    background-color: #ffffff29;
    border-radius: var(--border-md);
    height: 10rem;
    margin-bottom: 7rem;
}

.footer-middle i.fa-phone,
.footer-middle i.fa-map-marker-alt {
    transition: all .7s ease;
}

.footer-middle a:hover i.fa-phone {
    transform: scalex(-1.25) scaley(1.25) !important;
}

.footer-middle a:hover i.fa-phone,
.footer-middle a:hover i.fa-map-marker-alt {
    transition: all .2s ease;
    box-shadow: 0 3px 6px #0003;
    transform: scale(1.25);
    filter: contrast(200%);
}

.addres-phone {
    gap: 2rem;
}

.footer-phone::before {
    content: "";
    border-right: 3px solid white;
    height: 2.5rem;
    padding-left: 2rem;
}

.footer-addres i,
.footer-phone i {
    width: 4.5rem;
    height: 4.5rem;
    background-color: rgb(195 195 195 / 20%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.footer-social a {
    background-color: rgb(195 195 195 / 20%);
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s linear !important;
}

.footer-social a img {
    width: 2.5rem;
}

.footer-social a:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 6px #0003;
}

.teleicon:hover {
    background-color: #0088cc !important;
}

.instaicon:hover {
    background: linear-gradient(
            45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%
    ) !important;
}

.aparaticon:hover {
    background-color: #ea1d5d !important;
}

.baleicon:hover {
    background-image: linear-gradient(45deg, #000cbb, #6fff8c) !important;
}

.soroshicon:hover {
    background-image: linear-gradient(-45deg, #056db6, #0958a8) !important;
}

.eitaicon:hover {
    background : rgb(232, 120, 0);
}

.footer-social a:hover img {
    transition: all 1s ease-out;
}

.footer-footer-left {
    gap: 2rem;
}

.footer-footer-left img {
    width: 5rem;
    padding: 0.5rem;
    max-width: 75%;
}

.footer-footer-left a {
    width: 7.5rem;
    height: 7.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #717171b3;
    border-radius: var(--border-sm);
    transition: 0.25s ease-in-out;
}

.footer-footer-left a:hover {
    background-color: #393939b3;
}

.copyright img {
    height: 100% !important;
    margin-left: 1rem;
}

/* FOOTER END */


/* SEARCH BOX START */

.search-box {
    width: 100%;
}

.search-box input {
    padding: 0.5rem 0.5rem .5rem 3rem;
    border: 2px solid var(--bordergray);
    border-radius: var(--border-li);
    transition: .25s ease-in-out;
}

.search-box-lg input {
    height: 4.5rem;
}

.search-box .search-button {
    left: 1rem;
    padding: 0 !important;
    background: transparent;
}

.search-box input:focus {
    outline: none;
    border: 2px solid var(--blackgray);
}

/* SEARCH BOX END */

/* DEFUALT HOVER START */


.last-content-item, .last-content-item img, .next-homework, .next-homework img {
    transition: .25s ease-in-out;
}

.last-content-item:hover, .next-homework:hover {
    border-radius: var(--border-sm);
    background-color: var(--hoverbg);
}

.last-content-item:hover img, .next-homework:hover img {
    box-shadow: 0px 1px 8px -4px #000;
}

/* DEFUALT HOVER END */


/* PAGINATION START */

.pagination {
    display: inline-flex !important;
    align-items: center;
}

.pager li > a, .pager li > span {
    border-radius: 9px !important;
    color: #525562;
    background-color: #fff;
    transition: .25s ease-in-out;
    border: 1px solid #b9bac4 !important;
}

.pager .disabled > a, .pager .disabled > a:hover, .pager .disabled > a:focus, .pager .disabled > span {
    color: #fff;
    background-color: #525562;
    border: unset !important;

}

/* PAGINATION END */


/*CKAEDITOR START*/

.marker {
    background-color: Yellow;
}

.marker-red {
    background-color: var(--red);
}

.marker-green {
    background-color: var(----green);
}

.marker-blue {
    background-color: var(--blue);
}

/*CKAEDITOR END*/



.swal-modal .swal-text{
    text-align: right !important;
}