
/* ink modal begins *****************************/

.ink-main-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  /* vertically align its content */
  display: table;
}
.ink-main-content .center {
  /* vertically align inside parent element */
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}


.ink-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #fff url(../images/wcbg1.jpg) no-repeat bottom left;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.ink-modal .modal-content {
  height: 100%;
  overflow-y: auto;
  padding: 140px 5%;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
margin: 0 auto;
position: relative;
}

.popupcontentcontainer{
  background: url(../images/cogsbg.png) no-repeat bottom right;
  -webkit-background-size: auto 60%;
  -moz-background-size: auto 60%;
  -o-background-size: auto 60%;
  background-size: auto 60%;
mix-blend-mode: multiply!important;
border: 1px solid rgba(87, 88, 90, 0.25);
border-radius: 6px;
position: relative;
padding: 30px;
margin: 0 auto;
width: 80%;
mix-blend-mode: multiply!important;
}

.ink-modal .modal-content h3 {
font-family: Poppins, sans-serif;
  font-weight: 70000;
font-size: 22px;
padding: 0;
margin: 10px 0 20px 0;
text-align: left;
line-height: 105%;
text-wrap: balance;
letter-spacing: -0.015em;
display: block;
max-width: 80%!important;
color:#8070a6!important;
mix-blend-mode: multiply!important;
opacity: 0.9!important;
}

.ink-modal .modal-content p {
  font-size: 16px;
font-family: Poppins, sans-serif;
  line-height: 160%;
margin: 0 0 20px 0;
font-weight: 500;
color:#57585a!important;
mix-blend-mode: multiply!important;
opacity: 0.9!important;
}



.ink-modal .modal-close {
  /* 'X' icon */
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: rgba(128, 112, 166, 0.90) url(../images/close.svg) no-repeat center center;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.4s 0s, visibility 0s 0.4s, opacity 0.4s 0s;
  -moz-transition: -moz-transform 0.4s 0s, visibility 0s 0.4s, opacity 0.4s 0s;
  transition: transform 0.4s 0s, visibility 0s 0.4s, opacity 0.4s 0s;
}
.no-touch .ink-modal .modal-close:hover {
  background-color: rgba(128, 112, 166, 0.90);
}
.ink-modal.visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.7s, visibility 0s;
  -moz-transition: opacity 0.7s, visibility 0s;
  transition: opacity 0.7s, visibility 0s;
}
.ink-modal.visible .modal-content {
  /* fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
  -webkit-overflow-scrolling: touch;
}
.ink-modal.visible .modal-close {
  visibility: visible;
  opacity: 1;
  -webkit-transition: -webkit-transform 0.4s 0s, visibility 0s 0s, opacity 0.4s 0s;
  -moz-transition: -moz-transform 0.4s 0s, visibility 0s 0s, opacity 0.4s 0s;
  transition: transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}






.ink-transition-layer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}
.ink-transition-layer .bg-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateY(-50%) translateX(-2%);
  -moz-transform: translateY(-50%) translateX(-2%);
  -ms-transform: translateY(-50%) translateX(-2%);
  -o-transform: translateY(-50%) translateX(-2%);
  transform: translateY(-50%) translateX(-2%);
  /* dimentions are overwritten using jQuery to proportionally fit the viewport */
  height: 100%;
  /* sprite is composed of 25 frames */
  width: 2500%;
  background: url(../images/ink.png) no-repeat 0 0;
  background-size: 100% 100%;
}
.ink-transition-layer.visible {
  opacity: 1;
  visibility: visible;
}
.ink-transition-layer.opening .bg-layer {
  -webkit-animation: ink-sequence 0.8s steps(24);
  -moz-animation: ink-sequence 0.8s steps(24);
  animation: ink-sequence 0.8s steps(24);
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.ink-transition-layer.closing .bg-layer {
  -webkit-animation: ink-sequence-reverse 0.8s steps(24);
  -moz-animation: ink-sequence-reverse 0.8s steps(24);
  animation: ink-sequence-reverse 0.8s steps(24);
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.no-cssanimations .ink-transition-layer {
  display: none;
}

@-webkit-keyframes ink-sequence {
  0% {
    /* translateX(-2%) is used to horizontally center the first frame inside the viewport */
    -webkit-transform: translateY(-50%) translateX(-2%);
  }
  100% {
    /* translateX(-98%) (2% + 96) is used to horizontally center the last frame inside the viewport  */
    -webkit-transform: translateY(-50%) translateX(-98%);
  }
}
@-moz-keyframes ink-sequence {
  0% {
    /* translateX(-2%) is used to horizontally center the first frame inside the viewport */
    -moz-transform: translateY(-50%) translateX(-2%);
  }
  100% {
    /* translateX(-98%) (2% + 96) is used to horizontally center the last frame inside the viewport  */
    -moz-transform: translateY(-50%) translateX(-98%);
  }
}
@keyframes ink-sequence {
  0% {
    /* translateX(-2%) is used to horizontally center the first frame inside the viewport */
    -webkit-transform: translateY(-50%) translateX(-2%);
    -moz-transform: translateY(-50%) translateX(-2%);
    -ms-transform: translateY(-50%) translateX(-2%);
    -o-transform: translateY(-50%) translateX(-2%);
    transform: translateY(-50%) translateX(-2%);
  }
  100% {
    /* translateX(-98%) (2% + 96) is used to horizontally center the last frame inside the viewport  */
    -webkit-transform: translateY(-50%) translateX(-98%);
    -moz-transform: translateY(-50%) translateX(-98%);
    -ms-transform: translateY(-50%) translateX(-98%);
    -o-transform: translateY(-50%) translateX(-98%);
    transform: translateY(-50%) translateX(-98%);
  }
}
@-webkit-keyframes ink-sequence-reverse {
  0% {
    -webkit-transform: translateY(-50%) translateX(-98%);
  }
  100% {
    -webkit-transform: translateY(-50%) translateX(-2%);
  }
}
@-moz-keyframes ink-sequence-reverse {
  0% {
    -moz-transform: translateY(-50%) translateX(-98%);
  }
  100% {
    -moz-transform: translateY(-50%) translateX(-2%);
  }
}
@keyframes ink-sequence-reverse {
  0% {
    -webkit-transform: translateY(-50%) translateX(-98%);
    -moz-transform: translateY(-50%) translateX(-98%);
    -ms-transform: translateY(-50%) translateX(-98%);
    -o-transform: translateY(-50%) translateX(-98%);
    transform: translateY(-50%) translateX(-98%);
  }
  100% {
    -webkit-transform: translateY(-50%) translateX(-2%);
    -moz-transform: translateY(-50%) translateX(-2%);
    -ms-transform: translateY(-50%) translateX(-2%);
    -o-transform: translateY(-50%) translateX(-2%);
    transform: translateY(-50%) translateX(-2%);
  }
}



@media only screen and (max-width : 768px) {

.ink-modal .modal-content {
  padding: 130px 5%!important;
}

.ink-modal .modal-content h3 {
font-size: 20px;
}
.ink-modal .modal-content p {
font-size: 15px;
}
.ink-modal .modal-content li {
font-size: 15px!important;
}

.popupcontentcontainer {
  background: url(../images/cogsbg.png) no-repeat bottom right;
  -webkit-background-size: auto 40%;
  -moz-background-size: auto 40%;
  -o-background-size: auto 40%;
  background-size: auto 40%;
mix-blend-mode: multiply!important;
}

}

/* ink modal ends ******************************/
