/*================================================================================
	Item Name: Materialize - Material Design Admin Template
	Version: 5.0
	Author: PIXINVENT
	Author URL: https://themeforest.net/user/pixinvent/portfolio
================================================================================

NOTE:
------
PLACE HERE YOUR OWN CSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */
.material-icons{
    opacity:0;
}
.amcharts-chart-div a {display:none !important;}

.mx-2 {
	margin-left: 20px;	
	margin-bottom: 3px;
}

.ct-series-a .ct-point, .ct-series-a .ct-line, .ct-series-a .ct-bar, .ct-series-a .ct-slice-donut {
    stroke: #2196f3;
}
.page-title{
	margin-left: 20px;
	color: white;
}

table.dataTable.no-footer {
	border-bottom: 1px solid #fff;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #eee;
}

.greenClass {
  background-color: #d7ffdc !important;
}

.content-area .app-wrapper .datatable-search {
    position: relative;
}
.datatable-search{
	/* max-width: calc(100% - 3rem); */
    height: 3rem;
    margin-bottom: .3rem;
    padding: .1rem;
    padding-left: 1.75rem;
    border: none !important;
    border-radius: .4rem;	
    background-color: #fff;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
}
.content-area .app-wrapper .datatable-search .app-filter {
    border: none;
	outline:none;
}
.app-filter:focus {
	border-bottom: none!important;
	box-shadow: none!important;
}

.content-area .app-wrapper .datatable-search .search-icon {
    position: absolute;    
    top: 12px;
    right: 10px;
    color: #bdbdbd;
}

@media only screen and (max-width:768px) {
    .brand-sidebar {
        display: none !important;
    }
}

/* nav menu */
.sidenav li a.active {
    background: linear-gradient(
45deg, #303f9f, #000000);
    box-shadow: 3px 3px 20px 0 rgb(0 0 0 / 50%);
    color: #fff;
    margin: 0;
}

.loadingBar {
  background: url('../../images/spinner30.gif') no-repeat center center;  
  height: 35px;
  width: 35px;
  z-index: 9999999;
}


.datepicker-modal{
  top: 20% !important;
}
.datepicker-table td {
  padding: 0 !important;
  box-sizing: border-box !important;
}


.tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 2;
    width: 245px;
    color: white;
    font-size: 12px;
    background-color: #192733;
    border-radius: 10px;
    padding: 10px 15px 10px 15px;
    align-items: flex-start;
    text-align: start;
  }
  
  .tooltip-text::before {
    content: "";
    position: absolute;
    transform: rotate(45deg);
    background-color: #192733;
    padding: 5px;
    z-index: 1;
  }
  
  .hover-text:hover .tooltip-text {
    visibility: visible;
  }
  
  #top {
    top: -40px;
    left: -50%;
  }
  
  #top::before {
    top: 80%;
    left: 45%;
  }
  
  #bottom {
    top: 25px;
    left: -50%;
  }
  
  #bottom::before {
    top: -5%;
    left: 45%;
  }
  
  #left {
    top: -8px;
    right: 120%;
  }
  
  #left::before {
    top: 35%;
    left: 94%;
  }
  
  #right {
    top: -8px;
    left: 120%;
  }
  
  #right::before {
    top: 35%;
    left: -2%;
  }
  
  .hover-text {
    position: relative;
    display: inline-block;    
    font-family: Arial;
    text-align: center;
  }

/* Contact Table Styles */
#contacts-table {
    font-size: 14px;
}

#contacts-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    padding: 12px 8px;
}

#contacts-table td {
    padding: 10px 8px;
    vertical-align: top;
}

#contacts-table tr:hover {
    background-color: #f8f9fa;
}

/* Badge Styles */
.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.badge.green {
    background-color: #4caf50;
    color: white;
}

.badge.grey {
    background-color: #9e9e9e;
    color: white;
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

/* Contact Types Styling */
#contacts-table td:nth-child(7) {
    max-width: 250px;
    word-wrap: break-word;
}

.contact-type-block {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
    background-color: #f9f9f9;
}

.contact-type-block:last-child {
    margin-bottom: 0;
}

.contact-type-property {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
}

.contact-type-property:last-child {
    margin-bottom: 0;
}

.contact-type-label {
    font-weight: 600;
    color: #333;
}

.contact-type-value {
    color: #666;
}

.survey-yes {
    color: #4caf50;
    font-weight: 500;
}

.survey-no {
    color: #f44336;
    font-weight: 500;
}

/* Address Styling */
#contacts-table td:nth-child(6) {
    max-width: 250px;
    word-wrap: break-word;
}

/* Birthday Styling */
#contacts-table td:nth-child(5) {
    max-width: 120px;
    word-wrap: break-word;
}