/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/





/*
HEADER
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
#header-outer{
	background-image: url(https://keradan.dk/wp-content/uploads/2019/12/keradan-header-footer-bg.jpg);
    background-size: cover;
    background-position: 50% 44%;
}
#header-space {
    max-height: 305px;
}
/*
HEADER - TLF splash
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
@media only screen and (min-width: 690px) {
	#header-secondary-outer{
		display: none;
	}
	.d8-phone-splash{
		display: inline-block;
		position: fixed;
		width: 155px;
		background-color: #d13536;
		transform: rotate(90deg);
		top: 358px;
		left: -53px;
		color: #fff;
		z-index: 9999!important;
		text-align: center;
		padding: 10px 20px;
		font-size: 17px;
		line-height: 29px;
	}
}
@media only screen and (max-width: 690px) {
	.d8-phone-splash{
		display: none;
	}
	.material #slide-out-widget-area.slide-out-from-right .fa-phone:after {
		content: " ";
		margin-right: 8px;
	}
	#slide-out-widget-area .secondary-header-text {
    	background-color: #d13536;
		border-radius:0;
		display:inline-block;
	}
	#slide-out-widget-area .secondary-header-text:active,
	#slide-out-widget-area .secondary-header-text:focus,
	#slide-out-widget-area .secondary-header-text:hover{
    	background-color: #d13536;
	}
	#slide-out-widget-area .secondary-header-text a {
    	color: #fff;
	}
}

/*
HEADER - nav sort bg
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
@media only screen and (min-width: 1000px){
	#header-outer[data-format="centered-menu-under-logo"] #top .row .span_9.col_last{
		background: #000;
		padding-top: 19px;
	}
	#header-outer header .container{
		max-width: 100%;
    	padding: 0;
	}
}

/*
LINE - gradient
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
.d8-row .divider-small-border[data-color="accent-color"]{
	background:radial-gradient(circle, rgba(148,121,93,1) 0%, rgba(148,121,93,0) 100%)!important;
}


/*
FORSIDE - kenneth på tag
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
.d8-paa-tag .row-bg.using-image{
	background-position-x: 64%!important;
}



/*
FORSIDE - Vi tilbyder bullets
––––––––––––––––––––––––––––––––––––––––––––––––––
*/

.d8 .nectar-fancy-ul[data-animation="true"] ul{
	margin-bottom:0;
}


.d8 .nectar-fancy-ul[data-animation="true"] ul li h4{
	line-height: 38px;
}
.d8 .nectar-fancy-ul[data-animation="true"] ul li h4 a{
    background: #f5f5f5;
    color: #94795d;
    display: block;
    padding-left: 15px;
    transition: all 0.3s ease-in;
}
.d8 .nectar-fancy-ul[data-animation="true"] ul li h4 a:hover{
	background: #94795d; 
	color: #fff;
}

@media only screen and (max-width: 999px) and (min-width: 690px){
	.d8 .col{
		margin-bottom: 0!important;
	}
}
@media only screen and (max-width: 690px){
	.d8 .col {
		margin-bottom: 0!important;
	}
}

/*
FORSIDE - BG image
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
.d8-ken-ras-bg-row .row-bg.using-image{
	background-position: -160px center!important;
}


/*
Reverse row in desktop
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
@media only screen and (min-width: 1001px) {   
 .d8-reverse-row >.col.span_12 {        
flex-direction: row-reverse !important;  
  }
}

/*
Instagram feed
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
#sb_instagram #sbi_load {
    margin-top: 30px;
}

/*
Vi tilbyder
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
.d8-kpk-logo{
	width: 65px!important;
    height: auto!important;
    float: left;
    margin-right: 25px; 
} 
.d8-velfac-logo{
	width: 145px!important;
    height: auto!important;
    float: left;
    margin-right: 25px; 
} 

/*
KONTAKT FORMULAR
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
.wpforms-field{
	margin-bottom: 30px;
}
.wpforms-field input, 
.wpforms-field textarea{
	background-color: #e8e5e2;
}
body[data-form-submit="regular"] .container-wrap button.wpforms-submit{
	padding: 15px 42px!important;
}
.wpforms-field-textarea .wpforms-field-large{
	height: 170px;
}

/*
FOOTER - link color
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
#footer-outer[data-custom-color="true"] #footer-widgets a:not(.nectar-button):hover{
	opacity:1!important;
	color:#94795d!important;
}
#footer-outer #text-3 a:not(.nectar-button){
	color:#94795d!important;
}
#footer-outer #text-3 #footer-widgets a:not(.nectar-button):hover{
	color:#ffffff!important;
}
#footer-outer #text-4 a:not(.nectar-button){
    color: #ffffff!important;
}
#footer-outer a.d8.link_text {
    color: #94795d!important;
}

/*
FOOTER - afstand
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
#footer-widgets #custom-html-3.widget{
	margin-bottom: 13px; 
}
#footer-widgets #custom-html-3.widget, 
#footer-widgets #custom-html-4.widget{
	padding-right: 30px; 
}

/*
FOOTER - ikoner
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
i.d8.fa{
	color:#94795d;
	font-size: 20px!important; 
    line-height: 13px;
    height: 10px;
    width: 24px!important;
    margin-right: 5px;
}
i.d8.fa.fa-envelope{
	font-size: 15px!important;
}
i.d8.fa.fa-globe{
	font-size: 18px!important;
}
i.d8.fa.fa-mobile{
	font-size: 27px!important;
}
.d8-a-tel{
	display:inline-block;
}
/*
FOOTER - skydning
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
.material #footer-outer #footer-widgets .col .widget.widget_nav_menu ul li {
    padding: 0!important;
}
#footer-outer #footer-widgets .col #custom_html-2 p {
    padding-bottom: 0;
}
#footer-outer #footer-widgets .col #text-3 p,
#footer-outer #footer-widgets .col #text-4 p{
    padding-bottom: 12px;
}
#footer-outer #text-3.widget{
    margin-bottom: 50px;
}
#footer-outer #text-4.widget{
    margin-bottom: 0px;	
}
/*
FOOTER - logo
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
.d8-footer-logo{
	position: relative;
    z-index: 20;
    margin: 0 auto;
    padding-top: 40px;
    display: block;
    width: 163px;
}
/*
FOOTER - vandret streg
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
#footer-outer[data-using-bg-img="true"] {
    border-top: 8px solid #94795d;
}
@media only screen and (max-width: 690px){
	#footer-widgets .container .col.span_4:nth-of-type(1){
		border-top: 1px solid #94795d;
	}
	#footer-widgets .container .col.span_4:nth-of-type(2){
		border-top: 1px solid #94795d;
	}	
	#footer-widgets .container .col.span_4:nth-of-type(3){
		border-top: 1px solid #94795d;
	}
	#footer-widgets .container .col {
		margin-bottom: 11px;
		padding-top: 40px;
	}
}
/*
FOOTER - lodrette streger
––––––––––––––––––––––––––––––––––––––––––––––––––
*/
@media only screen and (max-width: 1200px) and (min-width: 1000px){
	#footer-widgets .container .col.span_4:nth-of-type(1){
		width:40%;
	}
	#footer-widgets .container .col.span_4:nth-of-type(2){
		width:27%;
	}	
	#footer-widgets .container .col.span_4:nth-of-type(3){
		width:29%;
	}
}
@media only screen and (min-width: 1000px){
	#footer-widgets .container .col.span_4:nth-of-type(1),
	#footer-widgets .container .col.span_4:nth-of-type(2){
		border-right: 1px solid #94795d;
	}
	#footer-widgets .container .row{
		display: flex;
	}
}
@media only screen and (max-width: 999px) and (min-width: 690px){
	#footer-widgets .container .col.span_4:nth-of-type(1){
		border-right: 1px solid #94795d;
		width:60%;
	}
	#footer-widgets .container .col.span_4:nth-of-type(2){
		width:37%;
	}	
	#footer-widgets .container .col.span_4:nth-of-type(3){
		clear:left;
		width:100%;
	}
}