/*
Copyright 2024 Carnegie Mellon University.
Released under a MIT (SEI)-style license, please see LICENSE.md in the project 
root or contact permission@sei.cmu.edu for full terms.
*/

/************** Basic layout **************/
body {
    background: rgb(218, 169, 114);
    /*font: 400 14px "Calibri", "Arial";*/
    font-family: 400 14px "Sans-serif","Helvetica";
    padding: 20px;
    font-size: 18px;
}

fieldset {
    max-width: 1000px;
    width:100%;
    border-color:black;
    border-style:solid;
}

legend {
    padding: 5px 10px;
    border:1px solid black;
    font-size: 20px;
    font-weight: bold;
}

.important {
    font-size: 20px;
    font-weight: bold;
    text-decoration-line: underline;
}

div.list {
    margin-left: 0 auto;
    margin-right: 0 auto;
    display: table;
}

div.center {
    width:1000px;
    margin-left: 0 auto;
    margin-right: 0 auto;
}

div.footer {
    width:90%;
    margin-left: 0 auto;
    margin-right: 0 auto;
}

p.center ul.center {
    text-align:left;
}

.notification {
    color: rgb(170, 3, 3);
    font-size: 20px;
    text-transform: uppercase;
}

.success {
    color: green;
    font-size: 20px;
    text-transform: uppercase;
}

/************** Simple Navbar **************/

.navbar {
    overflow:hidden;
    background-color: rgb(218, 152, 78);
    position: relative;
    border: 1px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-center {
    position:absolute;
    left:50%;
    transform: translateX(-50%);
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    /*text-align: center;*/
}

.navbar-side {
    /*flex: initial;*/
    flex-grow:1;
    flex-shrink:1;
    display:flex;
   
}

.navbar-side.left {
    justify-content: flex-start;
}

.navbar-side.right {
    justify-content: flex-end;
}

.navbar-side ul{
    list-style-type: none;
    margin:0;
    padding:0;
}

li.navfloat {
    float: left;
}

.navbar_elements {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: auto;
}

#searchQuery {
    width: 250px;
}

#search_type {
    width: auto; /* Adjust as needed */
}

a.navbar_elements:hover {
    cursor:pointer;
    background-color: rgb(179, 124, 62);
    color: black;
}
/* navbar elements, left to right */

footer {
    bottom: 0;
    left:48%;
    text-align: center;
    position:absolute;
    font-size: 12px;
}

/* form table */

#max-top-padding {
  padding-top: 80px;
}

#min-top-padding {
    padding-top: 25px;
}

fieldset {
    background-color: rgb(218, 152, 78);
}
td {
    padding:10px;
}

td.left {
    width:25%;
    text-align: center;
    font-size: 20px;
    bottom:50%;
}

td.right {
    width: 75%;
    text-align:center;
}

select {
    width:20%;
}

input[type="text"],
input[type="password"] {
    color: black;
    border: 1px solid black;
}


/* below styles for login page */
#login-form {
  position: relative;
  height: 400px;
  width: 400px;
  margin: auto;
  padding: 60px 60px;
  background-color: rgb(196, 136, 68);   /*rgb(17, 165, 81)*/
  background-size: cover;
  box-shadow: 0px 30px 60px -5px #000;
}

#login-input-em, #login-input-pwd {
  display: inline-block;
  padding-top: 20px;
  font-size: 18px;
}

#login-signin {
  background-color: rgb(179, 122, 58);
  color: black;
  width: 25%;
  padding: 10px 20px;
  display: block;
  height: 39px;
  border-radius: 20px;
  margin-top: 30px;
  transition: all 0.3s ease, color 0.3s ease;
  border: 1px solid black;
  text-transform: uppercase;
}

#login-signin:hover {
  background: rgb(218, 169, 114);        /*rgb(58, 126, 58);*/
  cursor: pointer;
}

#login-signin:focus {
  outline: none;
}

.text {
  border: none;
  width: 89%;
  padding: 10px 20px;
  display: block;
  height: 15px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0);
  overflow: hidden;
  margin-top: 15px;
  transition: all 0.5s ease-in-out;
}

.text:focus {
  outline: 0;
  border: 2px solid black;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0);
}

#title {
    font-size: 30px;
    font-weight: bold;
    display: block;
    margin:auto;
    text-decoration: underline;
}

#signin-table {
    border-collapse: collapse;
    /*border: 2px solid black;*/
    overflow: hidden;
    width:100%;
    /*max-width: 80%;
    width:100%;*/
    margin: 0 auto;
    position: relative;

}

#signin-table th {
    padding-right: 100px;
    width:25%;
}

#signin-table td {
    padding-left: 100px;
    width:75%;
}

td input {
    width: 100%;
    font-size: 20px;
}

#signup-btn {
    font-size: 16px;
}

#profile_btns {
    font-size: 16px;;
    padding: 0 10px;
}

.welcome_msg {
    max-width: 600px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;

}

.welcome-message p {
    font-size: 20px;
    line-height: 1.6;
}

.login-note {
    position:fixed;
    left:50%;
    bottom:60px;
    transform: translateX(-50%);
    padding: 15px;
    border: 3px solid black;
    text-align: center;
    font-size: 18px;
    display:inline-block;
}
