@import url("farsi-fonts-styles/primary-iran-yekan.css");
@import url("farsi-fonts-styles/secondary-pinar.css");

:root {
    --mycolor: linear-gradient(to right, rgba(144, 30, 193, 0.90) 0%, rgba(116, 80, 254, 0.90) 51%, rgba(144, 30, 193, 0.90) 100%);
    --color: #7239ea;
    --hover: #eff2f5;
    --bs-btn-active-border-color: #7239ea;
    --bs-btn-active-color: #7239ea;
}

body {
    font-family: "primary-font", "segoe ui", "tahoma", serif;
    direction: rtl;
    font-size: 14px;
    position: relative;
    user-select: none;
    color: #181c32;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    font-weight: 500;
    text-decoration: none;
    color: black;
    transition: all 0.3s;
}

    a:hover {
        color: var(--color);
        transition: all 0.3s;
    }

.btn:hover, .btn:focus, .btn:active {
    background-color: var(--color);
    color: white;
}

.btn:first-child:active {
    background-color: var(--color);
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.card-header {
    background-color: transparent;
    border: none;
}

.margin-between > div:nth-child(even) {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.margin-between > div:last-child {
    margin-bottom: 0;
}

.dashboard > div:nth-child(even) {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard > div:last-child {
    margin-bottom: 0;
}

.box-shadow {
    box-shadow: 0 0 50px 0 rgba(82, 63, 105, 0.15);
}

.h-scroll {
    height: 465px;
}

.scroll-y {
    overflow-y: scroll;
}

    .scroll-y::-webkit-scrollbar {
        width: 6px;
    }

    .scroll-y::-webkit-scrollbar-thumb {
        background: var(--color);
        border-radius: 8px;
    }

.font-icon {
    width: 1.3rem;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.fs-12 {
    font-size: 12px;
}

.bg-them {
    background: var(--color);
}

.theme-color {
    color: var(--color);
}

.btn:active {
    border: none;
}


.badge-light-success {
    color: #50cd89;
    background: #e8fff3;
}

.badge-light-primary {
    color: #009ef7;
    background-color: #f1faff;
}

.badge-light-danger {
    color: #f1416c;
    background-color: #fff5f8;
}

.badge-light-warning {
    color: #ffc700;
    background-color: #fff8dd;
}

.badge-light-info {
    color: #7239ea;
    background-color: #f8f5ff;
}
/*style form login*/
.login input.form-control {
    flex: none;
    padding: 8px 10px;
}

    .login input.form-control:focus {
        box-shadow: none;
        border-color: var(--color);
    }

.login a:link, .login a:visited {
    color: var(--color);
}

button.sign_in_submit {
    background: var(--mycolor);
}

.box-logo, .login {
    height: 100vh;
}

.box-logo {
    background: var(--mycolor);
}

    .box-logo p, .login p, .forgetPas, span {
        font-size: 12px;
    }

/*style layout*/
#main-nav {
    display: none;
}

.top-header {
    height: 70px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar .logo-modisa {
    width: 100px;
    height: 50px;
}

.navbar-nav .nav-link.active {
    color: var(--color);
    background-color: var(--hover);
}

.navbar-nav .nav-link {
    border-radius: 5px;
    transition: all 0.3s;
    padding: 0.25rem;
}

#main-nav .navbar-nav .nav-link:hover, .card .card-toolbar .menu-sub2 .nav-link:hover {
    color: var(--color);
    background-color: var(--hover);
    transition: all 0.3s;
}

.profile-img {
    width: 50px;
    height: 50px;
}

label.form-label {
    color: rgba(0, 0, 0, 0.55);
}

select.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

a.menu-link {
    border-radius: 5px;
    padding: 5px;
}

    a.menu-link:hover {
        background-color: var(--hover);
        transition: all 0.3s;
    }

.menu-sub ul li a, a.menu-link {
    display: flex;
    align-items: center;
    color: #5E6278;
}

div.menu-sub {
    width: 650px;
    right: 0;
}

div.menu-sub2 {
    min-width: max-content;
}

    div.menu-sub2 i.fa-angle-left {
        float: left;
        margin-top: 5px;
    }

    div.menu-sub2 ul li ul.dropdown-menu {
        left: -160px;
        top: 0;
        display: none;
    }

span.bullet-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background-color: #5E6278;
}
/*box-profile*/
.box-profile a.nav-link {
    font-size: 0.8rem;
    transition: all 0.3s;
    padding: 0.5rem;
}

    .box-profile a.nav-link:hover {
        background-color: var(--hover);
        color: var(--color);
        transition: all 0.3s;
    }

#modal-record span.circle,
#modal-cancel span.circle {
    width: 100px;
    height: 100px;
    border: 2px solid red;
}

    #modal-record span.circle .line-left, #modal-record span.circle .line-right {
        width: 3px;
        height: 50px;
        background-color: red;
        display: block;
        border-radius: 5px;
    }

    #modal-record span.circle .line-left {
        transform: rotate(45deg);
        margin-left: -2px;
    }

    #modal-record span.circle .line-right {
        transform: rotate(-45deg);
    }

    #modal-cancel span.circle span {
        font-size: 60px;
    }

#modal-cancel .btn-active-light:hover {
    background-color: var(--hover);
    color: #7e8299;
}

#sidebar .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*style dashboard*/
.card {
    box-shadow: 0 0 20px 0 rgba(76, 87, 125, 0.02);
}
/*section1*/
.card {
    border: none;
    background-color: #ffffff;
    padding: 10px 5px;
}

    .card a.order-details {
        background: var(--color);
    }

.box-tasks .card {
    height: 220px;
}

.tasks img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
}

ul.edit-transaction li a {
    background-color: #f8f9fa;
    font-size: 12px;
    color: #a1a5b7;
    transition: all 0.3s;
    border-radius: 5px;
}

    ul.edit-transaction li a.nav-link {
        padding: 0.5rem;
    }

    ul.edit-transaction li a:hover {
        color: #7239ea;
        transition: all 0.3s;
        background-color: var(--hover);
    }

    ul.edit-transaction li a:active {
        border-color: #7239ea;
    }

    ul.edit-transaction li a svg {
        width: 15px;
        height: 15px;
    }

.dropdown-menu {
    text-align: right;
    border: none;
}

    .dropdown-menu .dropdown-item {
        background-color: transparent;
        color: #5E6278;
    }
/*section3*/
.card .card-title h6 {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: bold;
}

.card-header .card-toolbar .btn-setting:hover {
    background-color: var(--hover);
    transition: a11 0.5s;
}

.card-header .card-toolbar svg {
    width: 1.2rem;
    height: 1.2rem;
}
/*timeline activities*/
.activities .timeline .timeline-item {
    position: relative;
    display: flex;
}

    .activities .timeline .timeline-item .circle {
        background-color: white;
        border-radius: 100%;
        width: 15px;
        height: 15px;
        position: absolute;
        top: 3px;
        right: 30px;
    }

.activities .timeline::before {
    content: '';
    display: block;
    position: absolute;
    width: 3px;
    background: var(--hover);
    top: 15px;
    bottom: 0;
    right: 36px;
}

.activities .timeline .timeline-item:nth-child(even) {
    margin: 20px 0;
}

.activities .timeline .timeline-item:last-child {
    margin-bottom: 0;
}

.card span.line-badge {
    width: 3px;
    height: 40px;
    display: block;
    border-radius: 3px;
}

.section3 .form-check-input {
    width: 20px;
    height: 20px;
}
/*style 404 error*/
.error {
    background-image: url("../images/vuexy-login-bg.jpg");
    height: 100vh;
}

    .error .box-error {
        width: 600px;
    }

    .error img {
        max-width: 100%;
        height: 300px;
    }

    .error .btn {
        background: var(--mycolor);
        color: white;
    }
/*style new-building*/
.new-building img {
    max-width: 100%;
    height: 300px;
}

.form-newBuilding p, .form-newBuilding .form-control, .form-newBuilding .form-label, .form-newBuilding span {
    font-size: 14px;
}

.form-newBuilding .form-control {
    background-color: var(--hover);
    color: #5e6278;
    transition: all 0.3s;
    border: none;
}

    .form-newBuilding .form-control:focus {
        background-color: #eef3f7;
        transition: all 0.3s;
        box-shadow: none;
    }

.form-newBuilding .font-icon {
    width: 15px;
    height: 15px;
    color: #a1a5b7;
}

.form-newBuilding .link-primary {
    color: var(--color) !important;
}

.form-check-input {
    border: none;
    box-shadow: none;
    width: 35px;
    height: 20px;
    border-radius: 3.25rem;
    background-color: var(--hover);
}

    .form-check-input:checked {
        background-color: var(--color);
        border: none;
    }

.form-check-solid .form-check-input {
    border: none;
    box-shadow: none;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background-color: var(--hover);
}

    .form-check-solid .form-check-input:checked {
        background-color: var(--color);
        border: none;
    }

.form-newBuilding button[type=submit] {
    background: var(--mycolor);
}

.form-newBuilding button[type=reset] {
    border: 1px solid var(--hover);
}
/*style timeline*/
.timeline-body::after {
    content: '';
    position: absolute;
    width: 1px;
    top: 5px;
    right: 18px;
    bottom: 5px;
    z-index: 1;
    border: 1px dashed var(--hover);
}

.timeline .box-timeline {
    width: 35px;
    height: 35px;
    background-color: var(--hover);
    z-index: 2;
    color: var(--color);
    border-radius: 8px;
    margin-left: 16px;
}

.timeline-body .content h6 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 0;
}

.timeline-body .content span {
    opacity: 0.5;
}

.timeline-body .content:nth-child(even) {
    margin: 40px 0;
}

.timeline-body .content:last-child {
    margin-bottom: 0;
}

/*timeline active*/
.timeline-body .active .box-timeline {
    background: var(--mycolor);
    color: white;
}

.timeline-body .active h6 {
    opacity: 0.7;
}

.timeline-body .active span {
    opacity: 1;
}
/*timeline completed*/
.timeline-body .completed h6 {
    opacity: 0.5;
}

.timeline-body .completed span {
    opacity: 0.4;
}

a.all-transactions:hover {
    background-color: var(--hover);
    display: block;
    border-radius: 5px;
    padding: 5px;
}

.right0 {
    right: 0;
}

.dropdown-menu[data-bs-popper] {
    margin-top: 0;
}

.box-shear {
    min-width: 230px;
}

    .box-shear .font-icon {
        width: 1rem;
    }

    .box-shear .form-control {
        padding: 5px;
        font-size: 12px;
    }

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-form-control-bg);
    outline: 0;
    box-shadow: none;
}

.card-body > div:last-child {
    border-bottom: none !important;
}

#sidebar .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-angle-right, .btn-angle-left {
    background-color: #e6edef;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color);
    font-size: 15px;
}

.custom-file-input {
    display: inline-block;
    position: relative;
}

    .custom-file-input:before {
        content: 'بارگزاری';
        display: block;
        background: -webkit-linear-gradient( -180deg, #9e7ccd,#7239ea );
        background: -o-linear-gradient( -180deg, #9e7ccd,#7239ea );
        background: -moz-linear-gradient( -180deg, #9e7ccd,#7239ea );
        background: linear-gradient( -180deg,#9e7ccd,#7239ea);
        border-radius: 5px;
        padding: 6px 0;
        outline: none;
        cursor: pointer;
        color: white;
        font-weight: bold;
        text-align: center;
        font-size: 10pt;
        position: absolute;
        left: 0;
        right: 0;
    }

    .custom-file-input input {
        visibility: hidden;
        width: 100px;
    }

.btn-upload {
    border: 1px solid var(--color);
}

    .btn-upload:hover, .btn-upload:active, .btn-upload:focus {
        background-color: white;
        color: var(--color);
        border: 1px solid var(--color);
    }
