
/* Basic CSS starts */
html{
	height: 100%;
}

body{
	margin: 0;
	font-size: 1em;
	background: #fff;
	font-family: 'graphic-regular', Helvetica, Arial, sans-serif;
	min-height: 100%;
	display: flex;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	margin: 0.5em 0;
	padding: 0;
	font-weight: bold;
	font-family: 'graphic-regular', Helvetica, Arial, sans-serif;
}

h1 {
	font-size: 34px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 1.25em;
}

h4 {
	font-size: 1.25em;
	font-size: 1.6em;
	color: #4a4a49;
	line-height: 1.3em;
}

h5 {
	font-size: 17px;
}

h6 {
	font-size: 15px;
}

p {
	margin: 0.5em 0;
	padding: 0;
	line-height: 1.3em;
}

a{
	text-decoration:none;
	color: #777;
}

a:hover, a:focus{
	text-decoration:none;
}

a:hover,a:active,a:focus {
	outline: 0;
}

hr {
	width: 100%;
	border: none;
	border-top: 1px solid #ddd;
	margin:  2em 0;
}

:focus {
	outline:none;
}

::-moz-focus-inner {
	border:0;
}

form input,
form textarea,
form select {
	font-size: 0.8em;
	border: none;
	background-color: #f0f0f0;
	/*padding: 0.5em 1.0em;*/
	padding: 0.9em 1.5em;
	border-radius: 0.4em;
	box-sizing: border-box;
}

form input:disabled,
form textarea:disabled,
form select:disabled {
	cursor: not-allowed;
}

form textarea {
	padding: 0.5em 1em;
}

form select
{
	margin: 0 0 1em 0;
	width: 100%;
	color: #000;
}

form label{
	font-size:12px;
}

table {
	width:  100%;
	border-collapse: collapse;
	margin-bottom: 2em;
}

table a {
	color: #777;
}

table thead th {
	text-align: left;
	padding: 0.5em;
	border-bottom: 2px solid #ddd;
}

table thead th:first-child, table thead th:last-child, table tbody td:first-child, table tbody td:last-child {
	width: 1px;
	white-space: nowrap;
}

table tbody td {
	text-align: left;
	padding: 0;
	border-top: 1px solid #ddd;
	vertical-align: top;
	padding: 0.5em;
}

table tbody tr:hover {
	background: #f5f5f5;
}

.student-table thead th:last-child, .student-table tbody td:last-child {
	width: auto;
	white-space: nowrap;
}

.small {
	width: fit-content;
}

.group-members {
	padding: 0;
	margin: 0 0 1em 0;
}

.group-members li {
	list-style: none;
	margin: 0.25em 0;
}

.outer-page-login {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.tab-annoucement {
	font-size: 0.9em;
	padding: 0.5em;
	text-align: center;
	background: #951023;
	margin: 1em 0;
}

.login-page {
	box-shadow: 0px 0px 13px #999;
	background: #C61932;
	color: #fff;
	width: 25em;
	border-radius: 0.4em;
}

.login-page .login-logo {
	width: 100%;
	height: 5em;
	background-image: url(https://ba.kristiania.no/img/kristiania.svg);
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	margin: 2em 0 0em;
}

.login-tabs {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}

.login-tab {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 5em;
	flex: 1;
	background: #8bcdc6;
	transition: background 0.7s ease;
	font-family: "Open Sans Condensed", sans-serif;
	font-size: 1.125em;
	font-weight: bold;
	text-transform: uppercase;
}
.login-tab:first-child {
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.login-tab:last-child {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.login-tab:hover {
	background: #333;
}
.login-tab a, .login-tab a:active, .login-tab a:visited {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	width: 100%;
	height: 100%;
}
.tab-content {
	padding: 1em 0 1em 0;
}
.tab-pane {
	display: none;
	flex-direction: column;
	padding: 1em;
}
.tab-pane form {
	display: flex;
	flex-direction: column;
}
.tab-pane label {
	margin: 0.5em 0;
	font-size: 0.8em;
}
.tab-pane input {
	padding: 0.5em;
	font-size: 0.8em;
}
.tab-pane a {
	color: #fff;
	text-decoration: underline;
}
#feide {
	display: flex;
	align-items: center;
	justify-content: center;
}
.login-pane {
	display: flex;
}
.login-tabs #login:target {
	background: #333;
}
.login-tabs #help:target {
	background: #333;
}
.login-tabs #contact:target {
	background: #333;
}

.login-page hr {
	margin: 2em 0 1em;
}

.feide-login {
	display: flex;
	align-items: center;
	margin: 1em auto;
}

.feide-logo {
	width:  24px;
	height: 24px;
	background-image: url('/img/feide_hvit.svg');
	background-position: center center;
	background-size: contain;
	display: inline-block;
	margin: 0 0 0 1em;
	background-repeat: no-repeat;
}

.student-waiting td {
	padding: 0 1em;
}

.student-waiting .accept-student {
	color: #0a0;
	font-size: 1.5em;
	padding: 0 0.2em;
}

.student-waiting .deny-student {
	color: #a00;
	font-size: 1.5em;
	padding: 0 0.2em;
}

.filters input {
	padding: 0.9em 1.5em;
	margin: 0 0 1em 0;
	text-indent: 0.6em;
	width: 100%;
}

.inbox-mail
{
	overflow-x: initial;
}

.login-error
{
	font-size: 12px;
	line-height: 1.5em;
	margin: 0 0 1em 0;
}

.ok-msg
{
	background: #c2e69b;
	padding: 5px 10px;
	border-radius: 2px;
}

.has-delivered
{
	color: #00A000;
}

.has-not-delivered

{	color: #D00000;
}

.hk-users td
{
	padding: 0 5px;
	min-width: 55px;
	vertical-align: top;
}

.hk-users-padded td
{
	padding: 5px;
	min-width: 55px;
	vertical-align: top;
}

.list-student-short {
  padding-left: 0;
  list-style: none;
}

.list-student-short li{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.group-overview-table tr td:first-child {
	white-space: nowrap;
}

.text-button
{
	background: none;
	color: #FFF;
	border: 0;
}

@font-face {
    font-family: 'kristianiatransform';
    src: url('/fonts/kristiania-transform2.5-webfont.eot');
    src: url('/fonts/kristiania-transform2.5-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/kristiania-transform2.5-webfont.woff2') format('woff2'),
         url('/fonts/kristiania-transform2.5-webfont.woff') format('woff'),
         url('/fonts/kristiania-transform2.5-webfont.ttf') format('truetype'),
         url('/fonts/kristiania-transform2.5-webfont.svg#kristianiatransform') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'graphic-regular';
    src: url('/fonts/Graphik-Regular-Web.eot');
    src: url('/fonts/Graphik-Regular-Web.eot?#iefix') format('embedded-opentype'),
         url('/fonts/Graphik-Regular-Web.woff') format('woff'),
         url('/fonts/Graphik-Regular-Web.ttf') format('truetype'),
         url('/fonts/Graphik-Regular-Web.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'graphic-medium';
    src: url('/fonts/Graphik-Medium-Web.eot');
    src: url('/fonts/Graphik-Medium-Web.eot?#iefix') format('embedded-opentype'),
         url('/fonts/Graphik-Medium-Web.woff') format('woff'),
         url('/fonts/Graphik-Medium-Web.ttf') format('truetype'),
         url('/fonts/Graphik-Medium-Web.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'graphic-light';
    src: url('/fonts/Graphik-Light-Web.eot');
    src: url('/fonts/Graphik-Light-Web.eot?#iefix') format('embedded-opentype'),
         url('/fonts/Graphik-Light-Web.woff') format('woff'),
         url('/fonts/Graphik-Light-Web.ttf') format('truetype'),
         url('/fonts/Graphik-Light-Web.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

.filters {
	padding-left: 0;
	margin-left: 0;
}

/* Nav Pills */
.nav-pills{
	border: 0px;
}

.nav-pills li{
	margin-right: 4px;
	margin-bottom: 5px;
}

.nav-pills li a{
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 14px;
	line-height: 23px;
	border: 1px solid #eaeaea;
	border-radius: 0px;
	color: #121212;
}

.nav-pills li a:hover{
	border: 1px solid #ddd;
}

.nav-pills li.active a i{
	color: #444;
}

/* Nav Justified */

.nav-justified li a{
	border-radius: 0px;
}

.nav-tabs.nav-justified > li > a{
	border-color: #eaeaea;
}

.nav-tabs.nav-justified > li > a:hover{
	border-color: #ddd;
}

/* Nav Drop down */

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus{
	border-color: #ddd;
}

.nav-tabs .dropdown .dropdown-menu{
	border-radius: 3px;
	border: 1px solid #ddd;
}

.nav-tabs .dropdown li{
	margin: 0px;
}

.nav-tabs .dropdown li a{
	margin: 0px;
	padding: 5px 10px;
	border: 0px;
	font-size: 13px;
	border-radius: 0px;
}

/* Pager */

.pager li>a, .pager li>span{
	margin-bottom: 5px;
	color: #fff;
}

.pager li>a:hover, .pager li>span{
	color: #fff;
}

.pager .disabled>a, .pager .disabled>a:hover,
.pager .disabled>a:focus, .pager .disabled>span {
	color: #fff;
}

/* Breadcrumbs */

.breadcrumb{
	background: #fafafa;
	border: 1px solid #f1f1f1;
}

/* Pagination */

.pagination {
	display: flex;
	list-style: none;
	flex-wrap: wrap;
	padding: 0;
}

.pagination li {
	width: 2em;
	height: 2em;
	color: #9a9a9a;
	border: 1px solid #dddddd;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: -1px -1px 0 0;
}

.pagination .current {
	background: #eee;
}

.pagination li a{
	color: #9a9a9a;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pagination li:hover, .pagination li a:hover {
	background-color: #f75353;
	border-color: #f75353;
	color: #fff;
}

.pagination-xs li a{
	padding: 3px 6px;
	font-size: 11px;
}


/* Alert */

.alert{
	border-radius: 5px;
}

.alert-dismissable .close{
	top: 3px;
}

/* Slider */

#eq span {
    height:120px; float:left; margin:15px
}

.ui-slider .ui-slider-handle { 
	position: absolute; 
	z-index: 2; 
	width: 1.1em; 
	height: 1.1em; 
	cursor: default; 
	background: #fafafa;
	border: 1px solid #ccc; 
}
.ui-slider-vertical .ui-slider-handle{
	left: -18px;
	margin-bottom: -.6em;
}

.ui-slider-horizontal { 
	height: .5em; 
	border: 0px solid #eee; 
	background: #dfdfdf;
}

.ui-slider-vertical { 
	height: 100px; 
	width: 0.5em;
	border: 0px solid #fff; 
	background: #dfdfdf;
}

#master1, #master2, #master3, #master4, #master5, #master6{
	width: 100%;
	margin:15px 0px;
}

/* Date Time Picker */

.dtpicker {
	max-width: 200px;
}

/* Buttons */

.btn {
	font-weight: 800;
	font-size: 0.8em;
	cursor: pointer;
	border-radius: 0.4em;
	text-decoration: none;
	outline: none;
	padding: 0.9em 2.0em;
	margin: 0.5em 0;
	background: #000;
	border: none;
	color: #fff;
	width: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn:disabled {
	cursor: not-allowed;
	background: #444;
	color: #bfbfbf;
	text-shadow: 0px -1px #000;
	box-shadow: inset 0px 1px #282828, inset 0px -1px #4f4f4f;
}

.btn:disabled .feide-logo {
	opacity: 0.5;
}

.btn:hover {
	background: #4a4a49;
}

.btn:disabled:hover {
	background: #444;
}

.btn.deamphasis {
	color: #000;
	background: #ffcb05;
}

.btn.deamphasis:hover {
	background: #ffed78;
	color: #000;
}

.btn.btn-xs{
	font-size:11px;
}

.btn i{
	margin-right:2px;
}	

.nav-buttons {
	display: flex;
	flex-direction: column;
}

.nav-buttons .btn {
	width: initial;
}

/* Labels */

.label{
	border-radius:2px;
}

/* Badges */

.badge{
	border-radius:0px;
	padding: 5px 10px;
	font-size:11px;
	font-weight:normal;
	border-radius:10px;
	margin:0px;
}

/* Layout */

.large-text input, .large-text select, .large-text textarea {
	font-size: 1em;
	font-family: 'graphic-regular', Helvetica, Arial, sans-serif;
	line-height: 1.2em;
}

.app {
	display: flex;
	width: 100%;
}

.outer-page{
	padding:150px 0px;
}

.page-header {
	border-bottom: 4px solid #000;
	margin-bottom: 2em;
	padding-bottom: 0.5em;
}

.columns {
	display: flex;
}

.outline .column p {
	word-wrap: anywhere;
}

.column {
	flex-grow: 1;
	min-width: 10em;
	padding-right: 1em;
}

.column:last-child {
	padding-right: 0;
}

.column.filter {
	padding-right: 2em;
	width: 15em;
	flex-shrink: 0;
	flex-grow: 0;
	flex-direction: column;
	display: flex;
}

.column.right {
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	align-items: flex-end;
}

.column.fixed-4 {
	width: 25%;
	flex-grow: 0;
	flex-shrink: 0;
	text-align: right;
	padding: 0 2em 0 0;
	box-sizing: border-box;
}

.rows {
	display: flex;
	flex-direction: column;
}

.rows > * {
	margin: 0 0 2em 0;
}

.row {
	display: flex;
	flex-direction: row;
}

.button-row {
	display: flex;
}

.button-row > * {
	margin: 0 1em 0 0;
}

/* Sidebar */

.sidebar{
	padding: 0px;
	color: #fff;
	background: #C61932;
}

/* Sidebar logo */

.sidebar .logo img{
	padding:15px 15px 35px 15px;
	box-sizing: border-box;
	width: 11em;
}

.sidebar .logo h1{
	font-size:18px;
	text-transform:uppercase;
	letter-spacing:0.02em;
	font-weight:normal;
}

.sidebar .logo h1 a{
	color:#fff;
}

.sidebar .logo h1 a i{
	display:inline-block;
	font-size:15px;
	width:35px;
	height:35px;
	line-height:35px;
	border-radius:2px;
	position:relative;
	top:6px;
	letter-spacing:0em;
	color:#fff;
	text-align:center;
	margin-right:3px;
	text-shadow:none;
}

.sidebar .logo h1 span{
	display:block;
	font-size:11px;
	text-transform:none;
	letter-spacing:0em;
	color:#fff;
	margin-left:43px;
	position:relative;
	top:-7px;
	font-weight:normal;
}

/* Sidebar navigation responsive dropdown */

.sidebar .sidebar-dropdown{
	display:none;
}

.sidebar .sidebar-dropdown a{
	color: #fff;  
	width:100%;
	max-width:40px;
	padding:4px 8px;
	text-transform: uppercase;
	text-align: center;
	font-size: 17px;
	display: block;
	margin:15px auto;
	border-radius:2px;
	font-weight:bold;
}

/* Sidebar navigation */

.sidebar .side-nav{
	padding:20px 15px;
	padding-bottom:0px;
}

.sidebar .side-nav .side-nav-block{
	margin-bottom:20px;
}

.sidebar .side-nav h4{
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 8px;
	padding: 0px 0px 8px 0px;
    border-bottom: 4px solid #fff;
}

.sidebar .side-nav ul {
	list-style: none;
	padding: 0;
}

.sidebar .side-nav ul li{
	font-weight: bold;
	font-size: 0.9em; 
	padding-top: 3px;
	padding-bottom: 3px;
	line-height: 24px;
}

.sidebar .side-nav ul .side-header {
	border-bottom: 1px solid #fff; padding-top: 10px
}

.sidebar .side-nav ul li a{
	color:#fff;
	font-family: 'graphic-regular', Helvetica, Arial, sans-serif;
}

.sidebar .side-nav ul li a:hover, 
.sidebar .side-nav ul li a.active,
.sidebar .side-nav ul li.open > a{
	color:#fff;
}

.sidebar .side-nav ul li a i{
	margin-right:5px;
	text-align:center;
	width:16px;
	font-size:13px;
}

.sidebar .side-nav ul li a span{
	text-shadow:none;
}

.sidebar .side-nav ul li a span i{
	margin:0px;
}

.sidebar .side-nav ul li a .nav-caret{
	float:right;
	margin-top:7px;
	margin-right:10px;
}

.sidebar .side-nav ul li ul{
	margin-top:5px;
	display:none;
}

.sidebar .side-nav ul li ul li{
	padding:5px 0px;
	font-size:11px;
	line-height:18px;
}

.sidebar .side-nav ul li ul li a i{
	margin-left:18px;
	margin-right:0px;
}

.sidebar .side-nav ul li ul li a{
	color:#fff;
	font-weight:normal;
}

.sidebar .side-nav ul li ul li a:hover{
	color:#ddd;
}

.content {
	flex-grow: 1;
}

/* Mainbar */
.mainbar {
	display: flex;
	background: #121212;
	justify-content: flex-end;
	padding: 0.5em 1em;
	color: #fff;
	font-size: 0.8em;
}
.mainbar a {
	color: #fff;
}
.mainbar a:visited {
	color: #fff;
}

/* Main content */
.main-content {
	padding: 1em 3em;
	background-color: #fff;
}

.supervisor-overview p {
	margin: 0;
}

/* Mobile phones */
@media (max-width: 480px){
	.app {
		flex-direction: column;
	}

	.page-content .page-header h3{
		float:none;
	}
	.page-content .page-header .breads{
		float:none;
		margin-top:7px;
	}
	
	.page-gallery #gallery .element{
		margin-right: 0px;
	}
	.main-content
	{
		margin-left: 0px;
	}
}

/* Tablets */
@media (max-width: 767px){
	.app {
		flex-direction: column;
	}
	.sidebar{
		width: 100%;
		position: static;
		border-bottom: 1px solid #222;
		text-align: center;
	}
	.sidebar .sidey{
		max-width: 300px;
		margin: 0 auto;
		padding-bottom: 10px;
	}
	.sidebar .logo{
		text-align: center;
	}
	.sidebar .logo h1 span{
		margin-left: 52px;
	}
	.sidebar .sidebar-dropdown{
		display: block;
	}
	.sidebar .side-nav{
		display: none;
	}
	#menu-open:checked ~ .sidebar .side-nav {
		display: block;
	}
	.main-content
	{
		margin-left: 0px;
	}
	.columns {
		flex-wrap: wrap;
	}
	.column.fixed-4 {
		width:  100%;
		text-align: left;
	}
	/*.sidebar .side-nav h4 {
		text-align: center;
	}*/
}

/* Desktop */
@media (max-width: 991px){
}

@media (max-width: 1200px){
}
/* Column Mobile */
@media(max-width: 330px){
}
/* Upload Input */
@media(max-width: 345px){
	input[type="file"]{
		width: 170px;
	}
}
@media(max-width: 310px){
	input[type="file"]{
		width: 130px;
	}
}

.upload-progress {
	width: 80px;
	height: 10px;
	background: #f0f0f0;
	border-radius: 1em;
	display: inline-block;
	margin-left: 0.5em;
}

.upload-progress > span {
	width: 50%;
	height: 100%;
	background: #000;
	border-radius: 1em;
	display: block;
  	transition: width 0.3s;
}

.small-spinner {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(0,0,0,.3);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  box-sizing: border-box;
}

@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}

.files tr:hover {
	background: initial;
}

.files .file td {
	vertical-align: middle;
}

.files .file .hidden {
	visibility: hidden;
}

.files .file .delete {
	width: 24px;
	height: 24px;
	background-image: url(/img/delete.svg);
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
	cursor: pointer;
}

.files .file .download {
	width: 24px;
	height: 24px;
	background-image: url(/img/download.svg);
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
	cursor: pointer;
}
