﻿@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Vazir.ttf");
    src: local('Vazir'), local('Vazir'), url("../fonts/Vazir.eot") format('eot'), url("../fonts/Vazir.ttf") format('truetype');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Vazir-Bold.ttf");
    src: local('Vazir Bold'), local('Vazir-Bold'), url("../fonts/Vazir-Bold.ttf") format('truetype');
}

@font-face {
    font-family: 'yekan';
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Yekan.ttf");
    src: local('yekan'), local('yekan'), url("../fonts/Yekan.eot") format('eot'), url("../fonts/Yekan.ttf") format('truetype');
}

html,
body {
    height: 100%;
    font-family: 'Vazir', 'yekan', Tahoma, sans-serif;
    font-size: 13px;
    text-align: right;
    background-color: #ecf0f5;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 0;
    padding-bottom: 10px;
}

.card-body {
    padding: 0.5rem;
    
}

button,
input,
optgroup,
select,
textarea {
    font-family: 'Vazir', 'yekan', Tahoma, sans-serif;
    font-size: 13px;
}

.layout-boxed html,
.layout-boxed body {
    height: 100%;
}
.body-content {
    padding: 0;
    background-color:white;
}
.dl-horizontal dt {
    white-space: normal;
}
input,
select {
    max-width: 280px;
}
select{
    height:36px !important;
}
.longinput {
    max-width: 100% !important;
}
.navbar-dark .navbar-nav .nav-link {
    color: RGBA(255, 255, 255, 0.8);
    margin-right: 5px;
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 3px #333;
}
.navbar-brand {
    margin-right: 1rem;
    margin-left: 1rem;
}
#topbar {
    margin-top: 5px;
    margin-bottom:5px;
}
.dropdown-item:hover {
    background-color: rgb(219, 219, 219);
}
.ltrfield {
    direction: ltr;
}
.ltrfieldEng {
    direction: ltr;
    text-align:left;
    font-family:Arial;
}
.card-header.note-toolbar .dropdown-menu {
    min-width: 150px;
    direction: ltr;
    text-align: left;
}
.note-toolbar {
    direction: ltr;
    text-align: left;
}
.note-editor.note-frame.codeview .note-editing-area .note-codable {
    display: block;
    direction: ltr;
}
.onerow-cell {
    display: table-cell;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.loader {
    border: 12px solid #f3f3f3; /* Light grey */
    border-top: 12px solid blue;
    border-bottom: 12px solid blue;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.modal-footer {
    justify-content: flex-start;
}

.list-group-item {
    padding: .5rem 1rem;
}

.alert-dismissible .close {
    padding: .75rem 2rem;
}
.BrandLogo{
    max-width:100px;
    max-height:100px;
}
.main-footer {
    padding: 20px 0px 10px 0px;
    margin-top: 0px;
    background-color: #2d6a8e;
    color: #ddd;
}
.main-footer a {
    color: #ddd;
}
.main-footer a:hover {
    color: #ddd;
    text-decoration: none;
}
.main-footer a:visited {
    color: #ddd;
}
.iconic-btn {
    margin-bottom:15px;
}
.iconic-btn a {
    padding: 8px;
    font-weight: bold;
}
.iconic-btn a:hover {
    color:white;
    text-decoration: none;
}
.btn-primary {
    color: #fff;
    background-color: #2C7CB0;
    border-color: #2C7CB0;
}
.btn-primary:hover {
  color: #fff;
  background-color: #276D9B;
  border-color: #276D9B;
}

/*.navbar-toggler {
    background-color: #ffc107;
    color: #212529;
}*/
.navbar-dark .navbar-toggler {
    color: white;
    border-color: rgba(255,255,255,.1);
    line-height:inherit;
}
.table-responsive {
    direction: ltr;
}
.table-responsive > table {
    direction: rtl;
    max-width: none;
    -webkit-overflow-scrolling: touch !important;
}