/* Elements Across all pages*/

body {
    background-color: #fefff4;
    margin: 0;
    font-family: sans-serif;
}

button{
    margin: 5px;
}

#body{
    height: 620px;
    clear: both;
}

#admin{
    height: 210%;
    clear: both;
}

#asset_div{
    height:400%;
}

article{
    margin: 10px;
}

p, td, li{
    font-size: 15px;
}

li{
    text-align: left;
}

h4{
    margin: 2px;
}

#gradient{
    background: linear-gradient(#3b3b79,#fefff4);
    height: 40px;
    font-family: sans-serif;
    clear: both;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    float: left;
}

#logo{
    height: 90px;
    float: left;
    padding: 10px;
}

h1{
    font-size: 30px;
    margin: 0px;
    padding: 0px;
    display: inline;
}

h2{
    clear: both;
    height: 30px;
    padding: 0;
    margin: 0;
}

tr th{
    text-align: left;
}

#text-title{
    margin-top: 20px;
    margin-left: 20px;
    float: left;
}

#title{
    height: 100px;
    width: 50%;
}

#nav{
    height: 50px;
    float: right;
}

select{
    width:150px;
}

a{
    text-decoration: none;
    color: black;
    padding: 0px;
}

#header{
    height: 150px;
}

#menu:hover{
    background-color: dodgerblue;
}

#menu{
    float: right;
    margin-right: 20px;
    padding: 15px;
}


footer{
    height: 100px;
    width: 100%;
    background-color: #3b3b79;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 10px;
    
    position: fixed;
    top: calc(100% - 52px);
    text-align: center;
    display: flex;
    justify-content: center;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
}

.footer_element{
    float: left;
    padding: 0px;
    margin: 10px;
    color: white;
}

.forms{
    padding: 5px;
    display: flex;
    justify-content: center;
}

.formcontainer{
    text-align: center;
    margin: 10px;
    padding: 10px;
    clear: both;
}

.formcontainer label.form{
    width: 100px;
    text-align: left;
    margin-right: 10px;
    margin-left: -20px;
}

.form{
    float: left;
}

.forms form {
    text-align: center;
}

#h1head{
    font-size:50px;
}

#h2head{
    font-size:20px;
}

#borrow{
    width: 44%;
    float: left;
}

#item_lists{
    width:47%;
    float: right;
}

#borrow_history{
    clear: both;
}

/* Privacy Page*/

#privacy{
    padding: 10px;
    font-family: sans-serif;
}

/* Create User Page*/

#createuserheading{
    padding: 10px;
    margin-left: 40px;
    margin-top: 10px;
}

#createuser{
    height: 200px;
}

#download{
    text-decoration: underline;
    color: darkblue;
}

/* Admin View Page*/

#column-left{
    text-align: center;
    width: 48%;
    margin: 10px;
    height: 98%;
    float: left;
}

#column-right{
    width: 48%;
    margin: 10px;
    height: 98%;
    float: right;
}

#add_accounts{
    height: 200px;
}

#section_boxes{
    height: 400px;
    display: flex;
    margin-bottom:30px;
    clear: both;
}

#equipheading{
    clear: both;
    display: block;
    margin-right: 25%;
    width: 100%;
}

#add_equipment, #add_accounts{
    height: 100%;
    clear: both;
    float: left;
    width: 54%;
    margin:5px;
    padding: 2px;
    display: block;
    position: relative;
}

#edit_equipment, #edit_account{
    height: 100%;
    clear: both;
    float: right;
    width: 54%;
    padding: 0px;
    display: block;
    position: relative;
}

#barcode_notice{
    width: 90%;
}

#barcode_types{
    width: 90%;
    margin:0px;
    padding:0px;
}

#awaiting_approval, #awaiting_collection, #overdue{
    height: 200px;
    width: 100%;
    text-align: center;
    float: right;
    background-color: #cbd3ff;
    overflow-y: scroll;
    margin: 10px;
}

.approval_table{
    padding: 5px;
}

.approve{
    font: bold 11px Arial;
    text-decoration: none;
    background-color: #EEEEEE;
    color: #333333;
    padding: 2px 6px 2px 6px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
}


.headingalign{
    text-align: center;
    margin: 10px;
    clear: both;
}


#locations_table{
    width: 100%;
    margin-left: 0px;
    border-collapse: collapse;
    transform: scaleX(-1);
}

.tablebordertrue{
    border: 1px solid black;
    padding: 5px;
    width: 30%;
}

#locations_table_header th{
    padding: 5px;
    padding-left: 0px;
}

.tablebuttons {
    margin: 0px;
    width: 50px;
    background-color: #fefff4;
}

.thin {
    width: 17%;
}

.thick {
    width: 22.2%;
}

tr.repair{
    background-color: #f77f7f;
}


#historydiv{
    height: 10vw;
    overflow-y: scroll;
    overflow-x: hidden;
}

#locations_div_admin{
    height: 20vw;
    overflow-y: scroll;
    overflow-x: hidden;
    transform: scaleX(-1);
}

#locations_div_student{
    height: 35vw;
    overflow-y: scroll;
    overflow-x: hidden;
    transform: scaleX(-1);
}

#tableheader th{
    width:200px;  
}

#history td{
    width:200px;
}

/* Asset list page */

#assets{
    text-align: center;
    height:  100%;
}

#asset_list{
    margin: auto;
    border: 1px solid black;
    border-collapse: collapse;
    margin-bottom: 100px;
}

#asset{
    border-top: 1px solid black;
    border-right: 1px solid black;
    padding: 5px;
}

/* Home page */
#meme{
    height: 300px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    text-align: center;
}