#kc-header-wrapper {
    font-weight: bold;
}

#kc-info{
    border: none;
}

#kc-container-wrapper {
    width: 100%;
}

#kc-content {
    padding: 40px 80px;
}

#kc-header{
    float: none;
    padding-left: unset;
}

#kc-logo-wrapper{
    float: right;
    background-image: none !important;
}

#kc-logo-wrapper img {
    margin-top: 0px;
    padding-top: 80px;
    padding-right: 40px;
}

#kc-feedback {
    padding-left: 80px;
    padding-right: 80px;
}

.login-pf .container .login .medavislogin,
.login-pf .container .details .medavislogin,
#kc-feedback.medavisfeedback #kc-feedback-wrapper {
    max-width: 780px;
    margin: unset;
}

.feedback-error #kc-feedback-wrapper {
    background-image: unset !important;
}

#kc-feedback span {
    border-width: 1px 1px 1px 1px !important;
}

.modern-label-wrapper{
    padding-right: 20px;
    min-width: 200px;
    float: left;
}

.modern-label-wrapper, .modern-input-wrapper{
    display: grid;
}

.kc-logo-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.kc-dropdown > a {
    color: #539BBE !important;
}

#kc-content {
    background-color: rgba(255, 255, 255, 0.5);
}

a {
    color: #539BBE;
}

#kc-content-wrapper {
    display: flex;
}

#kc-form {
    width: 70%;
    margin-right: 20px;
    max-width: 820px;
}

.kc-form-area-wrapper {
    margin-top: 10px;
}

#login-tab {
    width: 43%;
    font-size: 22px;
    text-align: center;
    display: flex;
    align-items: center;
    cursor: pointer;
    max-width: 700px;
}

.login-tab-clicked {
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
}

.login-tab-clicked:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background-color: #316681;

}

.modern-login-tab {
    width: 50%;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 10px 10px 0 0;
    transition: background-color 0.3s, color 0.3s;
    padding: 5px 0;
    color: #316681;
}

.modern-login-tab:hover {
    text-decoration: none;
}

.modern-login-help {
    width: 100%;
    padding-left: 30px;
    border-left: 1px solid #ccc;
}

.modern-login-help-content {
    font-size: 13px;
}

.modern-login-help-icon-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
    align-items: center;
}

.modern-login-help-icon-container img{
    max-width: 24px;
    margin-right: 10px
}

@media (max-height: 768px){

    #kc-container-wrapper {
        position: inherit;
        float: none;
    }

    #kc-content {
        padding: 20px 10px 10px;
    }

    #kc-logo-wrapper img {
        padding-top: 40px;

    }

}

@media(min-height: 769px){
    .medavis-header, .medavis-footer{
        text-align: left;
    }
    .medavis-center-button{
        display: inline-block;
    }
}

@media (max-width: 1400px) and (min-width: 1025px){
    .modern-login-help {
        width: 40%;
    }

    #login-tab {
        font-size: 17px;
    }
}

@media (max-width: 1024px){
    #kc-content-wrapper {
        display: unset;
    }

    #login-tab {
        width: 100%;
        font-size: 20px;
        padding-left: unset;
    }

    #login-referrer-help {
        width: 100%;
        padding: 0 20px;
        border-top: 1px solid #ccc;
    }

    #login-patient-help {
        width: 100%;
        padding: 0 20px;
        border-top: 1px solid #ccc;
    }

    #kc-form {
        width: 100%;
        margin-right: unset;
    }

    .modern-login-help {
        width: 100%;
        border-left: none;
    }

    .modern-login-help-icon-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 780px){
    #kc-logo{
        min-height: unset;
    }
    #kc-logo-wrapper img {
        padding-right: 0px;
    }

    #kc-logo-wrapper{
        float: unset;
    }

    #kc-content {
        padding: 20px 10px 10px;
        width: 100%;
    }

    #kc-feedback {
        padding-left: 10px;
        padding-right: 10px;
    }

    #login-tab {
        width: 100%;
        font-size: 18px;
        padding-left: unset;
    }

    .modern-login-help-icon-container {
        grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    }
}

@media (max-width: 470px) {
    #kc-header-wrapper{
        font-size: 20px;
    }

    .medavis-label-wrapper {
        padding-right: 20px;
    }

    .modern-label-wrapper{
        padding-right: 0px;
        min-width: auto;
        float: none;
    }

    #login-tab {
        width: 100%;
        font-size: 13px;
        padding-left: unset;
    }
}

@media (max-width: 430px){
    #kc-logo-wrapper img {
        max-width: 300px;
        max-height: 200px;
    }
}