* {
    font-size: small;
    font-family: 'Roboto', sans-serif;
    --main-color: #970301;
    --dark-gray-color: #8A858B;
    --light-gray-color: #A9A7AA;
    --light-color: #D73B37;
    --mid-color: #B61915;
}

html, body {
    margin: 0;
    padding: 0;
}

.tinyfont {
    font-size: x-small;
}

#loginarea {
    text-align: center;
    background-color: white;
    border-radius: 2px;
    box-shadow: 1px 1px 5px 1px #D3D3D3, -.5px -.5px 5px .5px #D3D3D3;
    margin: 0;
    max-width: 50%;
}

.vertical-center {
	min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
	min-height: 100vh; /* These two lines are counted as one :-)       */
	display: flex;
	align-items: center;
	justify-content: center
}

#userformarea {
	padding: 10px 
}

#logo {
	padding: 20px;
	text-align: center;
}

#loginbtn {
	background-color: var(--main-color); 
	width: 100%;
	border-radius: 2px;
    border: none;
	color: white;
	font-size: medium;
    padding: 10px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
	cursor:pointer;
	box-shadow: .5px .5px 5px 1px #D3D3D3, -.5px -.5px 5px .5px #D3D3D3;
	margin-top: 20px;
	margin-bottom: 20px;
}

#loginbtn:hover {
    background-color: var(--mid-color);
}


.form-holder {
	width: 95%;
	display: inline-block;
}

.sub-note-warning p {
	color: red;
	font-weight: bold;
}

#loginbtn:active {
	box-shadow: 0 5px #666;
	transform: translateY(4px);
}

label {
	min-width: 100px;
}

.successfull {
	font-weight: bold;
	color: green;
	font-size: 1.2em;
}

#login {
	border-bottom: .5px solid gray;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
    width: 100%;
	height: 30px;
    padding: 15px 10px;
    margin: 8px 0;
	box-sizing: border-box;
	font-size: medium;
}

#login:active {

}

#pass {
	border-bottom: .5px solid gray;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	height: 30px;
    width: 100%;
    padding: 15px 10px;
    margin: 8px 0;
	box-sizing: border-box;
	font-size: medium;
}

/* navbar styling */

header {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--main-color);
	color: #ccc;
    box-sizing: border-box;
    position: fixed;
    top: 0px;
    z-index: 100;
}
.brand-logo {
    letter-spacing: 3px;
    text-decoration: none;
    color: white;
}
.nav {
    display: flex;
    justify-content: space-around;
    width: 30%;
}
.navlink {
    list-style: none;
    margin: 0;
    padding: 10px 5px;
}
.navlink a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}
.drop-content {
    display: none;
    position: absolute;
    background-color: var(--mid-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.drop-content a:hover {
    background-color: var(--light-color);
    color: white;
  }
.dropdown:hover .drop-content {
    display: block;
  }
.navlink-content {
    list-style: none;
    margin: 0;
    background-color: var(--mid-color);
}
.navlink-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 1.2em;
}
.navbutton {
    list-style: none;
    margin: 0;
    padding: 10px 7px;
	background-color: var(--dark-gray-color);
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	border-radius: 5px;
}

.navbutton:hover {
	background-color: var(--light-gray-color);
}

.navbutton a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}


.burger {
    font-size: 1.2em;
    display: none;
}

.working-area {
    position: relative;
    top: 80px;
}

#main-area {
    width: 95%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto;
}

#pi-table {
    width: 99%;
    margin: auto;
}

#entry-area {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: auto auto;
}

.order-fields-short {
	display: grid;
	grid-gap: 5px;
	grid-template-columns: 1fr 1fr;
}
.order-fields-thirds {
	display: none;
	grid-gap: 5px;
	grid-template-columns: 1fr 1fr 1fr;
}

.hidden-order-fields {
    display: none;
	grid-gap: 5px;
	grid-template-columns: 1fr 1fr 1fr;
}

.listbtn {
    list-style: none;
    margin: 0;
    padding: 7px 14px;
	background-color: var(--mid-color);
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 1em;
    border-color: black;
    border-style: none;
}

.disabledbtn {
    background-color: gray;
}

#hidden-label {
    visibility: hidden;
    color: white;
}

.listbtn:hover {
    background-color: var(--light-color);
    cursor: pointer;
    
}

.disabledbtn:hover {
    background-color: gray;
    cursor: auto;
}

.order-fields-tiny {
	display: grid;
	grid-gap: 5px;
	grid-template-columns: auto auto auto auto;
}

input[type=text], input[type=date] {
	border: .5px solid gray;
    width: 100%;
	height: 30px;
    padding: 5px 10px;
    margin: 8px 0px;
    box-sizing: border-box;
}

#order-date, #finish_date, #job-type, #job-state, #report-type, select {
    border: .5px solid gray;
    width: 100%;
	height: 30px;
    padding: 2.5px 10px;
    margin: 8px 0px;
    box-sizing: border-box;
}

.gridtable-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto;
}

.gridtable-container:hover {
    background-color: lightgrey;
}

.gridcolumn {
    padding: 10px 20px;
}

.table-container {
    width: 90%;
    margin: auto;
}
.table-container-pi {
    width: 95%;
    margin: auto;
}

.paginated {
    visibility: collapse;
}

.page1 {
    visibility: visible;
}

.pagebuttons {
    width: 100%;
    margin: auto;
}
table {
    border-collapse: collapse;
    margin: auto;
    width: 100%;
}
thead {

}

tbody {

}
td, th {
    padding: 25px 12px;
    text-align: center;
}

th {
    text-align: center;
}

td {
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
}
tr:hover {
    background-color: var(--light-gray-color);
}

#pi-table td, #pi-table th {
    padding: 8px 5px;
    font-size: 32px;
    border: solid gray;
}

#pi-table th {
font-size: 24px;
}

#pi-table .smaller {
font-size: 24px;
}



.contactarea {
    border-color: black;
    border-style: solid;
    border-width: thin;
    padding: 5px;
    box-shadow: 1px 1px 5px 1px #D3D3D3, -.5px -.5px 5px .5px #D3D3D3;

}
label {
    font-weight: bold;
}



#toast-container {
    display: block;
    position: fixed;
    z-index: 10000;
  }

  .phonefields {
	display: grid;
	grid-gap: 5px;
	grid-template-columns: 2fr 1fr;
}
  
  @media only screen and (max-width: 600px) {
    #toast-container {
      min-width: 100%;
      bottom: 0%;
    }
  }
  
  @media only screen and (min-width: 601px) and (max-width: 992px) {
    #toast-container {
      left: 5%;
      bottom: 7%;
      max-width: 90%;
    }
  }
  
  @media only screen and (min-width: 993px) {
    #toast-container {
      top: 10%;
      right: 7%;
      max-width: 86%;
    }
  }
  
  .toast {
    border-radius: 2px;
    top: 35px;
    width: auto;
    margin-top: 10px;
    position: relative;
    max-width: 100%;
    height: auto;
    min-height: 48px;
    line-height: 1.5em;
    background-color: #323232;
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    cursor: default;
  }
  
  .toast .toast-action {
    color: #eeff41;
    font-weight: 500;
    margin-right: -25px;
    margin-left: 3rem;
  }
  
  .toast.rounded {
    border-radius: 24px;
  }
  
  @media only screen and (max-width: 600px) {
    .toast {
      width: 100%;
      border-radius: 0;
    }
  }
