/**
Theme Name: Eldh - Astra Child
Author: AGoodId
Author URI: https://www.agoodid.se
Description: Theme for eldhsatelje.se
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eldh-astra-child
Template: astra
*/


/** Typografi */

h1 {
	line-height: 115% !important;
	margin-bottom: 12px !important;
}

h2 {
	margin-bottom: 8px !important;
	line-height: 135% !important;
}

h3 {	
	margin-bottom: 4px !important;
	line-height: 140% !important;
}

em, i {
	font-family: "Ivar Eldh Italic";
	font-style: normal;
}

li, ul {
	line-height: 140%;
}

.site-title a {
	letter-spacing: -0.02em;
}

.ast-single-post .entry-title, 
.ast-single-post .entry-title a { 
	margin-bottom: 4px !important;
	line-height: 115% !important;
	letter-spacing: -0.03em;
}

.header-above-image, .n2-ss-layer * {
	font-family: "Styrene";
	font-size: 52px !important;
	line-height: 60px !important; 
	letter-spacing: -0.04em;
}

.tribe-events-single-event-title {
	font-size: 27px;
}

.pt-cv-title a {
	font-family: "Ivar Eldh" !important;
	font-size: 22px !important;
}

.pt-cv-title {
	line-height: 30px !important;
}

.pt-cv-ctf-_EventEndDate .pt-cv-ctf-value, 
.pt-cv-ctf-_EventStartDate .pt-cv-ctf-value {
	font-size: 18px !important;
	font-family: "Ivar Eldh" !important;
}

.pt-cv-custom-fields .pt-cv-ctf-name {
	font-weight: 400 !important;
}

.entry-content p, .tribe_events p {
	font-size: 18px;
	line-height: 140%;
}

.entry-content h2 {
	margin-bottom: 10px !important;
}

.pt-cv-content {
	line-height: 1.4em;
}

.ivar-large {
	font-family: "Ivar Eldh" !important;
	font-size: 22px !important;
	line-height: 135% !important;	
}

.styrene-small, 
.start-display-more {
	font-family: "Styrene" !important;
}

.styrene-small, 
.start-display-more, 
.entry-date, 
.terms, 
.pt-cv-ctf-value {
	font-size: 15px !important;
	line-height: 22px;
	letter-spacing: -0.01em;
	margin-bottom: 10px !important;
}

.pt-cv-ifield .terms {
	margin-top: 5px;
}

.start-display-more {
	float: right;
	border-bottom: 1px solid #009878 
}

h3:before {
	content: "■ ";
	color: #009878;
}

h5 {
	font-family: "Styrene" !important;
	font-size: 30px !important;
	line-height: 115% !important; 
	border-top: 1px solid #9D9D9D; 
	padding-top: 20px;
	margin-top: 20px;
}

.home h5:first-of-type {
	border-top: 2px dotted #000; 
}

.wp-block-image figcaption {
	font-size: 15px;
	line-height: 140%;
	color: rgba(0, 0, 0, 0.7);
}

.tribe-events-pg-template * {
	font-weight: 400 !important;
}

.pt-cv-title a:hover, 
.entry-content p a:hover,
.pt-cv-title a, 
.site-footer a, 
.entry-content p a {
	border-bottom: 1px solid #009878 !important;
}

a:hover {
	color: #009878 !important;
}

@media screen and (max-width: 599px) { 
	h5 {
	font-size: 20px !important;
	}
}

@media screen and (max-width: 599px) { 
	.start-display-more, .site-footer p {
	font-size: 14px !important;
	}
}

@media screen and (min-width: 599px) {
	.start-display-more {
	margin-top: 12px;
	}
}

@media screen and (max-width: 599px){ 
	.header-above-image, .n2-ss-text {
	font-size: 30px!important;
	line-height: 110% !important; 
	}
}

@media screen and (max-width: 599px){ 
	h1 {
	font-size: 20px !important;
	line-height: 115% !important; 
	}
}

@media screen and (max-width: 599px){ 
.pt-cv-title a {
	font-size: 18px !important;
	line-height: 125% !important; 
	}
}


@media screen and (max-width: 599px){ 
	.ivar-large {
	font-size: 18px!important;
	line-height: 125% !important; 
	}
}



/** Header */

.main-header-menu a:hover, .site-title a:hover  {
	color: #000 !important;
	border-bottom: none !important;
}

.main-header-bar {
	border-bottom: none !important;
}

.ast-logo-title-inline .site-logo-img {
    padding-right: 0;
}

.ast-container[data-section="section-primary-header-builder"] {
	padding: 0 10px;
}

.ast-container[data-section="section-primary-header-builder"] .site-header-primary-section-right {
	padding-right: 20px;
}

.ast-button-wrap .menu-toggle {
	padding-right: 0;
}

#ast-fixed-header .main-header-bar {
	padding: 10px 0 10px 0;
}

.ast-site-title-wrap {
	padding-left: 35px;
}

.ast-advanced-headers-title {
	display: none !important;
}

.ast-advanced-headers .ast-breadcrumbs-wrapper {
	border-top: none !important;
}

.home .main-header-menu {
	margin-top: -10px;
}

#ast-mobile-header li a {
	margin-bottom: 10px;
}

.home .ast-search-menu-icon {
	margin-top: -5px;
}

.ast-header-break-point .site-header .ast-inline-search.ast-search-menu-icon .search-field {
    padding-left: 0;
}

.ast-button-wrap .menu-toggle:focus {
	outline: none;
}

@media screen and (max-width: 768px) {
.ast-site-title-wrap {
	padding-left: 35px;
	padding-right: 40px;
	}
}

@media screen and (max-width: 599px) {
 .ast-site-title-wrap {
	padding-left: 24px;
	padding-right: 0;
	}
}

@media screen and (max-width: 599px) {
.ast-breadcrumbs-wrapper {
	margin-left: -10px;
	width: 104%;
	}
}


@media screen and (max-width: 599px) {
.ast-breadcrumbs-inner {
	margin-left: 10px;
	margin-bottom: 20px;
	}
}



/** Search */
.ast-search-menu-icon.ast-dropdown-active .search-field {
	width: 700px;
}

input[type=search]:focus {
	outline: none;
}

.ast-header-search .ast-search-menu-icon .search-form {
    border-top: none;
	border-right: none;
	border-left: none;
	border-color: #2C55A2;
	border-radius: 0;
	margin-right: 15px;
}

.site-header input.search-field {
	padding-left: 0;
}


/** Breadcrumbs */
.page-parent .trail-begin:not(.page-child .trail-begin)  {
	display: none !important; 
}

.page-parent .trail-item:not(.page-child .trail-item)  {
	font-size: 30px !important;
	color: #000 !important;
}

.ast-header-breadcrumb {
	padding-top: 0 !important;
}

.ast-breadcrumbs-wrapper {
	border-top: 2px dotted;
	padding-top: 15px;
}

.page-id-1035 .ast-breadcrumbs {
	display: none;
}

@media (max-width: 599px) {
.ast-breadcrumbs {
    margin-left: -10px;
	}
}


/* Container */

.ast-container, .ast-container-fluid {
    padding-left: 40px;
    padding-right: 40px;
}
  
@media screen and (max-width: 599px) { 
    .ast-container, .ast-container-fluid {
    padding-left: 24px;
    padding-right: 24px;
    }
}
  
.uagb-column__inner-wrap {
    padding: 0 !important;
}
  
.home .uagb-column__inner-wrap .ivar-large {
    margin-left: 150px;
}
  
.home .uagb-column__inner-wrap .styrene-small {
    margin-left: 30px;
    margin-bottom: 10px;
}
  
  
@media screen and (max-width: 1200px) { 
    .home .uagb-column__inner-wrap .ivar-large {
    margin-left: 0 !important;
    }
}
  
  
@media screen and (max-width: 1200px) { 
    .home .uagb-column__inner-wrap .styrene-small {
    margin-left: 0 !important;
    }
}
  

@media (min-width: 599px) and (max-width: 768px) {
    .ast-separate-container .ast-article-single, 
    #primary, 
    #secondary .widget {
    padding-left: 5px !important;
    padding-right: 5px !important;
    }
}

.page-id-2 .ast-article-single {
    padding-right: 0 !important;
}


@media (min-width: 1001px) {
	.single-post .site-content > .ast-container {
	max-width: 870px;
	}
}
	
@media screen and (max-width: 768px) {
	.single .entry-header .post-thumb img {
	margin-top: 20px;
	}
}



/** Sidebar */

.ast-right-sidebar #secondary, .ast-right-sidebar #primary  {
    border: none;
}

.bellows-nav .bellows-target {
	padding: 0 0 10px 0 !important;
	font-family: "Styrene";
	font-size: 15px;
}

#secondary {
	margin-top: 0;
	padding-top: 0;
}


/* Sticky sidebar */

.sidebar-main, 
.page-id-2 .wp-block-uagb-column.uagb-block-c13672f7.uagb-column__wrap {
	height: 100%;
}
	
@media (min-width: 769px) {
	.sidebar-main aside:last-child {
	position: -webkit-sticky;
	position: sticky;
	top: 40px !important;
	} 
}
	
@media (min-width: 769px) {
	.page-id-2 .wp-block-uagb-column.uagb-block-c13672f7.uagb-column__wrap {
	position: -webkit-sticky;
	position: sticky;
	top: 120px !important;
	} 
}


/** Mashshare*/
[class*=" mashicon-"], 
[class^=mashicon-] .icon, 
[class*=" mashicon-"] .text, 
[class^=mashicon-] .text {
	color: #6f6f6e;
	font-family: "Ivar Eldh";
}

.mashicon-facebook, .mashicon-twitter {
    background: #fff;
}



/** Image-sizes */

.post-thumb, .tribe-events-event-image {
	width: calc(80%);
	object-fit: contain !important;
	margin: auto;
	padding-top: 10px;
}

.post-thumb img, .tribe-events-event-image img {
	max-height: calc(80vh);
	object-fit: contain !important;
}


@media screen and (min-width: 769px) { 
	.home .pt-cv-thumbnail {
	height: 580px;
	width: 580px;
	object-fit: contain;
	}
}

.column-1 img {
	max-height: 800px;
	object-fit: contain;
}

/*3-spalt*/
.page-id-1035 .pt-cv-thumbnail, 
.search-results .pt-cv-thumbnail, 
.page-id-69 .pt-cv-thumbnail,
.archive .pt-cv-thumbnail {
	height: 370px;
	width: 370px;
  	object-fit: contain;
}
	


/** Program */

.page-id-1035 .pt-cv-thumbnail {
	margin-bottom: 15px !important;
}

#pt-cv-view-c3916cdq5z .pt-cv-title {
	margin-bottom: 5px;
}

#pt-cv-view-c3916cdq5z .pt-cv-ctf-list {
	margin-bottom: 15px;
}

.pt-cv-ctf-list  {
	padding-top: 0 !important;
}

.pt-cv-meta-fields  {
	padding: 0 !important;
}

.pt-cv-content {
	padding-bottom: 0 !important;
}

.pt-cv-ctf-list .col-md-6 {
  	width: auto;
	padding-right: 0;
}

#pt-cv-view-43984f8buz .pt-cv-thumbnail {
	height: 200px;
  	object-fit: contain;
}


@media screen and (max-width: 975px) {
	.pt-cv-wrapper .col-md-6 {
	float: left;
	}
}

@media screen and (max-width: 599px) {
	.pt-cv-thumbnail, .search-results .pt-cv-thumbnail {
	height: auto !important;
	width: auto !important;
	}
}



/** Event singel */

#tribe-events-pg-template {
	max-width: 835px;
	margin: auto;
	padding-top: 10px;
}
  
@media screen and (max-width: 768px) {
  	#tribe-events-pg-template {
	padding: 20px 8px !important;
	}
}
  
@media screen and (max-width: 599px) {
  	#tribe-events-pg-template {
	padding: 20px 0px !important;
	}
}
  
.tribe-events-cal-links {
	display: none;
}
  
@media screen and (min-width: 768px) {
  	.tribe-events-single-event-title {
	padding-top: 30px;
	}
}
  
@media screen and (max-width: 768px) {
  	.tribe-events-single-event-title {
	padding-top: 10px;
	}
}
  
.tribe-clearfix {
	margin: 0 0 20px 0;
}
  
.tribe-events-notices li {
	list-style: none;
	color: #6F6F6E;
}


/** Sök / Digitalt arkiv */

.page-id-165 span.pt-cv-ctf-name, 
#pt-cv-view-cf090bdvjm span.pt-cv-ctf-name {
	margin-top: 3px;
}

.page-id-165 .pt-cv-thumbnail {
	height: 360px;
	width: 360px;
	object-fit: contain;
}

.cvp-live-filter input[type=text] {
	width: 60% !important;
	background: #fff !important;
	border: none !important;
	border-bottom: 1px solid #9d9d9c !important;
	border-radius: 0;
	margin-bottom: 10px;
	padding-left: 0;
}

.cvp-live-filter.cvp-button input~div {
	padding: 8px 15px 6px 15px !important;
	background: #E8ECC0;
	border-radius: 0;
}

.cvp-live-filter.cvp-button .btn  {
	margin-right: 10px !important;
	font-size: 15px;
	line-height: 21px;
	font-family: "Styrene";
}

.cvp-live-button {
	display: none;
}

.pt-cv-custom-fields .pt-cv-ctf-name, 
.pt-cv-custom-fields .pt-cv-ctf-value, 
.pt-cv-meta-fields time {
	color: #6f6f6e !important;
	font-size: 15px;
}

.pt-cv-custom-fields {
   margin-top: 0;
}

#pt-cv-view-cf090bdvjm .pt-cv-ctf-list, 
#pt-cv-view-74665c8fgp .pt-cv-ctf-list {
	padding-bottom: 0;
}

#pt-cv-view-cf090bdvjm .pt-cv-ctf-name, 
#pt-cv-view-74665c8fgp .pt-cv-ctf-name {
	margin-right: 5px;
	min-width: 50px !important;
}

#pt-cv-view-cf090bdvjm .pt-cv-title,
#pt-cv-view-74665c8fgp .pt-cv-title {
	margin-top: 10px !important;
}

.pt-cv-ctf-_EventEndDate .pt-cv-ctf-value, 
.pt-cv-ctf-_EventStartDate .pt-cv-ctf-value  {
	line-height: 25px !important;
}

.download_image {
	background-color: #D0D0D0;
	border: none;
	margin-top: 20px;
}

.download_image:hover, 
.download_image a:hover {
	background-color: #9D9D9C;
	color: #000 !important;
}

input[type=text]:focus-visible {
	outline: -webkit-focus-ring-color auto 0px;
 	outline-width: 0px;
}


@media screen and (max-width: 599px) {
.cvp-live-filter.cvp-button input~div {
	margin: 5px;
   }
}


/** Single digitalt arkiv*/

.samling-row {
	display: flex;
	padding-top: 40px;
}

.arkiv-info {
	font-size: 15px;
	line-height: 22px;
	color: #6f6f6e;
}

.arkiv-info p {
	margin-bottom: 5px;
}

.download_image a {
	transition: none;
}
 
.arkiv-info a {
	color: #6f6f6e;
}

.short-description {
	color: #000; 
	margin-bottom: 20px !important;
	font-size: 18px;
}

.column-1 {
  	width: calc(80%);
	object-fit: contain !important;
	padding-right: 60px;
}

.single-samling h5 {
    margin-bottom: 30px;
}

@media screen and (max-width: 599px) { 
	.samling-row {
	display: block !important;
	padding-top: 40px;
	}
}


/** Digitalt arkiv, start */
#pt-cv-view-cf090bdvjm .pt-cv-thumbnail  {
	height: 350px !important;
	object-fit: contain;
}

#pt-cv-view-cf090bdvjm .pt-cv-meta-fields .terms:before, 
#pt-cv-view-74665c8fgp .pt-cv-meta-fields .terms:before{
	content: "Taggar: ";
}

.pt-cv-ctf-list {
	margin-bottom: 0; 
}

#pt-cv-view-cf090bdvjm .pt-cv-title {
	margin-bottom: 15px;
}



/** Nyheter */

.pt-cv-pinterest.pt-cv-border .pt-cv-pinmas {
	border: none;
}

.pt-cv-pinterest .pt-cv-content, 
.pt-cv-pinterest .pt-cv-ctf-list, 
.pt-cv-pinterest .pt-cv-meta-fields, 
.pt-cv-pinterest .pt-cv-tao, 
.pt-cv-pinterest .pt-cv-title {
	padding: 10px 0;
}

.pt-cv-meta-fields time:before {
	content: "Publicerat: "
}

.pt-cv-meta-fields .terms {
	display: block; 
	color: #6f6f6e !important;
  	font-size: 15px;
}

#pt-cv-view-f1887ff8m0 .pt-cv-title,
#pt-cv-view-876eb4bm6p .pt-cv-title {
	margin-top: 15px !important;
} 

#pt-cv-view-f1887ff8m0 .pt-cv-title {
	margin-bottom: 15px;
}

#pt-cv-view-f1887ff8m0 .pt-cv-content {
	margin-bottom: 5px;
}

.page-id-67 .pt-cv-thumbnail {
	height: 580px;
	width: 580px;
	object-fit: contain; 
}


/** Press */
.single-pressmeddelanden #primary {
	max-width: 835px;
	margin: auto;
}

.gallery-icon {
	border: none !important;
}

.single-pressmeddelanden .pdf-button {
	margin-left: 20px;
}

@media screen and (max-width: 599px) {
.single-pressmeddelanden .pdf-button {
	margin-left: 0;
	margin-top: 10px;
	}
}


/** Om museet */
.page-id-69 .pt-cv-title {
	margin-top: 10px !important;
}


/** Footer */

.site-footer {
    font-family: "Styrene" !important;
    font-size: 15px !important;
    line-height: 1.5em !important;
}

.site-above-footer-inner-wrap {
    border-top: 2px dotted black !important;
	padding: 30px 0 !important;
	margin: 0px 0;
}

#mailpoet_form_1 .mailpoet_text {
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	margin-top: -60px !important;
}

input.mailpoet_text {
	padding-left: 0 !important;
	padding-top: 5px !important;
}

#mailpoet_form_1 form.mailpoet_form * {
	font-family: "Ivar Eldh" !important;
}

#mailpoet_form_1 form.mailpoet_form {
	padding-left: 0 !important;
}

input.mailpoet_submit {
	padding: 8px !important;
    padding-right: 15px !important;
    padding-bottom: 6px !important;
    padding-left: 15px !important;
}

.mailpoet_form.mailpoet_form_successfully_send .mailpoet_validate_success {
    left: 33% !important;
	text-align: left !important;
	top: 40%¨!important;
}

#block-10 p {
	font-family: "Ivar Eldh";
	margin-bottom: 0 !important;
}

@media screen and (min-width: 599px) {
#block-10   {
	margin-bottom: 0 !important;
	}
}