html {
	/*font-family: 'Open Sans', sans-serif;*/
	font-family: 'Roboto', sans-serif;
}

.pagewrapper {
	width: 100%;
	max-width: 1000px;
	margin: 30px auto;
	display: block;
}

.pagewrapper table {
	width: 100%;
}

.pagewrapper form {
	width: 100%;
	background: #daedff;
	padding: 20px;
	box-sizing: border-box;
}

#siste-lagrede {
	padding: 20px;
	background: #ebebeb;
	margin-bottom: 1em;
}

#siste-lagrede td{
	font-size: 0.8em;
}

.input-wrapper {
	margin-bottom: 20px;
}

.input-wrapper label, .pagewrapper input {
	display: block;
	width: 100%;
}

.pagewrapper input, .pagewrapper select {
	font-size: 1em;
	padding: 5px;
}

.input-wrapper label {
	font-weight: bold;
}

.input-wrapper small {
	font-size: 0.8em;
	color: #666;
	display: block;
}

.size-50, .size-33, .size-25 {
	width: calc(50% - 10px) !important;
	display: inline-block;
	margin-right: 7px;
	vertical-align: top;
}

.size-33 {
	width: calc(33.333% - 10px) !important;
}

.size-25 {
	width: calc(25% - 10px) !important;
}

#add_tile {
	display: block;
	padding: 10px;
	text-align: center;
	background: #000;
	color: #fff;
	cursor: pointer;
	font-size: 11px;
	transition: background .2s ease;
}

#tile-template { display : none; }

#tiles {
	list-style: none;
	padding: 0;
}

#tiles.limit li:nth-child(n+11) {
	opacity: .2;
}

#tiles li{
	background: #fff;
	border: 1px solid #e9e9e9;
	border-radius: 3px;
	margin-bottom: 5px;
	padding: 5px 7px;
}

#tiles li.error {
	border: 2px solid #FE767A;
}

#tiles li input, #tiles li select{
	display: inline-block;
	vertical-align: middle;
	font-size: 11px;
	margin-right: 10px;
}

#tiles li.webcam select[name=var], #tiles li.webcam input[name=benevnelse],#tiles li.logo select[name=var], #tiles li.logo input[name=benevnelse], #tiles li input[name=url], #tiles li input[name=link] {
	display: none;
}

#tiles li.webcam input[name=url], #tiles li.logo input[name=url], #tiles li.logo input[name=link], #tiles li.webcam input[name=link] {
	display: inline-block;
}

#tiles li .handle{
	height: 10px;
	width: 15px;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	/*background: #ededed;*/
	cursor: move;
    cursor: -webkit-grabbing;
}

#tiles li .handle:before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	margin-top: -1px;
	background: #000;
}

#tiles li .js-remove {
    font-style: normal;
	float: right;
	cursor: pointer;
	color: #FE767A;
}

#tiles li .js-remove:hover {
    color: #000;
}

#tiles li.sortable-ghost { opacity: 0.5; }

.tableheader {
background-color: #95BEE6;
color:white;
font-weight:bold;
}
.tablerow {
background-color: #A7D6F1;
color:white;
}
.message {
color: #FF0000;
font-weight: bold;
text-align: center;
width: 100%;
}

.up {color: #4bd428;}
.down {color: #FF0000; font-weight: bold;}

.ny {
	background: #000;
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 5px;
	transition: background .2s ease;
}

#svar {
	display: none;
	padding: 30px;
	text-align: center;
	color: #fff;
}

#stasjon-input {
	background: #fcf9e3;
	padding: 30px;
	margin-bottom: 10px;
}

#stasjon-input small {word-break: break-all;}

#svar.error { background: #FE767A; }

#svar.success { background: #8de875; }

.ny:hover, #add_tile:hover {
	background: darkgray;
}

#slett-stasjon, #slett-dashboard {
	background: #FE767A;
	color: #fff;
	display: block;
	text-align: center;
	padding: 10px;
	cursor: pointer;
}

button[type=submit] {
	border: 0;
	padding: 10px;
	background: #000;
	color: #fff;
}

button[type=submit]:disabled {
	background: darkgray;
}

.skjul {display: none;}

th {
	background-color: #A7D6F1;
}

.even {
	background-color: #ededed;
}

#devmode {
	position: fixed;
	transform: translate3d(0, 0, 0);
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	font-size: 11px;
	z-index: 99999;
	background: #f4b638 url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMTAgMTAiPjxwYXRoIGZpbGw9IiMzMzNGNEQiIGQ9Ik03OSAxMEgyMEwzMCAwaDU5eiIvPjwvc3ZnPg==') repeat-x 100% 0;
	background-size: auto 100%;
}
#devmode.bottom {
	top: auto;
	bottom: 0;
}
#devmode.LOCAL {background-color: #e54545;}
#devmode.PROD {background-color: #1fbe7b;}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
