.overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(51 68 84);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: 0.15s ease-in-out;
}
.overlay.active {
  opacity: 1;
  pointer-events: inherit;
}
.cstmodal .close {
    right: 0!important;
    transform: translate(0%, -100%);
  }
a.cstmodal-btn {
  display: inline-block;
  color: white;
  text-decoration: none;
  transition: 0.15s ease-in-out;
}
a.cstmodal-btn:hover {
  
}

.cstmodal {
  width: calc(100% - 40px);
  max-width: 650px;
  height: calc(100vh - 115px);
  max-height: 550px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  background-image: radial-gradient(50% 50% at 50% 50%, rgba(38, 36, 36, 0.33) 0%, rgba(255, 255, 255, 0) 100%), rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.04);
  transition: 0.15s ease-in-out;
  z-index: 500;
}
.cstmodal.active {
  opacity: 1;
  pointer-events: inherit;
}
.cstmodal .close {
  widtH: 8px;
  height: 45px;
  position: absolute;
  top: -10px;
  transform: translate(-100%, -100%);
  cursor: pointer;
  transition: 0.15s ease-in-out;
}
@media (max-width: 940px) {
  .cstmodal .close {
    right: 0!important;
    transform: translate(0%, -100%);
  }
}
.cstmodal .close span {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
}
.cstmodal .close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.cstmodal .close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.cstmodal .wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
 background-image: radial-gradient(50% 50% at 50% 50%, rgba(38, 36, 36, 0.33) 0%, rgba(255, 255, 255, 0) 100%), rgba(0, 0, 0, 0.01)!important;
}
.cstmodal .wrapper:after {
  content: "";
  width: 50%;
  height: 100%;
  position: absolute;
  left: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.15s ease-in-out;
  background-color:#fff;
   background-image: url(../images/o-login-modal.jpg);
    background-size: 100% 58%;
    background-repeat: no-repeat;
    background-position: center right;

}
@media (max-width: 640px) {
  .cstmodal .wrapper:after {
    width: 0%;
  }
}
.cstmodal .wrapper:before {
   content: "";
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: radial-gradient(50% 50% at 50% 50%, rgba(38, 36, 36, 0.33) 0%, rgba(255, 255, 255, 0) 100%), rgba(0, 0, 0, 0.01)!important;
    transition: 0.15s ease-in-out;
    color: rgba(0, 0, 0, 0.35);
    background-image: url(../images/osignup.jpg);
    background-size: 100% 58%;
    background-repeat: no-repeat;
    background-position: center right;
    background-color: #fff!important;
}
@media (max-width: 640px) {
  .cstmodal .wrapper:before {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .cstmodal .wrapper.switch:after {
    width: 100%;
  }
  .cstmodal .wrapper.switch:before {
    width: 0%;
  }
}
.cstmodal .wrapper.switch .content {
  transform: translate(100%, 0);
}
@media (max-width: 640px) {
  .cstmodal .wrapper.switch .content {
    width: 100%;
    transform: translate(0%, 0);
  }
}
.cstmodal .wrapper.switch .content .inner {
  transform: translate(-50%, 0);
}
.cstmodal .wrapper .content {
  width: 50%;
  height: 100%;
  background: white;
  position: relative;
  overflow: hidden;
  transition: 0.2s cubic-bezier(0.42, 0, 0.02, 1.21);
  z-index: 100;
}
@media (max-width: 640px) {
  .cstmodal .wrapper .content {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
  }
}
.cstmodal .wrapper .content .inner {
  width: 200%;
  height: 100%;
  position: absolute;
  transition: 0.35s cubic-bezier(0.42, 0, 0.02, 1.21);
  top: 0;
  left: 0;
  display: flex;
}
.cstmodal .wrapper .content .inner .side {
  width: 50%;
  height: 100%;
  overflow: auto;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
        background: #273A4B;
}
@media (max-widtH: 640px) {
  .cstmodal .wrapper .content .inner .side {
    align-items: flex-start;
  }
}
.cstmodal .wrapper .content .inner .side form .field {
  margin: 10px 0;
}
.cstmodal .wrapper .content .inner .side form .field label {

}
.cstmodal .wrapper .content .inner .side form .field input[type=submit] {
  border: none;
  background: #FF206E;
  color: white;
  transition: 0.15s ease-in-out;
  cursor: pointer;
}
.cstmodal .wrapper .content .inner .side form .field input[type=submit]:hover {
  background: white;
  color: #FF206E;
}
.cstmodal .wrapper .content .inner .side form .field input[type=text], .cstmodal .wrapper .content .inner .side form .field input[type=password], .cstmodal .wrapper .content .inner .side form .field input[type=email] {
  padding: 0px 0;
  width: 100%;
  font-size: 35px;
  outline: 0;
  border: none;
  background: none;
  border-bottom: 2px solid #ccc;
  transition: 0.15s ease-in-out;
}
.cstmodal .wrapper .content .inner .side form .field input[type=text]:focus, .cstmodal .wrapper .content .inner .side form .field input[type=password]:focus, .cstmodal .wrapper .content .inner .side form .field input[type=email]:focus {
  border-bottom: 2px solid #FF206E;
}
.cstmodal .options {
  display: flex;
}
.cstmodal .options a {
    width: 100%;
    text-align: center;
    text-decoration: none;
    transition: 0.15s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2A3E51;
    font-size: 18px;
    color: #fff;
}
.cstmodal .options a:hover {
  color: #E2473D;
}
.cstmodal .options a.active {
  z-index: 100;
  background: #E2473D;
  color: white;
    padding: 10px 0;
}
   