/* 
Theme Name: Tecosa
Theme URL: http://kerns.se
Description: Neve child theme for Tecosa
Theme Author: Von Kern Kommunikation
Author URL: http://kerns.se
Template: neve 
Version: 1.0.1 
Text Domain: tecosa 
*/

/* Grid */

@media screen and (min-width: 769px) {
	
	html .container{
		padding-right: 30px;
		padding-left: 30px;
	}

}

/* Header */

.builder-item--secondary-menu,
.builder-item--header_search_responsive{

    margin-top: -45px !important;

}

.builder-item--logo .site-logo img {

    max-width: 200px !important;

}

header.header{
	position: relative;
}

header.header::after{
	content: " ";
	width:100vw;
	height:3px;
	background-image: linear-gradient(to left,#005ea4,#5c98c4);
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
}

@media screen and (min-width: 960px) {
	header.header::after{
		height: 6px;
	}
}

/* Nav */

@media screen and (min-width: 960px) {

	.builder-item--primary-menu li ul li a{
		font-size: 0.9em !important;
	}
	
	.row .primary-menu-ul .sub-menu li a {

    	justify-content: left !important;
    	
    }
    
    .row .primary-menu-ul > .menu-item-has-children > .sub-menu{
	    right: auto !important;
	    left: 0;
    }

}

/* Grid */

@media screen and (min-width: 960px) {

	html .nv-sidebar-wrap.nv-right {
		border-left: 0;
	}

}
	

/* Page title */

html .nv-page-title-wrap.nv-big-title .nv-page-title{
	border-bottom: 0;
}

/* Post meta */

html .nv-meta-list li {
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
	color:#000;
}

html .nv-meta-list a, 
html .nv-meta-list a:hover {

    color: #000;

}

html .nv-meta-list li:not(:last-child)::after {

    color: #000;

}

/* General Wysiwyg */

html .excerpt-wrap ul, 
html .nv-content-wrap ul {

    list-style-type: disc;

}

html .wp-block-column a {
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
}

html .nv-content-wrap a:not(.button){
	text-decoration: none;
}

html .nv-content-wrap a:not(.button):hover{
	text-decoration: underline;
}

/* Block: Separator */

html .wp-block-separator {
	
	height: 1px;
	width: 100%;
	background-color: #d4d4d4;
	margin-top: 30px;
	margin-bottom 30 px;
	
}



/* Block: Image */

html .wp-block-image figcaption {

	font-size: 15px;
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
	font-color:#000;
	font-style: italic;
}

/* Block: Quote */

html .wp-block-quote,
html .wp-block-quote p{
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
	font-size: 18px;
	font-style: italic;
}

@media screen and (min-width: 760px) {
	html .wp-block-quote,
	html .wp-block-quote p{
		font-size: 22px;
	}
}

/* Button */

html .wp-block-button .wp-block-button__link{
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
	border-radius: 5px;
	background-color: #007fae !important;
	border:1px solid #007fae;
	padding: 8px 24px;
	text-transform: none;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

html .wp-block-button .wp-block-button__link:hover{
	background-color: #006388 !important;
	border-color: #005a7b;
}



/* Archive */

.archive-container .nv-index-posts .nv-page-title p{
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
	font-weight: 400;
	line-height: 1.4375;
	font-size: 18px;
	margin-top: 10px;
}

@media screen and (min-width: 760px) {
	
	.archive-container .nv-index-posts .nv-page-title p{
		font-size: 22px;
		margin-top:20px;
	}
	
}

/* Widgets */

html .widget p.widget-title {
	margin-bottom: 10px;
	font-weight: 700;
	font-size: 1.25em;
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;

}

html .widget a {
	font-size: 17px;
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
	

}

html .light-mode .widget a:not(.button) {
    color: #006cb7;

}

/* Single post: Navigation */

html .nv-post-navigation .next .nav-direction, 
html .nv-post-navigation .previous .nav-direction{
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
	color:#000;
}


/* Footer */

html .hfg_footer{
	padding-top: 30px;
}

html .footer--row .footer--row-inner, 
html .footer--row .footer--row-inner .container .row {

    align-items: flex-start;
}

html .hfg_footer,
html .footer-top .light-mode{
	background-color: #65656c;
	color: #fff;
}

html .hfg_footer  .light-mode .widget a:not(.button){
	color:#fff;
}

html .footer-top-inner {
    background-color: #65656c;
}

html .site-footer .widget-title {
color: #fff;
}

html .site-footer .widget {
color: #fff;
font-size: 16px;
}

html .site-footer .widget a {
color: #fff;
font-size: 16px;
}




/* Luft mellan topplinje och rubrik */

html .nv-page-title-wrap.nv-big-title .nv-page-title h1 {
	padding-top: 15px;
}

html h1:not(.site-title), html .single h1.entry-title {
	padding-top:15px;
}

/* Div extra */

html .wp-block-column a {
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
	font-size:17px;
}

html .hfg-is-group > div:last-of-type .button {
	font-family: "Roboto", Arial, "Helvetica Neue", helvetica, sans-serif;
}

