/* basic styling */

body {
	margin: 0;
}


/* grid */

.container {
	display: grid;
	grid-template-columns: 20rem;
	grid-gap: 1.5rem;
	padding: 1.5rem;
	margin-top: 3rem;
}


/* buttons */

.btn {
	padding: 8px 14px;
	font-size: 1.1rem;
	line-height: 1.33;
	min-width: 6rem;
	text-align: center;
	border-radius: 6px;
	display: inline-block;
	font-weight: 600;
	border: 1px solid rgba(0,0,0,0.15);
	background-color: rgba(0,0,0,0.1);
}

a.btn {
	color: rgba(0,0,0,0.6);
}

a.btn:hover, a.btn:active {
	border: 1px solid rgba(0,0,0,0.3);
	background-color: rgba(0,0,0,0.15);
	color: black;
}

a.btn-primary {
	border: 1px solid rgba(0,0,0,0.3);
	background-color: rgba(21, 81, 133, 0.75);
	color: white;
}

a.btn-primary:hover, a.btn-primary:active {
	border: 1px solid rgba(0,0,0,0.4);
	background-color: rgba(21, 81, 133, 0.85);
	color: rgba(255,255,255,0.85);
}


/* panel */

.panel {
	background-color: rgba(0,0,0,0.05);
	border: 1px solid #999;
	border-radius: 6px;
	padding: 1rem;
}

.panel-title {
	margin-top: 1.25rem;
}



/* other */

.svg-logo-top {
      width: 100%;
      max-width: 185px;
      float: right;
      margin-top: 1em;
}

.svg-logo {
      width: 100%;
      max-width: 185px;
      margin-top: 5em;
}


a {
    color: #337ab7;
    text-decoration: none;
}

* {
    box-sizing: border-box;
}


/***
 *    Fonts
 ***/

body {
    color: #333;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    line-height: 1.66;
}

.h2-soft {
      color: #666;
      font-weight: 200;
}

h3 {
      font-weight: 600; 
}

figure {
  float: left;
  max-width: 100%;
}

figcaption {
      font-style: italic;
      font-size: 0.75em;
      line-height: 1;
      text-align: center;
}

blockquote p:before {
      content: "\00AB";
      color: #974166;
      font-size: 7.7em;
      line-height: 1em;
      position: relative;
      top: 0.15em;
      right: 0.05em;
}

blockquote p:after {
      content: "\00BB";
      color: #974166;
      font-size: 2em;
      position: relative;
      bottom: -0.15em;
      left: 0.05em;
      line-height: 1em;
}

blockquote {
      margin-top: -3.5em;
}

.smalltext, .panel-body {
   font-size: 0.75rem;
}


/***
 *    Whitespace
 ***/

h1, .h1, h2, .h2, h3, .h3 {
	margin-top: 2rem;
	line-height: 1.25;
}

h3, .h3 {
    margin-top: 1.5rem;
}

.lead {
      margin-top: 1em;
      line-height: 1.75;
}


 
/***
 *    Navigation
 ***/

.container.navbar {
	padding: 0;
}

.navbar {
	margin-bottom: 1rem;
	border: 1px solid transparent;
}

.navbar-top {
	position: fixed;
	top: 0;
   right: 0;
   left: 0;
   z-index: 1030;
   border-width: 0 0 0 0;
}

a.navbar-brand {
	margin: 0.5rem 1rem 0 1rem;
	display: block;
	position: absolute;
}

.navbar-top ul {
	display: inline;
	position: relative;
	margin: 0 0 0 4.5rem;
	padding: 0;
}

.navbar-top ul > li {
	list-style: none;
	display: inline-block;
}

.navbar-inverse {
	background-color: rgba(0,0,0,0.75);
	border-color: transparent;
}

.navbar-inverse ul > li > a {
	color: #fff;
	padding: 0.75rem;
	display: inline-block;
	min-width: 5em;
	text-align: center;
}



/* change nav element color on hover */

.navbar-inverse ul > li > a:hover, 
.navbar-inverse ul > li > a:focus {
	color: black;
	background-color: rgba(255,255,255,0.5);
}

main {
	margin-top: 6rem;
}

/* Media querries – hide stuff for some screensizes */

.xl-l-m-only, .xl-only, .l-only, .m-only, .s-only {
	display: none;
}


/*** 
 *   Screen Size S
 ***/

@media (max-width: 480px) {
	
	.s-only {
		display: initial;
	}
  
  .lead {
      font-size: 1.125em;
      line-height: 1.66;
  }
  p {
      line-height: 1.5;
  }

}



/*** 
 *   Screen Size M
 ***/
 
@media (min-width: 481px) {

	.s-only {
		display: none;
	}

	.xl-l-m-only, .m-only {
		display: initial;
	}

}


/*** 
 *   Screen Size L
 ***/

@media (min-width: 68rem) {

	.m-only {
		display: none;
	}

	.l-only {
		display: initial;
	}

	body {
		font-size: 16px;
		margin: 1.5rem;
	}
	
	.container {
		grid-template-columns: 20rem 20rem;
	}

	.col-max-4 {
		grid-template-columns: 20rem 20rem 20rem;
	}
  
}



/*** 
 *   Screen Size XL
 ***/

@media (min-width: 90rem) {
 
	.l-only {
		display: none;
	}

	.xl-only {
		display: initial;
	}

	.container {
		grid-template-columns: 20rem 20rem;
	}
	
	.col-max-4 {
		grid-template-columns: 20rem 20rem 20rem 20rem;
	}
	
}



/* Links */

a:hover, a:focus {
    color: #23527c;
    text-decoration: underline;
}


/* Screenreader only */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
}
