@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

* {
    font-family: 'Lato', sans-serif;
}

body {
    margin: 0;
    display: grid;
    grid-template-columns: 18vw 82vw;
    grid-template-rows: 12vh 88vh;
}

/* Top navigation bar */
#top-nav {
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    border-bottom: solid 1px black;
}

#top-nav h1 {
    font-size: 36px;
}

#login-container {
    display: flex;
    gap: 30px;
}

.login-link {
    text-decoration: none;
    color: black;
    font-size: 26px;
}

.login-link:hover {
    color: #8d6374;
}

/* Left navigation bar */
#left-nav {
    color: white;
    grid-area: 1 / 1 / 3 / 2;
    position: relative;
}
.nav-img
{
    width: 50px;
}
#onscreen
{
    background-color: #000;
    position: fixed;
    height: 100%;
    width: 18%;
}
#onscreen.collapsed
{
    width: 5%;

}
.collaps.collapsed
{
    display: none;
}

#logo {
    width: 50%;
    display: block;
    margin: 25px auto;
    cursor: pointer;
}
#logo.collapsed
{
    width: 100%;
}
#left-nav ul {
    list-style: none;
}

#left-nav ul li {
    margin: 30px 0;
}

#left-nav ul li a {
    text-decoration: none;
    color: white;
    text-align: center;
    font-size: 20px;
}

#left-nav ul li a:hover {
    color: #8E9861;
}

#left-nav ul li ul {
    padding-left: 20px;
}

#left-nav ul li ul li {
    margin: 15px 0;
}

#left-nav ul li ul li a {
    font-size: 18px;
}

#left-nav p {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}
#collapse
{
    margin-left: 10%;
    display: flex;
    align-items: center;
    background-color: #000;
    border: #fff;
    border-radius: 20px;
    color: #fff;
    position: absolute;
    margin-top: 500px;
    z-index: 1;
}
#collapse img
{
    width: 60px;
}
.main
{
    margin: 2%;
}
/* Div with content */
.main-div {
    grid-area: 2 / 2 / 3 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 98%;
    height: 90%;
    background-color: white;
    overflow-y: scroll;
}

.container-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    border-bottom: 1px solid black;
    height: 15%;
}

.container-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container-top h2 {
    font-size: 30px;
}

.container-top form {
    height: 20%;
}

.container-top form input {
    height: 100%;
}

/* Top container content */
.container-content-top {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding-top: 50px;
}

/* Insert button */
.container-content-top a, input[type=submit], .orderbutton {
    text-decoration: none;
    color: black;
    padding: 10px;
    background-color: white;
    border: solid 1px black;
    cursor: pointer;
}

.container-content-top a:hover, input[type=submit]:hover, .orderbutton:hover {
    background-color: black;
    color: white;
}

.container-content .table {
    margin: 50px 0;
    width: 80%;
}

.table, .table tr,  .table td,  .table th {
    border: solid 1px #D9D9D9;
    border-collapse: collapse;
}

.container-content .table tr th {
    text-align: left;
    padding: 10px 0;
    text-align: center;
}

.container-content .table tr td {
    padding: 10px;
}

.container-content .table tr td a {
    text-decoration: none;
    color: black;
}

.container-content .table tr td a:hover {
    text-decoration: none;
    color: #8E9861;
}

.amount {
    text-align: center;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
  
::-webkit-scrollbar-track {
    background-color: #f2f2f2;
}
  
::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Search form */
#searchForm {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

#searchForm input {
    height: 35%;
    margin: 0;
    padding: 0 10px;
}

/* Form */
#form {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form input[type=number] {
    width: 40px;
}

#brandURL, #requirement, #specification {
    width: 50%;
}

textarea {
    resize: none;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
}

textarea, input, select {
    margin-bottom: 20px;
    padding: 5px;
}

.history {
    font-size: 14px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    column-gap: 50px;
    padding: 20px;
    overflow: scroll;
    height: 80vh
}

.notification {
    border: solid 1px black;
    border-radius: 20px;
    padding: 5px;
    height: 100%;
}

.noti1 {
    grid-area: 1 / 1 / 2 / 2;
}

.noti2 {
    grid-area: 1 / 2 / 2 / 3;
}

.notification h3 {
    text-align: center;
}

.notification table {
    font-size: 12px;
    position: relative;
}

.orderline {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.orderline a {
    font-style: italic;
    cursor: pointer;
}

.orderline-item {
    display: flex;
    flex-direction: column;
}

#orderline-remove {
    justify-content: center;
}

#button {
    margin-bottom: 20px;
    font-style: italic;
    cursor: pointer;
}

#copy {
    font-size: 12px;
}

.index-div p {
    margin-left: 15px;
}
.uav
{
    background-color: #e6e6e6;
    padding: 10px;
    padding-bottom: 90px;
    border-radius: 10px;
    margin: 10px;
    width: 250px;
}
.uavimg
{
    width: 85%;
    margin: 20px;
    background-color: #FFF;
    border-radius: 5px;
}
.uav h2 a
{
    color: #000;
    text-decoration: underline;
    text-align: center;
    display: block;
}
hr
{
    border-color: #000;
}
.button
{
    color: #fff;
    background-color: #000;
    border-radius: 5px;
    padding: 10px;
    float: right;
    cursor: pointer;
    display: flex;
    margin-right: 5px;
    border: solid;
    border-color: #000;
}
.button:hover
{
    border-color: #fff;
}
.submit
{
    background-color: #e6e6e6;
    border: none;
    color: #000;
    border-radius: 5px;
    font-size: 16px;
    padding: 1vh;
    font-weight: bold;
    cursor: pointer;
    margin: 3vh 0 3vh 50%;
    display: block;
    width: 115px;
    text-align: center;

}
.Breadcrumbs a
{
    color: #858383;
}
.Breadcrumbs .back
{
    color: lightcoral;
}
#sort
{
    float: right;
}
.duplicate
{
    color: #fff;
    background-color: #000;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    border-color: #000;
    text-decoration: none;
}
#profile-list
{
    list-style: none;
    display: none;
    position: absolute;
    margin-left: -2%;
    margin-top: 2.5%;
    transition-duration: 80ms;
}
#profile-list li
{
    background-color: #f2f2f2;
    padding: 10px;
}
#profile-list li:hover
{
    background-color: #e6e6e6;
}
#profile-list a
{
    border: #000;
    color: #000;
    text-decoration: none;
}