﻿body:before {
    background: url(/assets/images/circle.png);
    background-position: center 50%;
    background-size: cover;
    background-repeat: no-repeat;
    left:0;
}
@media screen and (max-width: 768px) {
    body:before {
        background: none;
    }
} 
.card .card-body {
    padding: 1.5rem;   
}
.badge {
    border-radius: 30px 5px;
}
.app-footer {
    position: absolute;
    bottom: 15px;
    left: 0;
}
.sidebar-wrapper,
.card {
    -webkit-border-radius: 90px 10px 55px 10px;
    -moz-border-radius: 90px 10px 55px 10px;
    border-radius: 90px 10px 55px 10px;
}
.sidebar-wrapper {
    width: 0;
    transition: all 1s;
}
.sidebar-wrapper.load {
    width: 210px;
}
.header-actions>li .user-settings span.user-name {
    max-width: none;
}
.card .card-header .card-title {
    font-size: 1.5rem;
}
.form-label,
.form-control,
.form-select {
    font-size: 1rem;
}
/* sidebar wrapper edit start */
.modal .modal-header .btn-close {
  background: url(../img/cancel.png) center/1em auto no-repeat;
}
.sidebar-wrapper .sidebar-brand .logo img {
    max-height: 100px;
}
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu {
    box-shadow: inset 0px 0px 7px 0px rgb(211 208 225); 
}
.sidebar-wrapper .sidebar-menu .sidebar-dropdown>a:after {
    display: none;
}

.sidebar-wrapper .sidebar-menu ul li a {
    flex-direction: row;   
    gap: 10px;
}

.sidebar-wrapper .sidebar-menu ul li a i {
    display: inline-flex;        
}

.sidebar-wrapper .sidebar-menu ul li a:hover,
.sidebar-wrapper .sidebar-menu ul li.active > a {
    border-left: 5px solid #efad15;
    border-right: 5px solid #efad15;
    border-radius: 7px;
}
/* sidebar wrapper edit end */
/* Fix RTL Start */
html {
    direction: rtl;   
}
.sidebar-wrapper {
    left: 0;
    right: 20px;  
    height: calc(100vh - 35px);
}
.main-container {
    padding: 0 230px 0 0;   
}
.header-actions-container {
    margin-right: auto;
    margin-left: unset;
}
.header-actions {
    margin-right: 0.725rem;
    margin-left: unset;
}
.leads {
    margin: 0 1.5rem 0 0;
}
.leads span.lead-icon i {
    margin: 0 5px 0 0;
}
.leads span.lead-icon .dot {
    left: 0;
    right: unset;
}
.search-container .input-group .btn {
    left: 5px;
    right: unset;
}
@media screen and (max-width: 1024px) {
    .page-wrapper .sidebar-wrapper {
        right: -280px;
    }
}
@media screen and (max-width: 1024px) {
    .page-wrapper .main-container {
        padding: 0;
    }
    .page-wrapper.toggled .sidebar-wrapper {
        right: 10px;
    }
}
/* Fix RTL End */
/* Button start */
.button {
  align-items: center;
  appearance: none;
  background-color: #f3f2f7;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395A;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}
.button:focus {
  box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
  background: #f7f6f7;
}
.button:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
  transform: translateY(-2px);
  background: #f7f6f7;
}
.button:active {
  box-shadow: #D6D6E7 0 3px 7px inset;
  transform: translateY(2px);
  background: #f7f6f7;
}
/* Button end */
/** start table pageing ***********************************/
.pagination {
  line-height: 26px;
  display: table;
}

.pagination tr[valign="bottom"] span {
    padding: 5px;
    border: solid 1px #7292bc;
    text-decoration: none;
    border-radius: 10px;
    white-space: nowrap;
    background: #eff3f4;
}

.pagination tr[valign="bottom"] a,
.pagination tr[valign="bottom"] a:visited {
  text-decoration: none;
  padding: 6px;
  white-space: nowrap;
}

.pagination tr[valign="bottom"] a:hover,
.pagination tr[valign="bottom"] a:active {
  padding: 5px;
  border-radius: 10px;
  border: solid 1px #7292bc;
  text-decoration: none;
  white-space: nowrap;
  background: #baceea;
}

.table-responsive .table>:not(caption)>*>* {
  padding: 0.55rem 0.85rem;   
}
/** end table pageing ***********************************/
 /** start Table **/
.table-responsive
{
    margin-top: 20px;
    margin-bottom: 20px;    
    border-radius:0.5rem;
}

.table-responsive tr {
   /* border-bottom: 1px solid #EAE4D6; */
    border-left: 1px solid #EAE4D6;
}

.table-responsive th,
.table-responsive td {
 border-left: 1px solid #16598b29;
}

.table-responsive th,
.table-responsive td {
    padding: 5px;
 }
 
 .dataTable th {
    text-align: center!important;    
 }
 
.table-responsive tbody input[type="button"] {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    user-select: none;
    border: 1px solid #16598b;
    padding: .2rem .9rem;
    margin: 2px;
    font-size: .9rem;
    border-radius: .15rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #16598b;
    background-color: #eff3f4;
    box-shadow:  0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075), 2px 2px 6px rgba(219,206,206,.5);
 }

 .table-responsive table {
    /*border-color: var(--top-bckgrd-color) !important;*/
    padding-bottom: 10px;
}
/* 
.table-responsive table tbody tr:nth-child(1) {
    background-color: var(--top-bckgrd-color) !important;   
}

.table-responsive table tbody tr:not(:nth-child(1)) {
    background-color: var(--beige-color) !important;   
}
 */
 .table-responsive tbody input[type="button"]:hover,
.table-responsive tbody input[type="button"]:active,
.table-responsive tbody input[type="button"]:focus {
    color: #fff;
    background-color: #4992A3;
    border-color: #3BA7FF;
 }
 /** end Table **/
 /* start for profiles page */
.user-img-div {
    min-width: 92px;
    max-width: 150px;  
}
.profile-nav.nav-tabs{
 border: none;
 padding-right: 1rem;
}

.tab-content{
 padding: 0;
}

.profile-nav .nav-link {
   color: #16598b;
   font-size: 1.1rem;
}

.profile-nav.nav-tabs .nav-item.show .nav-link,
.profile-nav.nav-tabs .nav-link.active {
    background-color: transparent;
    border: none;
    padding-right: 2rem;
    color: #609bd4;
}
.profile-nav.nav-tabs .nav-link {
    border: none;
 }
 
 .back-btn {
     right: 15px;
     top: 0;
 }
 .profileId {
    border-radius: 21px 7px;
 }
 .div-new-btn {
     left: 25px;
     top: 30px;
}

.new-btn:hover {
     color: #16598b;
}
 
 .new-btn {
  position: relative;
  padding: 0 15px;
  display: block;
  overflow: hidden;
  border-radius: 40%;
}

.new-btn span {
  position: relative;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  font-family: Arial;
  z-index: 1;
}

.new-btn .liquid {
  position: absolute;
  top: 0;
  left: 0;
  width: 65px;
  height: 86px;
  background: #87d1e6;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .5);
  transition: .5s;
}

.new-btn .liquid::after,
.new-btn .liquid::before {
  content: '';
  width: 180%;
  height: 130%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
  background: #000;
}

.new-btn .liquid::before {
  
  border-radius: 40%;
  background: rgb(186 218 226);
  animation: animate 5s linear infinite;
}

.new-btn .liquid::after {
  
  border-radius: 35%;
  background: rgb(119 142 148);
  animation: animate 10s linear infinite;
}

.new-btn:hover .liquid{
  top: -35px;
}

@keyframes animate {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}
/* end for profiles page */   
/* loading start */
.loading-layer {
    /*display: none;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999999999999999999;
}

.preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeLogo 2s cubic-bezier(0.4, 0, 1, 1) infinite;
}
/*@keyframes fadeLogo {
    from {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}
 loading end */
    
    
   
/*********************************   Test   *********************************/
/* Style Inputs    ********************************** */
.rectangle-text {
    /* width: 200px; */
    height: 31px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.color-text {
    font-family: 'Bahij TheSansArabic';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 40px;
    color: #083F4D;
}

.form__group {
  position: relative;
  padding: 15px 0 0;
  margin-top: 10px;
  width: 100%;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #083F4D;
  outline: 0;
  font-size: 1.3rem;
  color: #000;
  padding: 7px 10px;
  background: transparent !important;
  transition: border-color 0.2s;
  box-shadow: rgb(0 0 0 / 1%) 0px 20px 20px 0px inset;
  border-radius: 10px;
}

.form__field::placeholder {
    color: transparent;
  }

.form__field:placeholder-shown ~ .form__label {
    font-size: 1.1rem;
    cursor: text;
    top: 28px;
}

.form__label {
  position: absolute;
  top: -5px;
  right: 0px;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  /* color: #9b9b9b; */
}

.form__field:focus ~ .form__label {
        position: absolute;
        top: -8px;
        right: 8px;
        display: block;
        transition: 0.2s;
        font-size: 1rem;
        color: #011827;
        font-weight:700;    
      }
      
.form__field:focus{
  padding-bottom: 6px;  
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(to right, #4992a3, #000);
  border-image-slice: 1;
  border-radius: 0;
}

.form__field:hover {
    box-shadow: rgb(0 0 0 / 6%) 0px -50px 20px -28px inset;    
}

input[type="date"] {
 cursor:pointer ;   
}

/*
input[readonly="readonly"] {
    background-color: #f5f7f9 !important; 
}

.disabled:hover,
.disabled:focus {   
    box-shadow: none;
}
*/

/* Style input file */
input[type="file"] {
    margin-top: 15px;    
}
input::file-selector-button {
  background-image: linear-gradient(
    to right,
    #70AAB8,
    #92BCC7,
    #70AAB8 100%,
    #92BCC7 170%
  );
  background-position-x: 0%;
  background-size: 170%;
  border: 0;
  border-radius: 8px;
  color: #083F4D;
  padding: 0.5rem 0.75rem;
  text-shadow: 0 1px 1px #333;
  transition: all 0.25s;
  cursor: pointer;
}

input::file-selector-button:hover {
  background-position-x: 70%;
  border-radius: 12px;
}

input[disabled="true"],
select[disabled="true"] {
    background-color: #f3f2f7 !important;  
}
/* end inputs */
/* start search box */
.search__input {
	 width: 100%;
	 padding: 12px 24px;
	 transition: transform 250ms ease-in-out;
	 font-size: 14px;
	 line-height: 18px;
	 color: #575756;
	 background-color: transparent;
	 background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
	 background-repeat: no-repeat;
	 background-size: 18px 18px;
	 background-position: 95% center;
	 border-radius: 50px;
	 border: 1px solid #575756;
	 transition: all 250ms ease-in-out;
	 backface-visibility: hidden;
	 transform-style: preserve-3d;
	 direction: ltr;
}
 .search__input::placeholder {
	 text-transform: uppercase;
	 letter-spacing: 1.5px;
}
 .search__input:hover, .search__input:focus {
	 padding: 12px 0;
	 outline: 0;
	 border: 1px solid transparent;
	 border-bottom: 1px solid #575756;
	 border-radius: 0;
	 background-position: 100% center;
}
/* end search box */
