body{
font-family: Arial, Helvetica, sans-serif;
letter-spacing: -0.5px;
font-size:16px;
margin:0px;
background-image:url(../images/background.jpg);
text-decoration: none;
color: #999999;
height: 100dvh;
min-width: 800px;
display: flex;
flex-direction: column;
overflow-x: hidden;
}

button{
	all:unset;
}

a:link{
text-decoration: none;
color: #999999;
}
a:visited{
text-decoration: none;
color: #999999;
}
a:hover{
text-decoration: none;
color: #FFFFFF;
}
a:active{
text-decoration: none;
color: #999999;
}

.btnSingle{
height: 45px;
width: 150px;
border-radius: 25px;
font-size: 1.5em;
color:#444;
float:left;
text-align: center;
cursor: pointer;
box-shadow: 0px 2px 2px #000;
background-color:#DDD;
display: flex;
  justify-content: center;
  align-items: center;
}
.btnOrange{
background-color:#F92;
}

.scrollMenu{
display: flex;
width: 100%;
}




.page-container {
  position: relative;
  min-height: 650px;
	  background-position:center;
	  background-repeat:no-repeat;
    background-size: cover;
	text-decoration: none;
color: #999999;
min-height: 100vh;
min-width: 1040px;
}

.logoBig {
width: 400px;
height: 82px;
background-image:url(../images/logo.png);
background-position: center;
background-repeat: no-repeat;
background-position: top;
float: left;
}

.content-wrap {
width:100%;
position: relative;
align-items: center;
padding-bottom: 20px;
padding-top: 20px;
overflow-x: auto;
overflow-y: auto;
 min-height: 450px;
  min-height: 490px;
  scrollbar-width: thin;
  flex-grow: 1;
  user-select: none;
}

.centeredContent{
  display: grid;
  justify-content: center;
}
.header{
padding-top: 10px;
padding-bottom: 10px;
z-index: 9999;
  position: relative;
}
.footer {
padding-top: 20px;
padding-bottom: 20px;
  width: 100%;
  height: 2.5rem;            /* Footer height */
  display:block;
background-image:url(../images/background.jpg);
flex: 0;
}
.logoBig{
display: block;
  background-image: url(../images/logo.png);
  position: relative;
  top: 35px;
  width: 400px;
  background-size: contain;
}
.nodeBlock{
height: 1030px;
width: 200px;
float: left;
}
.startNode{
width: 200px;
height: 250px;
float: left;
box-shadow: 0px 0px 0px 1px black inset;
background-repeat: no-repeat;
text-align: center;
color: #F92;
text-shadow: 1px 1px 1px #000;
font-size: 25px;
}
.mapHolder{
  margin: auto;
  padding-left: 150px;
  width: max-content;
}
.pallette{
background: rgb(0,0,0);
height: 90%;
width: 90%;
min-width:700px;
min-height:450px;
border-radius: 30px;
margin: 0;
margin-top: 0px;
margin-top: 0px;
position: fixed;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -80%);
transform: translate(-50%, -50%);
overflow-x: auto;
z-index: 9999;
 user-select: none;
 align-items: center;
  justify-content: center;
}
.palletteScroll{
overflow: auto;
height: 93%;
margin-top: 30px;
display: flex;
align-items: center;
min-width: 200px;
}
.menuTitle{
width: 100%;
  text-align: center;
  margin: 0px 5% 0px 5%;
  font-size:3em;
  height:100px;

}
.menuContent{
width: 100%;
  flex-direction: column;
  display: flex;
  text-align: center;
  align-content: space-between;
  font-size: initial;
  padding: 0px 5% 0px 5%;
  height: 100%;
}
.closeButton{
width: 90px;
height: 90px;
background-color: #944;
border-radius: 45px;
position: absolute;
float: right;
left: 10px;
top: 10px;
background-image: url('/images/closebtn.png');
background-size: 100%;
cursor:pointer;
}
.helpButton{
background-image: url('/images/helpbtn.png');
left: 110px;
}
.helpMenuText{
width: 540px;
  text-align: left;
  padding-right: 20px;
  padding-left: 230px;
}
.nodeTile{
opacity:1;
display: flex;
align-items: center;
font-size: 25px;
cursor: pointer;
border-radius: 60px;
text-shadow:1px 0px 1px #000,-1px 0px 1px #000,0px 1px 1px #000,0px -1px 1px #000,2px 0px 1px #000,-2px 0px 1px #000,0px 2px 1px #000,0px -2px 1px #000,3px 0px 1px #000,-3px 0px 1px #000,0px 3px 1px #000,0px -3px 1px #000;
}

.nodeNameText{
position: relative;
text-align: center;
word-wrap: break-word;
font-size: 1.5em;
pointer-events: none; 
justify-items: center;
display: grid;
}
.connectionStatus{
width: 35px;
  height: 35px;
position: absolute;
right: 20px;
  background-color: #C44;
  border-radius: 20px;
}
.alertBox{
height: 20%;
  width: 80%;
  margin-left: 10%;
  border-radius: 20px 20px 0px 0px;
  border-width: 5px 5px 0px 5px;
  border-color: #f92;
  position: absolute;
  bottom: 0px;
  background-color: #000;
  border-style: solid;
  padding: 10px;
  font-size: 2em;

}
.carsHolderScroll{
display: flex;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  height: 100%;
  min-height: 300px;
  padding-left: 30px;
  padding-right: 30px;
}
.waybillBounding{
margin-left: calc(1vw + 1vh);
  margin-right: calc(1vw + 1vh);
}
.carHolder{
margin: 0 auto;
  min-width: 300px;
  min-height: 470px;
  border-radius: 20px;
  height: 60vh;
  padding: 2%;
  font-size: clamp(20px,2.5vb,120px);
  display: flex;
  background-color: #447;
  flex-direction: column;
  gap: 0px;
  max-width: 852px;
  max-height: 1400px;
  aspect-ratio: 4/6;
}
.waybillTop{
flex: 2;
display: flex;
flex-direction: row;
gap: 0px;
}
.waybillMid{
flex: 4;
align-content: center;
border: solid 2px;
border-color: #000;
  padding: 10px;
  background-color: #888;
  color: #222;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waybillMainBody{
width: 100%;
}
.waybillLow{
flex: 1;
display: flex;
flex-direction: row;
gap: 0px;
}
.waybillCarInfo{
flex-grow: 2;
background-color: #666;
  border-radius: 20px 0px 0px 0px;
  border: solid 2px;
  border-color: #000;
  display: flex;
  align-items: end;
 padding-bottom: 3%;
 min-width: 33%;
}
.waybillCarNumber{
flex-grow: 2;
background-color: #444;
  border-radius: 0px 20px 0px 0px;
  border: solid 2px;
  border-color: #000;
  text-align:center;
  align-content: center;
}
.waybillNotes{
color: #EEE;
  text-align: left;
  font-size: 0.8em;
}
.pageButton{
display: block;
  clear: both;
  border-radius: 20px 20px 20px 20px !important;
  height: 80px;
  font-size: 3em !important;
  background-color: #4B4 !important;
  color: #222 !important;
 margin-top: 50px;
  padding:10px;
}

.singleWabillButton{
position: relative;
  font-size: 1em;
  text-align: center;
  cursor: pointer;
  background-color: #444;
  border-radius: 0px 0px 20px 20px;
  border: solid 2px;
  border-color: #000;
  flex-grow: 1;
  user-select: none;
  align-content: center;
  color:#CCC;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leftWabillButton{

  position: relative;

  font-size: 1em;
  text-align: center;
  cursor: pointer;
align-content: center;
user-select: none;
  border: solid 2px;
border-color: #000;
  border-radius: 0px 0px 0px 20px;
background-color: #333;
flex-grow: 1;
display: flex;
  align-items: center;
  justify-content: center;
}
.rightWabillButton{
  position: relative;
  font-size: 1em;
  text-align: center;
  cursor: pointer;
user-select: none;
  border: solid 2px;
border-color: #000;
  border-radius: 0px 0px 20px 0px;
align-content: center;
background-color: #444;
flex-grow: 10;
  color:#CCC;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contentTitle{
text-align: center;
  font-size: 3em;
  padding-top: 2%;
}
.links{
color: #999999;
padding:15px;
text-align:center;
}

.topCardL{
min-height: 130px;
background-color: #666;
border-radius: 20px 0px 0px 0px;
min-width: 150px;
grid-column: span 2;
grid-row: span 2;
display: grid;
align-content: center;
text-align: center;
font-size: clamp(60px,5vh,120px);
color: #333;
}
.topCardR{
min-height: 130px;
background-color: #666;
border-radius: 0px 20px 0px 0px;
min-width: 315px;
grid-column: span 4;
grid-row: span 2;
display: grid;
align-content: center;
text-align: center;
font-size: clamp(80px,7vh,160px);
color: #FFF;
text-shadow: -2px -2px 0 #333, 2px -2px 0 #333, -2px 2px 0 #333, 2px 2px 0 #333;

background-image: url("../images/boxcar.png");
background-size: 90%;
background-repeat: no-repeat;
background-position: center;
}
.midCard{
min-height: 450px;
min-width: 475px;
background-color: #999;
grid-column: span 6;
grid-row: span 6;
align-content: center;
text-align: center;
font-size: clamp(55px,7vh,55px);
color: #111;
}
.bottomCard{
min-height: 60px;
background-color: #999;
border-radius: 100px;
grid-column: span 6;
grid-row: span 1;
display: grid;
align-content: center;
text-align: center;
font-size: clamp(40px,5vh,120px);
color: #111;
}
.carInfo{
font-size: 0.4em;
text-align: left;
padding: 15px;
}
.carInstruction{
font-size: 1em;
}
.carLocation{
font-size: 0.7em;
}
.carCommodity{
  font-size: 1em;
  font-weight: bold;
}
.carSize{
font-size:0.5em
}
.carType{

}
.carColor{
background-color: #733;
max-height: 70px;
min-height: 25px;
height: 3vh;
border-radius: 50px;
margin: 10px;
}

.dropdown{
color: #000;
  background-color: rgba(0,0,0,0);
  font-size: 30px;
  font-size: 1em;
  text-align: center;
  width: 100%;
  border-style: none;
}

.formHolder{
width: min-content;
display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.toggleBackground{
background-color: #4B4;
  height: 3.5em;
  width: 7em;
  float: right;
  border-radius: 50px;
  box-shadow: 0px 2px 2px #000 inset;
  cursor: pointer;
}

.toggleTop{
background-color: #BBB;
  height: 3.5em;
  width: 3.5em;
  float: right;
  border-radius: 50px;
}

.btnoff{
background: transparent url('../images/onoff.png') 0px 0px;
  display: block;
  width: 33px;
  height: 17px;
width: 108px;
  height: 54px;
  float: right;
  cursor: pointer;
background-size: 216px;
  background-repeat: no-repeat;
}

.btnon{
background: transparent url('../images/onoff.png') -108px 0px;
  display: block;
  width: 33px;
  height: 17px;
  float: right;
width: 108px;
  height: 54px;
  cursor: pointer;
background-size: 216px;
  background-repeat: no-repeat;
}

.inputBox{
border-radius: 20px;
  background-color: #CCC;
  height: 80px;
  width: 60%;
  font-size: 3em;
  box-shadow: 0px 2px 2px #000 inset;
  border-style: none;
  min-width:500px;
  color: #222;
  border-style: none;
  padding: 20px 20px 0px 20px;
  box-sizing: unset;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.5px;
}

.inputLabel{
position: relative;
  top: -92px;
  left: 20px;
  color: #666;
  font-size: 1.5rem;
}

.standardLabel{
font-size: 3em;
  width: fit-content;
  float:left;
}

.headcontainer{
margin: auto;
display: flex;
width: 1225px;
justify-content: space-between;
}

.menu{
background-image: url('/images/menu.png');
  margin-left: 10px;
  cursor: pointer;
  box-shadow: unset;
  height: 150px;
  width: 150px;
  margin-right: 10px;
  background-size: contain;
}

.driver{
background-image: url('/images/person.png');
  cursor: pointer;
  box-shadow: unset;
  font-size: 6em;
  height: 150px;
  background-size: contain;
  margin-left: 10px;
  margin-right: 10px;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.locationSelector{
height: 150px;
  display: flex;
  width: 450px;
  margin: -25px;
}

.locSel{
height: 190px;
  width: 150px;
  background-image: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position-y: center;
}

.locSelMid{
height: 190px;
  width: 150px;
  font-size: 2em;
  text-shadow: rgb(0, 0, 0) 1px 0px 1px, rgb(0, 0, 0) -1px 0px 1px, rgb(0, 0, 0) 0px 1px 1px, rgb(0, 0, 0) 0px -1px 1px, rgb(0, 0, 0) 2px 0px 1px, rgb(0, 0, 0) -2px 0px 1px, rgb(0, 0, 0) 0px 2px 1px, rgb(0, 0, 0) 0px -2px 1px, rgb(0, 0, 0) 3px 0px 1px, rgb(0, 0, 0) -3px 0px 1px, rgb(0, 0, 0) 0px 3px 1px, rgb(0, 0, 0) 0px -3px 1px;
  align-items: center;
  display: grid;
  color: #F92;
  text-align: center;
  cursor: pointer;
  z-index: 9999;
  background-image: url("/images/locationnode.png");
  background-size: contain;
  background-repeat: no-repeat;
  align-content: center;
  justify-content: center;
  background-position-y: center;
  line-height: 1.4em;
}

.flexColumns{
display: flex;
  flex-direction: row;
}

.flexRows{
display: flex;
  flex-direction: column;
}
.textInMenu{
display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-size: 2em;
	padding: 10%;
}
.colorBlock{
height: 80px;
  flex-grow: 1;
  transition: 0.2s;
}
.colorBlock:hover{
flex-grow: 3;
}
.colorHolder{
height: 80px;
  display: flex;
  align-content: space-between;
  flex-direction: row;
  gap: 10px;
}
.carWaybillColor{
height: 20%;
  margin: 5px;
  width:100%;
  border-style: solid;
  border-color: #000;
  border-width: 2px;
}

.imageSelect{
background-image: url('../images/boxcar.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: right;
  padding-top: 40px;
  cursor:pointer;
  text-align:left
}
.waybillRef{
font-size: 0.7em;
  height: 0px;
  position: relative;
  color: #333;
  padding-left: 2%;
}

@media screen and (max-width:1245px){
	.headcontainer{
	margin: auto;
	display: flex;
	width:100%;
	justify-content: space-between;
	}
	 .logoBig{
  position: absolute;
  top: 10px;
  left: 5%;
  }
  .connectionStatus{
  position: fixed;
  right: 0px;
  }
}
@media screen and (max-width:1245px) AND (min-height:1000px){

.menu{
height: 250px;
  width: 200px;
}
.driver{
height: 250px;
  width: 200px;
  font-size: 8em;
}
.locSelMid{
height: 250px;
  width: 200px;
}
.locSel{
height: 250px;
  width: 200px;
}
.locationSelector{
width: 600px;
}
body{
min-width: 1070px;
}
}