/*
 * Copyright (c) 2008-2018 Haulmont.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

@font-face {
    font-family: 'SFProDisplay';
    src: url('../fonts/SFPRODISPLAYREGULAR.OTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../fonts/SFPRODISPLAYBOLD.OTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100%;
    min-height: 100%;
}

body {
    font-family: 'SFProDisplay', sans-serif;
    font-weight: normal;
    color: rgba(51, 51, 51, 1);
    padding: 40px 0;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

h3 {
    margin: 0;
}

a {
    color: rgba(51, 51, 51, 1);
}

a:hover {
    color: rgba(51, 51, 51, 1);
}

.form-signin {
    border: 1px solid rgba(227, 227, 227, 1);
    padding: 40px;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
}

.form-support {
    max-width: 700px;
    border: none;
}

.support-card {
    display: flex;
    flex-direction: column;
    align-items: center
}

.support-icon {
    display:block;
    width: 150px;
    height: 150px;
    padding: .5rem;
}

.letter-svg {
    width: 100%;
}

.support-text {
    font-family: SFProDisplay;
    font-weight: 400;
    font-size: 28px;
    color: #333333;
}

.support-link {
    color: #1145B4;
    text-decoration: underline;
    cursor: pointer;
}

.form-signin-heading {
    margin-bottom: 20px;
    text-align: center;
}

.form-control {
    height: 52px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 8px;
    background-color: #fafafa;
    margin-bottom: 16px;
    width: 100%;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.07);
}

.form-control:focus {
    z-index: 2;
}

.form-username, 
.form-password {
    border: none;
}

.container_2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    position: relative;
}

.container-border {
    box-shadow: 0px 4px 23px rgba(0, 0, 0, 0.2);
    border-radius: 33px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.container-content {
    margin: 20px 20px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container-header {
    padding: 10px;
}

.header-text {
    font-size: 28px;
    font-weight: 350;
    line-height: 30px;
    text-align: center;
    color: rgba(51, 51, 51, 1);
}

.header-subtext {
    font-size: 20px;
    font-weight: 350;
    line-height: 30px;
    text-align: center;
    color: rgba(51, 51, 51, 1);
    margin-top: 20px;
    margin-bottom: 10px;
}

.container-form {
    padding: 40px;
    margin: 10px;
    width: 100%;
}

.container-input {
    position: relative;
    display: flex;
    align-items: center;
}

.header {
    height: 60px;
    width: 100%;
    background: rgba(251, 221, 230, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 10px 50px;
}

.rsmu-logo {
    margin-right: 10px;
    width: 30px;
}

.paracelsus-logo {
    width: 100px;
}

.container_1 {
    margin-top: 20px;
}

.link-password {
    display: none;
}

.question {
    display: none;
}

.help_block {
    display: block;
    position: absolute;
    right: 0;
}

.help_block.help_block-help {
    bottom: 165px;
}

.help_block.help_block-subscribe {
    bottom: 100px;
}

.help_block-border {
    width: 270px;
    height: 60px;
    border-radius: 50px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 20px 0px 15px -15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.help_block-colored {
    width: 250px;
    height: 40px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 1rem;
}

.help_block-colored:hover {
    filter: drop-shadow(7px 3px 7px rgba(51, 51, 51, 0.4));
    transition: filter 0.1s, transform 0.3s;
}

.help_block-colored-blue {
    background-color: #D9FCFF;
}

.help_block-colored-pink {
    background-color: rgba(239, 173, 206, 1);
}

.help_block-link {
    font-size: 16px;
    text-decoration: none;
    color: rgba(51, 51, 51, 1);
    font-weight: 350;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.help_block-link:hover {
    color: rgba(51, 51, 51, 1);
    font-weight: 350;
}

.btn-link:focus, 
.btn-link:hover {
    text-decoration: none;
}

.button-icon-toggle {
    position: absolute;
    right: 10px;
    top: 35%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    background-color: #fafafa;
}

.container-icon-student-page {
    margin: 0 30px 0 17px;
}

.icon-student-page {
    width: 25px;
    height: 25px;
}

.icon {
    width: 20px;
    height: 20px;
}

.button-student-page {
    display: flex;
    height: 52px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    width: 100%;
    background-color: #D9FCFF;
    border: none;
    text-align: center;
    cursor: pointer !important;
    padding: 13px 17px;
    align-items: center;
}

.button-student-page:hover {
    filter: drop-shadow(7px 3px 7px rgba(51, 51, 51, 0.3));
    transition: filter 0.1s, transform 0.3s;
}

.button-student-page:focus {
    z-index: 2;
}

.alert {
    border-radius: 10px;
}

.btn.btn-lg.btn-primary.btn-block.auth-submit {
    background-color: rgba(184, 22, 71, 1);
    border: none;
    height: 52px; 
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
}

.auth-submit:hover {
    filter: drop-shadow(7px 3px 7px rgba(51, 51, 51, 0.7));
    transition: filter 0.1s, transform 0.3s;
}

.nav-tabs {
    list-style: none;
    padding: 0;
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 2rem;
}

.nav-tabs li {
    width: 50%;
    margin: 0;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 16px;
}

.nav-tabs>li>a {
    text-align: center;
    padding: 1rem 3rem;
    color: rgba(51, 51, 51, .5);
}

.nav-tabs>li>a:hover {
    border-bottom: none;
    filter: drop-shadow(0px -2px 4px rgba(51, 51, 51, 0.1));
    transition: filter 0.1s, transform 0.3s;
}

.nav-tabs li.active {
    border-bottom: 3px solid #bd1e4eb0;
    color: rgba(51, 51, 51, 1);
}

.tab-content {
    margin-top: 1rem;
}

.tab-pane {
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.tab-pane.active {
    visibility: visible;
    height: auto;
    overflow: visible;
}

.nav>li>a:focus, .nav>li>a:hover {
    background-color: white;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    border: none;
    filter:none;
}

@media (max-width: 1200px) {
    .help_block {
        display: none;
    }
    .link-password {
        display: block;
        margin-bottom: 16px;
        cursor: pointer;
        text-align: right;
    }

    .question {
        display: block;
        padding: 10px 50px;
        cursor: pointer;
        .question-icon {
            width: 30px;
            height: 30px;
        }
    }
}

@media (max-width: 768px) {
    .container_2,
    .container-border {
        padding: 20px 0;
    }
    .container-content {
        margin: 0;
    }

    .container-form {
        padding: 0;
    }

    .form-signin {
        padding: 10px;
    }

    .container-icon-student-page {
        margin: 0 5px 0 0;
    }
    .button-student-page {
        justify-content: center;
    }
}