@font-face {
    font-family: 'Yekan';
    src: url('../fonts/webyekan/Yekan.eot');
    src: url('../fonts/webyekan/Yekan.eot?#iefix') format('embedded-opentype'),
    url('../fonts/webyekan/Yekan.woff2') format('woff2'),
    url('../fonts/webyekan/Yekan.woff') format('woff'),
    url('../fonts/webyekan/Yekan.ttf') format('truetype'),
    url('../fonts/webyekan/Yekan.svg#Yekan') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir.eot');
    src: url('../fonts/vazir/Vazir.eot?#iefix') format('embedded-opentype'),
    url('../fonts/vazir/Vazir.woff2') format('woff2'),
    url('../fonts/vazir/Vazir.woff') format('woff'),
    url('../fonts/vazir/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, .tooltip, .popover, .card .card-body {
    font-family: "Vazir";
}

.search-input {
    margin-left: 12px;
    position: relative;
    top: -3px;
    border-radius: 5px;
    border: 0;
    padding: 5px;
    width: 200px;
}

.search-input:hover, .search-input:focus {
    border: 0;
    outline: 0;
}

.loading {
    top: 0;
    right: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.80);
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.loader {
    width: 100px;
    height: 100px;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: rotate(45deg) translate(-50%, -50%);
}

.loader::before {
    content: '';
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    top: -50px;
    animation: animloader 4s ease infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    animation: animloader2 2s ease infinite;
}

@keyframes animloader {
    0% {
        box-shadow: 0 50px rgba(255, 255, 255, 0), 50px 50px rgba(255, 255, 255, 0), 50px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
    12% {
        box-shadow: 0 50px white, 50px 50px rgba(255, 255, 255, 0), 50px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
    25% {
        box-shadow: 0 50px white, 50px 50px white, 50px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
    37% {
        box-shadow: 0 50px white, 50px 50px white, 50px 48px white, 0px 48px rgba(255, 255, 255, 0);
    }
    50% {
        box-shadow: 0 50px white, 50px 50px white, 50px 48px white, 0px 48px white;
    }
    62% {
        box-shadow: 0 50px rgba(255, 255, 255, 0), 50px 50px white, 50px 48px white, 0px 48px white;
    }
    75% {
        box-shadow: 0 50px rgba(255, 255, 255, 0), 50px 50px rgba(255, 255, 255, 0), 50px 48px white, 0px 48px white;
    }
    87% {
        box-shadow: 0 50px rgba(255, 255, 255, 0), 50px 50px rgba(255, 255, 255, 0), 50px 48px rgba(255, 255, 255, 0), 0px 48px white;
    }
    100% {
        box-shadow: 0 50px rgba(255, 255, 255, 0), 50px 50px rgba(255, 255, 255, 0), 50px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
}

@keyframes animloader2 {
    0% {
        transform: translate(0, 0) rotateX(0) rotateY(0);
    }
    25% {
        transform: translate(100%, 0) rotateX(0) rotateY(180deg);
    }
    50% {
        transform: translate(100%, 100%) rotateX(-180deg) rotateY(180deg);
    }
    75% {
        transform: translate(0, 100%) rotateX(-180deg) rotateY(360deg);
    }
    100% {
        transform: translate(0, 0) rotateX(0) rotateY(360deg);
    }
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.4rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #495057;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #d2d6da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: 0.2s ease;
}

.form-control:focus {
    border: 1px solid #6b6f70;
}

label, .form-label {
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    color: #7b809a;
    margin-top: 0.5rem;
    margin-right: 0.25rem;
}

.select2-container {
    box-sizing: border-box;
    display: block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    font-size: 0.875rem;
    color: #495057;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #d2d6da;
    border-radius: 4px;
    color: #495057;
    height: 38px;
    padding-top: 5px;
}

.form-control[disabled] {
    padding: 0.4rem !important;
    line-height: 1.45 !important;
}

.small-add-login {
    /*width: 500px;*/
    /*background: #8a8a8a;*/
    /*margin: 50px auto;*/
    /*padding: 15px;*/
    /*text-align: center;*/
    /*color: white;*/
}

.big-add-login{
    /*width: 200px;*/
    /*height: 200px;*/
    /*background: #8a8a8a;*/
    margin: 50px auto;
    /*text-align: center;*/
    /*color: white;*/
    /*line-height: 12;*/
}

.small-add-main {
    /*width: 500px;*/
    /*background: #8a8a8a;*/
    position: fixed;
    bottom: 0;
    right: 50%;
    z-index: 99;
    /*padding: 15px;*/
    /*text-align: center;*/
    /*color: white;*/
    transform: translate(50%);
}

.config-page-phone-btns{
    width: 400px;
    height: 300px;
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
    display: block;
    overflow: auto;
    height: calc(100vh - 200px);
}

