* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
    --parentwidth: 1392px;
    --parentheight: 527px;
    --bawidth: 950px;
    --descwidth: 442px;
    --dotgap: 110px;
    --dotsize: 20px;
    --mainoffset: 0px;
    --descleft: 950px;
    --desctop: 0px;
    --detailheight: 527px;
    --picheight: 527px;
    --slidepull: 45px;
    --slideline: 375px;
    --slidevpos: 211px;
}

.jgi-fema-container{
    height: var(--detailheight);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:start;
    overflow:hidden;
    background-color: rgb(255, 255, 255); 
}

.jgi-fema-menu{
    position:relative;
    background-color: rgb(23, 165, 77); 
    display: inline;
    width: var(--parentwidth);
    height: var(--parentheight);
    margin-top: var(--mainoffset);
    padding-bottom: 20px;
    
    img{
        width: var(--parentwidth);
    }
}

.jgi-fema-selector{
     
}

.jgi-fema-detail{
    position:relative;
    background-color: rgb(216, 216, 216); 
    width: var(--parentwidth);
    height: var(--detailheight);
   
}

.jgi-fema-after{
    position: absolute;
    top:0px;
    left:0px;
    width: var(--bawidth);
    height: var(--parentheight);
}

.jgi-fema-afterpic{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("images/FT_Gen_SH_After.jpg") no-repeat;
}

.jgi-fema-before{
    position: absolute;
    top:0px;
    left:0px;
    width: var(--bawidth);
    height: var(--parentheight);
    
}

.jgi-fema-beforepic{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("images/FT_Gen_SH_Before.jpg") no-repeat;
    
}

.jgi-fema-desc{
    position: absolute;
    background-color: rgb(216, 216, 216); 
    width: var(--descwidth);
    height: var(--parentheight);
    top: var(--desctop);
    left:var(--descleft);
	font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	padding: 100px 20px 20px 20px;
	content: "";
	text-align: center;
	vertical-align: middle;
	font-size: 16px;
}

.jgi-popup-close{
	position: absolute;
    right: 10px;
    top: 10px;

    content: "";
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-weight: bold;
	font-size: 14px;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	padding-top: 2px;
	height: 20px;
	width: 75px;
	background-color: rgb(52, 66, 97);
	border-radius: 15px;
	cursor: pointer;
	z-index:100;
 }



.jgi-slider{
	position: absolute;
	top: 0;
	width: var(--bawidth);
	z-index: 99;
}

.jgi-slider input{
	width: var(--bawidth);
	outline: none;
	background: none;
	-webkit-appearance: none;
	appearance: none;
}
 
 .jgi-slider input::-webkit-slider-thumb{
	height: var(--parentheight);
	width: 3px;
	background: none;
	-webkit-appearance: none;
	cursor: col-resize;
}

.jgi-slider .jgi-line{
	width: 3px;
	height: var(--parentheight);
	position: absolute;
	left: 49.85%;
	pointer-events: none;
}

.jgi-slider .jgi-line::before,
.jgi-slider .jgi-line::after{
	position: absolute;
	content: '';
	width: 100%;
	height: var(--slideline);
	background: #fff;
}

.jgi-slider .jgi-line::before{
	top: 0;
}

.jgi-slider .jgi-line::after{
	bottom: 0;
}

.jgi-slider .jgi-line span{
	height: var(--slidepull);
	width: var(--slidepull);
	border: 2px solid #fff;
	position: absolute;
	top: var(--slidevpos);
	left: 50%;
	border-radius: 50%;
	transform: translate(-50%, 50%);
	background: #fff;
    z-index: 150px;
}

.jgi-beacon {
  position: absolute;
  content: "";
  height: var(--dotsize);
  width: var(--dotsize);
  top: var(--dotgap);
  background-color: rgb(145, 41, 23);
  border-radius: 50%;
  cursor: pointer;
}

.jgi-beacon:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: rgb(255, 222, 200);
  border-radius: 50%;
  animation: jgi-beaconpulse 2s ease infinite;
}

.jgi-beacon1 {
	left: 26%;
}

.jgi-beacon2 {
	left: 29%;
 }
 
.jgi-beacon3 {
 	left: 36%;
 }

 .jgi-beacon4 {
 	left: 45%;
 }

 .jgi-beacon5 {
	left: 55%;
}

.jgi-beacon6 {
	left: 71%;
 }
 
.jgi-beacon7 {
 	left: 76%;
 }

 .jgi-beacon8 {
 	left: 81%;
 }

  .jgi-beacon9 {
 	left: 89%;
 }

  .jgi-beacon10{
 	left: 63%;
 }

 @keyframes jgi-beaconpulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  } 
}
