/* On mouse hover, lighten state color */
path:hover {
	fill-opacity: .7;
}
/* Style for Custom Tooltip */
div.tooltip {
	position: absolute;
	text-align: center;
	width: 60px;
	height: 28px;
	padding: 2px;
	font: 12px sans-serif;
	background: white;
	border: 0px;
	border-radius: 8px;
	pointer-events: none;
}
/* Legend Position Style */
.legend {
	position:absolute;
	right:0px;
	top:350px;
}
#map-holder
{
	margin:0 auto;
	text-align:center;
}

/* CUSTOM POPUP */
.jobbox
{
	padding-bottom:50px;
}
.custom-model-main {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  left: 0; /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear, z-index 0.15;
  -o-transition: opacity 0.15s linear, z-index 0.15;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
}

.custom-model-main-state {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  left: 0; /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear, z-index 0.15;
  -o-transition: opacity 0.15s linear, z-index 0.15;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
}

.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}
.custom-model-inner {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  width: 450px;
  margin: 30px auto;
  max-width: 97%;
  top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    position: fixed !important;
}
.size2
{
	width: 620px;	
}
.custom-model-wrap {
  display: block;
  width: 100%;
  position: relative;
  /*background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);*/
  border-radius: 6px;
 /* -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);*/
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 0px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /*max-height: calc(100vh - 70px);*/
  max-height:550px;
}
.model-open .custom-model-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}
.model-open .bg-overlay2 {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.bg-overlay2 {
  background: rgba(0, 0, 0, 0.5);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: background 0.15s linear;
  -o-transition: background 0.15s linear;
  transition: background 0.15s linear;
}
.close-btn {
  position: absolute;
  right: 0px;
  top: -42px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #000;
}

@media screen and (min-width:800px){
	.custom-model-main:before {
	  content: "";
	  display: inline-block;
	  height: auto;
	  vertical-align: middle;
	  margin-right: -0px;
	  height: 100%;
	}
	.custom-model-main-state:before {
	  content: "";
	  display: inline-block;
	  height: auto;
	  vertical-align: middle;
	  margin-right: -0px;
	  height: 100%;
	}
}
@media screen and (max-width:799px){
  .custom-model-inner{margin-top: 45px;}
  .custom-model-main {
    width: 350px;
  }
  .custom-model-wrap {
    max-height: 450px;
  }
  .info-popup .popup-content {
    max-height: 300px !important;
  }
  .info-popup .location-text span h3 {
    font-size: 18px !important;
  }
  .info-popup .job-title {
    font-size: 17px !important;
  }
}

/* Basic styling for the popup */
.info-popup {
    position: relative;
    background: rgba(0, 0, 0, 0.7); /* Transparent black background */
    border: 1px solid #333; /* Dark border for better contrast */
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /*max-width: 390px;*/
    color: white;
    z-index: 1000;
}

/* Header styling */
.info-popup .popup-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* Category icon styling */
.info-popup .category-icon {
    width: 90px;
    height: 90px;
    background: rgba(253, 200, 66, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 20px;
}
.info-popup .category-icon img {
	max-width:100%;
}

/* Location info styling */
.info-popup .location-info {
    display: flex;
    align-items: center;
    text-align: right;
}

.info-popup .location-text {
    font-size: 18px;
    color: #fdc842; /* Updated yellow color */
    margin-left: 5px;
    display: flex;
    align-items: center;
	padding-bottom: 43px !important;
}
.info-popup .location-text span {
  margin-left: 8px;
}
.info-popup .location-text span h3 {
  margin-top: 0;
  margin-bottom: 0px;
  color:#fdc842;
  font-weight: 600;
  font-size: 23px;
  text-transform: uppercase;
}

/* Job info styling */
.info-popup .popup-content {
    border: 2px solid white;
    padding: 10px 10px 10px 30px;
    margin-bottom: 20px;
    margin-top: -50px;
    margin-left: 50px;
    max-height:400px;
    overflow: auto;
}
.info-popup .noleft {
    margin-left: 0px;
	padding: 10px 10px 10px 10px;
	margin-bottom: 0px;
}
.info-popup .popup-content .job-info {
  text-align: left;
}
.job-info-state ul,.job-info-state ul li
{
	list-style:none;
	margin:0;
	padding:0;
}
.job-info-state ul li
{
	border-bottom:1px solid;
	margin-bottom:5px;
}
.job-info-state ul li:last-child 
{
	border-bottom:0px solid;
	margin-bottom:5px;
}
.job-info-state ul li span
{
	display:block;
	text-align:right;
	font-size:12px;
}
.job-info-state ul li a {
	color: #ffffff !important;
}
.job-info-state ul li a:hover {
	color: #fdc842 !important;
}
.info-popup .job-title {
    font-size: 20px;
    font-weight: 600;
    color: #fdc842;
    margin: 0;
    text-align: right;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-right: 0;
}

.size2 .job-title
{
	margin-left: 10px;
}

.info-popup .job-title a {
	color: #fdc842;
}

.info-popup .job-description {
    font-size: 14px;
    color: white;
    text-align: left;
}

/* Apply Here button styling */
.info-popup .apply-button {
    display: flex;
    text-align: center;
    background: #fdc842;
    color: black;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin: auto;
    flex-direction: column;
    width: 165px;
    text-transform: uppercase;
    font-size: 18px;
}

.info-popup .apply-button:hover {
    background: #f2c500;
}