﻿.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1000;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.overlay.show {
    visibility: visible;
    opacity: 1;
}

.popup {
  border-radius: 5px;
  position: relative;
  transition: all 0.5s ease-in-out;
  position: relative;
  height: 100%;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 0px;
  right: 460px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  z-index: 1200;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}
.popup div img{
  margin-top: 160px;
  max-height: 700px;
}
#captcha_inner {
    display: flex;
    align-items: center;
    position: relative;
    width: 395px;
    height: 65px;
    margin: 0px auto;
}
#CaptchaImage, #CaptchaImage0, #CaptchaImage1 {
    margin-bottom: 10px;
    position: absolute;
    right: -3px;
    top: -20px;
    margin-top: 0px;
    margin-left: 10px;
    height: 65px;
    width: 194px;
}
#CaptchaImage0 {
    top: 0px;
} 
.popup .forget_password #captcha_inner input {
    height: 65px;
    width: 194px;
    padding-left: 16px;
    margin-top: 0;
}
#captcha_inner > a {
    width: 30px;
    height: 30px;
    background-image: url(/Content/images/front_new/images/refresh.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: block !important;
    position: absolute;
    right: -45px;
    top: -2px;
    border-radius: 99em;
}
#captcha_login > a {
    width: 30px;
    height: 30px;
    background-image: url(/Content/images/front_new/images/refresh.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: block !important;
    position: absolute;
    right: -45px;
    top: 18px;
    border-radius: 99em;
}
@media screen and (max-width: 480px) {
    #captcha_inner {
        width: 200px;
        height: 30px;
    }
    #CaptchaImage, #CaptchaImage0, #CaptchaImage1 {
        right: 0px;
        top: -7px;
        margin-left: 10px;
        height: 30px;
        width: 95px;
    }
    .popup .forget_password #captcha_inner input {
        height: 30px;
        width: 95px;
        padding-left: 10px;
        margin-top: 0;
    }
    #captcha_inner > a {
        right: -37px;
        top: -27px;
    }
    #captcha_login > a {
        right: 3px;
        width: 25px;
        top: 12px;
    }
}