.port-single-outer .product-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 56%;
  margin-bottom: 38px;
  margin-left: 5px;
}
.port-single-outer .two-image-outer{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  width: 1118px;
}
.port-single-outer .two-image-outer .image21 {
  height: 664px;
  width: 100%;
}
.port-single-outer .two-image-outer .image22 {
  height: 664px;
  width: 100%;
}
.port-single-outer .two-image-outer img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.port-single-outer .three-image-outer{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 1131px;
}
.port-single-outer .three-image-outer img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.port-single-outer .three-image-outer .right-image {
  width: 507px;
}
.right-image .image32 {
  height: 328px;
  margin-bottom: 9px;
}
.right-image .image33 {
  height: 327px;
}
.port-single-outer .three-image-outer .image31{
  height: 664px;
  width: 616px;
}
.port-single-outer .back-to-portfolio a {
  font-size: 13px;
  line-height: 16px;
  text-align: left;
  font-weight: 400;
  color: #296340;
  display: block;
  margin-bottom: 64px;
  margin-left: 27px;
  position: relative;
}
.port-single-outer .project-name {
  font-size: 34px;
  font-weight: 400;
  line-height: 43px;
  text-align: left;
  color: #296340;
  margin-bottom: 35px;
  margin-left: 3px;
}
.port-single-outer .product-used .product-used-head {
  font-size: 15px;
  font-weight: 600;
  line-height: 19px;
  text-align: left;
  color: #296340;
  margin-bottom: 0px;
}
.port-single-outer .location .location-head {
  font-size: 15px;
  font-weight: 600;
  line-height: 19px;
  text-align: left;
  color: #296340;
  margin-bottom: 10px;
}
.port-single-outer .reference-out .reference-head{
  font-size: 15px;
  font-weight: 600;
  line-height: 19px;
  text-align: left;
  color: #296340;
  margin-bottom: 10px;
}
.port-single-outer .product-used .product-name a {
  color: #569B6B;
  font-size: 14px;
  text-decoration: underline;
  line-height: 22px;
  font-weight: 400;
  text-align: left;
}
.port-single-outer .product-details .location .loc {
  font-size: 15px;
  line-height: 22px;
  text-align: left;
  font-weight: 300;
  color: #4A4A4A;
}
.port-single-outer .reference-out .reference{
  font-size: 15px;
  line-height: 22px;
  text-align: left;
  font-weight: 300;
  color: #4A4A4A;
}
.port-single-outer .portfolio-image-main .single-port-image .image11 {
  width: 1069px;
  height: 664px;
}
.port-single-outer .portfolio-image-main .single-port-image .image11 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-image-main{
/*   height: 637px;  */
}
.before-after-btn-group {
  display: flex;
  justify-content: space-between;
  position: relative;
  bottom: 84px;
  width: 1063px;
  margin: 0 auto;
}
.port-single-outer .portfolio-image-main .before-after-btn-group .before{
  font-size: 20px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  color: #ffffff;
  padding: 21.5px 31.5px;
  background-color: #352F2CCC;
  border-radius: 7px;
  z-index: 10;
}
.port-single-outer .portfolio-image-main .before-after-btn-group .after{
  font-size: 20px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  color: #ffffff;
  padding: 21.5px 31.5px;
  background-color: #352F2CCC;
  border-radius: 7px;
  z-index: 10;
}




.port-single-outer .container {
  width: 1135px;
  height: 637px;
}
.container .inner{
  height: 100% !important; 
}
#comparison {
  width: 100%;
  padding-bottom: 55%;
  overflow: hidden; 
  position: relative;
}
#divisor::before,
#divisor::after {
  content: '';
  position: absolute;
  right: -2px;
  width: 10px;
  height: 637px;
  z-index: 3;
  background-color:#fff;
}
#divisor::before {
  top: 0;
  /*     box-shadow: 0 -3px 8px 1px rgba(0,0,0,.3); */
}
#divisor::after {
  bottom: 0;
  /*     box-shadow: 0 3px 8px 1px rgba(0,0,0,.3); */
}
#handle {
  position: absolute;
  height: 100%;
  width: 50px;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 1;
}
#handle::before,
#handle::after {
  content: '';
  width: 13px;
  height: 34px;
  position: absolute;
  top: 50%;
  margin-top: -6px;
}


input[type=range]{
  -webkit-appearance:none;
  -moz-appearance:none;
  position: absolute;
  top: 28%;
  left: -25px;
  transform: translateY(-50%);
  background-color: transparent;
  width: calc(100% + 50px); 
  z-index: 2;
  height: 637px;
}
input[type=range]:focus,
input[type=range]:active {
  border: none;
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 50px;
  width: 50px;
  background: transparent;
  box-shadow: none;
}
input[type=range]::-moz-range-track {
  -moz-appearance:none;
  height:15px;
  width: 100%;
  background-color: transparent; 
  position: relative;
  outline: none;    
}
.product-used, .location, .reference-out {
    margin-bottom: 20px;
}






/*************Responsive Styles*****************/
/***************iPhone Portrait**************/
@media only screen and (max-width: 479px) and (min-width: 320px){
  {# Before And After Image #}
  .port-single-outer .container{
    width: 100%; 
  }
  .before-after-btn-group{
    width: 90%; 
  }
  .port-single-outer .portfolio-image-main .before-after-btn-group .after, .port-single-outer .portfolio-image-main .before-after-btn-group .before{
    padding: 11.5px 17.5px;
  }
  .port-single-outer .product-details{
    width: 100%;
    display: block;
  }
  .product-used {
    margin-bottom: 30px;
  }
  .location {
    margin-bottom: 30px;
  }
  .portfolio-image-main {
    height: 300px;
  }
  figure{
    height: 300px; 
  }
  input[type=range]{
    height: 300px; 
    top: 50%;
  }
  .port-single-outer .container{
    height: 300px; 
  }
  #handle:after, #handle:before{
    top: 22%;
    background-color: transparent;
  }
  input[type=range]::-webkit-slider-thumb{
    background: transparent;
    top: 45%;
    box-shadow: none;
    left: 43%;
    width: 100px;
  }
  {# End Before And After Image #}

  {# One Image #}
  .port-single-outer .portfolio-image-main .single-port-image .image11 {
    width: 100%;
    height: 310px;
  }
  {# End One Image #}
  
  {# Two Image #}
  .port-single-outer .two-image-outer{
   grid-template-columns: 1fr;
    width: 100%;
  }
  .portfolio-image-main{
   height: auto; 
  }
  .port-single-outer .two-image-outer .image21,
  .port-single-outer .two-image-outer .image22{
   width: 100%; 
        height: 300px;
  }
  {# End Two Image #}
  .port-single-outer .three-image-outer{
   display: block;
   width: 100%;
  }
    .port-single-outer .three-image-outer .image31 {
    height: 328px;
    width: 100%;
      margin-bottom: 10px;
}
  .port-single-outer .three-image-outer .right-image{
   width: 100%;
  }

}
/**********************iPhone Landscape*************/
@media only screen and (max-width: 767px) and (min-width: 480px){
  .port-single-outer .container{
    width: 100%; 
  }
  .before-after-btn-group{
    width: 90%; 
  }
  .port-single-outer .portfolio-image-main .before-after-btn-group .after, .port-single-outer .portfolio-image-main .before-after-btn-group .before{
    padding: 11.5px 17.5px;
  }
  .port-single-outer .product-details{
    width: 100%;
    display: block;
  }
  .product-used {
    margin-bottom: 30px;
  }
  .location {
    margin-bottom: 30px;
  }
  .portfolio-image-main {
    height: 300px;
  }
  figure{
    height: 300px !important; 
  }
  input[type=range]{
    height: 300px !important; 
    top: 50%;
  }
  .port-single-outer .container{
    height: 300px; 
  }
  #handle:after, #handle:before{
    top: 45%;
  }
  #divisor{
    height: 300px;  
  }
  #comparison{
    padding-bottom: 43%;
  }
  #handle:after, #handle:before{
    top: 22%;
    background-color: transparent;
  }
  input[type=range]::-webkit-slider-thumb{
    background: transparent;
    top: 45%;
    box-shadow: none;
    left: 43%;
    width: 100px;
  }
  {# One Image #}
  .port-single-outer .portfolio-image-main .single-port-image .image11 {
    width: 100%;
    height: 310px;
  }
  {# End One Image #}
  
  {# Two Image #}
  .port-single-outer .two-image-outer{
   grid-template-columns: 1fr;
    width: 100%;
  }
  .portfolio-image-main{
   height: auto; 
  }
  .port-single-outer .two-image-outer .image21,
  .port-single-outer .two-image-outer .image22{
   width: 100%; 
        height: 300px;
  }
  {# End Two Image #}
  .port-single-outer .three-image-outer{
   display: block;
   width: 100%;
  }
    .port-single-outer .three-image-outer .image31 {
    height: 328px;
    width: 100%;
      margin-bottom: 10px;
}
  .port-single-outer .three-image-outer .right-image{
   width: 100%;
  }
}
/*************************iPad Portrait***************/
@media only screen and (max-width: 985px) and (min-width: 768px){
  .port-single-outer .container{
    width: 100%; 
  }
  .before-after-btn-group{
    width: 90%; 
  }
  .port-single-outer .portfolio-image-main .before-after-btn-group .after, .port-single-outer .portfolio-image-main .before-after-btn-group .before{
    padding: 11.5px 17.5px;
  }
  .port-single-outer .product-details{
    width: 100%;
    display: block;
  }
  .product-used {
    margin-bottom: 30px;
  }
  .location {
    margin-bottom: 30px;
  }
  .portfolio-image-main {
    height: 500px;
  }
  figure{
    height: 500px !important; 
  }
  input[type=range]{
    height: 500px !important; 
    top: 50%;
  }
  .port-single-outer .container{
    height: 500px; 
  }
  #handle:after, #handle:before{
    top: 45%;
  }
  #divisor{
    height: 500px;  
  }
  #comparison{
    padding-bottom: 43%;
  }
  #handle:after, #handle:before{
    top: 45%;
    background-color: transparent;
  }
  input[type=range]::-webkit-slider-thumb{
    background: transparent;
    top: 45%;
    box-shadow: none;
    left: 43%;
    width: 100px;
  }
  {# One Image #}
  .port-single-outer .portfolio-image-main .single-port-image .image11 {
    width: 100%;
    height: 500px;
}
  {# End One Image #}
  
  
  {# Two Image #}
  .port-single-outer .two-image-outer{
   grid-template-columns: 1fr;
    width: 100%;
  }
  .portfolio-image-main{
   height: auto; 
  }
  .port-single-outer .two-image-outer .image21,
  .port-single-outer .two-image-outer .image22{
   width: 100%; 
        height: 500px;
  }
  {# End Two Image #}
  
  .port-single-outer .three-image-outer{
   display: block;
   width: 100%;
  }
    .port-single-outer .three-image-outer .image31 {
    height: 400px;
    width: 100%;
      margin-bottom: 10px;
}
  .port-single-outer .three-image-outer .image32 {
    height: 400px;
    width: 100%;
      margin-bottom: 10px;
}
  .port-single-outer .three-image-outer .image33 {
    height: 400px;
    width: 100%;
      margin-bottom: 10px;
}
  .port-single-outer .three-image-outer .right-image{
   width: 100%;
  }
}
/**************iPad Landscape***************/
@media only screen and ( max-width: 1024px ) and (min-width: 986px){
  .port-single-outer .container{
    width: 100%; 
  }
  .before-after-btn-group{
    width: 90%; 
  }
  .port-single-outer .portfolio-image-main .before-after-btn-group .after, .port-single-outer .portfolio-image-main .before-after-btn-group .before{
    padding: 11.5px 17.5px;
  }
  .port-single-outer .product-details{
    width: 70%;
    display: flex;
  }
  .product-used {
    margin-bottom: 30px;
  }
  .location {
    margin-bottom: 30px;
  }
  .portfolio-image-main {
    height: auto;
  }
  figure{
    height: 500px !important; 
  }
  input[type=range]{
    height: 500px !important; 
    top: 50%;
  }
  .port-single-outer .container{
    height: 500px; 
  }
  #handle:after, #handle:before{
    top: 45%;
  }
  #divisor{
    height: 500px;  
  }
  #comparison{
    padding-bottom: 43%;
  }
  #handle:after, #handle:before{
    top: 45%;
    background-color: transparent;
  }
  input[type=range]::-webkit-slider-thumb{
    background: transparent;
    top: 45%;
    box-shadow: none;
    left: 43%;
    width: 100px;
  }
  {# One Image #}
  .port-single-outer .portfolio-image-main .single-port-image .image11 {
    width: 100%;
    height: 500px;
}
  {# End One Image #}
  .port-single-outer .two-image-outer{
   width: 100%; 
  }
  .port-single-outer .two-image-outer .image21 {
    height: 500px;
    width: 100%;
}
  .port-single-outer .three-image-outer{
   width: 100%;
  }
  .port-single-outer .three-image-outer .image31 {
    height: 664px;
        width: 525px;
}
  .port-single-outer .three-image-outer .right-image {
    width: 450px;
}
}
/*******************************************/

@media only screen and (max-width: 1300px) and (min-width: 1024px){
  .container{
    width: 100% !important; 
  }
  input[type=range]::-webkit-slider-thumb{
    background: transparent;
    top: 65%;
    margin-top: 280px;
    box-shadow: none;
    left: 43%;
    width: 100px;
  }
  {# One Image #}
  .port-single-outer .portfolio-image-main .single-port-image .image11 {
    width: 100%;
    height: 637px;
}
  .portfolio-image-main {
    height: auto;
}
  .port-single-outer .two-image-outer{
   width: 100%; 
  }
  .port-single-outer .two-image-outer .image21,
  .port-single-outer .two-image-outer .image22{
    height: 500px;
    width: 100%;
}
  {# End One Image #}
  .port-single-outer .three-image-outer{
   width: 100%; 
  }
  .port-single-outer .portfolio-image-main .single-port-image .image11{
   width: 100%; 
  }
}