﻿.ereg-portal-outer-div {
    height: 100vh;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.ereg-portal-inner-div {
    width: 90%;
    justify-self: center;
    align-self: center;
    display: flex;
    flex-direction: column;
    border-radius: 0.25rem;
    border: 1px solid #ECECEC;
    background: #FFF;
    box-shadow: 0px 8px 16px 0px rgba(62, 19, 77, 0.07);
}

@media only screen and (min-width: 768px){
    .ereg-portal-inner-div{
        width: 75%;
    }
}

@media only screen and (min-width: 1400px){
    .ereg-portal-inner-div {
        width: 40%;
    }
}

.ereg-header-div {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ECECEC;
}

.ereg-header-div h1 {
    padding: 1.25rem;
    border-radius: 0.25rem 0.25rem 0rem 0rem;
    border-bottom: 1px solid #EAEBF0;
    background: #2A7076;
    color: #FFF;
    font-family: "Open Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

@media only screen and (min-width: 768px){
    .ereg-header-div h1{
        font-size: 1.5rem;
    }
}

.ereg-header-inner-div{
    display: flex;
    justify-content: space-between;
    padding: 1.25rem;
}

@media only screen and (max-width: 375px) {
    .ereg-header-inner-div{
        padding: 1rem;
    }
}

.ereg-header-inner-div img{
    align-self: center;
}

.ereg-header-inner-div div {
    align-self: center;
}

.ereg-h2 {
    color: #0D5257;
    font-family: "Open Sans", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
}

@media only screen and (max-width: 375px) {
    .ereg-h2 {
        font-size: 1.1rem;
    }
}

.ereg-header-p {
    color: #737373;
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 0;
}

.ereg-portal-main-outer-div{
    padding-top: 1.5rem;
    padding-bottom: 1.25rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.ereg-portal-main-inner-div{
    padding-bottom: 1.5rem;
}

.ereg-portal-input {
    display: flex;
    border-radius: 0.5rem;
    border: 1px solid #DADADA;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.04);
    padding: 0.75rem;
}

.ereg-portal-input input{
    border: none;
    width: 100%;
}

.ereg-portal-input input:focus-visible{
    outline: none;
}

.ereg-portal-input p{
    margin-bottom: 0;
}

.ereg-seal {
    width: 4.1875rem;
    height: 4.1875rem;
}

.ereg-h3 {
    color: #333;
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
}

.ereg-input-message {
    color: #737373;
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 0;
    padding-top: 0.4rem;
}

#recaptcha-widget {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

/*for very small screens*/
@media only screen and (max-width: 375px){
    #recaptcha-widget {
        overflow: auto;
        max-width: 100%;
        scrollbar-width: none;
    }
}

.ereg-verify-message {
    color: #2A7076;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
    margin-bottom: 0;
}


.ereg-portal-buttons-div {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    justify-content: center;
}

@media only screen and (min-width: 768px){
    .ereg-portal-buttons-div{
        flex-direction: row;
    }
}

.ereg-clear-button {
    color: #09101D;
    background-color: #FFF;
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 0.375rem;
    border: 1px solid #DADADA;
    padding: 0.4375rem 0.8125rem;
    width: 100%;
}

@media only screen and (min-width: 768px){
    .ereg-clear-button{
        width: 5rem;
    }
}

.ereg-clear-button:hover {
    background-color: #737373;
    color: #FFF;
}

.ereg-clear-button:active {
    background-color: #444;
    color: #FFF;
}

.ereg-clear-button:focus {
    box-shadow: 0px 0px 0px 4px rgba(33, 37, 41, 0.10);
}

.ereg-clear-button:focus-visible{
    outline: none;
}


.ereg-verify-button {
    color: #FFF;
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 0.375rem;
    border: 1px solid #0D5257;
    background: #0D5257;
    padding: 0.4375rem 0.8125rem;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .ereg-verify-button {
        width: 5rem;
    }
}

.ereg-verify-button:hover {
    background: linear-gradient(180deg, #0D4B57 0%, #136065 45.87%, #0D5257 97%);
}

.ereg-verify-button:active {
    background: linear-gradient(180deg, #013A45 0%, #03494E 53%, #013A45 100%);
}

.ereg-verify-button:focus {
    box-shadow: 0px 0px 0px 4px rgba(0, 182, 189, 0.20);
}

.ereg-verify-button:focus-visible {
    outline: none;
}

.ereg-validation-banner {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}
.ereg-validation-banner.show {
  display: block;
  opacity: 1;
}


/*disabled was not being respected on the button, so created a separate class to handle it*/
.ereg-verify-button-disabled {
    border-radius: 0.375rem;
    border: 1px solid #0D5257;
    opacity: 0.65;
    background: linear-gradient(180deg, #0D4B57 0%, #136065 45.87%, #0D5257 97%);
    color: #FFF;
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.4375rem 0.8125rem;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .ereg-verify-button-disabled {
        width: 5rem;
    }
}