body { padding-bottom: 6em;}
h3 { font-size: 21px; }
h2.krossh2, h3.krossh3 { color: #c8c8c8; }

.top-buffer { margin-top:20px;}
.navbg { background-color: #008fd6 }

/* Headers */
.krossh1 { font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 4em; }
.krossh2 { font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 2em; }
.krossh4 { font-family: 'Roboto', sans-serif;font-weight: 900;font-size: 1.5em; }

/* Logo */
.logo { box-shadow: 3px 3px 10px 7px #fff!important; padding: 1em; background: #fff; }

/* Grid and layout */
.container-full { margin: 0 auto; width: 100%; }
.margin-bottom-default { margin-bottom: .7em!important; }
.margin-bottom-top-default { margin-bottom: .7em!important; margin-top: .7em!important; }
.margin-bottom-medium { margin-bottom: 1.4em!important; }
.margin-bottom-top-medium { margin-bottom: 1.4em!important; margin-top: 1.4em!important; }
.row div.separator { padding-top: 2.5em; }

/* Boxes */
.area { border: 1px solid #1c1e22; background: #2e3338; }

/* Buttons */
.btn-margin-right-default { margin-right: .3em; }
span.close { font-size: 1.8em; line-height: 0; padding: .3em; }
span.close:hover { cursor: pointer; color: grey; }

/* Links */
a { color: cornflowerblue!important; text-decoration: none; }
.link { margin-top: .35em; cursor: pointer; font-weight: bold; font-size: 1em; }
.link.add { color: #5cb85c; }
.link.add:hover { color: #479947; }
.link.remove { color: #d9534f; }
.link.remove:hover { color: #ad3e3c; }

/* clickables */
.clickable:hover { cursor: pointer; }
tr.clickable:hover { }
i.clickable, span.clickable { font-size: 1.4em; }
i.hoverable:hover, span.hoverable:hover, svg.hoverable:hover { color: #000; }
table i, table span {
	font-size: 1.4em;
	margin-right: .4em;
}

/* table */
table tr.inactive { background: #E74C3C!important; color: white!important; }
table tr.inactive i { color: #fff; }
table tr.active td { background: #3C763D!important; color: white!important; }
table tr.active td i { color: #fff; }
table tr.expired td { background: #3c0000; color: #fff; }
table tr.expired td i { color: #fff; }

/* Navbar */
#mainNavbar {
	margin-bottom: 2em;
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: 1px solid #333;
}

#mainNavbar a.nav-item {
	padding-left: 0.4em;
}

#mainNavbar ul li ul li {
	min-width: max-content;
    padding-right: .5em;
}

/* Login */
form.login { padding: 2.5em 1em 1em 1em; border-radius: 1.4em 1.4em;border: 1px solid #ededed;box-shadow: 6px 6px 9px #aaa; }


/* datepicker */
.datepicker.datepicker-dropdown.dropdown-menu { background: #fff!important; }

/* Chosen select */
.chosen-container-active .chosen-choices { min-height: 34px!important; box-shadow: none!important; background-image: none!important; }
.chosen-container-multi .chosen-choices { min-height: 34px!important; padding: 3px 10px!important; border: 1px solid #ccc; border-radius: 4px; background-image: none!important; }


.bold { font-weight: bold; }
.green { color: #31c400; }
.yellow { color: #f4c300; }
.red { color: #c4001a; }

/* Scroll section */
.scrollup {
	position: fixed;
	right: 10px;
	bottom: 55px;
	float: right;
	background: rgba(0,0, 0,.5);
	line-height: 1;
	font-size: 2em;
	color: #fff;
	padding: .4em;
	margin-right: 0em!important;
	-webkit-border-radius: 6px 6px 6px 6px;
	-moz-border-radius: 6px 6px 6px 6px;
	-ms-border-radius: 6px 6px 6px 6px;
	border-radius: 6px 6px 6px 6px;
	display: block;
	z-index: 100;
}
.scrollup:hover {
	background: rgba(0,0, 0,.4);
	cursor: pointer;
}

@media only screen and (max-width: 1260px) {
	.scrollup {
		visibility: hidden;
		display: none;
	}
}

/* Table actions */
table tr td .glyphicon:hover {
	cursor: pointer;
	color: rgba(0, 0, 0, .7);
}
table tr td .glyphicon.not-clickable:hover {
	cursor: default!important;
}
table tr td .glyphicon {
	font-size: 21px;
}

.clockpicker-button {
	background: none!important;
}

input[type="file"] {
    display: block;
    color: orange!important;
}

.list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus {
    color: black!important;
}

::selection {
	background: black;
	color: lightblue;
}
::-moz-selection {
	background: black;
	color: lightblue;
}

.google-visualization-table {
	color: #000!important;
}

.datepicker {
	z-index: 99999999!important;
}

.google-visualization-table-table {
	font-size: 1.2em!important;
}
.google-visualization-table-table tr {
	/*background: grey!important;*/
}

.sensorBarometer.error {
	color: #d91f1f;
	font-weight: bold;
	cursor: pointer;
}
.sensorBarometer.ok {
	color: green;
	font-weight: bold;
	cursor: pointer;
}
.sensorBarometer {
	margin-right: .5em;
    margin-bottom: 1.2em;
    font-size: 1.4em;
}

.holderFrame {
	border: 1px solid #000;
    border-radius: 8px;
    padding: 25px 20px;
    margin-top: 1.5em;
	box-shadow: 3px 3px 5px #000;
}

blockquote {
  border-left: 10px solid cornflowerblue;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
  font-size: 15.5px!important;
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}

.flipswitch
{
    position: relative;
    background: white;
    width: 120px;
    height: 40px;
    -webkit-appearance: initial;
    border-radius: 3px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline:none;
    font-size: 14px;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    cursor:pointer;
    border:1px solid #ddd;
}
.flipswitch:after
{
    position:absolute;
    top:5%;
    display:block; 
    line-height:32px;
    width:45%;
    height:90%;
    background:#fff;
    box-sizing:border-box;
    text-align:center;
    transition: all 0.3s ease-in 0s; 
    color:black;
    border:#888 1px solid;
    border-radius:3px;
}
.flipswitch:after
{
    left:2%;
    content: "Nej";
	color:black;
}
.flipswitch:checked:after
{
    left:53%;
    content: "Ja";
	color: green;
}

footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	background: rgba(0,0,0, 1);
}
footer .sw-icon:hover {
	opacity: .6;
	cursor: pointer;
}

h2 svg.opendialog {
	cursor: pointer;
	color: cornflowerblue;
}

@media only screen and (min-width: 990px) {
	.sw-open-right {
		right: 30%;
	}
}

@media only screen and (max-width: 1000px) {
	.switcher .sw-logo {
		display: none;
	}
	
	.switcher {
		height: 100%!important;
		width: 100%;
	}
}

/* Support section */
.sw-no-transition {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.switcher .row.leading button {
	font-size: 40px
}

.switcher h3 {
	color: #333;
}

.switcher {
	color: #333;
	display: none;
    position: fixed;
    bottom: 0;
    height: 50%;
    width: 100%;
    padding: 1rem 2rem 1rem 2rem!important;
    background: #eaeaea;
    z-index: 99999;
    transition: all 1s;
    visibility: visible;
}
.switcher-right {
	
    /* right: 0; */
}
.switcher-left, .switcher-right {
    padding-left: 20px;
    padding-right: 20px;
    bottom: 0;
}