:root {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  /* overflow-y: hidden; */
  /* min-height: 100vh; */
}
#planka {
  /* overflow-y:hidden; */
}



.vagn {
    /* min-height: 20px !important; */
}
/* .vagn:hover { */
.list-group-item:hover { /* byt tillbaka till vagn om överordnade elementet ska vara med klassen vagn ist */
    background-color: rgb(253, 255, 110);
}

.size_tiny {
    font-size: small;
    padding-top: 0px;
    margin: -3px;
}
.size_small {
    font-size: small;
}
.size_normal {
    
}
.size_long {
    margin-bottom: 9px;
}


.type_trafikvagn {
    /* background-color: rgb(92, 231, 92); */
}
.type_verkvagn {
    
}
.type_ovrigt {
    
}
.type_forvaradvagn {
    
}


.nameSlot { /* Där vagnsnr visas */
    
}





/* #popupEditWindow {
    width: 80%;
	height: 70%;
	max-height: 90%;
	background-color: lightblue;
	border-radius: 3px;
	marign: auto;
	position: relative;
	display: none;
	z-index: 2000;
	padding: 10px;
}

.popup_close_button {
	width: 25px;
	height: 25px;
	font-size: 25px;
	font-weight: bolder;
	line-height: 25px;
	text-align: center;
	color: green;
	float: right;
	padding: 1px;
}
.popup_close_button:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

.cover {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	top: 0;
	left: 0;
	display: none;
	z-index: 1000;
} */

/* ändringsrutan */
/* 
#edittable input:nth-of-type(2) {
    background-color: aquamarine;
} */









.overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  
  @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
    }
  }



  .warningfield {
    /* display: none; */
    /* background-color: red; */
    color: red;
    font-weight: bold;
    font-size:medium;
    padding: 0.16em;
    
  }


  .controlField {
    background-color:antiquewhite;
    padding: 0.2em 0.8em;
    border: lightgray solid 1px;
    border-radius: 0.3em;
    margin: 0.2em;
    display: inline-flex;
  }

  .btn-activated {
    color: red;
    font-weight: bold;
  }


#editForm {
  /* display: block; */
  width: -webkit-fill-available;
}

#editForm {
  /* background-color: rgba(159, 244, 255, 0.404); */
  background-color: rgb(241 241 241);
}







.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  /* background-color: #fefefe; */
  background-color: rgb(114 167 255);
  margin: auto;
  padding: 10px;
  padding-top: 5px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 0.6em
}

.modal-content form {
  border-radius: 0.6em
}


/* The Close Button */
.close {
  color: #ff2020;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}




.loginerror {
  font-size: small;
  color: #ff2020;
  /* background-color: #f1f1f1; */
}

.headerdiv {
  width: 100%;
  background-color: #f1f1f1;
  border: 1px solid black;
  padding: 3px;
  display: float;
  height: 2.2em;
  /* justify-content: space-around; */
}
.headerdiv span, .headerdiv a {
  margin: 0px 1em;
  vertical-align: middle;
}
.headerdiv a {
  float: right;
  color: blue;
  text-decoration: none;
}
.headerdiv a:hover {
  color: #ff00ff;
}

.headerdiv button {
  /* height: 0.9em; */
}
.headerPanel {
  display: contents;
}




#editUserTable input[type=submit] {
  margin: 6px !important;
  justify-content: center;
}

#editUserTable td {
  padding: 4px 8px !important;
}

input[type=text]:read-only, input[type=password]:read-only {
  background-color: #dadada;
}