/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 0px;
  color: #4d4d4d;
      font-family: Proxima Nova SemiBold,sans-serif;
	font-size:15px;
}


a { color: #004fa2 }


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

.logo { padding-bottom: 20px; }
/* Ensure the sidebar is styled as a vertical panel */
.sidebar {
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
    padding: 20px;
    /* Optional: fix the sidebar to the left */
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}

.nav-link {
	padding-left: 0;
}



/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
  font-weight: bold;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


.navbar-brand {
	margin-top: 20px;
}

.navbar-brand svg {
    width: 100%;
    height: 100%;
}

/*
 * Main content
 */

.main {
 padding-top: 20px;
}
@media (min-width: 768px) {
  .main {
  
  }
}
.main .page-header {
  margin-top: 0;
  
}


/* Kurs */
.grouptekst { clear: both; overflow: hidden; margin-bottom: 25px;}
.kursbilde  { float: left; margin: 0 25px 10px 0;}
#kategoritoppbilde { float: right; margin: 0 0 25px 25px;}
.right { float: right; margin: 0;}
#toppbilde { margin-bottom: 25px;}


.paameldingsform { background: #f5f5f5; padding-bottom: 25px; padding-top:5px;}
@media (min-width: 768px) {
.paameldingsform { padding-top: 0px;}
}


.userfelt
{
	display:none;
}
@media (max-width: 767px) {
.kursinfoknapp { display:inline-block; }
}
/* Errors */
.error input, input.error, .error textarea, textarea.error { border-color: #c60f13; background-color: rgba(198, 15, 19, 0.1); }

.error label, label.error { color: #c60f13; }

.error small, small.error { display: block; padding: 6px 4px; margin-top: -13px; margin-bottom: 12px; background: #c60f13; color: #fff; font-size: 12px; font-size: 1.2rem; font-weight: bold; -moz-border-radius-bottomleft: 2px; -webkit-border-bottom-left-radius: 2px; border-bottom-left-radius: 2px; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px; border-bottom-right-radius: 2px; }

label.error { color:#fff; display: block; padding: 6px 12px; margin-top: -2px; margin-bottom: 2px; background: #c60f13; color: #fff; font-size: 11px; font-size: 1rem; font-weight: bold; -moz-border-radius-bottomleft: 2px; -webkit-border-bottom-left-radius: 2px; border-bottom-left-radius: 2px; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px; border-bottom-right-radius: 2px; }}
.error label, label.error { color: #fff; }


.tools { text-align:left; margin: 0 0 0px 0; clear:both; overflow: hidden;}

.panel { cursor: pointer; }
.panel .panel-heading span a { color: #fff;}
.panel-warning .panel-heading span a { color: inherit;}
.panel-danger .panel-heading span a { color: inherit;}
/* COMPACT VIEW KURS */

.compacthide { display: none  !important; }


.compact .panel { margin-bottom: 2px;}
.compact h2.kurskategori { font-size: 1.3em; font-weight: 700; margin-bottom: 5px;}
.compact h3.kurskategori { font-size: 1.2em; font-weight: 400; margin-bottom: 5px;}
.compact .compactview { background-color: #1BA1E2; margin-bottom: 20px;}
.compact .kurscontainer { padding: 8px; margin-bottom:1px;}
.compact .kurscontainer h2 { font-size:13pt; margin-bottom: 0px;}
.compact .kurscontainer  label { margin-bottom: 0px;}

.compact .expandkurs { display: none !important; display: inline-block; margin-right: 10px;}
.compact .compacthide { display: inline  !important;  }
.compact .hideincompact {display: none !important;}


/* kursoversikt */

.fullwidth {
	width: 100% !important;
	margin-top: 5px;
}

.font-regular-sm {
	font-size: 15px;
	font-weight: 400;
	font-family: Times New Roman, Serif;
}

table.table>tbody>tr>td .affy-button {
    margin-bottom: 0;
}
.affy-button.primary, a.affy-button.primary {
    background-color: #a2e4b8;
    border: 1px solid #71cc98;
}
.affy-button, a.affy-button {
    border-radius: 2px;
    color: #4d4d4d;
    display: inline-block;
    font-family: Proxima Nova SemiBold,sans-serif;
    font-size: 16px;
    padding: 10px 20px;
    text-align: center;
    background-color: #f1f1f1;
    border: 1px solid #d2d2d2;
    cursor: pointer;
		white-space: normal;

	font-weight: 600;
}

.affy-button[disabled], a.affy-button[disabled]{
	color: #2f2f2f;
}

table.table>tbody>tr>td:first-child {
    padding-left: 30px;
}



table.table>thead>tr>th {
    border-bottom: 1px solid #e5e5e5!important;
    font-weight: 600;
    font-size: 16px;
    color: #4d4d4d;	
}

table.table>tbody>tr>td {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    height: 90px;
    vertical-align: middle;
    font-size: 16px;
	font-weight: 600;
}

table.table>tbody>tr>td.name,table.table>tbody>tr>td.sted,table.table>tbody>tr>td.frist,table.table>tbody>tr>td.status  { font-weight: 400;}

table.table>tbody>tr>td.fixed-width-small {
    width: 180px;
}


@media (max-width: 768px) {
table.table>tbody>tr>td:last-child {
    padding-right: 20px;
}
}

.adressetekst {
	transition: opacity ease-in-out .15s;
}
.affy {margin-bottom: 20px;
    opacity: .5;
		text-align:center;

    letter-spacing: 1px;
    font-size: 0.9em; }
.affy span { opacity:0.8; display:block; margin-top: 2px; font-size: 1.8em; }
.adressetekst:hover { opacity: .8; }



.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
}

input[type=radio], input[type=checkbox] {
    margin: 0px 4px 0;
    margin-top: 1px \9;
    line-height: normal;
}



.radio-toolbar {
}

.radio-toolbar input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.radio-toolbar label {
    display: block;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	background-color:#ededed;
	border-radius:6px;
	border:1px solid #dcdcdc;
	
	font-weight: normal;
	cursor:pointer;
	color:#666;
	text-decoration:none;
	
    padding: 10px 40px 10px 10px;

   
}

.radio-toolbar label:hover {
  background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
	background-color:#dfdfdf;
}

.radio-toolbar input[type="radio"]:focus + label {
    
}

.radio-toolbar input[type="radio"]:checked + label {
	background:#c8ecba;
	border: 1px solid #acd491;
	
   
}

.radio-toolbar input[type="radio"]:checked + label:before {
 font-weight: 600;
    font-family: 'FontAwesome';
    content: "\f00c";
    font-size:1.40em;
    color:silver;
	position:absolute;
	color: green;
    right:30px;
}



/* Stripe payment integration */
.stripecontainer{
	padding: 20px;
}
h1{
	color: #7a7a7a;
	font-size: 28px;
	text-transform: uppercase;
	text-align: center;
}
.panel {
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
	border-color: #ddd;
	margin-bottom:10px;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.panel > .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
    color: #333;
	font-weight: 600;
}
.panel-body {
    padding: 15px;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.field {
    display: block;
    width: 90%;
    height: 30px;
    padding: 6px 12px;
    font-size: 15px;
    line-height: 1.2;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
div.field{
	padding-bottom: 0;
}
.field:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.row .left {
    width: 45%;
    float: left;
}
.row .right {
    width: 35%;
    float: right;
}
.right .field{
	width: 75%;
}
.form-group iframe{
	height: 30px !important;
}

#paymentElement{
	margin-bottom: 10px;
}

.hidden {
	display: none;
}

.btn {
	width: 100%;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
	border: none;
	cursor: pointer;
}
.btn-success {
    color: #fff;
    background-color: #095cfa;
    border-color: #095cfa;
}
.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}
.btn-primary i.rload{
	background: url(../images/reload.png) no-repeat;
	background-size: 100% 100%;
	float: left;
	width: 24px;
	height: 24px;
}
.btn-primary:hover i.rload {
    transform: rotate(360deg) scale(1.2);
}
/*.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active {
    color: #fff;
    background-color: #387dff;
    border-color: #387dff;
}*/

button:hover {
  filter: contrast(80%);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}

/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
  border-radius: 50%;
}
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before,
.spinner:after {
  position: absolute;
  content: "";
}
.spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #095cfa;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: loading 2s infinite ease 1.5s;
  animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #095cfa;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: loading 2s infinite ease;
  animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#frmProcess{
	font-size: 18px;
  color: #666;
}
.ring {
  display: inline-block;
  width: 75px;
  height: 75px;
	vertical-align: middle;
}
.ring:after {
  content: " ";
  display: block;
  width: 48px;
  height: 48px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #095cfa;
  border-color: #095cfa transparent #095cfa transparent;
  animation: ring 1.2s linear infinite;
}
@keyframes ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


#paymentResponse{
	font-size: 17px;
    border: 1px dashed;
    padding: 10px;
	color: #EA4335;
	margin-top: 0;
	margin-bottom: 10px;
}

.statusstripe{
	padding: 15px;
	color: #000;
    background-color: #f1f1f1;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
	margin-bottom: 20px;
}
.status h1{
	font-size: 1.8em;
}
.status h4{
	font-size: 1.3em;
	margin-bottom: 0;
}
.status p{
	font-size: 1em;
	margin-bottom: 0;
    margin-top: 8px;
}
.btn-link{
	display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	text-decoration: none;
}
.btn-link {
    color: #007bff;
    background-color: transparent;
    border-color: #007bff;
}
.btn-link:hover, .btn-link:active, .btn-link:focus {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
	text-decoration: none;
}
.success{
	color: #34A853;
}
.error{
	color: #EA4335;
}



/*******************
Paddings
*******************/
html body .p-0 {
  padding: 0px; }

html body .p-10 {
  padding: 10px; }

html body .p-20 {
  padding: 20px; }

html body .p-30 {
  padding: 30px; }

html body .p-l-0 {
  padding-left: 0px; }

html body .p-l-10 {
  padding-left: 10px; }

html body .p-l-20 {
  padding-left: 20px; }

html body .p-r-0 {
  padding-right: 0px; }

html body .p-r-10 {
  padding-right: 10px; }

html body .p-r-20 {
  padding-right: 20px; }

html body .p-r-30 {
  padding-right: 30px; }

html body .p-r-40 {
  padding-right: 40px; }

html body .p-t-0 {
  padding-top: 0px; }

html body .p-t-10 {
  padding-top: 10px; }

html body .p-t-20 {
  padding-top: 20px; }

html body .p-t-30 {
  padding-top: 30px; }

html body .p-b-0 {
  padding-bottom: 0px; }

html body .p-b-5 {
  padding-bottom: 5px; }

html body .p-b-10 {
  padding-bottom: 10px; }

html body .p-b-20 {
  padding-bottom: 20px; }

html body .p-b-30 {
  padding-bottom: 30px; }

html body .p-b-40 {
  padding-bottom: 40px; }

/*******************
Margin
*******************/
html body .m-0 {
  margin: 0px; }

html body .m-l-5 {
  margin-left: 5px; }

html body .m-l-10 {
  margin-left: 10px; }

html body .m-l-15 {
  margin-left: 15px; }

html body .m-l-20 {
  margin-left: 20px; }

html body .m-l-30 {
  margin-left: 30px; }

html body .m-l-40 {
  margin-left: 40px; }

html body .m-r-5 {
  margin-right: 5px; }

html body .m-r-10 {
  margin-right: 10px; }

html body .m-r-15 {
  margin-right: 15px; }

html body .m-r-20 {
  margin-right: 20px; }

html body .m-r-30 {
  margin-right: 30px; }

html body .m-r-40 {
  margin-right: 40px; }

html body .m-t-0 {
  margin-top: 0px; }

html body .m-t-5 {
  margin-top: 5px; }

html body .m-t-10 {
  margin-top: 10px; }

html body .m-t-15 {
  margin-top: 15px; }

html body .m-t-20 {
  margin-top: 20px; }

html body .m-t-30 {
  margin-top: 30px; }

html body .m-t-40 {
  margin-top: 40px; }

html body .m-b-0 {
  margin-bottom: 0px; }

html body .m-b-5 {
  margin-bottom: 5px; }

html body .m-b-10 {
  margin-bottom: 10px; }

html body .m-b-15 {
  margin-bottom: 15px; }

html body .m-b-20 {
  margin-bottom: 20px; }

html body .m-b-30 {
  margin-bottom: 30px; }

html body .m-b-40 {
  margin-bottom: 40px; }
  
  .language-switcher {
	  float:right;
	  clear: both;
	  margin-bottom: 10px;
  }
  
  .language-switcher a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin: 0 10px;
}

.language-switcher i {
    margin-right: 5px;
}
