/**body {
  overflow: hidden;
}**/

.container-custom {
    /**background: url('/portals/0/images/login-bg-1-min.jpg');**/
    display: flex;
    justify-content: center;
    padding-top: 5rem;
    min-height: max-content;
}

.screen {
    position: relative;
    /* max-height: 30rem; */
    width: 60%;
    box-shadow: 0px 0px 2rem #8e9093;
    border-radius: 15px;
    height: fit-content !important;
}

.screen .screen__content {
    padding: 1rem 1rem;
}

.screen .screen-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    padding: 40px;
    position: relative;
    border-radius: 0 10px 10px 0;
    flex: 10%;
}

.screen__content {
    z-index: 1;
    position: relative;
    height: 100%;
    flex: 11%
}

.screen__content .screen__logo {
    width: 100%;
    text-align: center;
}


.screen__content .logo__img {
    /**position: absolute;**/
    width: 60%;
    left: .5rem;
    top: 1rem;
}

.screen__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.screen__background__shape {
    transform: rotate(45deg);
    position: absolute;
}

.screen__background__shape1 {
    height: 520px;
    width: 520px;
    background: #fff;
    top: -50px;
    right: 120px;
    border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: #ef4d36;
    top: -172px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: linear-gradient(270deg, #ef4d36, #e36150);
    top: -24px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape4 {
    height: 400px;
    width: 200px;
    background: #ef4d36;
    top: 420px;
    right: 50px;
    border-radius: 60px;
}

.login,
.register,
.forget {
    padding-top: 1rem;
    position: relative;
}

.login .message,
.password .message,
.register .message,
.forget .message {
    color: #DC3549 !important;
    font-size: .85rem;
    font-weight: 500;
    font-style: italic;
    text-shadow: 0 0 0 #ef4d36;
    text-align: center;
    position: absolute;
    width: 90%;
    line-height: 1;
    display: flex;
    padding: .2rem;
    /* border-bottom: dashed .15rem #ef4d3661; */
    /* height: 6rem; */
}

/* .password .message{
    top: 16rem;
    right: 2.2rem;
}
.login .message{
    top: 12rem;
    right: 1.2rem;
}
.register .message{
    top: 10rem;
    right: 1.5rem;
}
.forget .message {
    top: 9.5rem;
    right: 1.5rem;
} */

.login .message>span>i,
.register .message>span>i,
.forget .message>span>i {
    display: inline-flex;
    font-size: 1.1rem;
    justify-self: flex-start;
    margin-left: .4rem;
    align-items: flex-start;
    margin-top: -.2rem;
}

.login .message>span,
.register .message>span,
.forget .message>span {
    display: flex;
    justify-self: flex-end;
}

.login .message.message___warning,
.register .message.message___warning,
.forget .message.message___warning {
    color: #1a4698;
}

.username-back {
    text-align: center;
    margin: 1rem;
}

.username-back .username-item {
    /* border: 1px solid #1a4698c2; */
    padding: 0.7rem;
    border-radius: 3rem;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
}

.username-back .username-item:hover {
    color: var(--button-hover-color);
    transition: transform 0.55s ease-in;
}

.username-back .username-item::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--button-hover-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-in;
}

.username-back .username-item:hover::after {
    transform: scaleX(1);
    transform-origin: bottom right;
}

.login__field {
    border-bottom: 0.15rem solid #1a46985c;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 1.5rem 1rem;
    color: #1a4698;
}

.register .login__field {
    border-bottom: 0.15rem solid #1a46985c;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 1.5rem 1.2rem;
    color: #1a4698;
}

.login__icon {
    position: absolute;
    top: 30px;
    color: #1a4698;
}

input.login__input {
    width: 100% !important;
}

.login__input {
    border: none;
    background: none;
    padding: .3rem .5rem;
    font-weight: 500;
    font-size: .9rem;
    transition: 0.2s;
    width: 75%;
}

.login__input:active,
.login__input:focus,
.login__input:hover {
    outline: none;
    border-bottom-color: #6a679e;
}

.login__submit {
    background: #fff;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 1.6rem;
    border-radius: 1.6rem;
    border: 0rem solid #d4d3e8;
    background-color: #f1f1f1;
    width: 100%;
    transition: 0.5s;
    max-width: 40%;
    padding: 0.5rem 1rem;
    align-items: center;
    margin: 0.5rem auto;
    display: flex;
    justify-content: center;
    color: var(--button-color);
    box-sizing: border-box;
}

.login__submit:disabled {
    opacity: .6;
}

.login__submit .button__text {
    display: inline-flex;
    align-items: center;
    margin-left: 0.2rem;
    font-weight: 500;
    font-size: 1rem;
    direction: rtl;
    /* width: -webkit-fill-available; */
}

.login__submit>i {
    display: inline-flex;
    font-size: 1.4rem;
    align-items: center;
    margin-right: .5rem;
}

.login__submit:active,
.login__submit:focus,
.login__submit:hover {
    background-color: var(--button-color);
    transition: 0.5s;
    outline: none;
    color: #fff;
    /* justify-content: space-between; */
}

.login__submit .button__icon {
    font-size: 24px;
    width: 50%;
}

.login__submit:hover .button__icon {
    font-size: 24px;
    transform: translateX(-100%);
    transition: 1s;
}

.login__link {
    display: flex;
    margin-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1.2rem;
    background: none;
    border: none;
    color: #1a4698;
    padding: 0;
    line-height: 1;
    font-size: 0.9rem;
    outline: none;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.back__to__site {
    position: absolute;
    bottom: 0.5rem;
    color: #345ba475;
    font-weight: 600;
    text-shadow: 0 0 0.4rem #8199c6;
    left: 3rem;
}

.login__link:focus {
    outline-style: dotted;
    outline-color: coral;
    outline-width: 0.1rem;
    outline-offset: .4rem;
}

.login__link:disabled {
    opacity: .5;
}

.social-login {
    height: 140px;
    width: 160px;
}

.social-icons {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: flex-start;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-login__icon {
    padding: .5rem .8rem;
    color: #eee !important;
    text-shadow: 0px 0px 8px #1a4698;
}

.social-login__icon:hover {
    transform: scale(1.5);
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    box-shadow: 0 0 0 30px white inset !important;
}

[data-hide-in-ssr="true"] {
    visibility: hidden;
}

/* Change Dnn Page Styles */

.container.page-title-container.page-title-column-center {
    display: none;
}

.page-breadcrumbs.outset {
    display: none;
}

.mb-c {
    margin: 0 0 30px 0;
}

.warning-message {
    display: flex;
    align-items: center;
}

span.message__text {
    margin: 0 auto;
}

/**.login-register-container * {
    direction: ltr !important;
}**/

label.form-field-label {
    position: absolute;
    font-size: 0.8rem;
    margin: 6rem 0 0;
    color: red;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Style For mobile phones: */
@media only screen and (max-width: 768px) {
    .login__submit {
        max-width: 80%;
    }

    .screen__content .logo__img {
        width: 90%;
    }

    .screen .screen-image {
        border-radius: 10px 10px 0 0;
    }

    .screen {
        width: 90% !important;
        max-height: max-content;
        flex-direction: column;
    }

    .container-custom {
        padding-top: 3rem;
    }
}

@media only screen and (min-width: 768px) and (min-width: 992px) {
    .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}