﻿@font-face {
    font-family: 'iran-sans';
    src: url('../admincontent/dist/fonts/iran-sans.ttf') format('truetype');
}
/*اعمال فونت*/
body {
    font-family: "iran-sans" !important;
    font-size: 0.8rem;
    background-color: #DFDBE5;
}
/*ایکن های عملیاتی*/
.btn-icon {
    padding: 4px 5px 0px 5px;
    font-size: 0.9rem !important;
}
/*icon btn delete*/
.btnIcon {
    padding: 3px 6px 1px 6px;
}
/*btn-access*/
.btn-access {
    padding: 3px 7px 0px 8px;
}
/*وضعیت های فعال / غیر فعال*/
.badge-status {
    padding: 7px;
}
/* tooltip های راهنما*/
.tip {
    font-size: 1.2rem;
}
/*select item*/
.select-item {
    margin: auto;
}
/*font btn add*/
.text-white {
    font-size: 0.8rem;
}
/*display modal*/
.modal-header {
    display: block;
}
    /*font header modal*/
    .modal-header h4 {
        font-size: 1rem;
    }
/*font form control*/
.form-control {
    font-size: 0.8rem;
}
/*color warning icon*/
.btn-warning {
    color: white;
}

.line-breacker {
    white-space: pre-line;
}

@media (max-width: 700px) {
    .modal-dialog {
        /*max-width: 500px;*/
        width: 70% !important;
        margin: 1.75rem auto;
    }
}
/*margin modal default*/
.modal-dialog {
    margin: 1.75rem auto;
}
/*guide btn*/
.guide-btn {
    border-radius: 50%;
    padding: 3px 7px 0px 7px;
}
/*btn-warning-hover*/
.btn-warning:hover {
    color: white;
}

.tooltip-inner {
    text-align: justify;
    /*background-color: #f7f7f7;
    color: black;*/
}

/*.nav-treeview .nav-item .nav-link .nav-icon {
    margin-right: 14px;
}*/

.form-insert-success {
    background-color: #23913c;
    color: white;
    direction: ltr;
}

.form-edit-warning {
    background-color: #17a2b8;
    color: white;
    direction: ltr;
}

    .form-insert-success .close span, .form-edit-warning .close span {
        color: white;
    }


@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    border: 0.25em solid currentColor;
    border-left-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
    margin-top: 2px;
}

@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }
}

@keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner-grow .75s linear infinite;
    animation: spinner-grow .75s linear infinite;
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

/*end spinner*/

.btn {
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-outline-info:hover {
    background-color: #17a2b8;
    border-color: #17a2b8;
}
div.dataTables_wrapper div.dataTables_length select {
    width: 85px;
}

.TextRequired {
    border-right: 1.5px solid #e52d2d;
}

.swal2-container {
    z-index: 3010 !important;
}
.arrow-insert {
    vertical-align: middle;
    text-align: center;
    top: 30px;
}

.btnWidth-8 {
    width: 8px;
}

.listHeight {
    height: 121px !important;
}
.btn{
    font-size:0.8rem;
}
.btn-search{
    padding-top:11px;
}
.nav-tabs {
    border-bottom: 1px solid #17a2b8;
}
.nav-item.nav-link.active.show {
    border-top: 2px solid #17a2b8;
    border-left: 1px solid #17a2b8;
    border-right: 1px solid #17a2b8;
}
.nav-tabs .nav-item.nav-link:not(.active) {
    border-bottom: 1px solid #17a2b8;
    background-color: #f4f6f9;
    color: black;
} 
  
    ::-webkit-scrollbar {
        background: #ddd;
        width: 5px;
        height: 15px;
    }

::-webkit-scrollbar-thumb {
    background: #152839;
    border-radius: 3px;
    box-shadow: inset 0 0 10px #F5F5F5;
    height: 50px;
}

::-webkit-scrollbar-track {
    background: #fbfbfb;
    border-radius: 0;
    box-shadow: inset 0 0 10px #cac8af;
    height: 50px;
}
.profile-icon {
    position: absolute;
    left: 10px;
    top: 0;
    padding: 5px;
    margin-right:5px;
    color: #e83a3a;
}
.profile-icon a i
{
    font-size:21px;
}
.icon-top-sidebar
{
    font-size:20px;
}

.gj-tree-bootstrap-border ul.gj-list-bootstrap li:hover {
    background-color: #e2e2e2;
}

/* Absolute Center Spinner */
.my-loading {
    position: absolute;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    .my-loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }

.refresh img {
    position: absolute;
    left: 8px;
    top: 3px;
}
.user-panel img {
    width: 2.1rem;
    height: 2.1rem;
}
.main-sidebar, .panel-attendance {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
  }
.alert-attendance {
    color: white;
    background: #73C8A9; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #373B44, #73C8A9); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #373B44, #73C8A9); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.info-box-number {
    font-size: x-large;
}
.container-fluid-index{
    font-size:0.7rem;
}
.fa-home-index{
    color:white;
}
.panel-attendance > .card-header {
    border-bottom: 1px solid #786386;
}
.refresh-captcha i {
    position: absolute;
    top: 11px;
    right: 11px;
    color: #17a2b8;
}

.form-control.xcu {
    padding-right: 29px;
}

#img-captcha {
    POSITION: absolute;
    top: 0px;
    left: 0;
    height: 32px;
}
.clockIcon {
    position: absolute;
    top: 29px;
    right: 11px;
    font-size: x-large;
    color: #3a0647
}
.refresh-icon {
    position: absolute;
    top: 29px;
    right: 40px;
    font-size: x-large;
    color: #dc3545;
}
.index-attendance {
    color: white;
    background-color: #69a6e6;
}
.index-leave {
    color: white;
    background-color: #6b5f5f;
}

.index-attendance:hover {
    color: white;
    background-color: powderblue;
    font-size:14px;
}
.index-leave:hover {
    color: white;
    background-color: #a09d9d;
    font-size: 14px;
}
.alert-mywarning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
    .alert-mywarning h6 span {
        font-size:20px;
    }
    .alert-mywarning p {
        line-height: 2.4;
    }
    @media(max-width:567px){
        .r-table{
            width:100%
        }
        .r-table tr{
            display:flex;
            flex-direction:column;
        }
    }
.clockIcon-add {
    left: 483px;
    margin-top: 30px;
    color: #16de16;
    font-size: x-large;
    position: absolute;
}
.check{
    display:flex;
}
.item-r {
    margin-left: 11px;
    font-size: 12px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    background-color: rgb(220, 53, 69);
    border-radius: 5px;
    padding: 6px 0px 0px 5px;
}
    .item-r input {
        margin: 2px 8px;
    }
.header-td {
    background-color: rgb(148, 20, 20);
    color: white;
}

.salary-td {
    background-color: rgb(124,124,124);
    color: white;
}

.total-td {
    background-color: rgb(14, 142, 12);
    color: white;
}
.add-salary-td {
    background-color: rgb(14, 142, 12);
    color: white;
}
.sub-salary-td {
    background-color: rgb(210, 13, 13);
    color: white;
}

.border-left {
    border-left: 1px solid black !important;
}

.border-top {
    border-top: 1px solid black !important;
}

.border-right {
    border-right: 1px solid black !important;
}

.salary-border-bottom {
    border-bottom: 1px solid black !important;
}
.login-logo a{
font-size:26px;
}

.btn-home {
    margin-left: 0px;
    margin-right: 7px;
    width: 516px;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 30px;
    cursor: pointer !important;
    display: inline-block;
}

.btn-attendance {
    color: #fff;
    border: 3px solid #28a745;
    background-image: linear-gradient(30deg, #28a745 8%, transparent 50%);
    background-size: 1190px;
    background-repeat: no-repeat;
    background-position: 0%;
    -webkit-transition: background 300ms ease-in-out;
    transition: background 300ms ease-in-out;
}
    .btn-attendance span:after {
        content: '\00bb';
        position: absolute;
        opacity: 0;
        top: 7px;
        left: 548px;
        transition: 1s;
    }

    .btn-attendance:hover span {
        padding-left: 25px;
    }

        .btn-attendance:hover span:after {
            opacity: 1;
            left: 737px;
            top: 24px;
            font-size: x-large;
        }


.btn-attendance:hover {
    background-position: 100%;
    color: #28a745;
}


.btn-vocation {
    margin-right: 10px;
    color: #fff;
    border: 3px solid #d82536;
    background-image: linear-gradient(30deg, #d82536 8%, transparent 50%);
    background-size: 1190px;
    background-repeat: no-repeat;
    background-position: 0%;
    -webkit-transition: background 300ms ease-in-out;
    transition: background 300ms ease-in-out;
}

    .btn-vocation:hover {
        background-position: 100%;
        color: #d82536;
    }
    .btn-vocation span:after {
        content: '\00bb';
        position: absolute;
        opacity: 0;
        top: 7px;
        left: 25px;
        transition: 1s;
    }

    .btn-vocation:hover span {
        padding-left: 25px;
    }

        .btn-vocation:hover span:after {
            opacity: 1;
            left: 220px;
            top: 24px;
            font-size: x-large;
        }


.persian-number {
    font-family: 'Vazir', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px;
}

 /*==============================vacation step style======================*/
.step {
    border-radius: 50%;
    min-width: 100px;
    min-height: 100px;
    padding: 5px;
    border: 1px solid black;
    background-color: lightgreen;
}

    .step p {
        width: 100px;
        height: 100px;
        text-align: center;
        margin: auto;
        position: relative;
        top: 35px;
    }

.arrow {
    font-size: 50px;
    align-items: center;
    margin-top: 30px;
    margin-right: 5px;
    margin-left: 5px;
}

.status_ {
    background-color: #fff;
}

.status_True {
    background-color: lightgreen;
}

.status_False {
    background-color: orangered;
}
/****************************************************/
[tooltip] {
    position: relative; /* opinion 1 */
}

    /* Applies to all tooltips */
    [tooltip]::before,
    [tooltip]::after {
        text-transform: none; /* opinion 2 */
        font-size: .9em; /* opinion 3 */
        line-height: 1;
        user-select: none;
        pointer-events: none;
        position: absolute;
        display: none;
        opacity: 0;
    }

    [tooltip]::before {
        content: '';
        border: 5px solid transparent; /* opinion 4 */
        z-index: 1001; /* absurdity 1 */
    }

    [tooltip]::after {
        content: attr(tooltip); /* magic! */
        /* most of the rest of this is opinion */
        font-family: iran-sans,Helvetica, sans-serif;
        text-align: center;
        /*
    Let the content set the size of the tooltips
    but this will also keep them from being obnoxious
    */
        min-width: 21em;
        /*max-width: 21em;*/
        /*max-height: 21em;*/
        white-space: normal;
        overflow: visible;
        text-overflow: ellipsis;
        padding: 1ch 1.5ch;
        border-radius: .3ch;
        box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
        background: #000;
        color: #fff;
        z-index: 1000; /* absurdity 2 */
        line-height: 20px;
        text-align: justify;
    }

    /* Make the tooltips respond to hover */
    [tooltip]:hover::before,
    [tooltip]:hover::after {
        display: block;
    }

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}

[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #000;
    left: calc(0em - 5px);
    transform: translate(-.5em, -50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #000;
    right: calc(0em - 5px);
    transform: translate(.5em, -50%);
}

[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translate(0, -50%);
    }
}

/* FX All The Things */
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}

