@charset "UTF-8";
/*
Theme Name: Sparebankstiftelsen Surnadal
Theme URI: https://amfikreativ.no;
Author: Amfi Kreativ as
Author URI: https://amfikreativ.no/
Description: Theme by Amfi Kreativ AS.
Requires at least: WordPress 5.8
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: stiftelsen
Tags: featured-images
*/

:root {
	--body-color: #ffffff;
	--theme-color: #F3FAFF;
	--theme-color2: #F39442;
	--bs-yellow: #F39442;
	--theme-color3: #538252;
	--theme-color4: #2B70A8;
	--logo-color: #FDF200;
	
	--link-color: #000000;
	--link-color-hover: #f39442;
	--link-color-active: rgba(243,148,66,0.5);

	--link-underline: #000000;
	--link-underline-hover: #f39442;
	--link-underline-active: #ffffff; 

	--menu-line-color: #2B70A8;
	--menu-line-color-hover: #2B70A8;

    --title-color: #005475;
    
	--outline-color: red;

	--button-hover: #fabf8c;
}


body,
html {
	margin-top: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.admin-bar{
	padding-top: 30px !important;
}

body {
	font-family: 'Raleway', sans-serif;
	font-style: normal;
	font-weight: 600;
	/*letter-spacing: 1px;*/
	font-size: 16px;
	background-color: var(--body-color);
	color: rgba(0,0,0,0.95);
}

b, strong{
	font-weight: bold;
}

#content p{
	font-weight: 500;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	color: var(--title-color);
	color: rgba(0,0,0,0.95);
	text-rendering: optimizelegibility;
	font-weight: bold;

}

article h1, 
article h2, 
article h3, 
article h4, 
article h5, 
article h6{
	margin-top: 2rem;
	margin-bottom: 1rem;
}

figure{
	display: block;
	margin-block-start: 0;
	margin-block-end: 0;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
}

a{
	color: black;
}

a:active{
	opacity: 0.5;
}


p>a, p>strong>a, .link-primary{
	color: #0d6efd;
	color: var(--theme-color4);
}

.lazyload {
	opacity: 0;
}

.lazyloading {
	opacity: 1;
	transition: opacity 300ms;
	background: #f7f7f7 url(img/loading.gif) no-repeat center;
	background-size: 150px auto;
}

#menu-toppmeny>.nav-item.active:not(.sok-na)>a{
	text-decoration: underline;
}
#menu-toppmeny>.nav-item:not(.sok-na, .min-side):hover>a {
	text-decoration: underline;
}

.btn.btn-dark:hover{
	background-color: #e4562e;
}

.btn-warning{
	background-color: var(--theme-color2);
	border-color: var(--theme-color2);
}

.sok-na:hover>a,
.btn-warning:hover{
	color: #000;
    background-color: var(--button-hover);
    border-color: transparent;
}

.sok-na:focus>a, 
.btn-warning:focus,
.btn-warning:active:focus,
.sok-na:active>a, 
.btn-warning:active{
	color: #000;
    background-color: var(--button-hover);
    border-color: transparent;
	box-shadow: unset;
}


.sok-na>a{
	background-color: var(--theme-color2);
	border-color: var(--theme-color2);
}

.min-side>a{
	background-color: #20c997;
	border-color: #16eeae;
}

.btn-minside{
	background-color: #20c997;
	border-color: #16eeae;
}

.min-side:hover>a,
.btn-minside:hover{
	color: #000;
    background-color: #16eeae;
    border-color: transparent;
}

.min-side:active>a, 
.btn-minside:active{
	color: #000;
    background-color: #16eeae;
    border-color: transparent;
	box-shadow: unset;
}

.min-side:focus>a, 
.btn-minside:focus,
.btn-minside:active:focus{
	color: #000;
    background-color: var(--button-hover);
	box-shadow:unset;
	border: transparent;
}

.min-side>a, .sok-na>a{
	display: inline-block;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	font-size: 1rem;
	border-radius: .25rem;
	transition: unset;
}

/*******************************/
/*******************************/

#masthead{
	background-color: var(--theme-color);
	height: 83px;
}

#main-logo{
	top: 0px;
	background-color: #fff;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

#main-logo:hover{
	box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
}

#main-logo:active #logo-image {
	transform: scale(0.95);
}

#menu-toppmeny>.nav-item.sok-na{
	padding: unset !important;
}

.btn, .btn:active, .nav-links .page-numbers,
.navbar-expand-xl .navbar-nav .sok-na>a.nav-link,
.navbar-expand-xl .navbar-nav .min-side>a.nav-link{
	padding: 7px 30px;
	font-weight: 600;
	transition: unset;
	box-shadow:unset;
	/*border: transparent;*/
}

.btn, .btn:active{
	border-radius: 30px;
}

/* blog -  blog pagination */

.blog-item a:hover img, 
.blog-item a:focus img{
	transition: transform 0.5s ease;
	transform: scale(1.2,1.2);
}

.blog-item a img{
	transition: transform 0.5s ease;
	transform: scale(1,1);
}

.navigation.pagination, .navigation.pagination .nav-links{
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.nav-links .page-numbers{
	color: #000;
    background-color: #ffcd39;
    border-color: #ffc720;
	border-radius: 30px;
	cursor: pointer;
	margin-bottom: 0.25rem!important;
	margin-right: 0.25rem!important;
    margin-left: 0.25rem!important;
	text-decoration: none;
    vertical-align: middle;
	display: inline-block;
	user-select: none;
}

.nav-links .next.page-numbers,
.nav-links .prev.page-numbers{
	color: #000;
    background-color: #fff;
    border: 1px solid #212529 !important;
	border-radius: 30px;
	cursor: pointer;
	margin-bottom: 0.25rem!important;
	margin-right: 0.25rem!important;
    margin-left: 0.25rem!important;
	text-decoration: none;
    vertical-align: middle;
	display: inline-block;
	user-select: none;
}

.nav-links .next.page-numbers:hover,
.nav-links .prev.page-numbers:hover{
	background-color: #212529;
	color: white;
}

.nav-links .page-numbers:hover, 
.nav-links .page-numbers.current{
	color: #000;
	background-color: var(--theme-color2);
    border-color: var(--theme-color2);
}

/* blog pagination */

@media (min-width: 1200px){

	#masthead{
		position: sticky;
		top:0;
		z-index:5;
	}

	.navbar-expand-xl .navbar-nav .sok-na>a.nav-link{
		border-top-left-radius: 30px;
		border-bottom-left-radius: 30px;
		border-top-right-radius: 0px;
		border-bottom-right-radius: 0px;
	}
	.navbar-expand-xl .navbar-nav .min-side>a.nav-link{
		border-top-right-radius: 30px;
		border-bottom-right-radius: 30px;
		border-top-left-radius: 0px;
		border-bottom-left-radius: 0px;
	}
}

@media (max-width: 1199.98px){
	.navbar-expand-xl .navbar-nav .sok-na>a.nav-link,
	.navbar-expand-xl .navbar-nav .min-side>a.nav-link{
		border-radius: 30px;
	}
}

/********************************/
/* template */
/********************************/

.ansatt-item{
	max-width: 215px;
}

/********************************/
/********************************/

#content{
	position: relative;
}


#content ul,
article ul
 {
	display: block;
	list-style-type: none;
	margin-block-start: 20px;
	margin-block-end: 0px;
	margin-inline-start: 20px;
	margin-inline-end: 0px;
	padding-inline-start: 0px;
	list-style-position: outside;

}

#content ul li,
article ul li
{
	margin-bottom: 10px;
	list-style: none;
    font-size: inherit;
	padding-left: 25px;
}

#content ul li:before,
article ul li:before {
	/*position: absolute;*/
	margin-left: -20px;
	margin-right: 5px;
    content:"•";
    font-size:50px;
    vertical-align:middle;
    line-height:20px;
	color: var(--theme-color4);
}

article hr, .wp-block-separator{
	background-image: url('img/gront-blad.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 35px auto;
	height: 50px !important;
	background-color: transparent;
	opacity: 1;
	border: 0 !important;
	padding:35px 0;
	margin-bottom:10px;
}

#content{
	overflow:hidden;
}

#content-wrapper {
	overflow: hidden;
	position: relative;
}

#brodsmuler ul,
#brodsmuler li {
	list-style-type: none;
	display: inline-block;
	text-transform: capitalize;
}

#main-logo{
	z-index:50;
}




@media ( min-width: 1200px ){

	.page-template-template-soknad #content{
		margin-top: -200px;
		background-color: #fff;
	}

	#masthead .nav-item>.nav-link {
		text-decoration: none;
		color: #fff;
		outline-width: 2px;
		outline-color: var(--outline-color);
	}

	#masthead .navbar-nav>li{
		margin: 0 11px;
	}

	#masthead .min-side{
		margin-left: 0px !important;
		margin-right: 0px !important;
	}
	
	#masthead .sok-na{
		margin-right: 0 !important;
	}

	#masthead .sok-na>a, #masthead .min-side>a{
		padding: 7px 21px !important;
	}

	#footer-logo-wrap{
		margin-top: -145px;
	}

}

@media (max-width: 767px){
	#main-logo{
		width: 141px;
		height: 51px;
	}
}


figcaption {
	font-size: 12px;
	min-width: 300px;
}

.ansatt-item a, .faktaboks a{
	text-decoration: none;
}

.ansatt-item a:hover, .faktaboks a:hover{
	text-decoration: underline;
}

.faktaboks-content{
	text-decoration: none;
}

.faktaboks-content:hover .faktaboks-url-icon ion-icon,
.faktaboks a:hover .faktaboks-url-icon ion-icon,
.faktaboks a:focus .faktaboks-url-icon ion-icon,
.kategoriboks:hover .faktaboks-url-icon ion-icon,
.kategoriboks:focus .faktaboks-url-icon ion-icon{
	animation-name: pilAnim;
	animation-iteration-count: infinite;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	animation-play-state: running;
}

@keyframes pilAnim{
	0%{
		transform: translateX(0%);
	}

	50%{
		transform: translateX(20%);
	}

	100%{
		transform: translateX(0%);
	}
}

.page-content img{
	max-width: 100%;
	height: auto;
}

.page-content-border{
	height: 1.2pt;
	width: 100%;
	max-width: 240px;
	background-color: var(--theme-color4);
}

.border-small{
	max-width: 60px;	
}

@media (max-width: 1023.99px){

	#logo-image {
		width: 125px;
		height: auto;
	}

	#page-title {
		margin-bottom: 0;
		color: #000;
	}

}

@media (min-width: 1024px){

	#logo-image {
		max-width: 225px;
		width: 100%;
		height: auto;
	}
}



.navbar .fas {
	display: none;
}

#page-title-wrap {
	background-image: url(img/blader.png);
	background-repeat: no-repeat;
}

#page-title{
	max-width: 80%;
}

@media ( min-width: 992px ){

	.content-max-width{
		max-width: 967px;
	}

	#pages-header{
		height: 265px;
		background-color: var(--theme-color);
	}

	
	#page-title-wrap {
		background-position: 98% 62%;
		background-size: 190px auto;
	}

}


@media (max-width: 991.98px){

	#pages-header{
		height: 200px;
		background-color: var(--theme-color);
	}


	#page-title-wrap {
		background-position: 92% 0%;
		background-size: 25% auto;
	}
}


@media (max-width:767.98px) {
	#page-title {
		font-size: 7vw;
	}
}


@media (min-width:768px) {


	#page-title {
		font-size: 2rem;
	}
}

@media(min-width: 1200px) {

	#masthead .navbar {
		z-index: 99;
		flex-wrap: wrap;
		justify-content: space-between;
		width: 100%;
		max-width: 1300px;
	}

	.nav-item,
	.nav-item a {
		vertical-align: middle;
		margin: auto;
	}

	#masthead .navbar-nav>.menu-item:hover>.dropdown-menu {
		display: block;
	}

	.menu-item-home {
		display: none;
	}

	.navbar .nav-item a.nav-link:hover,
	.navbar .nav-item.active a.nav-link {
		text-decoration: underline;
	}

	#masthead .menu-item-has-children .current-menu-item.active a {
		background-color: var(--link-color);
		color: #fff;
	}

}

@media(max-width: 1199.98px) {

	#masthead{
		height: 69px;
	}

	.page-template-template-soknad #content{
		margin-top: -30px;
		background-color: #fff;
	}

	.dropdown-toggle:after{
		display:none;
		width: 0;
	}

	#masthead #menu-toppmeny {
	/*	background-image: linear-gradient(120deg, #383836 5%, 80%, #1d1d1d);*/
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
	}

	#navbar-collapse-main {
		position: fixed;
		overflow-y: scroll;
		overflow-x: hidden;
		top: 0;
		left: 0;
	}

	#masthead #navbar-collapse-main,
	#masthead #menu-toppmeny {
		min-height: 100vh;
		width: 100vw;
		z-index: 50;
	}

	#masthead #menu-toppmeny {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding-top: 10%;
	}

	#masthead .menu-item {
		width: 100%;
		text-align: center;
	}

	#masthead .menu-item a{
		display: inline-block;
		border-bottom: 2px solid transparent;
	}

	.nav-link {
		color: #000;
		margin: 15px 0;
		padding: 0;
		align-self: center;
	}

	.nav-link.show{
		color: var(--theme-color2);
	}

	.nav-link:hover {
		color: var(--link-color);
	}

	.navbar-toggler {
		border: 1px solid rgba(255, 255, 255, 0.2);
		outline: 0;
	}

	.navbar-toggler:focus {
		outline: 0;
	}

	.navbar-toggler:before {
		content: 'Meny';
		position: absolute;
		transform: rotate(90deg);
		left: -30px;
		top: 16px;
		font-size: 12px;
		color: #000;
	}

	.navbar-toggler.collapsed:before{
		color: #000000;
	}

	.nav-link.disabled {
		color: #ffffff;
	}

	.navbar .nav-item a.nav-link {
		font-size: 5vw !important;
	}

	.navbar .nav-item.active a.nav-link {
		text-decoration: none;
	}

	#masthead .dropdown-menu .dropdown-item {
		font-size: 5vw;
	}

	#masthead .dropdown-menu {
		min-width: 100%;
		margin-bottom: 15px;
		border: 0;
		padding-left: 5%;
		padding-right: 5%;
	}

	#masthead .toggle-dropdown {
		z-index: 10;
		color: #e4562e;
		font-size: 7vw;
		position: absolute;
		right: 0;
		margin-right: 3%;
		display: inline-flex;
		width: 50px;
		text-align: center;
		border-radius: 3px;
		justify-content: center;
	}

	.toggle-dropdown:before {
		align-items: center;
		display: inline-flex;

		transform-origin: center center;
		animation-name: dropAnim;
		animation-play-state: running;
		animation-duration: 1s;
		animation-iteration-count: 2;
	}

	#menu-toppmeny ion-icon{
		transform-origin: center center;
		animation-name: dropAnim;
		animation-play-state: running;
		animation-duration: 1s;
		animation-iteration-count: 2;	
	}

	@keyframes dropAnim {
		from {
			opacity: 1;
			transform: scale(1);
		}

		50% {
			transform: scale(0.8);
		}

		to {
			opacity: 1;
			transform: scale(1);
		}
	}

}



@media (max-width: 1199.99px ){
	.dropdown-toggle.nav-link:after{
		display: none;
	}

	.dropdown-toggle.nav-link ion-icon{
		background-color: white;
		box-shadow: 0 0 5px #7a7a7a;
		border-radius: 7px;
	}

	.dropdown-toggle.nav-link ion-icon:active{
		opacity: 0.6;
	}

}

@media (min-width: 1200px ){
	.dropdown-toggle.nav-link ion-icon{
		display: none;
	}
}


#navbar-collapse-main {
	height: 100%;
	align-items: stretch;
	transition: height 500ms ease-in-out;
}

@media (max-width:1023.98px) {
	#navbar-collapse-main {
		overflow-y: scroll;
		overflow-x: hidden;
	}
}


@media (max-width: 1199.98px){

	.navbar-toggler {
		z-index: 99;
		background-color: transparent;
		background-color: var(--theme-color);
		/*border: 1px solid white;*/
		width: 45px;
		height: 45px;
		position: fixed;
		top: 11px;
		right: 15px;
		padding: 0;
	}

	.navbar-toggler-icon {
		width: 100%;
		height: 100%;
		padding: 10px;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
	}

	.nav-icon,
	.nav-icon:before,
	.nav-icon:after {
		height: 3px;
		border-radius: 2px;
		width: 100%;
		background-color: var(--theme-color2);
		margin: auto;
		transition: transform 300ms ease-in-out;
	}

}

/* max vinnere */

.type-talent{
	background-color: #F39442;
	height: auto;
	bottom: 50px;
	left: 0;
}

.single-max_vinner .type-talent{
	bottom: 40px;
}



.border-radius{
	border: 0px solid transparent;
	border-radius: 25px;
	overflow: hidden;
}

.box-shadow{
	box-shadow: 0 0 10px rgb(0 0 0 / 15%);
}

.border-style, .box-style:not(.carousel-inner-modal){
	background-color: #fff;
    box-shadow: 0 0 10px rgb(0 0 0 / 15%);
    border-radius: 25px;
	overflow: hidden;
}

.border-top-style, .box-top-style:not(.carousel-inner-modal){
	background-color: #fff;
    box-shadow: 1px -20px 10px 2px rgb(0 0 0 / 15%);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
	overflow: hidden;
}

.border-bottom-style, .box-bottom-style:not(.carousel-inner-modal){
	background-color: #fff;
    box-shadow: 1px -20px 10px 2px rgb(0 0 0 / 15%);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
	overflow: hidden;
}

.figure-style{
    border-radius: 25px;
}



.accordion-header{
/*	height: 54px;*/
}

.carousel-control-prev-icon{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.carousel-control-next-icon{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.carousel-control-next-icon, .carousel-control-prev-icon{
    background-color: var(--theme-color2);
    width: 40px;
    height: 40px;
}

.carousel-next-prev:active{
    transform: scale(0.9, 0.9);
}

/********* FOOTER ***********/

@media (max-width: 767.98px){
	.kontaktinfo .telefon-link{
		padding: 10px 15px;
		background-color: white;
		border-radius: 10px;
	}
}



#footer-logo-wrap{
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	background-color: #fff;
}

footer .bilde-link:hover{
	opacity: 0.8;
}

footer .bilde-link:active{
	opacity: 0.5;
}



footer ion-icon {
	margin-bottom: -4px;
}

footer .some-link:hover {
	background-color: white;
}

footer .some-link span {
	width: 100%;
	clear: both;
	display: block;
}

footer .some-link ion-icon {
	font-size: 50px;
}

@media(max-width:767.98px) {
	footer .telefon-link {
		padding: 5px 10px;
		border: 1px solid #fff;
		margin: 10px 0;
		display: inline-block;
		border-radius: 5px;
	}

}

@media ( max-width: 768px ){
	#footer-logo{
		width: 200px;
		height: 55px;
	}
}

footer {
	height: auto;
	background-color: var(--theme-color4);
	color: white;
}

footer a{
	color: white;
}

footer .telefon-link,
footer .footer-link {
	color: #fff;
	font-weight: 400;
}

footer .footer-link {
	padding-bottom: 0px;
	/*border-bottom: 2px solid var(--link-underline-active);*/
	display: inline-block;
	text-decoration: none;
}

footer .footer-link:hover {
	/*border-bottom: 2px solid var(--link-underline-hover);*/
	text-decoration: underline;
}

footer p {
	margin: 0 0 10px 0;
}

#amfikreativ {
	font-size: 10px;
	background-color: #0B5087;
	color: #4b8abf;
}

#amfikreativ a {
	text-decoration: underline;
	color: #a86553;
}

#amfikreativ a:hover {
	text-decoration: none;
}

.aligncenter {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.grecaptcha-badge{
	display:none !important;
}