﻿@font-face {
    font-family: "Open Sans";
    src: url(../fonts/OpenSans-Regular.ttf) format('truetype')
}
@font-face {
    font-family: "Open Sans Bold";
    src: url(../fonts/OpenSans-Bold.ttf) format('truetype')
}

body{
    display: flex;
    flex-direction:column;
}

.body-container {
  margin-top: 100px;
  padding-bottom: 40px; 
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.welcome-page li {
  list-style: none;
  padding: 4px; }

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0; }

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray; }
  .grants-page .card .card-title {
    font-size: 120%;
    font-weight: bold; }
    .grants-page .card .card-title img {
      width: 100px;
      height: 100px; }
  .grants-page .card label {
    font-weight: bold; }

.navigation {
    display: flex;
    justify-content: space-between;
    align-items:center;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px 0 #0000001e;
    height: 68px;
    width: 100%;
    padding-top: 15px;
    padding-left: 70px;
    padding-right: 70px;
    padding-bottom: 10px;
}

.degu-logo{
    margin-top: -5px;
}

.orange-btn {
    font-size: 14px;
    font-weight: 500;
    box-shadow: none !important;
    font: 400 13.3333px Arial;
    font-style: normal;
    font-variant-ligatures: normal;
    font-variant-caps: normal;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    font-stretch: normal;
}

.main-orange-btn {
    background-color: #ff8362 !important;
    color: #FFFFFF !important;
}
    .main-orange-btn:hover {
        text-decoration: none;
    }

.footer {
    min-width: 100%;
    width: 100%;
    flex-direction: row;
    box-sizing: border-box;
    display: flex;
    margin-top:auto;
    place-content: stretch space-between;
    align-items: stretch;
    padding: 10px;
    padding-left: 70px;
    padding-right: 70px;
    background-color: #F4F4F4;
    color: #6B6B6B;
    
}
    .footer span, .footer a {
        font-size: 12px;
    }

    .footer a {
        color: #6B6B6B;
        text-decoration: none;
        cursor:pointer;
    }
    .footer .central{
        display:flex;
        flex-direction:row;
    }

.custom-style .inputElement {
    width: 100%;
    min-height: 56px;
    border: 1px solid #A3ABB2;
    background-color: white;
    border-radius: 2px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    display: flex;
}

.custom-style .suffix {
    font-size: 16px;
    margin-top: 18px;
    margin-left: 5px;
}

.custom-style .mainElement {
    width: 100%;
    padding: 5px;
    padding-top: 10px;
    border: 0;
    margin-top: 0px;
    font-size: 16px;
    font-family: "Open Sans";
    border-radius: 2px;
    outline: none;
}

.custom-input .inputElement:focus-within {
    border: 1px solid #7A4329;
}

.custom-input .inputElement:hover {
    border: 1px solid #6B6B6B;
}

.custom-style .mainElement:-ms-input-placeholder {
    color: #AEAEAE;
}

.custom-style .title {
    margin-top: -10px;
    font-weight: 600;
    position: absolute;
    background-color: white;
    color: #7A4329;
    font-size: 12px;
    font-family: "Open Sans";
    margin-left: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.custom-style .bottom-el {
    display: flex;
    font-family: Open Sans;
    flex-direction: row-reverse;
    font-size: 11px;
    color: #6B6B6B;
}

.custom-style .bottom-el ul {
    font-family: Open Sans;
    list-style-type: none;
    font-size: 11px;
}

.email, .password {
    margin-bottom: 34px;
}

.custom-style  {
    align-self: center;
    width: 20vw;
}

.custom-style input {
    font-size: 16px;
    font-family: "Open Sans Bold";
}

.login-title, .login-descr, .reset-title, .reset-descr {
    text-align: center;
    margin-bottom: 32px;
}

.login-title, .reset-title {
    color: #3A3A3A;
    font-family: "Open Sans Bold";
    font-size: 18px;
    letter-spacing: 0;
    line-height: 26px;
}

.login-descr, .reset-descr {
    color: #3A3A3A;
    font-family: "Open Sans";
    font-size: 14px;
    letter-spacing: 0;
    line-height: 22px;
    text-align: center;
}

.login-btn {
    min-height:48px;
    width:100%;
    margin-top:25px !important;
}

.bottom-urls{
    display:flex;
    justify-content:space-between;
    margin-top:16px;
}

.bottom-urls a {
    color: #3A3A3A;
    font-family: "Open Sans Bold";
    width:100%;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 22px;
    text-decoration: underline;
}

.mdl-checkbox__label{
    font-family:"Open Sans";
}

.login-remember-checkbox.is-checked .mdl-checkbox__box-outline {
    border-color: #FF8362 !important;
}

.login-remember-checkbox.is-checked .mdl-checkbox__tick-outline {
    background-color: #FF8362 !important;
}

.error{
    color:red;
}

.bold-text {
    font-family: "Open Sans Bold" !important;
}

.forgot-password-url {
    float: right;
    text-align: right;
}


.inform-popover {
    position: fixed;
    right:20px;
    bottom:50px;
    display: none;
    justify-content: space-between;
    background-color: #92A1B1;
    box-shadow: 0 2px 10px 0 #0000001e;
    color: #F1F6FC;
    padding: 15px;
    padding-right: 27px;
    min-width: 200px;
    height: auto;
    cursor: default;
    z-index: 3000;
    white-space: pre-line;
    border-radius: 3px;
}

.inform-popover .content {
    font-size: 15px;
}

.inform-popover .icon-close {
    position: absolute;
    margin-top: -10px;
    margin-left: 5px;
    font-size: 15px !important;
    color: #F1F6FC !important;
}

.inform-popover .icon-close:hover {
    color: black !important;
}

@media only screen and (max-width: 1650px) {
    .custom-style {
        width: 30%;
    }
}

@media only screen and (max-width: 1100px) {
    .custom-style {
        width: 50%;
    }
}

@media only screen and (max-width: 800px) {
    .footer {
        flex-direction: column;
        align-items: center;
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media only screen and (max-width: 700px) {
    .email, .password {
        min-width: 20px;
        width: 100%;
    }

    .custom-style {
        width: 96%;
    }

    .navigation {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (min-width: 600px) {
    .email, .password {
        min-width: 330px
    }
}

@media only screen and (max-width: 500px) {
    .footer .central {
        flex-direction: column;
        align-items: center;
    }
}