
body {
	padding: 4px;
	padding-bottom: 60px;
	/*background-color: #ccd0d0;*/
}

textarea {
    resize: none;
}


.form-signin {
	max-width: 530px;
	padding: 15px;
	margin: 0 auto;
	color: #0175f2;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
	margin-bottom: 10px;
}

.form-signin .checkbox {
	font-weight: normal;
}

.form-signin .form-control {
	position: relative;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px;
	font-size: 16px;
	margin-bottom: 8px;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input[type="text"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-color:#017572;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-color:#017572;
}

.form-signin, .form-group {
	margin-bottom: 6px;
}

.form-signin label {
	font-family: "Roboto", sans-serif;
	font-size: 18px;
}

h2{
	text-align: center;
	color: #017572;
}





/* - - - - - - - - - - - - - */

.tabell tr.even {
    background: #f1f1f1 !important;
}
.tabell tr.odd {
    /* background: #b8d1f3; */
    background: #fff !important;
}


.trafikinfo-inställd  {
	color: red !important;
}
.trafikinfo-sen  {
	background-color: rgba(255, 255, 0, 0.6) !important;
}



.month-odd {
	background-color: white !important;
}

.month-even {
	background-color: rgb(255, 238, 218) !important;
}

#calendar {
	table-layout: fixed;
	cursor: default;
	overflow: hidden;
}
#calendar-daynames > th {
	overflow: hidden;
    text-overflow: ellipsis;
}
.calendar-date {
	display: inline-block;
	font-weight: bold;
}
.calendar-month {
	display: inline-block;
	padding-left: 0.3em;
	font-size: x-small;
	font-weight: bold;
}
.calendar-weeknum {
	font-size: small;
	padding: 0.1em !important;
	margin: 0% !important;
	text-align: center !important;
	/* transform: rotate(270deg); */
	background-color:aliceblue;
}
#calendar-weekColumn {
	width: 1.7em !important;
}


.calendar-createday-panel {
	display: inline-block;
	padding-left: 0.3em;
	font-size: smaller;
	color: darkgreen;
}
.calendar-createday-panel:hover {
	color: lightgreen;
	cursor: pointer;
}
.calendar-intresseanm-panel {
	/* display: inline; */
	overflow: hidden;
	display: flex;
	/* cursor: default; */
    /* background-color: #23ff0133; */
    /* justify-content: space-evenly; */
	justify-content: flex-end;
	flex-wrap: wrap;
}
.calendar-intresseanm-panel i {
	font-size: small;
	/* cursor: pointer; */
	/* font-size: x-small; */

	
}
.calendar-intresseanm-counter {
	display: inline;
	font-size: medium;
	font-weight: bold;
	font-family: monospace;
	cursor: help;
	/* border: #ddd 1px solid; */
}
.calendar-intresseanm-noprel {
	color: green;
}
.calendar-intresseanm-prel {
	color: rgb(255 122 0);
}

.calendar-intresseanm-icon {
	cursor: pointer;
	color: rgb(139, 139, 139);
}

.calendar-intresseanm-icon-add {
	display: inherit;
}
.calendar-intresseanm-icon-add:hover {
	color: rgb(0, 177, 0);
}
.calendar-intresseanm-icon-prel {
	display: inherit;
}
.calendar-intresseanm-icon-prel:hover {
	color: rgb(255, 174, 0);
}
.calendar-intresseanm-icon-del {
	display: inherit;
}
.calendar-intresseanm-icon-del:hover {
	color: red;
}

.eventsList {
	/* display: block; */
	text-align: center;
	font-size: smaller;
	/* padding: 0.4em; */
}
.eventCard {
	display: flex;
	padding: 0.2em;
	border: 0.15em black solid;
	cursor: pointer;
	text-decoration: none;
	margin: 0.3em 0.2em;

	font-size: 1.22vw;
	/* font-size: 1.3em; */
	/* font-weight: bold; */
	/* font-size: min(1.22vw, 16px); */
}
.eventCard > i {
	font-size: 1.22vw;
}
.eventCard-klarrapporterad {
	font-style: italic;
	color: dimgray;
}

.eventCard:hover {
	background-color: rgb(255, 255, 70) !important;
	/* background-color: lightgreen;
	color: white; */
	/* font-weight: bold; */
}

.calendar-day {
	border: 2px gray solid !important;
	padding: 0.1em !important;
	height: 3em;
	/* cursor: default; */
	overflow: hidden;
}
.calendar-day:hover {
	/* background-color: lightyellow !important; */
}

.calendar-today {
	background-color: #ffff71 !important;
}

.calendar-redday {
	color: red;
}
.calendar-sathurday {
	color: rgb(0, 102, 255);
}

.calendar-day-intresseanm_prel {
	background-color: rgba(255, 214, 207) !important;
	/* background: radial-gradient(#1eff0000 0%, transparent 60%, #72fa88 85%) !important; */
}

.calendar-day-intresseanm {
	background-color: rgba(238, 255, 207) !important;
	/* background: radial-gradient(#1eff0000 0%, transparent 60%, #72fa88 85%) !important; */
}

.calendar-day-outside-interval {
	background-color: azure;
}

.calendar-intresseanm-userexists {
	display: flex !important;
    justify-content: flex-end;
}


/* på t.ex startsidan */
.event_item {
	border: 1px solid transparent;
}
.event_item:hover {
	background-color: rgb(255, 255, 70) !important;
	border: 1px solid black;
	cursor: pointer;
}


.footer {
	/* min-height: calc(100% + 142px); */
	/* position: fixed; */
	/* width: 100%; */
	/* bottom: 0; */
	bottom: 0px;
	left: 0px;
	right: 0px;

	/* position: sticky; */
	position:fixed;
	padding: 0.14em;
	
	/* top: calc(100% - 50px); */
}


.forbidden {
	cursor: no-drop !important;
}

.headerimage {
	background-image: url("headerimage.jpg");
	background-position: center;
	/* background-size:100% 100%; */
	background-size: cover
}



.centercell {
	text-align: center !important;
}


.timestampCntDiffBox {
	display: flex;
	flex-direction: column;
}
.valueBox {
	font-family: monospace;
	/* border: 0.1em solid gray; */
	padding: 0.01em 0.2em;
	line-height: 0.8em;
}

.table-collapsed td  {
	/* padding: 0.3em 0.2em !important; */
	padding-block: 0.1em !important;
}



/* gör så att t.ex ">Redigera" visas med avstånd nedanför varandra när det är fler,
	blir lättare att träffa rätt i mobilen då */
.table-links-list {
	/* padding-top: 2.9em !important; */
	line-height: 1.6em;
	white-space: nowrap; /* så att t.ex länk "> Redigera" inte radbryts */ 
}




/* ta bort pilar från nummerfält */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/* 
.calendar-day-ram {
	height: 100%;
	width: 100%;
	background: ;
} */








/* ej select */
.prevent-select {
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}



/* visar "av" före värdet om det inte är tomt, används för att visa namn på vilken användare som gjort någonting */
.autoUsernameField:not(:empty)::before {
    content: " av ";
}


/* paneler med kryssrutor för att välja fler saker. T.ex användargrupper */
.checklista {
	display: flex;
}
.checklista label {
	float: left;
}
.checklista ul {
	margin: 0;
	list-style: none;
	float: left;
}





.listing {
	border-width:1px;
    border-style:Solid;
    border-color: rgba(128, 128, 128, 0.3);
	max-height: 12em;
    max-width: 70%;
    overflow-y: scroll;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: overlay;
}

.listing > * {
    /* margin: 0.1em; */
    margin-left: 0.5em;
    list-style: decimal-leading-zero;
}

#CheckedListBox1 {
    border-width:1px;
    border-style:Solid;
    border-color: gray;
    max-height: 12em;
    max-width: 70%;
    overflow-y: scroll;
    padding:6px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: stretch;

    /* border-width: 1px;
    border-style: Solid;
    border-color: gray;
    height: 100px;
    overflow-y: scroll;
    padding:6px; */
}




/* gör så att alla knappar blir rundade */
input.w3-button[type="submit"]:not(.menubaritem), 
button.w3-button:not(.menubaritem), 
a.w3-button:not(.menubaritem) {
	border-radius: 8px;
}