/* 
Theme Name: Graphic House child theme
Theme URI: https://graphichouse.dk
Description: Graphic House child theme er et WordPress-tema for kreative, der kombinerer "Hello" temaets enkelhed med avanceret grafisk design, optimal til visuel fremvisning og fuld tilpasning.
Author: Elementor Team // Graphic House
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: graphic-house-child-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/*Insta-feed styling*/

@media (min-width: 1025px) {
	.eapps-instagram-feed-posts-view > div:nth-child(1),
	.eapps-instagram-feed-posts-view > div:nth-child(3),
	.eapps-instagram-feed-posts-view > div:nth-child(5) {
		height: 232px !important;
		max-height: 232px !important;
		min-height: 232px !important;
		overflow: hidden !important;
	}
	
	div.eapps-instagram-feed-posts-item-template-tile {
		background-color: transparent;
	}
	
	.eapps-instagram-feed-posts-view > div:nth-child(1) a,
	.eapps-instagram-feed-posts-view > div:nth-child(3) a,
	.eapps-instagram-feed-posts-view > div:nth-child(5) a,
	.eapps-instagram-feed-posts-view > div:nth-child(1) .eapps-instagram-feed-posts-item-media,
	.eapps-instagram-feed-posts-view > div:nth-child(3) .eapps-instagram-feed-posts-item-media,
	.eapps-instagram-feed-posts-view > div:nth-child(5) .eapps-instagram-feed-posts-item-media,
	.eapps-instagram-feed-posts-view > div:nth-child(1) .eapps-instagram-feed-posts-item-image-wrapper,
	.eapps-instagram-feed-posts-view > div:nth-child(3) .eapps-instagram-feed-posts-item-image-wrapper,
	.eapps-instagram-feed-posts-view > div:nth-child(5) .eapps-instagram-feed-posts-item-image-wrapper {
		width: 100% !important;
		height: 100% !important;
		padding: 0 !important;
		overflow: hidden !important;
	}
	
	.eapps-instagram-feed-posts-view > div:nth-child(1) img,
	.eapps-instagram-feed-posts-view > div:nth-child(3) img,
	.eapps-instagram-feed-posts-view > div:nth-child(5) img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		display: block !important;
	}
	
	.eapps-instagram-feed-posts-view > div:nth-child(1) .eapps-instagram-feed-posts-item-image-wrapper,
	.eapps-instagram-feed-posts-view > div:nth-child(3) .eapps-instagram-feed-posts-item-image-wrapper,
	.eapps-instagram-feed-posts-view > div:nth-child(5) .eapps-instagram-feed-posts-item-image-wrapper {
		margin: 0 !important;
	}
}


/*autocomplete adresse*/

.autocomplete-container {
    /* relative position for at de absolut positionerede forslag får korrekt placering.*/
    position: relative;
    width: 100%;
    max-width: 30em;
}

.autocomplete-container input {
    /* Både input og forslag får samme bredde som omkringliggende DIV */
    width: 100%;
    box-sizing: border-box;
}

.dawa-autocomplete-suggestions {
    margin: 0.3em 0 0 0;
    padding: 0;
    text-align: left;
    border-radius: 0.3125em;
    background: #fcfcfc;
    box-shadow: 0 0.0625em 0.15625em rgba(0,0,0,.15);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9999;
    overflow-y: auto;
    box-sizing: border-box;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
    margin: 0;
    list-style: none;
    cursor: pointer;
    padding: 0.4em 0.6em;
    color: #333;
    border: 0.0625em solid #ddd;
    border-bottom-width: 0;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    border-bottom-width: 0.0625em;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected,
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover {
    background: #f0f0f0;
}

/*Repeater-knapper style*/
button.jet-form-builder-repeater__new,
button.jet-form-builder-repeater__remove,
button.add-custom-option {
    background-color: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
    transition: all 0.3s;
    font-family: var(--e-global-typography-095514c-font-family), Sans-serif;
    font-size: var(--e-global-typography-095514c-font-size);
    font-weight: var(--e-global-typography-095514c-font-weight);
    line-height: var(--e-global-typography-095514c-line-height);
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-accent);
    border-radius: 5px 5px 5px 5px;
}

button.jet-form-builder-repeater__new:hover,
button.jet-form-builder-repeater__remove:hover,
button.add-custom-option:hover {
        background-color: var(--e-global-color-primary);
    color: var(--e-global-color-accent);
}