@font-face {
    font-family: 'InterMedium';
    src: url("/static/Inter-Medium.otf");
}


@font-face {
    font-family: 'InterThin';
    src: url("/static/Inter-Thin.otf");
}



@font-face {
    font-family: 'InterDisplayRegular';
    src: url("/static/InterDisplay-Regular.otf");
}

button {
    cursor: pointer;
}

h1 {
  font-family: InterMedium;
}

body {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

#site {
    display: flex;
    height: 100vh;
    overflow: hidden;
}


#sidebar {
    width: 15%;
    display: none;
    flex-direction: column;
    justify-content: center;
    border-right: 1px grey solid;
}


#content {
    width: 95%;
}

#adminmenu {
    height: 50%;
}



#globalmenu {
    height: 50%;
}

#menu {
    height: 100%;
}

#uploadButton {
    border: 1px grey solid;
    border-radius: 12px;
    display: flex;
    width: 80%;
    justify-content: center;
    padding-top: 5%;
    padding-bottom: 5%;
    margin: auto;
    margin-top: 8%;
    font-family: InterMedium;
}

.MenuItem {
    display: flex;
    color: #4A4948;
    margin: auto;
    font-family: InterMedium;
    color: #304D50;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    cursor: pointer;
}

.password {
    cursor: pointer;
    text-align: center;
    font-family: InterDisplayRegular;
    color: #2F4D4F;
}



.MenuItem:hover {
    background-color: #EFF5F5;
}


.MenuItemActive {
    display: flex;
    color: #4A4948;
    margin: auto;
    font-family: InterMedium;
    color: #304D50;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: #EFF5F5;
    cursor: pointer;
}

.MenuItem a {
  text-decoration: none;
  color: #4A4948;
}


.MenuItemActive a {
  text-decoration: none;
  color: #4A4948;
}


#uploadButton a {
  text-decoration: none;
  color: #4A4948;
}

#uploadButton:hover {
    background-color: #EFF5F5;
    cursor: pointer;
}



.MenuHeading {
    display: flex;
    width: 80%;
    color: #7B7976;
    margin: auto;
    margin-top: 10%;
    font-family: InterDisplayRegular;
    font-size: .75em;
}

.MenuLogo {
    margin-right: 10px
}

#SideBarLogo {
    margin-bottom: 20px;
    width: 80%;
    margin: auto;
    margin-top: 10px;
}


.PageBody{
    height: 100%;
    padding: 5px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.bodyHeader{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: InterDisplayRegular;
    font-size: 1em;
    color: #7B7976;
}

.RepoButton{
    background-color: #304D50;
    color: white;
    font-size: .875em;
    width: 120px;
    height: 40px;
    border-radius: 8px;
    border-width: 0;
    font-family: InterDisplayRegular;
}

.RepoButton:hover{
    background-color: #263C3E;
}

.bodyHeader a{
    text-decoration: none;
    color: white;
    width: 120%;
    border: 1px solid white
}

.InviteButton {
    width: 100px;
    height: 40px;
}

.InviteCancel {
    background-color: #FAFAFA;
    border: 1px solid black;
    color: black
}

.InviteCancel:hover{
    background-color: #EFF5F5;
}

.memberTitle p{
    margin:10px;
    font-family: InterDisplayRegular;
}

.PageHeader{
    font-family: InterDisplayRegular;
    font-size: 1.875em;
}


.memberTitle.MemberDetail{
    display: flex;
    align-content: center;
    align-items: center;
}

.MemberDetailBullets{
    margin-left: 1rem;
}

.ResourceList{
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.ResourceSearch{
    border: 1px solid;
    border-color: #7B7976;
    border-radius: 5px;
    width:60%;
    padding: 10px;
    display: flex;
    align-items: center;
}


.ResourceSearch input{
    width:100%;
    border-width: 0;
    margin: 1px;
    outline: none;
    font-size: 1rem;
}


#memberTextSearch {
    width: 100%;
}

#memberTextSearch input{
    width: 100%;
}


.FilterButton{
    border-color: #7B7976;
    background-color: white;
    border-radius: 5px;
    border-width: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-family: InterDisplayRegular;
    height: 100%;
}


PaginationButton{
    border-color: #414651;
    background-color: white;
    border-radius: 5px;
    border-width: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-family: InterDisplayRegular;
    height: 100%;
    padding: 10px 8px;
}

.PaginationButton.disabled {
    visibility: hidden;
}

a.PaginationButton {
    border: 1px solid #414651;
    background-color: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-family: InterDisplayRegular;
    height: 100%;
    padding: 10px 8px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.PaginationButton:hover {
    background-color: #f2f7f7;
}


.dropbtn {
  color: black;
  padding: 5px;
  font-size: 16px;
  border: 1px solid #7B7976;
  border-radius: 5px;
  cursor: pointer;
  background-color: white;
}

.dropbtn img{
    margin-left: 8px;
}

.dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
}

.dropdown button{
    height: 100%;
}

.tablebtn{
    border: none;
    padding: 0px;
    margin: 0px;
    background-color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #FAFAFA;
}

.ResourceFilter{
    display: flex;
    width: 90%;
    justify-content: space-between;
    height: 40px;
}

.ResourceTable{
    width: 95%;
    display: flex;
    flex-direction: column;
    margin: 15px 0px;
    min-height: 300px;
}


.ResourcePagination{
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-top: 20px;
    align-items: center;
}

.TableHeader{
    display: flex;
    padding: 10px;
    justify-content: space-between;
    margin-left: 1em;
}

.TableRow{
    display: flex;
    padding: 10px;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #E9EAEB;
}

.TableCell{
    width: 20%;
    font-size: 0.8rem;
    font-family: InterMedium;
    color: #535862;
    overflow: hidden;
    max-height: 1.2em;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0.3rem;
}


.TableCell.Small{
    width: 5%;
}

.FirstCell{
    font-family: InterMedium;
    color: black;
}

.TableHeaderCell{
    font-size: .75rem;
    font-family: InterDisplayRegular;
    color: #7B7976;
    width: 20%;
}


.TableSelect {
    display: flex;
    cursor: pointer;
    justify-content: center;
    width: 10%;
}


.TableHeader.Role div{
    width: 5%;
}

.OddRow{
    background-color: #FAFAFA;
}

.PreviousSpan {
    margin-left: 7px;
}


.NextSpan {
    margin-right: 7px;
}

.PaginationLinks a {
    margin: 16px 8px;
    padding: 8px;
    text-decoration: none;
    color: #757575;
}


.PaginationLinks a:hover {
    background-color: #DFDFDF;
    color: white;
    border-radius: 5px;
    color: #757575;
}

.PaginationLinks a.activePage {
    background-color: #DFDFDF;
    color: white;
    border-radius: 5px;
    color: #757575;
}

.status {
    padding: 2px 8px;
    border-radius: 16px;
    text-align: center;
}

.status.pending {
    background-color: #EFF8FF; /* Yellow */
    color: #175CD3;
}


.status.neutral {
    background-color: #DFEAEC; /* Yellow */
    color: #263D40;
}

.status.active {
    background-color: #E7F9EE; /* Green */
    color: #027A48;
}

.status.inactive {
    background-color: #f44336; /* Red */
    color: white;
}

.InviteBody {
    background-color: #FAFAFA;
    height: 100%;
    width: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.InvitePage {
    height: 100%;
}

.InviteHeader{ 
    padding: 5px;
}

.memberTitle{
    margin-bottom: 0;
}


.InviteColumn {
    display: flex;
    flex-direction: column;
    background-color: #FAFAFA;
    font-family: InterDisplayRegular;
    color: #4A4948;
}

.InviteEmail {
    width: 40%;
}


.InviteOrganisation {
    width: 28%;
}


.TextInput{
    border: 1px solid;
    border-color: #7B7976;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    background-color: white;
    margin-top: 0.5rem;
}

.InviteColumn input{
    border-width: 0;
    margin: 1px;
    outline: none;
    font-size: 1rem;
    width: 100%;
    height: 100%;
}


.InviteColumn select{
    border-width: 0;
    margin: 1px;
    outline: none;
    font-size: 1rem;
    width: 100%;
    height: 100%;
}

.InviteRow{ 
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
}

.InviteList { 
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
    align-items: center;
}

.InviteList form {
    width: 100%;
}

.AddInviteRow {
    width: 90%;
    margin-top: 1rem;
    font-size: 1rem;
    font-family: InterDisplayRegular;
    color: #4A4948;
}

.BlankButton {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.AddInviteRow a {
    text-decoration: none;
    color: #4A4948;
}

.InviteFooter {
    border-top: 1px solid black;
    padding: 0.3rem;
    width: 90%;
    display: flex;
    justify-content: flex-end;
    margin-top: .5rem;
}

.InviteFooter.Organisation{
    border-top: 0.3px solid #4A4948;
}

.InviteFooter button {
    margin-left: 0.3rem;
}


.MemberPageEmail {
    color: #7B7976;
    font-family: InterDisplayRegular;
}


.MemberMenuOptions{
    display: flex;
    margin-top: 3rem;
    font-family: InterDisplayRegular;
    color: #20201F;
}


.MemberMenuOptions button{
    font-family: InterDisplayRegular;
    color: #7B7976;
    background-color: white;
    border: none;
    font-size: 1.2rem;
}

.MemberAccount {
    font-family: InterDisplayRegular;
    font-size: 1.2rem;
    color: #7B7976;
    background-color: white;
    margin-right: 3rem;
}

.MemberAccount:hover {
    color: black;
    cursor: pointer;
}

.MemberAccount.Active {
    color: black;
}


.MemberRepo.Active button {
    color: black;
    font-weight: 900;
}

.MemberRepo button{
    font-weight: 100;
}

.MemberAccountPermissions{
    background-color: #FAFAFA ;
    height: 100vh;
    overflow-y: auto;
}


.MemberInfoRow{
    display: flex;
    font-family: InterDisplayRegular;
    padding: 5px;
    width: 90%;
    justify-content: space-between;
    margin: 1rem;
}


.MemberInfoRow.Data{
    border-top: 1px solid;
    border-color: #EAEAEA;
}

.MemberInfoTitle{ 
    color: black;
    font-family: InterMedium;
    font-size: 1rem;
}


.MemberInfoData{ 
    font-family: InterMedium;
    color: #7B7976;
    width: 50%;
}

.TableSelect {
    display: flex;
    cursor: pointer;
    justify-content: center;
    width: 10%;
}

.TableSelect a {
    color: #175CD3;
    font-size: .8rem;
}

.TableSelect a:hover{
    color: #0F3A85;
}

.TableSelectOptions {
    display: None;
    position: absolute;
    border-radius: 5px;
    z-index: 1;
    background-color: white;
}

.TableSelect:hover .TableSelectOptions {display: block;}

.TableSelectLink {
    padding: .8rem;
}

.TableSelectLink:hover {background-color: #f1f1f1}


.MemberSelectAccountRow{
    font-family: InterDisplayRegular;
    padding: 5px;
    width: 40%;
    justify-content: space-between;
    margin: 1rem;
}


.MemberInfoData select{
    border-width: 0;
    margin: 1px;
    outline: none;
    font-size: 1rem;
    width: 100%;
    height: 100%;
}

.TextInput.role{
    justify-content: space-between;
    cursor: pointer;
}

.RolesDropDown{
    background-color: white;
    display: None;
}

.RoleTitle{
    font-size: 1rem;
    color: #5C5B59;
    display: flex;
    justify-content: space-between;
}

.RoleSelectionRow{
    padding: .5rem;
    cursor: pointer;
}


.RoleDescription{
    color: #5C5B59;
    font-weight: 100;
    font-size: .8rem;
}


.RoleSelectionRow:hover {background-color: #EFF5F5;}
.RoleDropBtn:hover .RolesDropDown {display: block;}

.MemberInfoRow.Submit{
    border-top: 1px solid #E9EAEB;
    justify-content: right;
}


.MemberInfoRow.Deactivate{
    border-top: 1px solid #E9EAEB;
    justify-content: start;
    align-content: center;
    align-items: center;
}


.SaveRoleButton {
    width: 100px;
    height: 40px;
    margin-left: 0.3rem;
}


.DeactivateButton {
    width: 100px;
    height: 40px;
    margin-left: 0.3rem;
    background-color: #D92E20;
}


.DeactivateButton:hover {
    background-color: #B6261A;
}


.MemberSelectAccountRow.table {
    font-family: InterDisplayRegular;
    padding: 5px;
    width: 90%;
    justify-content: space-between;
    margin: 1rem;
}


.ResourcePagination.Members{
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding: 2px;
    align-items: center;
    margin: 0rem;
}

.MemberTextSearch {
    width: 70%;
}


.MemberTextSearch input {
    width: 70%;
    background-color: #FAFAFA;
}


.MemberInfoData .TextInput{
    padding: 2px;
}

.MemberInfoData .TextInput input{
    width: 100%;
    height: 100%;
    border: none;
}


.TextArea{
    border: 1px solid;
    border-color: #7B7976;
    border-radius: 5px;
    display: flex;
    background-color: white;
    margin-top: 0.5rem;
    height: 100%;
}

.TextArea textarea {
    resize: none;
    text-align: start;     /* aligns text to the left */
    vertical-align: top;   /* aligns text to the top (not always effective on textarea) */
    width: 100%;
    box-shadow: none;
    border-color: transparent;
    border-radius: 5px;
}

.ConfirmModal {
    background-color: white;
    z-index: 1;
    margin: auto;
    border-radius: 5px;
    display: none;

    position: fixed; /* Stay in place */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

}

.ModalBlock{
    background-color: white;
    margin: auto;
    border-radius: 5px;
    width: 30%;
    padding: 10px;
}

.ModalHeader{
    font-family: InterMedium;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}


.ModalText{
    font-family: InterDisplayRegular;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.MemberInfoData.authors{
    display: flex;
    justify-content: space-between;
}

.LoginBox{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: 1rem;
}

.LoginRow {
    width: 70%;
    border-radius: 5px;
}

.LoginBox form {
    font-family: InterDisplayRegular;
    color: #4A4948;
}

.LoginRow input {
    width: 80%;
    height: 1.3rem;
}

.LoginHeader{
    text-align: center;
    font-family: InterDisplayRegular;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: .3rem;
    color: #4A4948;
}


.LoginIntro{
    text-align: center;
    font-family: InterDisplayRegular;
    color: #4A4948;
    font-weight: 200;
    margin-bottom: .5rem;
}

.LoginInput{
    border: 1px solid #D8D8D7;
    border-radius: 5px;
    padding: 0.4rem;
    height: 20%;
    margin-bottom: 1rem;
    margin-top: 0.1rem;
}


.LoginButton{
    border: 1px solid #304D50;
    background-color: #304D50;
    font-family: InterDisplayRegular;
    color: white;
}


.LoginInput input{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
}


.LoginInput button{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
    background-color: #304D50;
    color: white;
}


.LoginRow button{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
    background-color: #304D50;
    color: white;
    padding: .3rem;
}


.LoginError{
    text-align: center;
    font-family: InterDisplayRegular;
    color: #4A4948;
    font-weight: 200;
    margin-bottom: .5rem;
    background-color: #f8d7da;
    border-radius: 3px;
    padding: .3rem;
    border: #f5c2c7 1px solid;
    width: 70%;
}


.InviteError{
    text-align: center;
    font-family: InterDisplayRegular;
    color: #4A4948;
    font-weight: 200;
    margin-top: .1rem;
    margin-bottom: .1rem;
    background-color: #f8d7da;
    border-radius: 1px;
    padding: .2rem;
    border: #f5c2c7 1px solid;
    width: 40%;
}

.InviteSuccess{
    text-align: center;
    font-family: InterDisplayRegular;
    color: #4A4948;
    font-weight: 200;
    background-color: #d1e7dd;
    border-radius: 1px;
    border: #badbcc 1px solid;
    width: 40%;
}

.CancelButton a{
    text-decoration: none;
    color: black;
}

@media screen and (min-width: 728px ) {
    #sidebar {
        display: flex;
    }

    #content {
        width: 85%;
    }
}
