body {
    font-family: IYRD;
    direction: rtl;
    text-align: right;
    font-weight: 400;
    font-size: 15px;
    background: #f8f9fc;
    color: #858796;
}
a, a:hover, a:focus, input, select, textarea, button {
    text-decoration: none !important;
    outline: none !important;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    color: #333;
}
a {
    color: #464749;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
a:hover {
    color: #007bff;
}
label {
    display: block;
    font-size: 80%;
    color: #666;
}
.custom-checkbox label, .form-check label, .custom-radio label {
    font-size: 100%;
}
select.form-control {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding-left: 30px;
    background: #fff url(img/caret.jpg) no-repeat 10px 50%;
}
.btn {
    font-size: 15px;
    line-height: 36px;
    padding: 0 15px;
    font-weight: 400;
}
.btn-lg {
    padding: 0 1.5rem 0;
    font-size: 17px;
    line-height: 46px;
}
.btn > i {
    position: relative;
    top: 2px;
}
.btn-primary, .btn-warning {
    color: #fff !important;
}
.form-control {
    font-size: 14px;
    padding: 0.45rem 0.75rem 0.375rem;
    height: calc(2.375rem + 2px);
}
.form-control-lg {
    padding: 0.4rem 1rem .5rem;
    height: calc(2.875rem + 2px);
}
.btn-warning {
    color: #fff;
    background-color: #f9a134;
    border-color: #f9a134;
}
.btn-warning:hover, .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
    color: #fff;
    background-color: #e7942c;
    border-color: #e7942c;
}
.btn-group-sm>.btn, .btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}
textarea.form-control {
    height: auto;
    padding: 0.75rem;
}
.dropdown-menu {
    -webkit-box-shadow: 0 0.15rem 1.75rem 0 rgba(58,59,69,.15);
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58,59,69,.15);
    border-color: #e3e6f0;
    border-radius: .35rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    text-align: right;
}
.dropdown-divider {
    border-color: #eaecf4;
}
.dropdown-item {
    font-size: .8em;
    font-weight: 400;
}
.dropdown-item > i {
    color: #ddd;
    margin: 0 0 0 5px;
    width: 1.25em;
    text-align: center;
}
.pushmenu {
    background: #721e76;
    background: linear-gradient(to bottom, #721e76, #893216);
    background: linear-gradient(to bottom, #721e76, #893216);
    width: 15rem;
    height: 100%;
    top: 0;
    z-index: 10;
    overflow: auto !important;
    position: fixed;
    right: 0px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.pushmenu-close {
    display: none;
}
#content-wrapper {
    position: relative;
    margin-right: 15rem;
    padding: 85px 1.5rem 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.topHeader {
    position: fixed;
    top: 0;
    right: 15rem;
    background: #fff;
    width: calc(100% - 15rem);
    z-index: 5;
    -webkit-box-shadow: 0 0.15rem 1.75rem 0 rgba(58,59,69,.15);
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58,59,69,.15);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#userMenu > button {
    padding: 0;
}
#userMenu > button span {
    color: #858796;
    font-size: 13px;
    font-weight: 400;
    text-transform: capitalize;
}
#userMenu > button img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}
#userMenu > button::after {
    display: none;
}
#nav_list {
    margin-top: 0.4rem;
}
.pushmenu.pushmenu-open {
    right: -15rem;
}
.pushmenu-wrap-open #content-wrapper {
    margin-right: 0;
}
.pushmenu-wrap-open .topHeader {
    width: 100%;
    right: 0;
}
.logo {
    position: relative;
    padding: .563rem 1rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
}
.logo img {
    width: 32px;
    height: 32px;
    margin-left: .5rem;
}
.logo span {
    position: relative;
    top: 2px;
}
ul.mobile-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-bottom: 5rem;
}
ul.mobile-menu > li {
    position: relative;
}
ul.mobile-menu > li:after, .logo:after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 1rem;
    width: calc(100% - 2rem);
    height: 1px;
    background: rgba(255,255,255,.15);
}
ul.mobile-menu > li a {
    color: rgba(255, 255, 255, .8);
    padding: 1rem;
    display: block;
    line-height: 1;
}
ul.mobile-menu > li a.navLink:after {
    content: '\f078';
    font-family: FontAwesome;
    font-size: 12px;
    float: left;
    position: relative;
    top: 3px;
    left: 2px;
    color: rgba(255, 255, 255, .5);
}
ul.mobile-menu > li a i {
    margin-left: .3rem;
}
ul.mobile-menu > li a:hover {
    color: #fff;
}
ul.mobile-menu > li > .submenu {
    background: #fff;
    margin: 0 1rem;
    border-radius: .35rem;
    padding: .5rem;
    list-style: none;
}
ul.mobile-menu > li > .submenu li a {
    border-radius: .35rem;
    color: #333;
    padding: .7rem 1rem;
    line-height: 1.4;
    font-size: 14px;
}
ul.mobile-menu > li > .submenu li a:hover {
    background: rgba(0,0,0,.05);
}
ul.mobile-menu > li > .submenu li a.active {
    color: #721e76;
    font-weight: 700;
}
body.formPage {
    background: #721e76;
    background: linear-gradient(to right, #721e76, #893216);
    background: linear-gradient(to right, #721e76, #893216);
    position: relative;
    min-height: 100vh;
}
.userForm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 400px;
    width: 100%;
}
.userFormInner {
    background: #fff;
    padding: 1rem;
    border-radius: .35rem;
}
.userForm .logo {
    text-align: center;
    background: transparent;
}
a.fpass {
    text-align: center;
    display: block;
    font-size: 13px;
}
.pushmenu-wrap-open .pushmenu-close {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 4;
}
@media (max-width:575px) {
    .userForm { padding: 0 1rem; }
}
.userFormInner > h5 {
    margin: 10px 0 10px;
}
@media (max-width:991px) {
    .pushmenu { right: -15rem; top: 49px; }
    .pushmenu.pushmenu-open { right: 0; }
    #content-wrapper { margin-right: 0; }
    .topHeader { width: 100%; right: 0; }
    .pushmenu-wrap-open .pushmenu-close {display: block;}
}
ul.mobile-menu > li.active > a {
    color: #fff;
}
#footer {
    border-top: 1px solid #ddd;
    padding: 1rem 0;
    font-size: 13px;
    margin: 2rem 0 0;
}
.pageTitle h1 {
    font-size: 2rem;
}
.shadow {
    -webkit-box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.15)!important;
    box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.15)!important;
}
.card {
    border-color: #e3e6f0 !important;
}
.border-right-success {
    border-right: .25rem solid #28a745 !important;
}
.border-right-primary {
    border-right: .25rem solid #007bff !important;
}
.border-right-danger {
    border-right: .25rem solid #dc3545 !important;
}
.border-right-info {
    border-right: .25rem solid #17a2b8 !important;
}
.text-gray-300 {
    color: #dddfeb!important;
}
.table th, .table td {
    vertical-align: middle;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03);
}
.table-striped tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.pagination {
    margin: 0;
    padding: 0;
}
.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.page-link {
    font-weight: 700;
    padding: .9rem 1rem .7rem;
}
@media (min-width: 992px) {
    .table .d-lg-block { display: table-cell !important; }
}
@media (min-width: 768px) {
    .table .d-md-block { display: table-cell !important; }
}
@media (min-width: 576px) {
    .table .d-sm-block { display: table-cell !important; }
}
.form-check {
    padding-left: 0;
    padding-right: 1.25rem;
}
.form-check-input {
    margin-top: 0.1rem;
    margin-left: 0;
    margin-right: -1.25rem;
}
.form-check-inline {
    padding-left: 0;
    margin-right: 0;
    margin-left: 0.75rem;
    padding-right: 0;
}
.form-check-inline .form-check-input {
    margin-right: 0;
    margin-left: 0.3125rem;
}
.input-group > .form-control:not(:last-child), .input-group > .custom-select:not(:last-child) {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}
.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text, .input-group > .input-group-prepend:not(:first-child) > .btn, .input-group > .input-group-prepend:not(:first-child) > .input-group-text, .input-group > .input-group-prepend:first-child > .btn:not(:first-child), .input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > .input-group-prepend > .btn, .input-group > .input-group-prepend > .input-group-text, .input-group > .input-group-append:not(:last-child) > .btn, .input-group > .input-group-append:not(:last-child) > .input-group-text, .input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group > .form-control:not(:first-child), .input-group > .custom-select:not(:first-child) {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group-prepend {
    margin-right: 0;
    margin-left: -1px;
}
.custom-control {
    padding-left: 0;
    padding-right: 1.5rem;
}
.custom-control-label::before, .custom-control-label::after {
    left: auto;
    right: -1.5rem;
    top: 0.15rem;
}
.custom-file-label::after {
    right: auto;
    content: "اختر الملف";
    border-left: none;
    border-radius: 0.25rem 0 0 0.25rem;
    left: 0;
    line-height: 1.5rem;
    font-weight: 700;
    border-right: 1px solid #ced4da;
}
.custom-file-label {
    line-height: 1.75rem;
}
.fieldImg {
    position: relative;
    margin-top: 1rem;
    padding-right: 13px;
}
.fieldImg > a {
    position: absolute;
    top: .5rem;
    right: 0;
}
.fieldImg img {
    border-radius: 5px;
}
.custom-select {
    background-position: left 0.75rem center;
    padding: 0.375rem .75rem 0.375rem 1.75rem;
}
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}
.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.card-header h6, .card-header a {
    padding: 1.375rem 1.25rem 1.25rem;
}
.card-header a {
    font-weight: 700;
    color: #333;
    display: block;
    font-size: 1rem;
}
.card-header a i {
    float: left;
    padding-top: 5px;
    opacity: .25;
}
.contContent p+p {
    margin: 1rem 0 0;
}
.repeatField .input-group input, .repeatField .input-group .input-group-append,
.repeatField .input-group textarea {
    margin: 0 0 15px;
}
.repeatField .input-group input, .repeatField .input-group textarea {
    width: calc(100% - 120px);
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-left: -1px !important;
}
.repeatField .input-group button {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

#photos {
    display: table;
    width: 100%;
}
#photos .upphoto {
    margin: 15px 0 0;
    padding: 0 5px;
    width: 10%;
    position: relative;
    float: right;
}
#photos .upphoto img {
    border-radius: 5px;
    width: 100%;
    height: auto;
}
#photos .upphoto .btn {
    color: #fff;
    padding: 2px 5px;
    width: 100%;
}
.upphotoactive img {
    box-shadow: 0 0 0 2px #ef4444;
}
