/* =========================================================
   FONTS
========================================================= */
@import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
@import url('https://fonts.googleapis.com/css?family=PT+Sans|Allerta+Stencil');
@import url('https://fonts.googleapis.com/css?family=Gugi');


html { overflow-y: visible !important }

/* =========================================================
   BASE (html, body, global typography)
========================================================= */
html, body {
    margin: 0 !important;
    font-family: Calibri, sans-serif !important;
    font-size: 20px !important;
    min-height: 100%;
    height: 100%;
	background: #F4F4F3;
}
h1, h2 {  }
h1, h2, h3 {
    font-family: Calibri, sans-serif;
    color: #043b4a;
	background-color: transparent !important;
}

span { background-color: transparent !important; }
p { background-color: transparent !important; }

h1 { font-size: 2.5em; font-weight: 600; }
h2 { font-size: 32px; font-weight: bold; margin: 0 0 10px 0; }
h3 { font-size: 20px; font-weight: bold; margin: 0 0 10px 0; }
h4 { font-size: 20px; }


/* =========================================================
   LAYOUT
========================================================= */
.container {     width: 90%;    }
.grid-section .container {  padding: 0; }

.main {
    /* overflow-x: hidden; */
    min-height: 67%;
    margin-top: -40px;
}

.page {
    margin-top: 150px;
    min-height: 800px;
	background-color: #F4F4F3
}

.layout {
    display: flex;
    gap: 15px; /* luft mellan meny och content */
	
 align-items: flex-start;
  min-height: 100%;

}

.grid-custom-Rubrik h1 { margin-top: 0 }
.sidebar {
    width: 250px;
    flex-shrink: 0; /* superviktig – den krymper aldrig */
	    position: sticky;
    top: 200px;
    height: fit-content
}

.content {
    flex: 1;
    min-width: 0; /* viktigt för att undvika overflow i flex */
}

.grid-custom-Tre.kolumner { margin: 10px 0 10px 0 }

.grid-custom-Tre.kolumner img { 
    width: 100%;
    height: 250px;        
    object-fit: cover;
 } 

.no-container .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}


.topimg {
  height: 340px;
  background-position: center;
  background-size: cover;
  margin-top: -20px;
  filter: grayscale(70%);
  margin-bottom: 40px;

  animation: zoomBg 10s ease-in-out forwards;
  transform-origin: center;
}


.menu-right li i { margin-right: 5px; color: #4f768e; font-weight: 600 }

.container img { max-width: 100%;}
.submenu { z-index: 60 }
/* =========================================================
   HEADER
========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    padding-top: 10px;
    background-color: rgb(208 208 208);
    z-index: 55;
}

.header img {
    width: 300px;
	max-width: 300px;
    padding: 25px 0 2px 30px;
}

.logodiv { margin-left: -30px; }


/* =========================================================
   MENU (desktop + mobile)
========================================================= */
.menuinner { margin: 25px 0; }
.menuinner-region {
    margin-left: -40px;
    background-color: #f6f6f6;
}

.menu-right div {
    /* padding: 25px 0; */
    color: #043b4a;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 800;
    border-bottom: 4px solid #e5cd45;
    display: inline-block;
}

.menu-right ul {
    list-style: none;
    padding: 25px 0 25px 0;
}

.menu-right ul li {
    font-weight: 700;
}

.menu-right ul li a {
    color: #505050;
    font-size: 18px;
}

.menu-right ul li a:hover { color: #000; }

.menu-right ul div {
    background-color: #fff;
    text-align: right;
}

.menu-right ul div a { color: #000; }

.menu-right { position: relative; z-index:45; 
        padding-right: 25px }


/* =========================================================
   JUMBOTRON / HERO
========================================================= */
.jumbotron {
    background: no-repeat center center;
    background-size: cover;
    padding-top: 450px;
    min-height: 75vh;
	background-position: top;
}

.jumbotron h1 {
    color: #fff;
    font-size: 50px;
}

.jumbotron .lead {
    font-size: 32px;
    font-weight: 500;
}

.herotextcontainer { text-align:center }

.heroinfo {
    color: #fff;
    text-shadow: 2px 1px #000;
}


/* =========================================================
   BUTTONS
========================================================= */
.topbuttons {
    padding: 25px 0;
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
	flex-wrap: wrap;
}

.topbuttons a {
 padding: 15px 20px;
    border-radius: 12px;
    background-color: rgb(222 180 9 / 0.85);
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800
}

.topbuttons a:hover {
    background-color: rgb(202 167 26);
}


/* =========================================================
   CARDS / NAVIGATION
========================================================= */
.navigationbox {
    background-color: #F4F4F3;
    margin-top: -30px;
}

.navbox { min-height: 200px; }

.navbox:hover {
    border-bottom: 4px solid #0170bf;
}

.navbox i { font-size: 3.7em; color: #54656d; }

.navbox {
    color: #000;
	align-items: center;
    flex: 1;
    display: flex;
    flex-direction: column;

}

.navbox h3 {
    color: #000;
}

.navbox span,
.navbox p {
    color: #000;
	text-align:center;
}

.nav-boxes {
    display: flex;
    gap: 30px;           /* valfritt */
}

.navbox a {
    color: #000;
}

/* =========================================================
   NYHETER
========================================================= */

.nyhet-head { padding: 40px 0 40px 0 }
.nyhet-more { margin: 60px 0 60px 0 }

.nyhet-more a { 
	background-color: #000000;
	color: #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
	text-decoration: none;
}

.nyhet a { text-decoration: none; }


/* =========================================================
   faceboook
========================================================= */


.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe {
    max-width: 100% !important;
    width: 100% !important;
}


.fb-section {
  background: #b4bfc8;
  padding: 80px 20px; 
flex: 1 1 100%;
    min-width: 0;
    box-sizing: border-box;
	
}

.fbcontainer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: stretch;
}

/* LEFT */
.fb-left {
  background: #f5f2e9;
  padding: 40px;
  border-radius: 20px;
}

.fb-left h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #1c3d5a;
}

.fb-left p {
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.features {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
	align-items: stretch; 
}

.feature {
  flex: 1;
  text-align: center;
	flex-direction: column
}

.icon {
  width: 60px;
  height: 60px;
  background: #1c3d5a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 24px;
}

.feature h4 {
  margin-bottom: 5px;
  color: #1c3d5a;
}

.feature p {
  font-size: 0.85rem;
}

.btn-primary {
  display: inline-block;
  background: #1c3d5a;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
}

/* RIGHT */
.fb-right {
  display: flex;
  justify-content: center;

}

.fb-box {
  background: white;
  padding: 15px;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	
  display: flex;
  justify-content: center;
  align-items: center;

}

/* footer */
.fb-footer {
  text-align: center;
  margin-top: 40px;
}

.fb-footer a {
  background: #1c3d5a;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .fbcontainer  {
    grid-template-columns: 1fr;
  }

  .fb-right {
    order: -1;
  }
	
	.fb-left {display:none}
}




/* =========================================================
   COURSES
========================================================= */
.courses {
    background-color: #f7d417;
    padding: 40px 0 80px;
    color: #fff;
}

.course {
    background-color: #000;
    padding: 10px 25px !important;
    margin: 12px;
    border-radius: 15px;
}

.course h3 { color: #fff; }


/* =========================================================
   STATS
========================================================= */
.stats {
    padding: 50px 0;
    background-color: #115392;
    color: #fff;
}

.stats h1, .stats h3 { color: #fff; }

.fvrfStatsStart {
    margin-top: 40px;
}

.fvrfStatsStart .col-md-3 {
    text-align: center;
}

.fvrfStatsStart .col-md-3 div {
    font-size: 4em;
    font-weight: 600;
}


/* =========================================================
   Utvalda
========================================================= */

.oursections { padding: 40px }


/* =========================================================
   FOOTER
========================================================= */
.footer {
    border-top: 40px solid #585353;
    padding: 10px 0 25px;
    background-color: #000;
    color: #fff;
    font-family: 'PT Sans', sans-serif;
	z-index: 51;
    position: relative;
	margin-top: 25px;
}

.footer a { color: #f7d417; }
.footer h1 {     font-size: 21px;
    font-weight: bold;
    color: #fff;}
.footer i { font-size: 32px; }


/* =========================================================
   UTILITIES
========================================================= */
.center { margin: 0 auto; display: block; }
.row-display-none { display: none; }

.caption {
    margin: 15px 0 15px 5px;
    font-size: 12px;
}


.fvrfContactContainer {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    flex-direction: row;
}

.fvrfContactContainer row { max-width: 33%; }
.fvrfContactHeader { max-width: 30%; }
.fvrfContact { flex: 0 0 33%; }

/* =========================================================
   MEDIA QUERIES (samlat)
========================================================= */
@media (max-width: 766px) {
    .header {
        background-color: transparent !important;
        top: 50px;
        height: 70px;
        position: relative;
    }

    .container { width: 100%; }

    .main {
        width: 100%;
    }

    .topbuttons a {
        padding: 8px;
        margin: 4px;
        display: inline-block;
    }

    .navbox { text-align: center; }
}

/* =========================================================
   MEDIA QUERIES (ALLA SAMLADE)
========================================================= */

/* ===== Desktop large ===== */
@media (min-width: 1700px) {
    .fvrfBox {
        font-size: .8vw !important;
    }
	.content .container { margin-left: 35px }
	
	.jumbotron {
    background: no-repeat center center;
    background-size: cover;
    padding-top: 450px;
    min-height: 80vh;
		background-position: center 23%; }
	
}

/* ===== Desktop ===== */
@media (min-width: 1450px) {
    .menu-right {
        border-right: 1px solid #c0c0c0;
        background-color: #f7f7f845;
		min-width: 175px;
        padding: 0;
		min-width: 175px;
    }

.topimg {
	height: 500px;
}
	.layout {         
		width: 95%;
        margin: 0 auto;}
	
	
	.content .container { margin-left: 35px }
}

.submenu { width: 20%;}

.menu-right ul li  { margin-bottom: 15px; }
.menu-right ul li a  { font-size: 22px; }

/* ===== Desktop medium ===== */
@media (min-width: 1280px) and (max-width: 1699px) {
    .fvrfBox {
        font-size: .9vw !important;
    }

    .topsections .fvrfBoxContainer {
        min-height: 250px;
    }

    .navbox {
        width: 90%;
        min-height: 200px;
    }
	
}
/* ===== Tablet ===== */
@media (max-width: 1279px) {
    .header .container { width: 100%; }
    .container { width: 95%; }

    .fvrfBox {
        font-size: 1.2vw !important;
    }
	.menu-desktop-dropdownsub { margin-left: -224px !important; margin-top: 10px !important }
}

/* ===== Tablet large ===== */
@media (max-width: 1150px) {
    .navbar-header { min-height: 80px; }

    .umb-grid { padding: 0; }

    .menu-right {
        display: inline-block;
        text-align: center;
        margin-top: -30px;
    }

    .menu-right div { display: none; }

    .menu-right ul li {
        display: inline-block;
        background-color: #32859e;
        border-radius: 10px;
        padding: 5px !important;
        margin-top: 5px;
    }

    .menu-right ul li a { color: #fff; }
	.menu-right ul li i { color: #fff; margin-right:2px; }
	.layout { display: inline; }
	.submenu {
	    text-align: center;
        margin-top: 10px;
        position: sticky;
        top: 110px;
        width: 100%;
        background-color: #F4F4F3;
		padding-top: 20px
	}

	.menu-right { display: inline-block; width: 100%; }


    .container { width: 100%; }
}


/* ===== Tablet small ===== */
@media (max-width: 991px) {
    .fvrfBox {
        font-size: 1.5vw !important;
    }

    .jumbotron p {
        font-size: 17px !important;
    }

    .jumbotron h1 {
        font-size: 32px !important;
    }	

	.nav-boxes { flex-direction: column; }
	    .navbox {
        text-align: center;
        min-height: 200px;
    }
	
	.submenu { 
	text-align: center;
        margin-top: 10px;
        position: sticky;
        top: 110px;
        width: 100%;
        background-color: #F4F4F3;
        padding-top: 25px;
	}
	
	.fvrfContactContainer {
		margin-top: 20px;
		display: flex;
		gap: 15px;
		flex-wrap: wrap;
		flex-direction: row;
	}

	.fvrfContactContainer row { max-width: 100%; }
	.fvrfContactHeader { max-width: 100%; }
	.fvrfContact { flex: 0 0 100%; }	
	
}

/* ===== Mobile ===== */
@media (max-width: 766px) {
	
	h1 { font-size: 1.5em; }
    .header {
        background-color: transparent !important;
        top: 50px;
        height: 70px;
        position: relative;
    }
	.courses-cat { margin-top: 90px }
	.instr-cat { margin-top: 150px }
	.topimg { display: none; }
	
    .jumbotron p {
        font-size: 14px !important;
    }

    .jumbotron h1 {
        font-size: 28px !important;
    }	

    .topbuttons a {
        padding: 8px;
        margin: 4px;
        display: inline-block;
		        font-size: 16px;
    }


	
    #logodiv {
        display: none;
    }

    .layout {
        flex-direction: column;
    }

	.sidebar {     
        width: 100%;
        position: sticky;
        top: 80px;
        background-color: #f4f4f3;
        padding-top: 20px;
		margin-bottom: 83px;
	}
	
	.page { margin-top: 0; }
	
	.content {   margin-top: -50px; }

}

/* ===== Mobile small ===== */
@media (max-width: 750px) {
    .fvrfBox {
        font-size: 1.9vw !important;
    }

}

/* ===== Mobile extra small ===== */
@media (max-width: 610px) {
    .fvrfBox {
        font-size: 3vw !important;
    }
	
		.sidebar {     
        width: 100%;
        position: relative;
        top: 35px;
        padding-top: 20px;
	}
    .menu-right ul li a {
    	font-size: 16px;
	}
}

/* ===== Tiny ===== */
@media (max-width: 420px) {
    h1 { font-size: 1.3em !important; }
    h2 { font-size: 22px !important; }

    .full.container,
    .fullgray.container {
        padding: 0;
    }
	
	.navbar-header a img { max-width:210px }
	
	.menu-right ul li a {
    	font-size: 12px;
	}
	
}

/* ===== Ultra tiny ===== */
@media (max-width: 350px) {
    .table { margin-left: -19px; }
    .menu-right { display: none; }

}

/* ===== MOBILE FIRST ===== */

#navbar {
    position: fixed;
    top: 47px; /* justera efter navbar-header */
    left: 0px;
    right: 8px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
    animation: fadeSlideIn 0.25s ease;
	height: calc(100vh - 47px);
    max-height: calc(100vh - 47px);
}

/* Lista */
#navbar ul.nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Varje rad */
#navbar ul.nav li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Länkar */
#navbar ul.nav li a.navigation {
    display: flex;
    align-items: center;

    padding: 16px 20px;
    font-size: 18px;
    font-weight: 500;

    color: #1d2b3a;
    text-decoration: none;

    transition: all 0.2s ease;
}

/* Hover / klick */
#navbar ul.nav li a.navigation:hover {
    background: #f4f7fb;
    padding-left: 26px;
}

/* Active / nuvarande sida */
#navbar ul.nav li a.navigation.active {
    background: #e9f1fb;
    color: #0056b3;
    font-weight: 600;
}

/* Sista raden */
#navbar ul.nav li:last-child {
    border-bottom: none;
}

/* ===== ANIMATION ===== */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.sidebar .menu-right li:nth-child(1)  { animation-delay: 0.05s; }
.sidebar .menu-right li:nth-child(2) { animation-delay: 0.1s; }
.sidebar .menu-right li:nth-child(3) { animation-delay: 0.15s; }
.sidebar .menu-right li:nth-child(4) { animation-delay: 0.2s; }
.sidebar .menu-right li:nth-child(5) { animation-delay: 0.25s; }
.sidebar .menu-right li:nth-child(6) { animation-delay: 0.30s; }
.sidebar .menu-right li:nth-child(7) { animation-delay: 0.35s; }
.sidebar .menu-right li:nth-child(8) { animation-delay: 0.40s; }
.sidebar .menu-right li:nth-child(9) { animation-delay: 0.45s; }

.sidebar .menu-right li  {
	opacity: 0; 
    transform: translateY(12px) scale(0.98);
	animation: fadeSlideIn 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

#navbar .nav li a.navigation {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #1c2733;
    text-decoration: none;
}




@keyframes zoomBg {
  from {
	  filter: grayscale(95%);
    transform: scale(1);
  }
  to {
	  filter: grayscale(70%);
    transform: scale(1.08);
  }
}


/* =========================================================
   Fb share
========================================================= */
.share-wrapper {
    display: flex;
    justify-content: flex-end;
	margin-bottom:20px
}

.share-wrapper > * {
    min-width: 100px; /* matcha iframe */
}

