/* @override 
	http://elevpc-gateway.rogfk.dev/app/views/default/stylesheets/style.css?v=1
	http://elevpc.rogfk.dev/app/views/default/stylesheets/style.css?v=1
*/

/*
Theme Name: Telehuset RFK-butikk
Theme URI: http://rfk.telehuset.no/
Description: Telehuset RFK
Author: Bj¿rnar Tollaksen
Version: 1.0
Tags: 
*/


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

   Reset default browser CSS.

   Based on work by Eric Meyer:
   http://meyerweb.com/eric/tools/css/reset/index.html

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

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1.3;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	clear: both;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 1.5em 0;
}

* {
	box-sizing: border-box;
}

/* FONTS */

@font-face {
	font-family: 'Hind';
	src: url('/app/public/fonts/Hind-Light.eot');
	src: url('/app/public/fonts/Hind-Light.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Hind-Light.woff2') format('woff2'),
	url('/app/public/fonts/Hind-Light.woff') format('woff'),
	url('/app/public/fonts/Hind-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('/app/public/fonts/Roboto-BoldItalic.eot');
	src: url('/app/public/fonts/Roboto-BoldItalic.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Roboto-BoldItalic.woff2') format('woff2'),
	url('/app/public/fonts/Roboto-BoldItalic.woff') format('woff'),
	url('/app/public/fonts/Roboto-BoldItalic.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('/app/public/fonts/Roboto-Italic.eot');
	src: url('/app/public/fonts/Roboto-Italic.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Roboto-Italic.woff2') format('woff2'),
	url('/app/public/fonts/Roboto-Italic.woff') format('woff'),
	url('/app/public/fonts/Roboto-Italic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('/app/public/fonts/Roboto-Bold.eot');
	src: url('/app/public/fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Roboto-Bold.woff2') format('woff2'),
	url('/app/public/fonts/Roboto-Bold.woff') format('woff'),
	url('/app/public/fonts/Roboto-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('/app/public/fonts/Roboto-Light.eot');
	src: url('/app/public/fonts/Roboto-Light.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Roboto-Light.woff2') format('woff2'),
	url('/app/public/fonts/Roboto-Light.woff') format('woff'),
	url('/app/public/fonts/Roboto-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('/app/public/fonts/Roboto-Regular.eot');
	src: url('/app/public/fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Roboto-Regular.woff2') format('woff2'),
	url('/app/public/fonts/Roboto-Regular.woff') format('woff'),
	url('/app/public/fonts/Roboto-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('/app/public/fonts/Roboto-LightItalic.eot');
	src: url('/app/public/fonts/Roboto-LightItalic.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Roboto-LightItalic.woff2') format('woff2'),
	url('/app/public/fonts/Roboto-LightItalic.woff') format('woff'),
	url('/app/public/fonts/Roboto-LightItalic.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('/app/public/fonts/Roboto-MediumItalic.eot');
	src: url('/app/public/fonts/Roboto-MediumItalic.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Roboto-MediumItalic.woff2') format('woff2'),
	url('/app/public/fonts/Roboto-MediumItalic.woff') format('woff'),
	url('/app/public/fonts/Roboto-MediumItalic.ttf') format('truetype');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('/app/public/fonts/Roboto-Medium.eot');
	src: url('/app/public/fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
	url('/app/public/fonts/Roboto-Medium.woff2') format('woff2'),
	url('/app/public/fonts/Roboto-Medium.woff') format('woff'),
	url('/app/public/fonts/Roboto-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}


html,
body {
	--text-color: #212529;
	--blue-color: #3581D8;
	--blue-color-dark: #3074C2;
	--red-color: #D82E3F;
	--red-color-dark: #C22939;
	--yellow-color: #FFE135;
	--yellow-color-dark: #E6CB30;
	--green-color: #28CC2D;
	--green-color-dark: #24B829;
	--content-max-width: 1400px;
	--horizontal-padding: 1em;
	--primary-font: Roboto, Arial, sans-serif;
	--title-font: Hind, Arial, sans-serif;
}

@media (min-width: 600px) {
	html,
	body {
		--horizontal-padding: 2em;
	}
}


#product_container td {
	border: 1px solid gray;
	padding: 3px 7px;
}

a img { border: none; }


body {
	margin: 0;
	padding: 0;
	font-family: var(--primary-font);
	line-height: 1.6;
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}


h1,
h2,
h3,
h4 {
	font-family: var(--title-font);
	font-weight: 200;
}

h1 {
	font-size: 2.5em;
}

/* h1 a { color: #fff; } */

h2 {
	font-size: 1.8em;
	margin: 0 0 .3em 0;
}

h3 {
	font-size: 1.5em;
	margin-bottom: 1em;
}

h4 {
	font-size: 1.2em;
	margin-bottom: 1em;
}

a {
	color: var(--blue-color);
	text-decoration: none;
}

a:hover { text-decoration: underline; }
p {
	margin: 1em 0;
}

code {
	font-size: 1.25em;
}

img{
	border: 0!important;
}

form {
	padding: 0;
	margin: 0;
}


.center {
	text-align: center;
}

.align-right {
	text-align: right;
}

.fullwidth,
.full-width {
	width: 100%;
}

ul ul {
	margin-left: 1em;
}

#upload-container ul {
	list-style: disc;
	padding-left: 2.5em;
}


/* -------- FRAMEWORK START -------- */

#container {
	padding: 0 var(--horizontal-padding);
	margin: 0 auto;
	width: 100%;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

#container .inner {
	width: 100%;
	max-width: var(--content-max-width);
	margin: 2rem auto;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

header {
	border-bottom: 1px solid #E9EAEC;
	padding: 1.5em var(--horizontal-padding);
}

header a {
	color: var(--text-color);
}

header > div {
	max-width: var(--content-max-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header img {
	height: 55px;
}

header h1 {
	display: none;
}

#mobile-menu {
	background: none;
	border: none;
}

#mobile-menu:hover {
	cursor: pointer;
}

#mobile-menu svg {
	width: 20px;
	height: auto;
}

nav {
	flex-basis: 225px;
	position: absolute;
	top: 104px;
	left: 0;
	right: 0;
	background: #fff;
	transition: transform 200ms ease-in-out;
	transform: translateX(100%);
	padding: 1em;
}

nav.show {
	transform: none;
}

footer {
	padding: 1em 0;
	border-top: 1px solid #E9EAEC;
	text-align: center;
}

#placeholder-content{
	width: 810px;
	float: left;

	margin: 10px 30px 20px 0;
}

#placeholder-right {
	float: left;
	width: 165px;
	margin-top: 55px;
	text-align: center;
	padding-right: 15px;
}

#placeholder-bottom{

	clear:both;
	color: #fff;
	padding: 10px;
	width: auto;
	text-align: center;
}


#coretrek-colofon{
	background:#000;
	clear:both;
	padding: 0 10px 10px 10px;
}


hr.separator {
	border-bottom: 1px #777;
	clear: left;
	margin: 2em 0;
}

hr {
	
}

/* -------- FRAMEWORK END -------- */



main {
	margin-bottom: 3em;
	flex-grow: 1;
}


.breadcrumbs {
	margin: 1.5em auto;
	width: 100%;
	max-width: var(--content-max-width);
}

.breadcrumbs .tile-content{
	display:inline;
	padding:0;
	margin: 0;
}

.breadcrumbs h3 {
	display: inline;
	font-family: var(--primary-font);
	font-weight: normal;
	padding: 0 .25rem 0 0;
	margin: 0;
	font-size: 1em;
}

.breadcrumbs ul,
.breadcrumbs li{
	display:inline!important;
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumbs li{
	padding-right: 5px;
	margin-right: 0px;
}



img {
	display: block;
}

.right {
	display: none!important;
}

.list th {
	text-align: left;
	background: #f1f1f1;
}

.list th.align-right {
	text-align: right;
}

.list td p {
	margin: 0;
}

.list td, .list th {
	padding: .5em .75em;
	border-bottom: 1px solid #ddd;
	
}


.list tr.strong,
.list td.strong {
	font-weight: bold;
}

.list .number{
	margin: 0 10px;
}


.list nobr {
	margin: 0 10px;
}

table.list{
	width: 100%;
	margin-bottom: 10px;
	margin-top: 10px;
	border: 1px solid #ddd;
	border-bottom: 0;
}

.table-wrapper {
	overflow-x: auto;
}

table.list input{
	float: right;
}

table.front{
	width: 550px;
}

table.front a{
	display: block;
}

table.front td{
	vertical-align: bottom;
	padding-bottom: 10px;
	padding-top: 10px;
	border-bottom: #ddd 1px solid;
}

div.front {
	height: 2.1em;
	overflow: hidden;
}

html {
	overflow-y: scroll;
}

/* COMMENTS */

#comments {
	border-top: 1px dotted #a1a1a1;
	margin: 1em 0;
	padding: 1em 0;
}

#comments h3 {
	font-size: 1.5em;
	margin-bottom: .5em;
}

#comments h4 {
	font-size: 1.1em;
	margin: 0;
}

#comments p { margin: .5em 0 }
#comments .comment-text { margin-left: 1em; flex-grow: 1; }
#comments .comment-text h4 { font-family: var(--primary-font); font-weight: normal; }
#comments .comment { margin: .5em 0; padding: .8em 1em .5em; }

#comments input[type="submit"] {
	font-size: 1em;
	font-family: var(--primary-font);
}

#comments .comment {
	display: flex;
}

#comments .comment-text textarea {
	height: 6em;
	width: 100%;
	font-size: 1em;
	font-family: var(--primary-font);
	padding: .5em;
}


.full-width { width: 540px; }
span.small { font-size: .9em; }
.dark-gray { color: #555555; }
.margin-left { margin-left: 10px; }

/* TABLES */

/* CLEAR */

.clear { clear: both; }

/* ALIGNMENT */

.alignleft { float: left; text-align: left; }
.alignright { float: right; text-align: left; }
.aligncenter { text-align: center; }

img.alignleft { margin: 3px 20px 15px 0; }
img.alignright { margin: 3px 0 15px 25px; }

ul.store_choice {
	margin: 1em 0;
}

ul.store_choice li {
	margin-left: 3em;
	list-style-type: square;
}

/* PRODUCT LIST */

.store_front { margin-top: 3em; }

#tilbehor { margin: 2em 0 0}

.product_list .product.last { margin-right: 0; }
.product_list .product.first { clear: left; }
.product_list .product {
	float: left;
	margin: 2em 35px 3em 0;
	width: 125px;
}
.product_list .product a { color: #000;}

.product_list .product img {
	max-width: 100px;
	max-height: 100px;
}


.product_list .product.pc { width: 285px; }
.product_list .product.pc a { font-size: 1.1em; font-weight: bold; }
.product_list .product.pc .front { height: 2.1em; }
.product_list .product.pc .webon_price_ink{ width: 5.5em;}
.product_list .product.pc.last { width: 250px; }
.product_list .product.pc img {
	max-width: 175px;
	max-height: 175px;	
}

.product_list .product img.alignleft {
	float: none;
	margin: 0;
}

/* Back to store link */

.store_home { float: left; width: 150px; margin-top: 0;}
.store_home a { color: #000; text-decoration: none; }

p.back_to_store {
	float: left;
	margin-top: 19px;
}

/* Shopping cart */

/* required to avoid jumping */
#menu_cart_wrap { 
  position: relative;
  width: 280px;
}

#menu_cart {
  position: absolute;
  top: 0;
  /* just used to show how to include the margin in the effect */
  margin-top: 20px;
	
}

#menu_search {
	font-family: var(--primary-font);
	font-size: 1em;
	padding: .25em .5em;
	flex-grow: 1;
	width: 1px;
}
#submit_search { background: none; border: none; padding: .5em 0 .5em .5em; }
#submit_search svg {
	width: 16px;
	height: auto;
}
#submit_search:hover { cursor: pointer; }

.comment.new {
	background-color: #e8e8e8;
}

/*.border-radius.small {
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.border-radius {
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
}*/

/* ERROR */

.message {
	padding: .75em 1em;
}

.error {
	color: #fff;
	background-color: var(--red-color);
	padding: .8em 1em;
}

.warning {
	background: var(--yellow-color);
}

.show_error {
	background-color: #dca775;
	display: none;
	width: 130px;
	line-height: 1.3em;
	padding: 15px;
	padding-bottom: 5px;
	margin: 1em 0;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}


/* STORE NAVIGATION */

ul.order_navigation {
	clear: left;
	color: #a5a5a5;
	font-size: 1.4em;
	margin-bottom: 1em;
}

.order_navigation li {
	display: inline;
	margin-right: 0.5em;
}

th.order_checkbox, td.order_checkbox { width: 15px; padding-right: 0;}
#order_list .order_checkbox input { margin-bottom: -2px; }
.navigation_list {
	background-color: #f1f1f1;
	margin: 15px 0; 
	padding: .5em .75em;
}
.navigation_list p {
	margin:  0;
}

p.email_list { display: none; margin-top: 1em; }
p.sms_list { display: none; margin-top: 1em; }

/* REGISTRATION */

form.registration .information { font-size: 1.1em;}

form.registration .options {
	background-color: #e0e0e0;
	display: block;
	margin-bottom: 2em;
	padding: 15px 0;
}

form.registration h3 {
	font-size: 1.5em;
	/*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
}

form.registration .options p { margin: 0;}
form.registration .options .option-error { margin-left: 122px; }


form.registration input, form.registration select {
border: 1px solid #bfc9b6;
color: #666666;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1em;
margin-right: 5px;
padding: 4px 5px;
}

form.registration .options p { margin: 3px 0; }
form.registration p {
color: #555555;
display: block;
margin: 5px 0;
margin-bottom: 3px;
}

form.registration label,
form.registration .options span,
form.registration span.description {
display: block;
float: left;
font-weight: bold;
padding: 5px 0;
padding-right: 12px;
text-align: right;
width: 110px;
}

form.registration span.description { padding: 0 10px 0 0; }
form.registration .options span {
	margin-top: -2px;
	padding: 0;
	padding-right: 12px;
}

form.registration span.message {
	font-size: 0.8em;
}

form.registration .firstname { width: 70px; }
form.registration .lastname { width: 129px; }
form.registration .address { width: 220px; }
form.registration .zipcode { width: 40px; }
form.registration .city { width: 159px; }
form.registration .birthdate { width: 70px; }
form.registration .parent { width: 220px; }
form.registration .phone { width: 70px; }
form.registration .email { width: 220px; }
form.registration .church { width: 220px; }

form.registration .parent-field { display: none; }
form.registration .grey { color: #b5b5b5; }

form.registration input.green,
form.registration select.green { background-color: #c8efb6;}
input.red,
select.red { background-color: #f4ccc0;}
form.registration span.red { color: #db6d5f;}

form.registration select {
	margin-top: 5px;
}

form.registration a.remove:hover {
	color: #515151;
	background: none; }
form.registration a.remove {
	color: gray;
	float: right;
	font-size: 0.8em;
}
/*form.registration .navigation a:hover { background-color: #aaa; }
form.registration .navigation a {
	background-color: #d1d1d1;
	color: #262626;
	text-decoration: none;
	padding: 7px 12px;

	}*/
	
form.registration input#confirm:hover,
.list span.list_button a:hover,
a.register_button:hover,
form.registration input#save:hover {
	background-color: #668200; cursor: pointer;
	
	/*background-image: -moz-gradient(top, #4c6104, #7c9c0c); /* FF3.6 */
	/*background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #4c6104),color-stop(1, #7c9c0c)); /* Saf4+, Chrome */
	/*filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c6104', endColorstr='#7c9c0c'); /* IE6,IE7 */
	/*-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c6104', endColorstr='#7c9c0c')"; */
}


form.registration input#confirm:active,
.list span.list_button a:active,
a.register_button:active,
form.registration input#save:active {
	background-color: #455a03;
	
	/*background-image: -moz-gradient(top, #84a60e, #5e7707); /* FF3.6 */
	/*background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #84a60e),color-stop(1, #5e7707)); /* Saf4+, Chrome */
	/*filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#84a60e', endColorstr='#5e7707'); /* IE6,IE7 */
	/*-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#84a60e', endColorstr='#5e7707')"; /* IE8 */
	
	}


form.registration input#confirm,
.list span.list_button a,
a.register_button,
form.registration  input#save {
	background-color: #7e9e07;
	color: #f9f9f9;
	font-weight: lighter;
	font-size: 1.05em;
	padding: 6px 15px 7px;
	text-decoration: none;
	
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	
	/*background-image: -moz-gradient(top, #5e7707, #84a60e); /* FF3.6 */
	/*background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #5e7707),color-stop(1, #84a60e)); /* Saf4+, Chrome */
	/*filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#5e7707', endColorstr='#84a60e'); /* IE6,IE7 */
	/*-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#5e7707', endColorstr='#84a60e')"; /* IE8 */
	}

a.register_button {
	font-size: 1.2em;
	padding: 10px 22px 11px;
}
p.register_button {
	margin: 1.5em 0;
}
form.registration input#confirm { margin-top: 1em; }

form.registration .navigation { margin-left: 122px; margin-top: 2em; text-align: right;}
form.registration .navigation .more { margin-right: 5px; }
form.registration .navigation .previous { margin-left: 25px; margin-right: 5px; }
form.registration .navigation .delete {
	background-color: #c40c0f;
	margin-left: 5px;
	padding-left: 20px;
	padding-right: 20px;
	}
form.registration .navigation .delete:hover { background-color: #9e0709; }
form.registration .navigation .delete:active { background-color: #7b0405; }
form.registration input#save { margin: 0 5px 0 122px; }

.information .form_description { margin-bottom: 1.5em; }

/* SUMMARY */

/*.summary { display: none; }*/
.summary table { margin: 0; width: 100%;}

.summary_wrap {
	background-color: #e8e8e8;
	padding: 20px;
	
	
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

.summary_wrap {	width: 480px; }
.summary h3 { margin-top: 0; }
.summary p { margin: 0.2em;}

.information_summary {
	border-right: 1px solid #adadad;
	width: 210px;
	margin: 0;
	vertical-align: top;
	padding-right: 20px;
}


.information_summary .person div { margin: 1.5em 0 0; }
.information_summary .person div p { margin: 0; }

.price_summary {
	padding-left: 20px;
	margin: 0;
	vertical-align: top;
}

.price_summary p.sum {
	margin-top: 1em;
	font-size: 1.2em;
}

.price_summary span.previous {
	color: #8c8c8c;
	font-size: 0.9em;
	margin-right: 10px;
}
.price_summary a.previous { margin-right: 10px; }

.complete { margin: 1.5em 0; }


/* PAYMENT INFO */

.payment_info {
	background-color: #cfca95;
	margin-top: 1em;
	padding: 15px 20px;
	width: 480px;
	
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	}
.payment_info .warning {
	float: left;
	margin-right: 20px;
	margin-top: 12px;
	}
.payment_info .payex {
	float: right;
	margin-left: 20px;
	margin-top: 4px;
}


/* RECEIPT */

.receipt {
	background-color: #e8e8e8;
	clear: left;
	margin-bottom: 1em;
	padding: 1.6em 2em 1em;
	width: 450px;
	
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

.receipt h4 {
	font-size: 1.43em;
	margin-bottom: 0.9em;
}

/* ADMIN MENU */

.menu {
	margin-bottom: 1em;
}

.menu .menu-search {
	margin-top: 0;
	background-color: #eee;
	padding-bottom: 1.5rem;
}

.menu .menu-search form li div {
	display: flex;
}

.menu .menu-reports {
	background-color: #eee;
	padding: 1.5rem 0 0;
}

.menu .menu-reports h4 {
	margin-top: 0;
}

.menu h3 {
	font-size: 1.3em;
	margin: 0 1.5rem 1.5rem;
	padding-top: 1.5rem;
}

.menu h4 {
	font-family: var(--primary-font);
	font-size: 1.1em;
	font-weight: normal;
	margin: 2rem 1.5rem .5rem;
}

.menu ul li a {
	display: block;
	padding: .5em 1.5em;
	background: #eee;
	border-bottom: 1px solid #ccc;
}

.menu ul li a:hover {
	background: #f6f6f6;
	text-decoration: none;
}

.menu ul ul {
	margin-left: 0;
}

.menu ul li li {
	border-top: 1px solid #ccc;
}

.menu ul li li a:last-child {
	border-bottom: none;
}

.menu ul + ul {
	margin-top: 3rem;
}

.menu ul form li {
	padding: 1.5rem 1.5rem 0;
}

.menu ul li.logout a {

}

.menu a { color: var(--text-color); }

/* SEARCH */

.global-search span {
	display: flex;
}

.global-search input[type="search"],
.global-search input[type="submit"] {
	font-size: 1em;
	font-family: var(--primary-font);
}

.global-search input[type="submit"] {
	padding: .6em 1.25em;
	margin-left: .5em;
}

.global-search input[type="search"] {
	padding: .25em .5em;
	max-width: 300px;
	width: 100%;
}

/* ORDER DETAILS */

.order_details td { padding: 1px 10px 1px 0;}
.order_details .separator {	height: 1em; }
.order_details th {
	font-weight: bold;
	padding-right: 10px;
	text-align: right;
	}
.order_details td.name { font-size: 1.3em; }
.order_details .button.reset-order {
	margin-left: 1em;
}

/* LISTS */

.rfk-status {

}

/* EDIT ORDER DETAILS */

/* .order_details input[type=text] { font-size: 1em;} */
.order_details input[type="text"],
.order_details input[type="email"],
.order_details select {
	font-size: 1em;
	font-family: var(--primary-font);
	padding: .25em;
}
.order_details #firstname { width: 150px;}
.order_details #lastname { width: 200px;}
.order_details #address { width: 260px; }
.order_details #zipcode { width: 40px; }
.order_details #city { width: 210px; }
.order_details #phone { width: 80px; }
.order_details #email { width: 260px; }
.order_details #birthdate { width: 120px; }
.order_details #parent { width: 260px; }
.order_details #comment { width: 400px; }

.order_details tr.Hentes.Telehuset { background-color: #f6cea2; }
.order_details tr.Hentes.urgent { background-color: #f69387; }

.order_details .Hentes td { padding: 5px 0; width: 100%; }
.comment { background-color: #f4a092; }
.order_details .comment td { padding: 5px 0; width: 100%; }


.edit_buttons { margin-bottom: 25px; padding-top: 25px; border-top: 1px dotted #a1a1a1; }
.edit_buttons a { margin: 0 5px; }
.edit_buttons #save { margin-left: 116px; }
.edit_buttons .back { margin-right: 55px; }
.edit_buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.edit_buttons .edit_delete {
	justify-self: flex-end;
}


.navigation_list .newer_order { float: left; }
.navigation_list .older_order { float: right; }
.navigation_list a { white-space: nowrap }

.preapproval-index-actions {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	margin: 1rem 0;
}

.preapproval-search {
	display: inline-flex;
}

.preapproval-search input[type="search"] {
	font-size: 1em;
	font-family: var(--primary-font);
	padding: .25em .5em;
	margin-right: .5em;
	min-width: 300px;
	flex-grow: 1;
	appearance: textfield;
}

.preapproval-index-actions .actions {
	margin-top: .5em;
	display: flex;
	justify-content: space-between;
}

.preapproval-index-actions .actions a {
	width: 48%;
}

.contract, .serial {
	background-color: #e8e8e8;

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

.contract { background-color: #f68164; }
.contract p { margin: 0; padding: 7px 20px; }

h3.deliver { margin-bottom: 0; }
#deliver {
	margin: 2em 0;
}
#deliver .serial_number {
	font-size: 1em;
	margin: 0 10px 0 10px;
	padding: 5px;
	width: 130px;
}
#deliver .error { color: #f3473a; display: none; font-size: 0.9em; }
#deliver #confirm {
	font-size: 1.4em;
	text-transform: uppercase;
	margin-top: 1em;
	padding: 0.5em 2.5em;
}
.serial {
	background-color: #f68164;
	margin-top: 10px;
	padding: 5px 20px;
}

.serial_number {
	width: 90px;
}
.serial p { margin: 0.5em 0;}

.deliver_receipt h4 { font-size: 1.1em; margin-top: 0;}
.deliver_receipt p { margin: 1em 0 0; }
.deliver_receipt {
	display: block;
	padding: 20px 20px 0;
	text-align: center;

}
.deliver_receipt .ok_not_ok {
	background: url(/app/public/images/OKnotOK.png);
	margin: 0 auto 1.5em;
	height: 100px;
	width: 100px;
}
/* .deliver_receipt.green { background-color: #b7deb2;} */

a.process.list { padding: 0.5rem 0.75rem; font-size: .875em; }
.accepted { color: var(--green-color); display: none; }
.accepted.show { display: block; }
.denied { color: var(--red-color); display: none; }
.denied.show { display: block; }
.process.order_details { display: none; }
.change_verified_status {
	font-size: 0.9em;
	margin-left: 5px;
}

.rfk-status div.process { width: 170px; }

/* STATS */

h3.stats {
	font-size: 2.2em;
	margin-bottom: 0;
}

div.year-select {
	margin-bottom: 1.5em;
	text-align: center;
}

div.stats { text-align: center; margin: 0 auto; }
div.stats > div div {
	display: inline-block;
	padding: 2rem;
	
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
.stats a { color: #000; display: block;}
.stats a:hover { text-decoration: none; }

#total_orders a { color: #fff; }
#total_orders {
	background-color: #000;
	padding: 1.5rem 2rem;
}
#total_orders span { font-size: 6em; line-height: 1.2em; }

#sub_orders, #misc {
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
#total_orders,
#sub_orders div,
#misc div {
	box-sizing: border-box;
	width: 100%;
}

#sub_orders div,
#misc div {
	margin-top: 1em;
}
#sub_orders div span, #misc div span { font-size: 4em; line-height: 1em; margin-bottom: .5rem; }

#unprocessed, #down_payment { background-color: var(--yellow-color); }
#accepted { background-color: var(--green-color); }
#rejected { background-color: var(--red-color); }
#rejected a { color: #fff; }



h3.delivery_stats {
	margin-top: 3em;
	text-align: center;
}
table.delivery_stats {
	margin: 0 auto 0;
	width: 500px;
}

.margin-left-space {
	margin-left: 15px;
}

/* BUTTONS */

.button {
	border: none;
	color: #000;
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-family: var(--primary-font);
	font-size: 1em;
	line-height: 1;
	padding: .8em 1.5em;
	/*text-shadow: 0 1px 1px rgba(0,0,0,.3);*/
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	/*-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);*/
}
.button.small {
	font-size: 0.9em;
	line-height: 0.8;
	padding: .6em .8em;
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

.button.gray {
	border: 1px solid #bbb;
	background: #ddd;
	color: #444;
}

.blue {
	color: #fff;
	background: var(--blue-color);
}
.blue:hover {
	background: var(--blue-color-dark);
}

.yellow-gradient {
	background: var(--yellow-color);
}
.yellow-gradient:hover {
	background: var(--yellow-color-dark);
}

.green-gradient {
	background: var(--green-color);
}
.green-gradient:hover {
	background: var(--green-color-dark);
}

.red-gradient {
	color: #fff;
	background: var(--red-color);
}
.red-gradient:hover {
	background: var(--red-color-dark);
}

.separator { margin: 0 0.5em;}
#diagram { width: 100%; height: 500px; margin: 0 auto; }
p.no_orders { margin: 1em 0; }

/* COLORS */

.dark-gray { color: #494949; }
.red { color: var(--red-color); }
.green { color: var(--green-color); }
.gray { color: gray; }	
.black { color: #000; }

/* MODULE */

.module input[type="text"],
.module input[type="email"],
.module select {
	font-size: 1em;
	font-family: var(--primary-font);
	width: 100%;
	max-width: 350px;
	padding: .5em;
}

	/* CONFIRM TERMS */

#confirm_terms { margin: 1em 0; }
.error_message { margin: 1em 0; }

/* DELETED */
div.deleted {
	font-weight: bold;
	background-color: #ff1224;
	color: white;
	padding: .5em 0;
	text-align: center;
}

/* HIDDEN */

.hidden { display: none; }

#spinner,
#diagram {
	position: relative;
}

/* REASON */

textarea#reason {
	height: 50px;
	width: 100%;

}

/* SETTINGS */

.settings textarea {
	width: 100%;
	height: 150px;
}

.settings #installment_email_text {
	height: 200px;
}

.settings #installment_email_reminder_interval,
.settings #installment_email_reminder_count {
	text-align: right;
	width: 40px;
}

/* AUTOMATIC RUN */

.automatic-run-wrapper {
	margin-bottom: 1em;
}

.automatic-run-wrapper span {
	font-weight: bold;
}

.automatic-run {
	margin-left: 1em;
}

.automatic-run.hidden {
	display: none;
}

/* LOGIN */

.login {
	max-width: 500px;
	margin: 1rem auto 0;
}

.login input[type="text"],
.login input[type="password"],
.login input[type="email"]{
	width: 100%;
	padding: .5em;
	font-size: 1em;
	font-family: var(--primary-font);
}

.login input[type="submit"] {
	width: 100%;
}

.login .actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.login .actions a {
	margin-top: 1rem;
}

@media (min-width: 900px) {
	#container .inner {
		flex-direction: row;
	}

	main:not(.no-menu) {
		margin-left: 2em;
	}

	header h1 {
		display: block;
	}

	header #mobile-menu {
		display: none;
	}

	nav {
		transform: none;
		position: static;
		padding: 0;
	}

	#sub_orders div,
	#misc div {
		width: 32%;
		margin-right: 2%;
	}

	#total_orders,
	#sub_orders div:last-child,
	#misc div:last-child {
		margin-right: 0;
	}

	.table-wrapper {
		overflow-x: inherit;
	}

	.login .actions {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.login .actions a {
		margin-top: 0;
	}

	.login input[type="submit"] {
		width: inherit;
	}

	.preapproval-index-actions {
		flex-direction: row;
		align-items: center;
	}

	.preapproval-index-actions .actions {
		margin-top: 0;
	}

	.preapproval-index-actions .actions a {
		width: inherit;
		margin-left: .5em;
	}

	.preapproval-index-actions .actions a:first-child {
		margin-left: 0;
	}

	.order-filter {
		display: flex;
		justify-content: space-between;
	}
}

@media (min-width: 1100px) {
	#total_orders {
		width: 32%;
	}
}
