/**
Theme Name: Nobi
Author: Senson AS - Jarle Dahl Bergersen
Author URI: https://senson.no/
Description: Child theme for Astra
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nobi
Template: astra
*/

html .ast-single-post .entry-title, 
html .page-title {
    font-size: 1.8rem;
    font-weight: bold;
}

div#content {
    margin-top: 1em;
	margin-bottom: 4em;
}

.home div#content {
    margin-top: 0;
	margin-bottom: 0;
}

#primary, 
#secondary {
    margin: 0;
}

html .ast-search-menu-icon .search-field {
    font-size: 18px;
}

html .ast-site-header-cart .ast-woo-header-cart-info-wrap, 
html .ast-edd-site-header-cart .ast-edd-header-cart-info-wrap {
    font-size: 18px;
}

#content img.alignnone.size-full {
    width: 100%;
}

div#breadcrumbs {
    margin-bottom: 1em;
}

.home div#breadcrumbs,
.woocommerce div#breadcrumbs,
.woocommerce-cart div#breadcrumbs, 
.woocommerce-checkout div#breadcrumbs {
	display: none;
}

html #secondary {
    line-height: 1.6;
}

/* WooCommerce */
#secondary li.cat-item {
    margin-bottom: 0;
}

.woocommerce-mini-cart__buttons a.button.wc-forward {
    font-size: 14px;
}

.product-category mark.count {
    display: none !important;
}

#secondary .star-rating {
    display: none !important;
}

.leveringsinfo {
    padding: 2em;
    background: #efefef;
}

.woocommerce-page.woocommerce-checkout table.shop_table td, 
.woocommerce.woocommerce-checkout table.shop_table td {
	padding: 10px;
}

.woocommerce ul.products li.product .onsale, 
.woocommerce-page ul.products li.product .onsale {
    border-radius: 50%;
    padding: 7px;
}

.woocommerce div.product span.onsale {
    min-height: 4.5em;
    min-width: 4.5em;
    line-height: 4.5em;
}

h2.widget-title {
    font-size: 1.2rem;
}


a.woo-sc-button {
    padding: 0.6em 2em;
	margin: .5em .3em;
    background: #006cb7;
    color: white;
	text-decoration: none !important;
	display: inline-block;
}

a.woo-sc-button:hover {
    background: #245682;
}


#bokser {
	text-align: center;
	}

#bokser img:hover {
	opacity: 0.9;
}

.page-id-3405 #bokser .tekst a {
	font-size: 21px;
}

#bokser img {
	border: 0 !important;
	padding: 0 !Important;
	width: 100%;
	height: auto;
	}

.page-id-3405 #bokser .tekst a {
	font-size: 21px;
}	

.tekst {
	background: #006cb7;
	}
	
.tekst a {
	color: white;
	font-size: 28px;
	/* font-family: 'Lucida', arial, sans-serif; */
	line-height: 1.1em;
	padding: 20px;
	display: block;
	text-decoration: none !important;
	}

.tekst a:hover {
	color: white;
	text-decoration: none;
	}	
	
.tekst:hover {
	background: #1d4c72;
	}

.innholdswrapper {
    display: table;
}

.innholdstekst,
.innholdsbilde {
    display: table-cell;
    vertical-align: top;
	width: 50%;
	padding-bottom: 1em;
}

.innholdstekst h2 {
    line-height: 1.2em;
    border-top: 2px solid #0b65ae;
    padding-top: .2em;
    margin-right: .5em;
}

.innholdsbilde img {
    margin-top: .2em;
}


.innholdsbokser-ny {
	display: flex;
	flex-wrap: wrap;
}

.innholdsbokser-ny a {
	flex: 1 0 25%;
}

.innholdsbokser-ny a:hover {
	text-decoration: none;
}

.nyinnholdsboks {
	margin: 0 1em 1em 0;
	background: #006cb7;
	text-align: center;
	min-height: 370px;
}

.nyinnholdsboks:hover {
	background: #0078cc;
}

.nyinnholdsbilde img {
	padding: 0;
	margin: 0;
	max-width: 100%;
	background: none !important;
}

.nyinnholdstekst h2 {
	color: white;
	padding-top: .5em;
    font-size: 24px;
    font-weight: bold;
	min-height: 4em;
}

.nyinnholdstekst {
	word-break: break-word;
}

hr.nobi-hr {
    margin-top: 1.5em;
}


blockquote.nobi-sc-quote {
    padding: 0;
	border: none;
}

blockquote.nobi-sc-quote:before {
    display: block;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -0.7em;
    top: -0.5em;
    color: #7a7a7a;
}

html .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row,
html .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section {
    align-items: center;
}

.adresse-footer {
    line-height: 1.4em;
	margin-bottom: 1em;
}

.adresse-footer img {
    margin-bottom: 1em;
}

h1.project_title.entry-title {
    margin-bottom: 1em;
}

.tax-project-category div#secondary,
.project-template-default div#secondary,
.post-type-archive-project div#secondary {
    display: none;
}

img.attachment-project-single.size-project-single.wp-post-image {
    width: 100%;
}

img.attachment-project-archive.size-project-archive.wp-post-image {
    width: 100%;
}

.archive.category p.read-more,
.archive.category .entry-content.clear,
.post-type-archive-project .short-description,
.tax-project-category .short-description,
.page-id-1767 .projects .short-description {
    display: none;
}

.archive.category .entry-title a:hover {
	text-decoration: underline;
}

.faktaboks-tittel {
	font-weight: bold;
}

.faktaboks {
    padding: 1em;
    background: #eee;
}

.nobibox {
    background: #efefef;
    padding: 1em;
    margin-bottom: 1em;
    position: relative;
    padding-left: 3em;
}

.nobibox.nobiboxtype-note {
	background: #fef6d2;
	padding-left: 1em;
}

.nobiboxtype-info:before {
    position: absolute;
    content: "i";
    font-size: 18px;
    background: #666;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding-left: 12px;
    left: 14px;
    top: 1.3em;
    font-weight: bold;
    color: #efefef;
}

.fix {
    zoom: 1;
}

.fix:before, .fix:after {
    content: "\0020";
    display: block;
    height: 0;
    overflow: hidden;
}

.fix:after {
    clear: both;
}

/* Breakpoint for mobile menu */
@media only screen and (min-width: 1000px) {

html .soliloquy-container .soliloquy-caption .soliloquy-caption-inside {
    font-size: 19px;
}
}

/* Only desktop */
@media screen and (min-width: 768px) {
/* Innholdsbokser */
.innholdsboks {
    width: 48%;
    float: left;
}

.innholdhoyre {
    float: right;
}

/* bokser */
#bokser {
	/* max-width: 980px; */
	text-align: center;
	margin: 2em auto;
	}

#boks1, #boks2, #boks3 {
	position: relative;
	width: 30%;
	margin:1.66%;
	float: left;
}	
	
.home #boks1, 
.home #boks2 {
	position: relative;
	width: 49%;
	margin: 0;
	margin-right: 2%;
	float: left;
}

.home #boks2 {
	margin-right: 0;		
	}	
	
.bokslink {
	position:absolute; 
	width:100%;
	height:100%;
	top:0;
	left: 0;

  /* edit: added z-index */
  z-index: 1;

  /* edit: fixes overlap error in IE7/8, 
     make sure you have an empty gif
  background-image: url('empty.gif'); */
	}




.bilde {
    max-height: 200px;
    overflow: hidden;
}		
	
	
.single-project.no-gallery .summary .project_title, .single-project.no-gallery .summary .single-project-description {
    width: 76%;
    float: left;
}

	
.single-project.no-gallery .summary .project-meta {
    width: 22%;
    float: right;
}

/* slider */
html .home .soliloquy-container .soliloquy-caption .soliloquy-caption-inside {
    text-align: left;
	padding-top: 60px;
    padding-left: 30px;
}

html .soliloquy-theme-classic .soliloquy-pager {
    text-align: right;
	right: 160px;
}

html .soliloquy-container .soliloquy-caption.soliloquy-caption-right {
	width: 34%;
	}

.soliloquy-pager-link span {
    display: none;
}

.soliloquy-wrapper .toppen {
	font-size: 15px;
	margin-bottom: 1em;
}

.soliloquy-wrapper .teksten {
	font-size: 30px;
	line-height: 1.2em;
	margin-bottom: 1em;
}

.soliloquy-wrapper .linktekst {
	font-size: 15px;
}	

	
} /* End only desktop */



/* Only mobile */
@media screen and (max-width: 767px) {
.leveringsinfo {
    padding: 1em;
}

.innholdsbokser-ny a {
	flex: 1 0 50%;
}	

.nyinnholdsboks {
	margin: 0 .5em .5em 0;
	background: #006cb7;
	text-align: center;
	min-height: inherit;
}	

.nyinnholdstekst h2 {
	font-size: 18px;
}		

/* Slider */
html .soliloquy-container .soliloquy-caption.soliloquy-caption-right {
    width: 100%;
}

html .soliloquy-container .soliloquy-caption .soliloquy-caption-inside {
    font-size: 15px;
}	
	
} /* End only mobile */


/* Tablet */
@media screen and (max-width: 1024px) {

.site-above-footer-wrap .ast-builder-grid-row-container-inner {
    margin: 0 20px;
}

.ast-builder-footer-grid-columns {
    grid-column-gap: 40px;
}

.ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
    margin: 0 20px;
}

} /* End only tablet */


@media (max-width: 921px) {
html .site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-tablet-stack .site-footer-section {
    margin-bottom: 2em;
    margin-top: 2em;
}
}
