*{
	font-family: 'GalanoClassic-Regular', 'sans-serif';
	font-size: 16px;
	/* font-weight:300; */
	padding: 0;
	margin: 0;
	text-decoration: none;
	list-style: none;
	box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'GalanoClassic-Heavy', 'sans-serif';
	/* display:inline; */
	/* font-weight: 400; */
	font-style: normal;
	text-transform: uppercase;
}

h1 {
	font-size:1.5rem;
	line-height: 1.5rem;
	margin-top:3px;
}

.home-grid h1 {
	font-size:2.5rem;
	line-height: 2.5rem;
	margin-top:10px;
	margin-bottom:20px;
}

p {
	margin-bottom:15px;
}


strong {
	font-weight:400;
}

a {
	color: rgba(69,73,115,1);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.page-wrapper {
	margin:0 auto;
	max-width:980px;
}

.header {
	margin:15px 0;
	padding: .5rem;
	text-align: center;
	background-color: rgba(69,73,115,1);
}

.logo{
	max-height: 75px;
	margin: 10px 15px 5px;
}

.sub-head {
	min-height:27px;
	background-color:#b3d4fc;
	margin-top:5px;
	margin-bottom:5px;
}

.container {
	padding: 0;
}

.footer {
	margin:15px 0;
	text-transform: uppercase;
	padding: .2rem;
	color: rgba(69,73,115,1);
	text-align: center;
}

.home-grid {
	display: grid;
	grid-template-columns: repeat(1fr);
	grid-gap: 15px;
	grid-auto-flow: row;
	grid-auto-rows: max-content;
}

.home-grid .cell-e-learn {
	background-image: url('../images/0.jpg');
	background-position: center;
	background-size: cover;
}

.home-grid .cell-e-learn-box {
	padding: .5rem 1rem;
	color:#fff;
	background-color: rgba(0,0,0,.35);
	font-size:2rem;
	/* font-weight:400; */
	/* text-transform: uppercase; */
}

.home-grid .cell-e-learn h1 {
	font-size:2.5rem;
	/* font-weight:400; */
	text-transform: uppercase;
}

.home-grid .cell-e-learn p {
	margin:-.5rem 0 2rem;
	font-size:2rem;
	text-transform: uppercase;
}

.home-grid .cell-banner {
	background-image: url('../images/5.jpg');
	background-position: center;
	background-size: cover;
}

.home-grid .cell-banner-box {
	padding: .5rem 1rem;
	color:#fff;
	background-color: rgba(0,0,0,.35);
}

.home-grid .cell-subscribe {
	background-color:rgba(69,73,115,1);
}

.home-grid .cell-subscribe-box {
	padding: .1rem 1rem 0;
	text-align:center;
	color:#fff;
}

.home-grid .cell-subscribe h1 {
	font-size:1.2rem;
	margin-top:5px;
	margin-bottom:5px;
	/* font-weight:400; */
	text-transform: uppercase;
}


.home-grid .cell-box {
	padding: .5rem 1rem;
	margin-top: 100px;
	height: 120px;
	color: #fff;
}

.home-grid .cell-student-a .cell-box, .home-grid .cell-student-b .cell-box {
	background-color: rgba(210,10,17,.65);
}

.home-grid .cell-school-a .cell-box, .home-grid .cell-school-b .cell-box {
	background-color: rgba(69,73,115,.65);
}

.home-grid .cell-header {
	text-transform: uppercase;
	font-weight: 400; 
	font-size: 1.3rem;
}

.home-grid .cell-title {
	text-transform: uppercase;
	font-size: 1.3rem;
	line-height:1.4rem;			
}

.home-grid .cell-body {
	margin-top:.6rem;
	font-size: 1.2rem;
	line-height: 1.4rem;
}

.home-grid .cell-student-a, .home-grid .cell-student-b, .home-grid .cell-school-a, .home-grid .cell-school-b {
	background-position: center;
	background-size: cover;
}

.home-grid .cell-student-a {
	background-image: url('../images/1.jpg');
}

.home-grid .cell-student-b {
	background-image: url('../images/2.jpg');
}

.home-grid .cell-school-a {
	background-image: url('../images/3.jpg');
}

.home-grid .cell-school-b {
	background-image: url('../images/4.jpg');
}

.link {
	cursor: pointer;
}

.page-grid {
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-gap: 15px;
	grid-auto-flow: columns;
	grid-auto-rows: max-content;
}

.main-page {
	/* background-color:#e3e3e3; */
	/* padding:15px; */
	min-height: 820px;
}

.page-title {
	background-color: rgba(210,10,17,1);
	color:#fff;
	padding:5px 15px;
	margin-bottom:10px;
}

.page {
	background-color:#e3e3e3;
	padding:15px;
	margin-bottom:10px;
}

.page:last-child {
	margin-bottom:0;
}

.main-basket {
	background-color:rgba(69,73,115,1);
	color:#fff;
	text-align: right;
	padding-right:12px;
	max-height:48px;
}

.menu-header {
	background-color: rgba(255,255,255,.25);
	font-weight:400;
	text-transform: uppercase;
	padding:8px 5px 5px;
	margin-top:10px;
}

.menu-header:nth-child(2) {
    margin-top: 0;
}

.menu {
	background-color: rgba(69,73,115,1);
	color:#fff;
	padding: 15px;
}

.row-span-2{
	grid-row: span 2;
}

.menu-close {
	display:none;
	text-align: right;
	cursor:pointer;
	padding:0 10px;
	line-height: 30px !important;
}
.menu-close i {
	font-size:20px;
	margin-left:5px;
}

nav ul{
	margin:0;
	overflow-y:auto;
}

nav ul li a{
	color:#fff;
}

nav ul button i{
	margin-top: 6px;
}

#burger{
	display: none;
}
.mobile-nav {
	display: none;
}

.burgerbtn, .basketbtn {
	padding-right:0;
}
.burgerbtn i {
	margin-right:5px;;
}

.basketbtn i {
	margin-right:5px;;
}

nav ul button i {
	transform: rotate(0deg);
	transition: transform .25s linear;
}

nav ul button.active i {
	transform:  rotate(-180deg);
	transition: transform .25s linear;
}

.sidenav a, .dropdown-btn {
	padding: 9px 8px 7px 16px;
	/* padding: 4px 6px 4px 14px; */
	font-size:16px;
	text-decoration: none;
	color: #fff;
	display: block;
	border: none;
	background: none;
	width: 100%;
	text-align: left;
	cursor: pointer;
	outline: none;
}
  
.sidenav a:hover, .dropdown-btn:hover {
	/* background-color: rgba(255,255,255,.25); */
	background-color: rgba(210,10,17,1);

}

.active {
	/* background-color: rgba(255,255,255,.25); */
	background-color: rgba(210,10,17,1);
}

.dropdown-container {
	/* display: none; */
	padding-left: 14px;
    max-height: 0;
    transition: max-height 0.25s linear;
    overflow: hidden;
}

.dropdown-container.open {
	/* display: block; */
    max-height: 250px;
}

.fa-caret-down {
	float: right;
}
  
input[type=text], [type=number], input[type=password],  select, textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	resize: vertical;
}
	  
label {
	padding: 12px 12px 12px 0;
	display: inline-block;
}
	  
input[type=submit] {
	background-color: rgba(69,73,115,1);
	/* background-color: rgba(210,10,17,1); */
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	float: right;
}

button {
	background-color: rgba(69,73,115,1);
	/* background-color: rgba(210,10,17,1); */
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.input-error {
	color:red;
	margin: 8px 13px 5px;
}

.form-error {
	color:red;
	text-align:center;
	margin: 25px 0 5px;

}

.form-alt-link{
	text-align:center;
	margin: 15px 0;
}

.form-alt-link a{
	font-weight:400;
}

.col-25 {
	float: left;
	width: 25%;
	margin-top: 6px;
}

.col-50 {
	float: left;
	width: 50%;
	margin-top: 6px;
}

.col-75 {
	float: left;
	width: 75%;
	margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}

.news ul {
	margin-bottom: 20px;
}

.news li {
	list-style: disc;
	margin-left: 35px;
}

#betingelser h2 {
	margin-bottom: 3px;
}

#betingelser p {
	margin-bottom: 15px;
}


#rabat table.text_right th {
	text-align: right;
	width:100px;
	font-weight: 400;
}
#rabat table.text_right td {
	text-align: right;
	width:100px;
}

.float-left {
	float:left;
}

.float-right {
	float:right;
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

.pointer {
	cursor:pointer;
}

.table-right {
	width:60%;
}
.table-right th, .table-right td{
	text-align: right;
}

.category-image-cell {
	text-align:center;
	vertical-align:top;
	width:160px;
}
.category-image-cell img {
	max-width:140px;
	max-height:200px;
	box-shadow: 3px 3px 5px #888888;
}

@media (min-width: 560px)
{
	.home-grid {
		grid-template-columns: repeat(2, minmax(0, auto));
	}
	.grid-col-span-2 {
		grid-column: span 2;
	}
	.home-grid .cell-box {
		padding: .5rem 1rem;
		margin-top: 140px;
		height: 180px;
		color: #fff;
	}
}

@media (max-width: 450px) {
	.home-grid .cell-box {
		/* margin-top: 140px; */
		height: 160px;
	}
}


@media screen and (max-width: 600px) {
	.col-25, .col-75, input[type=submit] {
	  width: 100%;
	  margin-top: 0;
	}
}

@media (min-width: 980px)
{
	.home-grid {
		grid-template-columns: repeat(4, minmax(0, auto));
	}
	.grid-col-span-4 {
		grid-column: span 4;
	}
	.link:hover {
		transform: scale(1.02);
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	}
	
}

@media (max-width: 979px)
{
	.header {
		margin:0;
		/* margin: 15px 0 0; */
	}
	.mobile-nav{
		display: block;
	}
	.main-basket{
		display: none;
	}
	.menu {
		padding: 0 15px;
	}
	.menu-close {
		display: block;
	}
	nav.active > ul{
		left:0;
	}
	.menu { 
		grid-column: span 4;  
	}
	.main-page { 
		grid-column: span 4;  
	}
	nav ul{
		position: fixed;
		width: 100%;
		height: 100vh;
		background-color: rgba(69,73,115,1);
		top: 0;
		left: -100%;
		text-align: center;
		transition: all .5s;
	  }
	  nav ul li{
		display: block;
		margin: 0;
		line-height: 30px;
	  }
	  nav ul li a{
		font-size: 20px;
	  }

	  .home-grid .cell-e-learn p {
		font-size:1.5rem;
	}
	.category-image-cell {
		width:80px;
	}
	.category-image-cell img {
		max-height:100px;
		max-width:70px;
	}
	
}
