/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --scale-amount: 1.3;
}

@media only screen and (max-width: 48em) {
    :root {
        --scale-amount: 1.1;
    }

    .hero-row,
    .hero .section-content {
        min-height: 95vh !important;
    }

    .location-section {
        max-height: unset !important;
    }

    .story-slider {
        scroll-snap-type: x mandatory;
    }

    .menu-item {
        font-size: 16px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin: 5px;
        color: #8A0101 !important;
    }

}

.button.is-outline {
    border: 1px solid !important;
}

.hero-info * {
    font-weight: lighter;
}

@media screen and (min-width: 1023px) {
    .nav-top-link {
        font-size: 18px !important;
    }
}

.hero-row,
.hero .section-content {
    min-height: 100vh;
}

.hero-info>.col-inner {
    position: absolute;
    bottom: 40px;
}

.nav-top-link {
    color: white !important;
    font-size: 18px;
}

.nav-top-link:hover {
    color: #8A0101 !important;
}

.nav-left {
    display: block !important;
    justify-content: flex-end;
    text-align: right;
}

.nav-right {
    display: block !important;
    justify-content: flex-start;
    text-align: left;
}

.wedding-text {
    padding: 30px;
    font-size: 21px;
}

/*
.stuck , .stuck #masthead{
	background: rgba(0,0,0,0.2) !important;
	box-shadow: none !important;
}
#masthead *{
	background: rgba(0,0,0,0) !important;
}
*/
.story-slider {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.story-container {
    min-height: 800px;
}

.story-container h1 {
    margin-top: 50px;
    text-align: center;
    color: black;
}

.story-item {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    justify-items: center;
    text-align: center;
    max-height: 500px;

}

.circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #8A0101;

}

.story-item h2 {
    color: #8A0101;
    width: 100%;
    /* border-bottom: 5px dotted #8A0101
; */
    margin-bottom: -21px;
    padding-bottom: 45px;
    background-image: linear-gradient(to right, #8A0101 30%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 20px 4px;
    background-repeat: repeat-x;
}

.story-slider img,
.story-slider video {
    padding: 50px;
    max-height: 345px;
}

.story-slider {
    display: flex;
    overflow: auto;
    overflow-x: scroll;
    min-height: 600px;

    cursor: grabbing;
}

.story-slider .story-item {
    flex-shrink: 0;
    scroll-snap-align: center;
    /* <- the other important piece */
}

.story-text {
    max-width: 365px;
    color: black;
}

i.icon-menu {
    color: white !important;
}

html {
    background: white !important;
}

.header-logo {
    padding: 5px !important;
}

.absolute-footer {
    display: none;
}


.heart-container {
    width: 100vw;
    min-height: 500px;
    background: #8A0101;
    overflow: hidden !important;

}

.heart-container .wrapper {
    overflow: hidden !important;
}

.heart {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    opacity: 0;
    animation-name: radiate;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: normal;
    animation-fill-mode: backwards;
}

path {
    fill: #fff;
}



.heart:nth-child(1) {
    animation-delay: -1s;
}

.heart:nth-child(2) {
    animation-delay: -2s;
}

.heart:nth-child(3) {
    animation-delay: -3s;
}

.heart:nth-child(4) {
    animation-delay: -4s;
}

.heart:nth-child(5) {
    animation-delay: -5s;
}

@keyframes radiate {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    1% {
        opacity: 0.15;
    }

    100% {
        opacity: 0;
        transform: scale(2);
    }
}


.bg_heart {
    width: 100%;
    height: 100%;
    overflow: hidden
}

.heartbg {
    position: absolute;
    top: -50%;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -m-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.heartbg:before {
    position: absolute;
    top: -50%;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 100%;
}

.heartbg:after {
    position: absolute;
    top: 0;
    right: -50%;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 100%;
}

@-webkit-keyframes love {
    0% {
        top: 110%
    }
}

@-moz-keyframes love {
    0% {
        top: 110%
    }
}

@-ms-keyframes love {
    0% {
        top: 110%
    }
}

@keyframes love {
    0% {
        top: 110%
    }
}


@keyframes rotate {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.header_logo {
    padding: 15px !important;
}

.line {
    width: 1px;
    height: 1000px;
    background-color: red;
}

.kirkja {
    transform: rotate(-5.45deg) scale(var(--scale-amount));
    transition: all 0.3s ease-in-out;
}

.kirkja:before {
	color: white;
    content: "Háteigsvegur 27-29, 105 Reykjavík";
}

.kirkja:hover,
.salur:hover {
    transform: rotate(0deg) scale(1.5);
}

.salur {
    transform: rotate(3.71deg) scale(var(--scale-amount));
}

.salur:before {
	color: white;
    content: "Tryggvagata 17, 101 Reykjavík";
}

.location {
    border: 9px solid white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;

}

.location:before {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: translateX(-500px);


}

.location:hover::before {
    transform: translateX(0px);
    opacity: 1;
}

.location-section {
    max-height: 292px;
}

.timeline-desktop-container {
    display: grid;
    grid-template-columns: 406px 144px 406px;
    grid-template-rows: 1fr;
}

.timeline-line {
    display: grid;
    grid-template-rows: 305px 305px 305px 305px 610px 305px;
    grid-template-rows: 320px 320px 320px 320px 690px 320px;
    grid-template-columns: 1fr;
    height: 100%;
    width: 2px;
    margin: 0 auto;
    background-image: linear-gradient(to bottom, #8A0101 30%, rgba(255, 255, 255, 0) 0%);
    background-position: center;
    background-size: 50px 20px;
    background-repeat: repeat-y;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.timeline-row-1,
.timeline-row-3 {
    display: grid;
    grid-template-rows: 320px 320px 320px 320px 690px 320px;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;

}

.timeline-row-1 {
    text-align: right;
}


.timeline-desktop-container img {
    width: 100%;
}

.timeline-heading {
    color: #8A0101;
}

.timeline-desktop-container p {
    color: black;
}

.timeline-desktop-wrapper {
    display: flex;
    justify-content: center;
    /*padding-bottom: 300px */
}

.timeline-row-1 .timeline-item {
    justify-self: end;
}

.maeting-form .wpcf7-submit {
    background-color: white !important;
    color: #8A0101;
    border: 1px solid #8A0101;
    padding: 5px 20px;
    font-weight: lighter;
    border-radius: 99px;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;

}

.maeting-form .wpcf7-submit:hover {
    background-color: #8A0101 !important;
    color: white;
    border: 1px solid white;


}

.maeting-form label {
    color: #8A0101;
    font-size: 1.2rem;
}

@media screen and (min-width: 1024px) {
    .envelope-bg {
        background-image: url(https://gulliogsara.is/wp-content/uploads/2023/03/back.png);
        background-repeat: no-repeat;
        padding-top: 500px !important;
        background-size: 100%;
        background-position: center 290px;
        max-width: 70%;
        margin: auto;
        overflow: hidden;
        position: relative;
        z-index: 2;
    }

    .envelope-bg:after {
        content: " ";
        position: absolute;
        inset: 0;
        z-index: 4;
        background-image: url(https://gulliogsara.is/wp-content/uploads/2023/03/front.png);
        background-repeat: no-repeat;
        background-size: 103%;
        background-position: center 1050px;
        pointer-events: none;
    }

    .maeting-form {
        background-image: url(https://gulliogsara.is/wp-content/uploads/2023/03/arround.png);
        background-color: white;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        /*background: white; */
        transform: translateY(600px);
        transition: transform 1s ease-in-out;
        max-height: 800px;
        max-width: 65%;
        margin: auto;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        padding: 100px 30px 10px 40px;
        z-index: 3;
        position: relative;

    }
.maeting-form form {
	max-width: 95%;
	margin-left: auto;
}
.maeting-form input, .maeting-form select, .maeting-form textarea  {
	max-width: 90%;
}
    #maeting-line {
        height: 300px;
        /*background-image: linear-gradient(to bottom, #8A0101 30%, rgba(255,255,255,0) 0%);
	background-position: center;
	background-size: 2px 4px;
	background-repeat: repeat-y; */
        position: absolute;
        z-index: 1;
        top: 500px;
        height: 330px;
        width: 50%;
        border-right: 2px dotted #8A0101;

    }

    #card-border {

        border-top: 2px dotted #8A0101;
        border-left: 2px dotted #8A0101;
        border-right: 2px dotted #8A0101;
        width: 750px;
        height: 690px;
        justify-self: center;
    }

    .decoration-container {
        position: absolute;
        display: flex;
        justify-content: center;
        top: 827px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        height: max-content;
    }

    .reveal {
        position: fixed;
        bottom: 0px;
        height: 70vh;
        width: 100%;
        background: white;
        z-index: 1;
        transition: width 0.2s linear;
    }

    .maeting-hero {
        z-index: 2;
    }




    footer {
        z-index: 3;
    }


}

@media screen and (min-width: 2400px) {
    .envelope-bg {
        min-height: 117vh;
        background-position: center -108px;
    }
    .envelope-bg:after {

        background-position: center 1054px;
    }

    .maeting-form {
        min-width: 100%;
        max-height: 100%;
    }

    #card-border {
        width: 1150px;
    }
}
#reveal-on-scroll {
	width: 100vw;
	height: 200px;
	background: white;
	position: absolute;
	bottom: 0%;
	z-index: 1;
}
.timeline-row-1, .timeline-row-3 {
	z-index: 2;
}
.timeline-row-2 {
	z-index: 0;
}
.over {
	position: relative;
	z-index: 2;
}
@media screen and (max-width: 700px) {
	#reveal-on-scroll {
		display: none;
	}
}
.footer-wrapper {
	z-index: 2;
}
@media screen and (min-width: 3000px) {
	.envelope-bg {
		/*background-position: center 450px !important; */
		background-position: bottom !important;
		overflow: unset !important;
		
		min-height: unset !important;
		background-size: unset !important;
		padding-top: 0 !important;
	}
	.envelope-bg:after {
		/*background-position: center 1100px !important; */
		background-position: bottom !important;
		
		background-size: unset !important;
		
	}
	.maeting-form {
		min-width: unset !important;
		max-width: 60% !important;
	}
	#card-border {
		width: 750px !important;
	}
	#maeting-line {
		position: relative !important;
		top: 0 !important;
		height: 1000px !important;
	}
	.decoration-container {
		top: 1310px !important;
	}
}

.gestir-card {
	padding: 15px;
	display: flex;
	background: #8A0101;
	border-radius: 20px;
	border: 2px solid #8A0101;
	/* max-width: 300px; */
	align-items: center;
	margin-bottom: 20px;
}
/*.gestir-card:hover {
	background: #750101;
	border: 2px solid #8A0101;
} */
.gestir-card img {
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
}
.gestir-bord {
	text-align: center;
	color: white;
	font-weight: bold;
}
.search-results {
	/*display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr; */
}
.gestir-name{
	color: white;
	margin: 0 !important;
	width: 60%;
}
.search-field, .table-number-field {
	border-radius: 20px !important;
	box-shadow: none !important;
	border: 2px solid #8A0101 !important;
	padding: 20px !important;
	font-size: 20px !important;
}
.gestur-header {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-auto-flow: column;
	margin-bottom: 100px;

}
.header-text-container {
	position: relative;
	width: 100%;
}
.header-text {
	color: white !important;
	font-size: 30px;
	position: absolute;
	inset: 0;
	background: #8A0101;
	text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    min-width: fit-content;
    padding: 20px;
}
.header-text .entry-title{
	color: white;
	
}
.header-text p {
	margin-bottom: 0;
}
.entry-content {
	padding-top: 0 !important;
}
@media screen and (min-width: 999px) {
.header-img, .header-img img {
	width: 100%;
	aspect-ratio: 1;
	max-width: 400px;
}
}
@media screen and (max-width: 998px) {
.header-img, .header-img img {
	width: 100%;
	aspect-ratio: 1;
}
	.gestur-header {
		grid-auto-flow: row;
		grid-template-columns: 1fr;
	}
	.header-text {
		position: unset;
	}
}
#logo {
	
	display: none !important;
}