/*Input Field*/

.input-field {
    position: relative;
    width: 65%;
    margin-left: 18%;
    line-height: 44px;
}

.fpass {
    color: #802121;
    text-decoration: underline;
}

label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #a02929;
    transition: 0.2s all;
    cursor: text;
}

input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 0.5rem 0;
    border-bottom: 2px solid #a02929;
    box-shadow: none;
}

input:invalid {
    outline: 0;
    /* color: #ff2300;
       border-color: #ff2300;*/
}

input:focus,
input:valid {
    border-color: #a02929;
}

input:focus~label,
input:valid~label {
    font-size: 14px;
    top: -24px;
    color: #a02929;
}

.tablinks {
    width: 100%;
}

div.backgroundimage img {
    position: absolute;
    width: 100%;
    height: 648px;
    object-fit: cover;
    opacity: 0.7;
}


/* Style the buttons that are used to open the tab content */

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.logincard {
    width: 50%;
    margin: auto;
    border-radius: 20px;
    z-index: 5;
    top: -190px;
    -webkit-box-shadow: 0px 43px 107px -10px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 43px 107px -10px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 43px 107px -10px rgba(0, 0, 0, 0.75);
}

.btn.btnred {
    background-color: #a02929;
    color: white;
    border-radius: 5px;
    border: none;
    padding: 1%;
    text-align: center;
    border: #d3d3d3;
}

.btn.btnred:hover {
    background-color: #802121;
    color: white;
}

 /* GOOGLE SIGNIN        */

.login_or{
    font-size:15px;
    width: 190px;
    text-align: center;
    border-bottom: 1px solid #802121;
    color:#802121;
    line-height: 0.1em;
    margin: 10px 0 20px;
    font-weight:bold
}

.btn.login_google{
    padding:5px;width:190px;border: 2px solid #802121;
    color:#802121;
}

.btn.login_google:hover{
    color:#802121;
    background-color:rgba(0,0,0,0.10);
}

 /* GOOGLE SIGNIN        */


div.md-form label {
    color: #a02929;
}

div.md-form label.active {
    color: #a02929;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
    align-items: center;
    align-content: center;
}

#facultylogin {
    animation: fadeEffect 1.3s;
    /* Fading effect takes 1 second */
}

#studentlogin {
    animation: fadeEffect 1.3s;
    /* Fading effect takes 1 second */
}


/* Go from zero to full opacity */

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

button.tablinks {
    background-color: #a02929;
    color: white;
}

button.tablinks.l1 {
    background-color: #ae2929;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

button.tablinks.l2 {
    background-color: #ae2929;
    color: white;
}

button.tablinks.active {
    background-color: #802121;
    color: white;
}

button.tablinks:hover {
    background-color: #802121;
    color: white;
}


/* NavBar */

body {
    overflow-x: hidden;
}

.navbar-custom {
    background-color: #a02929;
    padding: 0;
}

.navbar-custom .nav-item:hover {
    background-color: #802121;
}

.navbar-custom .nav-brand:hover {
    background-color: #802121;
}

.dropdown:hover .dropdown-menu,
.btn-group:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    margin-top: 0;
}

.dropdown-toggle {
    margin-bottom: 2px;
}

.navbar .dropdown-toggle,
.nav-tabs .dropdown-toggle {
    margin-bottom: 0;
}

.navbar .dropdown-menu a:hover {
    color: #a02929 !important;
}

.navbar a.navbar-brand {
    color: #fff;
    font-weight: 600;
}

#navbar {
    z-index: 9;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}


/* Footer */

@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

/* section {
    padding: 1%;
}

section .section-title {
    text-align: center;
    color: #00397a;
    margin-bottom: 50px;
    text-transform: uppercase;
}

#footer {
    background: #00397a !important;
}

#footer h5 {
    padding-left: 10px;
    border-left: 3px solid #eeeeee;
    padding-bottom: 6px;
    margin-bottom: 20px;
    color: #ffffff;
}

#footer a {
    color: #ffffff;
    text-decoration: none !important;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

#footer ul.social li {
    padding: 3px 0;
}

#footer ul.social li a i {
    margin-right: 5px;
    font-size: 25px;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}

#footer ul.social li:hover a i {
    font-size: 30px;
    margin-top: -10px;
}

#footer ul.social li a,
#footer ul.quick-links li a {
    color: #ffffff;
}

#footer ul.social li a:hover {
    color: #eeeeee;
}

#footer ul.quick-links li {
    padding: 3px 0;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}

#footer ul.quick-links li:hover {
    padding: 3px 0;
    margin-left: 5px;
    font-weight: 700;
}

#footer ul.quick-links li a i {
    margin-right: 5px;
}

#footer ul.quick-links li:hover a i {
    font-weight: 700;
}

@media (max-width:767px) {
    #footer h5 {
        padding-left: 0;
        border-left: transparent;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }
}

#footer a:hover {
    color: #bebebe;
} */

html {
    scroll-behavior: smooth;
}


/* .social dl,
ol,
ul {
    margin-top: -8%;
} */

@media (max-width: 1080px) {
    .logincard {
        width: 60%;
    }
}

@media (max-width: 980px) {
    .logincard {
        width: 70%;
    }
}

@media (max-width: 860px) {
    .logincard {
        width: 80%;
    }
}

@media (max-width: 760px) {
    .logincard {
        width: 85%;
    }
}
