body {
  background-color: #e5e9ec;
}
.header-section, .content-section {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
/*
  disbale resizeablity for all textareas
*/
textarea {
  resize: none;
}
/*end*/
.btn-success.disabled:active, .btn-success.disabled:focus, .btn-success.disabled:hover {
  background-color: #0082d4;
}
.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    background-color: rgba(255, 255, 255, 0.5);
    top: 0;
    /*  opacity: 0.6;*/
    display: none;
    text-align: center;
}
.loadingimage {

    color: #0aa699;

    position: fixed;
    top: 300px;
    left: 50%;
    font-size: 20px!important;
}
.disabled {
  pointer-events: none;
}
.btn {
  font-size: 1.5vmax;
  padding: 0.5vmax 2vmax;
}
.btn-small {
  font-size: 11.9px;
  padding: 0 5px;
}
.horizontal-menu .page-content .content {
  padding-top: 127px;
}
.margin-bottom{
    margin-bottom: 10px;
}
.gmap-control-container {
    margin: 5px;
}
.p-b-0 {
  padding-bottom: 0 !important;
}
.m-0 {
  margin: 0;
}
.m-b-0 {
  margin-bottom: 0;
}
.m-t-0 {
  margin-top: 0;
}
.m-20 {
    margin: 20px;
}

.m-r-2 {
  margin-right: 2px;
}
.w-100 {
  width: 100%;
}
.f-s-20 {
  font-size: 20px !important;
}
.f-s-15 {
  font-size: 15px !important;
}
.f-s-17 {
  font-size: 17px !important;
}
.tiles.theme-red {
  background-color: #B12441;
}
.request-red-color {
  color: #f35958;
}
.page-sidebar.mini .bottom_up ul.sub-menu {
  margin-top: 0;
  bottom: 0;
  top: auto;
}
.gmap-control {
    cursor: pointer;
    background-color: -moz-linear-gradient(center top , #FEFEFE, #F3F3F3);
    background-color: #FEFEFE;
    border: 1px solid #A9BBDF;
    border-radius: 2px;
    padding: 4px 8px;
    line-height: 160%;
    font-size: 12px;
    font-family: Arial,sans-serif;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.gmap-control:hover {
    border: 1px solid #678AC7;
}
.gmap-control-active {
    background-color: -moz-linear-gradient(center top , #6D8ACC, #7B98D9);
    background-color: #6D8ACC;
    color: #fff;
    font-weight: bold;
    border: 1px solid #678AC7;
}
.gmap-control-legend {
    position: absolute;
    text-align: left;
    z-index: -1;
    top: 28px;
    right: 0;
    width: 150px;
    height: auto;
    font-size: 10px;
    background: #FEFEFE;
    border: 1px solid #A9BBDF;
    padding: 10px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
}
.gmap-control-legend ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.gmap-control-legend li {
    line-height: 160%;
}
#mapModal .modal-dialog {
    width: 80%;
}
.map-control-btns .btn {
    background-color: #60768d;
}
.map-control-btns .btn.active {
    background-color: #1f3853;
}
.control .map-check{
    padding: 10px;
}
.control .map-check label{
    font-size: 16px; font-weight: 500;
}
.control .map-check input{
    margin-right: 5px;
}
fieldset {
    border: 1px solid #e5e5e5;
}
.switch-control .link{
    color: #505458;
    margin: 10px;
    font-weight: 300;
    font-size: 24px; 
    line-height: 30px;
}
.switch-control .link.active{
    border-bottom: 4px solid #0aa699; 
}
.switch-control .link:hover{
    border-bottom: 4px solid #0aa699; 
}
.list-link{
    text-decoration: underline;
}
.gmap-search-control {
  margin-top: 10px;
  border: 1px solid transparent;
  border-radius: 2px 0 0 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 32px;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#gmap-search-input {
  background-color: #fff;
  font-family: Roboto;
  font-size: 15px;
  font-weight: 300;
  margin-left: 12px;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 300px;
}

#gmap-search-input:focus {
  border-color: #4d90fe;
}

.pac-container {
  font-family: Roboto;
}

#type-selector {
  color: #fff;
  background-color: #4d90fe;
  padding: 5px 11px 0px 11px;
}

#type-selector label {
  font-family: Roboto;
  font-size: 13px;
  font-weight: 300;
}
.select2-container--default .select2-selection--multiple,.select2-container--default .select2-selection--single {
  border: 1px solid #e5e9ec !important;
  border-radius: 2px; 
}
.select2-container--default .select2-selection--single{
  height: 16px;
  line-height: 15px;
  min-height: 37px;
  outline: 0 none;
  padding: 6px 11px !important;
}
.select2-search.select2-search--inline input{
  width: -moz-fit-content !important;
}

/* Style for listing actions menu */
.quick-section form button,.quick-section form{
    width: -moz-available;
}
.nav.quick-section {
  -webkit-padding-start: 0;
  padding-right: 0;
}
.quick-section form {
  display: block;
  width: 96%;
}
.quick-section form button{
    border-radius: 3px;
    color: #2a2e36;
    line-height: 25px;
    margin: 0 4px;
    text-align: right;
    /*padding: 3px 20px;*/
    padding: 3px 13px 3px 20px;
    border: none;
    background: none;
    font-size: 13px;
    display: block;
    width: 100%;
}
.quick-section form button:hover{
    color: #1b1e24;
    text-decoration: none;
    background-color: #eff2f3;
    background-image: none;
}
.quick-section .actions #gear-icon{
    padding: 2px !important;
    font-size: 15px;
}
.quick-section .actions #gear-icon:hover,.quick-section .actions #gear-icon:focus,.quick-section .actions #gear-icon:active{
    background: none !important;
}
.at-top {
  top: auto !important;
  bottom: 30px !important;
}
.at-bottom {
 top: auto !important;
}
/*.custom-listing-menu:after{
    border-bottom: 6px solid white;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: "";
    display: inline-block;
    position: absolute;
    right: 25%;
    top: -6px;
}*/
.custom-listing-menu{
  padding-bottom: 3px;
}
.custom-listing-menu.left{
  left: auto !important;
  right: 0 !important;
}
.listing-icon {
  /*width: 50px;
  height: 50px;*/
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 100px;
}
/*.custom-listing-menu.pointer-left:after{
    border-bottom: 6px solid white;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: "";
    display: inline-block;
    position: absolute;
    left: 6%;
    right: auto;
    top: -6px;
}*/
.country-flag {
  width: 40px;
  height: 30px;
}

.cover-btn {
  background:none!important;
   border:none; 
   padding:0!important;
   font: inherit;
   /*border is optional*/
   font-size: 30px;
   cursor: pointer;
}  
.page-sidebar {
  padding-bottom: 100px;
}

.actions-container {
  height: 35px;
}


.wizard-wraper .form-actions {
  margin-bottom: 0;
}
.location_time_box{
    border: 1px solid #e5e9ec;
    /*margin-left: 15px;*/
    margin-bottom: 8px;
}
/*
  Change select2 direction rtl
*/
.select2-rtl .select2{
  direction: rtl;
}
.select2-rtl .select2-selection__arrow{
  /*right: 90% !important;*/
  /*left: 1 !important;*/
}


button.close{
  outline: none; 
}


/* Family tree related styles */

.latif-node {
  font-size: 17px;
}
.nodeid-text {
  text-decoration: underline;
  cursor: pointer;
}
.male-color {
  color: #00bcf5 !important;
}

.male-dead-color {
  color: #57a1e7 !important;
}

.female-color {
  color: #bd0fe1 !important;
}

.female-dead-color {
  color: #cf88dd !important;
}
.active-color {
  color: #19937F;
}
.name-bold {
  font-weight: lighter;
  color: #282323;
}
.node-image-round-box {
  height: 60px;width: 60px;display: block; border: 1px solid #00b3ee; border-radius: 50px
}
.node-image-round-box.square-box {
  border-radius: 0;
}
.node-image-round-box.male{
  border-color: #00b3ee;
}
.node-image-round-box.female{
  border-color: #BD0FE1;
}
/* Daleel detail*/
.daleel-detail-icon-container {
  text-align: center;
}
.daleel-detail-icon-container .icon-round {
  /*width: 70px;*/
  /*height: 55px;*/
  /*border-radius: 50px;*/
  /*padding: 10px;*/
  margin-bottom: 5px;
}
.daleel-detail-icon-container .icon-round img {
  display: block;
  height: 60px;
  max-width: 100%;
}
.icon-round.border {
  border: 1px solid #8B572A;
}
/*.icon-round.active {
  background-color: #646464;
  border: 1px solid #fff;
  border-color: green;
}*/
.daleel-detail-icon-container .border-right {
  border-right: 1px solid #979797;
}

.daleel_profile_box {
  border: 1px solid #979797;
  padding: 20px 10px;
}

.daleel-profile-picture-square {
  border: 2px solid #00b3ee;
  /*width: 160px;*/
  width: 180px;
  height: 180px;
  overflow: hidden;
  margin-left: 15px;
  /*display: flex;*/
  /*justify-content: center;*/
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
    
}
.daleel-profile-picture-square.no-border{
  border: none;
}
.daleel-profile-picture-square.male{
  border-color: #00b3ee;
}
.daleel-profile-picture-square.female{
  border-color: palevioletred;
}
.daleel-profile-picture-round {
  border: 2px solid #979797;
  /*border-radius: 50%;*/
  width: 165px;
  height: 165px;
  overflow: hidden;
  margin-top: 20px;
  margin-left: 15px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /*display: flex;*/
  /*justify-content: center;*/
}
.daleel-profile-picture-round.no-border {
  border: none;
}
.daleel-profile-picture-round.male{
  border-color: #00b3ee;
}
.daleel-profile-picture-round.female{
  border-color: palevioletred;
}
.daleel-profile-picture-round img,.daleel-profile-picture-square img {
  /*flex: none;*/
}
.daleel-tree-info {
  display: inline-block;
  font-size: 20px;
}
.daleel-tree-icon {
  display: inline-flex;
}
.info-modal {
  padding: 50px; background: #fff;
  /*direction: ltr;*/
  text-align: center;
  font-size: 17px;
}

.daleel-user-status-bar {
    color: #fff;
    height: 50px;
    padding: 7px;
    text-align: center;
}
.daleel-user-status-bar h4{
  display: inline-block;
  color: #fff;
  margin: 7px 0;
}
.daleel-user-status-bar .status-bar-btn {
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 0;
  color: #fff;
  padding: 7px 18px 9px;
  font-family: "Open Sans";
}
.daleel-user-status-bar .status-bar-btn:focus {
  /*color: */
}
.daleel-user-status-bar.disabled {
  background-color: #D0011B;
}
.daleel-user-status-bar.locked {
  background-color: #DE8D1D;
}
.disabled-link {
  pointer-events: none;
  opacity: 0.5;
}

.daleel-listing-node .daleel-listing-node-name {
  font-size: 16px;
}
.daleel-listing-node .nodeid-text {
  font-size: 16px;
}
.daleel-listing-node .listing-icons img {
  height: 25px;
}
/* Daleel permistions*/
.daleel-public{
  background-color: #59BEAC !important;
}
.daleel-public-text{
  color: #FFF !important;
}
.daleel-hidden{
  background-color: #D0011B !important;
}
.daleel-hidden-text{
  color: #FFF !important;
}
.daleel-family{
  background-color: #186FD6 !important;
}
.daleel-family-text{
  color: #FFF !important;
}
.permissions_select{
  width: 100px;
}
/*Profile POPUP*/
#daleelProfilePopup .modal-body{
  background-color: #fff;
}
#daleelProfilePopup p{
  font-size: 16px;
}
.daleel-profile-popup{
  width: 125px;
  height: 125px;
  margin: 0;
}

.daleel-inline-filter{
    width: 13%; display: inline-block;margin-right: 7px;
}
.daleel-inline-filter .select2 {
  display: block;
  /*bottom: 2px;*/
}
/*
*
*   FAMILY TREE STYLE CUSTOMIZATION
*
*/
/* END family tree styles*/

tfoot th {
  border:  none !important;
}

    

.horizontal-menu .bar-inner > ul > li > .classic {
    margin: 0;
    padding: 0;
    position: absolute;
    background-color: #fff;
    list-style: none;
    left: 0;
    /*right: -93px;*/
    min-width: 115px;
    max-height: 0;
    overflow: hidden;
    /*-webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;*/
    -webkit-transition: none !important;
    transition: none !important;
}


.horizontal-menu .bar-inner > ul > li > .myClassic {
    
    min-width: 223px;
    
}
.horizontal-menu .bar-inner > ul > li.open > .classic {
  max-height: 40vmax;
  overflow-y: scroll;
}
.dataTables_info{
  float: left !important;
}
.dataTables_paginate{
  float: left !important;
  margin-top: 10px !important;
}




.fa-chevron-right:before {
    content: "\f053";
}

.fa-chevron-left:before {
    
    content: "\f054";
}

div.dataTables_info {
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 12px;
    float: right;
    display: inline-block;
    padding-right: 11px;
    padding-left: 14px;
    border-left: 1px solid #cecece;
    border-right: none;
    margin-top: 10px;
}

.grid.simple .grid-body.no-border.children-grid {
    border: 0px;
    padding-top: 40px;
}

.child-name-btn {
  margin-top: -35px;
}

.grid.simple .grid-body.no-border.sibling-grid {
    border: 0px;
    padding-top: 48px;
}
.sibling-name-btn {
  margin-top: -48px;
  margin-left: -49px;
  margin-bottom: 10px;
    float: left;
}

.grid.simple .grid-body.no-border.familymember-grid {
    border: 0px;
    padding-top: 0px;
}
.familymember-name-btn {
  margin-top: -48px;
  margin-left: -49px;
   margin-bottom: 10px;
    float: left;
}



.not-active {
   pointer-events: none;
   cursor: default;
}

.select2-container{
  width: 230px;
}

.widget-stats .item-count {
    font-size: 38px;
    color: #ffffff;
    display: block;
    font-weight: 500;
}

.widget-stats .wrapper.transparent {
    border-right: none; 
}

.widget-stats .wrapper {
    margin: 5px 0 5px 0;
     border-right: none; 
    margin-right: 7px;
    padding-right: 7px;
}

.move-right{
  margin-left: 3px;
}

.text-blue{
  color:  #1E90FF;
}

.text-pink{
  color: #FF00FF;
}

/* Layout */
.page-container {
  height: 100%;
}


.widgets-border-left {
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.widget-stats {
    padding-left: 15px;
    display: inline-block;
}


ul, menu, dir {
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}

@media screen and (min-width: 2530px) {
  
   #searchbar2,#searchbar3,#searchbar4,#searchbar5,#searchbar6{ width: 320px; }
      #GenderDropdown{
        width: 320px;
      }
}


@media screen and (min-width: 1440px) and (max-width: 1920px) {
   #searchbar2,#searchbar3,#searchbar4,#searchbar5,#searchbar6{ width: 220px; }
      #GenderDropdown{
        width: 220px;
      }
      #fm_searchbar1{
        width: 80px;
      }
      #fm_searchbar2{
        width: 90px !important;
      }
      #fm_searchbar3,#fm_searchbar4,#fm_searchbar5,#fm_searchbar6,#fm_searchbar7,#fm_searchbar8,#fm_searchbar9
    {
      width: 80px;
    }
    
    #fm_searchbar12,#fm_searchbar13{
      width: 70px !important;
    }
    
}
@media screen and (min-width: 1025px) and (max-width: 1280px) {

    #fm_searchbar12,#fm_searchbar13{
      width: 70px !important;
    }
     #searchbar2,#searchbar3,#searchbar4,#searchbar5,#searchbar6{ width: 194px; }
      #GenderDropdown {
          width: 194px;
      }
       #fm_searchbar2{
        width: 90px !important;
       }
       #fm_searchbar1{
        width:  98px;
       }
   #fm_searchbar3,#fm_searchbar4,#fm_searchbar5,#fm_searchbar6,#fm_searchbar7,#fm_searchbar8,#fm_searchbar9
    {
      width: 98px;
    }

    #sibling_searchbar2,#sibling_searchbar3{ width: 194px; }
  
}

 .horizontal-menu .bar-inner > ul > li {
    display: inline-block;
    padding: 10px 15px;
    font-family: Helvetica;
    font-size: large;
    vertical-align: middle;
}

.table td {
    border-top: 1px solid #e8edf1;
    vertical-align: top;
    padding: 11px 12px !important;
    color: #576475;
    font-size: 17px;
    font-weight: lighter;
    font-family: SANS-SERIF;
}

body {
    direction: rtl;
    color: black;
    font-family: SANS-SERIF;

    font-size: 13px;
    padding: 0px !important;
    margin: 0px !important;
    line-height: 1.5;
    font-style: normal;
    font-weight: lighter;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    overflow-y: scroll !important;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
    text-align: center;
}
.wizard-steps li {
  direction: ltr;
  pointer-events: none; /* disable click event for simplicity*/
}

.form-actions {
  margin-left: -13px !important;
  margin-right: -13px !important;
  padding-bottom: 13px !important;
}

.dataTable thead {
  
  color: white;
}



.form-control.input-medium{
  margin-left: auto !important;
}

.nav.quick-section  {   
    -webkit-margin-before: inherit !important;
}
.wizard-steps li .title {
  z-index: 49 !important;
}
.btn-link:focus {
  outline: none;
}
.input-group-addon:first-child{
  border-radius: 0px 6px 6px 0px;
}

.pace .pace-activity {
    top: 72px;
    border-top-color: #0aa699;
    border-left-color: #0aa699;
    left: 15px;
    right: auto;
    display: none;
}

.grid-title .tools, .grid-title .actions {
    display: inline-block;
    padding: 0;
    margin: 0;
    margin-top: 6px;
    float: none; 
}

.th-padding > thead > tr > th {
  padding: 11px;
  font-size: larger;

}

div.dataTables_filter label input {
    margin-left: 0px;
}

div.dataTables_length .select2-container{
  width: 77px !important;
}


.markaction .btn {
 
    font: 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
     padding: 9px 11px;
     font-weight: bold;
}



.modal-footer .btn{
  font: 17px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.btn{
font: 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    
     font-weight: bold;
}

label, input, button, select, textarea {
    font-size: 14px;
    font-weight: normal;
    /*line-height: 30px;*/
}

.labels-align-verticle label {
    margin-top: 10px;
}

.table th {
    border-top: 1px solid #e8edf1;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: bold;
    font-family: Helvetica;
    text-align: center;
    text-transform: uppercase;
    
    
}



 

.grid.simple .grid-body.no-border {
    border: 0px;
    padding-top: 0px;
    /*margin-top: -20px;*/
}


.grid.simple .grid-body {
    background-color: #ffffff;
    padding: 15px;
    border: 1px solid #dddddd;
    color: #6f7b8a;
}

.dataTable th{
    background-color: #AE2540;
}


.datatable_from_edit th{
  background-color: #AE2540;
}

.dataTables_scrollFoot{
  background-color: #AE2540;
}
.datatable-filter-row th{
  background-color: #CF9BA5;
}

.dataTables_scrollHead{
  background-color: #CF9BA5;
}

@media (min-width: 970px) { 
  .credentialsBtn{
    margin-bottom: 10px;
  }
}
@media (max-width: 750px) { 
  .credentialsBtn{
    margin-bottom: 0;
  }
}

.arabic_font{
  font-size: 26px !important;
}

.nav-tabs > li.active > a, .nav-tabs > li.active span{
    font-weight: bold; 
  }

/*select2 related css */
.select2-selection__rendered,.select2-results__options {
  font-weight: bold;
  /*text-align: center;*/
}

table.table thead .sorting_asc,table.table thead .sorting_desc{background-color: #AE2540; color: white;}

.grid-title h4 i {
    font-size: 30px;
    margin-left: 5px;
    color: #666;
}

.grid-title h4 span {
   
    margin-top: -25px;
        vertical-align: top;
 
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 23px !important;
}

.daleel-detail-siblings-font {
  font-size: 19px !important;
}

.daleel-detail-siblings-node-font {
  font-size: 20px !important;
  font-weight: bold !important;
  /*color: #282323 !important;*/
}

.image-table>thead>tr>th, .image-table>tbody>tr>th, .image-table>tfoot>tr>th, .image-table>thead>tr>td, .image-table>tbody>tr>td, .image-table>tfoot>tr>td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: middle;
    border-top: 1px solid #ddd;
}

.dataTables_scroll {
  width: 100%;
  overflow-x: scroll;
}
.dataTables_scrollBody,.dataTables_scrollHead,.dataTables_scrollHeadInner,.dataTables_scrollFoot {
  width: -webkit-fit-content !important;
  /*width: -moz-fit-content !important;*/
}
.dropdown-menu > li > a{
  text-align: right;
}
.dropdown-menu > li > a:hover{
  margin-right : 7px;
  background-color: rgb(239, 242, 243);
  padding-right: 13px;
  transition: none !important;
}
.daleel_custom_tree_icon{
  margin-top: -62px;
}
.daleel_custom_tree_info{
  font-size: 20px; margin-top: 3px; margin-left: 49px;
}
.pull-right-f, .form-group .help {
    float: right !important;
}