$light-border:#d7d7d7;
$placeholder: #bdbdbd;
// ------------------------//
@font-face {
    font-family: 'vazir';
    src: url(../fonts/Vazir.ttf);
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Vazir-Medium';
    src: url(../fonts/Vazir-Medium.ttf);
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Vazir-Bold';
    src: url(../fonts/Vazir-Bold.ttf);
    font-weight: normal;
    font-style: normal
}

div,
span,
p,
article,
li,
label,
input,
option,
h4,
h5,
button,
textarea,
td,
th,
strong {
    font-family: vazir;
}

h1,
h2,
h3 {
    font-family: Vazir-Medium;
}

// --------> login page
.login-logo {
    max-width: 100px;
    max-height: 80px;
}

// .login-back {
//     background-image: url('');
//     background-size: cover;
//     width: 100%;
//     height: 100vh;
// }
.app-brand,
.login-titlt,
.login input {
    text-align: center;
}

//<---------------
.main-logo {
    max-height: 50px;
}

.app-brand a {
    padding-right: .5rem !important;
}

.article-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px 15px;
    border: 1px solid #eaeaea;
    margin: 0;
    width: 100%;
}

@media (max-width:600px) {
    .article-header,
    .card-header,
    .top-information {
        display: flex;
        flex-flow: column;
    }
    .article-header h1,
    .article-header button,
    .article-header input,
    .card-header h2,
    .card-header button,
    .top-information>div {
        margin: 10px auto;
    }
}

.article-header h1,
.article-header h2 {
    font-size: 20px;
}

.page-filter {
    display: inline-block;
    width: 250px;
    padding: 10px;
    border: 1px solid $light-border;
    border-radius: 100px;
    text-align: center;
}

.card-img-top {
    max-width: 60%;
    display: block;
    margin: 20px auto;
    max-height: 200px;
    width: auto;
    padding-top: 10px;
}

.item-img-area {
    display: flex;
    min-height: 250px;
    justify-content: center;
    align-items: center;
}

h5.card-title,
.project-update-data span {
    display: block;
    text-align: center;
}

.card-img-container {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-btn-container button {
    margin: 0 3px;
    padding: 0 7px;
    color: #4c84ff;
    background-color: #fff;
    border-color: #d7d7d7;
}

.card-btn-container i,
.card-tools-container i {
    font-size: 25px;
}

.p-3>div {
    width: 21rem;
    max-width: 600px;
}

.row-flex-center {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.project-item {
    margin: 10px 0;
}

.custom-file-label {
    color: #c1c2c2 !important;
}

.custom-file-label {
    color: $placeholder !important;
}

#responsive-data-table_filter input,
#responsive-data-table_length select {
    border-radius: 50px;
}

h2 #hardware-for-project,
h2 #personnel-for-project {
    font-weight: 500;
    font-family: Vazir-Medium;
}

// ----> Project Details Modal
.project-modal img {
    display: block;
    margin: auto;
}

.modal-img-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media(max-width:767px) {
    .modal-img-block {
        margin-bottom: 3rem;
    }
}

#project-detail div input {
    width: 100%;
}

.project-detail-desc,
.project-detail-update,
.project-detail-owner,
.project-detail-tel,
.project-detail-address,
.personnel-detail-desc {
    border: none;
    text-align: right;
    padding: 10px;
    background-color: #e3e3e3;
}

.project-detail-tel {
    text-align: left;
}

.project-detail-desc {
    width: 100%;
    min-height: 110px;
}

.project-detail-address {
    width: 100%;
    height: 50px;
}

//<---------
.btn-counter-area {
    background-color: #e8e8e8;
    padding-left: 5px;
    border-radius: 25px;
    margin: 0 5px;
    min-width: 80px;
}

.btn-counter-area button {
    position: relative;
    right: -2px;
}

.card-footer {
    padding: 0.75rem 0;
}

.card-tools-container {
    float: left;
    display: flex;
    flex-flow: column;
    position: absolute;
    left: 0px;
    background-color: #eee;
    border-radius: 15px;
    padding: 2px;
    margin: 4px;
}

.card-tools-container button {
    opacity: 0.2;
    color: #212a39;
}

.card-tools-container button:hover {
    opacity: 1;
    color: #4c84ff;
}

.card-tools-container i {
    line-height: 1.5rem;
}

.mdi.mdi-delete:hover {
    color: red;
}

.personnel-detail-desc {
    width: 100%;
    height: 215px;
}